diff --git a/pull/916/1843-c9302b432822582a929b.css b/pull/916/1843-12d3ba214b7eb8e820b0.css similarity index 100% rename from pull/916/1843-c9302b432822582a929b.css rename to pull/916/1843-12d3ba214b7eb8e820b0.css diff --git a/pull/916/1843-12d3ba214b7eb8e820b0.js b/pull/916/1843-12d3ba214b7eb8e820b0.js new file mode 100644 index 000000000..dac938f97 --- /dev/null +++ b/pull/916/1843-12d3ba214b7eb8e820b0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[1843],{22863:function(e,a,l){var d=l(64836);a.Z=void 0;var m=d(l(67294)),n=d(l(45697)),t=d(l(47166)),r=d(l(17422)),i=t.default.bind(r.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,d=e.url,n=e.version,t=m.default.createElement("a",{className:i("badge"),href:d||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},m.default.createElement("span",{className:i("badge-name")},d?"package":"npm"),m.default.createElement("span",{className:i("badge-version")},"v".concat(n))),r=a?m.default.createElement("a",{className:i("badge"),href:a},m.default.createElement("span",{className:i("badge-name")},"github"),m.default.createElement("span",{className:i("badge-version")},"source")):void 0;return m.default.createElement("div",{className:i("badge-container")},t,r)};p.propTypes=u;var x=p;a.Z=x},21843:function(e,a,l){l.r(a),l.d(a,{default:function(){return h}});l(67294);var d=l(81254),m=l(92686),n=["components"];function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var i={},u="wrapper";function p(e){var a=e.components,l=r(e,n);return(0,d.mdx)(u,t({},i,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)("h1",{id:"changelog"},"Changelog"),(0,d.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added accessibility guide.")))),(0,d.mdx)("h2",{id:"4110---september-21-2023"},"4.11.0 - (September 21, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"4100---august-16-2023"},"4.10.0 - (August 16, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed the readout order for two column layout to read by column and not by row. Created true columns instead of split rows."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"overrideDefaultStyling")," prop so consumers can choose whether to use their original item display styling instead of the default styling item view applies.")))),(0,d.mdx)("h2",{id:"490---august-2-2023"},"4.9.0 - (August 2, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"480---june-14-2023"},"4.8.0 - (June 14, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"470---may-15-2023"},"4.7.0 - (May 15, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"460---march-29-2023"},"4.6.0 - (March 29, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots.")))),(0,d.mdx)("h2",{id:"450---july-21-2021"},"4.5.0 - (July 21, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,d.mdx)("h2",{id:"440---march-25-2021"},"4.4.0 - (March 25, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Upgrade tests to terra-functional-testing and WebDriverIO v6")))),(0,d.mdx)("h2",{id:"430---january-5-2021"},"4.3.0 - (January 5, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,d.mdx)("h2",{id:"420---november-10-2020"},"4.2.0 - (November 10, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,d.mdx)("h2",{id:"410---august-4-2020"},"4.1.0 - (August 4, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update changelog formatting")))),(0,d.mdx)("h2",{id:"400---june-23-2020"},"4.0.0 - (June 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Breaking",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"This is a breaking change to pull in an MVB of terra-clinical-item-display. Since item view exports item display, this also needs to be an MVB")))),(0,d.mdx)("h2",{id:"3201---june-23-2020"},"3.20.1 - (June 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Revert MVB of terra-clinical-item-display")))),(0,d.mdx)("h2",{id:"3200---june-23-2020"},"3.20.0 - (June 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated source file for changes in clinical-item-display"),(0,d.mdx)("li",{parentName:"ul"},"Update secondary colors to new rgba values.")))),(0,d.mdx)("h2",{id:"3190---june-9-2020"},"3.19.0 - (June 9, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,d.mdx)("h2",{id:"3180---april-28-2020"},"3.18.0 - (April 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,d.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,d.mdx)("h2",{id:"3170---april-23-2020"},"3.17.0 - (April 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"3160---april-14-2020"},"3.16.0 - (April 14, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config")))),(0,d.mdx)("h2",{id:"3150---march-31-2020"},"3.15.0 - (March 31, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added wdio screenshots for clinical-lowlight-theme")))),(0,d.mdx)("h2",{id:"3140---march-27-2020"},"3.14.0 - (March 27, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax.")))),(0,d.mdx)("h2",{id:"3130---march-24-2020"},"3.13.0 - (March 24, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"3120---february-18-2020"},"3.12.0 - (February 18, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme theming files")))),(0,d.mdx)("h2",{id:"3110---january-28-2020"},"3.11.0 - (January 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,d.mdx)("h2",{id:"3100---january-22-2020"},"3.10.0 - (January 22, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,d.mdx)("h2",{id:"390---september-26-2019"},"3.9.0 - (September 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"380---september-19-2019"},"3.8.0 - (September 19, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Convert SCSS files to .module.scss")))),(0,d.mdx)("h2",{id:"370---september-6-2019"},"3.7.0 - (September 6, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed inline styles from dev site components."),(0,d.mdx)("li",{parentName:"ul"},"Add comments for ESlint 6"),(0,d.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,d.mdx)("h2",{id:"360---august-14-2019"},"3.6.0 - (August 14, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Jest snapshot updated for ItemDisplay's primary textStyle default prop."),(0,d.mdx)("li",{parentName:"ul"},"Updated package.json test scripts")))),(0,d.mdx)("h2",{id:"350---july-16-2019"},"3.5.0 - (July 16, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Right-aligned text and icons using new prop in clinical-item-display"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added enumeration for valid layout, emphasis, and alignment values")))),(0,d.mdx)("h2",{id:"340---june-11-2019"},"3.4.0 - (June 11, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,d.mdx)("li",{parentName:"ul"},"Update wdio spec to use Terra.describeViewports"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Updated"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated displays documentation")))),(0,d.mdx)("h2",{id:"330---march-26-2019"},"3.3.0 - (March 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,d.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,d.mdx)("h2",{id:"320---february-5-2019"},"3.2.0 - (February 5, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"310---january-22-2019"},"3.1.0 - (January 22, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Change",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Dependency updates")))),(0,d.mdx)("h2",{id:"300---january-17-2019"},"3.0.0 - (January 17, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Breaking Change"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Renamed css theming variables to match linter standards."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Changelog dev site doc page")))),(0,d.mdx)("h2",{id:"2160---november-21-2018"},"2.16.0 - (November 21, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2150---october-2-2018"},"2.15.0 - (October 2, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,d.mdx)("h2",{id:"2140---september-5-2018"},"2.14.0 - (September 5, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,d.mdx)("h2",{id:"2130---august-30-2018"},"2.13.0 - (August 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2120---august-1-2018"},"2.12.0 - (August 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"2111---july-25-2018"},"2.11.1 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Patch release")))),(0,d.mdx)("h2",{id:"2110---july-25-2018"},"2.11.0 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"2100---july-17-2018"},"2.10.0 - (July 17, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"290---july-3-2018"},"2.9.0 - (July 3, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Accessibility in Accessory Item View example"),(0,d.mdx)("li",{parentName:"ul"},"Lint in doc page")))),(0,d.mdx)("h2",{id:"280---june-28-2018"},"2.8.0 - (June 28, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added theming variables in Item View"),(0,d.mdx)("li",{parentName:"ul"},"Updated Inline-icon to use em instead of px")))),(0,d.mdx)("h2",{id:"270---june-12-2018"},"2.7.0 - (June 12, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Conform to eslint updates")))),(0,d.mdx)("h2",{id:"260---may-30-2018"},"2.6.0 - (May 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,d.mdx)("h2",{id:"250---may-22-2018"},"2.5.0 - (May 22, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"240---may-1-2018"},"2.4.0 - (May 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"230---april-20-2018"},"2.3.0 - (April 20, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"220---march-27-2018"},"2.2.0 - (March 27, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted nightwatch tests to wdio")))),(0,d.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"200---february-19-2018"},"2.0.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update to React 16")))),(0,d.mdx)("h2",{id:"170---february-19-2018"},"1.7.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"160---january-23-2018"},"1.6.0 - (January 23, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Coverted ItemView to be a functional component, removing static methods.")))),(0,d.mdx)("h2",{id:"150---november-28-2017"},"1.5.0 - (November 28, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added reserveStartAccessorySpace to allow for proper spacing when a start accessory is not provided."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated the start accessory's max-width to be 2.8571rem (40px) and removed max-height."),(0,d.mdx)("li",{parentName:"ul"},"Updated the end accessory's max-width to be 20% and removed max-height."),(0,d.mdx)("li",{parentName:"ul"},"startAccessory, comment and endAccessory props now accept node proptypes.")))),(0,d.mdx)("h2",{id:"140---september-26-2017"},"1.4.0 - (September 26, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Remove stylelint-disable selector-class-pattern"),(0,d.mdx)("li",{parentName:"ul"},"Update class names to follow selector-class-pattern")))),(0,d.mdx)("h2",{id:"130---september-1-2017"},"1.3.0 - (September 1, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change dependency on terra-base to v2.0.0"),(0,d.mdx)("li",{parentName:"ul"},"Update nightwatch tests and test scripts.")))),(0,d.mdx)("h2",{id:"120---july-27-2017"},"1.2.0 - (July 27, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed accessory styling to scale with font size."),(0,d.mdx)("li",{parentName:"ul"},"Fixed truncation styling to correctly apply an ellipse."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Accessory nightwatch examples to include an icon.")))),(0,d.mdx)("h2",{id:"110---july-18-2017"},"1.1.0 - (July 18, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted component to use CSS modules"),(0,d.mdx)("li",{parentName:"ul"},"Updated nightwatch test scripts"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed nightwatch.config file")))),(0,d.mdx)("h2",{id:"100---june-28-2017"},"1.0.0 - (June 28, 2017)"),(0,d.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var N={},c="wrapper";function h(e){var a=e.components,l=s(e,x);return(0,d.mdx)(c,o({},N,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)(m.C,{mdxType:"Badge"}),(0,d.mdx)(p,{mdxType:"ChangeLog"}))}h.isMDXComponent=!0},92686:function(e,a,l){l.d(a,{C:function(){return n}});var d=l(67294),m=l(22863),n=function(e){var a=e.url;return d.createElement(m.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-item-view",name:"terra-clinical-item-view",version:"4.11.0",url:a})}},17422: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"}}}]); \ No newline at end of file diff --git a/pull/916/1843-c9302b432822582a929b.js b/pull/916/1843-c9302b432822582a929b.js deleted file mode 100644 index 7477bee34..000000000 --- a/pull/916/1843-c9302b432822582a929b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[1843],{22863:function(e,a,l){var d=l(64836);a.Z=void 0;var m=d(l(67294)),n=d(l(45697)),t=d(l(47166)),r=d(l(17422)),i=t.default.bind(r.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,d=e.url,n=e.version,t=m.default.createElement("a",{className:i("badge"),href:d||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},m.default.createElement("span",{className:i("badge-name")},d?"package":"npm"),m.default.createElement("span",{className:i("badge-version")},"v".concat(n))),r=a?m.default.createElement("a",{className:i("badge"),href:a},m.default.createElement("span",{className:i("badge-name")},"github"),m.default.createElement("span",{className:i("badge-version")},"source")):void 0;return m.default.createElement("div",{className:i("badge-container")},t,r)};p.propTypes=u;var x=p;a.Z=x},21843:function(e,a,l){l.r(a),l.d(a,{default:function(){return h}});l(67294);var d=l(81254),m=l(92686),n=["components"];function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var i={},u="wrapper";function p(e){var a=e.components,l=r(e,n);return(0,d.mdx)(u,t({},i,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)("h1",{id:"changelog"},"Changelog"),(0,d.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added accessibility guide.")))),(0,d.mdx)("h2",{id:"4100---august-16-2023"},"4.10.0 - (August 16, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed the readout order for two column layout to read by column and not by row. Created true columns instead of split rows."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"overrideDefaultStyling")," prop so consumers can choose whether to use their original item display styling instead of the default styling item view applies.")))),(0,d.mdx)("h2",{id:"490---august-2-2023"},"4.9.0 - (August 2, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"480---june-14-2023"},"4.8.0 - (June 14, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"470---may-15-2023"},"4.7.0 - (May 15, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"460---march-29-2023"},"4.6.0 - (March 29, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots.")))),(0,d.mdx)("h2",{id:"450---july-21-2021"},"4.5.0 - (July 21, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,d.mdx)("h2",{id:"440---march-25-2021"},"4.4.0 - (March 25, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Upgrade tests to terra-functional-testing and WebDriverIO v6")))),(0,d.mdx)("h2",{id:"430---january-5-2021"},"4.3.0 - (January 5, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,d.mdx)("h2",{id:"420---november-10-2020"},"4.2.0 - (November 10, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,d.mdx)("h2",{id:"410---august-4-2020"},"4.1.0 - (August 4, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update changelog formatting")))),(0,d.mdx)("h2",{id:"400---june-23-2020"},"4.0.0 - (June 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Breaking",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"This is a breaking change to pull in an MVB of terra-clinical-item-display. Since item view exports item display, this also needs to be an MVB")))),(0,d.mdx)("h2",{id:"3201---june-23-2020"},"3.20.1 - (June 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Revert MVB of terra-clinical-item-display")))),(0,d.mdx)("h2",{id:"3200---june-23-2020"},"3.20.0 - (June 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated source file for changes in clinical-item-display"),(0,d.mdx)("li",{parentName:"ul"},"Update secondary colors to new rgba values.")))),(0,d.mdx)("h2",{id:"3190---june-9-2020"},"3.19.0 - (June 9, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,d.mdx)("h2",{id:"3180---april-28-2020"},"3.18.0 - (April 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,d.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,d.mdx)("h2",{id:"3170---april-23-2020"},"3.17.0 - (April 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"3160---april-14-2020"},"3.16.0 - (April 14, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config")))),(0,d.mdx)("h2",{id:"3150---march-31-2020"},"3.15.0 - (March 31, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added wdio screenshots for clinical-lowlight-theme")))),(0,d.mdx)("h2",{id:"3140---march-27-2020"},"3.14.0 - (March 27, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax.")))),(0,d.mdx)("h2",{id:"3130---march-24-2020"},"3.13.0 - (March 24, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"3120---february-18-2020"},"3.12.0 - (February 18, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme theming files")))),(0,d.mdx)("h2",{id:"3110---january-28-2020"},"3.11.0 - (January 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,d.mdx)("h2",{id:"3100---january-22-2020"},"3.10.0 - (January 22, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,d.mdx)("h2",{id:"390---september-26-2019"},"3.9.0 - (September 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"380---september-19-2019"},"3.8.0 - (September 19, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Convert SCSS files to .module.scss")))),(0,d.mdx)("h2",{id:"370---september-6-2019"},"3.7.0 - (September 6, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed inline styles from dev site components."),(0,d.mdx)("li",{parentName:"ul"},"Add comments for ESlint 6"),(0,d.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,d.mdx)("h2",{id:"360---august-14-2019"},"3.6.0 - (August 14, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Jest snapshot updated for ItemDisplay's primary textStyle default prop."),(0,d.mdx)("li",{parentName:"ul"},"Updated package.json test scripts")))),(0,d.mdx)("h2",{id:"350---july-16-2019"},"3.5.0 - (July 16, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Right-aligned text and icons using new prop in clinical-item-display"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added enumeration for valid layout, emphasis, and alignment values")))),(0,d.mdx)("h2",{id:"340---june-11-2019"},"3.4.0 - (June 11, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,d.mdx)("li",{parentName:"ul"},"Update wdio spec to use Terra.describeViewports"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Updated"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated displays documentation")))),(0,d.mdx)("h2",{id:"330---march-26-2019"},"3.3.0 - (March 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,d.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,d.mdx)("h2",{id:"320---february-5-2019"},"3.2.0 - (February 5, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"310---january-22-2019"},"3.1.0 - (January 22, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Change",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Dependency updates")))),(0,d.mdx)("h2",{id:"300---january-17-2019"},"3.0.0 - (January 17, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Breaking Change"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Renamed css theming variables to match linter standards."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Changelog dev site doc page")))),(0,d.mdx)("h2",{id:"2160---november-21-2018"},"2.16.0 - (November 21, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2150---october-2-2018"},"2.15.0 - (October 2, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,d.mdx)("h2",{id:"2140---september-5-2018"},"2.14.0 - (September 5, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,d.mdx)("h2",{id:"2130---august-30-2018"},"2.13.0 - (August 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2120---august-1-2018"},"2.12.0 - (August 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"2111---july-25-2018"},"2.11.1 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Patch release")))),(0,d.mdx)("h2",{id:"2110---july-25-2018"},"2.11.0 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"2100---july-17-2018"},"2.10.0 - (July 17, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"290---july-3-2018"},"2.9.0 - (July 3, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Accessibility in Accessory Item View example"),(0,d.mdx)("li",{parentName:"ul"},"Lint in doc page")))),(0,d.mdx)("h2",{id:"280---june-28-2018"},"2.8.0 - (June 28, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added theming variables in Item View"),(0,d.mdx)("li",{parentName:"ul"},"Updated Inline-icon to use em instead of px")))),(0,d.mdx)("h2",{id:"270---june-12-2018"},"2.7.0 - (June 12, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Conform to eslint updates")))),(0,d.mdx)("h2",{id:"260---may-30-2018"},"2.6.0 - (May 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,d.mdx)("h2",{id:"250---may-22-2018"},"2.5.0 - (May 22, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"240---may-1-2018"},"2.4.0 - (May 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"230---april-20-2018"},"2.3.0 - (April 20, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"220---march-27-2018"},"2.2.0 - (March 27, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted nightwatch tests to wdio")))),(0,d.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"200---february-19-2018"},"2.0.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update to React 16")))),(0,d.mdx)("h2",{id:"170---february-19-2018"},"1.7.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"160---january-23-2018"},"1.6.0 - (January 23, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Coverted ItemView to be a functional component, removing static methods.")))),(0,d.mdx)("h2",{id:"150---november-28-2017"},"1.5.0 - (November 28, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added reserveStartAccessorySpace to allow for proper spacing when a start accessory is not provided."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated the start accessory's max-width to be 2.8571rem (40px) and removed max-height."),(0,d.mdx)("li",{parentName:"ul"},"Updated the end accessory's max-width to be 20% and removed max-height."),(0,d.mdx)("li",{parentName:"ul"},"startAccessory, comment and endAccessory props now accept node proptypes.")))),(0,d.mdx)("h2",{id:"140---september-26-2017"},"1.4.0 - (September 26, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Remove stylelint-disable selector-class-pattern"),(0,d.mdx)("li",{parentName:"ul"},"Update class names to follow selector-class-pattern")))),(0,d.mdx)("h2",{id:"130---september-1-2017"},"1.3.0 - (September 1, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change dependency on terra-base to v2.0.0"),(0,d.mdx)("li",{parentName:"ul"},"Update nightwatch tests and test scripts.")))),(0,d.mdx)("h2",{id:"120---july-27-2017"},"1.2.0 - (July 27, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed accessory styling to scale with font size."),(0,d.mdx)("li",{parentName:"ul"},"Fixed truncation styling to correctly apply an ellipse."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Accessory nightwatch examples to include an icon.")))),(0,d.mdx)("h2",{id:"110---july-18-2017"},"1.1.0 - (July 18, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted component to use CSS modules"),(0,d.mdx)("li",{parentName:"ul"},"Updated nightwatch test scripts"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed nightwatch.config file")))),(0,d.mdx)("h2",{id:"100---june-28-2017"},"1.0.0 - (June 28, 2017)"),(0,d.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var N={},c="wrapper";function h(e){var a=e.components,l=s(e,x);return(0,d.mdx)(c,o({},N,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)(m.C,{mdxType:"Badge"}),(0,d.mdx)(p,{mdxType:"ChangeLog"}))}h.isMDXComponent=!0},92686:function(e,a,l){l.d(a,{C:function(){return n}});var d=l(67294),m=l(22863),n=function(e){var a=e.url;return d.createElement(m.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-item-view",name:"terra-clinical-item-view",version:"4.10.0",url:a})}},17422: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"}}}]); \ No newline at end of file diff --git a/pull/916/1989-3d64b5b9c7d3f3680571.css b/pull/916/1989-0a3fb6c450e3e9ce40a8.css similarity index 100% rename from pull/916/1989-3d64b5b9c7d3f3680571.css rename to pull/916/1989-0a3fb6c450e3e9ce40a8.css diff --git a/pull/916/1989-3d64b5b9c7d3f3680571.js b/pull/916/1989-0a3fb6c450e3e9ce40a8.js similarity index 99% rename from pull/916/1989-3d64b5b9c7d3f3680571.js rename to pull/916/1989-0a3fb6c450e3e9ce40a8.js index aed4b851f..57770175e 100644 --- a/pull/916/1989-3d64b5b9c7d3f3680571.js +++ b/pull/916/1989-0a3fb6c450e3e9ce40a8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[1989],{1989:function(e,l,t){t.r(l),t.d(l,{default:function(){return F}});var n=t(67294),r=t(81254),a=t(61042),o=t(40028),m=["components"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var c={};function s(e){var l=e.components,t=d(e,m);return(0,r.mdx)("wrapper",i({},c,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport { ResultTimeHeaderCell } from 'terra-clinical-result/lib/index';\n\nexport default () => ;\n\n")))}s.isMDXComponent=!0;var u=t(49271),p=function(e){var l=e.title,t=e.description,r=e.isExpanded;return n.createElement(u.Z,{title:l||"Result Time Header Cell",description:t,example:n.createElement(o.Z,null),exampleSrc:n.createElement(s,null),isExpanded:r})},f=t(42728),x=["components"];function h(){return h=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var y={};function w(e){var l=e.components,t=b(e,x);return(0,r.mdx)("wrapper",h({},y,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport { ResultTimeHeaderCell } from 'terra-clinical-result/lib';\nimport classNames from 'classnames';\nimport classNamesBind from 'classnames/bind';\nimport ThemeContext from 'terra-theme-context';\nimport styles from '../Examples.module.scss';\n\nconst cx = classNamesBind.bind(styles);\n\nconst ResultTimeHeaderFlowsheetExample = () => {\n const theme = React.useContext(ThemeContext);\n const mockFlowsheetClassnames = classNames(\n cx(\n 'mock-flowsheet-example',\n theme.className,\n ),\n );\n\n return (\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n );\n};\n\nexport default ResultTimeHeaderFlowsheetExample;\n\n")))}w.isMDXComponent=!0;var _=t(52636),g=function(e){var l=e.title,t=e.description,r=e.isExpanded;return n.createElement(u.Z,{title:l||"Result Time Header Flowsheet Example",description:t,example:n.createElement(f.Z,null),exampleCssSrc:n.createElement(_.Z,null),exampleSrc:n.createElement(w,null),isExpanded:r})},v=t(10718),k=["components"];function E(){return E=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var O={};function C(e){var l=e.components,t=T(e,k);return(0,r.mdx)("wrapper",E({},O,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport { ResultTimeHeaderCell } from 'terra-clinical-result/lib/index';\nimport Table, {\n Header,\n Row,\n Body,\n} from 'terra-html-table';\nimport FlowsheetResultCell from '../../../../flowsheet-result-cell/FlowsheetResultCell';\n\nconst defaultBloodPressureResult = [\n {\n id: '1',\n systolic: {\n eventId: '2',\n result: {\n value: '130',\n unit: 'mmHg',\n },\n interpretation: 'high',\n },\n diastolic: {\n eventId: '3',\n result: {\n value: '80',\n unit: 'mmHg',\n },\n },\n },\n];\n\nexport default () => (\n \n
\n \n \n \n
\n \n \n \n \n \n \n \n
\n);\n\n")))}C.isMDXComponent=!0;var N=function(e){var l=e.title,t=e.description,r=e.isExpanded;return n.createElement(u.Z,{title:l||"Result Time Header Cell Semantic Table Example",description:t,example:n.createElement(v.Z,null),exampleSrc:n.createElement(C,null),isExpanded:r})},R=t(78530),D=["components"];function j(){return j=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var P={},S="wrapper";function z(e){var l=e.components,t=H(e,D);return(0,r.mdx)(S,j({},P,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)(R.ZP,{mdxType:"PropsTable"},(0,r.mdx)(R.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(R.O,{mdxType:"PropNameCell"},"date"),(0,r.mdx)(R.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(R.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(R.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(R.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Content to be displayed on the first line, typically abbreviated date, e.g. ",(0,r.mdx)("inlineCode",{parentName:"p"},"Dec 12, 2010")))),(0,r.mdx)(R.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(R.O,{mdxType:"PropNameCell"},"time"),(0,r.mdx)(R.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(R.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(R.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(R.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Content to be displayed on the second line, typically 24 hour time in hours and minutes, e.g. ",(0,r.mdx)("inlineCode",{parentName:"p"},"23:59")))),(0,r.mdx)(R.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(R.O,{mdxType:"PropNameCell"},"hideDate"),(0,r.mdx)(R.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(R.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(R.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(R.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Visually hides the date when presented in a series of side-by-side columns of the same date."))),(0,r.mdx)(R.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(R.O,{mdxType:"PropNameCell"},"paddingStyle"),(0,r.mdx)(R.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'none'\n 'compact'\n 'standard'\n],\n"))),(0,r.mdx)(R.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(R.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"'compact'\n"))),(0,r.mdx)(R.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The padding styling to apply to the Result Time column header cell.\nOne of ",(0,r.mdx)("inlineCode",{parentName:"p"},"'none'"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"'compact'"),", or ",(0,r.mdx)("inlineCode",{parentName:"p"},"'standard'"),".")))))}z.isMDXComponent=!0;var X=["components"];function M(){return M=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var I={},B="wrapper";function F(e){var l=e.components,t=Z(e,X);return(0,r.mdx)(B,M({},I,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)(a.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"result-time-header-cell"},"Result Time Header Cell"),(0,r.mdx)("p",null,"Result-Time-Header-Cell is a component of terra-clinical-result that creates a standardized view for the Date/Time Header cells (column headers) for each bucketed time column within a flowsheet."),(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-clinical-result"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-intl"),(0,r.mdx)("td",{parentName:"tr",align:null},"^2.8.0")))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import { ResultTimeHeaderCell } from 'terra-clinical-result/lib/index';\n")),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(p,{mdxType:"Default"}),(0,r.mdx)(g,{title:"Result Time Header Cells in Sample Flowsheet",mdxType:"FlowsheetExample"}),(0,r.mdx)(N,{title:"Result Time Header Cell in Semantic Table",mdxType:"SemanticStyleHeaderTimeCell"}),(0,r.mdx)("h2",{id:"result-time-header-cell-props"},"Result Time Header Cell Props"),(0,r.mdx)(z,{mdxType:"ResultTimeHeaderProps"}))}F.isMDXComponent=!0},52636:function(e,l,t){t.d(l,{Z:function(){return d}});t(67294);var n=t(81254),r=["components"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var m={},i="wrapper";function d(e){var l=e.components,t=o(e,r);return(0,n.mdx)(i,a({},m,t,{components:l,mdxType:"MDXLayout"}),(0,n.mdx)("pre",null,(0,n.mdx)("code",{parentName:"pre",className:"language-scss"},"@import './clinical-lowlight-theme/Examples.module';\n@import './orion-fusion-theme/Examples.module';\n\n:local {\n .example-description-text {\n display: inline-flex;\n margin-bottom: 0.75rem;\n }\n\n .dashed-border-group {\n border: var(--terra-clinical-result-examples-dashed-border-group-border, 2px dashed #333);\n }\n\n .clinical-result-fontsize-16 {\n font-size: 1.14285rem;\n }\n\n .clinical-result-fontsize-18 {\n font-size: 1.28571rem;\n }\n\n .clinical-result-fontsize-21 {\n font-size: 1.5rem;\n }\n\n .clinical-result-fontsize-24 {\n font-size: 1.71428rem;\n }\n\n .bottom-space {\n margin-bottom: 1.42857rem;\n }\n\n .mock-flowsheet-example {\n margin: 0;\n padding: 0;\n }\n\n .mock-flowsheet-table {\n table-layout: fixed;\n width: 40%;\n }\n\n .mock-flowsheet-table-full {\n table-layout: fixed;\n width: 100%;\n }\n\n .mock-flowsheet-header {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-header-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-header-border, 1px solid #dedfe0);\n border-bottom-color: var(--terra-clinical-result-examples-mock-flowsheet-header-border-bottom-color, #868a8c);\n line-height: 0;\n max-width: 1055px;\n overflow: hidden;\n padding-left: 220px;\n white-space: nowrap;\n }\n\n .mock-flowsheet-header-cell {\n border-left: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-border-left, 1px solid #868a8c);\n border-right: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-border-right, 1px solid #868a8c);\n display: inline-block;\n margin-right: -1px;\n width: 120px;\n\n &.new-date {\n border-left: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-new-date-border-left, 2px solid #4e5558);\n }\n }\n\n .mock-flowsheet-firstcolumn {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-border, 1px solid #dedfe0);\n border-right: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-border-right, 2px solid #4e5558);\n max-width: 222px;\n overflow: hidden;\n padding-top: 48px;\n white-space: nowrap;\n }\n\n .mock-flowsheet-firstcolumn-cell {\n border-bottom: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-border-bottom, 1px solid #868a8c);\n border-top: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-border-top, 1px solid #868a8c);\n margin-bottom: -1px;\n\n &.zebra {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-zebra-background-color, #dedfe0);\n }\n }\n\n .mock-flowsheet-resultcolumn {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-border, 1px solid #dedfe0);\n display: inline-block;\n margin-left: -1px;\n overflow: hidden;\n padding-top: 24px;\n vertical-align: top;\n width: 162px;\n\n &.half-column {\n width: 99px;\n }\n\n &.double-column {\n width: 324px;\n }\n\n &.triple-column {\n width: 490px;\n }\n\n &.flexible50-column {\n width: 50%;\n }\n }\n\n .mock-flowsheet-resultcolumn-cell {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-background-color, #fff);\n border-bottom: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-border-bottom, 1px solid #dedfe0);\n border-top: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-border-top, 1px solid #dedfe0);\n box-sizing: border-box;\n height: 33px;\n margin-bottom: -1px;\n white-space: nowrap;\n\n &.allow-wrapping {\n overflow: auto;\n white-space: normal;\n word-wrap: normal;\n }\n\n &.empty {\n height: 33px;\n }\n\n &.short {\n height: 25px;\n }\n\n &.medium {\n height: 41px;\n }\n\n &.tall {\n height: 155px;\n }\n\n &.with-padding {\n padding: 7px 7px 0;\n }\n\n &.zebra {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-zebra-background-color, #f1f1f1);\n }\n }\n\n .vertical-center-align-wrapper {\n align-items: center;\n display: flex;\n height: 100%;\n margin: 0;\n max-height: 100%;\n max-width: 100%; // Needed for IE10 truncation\n overflow: hidden; // Needed for IE10\n padding: 0;\n width: 100%;\n }\n}\n\n")))}d.isMDXComponent=!0},61042:function(e,l,t){t.d(l,{C:function(){return a}});var n=t(67294),r=t(22863),a=function(e){var l=e.url;return n.createElement(r.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-result",name:"terra-clinical-result",version:"1.21.0",url:l})}},40028:function(e,l,t){l.Z=void 0;var n,r=(n=t(67294))&&n.__esModule?n:{default:n},a=t(21860);l.Z=function(){return r.default.createElement(a.ResultTimeHeaderCell,{date:"Dec 21, 2010",time:"23:59"})}},10718:function(e,l,t){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}l.Z=void 0;var r=d(t(67294)),a=t(21860),o=function(e,l){if(!l&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=i(l);if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var m=a?Object.getOwnPropertyDescriptor(e,o):null;m&&(m.get||m.set)?Object.defineProperty(r,o,m):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(t(98364)),m=d(t(63193));function i(e){if("function"!=typeof WeakMap)return null;var l=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:l})(e)}function d(e){return e&&e.__esModule?e:{default:e}}var c=[{id:"1",systolic:{eventId:"2",result:{value:"130",unit:"mmHg"},interpretation:"high"},diastolic:{eventId:"3",result:{value:"80",unit:"mmHg"}}}];l.Z=function(){return r.default.createElement(o.default,null,r.default.createElement(o.Header,null,r.default.createElement(a.ResultTimeHeaderCell,{key:"time1",date:"Dec 29, 2010",time:"20:59"}),r.default.createElement(a.ResultTimeHeaderCell,{key:"time2",date:"Dec 30, 2010",time:"22:00"}),r.default.createElement(a.ResultTimeHeaderCell,{key:"time3",date:"Jan 01, 2011",time:"23:59"})),r.default.createElement(o.Body,null,r.default.createElement(o.Row,null,r.default.createElement(m.default,{key:"time1",resultDataSet:c}),r.default.createElement(m.default,{key:"time2",resultDataSet:c}),r.default.createElement(m.default,{key:"time3",resultDataSet:c}))))}},42728:function(e,l,t){l.Z=void 0;var n=d(t(67294)),r=t(21860),a=d(t(94184)),o=d(t(47166)),m=d(t(50026)),i=d(t(60815));function d(e){return e&&e.__esModule?e:{default:e}}var c=o.default.bind(i.default),s=function(){var e=n.default.useContext(m.default),l=(0,a.default)(c("mock-flowsheet-example",e.className));return n.default.createElement("div",{className:l},n.default.createElement("div",{className:c("mock-flowsheet-header")},n.default.createElement("div",{className:c(["mock-flowsheet-header-cell","new-date"])},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 20, 2010",time:"21:00"})),n.default.createElement("div",{className:c("mock-flowsheet-header-cell")},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 20, 2010",time:"22:00",hideDate:!0})),n.default.createElement("div",{className:c("mock-flowsheet-header-cell")},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 20, 2010",time:"23:59",hideDate:!0})),n.default.createElement("div",{className:c(["mock-flowsheet-header-cell","new-date"])},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 21, 2010",time:"00:15"})),n.default.createElement("div",{className:c("mock-flowsheet-header-cell")},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 21, 2010",time:"03:00",hideDate:!0})),n.default.createElement("div",{className:c(["mock-flowsheet-header-cell","new-date"])},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 22, 2010",time:"07:00"})),n.default.createElement("div",{className:c("mock-flowsheet-header-cell")},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 22, 2010",time:"11:00",hideDate:!0}))))};l.Z=s},60815:function(e,l,t){t.r(l),l.default={"clinical-lowlight-theme":"Examples-module__clinical-lowlight-theme___raZXs","orion-fusion-theme":"Examples-module__orion-fusion-theme___Pm6k9","example-description-text":"Examples-module__example-description-text___Xq-WD","dashed-border-group":"Examples-module__dashed-border-group___7SN-x","clinical-result-fontsize-16":"Examples-module__clinical-result-fontsize-16___u9JnA","clinical-result-fontsize-18":"Examples-module__clinical-result-fontsize-18___rluGp","clinical-result-fontsize-21":"Examples-module__clinical-result-fontsize-21___cxLuH","clinical-result-fontsize-24":"Examples-module__clinical-result-fontsize-24___B5x8X","bottom-space":"Examples-module__bottom-space___xH0Ub","mock-flowsheet-example":"Examples-module__mock-flowsheet-example___HHOIv","mock-flowsheet-table":"Examples-module__mock-flowsheet-table___Jg5yc","mock-flowsheet-table-full":"Examples-module__mock-flowsheet-table-full___xRJXw","mock-flowsheet-header":"Examples-module__mock-flowsheet-header___NyDYg","mock-flowsheet-header-cell":"Examples-module__mock-flowsheet-header-cell___EwoKe","new-date":"Examples-module__new-date___k3n84","mock-flowsheet-firstcolumn":"Examples-module__mock-flowsheet-firstcolumn___HUI8Y","mock-flowsheet-firstcolumn-cell":"Examples-module__mock-flowsheet-firstcolumn-cell___nq+xg",zebra:"Examples-module__zebra___oEmkn","mock-flowsheet-resultcolumn":"Examples-module__mock-flowsheet-resultcolumn___7jQOo","half-column":"Examples-module__half-column___gtHm3","double-column":"Examples-module__double-column___H635r","triple-column":"Examples-module__triple-column___wCTfe","flexible50-column":"Examples-module__flexible50-column___9d4Ht","mock-flowsheet-resultcolumn-cell":"Examples-module__mock-flowsheet-resultcolumn-cell___PIXFo","allow-wrapping":"Examples-module__allow-wrapping___P3M2v",empty:"Examples-module__empty___-PH0H",short:"Examples-module__short___JsBsC",medium:"Examples-module__medium___Ty0Ey",tall:"Examples-module__tall___idfpx","with-padding":"Examples-module__with-padding___BTyqD","vertical-center-align-wrapper":"Examples-module__vertical-center-align-wrapper___VFCEp"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[1989],{1989:function(e,l,t){t.r(l),t.d(l,{default:function(){return F}});var n=t(67294),r=t(81254),a=t(61042),o=t(40028),m=["components"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var c={};function s(e){var l=e.components,t=d(e,m);return(0,r.mdx)("wrapper",i({},c,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport { ResultTimeHeaderCell } from 'terra-clinical-result/lib/index';\n\nexport default () => ;\n\n")))}s.isMDXComponent=!0;var u=t(49271),p=function(e){var l=e.title,t=e.description,r=e.isExpanded;return n.createElement(u.Z,{title:l||"Result Time Header Cell",description:t,example:n.createElement(o.Z,null),exampleSrc:n.createElement(s,null),isExpanded:r})},f=t(42728),x=["components"];function h(){return h=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var y={};function w(e){var l=e.components,t=b(e,x);return(0,r.mdx)("wrapper",h({},y,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport { ResultTimeHeaderCell } from 'terra-clinical-result/lib';\nimport classNames from 'classnames';\nimport classNamesBind from 'classnames/bind';\nimport ThemeContext from 'terra-theme-context';\nimport styles from '../Examples.module.scss';\n\nconst cx = classNamesBind.bind(styles);\n\nconst ResultTimeHeaderFlowsheetExample = () => {\n const theme = React.useContext(ThemeContext);\n const mockFlowsheetClassnames = classNames(\n cx(\n 'mock-flowsheet-example',\n theme.className,\n ),\n );\n\n return (\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n );\n};\n\nexport default ResultTimeHeaderFlowsheetExample;\n\n")))}w.isMDXComponent=!0;var _=t(52636),g=function(e){var l=e.title,t=e.description,r=e.isExpanded;return n.createElement(u.Z,{title:l||"Result Time Header Flowsheet Example",description:t,example:n.createElement(f.Z,null),exampleCssSrc:n.createElement(_.Z,null),exampleSrc:n.createElement(w,null),isExpanded:r})},v=t(10718),k=["components"];function E(){return E=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var O={};function C(e){var l=e.components,t=T(e,k);return(0,r.mdx)("wrapper",E({},O,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport { ResultTimeHeaderCell } from 'terra-clinical-result/lib/index';\nimport Table, {\n Header,\n Row,\n Body,\n} from 'terra-html-table';\nimport FlowsheetResultCell from '../../../../flowsheet-result-cell/FlowsheetResultCell';\n\nconst defaultBloodPressureResult = [\n {\n id: '1',\n systolic: {\n eventId: '2',\n result: {\n value: '130',\n unit: 'mmHg',\n },\n interpretation: 'high',\n },\n diastolic: {\n eventId: '3',\n result: {\n value: '80',\n unit: 'mmHg',\n },\n },\n },\n];\n\nexport default () => (\n \n
\n \n \n \n
\n \n \n \n \n \n \n \n
\n);\n\n")))}C.isMDXComponent=!0;var N=function(e){var l=e.title,t=e.description,r=e.isExpanded;return n.createElement(u.Z,{title:l||"Result Time Header Cell Semantic Table Example",description:t,example:n.createElement(v.Z,null),exampleSrc:n.createElement(C,null),isExpanded:r})},R=t(78530),D=["components"];function j(){return j=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var P={},S="wrapper";function z(e){var l=e.components,t=H(e,D);return(0,r.mdx)(S,j({},P,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)(R.ZP,{mdxType:"PropsTable"},(0,r.mdx)(R.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(R.O,{mdxType:"PropNameCell"},"date"),(0,r.mdx)(R.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(R.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(R.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(R.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Content to be displayed on the first line, typically abbreviated date, e.g. ",(0,r.mdx)("inlineCode",{parentName:"p"},"Dec 12, 2010")))),(0,r.mdx)(R.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(R.O,{mdxType:"PropNameCell"},"time"),(0,r.mdx)(R.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(R.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(R.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(R.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Content to be displayed on the second line, typically 24 hour time in hours and minutes, e.g. ",(0,r.mdx)("inlineCode",{parentName:"p"},"23:59")))),(0,r.mdx)(R.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(R.O,{mdxType:"PropNameCell"},"hideDate"),(0,r.mdx)(R.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(R.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(R.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(R.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Visually hides the date when presented in a series of side-by-side columns of the same date."))),(0,r.mdx)(R.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(R.O,{mdxType:"PropNameCell"},"paddingStyle"),(0,r.mdx)(R.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'none'\n 'compact'\n 'standard'\n],\n"))),(0,r.mdx)(R.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(R.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"'compact'\n"))),(0,r.mdx)(R.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The padding styling to apply to the Result Time column header cell.\nOne of ",(0,r.mdx)("inlineCode",{parentName:"p"},"'none'"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"'compact'"),", or ",(0,r.mdx)("inlineCode",{parentName:"p"},"'standard'"),".")))))}z.isMDXComponent=!0;var X=["components"];function M(){return M=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var I={},B="wrapper";function F(e){var l=e.components,t=Z(e,X);return(0,r.mdx)(B,M({},I,t,{components:l,mdxType:"MDXLayout"}),(0,r.mdx)(a.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"result-time-header-cell"},"Result Time Header Cell"),(0,r.mdx)("p",null,"Result-Time-Header-Cell is a component of terra-clinical-result that creates a standardized view for the Date/Time Header cells (column headers) for each bucketed time column within a flowsheet."),(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-clinical-result"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-intl"),(0,r.mdx)("td",{parentName:"tr",align:null},"^2.8.0")))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import { ResultTimeHeaderCell } from 'terra-clinical-result/lib/index';\n")),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(p,{mdxType:"Default"}),(0,r.mdx)(g,{title:"Result Time Header Cells in Sample Flowsheet",mdxType:"FlowsheetExample"}),(0,r.mdx)(N,{title:"Result Time Header Cell in Semantic Table",mdxType:"SemanticStyleHeaderTimeCell"}),(0,r.mdx)("h2",{id:"result-time-header-cell-props"},"Result Time Header Cell Props"),(0,r.mdx)(z,{mdxType:"ResultTimeHeaderProps"}))}F.isMDXComponent=!0},52636:function(e,l,t){t.d(l,{Z:function(){return d}});t(67294);var n=t(81254),r=["components"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var m={},i="wrapper";function d(e){var l=e.components,t=o(e,r);return(0,n.mdx)(i,a({},m,t,{components:l,mdxType:"MDXLayout"}),(0,n.mdx)("pre",null,(0,n.mdx)("code",{parentName:"pre",className:"language-scss"},"@import './clinical-lowlight-theme/Examples.module';\n@import './orion-fusion-theme/Examples.module';\n\n:local {\n .example-description-text {\n display: inline-flex;\n margin-bottom: 0.75rem;\n }\n\n .dashed-border-group {\n border: var(--terra-clinical-result-examples-dashed-border-group-border, 2px dashed #333);\n }\n\n .clinical-result-fontsize-16 {\n font-size: 1.14285rem;\n }\n\n .clinical-result-fontsize-18 {\n font-size: 1.28571rem;\n }\n\n .clinical-result-fontsize-21 {\n font-size: 1.5rem;\n }\n\n .clinical-result-fontsize-24 {\n font-size: 1.71428rem;\n }\n\n .bottom-space {\n margin-bottom: 1.42857rem;\n }\n\n .mock-flowsheet-example {\n margin: 0;\n padding: 0;\n }\n\n .mock-flowsheet-table {\n table-layout: fixed;\n width: 40%;\n }\n\n .mock-flowsheet-table-full {\n table-layout: fixed;\n width: 100%;\n }\n\n .mock-flowsheet-header {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-header-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-header-border, 1px solid #dedfe0);\n border-bottom-color: var(--terra-clinical-result-examples-mock-flowsheet-header-border-bottom-color, #868a8c);\n line-height: 0;\n max-width: 1055px;\n overflow: hidden;\n padding-left: 220px;\n white-space: nowrap;\n }\n\n .mock-flowsheet-header-cell {\n border-left: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-border-left, 1px solid #868a8c);\n border-right: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-border-right, 1px solid #868a8c);\n display: inline-block;\n margin-right: -1px;\n width: 120px;\n\n &.new-date {\n border-left: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-new-date-border-left, 2px solid #4e5558);\n }\n }\n\n .mock-flowsheet-firstcolumn {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-border, 1px solid #dedfe0);\n border-right: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-border-right, 2px solid #4e5558);\n max-width: 222px;\n overflow: hidden;\n padding-top: 48px;\n white-space: nowrap;\n }\n\n .mock-flowsheet-firstcolumn-cell {\n border-bottom: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-border-bottom, 1px solid #868a8c);\n border-top: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-border-top, 1px solid #868a8c);\n margin-bottom: -1px;\n\n &.zebra {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-zebra-background-color, #dedfe0);\n }\n }\n\n .mock-flowsheet-resultcolumn {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-border, 1px solid #dedfe0);\n display: inline-block;\n margin-left: -1px;\n overflow: hidden;\n padding-top: 24px;\n vertical-align: top;\n width: 162px;\n\n &.half-column {\n width: 99px;\n }\n\n &.double-column {\n width: 324px;\n }\n\n &.triple-column {\n width: 490px;\n }\n\n &.flexible50-column {\n width: 50%;\n }\n }\n\n .mock-flowsheet-resultcolumn-cell {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-background-color, #fff);\n border-bottom: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-border-bottom, 1px solid #dedfe0);\n border-top: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-border-top, 1px solid #dedfe0);\n box-sizing: border-box;\n height: 33px;\n margin-bottom: -1px;\n white-space: nowrap;\n\n &.allow-wrapping {\n overflow: auto;\n white-space: normal;\n word-wrap: normal;\n }\n\n &.empty {\n height: 33px;\n }\n\n &.short {\n height: 25px;\n }\n\n &.medium {\n height: 41px;\n }\n\n &.tall {\n height: 155px;\n }\n\n &.with-padding {\n padding: 7px 7px 0;\n }\n\n &.zebra {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-zebra-background-color, #f1f1f1);\n }\n }\n\n .vertical-center-align-wrapper {\n align-items: center;\n display: flex;\n height: 100%;\n margin: 0;\n max-height: 100%;\n max-width: 100%; // Needed for IE10 truncation\n overflow: hidden; // Needed for IE10\n padding: 0;\n width: 100%;\n }\n}\n\n")))}d.isMDXComponent=!0},61042:function(e,l,t){t.d(l,{C:function(){return a}});var n=t(67294),r=t(22863),a=function(e){var l=e.url;return n.createElement(r.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-result",name:"terra-clinical-result",version:"1.22.0",url:l})}},40028:function(e,l,t){l.Z=void 0;var n,r=(n=t(67294))&&n.__esModule?n:{default:n},a=t(21860);l.Z=function(){return r.default.createElement(a.ResultTimeHeaderCell,{date:"Dec 21, 2010",time:"23:59"})}},10718:function(e,l,t){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}l.Z=void 0;var r=d(t(67294)),a=t(21860),o=function(e,l){if(!l&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=i(l);if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var m=a?Object.getOwnPropertyDescriptor(e,o):null;m&&(m.get||m.set)?Object.defineProperty(r,o,m):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(t(98364)),m=d(t(63193));function i(e){if("function"!=typeof WeakMap)return null;var l=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:l})(e)}function d(e){return e&&e.__esModule?e:{default:e}}var c=[{id:"1",systolic:{eventId:"2",result:{value:"130",unit:"mmHg"},interpretation:"high"},diastolic:{eventId:"3",result:{value:"80",unit:"mmHg"}}}];l.Z=function(){return r.default.createElement(o.default,null,r.default.createElement(o.Header,null,r.default.createElement(a.ResultTimeHeaderCell,{key:"time1",date:"Dec 29, 2010",time:"20:59"}),r.default.createElement(a.ResultTimeHeaderCell,{key:"time2",date:"Dec 30, 2010",time:"22:00"}),r.default.createElement(a.ResultTimeHeaderCell,{key:"time3",date:"Jan 01, 2011",time:"23:59"})),r.default.createElement(o.Body,null,r.default.createElement(o.Row,null,r.default.createElement(m.default,{key:"time1",resultDataSet:c}),r.default.createElement(m.default,{key:"time2",resultDataSet:c}),r.default.createElement(m.default,{key:"time3",resultDataSet:c}))))}},42728:function(e,l,t){l.Z=void 0;var n=d(t(67294)),r=t(21860),a=d(t(94184)),o=d(t(47166)),m=d(t(50026)),i=d(t(60815));function d(e){return e&&e.__esModule?e:{default:e}}var c=o.default.bind(i.default),s=function(){var e=n.default.useContext(m.default),l=(0,a.default)(c("mock-flowsheet-example",e.className));return n.default.createElement("div",{className:l},n.default.createElement("div",{className:c("mock-flowsheet-header")},n.default.createElement("div",{className:c(["mock-flowsheet-header-cell","new-date"])},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 20, 2010",time:"21:00"})),n.default.createElement("div",{className:c("mock-flowsheet-header-cell")},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 20, 2010",time:"22:00",hideDate:!0})),n.default.createElement("div",{className:c("mock-flowsheet-header-cell")},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 20, 2010",time:"23:59",hideDate:!0})),n.default.createElement("div",{className:c(["mock-flowsheet-header-cell","new-date"])},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 21, 2010",time:"00:15"})),n.default.createElement("div",{className:c("mock-flowsheet-header-cell")},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 21, 2010",time:"03:00",hideDate:!0})),n.default.createElement("div",{className:c(["mock-flowsheet-header-cell","new-date"])},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 22, 2010",time:"07:00"})),n.default.createElement("div",{className:c("mock-flowsheet-header-cell")},n.default.createElement(r.ResultTimeHeaderCell,{date:"Dec 22, 2010",time:"11:00",hideDate:!0}))))};l.Z=s},60815:function(e,l,t){t.r(l),l.default={"clinical-lowlight-theme":"Examples-module__clinical-lowlight-theme___raZXs","orion-fusion-theme":"Examples-module__orion-fusion-theme___Pm6k9","example-description-text":"Examples-module__example-description-text___Xq-WD","dashed-border-group":"Examples-module__dashed-border-group___7SN-x","clinical-result-fontsize-16":"Examples-module__clinical-result-fontsize-16___u9JnA","clinical-result-fontsize-18":"Examples-module__clinical-result-fontsize-18___rluGp","clinical-result-fontsize-21":"Examples-module__clinical-result-fontsize-21___cxLuH","clinical-result-fontsize-24":"Examples-module__clinical-result-fontsize-24___B5x8X","bottom-space":"Examples-module__bottom-space___xH0Ub","mock-flowsheet-example":"Examples-module__mock-flowsheet-example___HHOIv","mock-flowsheet-table":"Examples-module__mock-flowsheet-table___Jg5yc","mock-flowsheet-table-full":"Examples-module__mock-flowsheet-table-full___xRJXw","mock-flowsheet-header":"Examples-module__mock-flowsheet-header___NyDYg","mock-flowsheet-header-cell":"Examples-module__mock-flowsheet-header-cell___EwoKe","new-date":"Examples-module__new-date___k3n84","mock-flowsheet-firstcolumn":"Examples-module__mock-flowsheet-firstcolumn___HUI8Y","mock-flowsheet-firstcolumn-cell":"Examples-module__mock-flowsheet-firstcolumn-cell___nq+xg",zebra:"Examples-module__zebra___oEmkn","mock-flowsheet-resultcolumn":"Examples-module__mock-flowsheet-resultcolumn___7jQOo","half-column":"Examples-module__half-column___gtHm3","double-column":"Examples-module__double-column___H635r","triple-column":"Examples-module__triple-column___wCTfe","flexible50-column":"Examples-module__flexible50-column___9d4Ht","mock-flowsheet-resultcolumn-cell":"Examples-module__mock-flowsheet-resultcolumn-cell___PIXFo","allow-wrapping":"Examples-module__allow-wrapping___P3M2v",empty:"Examples-module__empty___-PH0H",short:"Examples-module__short___JsBsC",medium:"Examples-module__medium___Ty0Ey",tall:"Examples-module__tall___idfpx","with-padding":"Examples-module__with-padding___BTyqD","vertical-center-align-wrapper":"Examples-module__vertical-center-align-wrapper___VFCEp"}}}]); \ No newline at end of file diff --git a/pull/916/2129-327aafd805f6380e2028.js b/pull/916/2129-327aafd805f6380e2028.js new file mode 100644 index 000000000..abe939c35 --- /dev/null +++ b/pull/916/2129-327aafd805f6380e2028.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[2129,9815],{49271:function(e,t,n){var a=n(64836),i=n(18698);t.Z=void 0;var o=a(n(27424)),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var l=o?Object.getOwnPropertyDescriptor(e,r):null;l&&(l.get||l.set)?Object.defineProperty(a,r,l):a[r]=e[r]}a.default=e,n&&n.set(e,a);return a}(n(67294)),l=a(n(45697)),u=a(n(47166)),s=n(21538),c=a(n(33864)),d=a(n(23399)),f=n(51051),m=a(n(53560));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 h=u.default.bind(m.default),_={example:l.default.element,exampleSrc:l.default.element,exampleCssSrc:l.default.element,title:l.default.string,description:l.default.node,isExpanded:l.default.bool},y=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},g=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},v=function(e){var t=e.example,n=e.exampleSrc,a=e.exampleCssSrc,i=e.title,l=e.description,u=e.isExpanded,m=(0,r.useState)(u),p=(0,o.default)(m,2),_=p[0],v=p[1],b=(0,r.useState)(!1),O=(0,o.default)(b,2),w=O[0],E=O[1],j=r.default.useContext(s.ThemeContext),T=void 0!==a,C=function(){E(!w),_&&v(!_)},S=function(){v(!_),w&&E(!w)},N=function(e,t){e.nativeEvent.keyCode!==f.KEY_SPACE&&e.nativeEvent.keyCode!==f.KEY_RETURN||(e.preventDefault(),t())};return r.default.createElement("div",{className:h("template",j.className)},r.default.createElement("div",{className:h("header")},i&&r.default.createElement("h2",{className:h("title")},i)),r.default.createElement("div",{className:h("content")},l&&r.default.createElement("div",{className:h("description")},l),t),r.default.createElement("div",{className:h("footer")},n?r.default.createElement("div",{className:h("button-container")},T&&r.default.createElement("button",{type:"button",className:h("css-toggle","item",{"is-selected":w}),onClick:C,onKeyDown:function(e){return N(e,C)},onBlur:y,onMouseDown:g,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(c.default,{className:h("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(d.default,{className:h("chevron")})),r.default.createElement("button",{type:"button",className:h("code-toggle","item",{"is-selected":_}),onClick:S,onKeyDown:function(e){return N(e,S)},onBlur:y,onMouseDown:g,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(c.default,{className:h("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(d.default,{className:h("chevron")}))):null,r.default.createElement("div",null,w&&r.default.createElement("div",{className:h("css")},a),_&&r.default.createElement("div",{className:h("code")},n))))};v.propTypes=_,v.defaultProps={isExpanded:!1};var b=v;t.Z=b},40996:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(n(67294)),i=s(n(45697)),o=s(n(47166)),r=s(n(50026)),l=s(n(66983)),u=["children"];function s(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var f=o.default.bind(l.default),m=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},p=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},h={children:i.default.string},_=function(e){var t=e.children,n=d(e,u),i=a.default.useContext(r.default),l=(0,o.default)(f(["button",i.className]),n.className);return a.default.createElement("button",c({},n,{type:"button",className:l,onBlur:m,onMouseDown:p,"data-focus-styles-enabled":!0}),t)};_.propTypes=h;var y=_;t.default=y},59278:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=u(n(67294)),i=u(n(45697)),o=u(n(47166)),r=u(n(50026)),l=u(n(30866));function u(e){return e&&e.__esModule?e:{default:e}}var s=o.default.bind(l.default),c={ariaLevel:i.default.oneOf(["2","3","4","5","6"]),children:i.default.node,variant:i.default.oneOf(["ux-recommendation","caution","deprecation","maintenance","important","not-supported"])},d=function(e){var t=e.ariaLevel,n=e.variant,i=e.children,o=a.default.useContext(r.default);return a.default.createElement("div",{className:s("notice",n,o.className)},a.default.createElement("div",{className:s("accessory"),"aria-hidden":"true",focusable:"false"}),a.default.createElement("div",{role:"heading",className:s("title"),"aria-level":t},a.default.createElement("span",null,function(e){return"ux-recommendation"===e?"UX Recommendation":"caution"===e?"Caution":"deprecation"===e?"Deprecation Notice":"maintenance"===e?"In Maintenance":"important"===e?"Important":"not-supported"===e?"Hazards for Incorrect Usage":"error"}(n))),a.default.createElement("div",{className:s("children")},function(e){return"not-supported"===e?a.default.createElement(a.default.Fragment,null,a.default.createElement("p",{className:s("paragraph")},"This component was designed and tested according to the documented implementation."),a.default.createElement("p",{className:s("paragraph")},"Using the component incorrectly:",a.default.createElement("ul",{className:s("list")},a.default.createElement("li",null,"will likely result in improper composition and create accessibility issues"),a.default.createElement("li",null,"may cause erratic or broken behaviors and styles"),a.default.createElement("li",null,a.default.createElement("strong",null,"will not be supported "),"or enhanced to allow for incorrect use")))):null}(n),a.default.Children.map(i,(function(e){return"string"==typeof e?a.default.createElement("p",null,e):e}))))};d.propTypes=c,d.defaultProps={ariaLevel:"2",variant:"important"};var f=d;t.default=f},47306:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=c(n(67294)),i=c(n(45697)),o=c(n(94184)),r=c(n(47166)),l=c(n(50026)),u=c(n(42620)),s=["title"];function c(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var m=r.default.bind(u.default),p={title:i.default.string},h=function(e){var t=e.title,n=f(e,s),i=a.default.useContext(l.default),r=(0,o.default)(m(["placeholder",i.className]),n.className),u=m(["inner"]);return a.default.createElement("div",d({},n,{className:r}),a.default.createElement("div",{className:u},a.default.createElement("p",{className:m("title")},t)))};h.propTypes=p,h.defaultProps={title:""};var _=h;t.default=_},34261:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return i.default}});var a=r(n(59278)),i=r(n(47306)),o=r(n(40996));function r(e){return e&&e.__esModule?e:{default:e}}},53560:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},66983:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Button-module__clinical-lowlight-theme___TyZWB","orion-fusion-theme":"Button-module__orion-fusion-theme___q-FcQ",button:"Button-module__button___QuCn2","is-active":"Button-module__is-active___Z8AuK"}},30866:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Notice-module__clinical-lowlight-theme___aa5xV","orion-fusion-theme":"Notice-module__orion-fusion-theme___QAE-T",notice:"Notice-module__notice___GWkPA",children:"Notice-module__children___lDYsm",accessory:"Notice-module__accessory___wkLOG",title:"Notice-module__title___6H5tc","ux-recommendation":"Notice-module__ux-recommendation___N8BuK",caution:"Notice-module__caution___hPrVl",deprecation:"Notice-module__deprecation___g1drA",maintenance:"Notice-module__maintenance___kWLIZ",important:"Notice-module__important___p5DiF","not-supported":"Notice-module__not-supported___34bHd",paragraph:"Notice-module__paragraph___5h-w1",list:"Notice-module__list___M2Kxj"}},42620:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Placeholder-module__clinical-lowlight-theme___Obm9K","orion-fusion-theme":"Placeholder-module__orion-fusion-theme___svHY+",placeholder:"Placeholder-module__placeholder___ZZDXd",inner:"Placeholder-module__inner___fJq9o",title:"Placeholder-module__title___teBSo"}},21826:function(e,t,n){n.r(t),t.default={"toggle-button":"ToggleButton-module__toggle-button___eo1aB",icon:"ToggleButton-module__icon___mFdVK","is-open":"ToggleButton-module__is-open___W1RlO","is-icon-animated":"ToggleButton-module__is-icon-animated___4e24X","button-text":"ToggleButton-module__button-text___+N0CK"}},27144:function(e,t,n){n.r(t),t.default={toggle:"Toggle-module__toggle___7F95e"}},68133:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?t-1:0),a=1;ae.height),c(g,this.animationStateClasses.animatingToHeightZero,0===w.height),c(g,this.animationStateClasses.animatingToHeightAuto,"auto"===w.height),c(g,this.animationStateClasses.animatingToHeightSpecific,w.height>0),g)),T=this.getStaticStateClasses(w.height);this.setState({animationStateClasses:j,height:O,overflow:"hidden",shouldUseTransitions:!E}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),E?(w.shouldUseTransitions=!0,p(this.animationFrameIDs),this.animationFrameIDs=(n=function(){i.setState(w),y(s,{newHeight:w.height})},(a=[])[0]=requestAnimationFrame((function(){a[1]=requestAnimationFrame((function(){n()}))})),a),this.animationClassesTimeoutID=setTimeout((function(){i.setState({animationStateClasses:T,shouldUseTransitions:!1}),i.hideContent(w.height),y(l,{newHeight:w.height})}),b)):(y(s,{newHeight:O}),this.timeoutID=setTimeout((function(){w.animationStateClasses=T,w.shouldUseTransitions=!1,i.setState(w),"auto"!==r&&i.hideContent(O),y(l,{newHeight:O})}),b))}}},{key:"componentWillUnmount",value:function(){p(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null}},{key:"getTimings",value:function(){if(this.prefersReducedMotion)return{delay:0,duration:0};var e=this.props;return{delay:e.delay,duration:e.duration}}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,u.default)((c(t={},this.animationStateClasses.static,!0),c(t,this.animationStateClasses.staticHeightZero,0===e),c(t,this.animationStateClasses.staticHeightSpecific,e>0),c(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,n=this.props,a=n.animateOpacity,o=n.applyInlineTransitions,l=n.children,s=n.className,d=n.contentClassName,p=n.easing,h=n.id,_=n.style,y=this.state,g=y.height,v=y.overflow,b=y.animationStateClasses,O=y.shouldUseTransitions,w=this.getTimings(),E=w.duration,j=w.delay,T=i({},_,{height:g,overflow:v||_.overflow});O&&o&&(T.transition="height "+E+"ms "+p+" "+j+"ms",_.transition&&(T.transition=_.transition+", "+T.transition),T.WebkitTransition=T.transition);var C={};a&&(C.transition="opacity "+E+"ms "+p+" "+j+"ms",C.WebkitTransition=C.transition,0===g&&(C.opacity=0));var S=(0,u.default)((c(e={},b,!0),c(e,s,s),e)),N="undefined"!=typeof this.props["aria-hidden"]?this.props["aria-hidden"]:0===g;return r.default.createElement("div",i({},m.apply(void 0,[this.props].concat(f)),{"aria-hidden":N,className:S,id:h,style:T}),r.default.createElement("div",{className:d,style:C,ref:function(e){return t.contentElement=e}},l))}}]),t}(r.default.Component);g.propTypes={"aria-hidden":l.default.bool,animateOpacity:l.default.bool,animationStateClasses:l.default.object,applyInlineTransitions:l.default.bool,children:l.default.any.isRequired,className:l.default.string,contentClassName:l.default.string,delay:l.default.number,duration:l.default.number,easing:l.default.string,height:function(e,t,n){var i=e[t];return"number"==typeof i&&i>=0||_(i)||"auto"===i?null:new TypeError('value "'+i+'" of type "'+("undefined"==typeof i?"undefined":a(i))+'" is invalid type for '+t+" in "+n+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},id:l.default.string,onAnimationEnd:l.default.func,onAnimationStart:l.default.func,style:l.default.object},g.defaultProps={animateOpacity:!1,animationStateClasses:d,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.default=g},33864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(67294)),i=o(n(99139));function o(e){return e&&e.__esModule?e:{default:e}}function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function h(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var f=o.default.bind(l.default),m={children:i.default.node.isRequired,isAnimated:i.default.bool,isOpen:i.default.bool},p=function(e){var t,n=e.isAnimated,i=e.isOpen,o=e.children,l=d(e,u),s=i?"auto":0;return t=n?a.default.createElement(r.default,{duration:250,height:s,easing:"ease-out"},o):i&&o,a.default.createElement("div",c({},l,{className:f("toggle",l.className),"aria-hidden":!i}),t)};p.propTypes=m,p.defaultProps={isAnimated:!1,isOpen:!1};var h=p;t.default=h}}]); \ No newline at end of file diff --git a/pull/916/2444-318c75c657caaa48861d.css b/pull/916/2444-583c88fd87d8253b105c.css similarity index 100% rename from pull/916/2444-318c75c657caaa48861d.css rename to pull/916/2444-583c88fd87d8253b105c.css diff --git a/pull/916/2444-318c75c657caaa48861d.js b/pull/916/2444-583c88fd87d8253b105c.js similarity index 99% rename from pull/916/2444-318c75c657caaa48861d.js rename to pull/916/2444-583c88fd87d8253b105c.js index 4e0bd9bdc..bfe094fb7 100644 --- a/pull/916/2444-318c75c657caaa48861d.js +++ b/pull/916/2444-583c88fd87d8253b105c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[2444],{22863:function(e,n,a){var t=a(64836);n.Z=void 0;var i=t(a(67294)),r=t(a(45697)),l=t(a(47166)),d=t(a(17422)),s=l.default.bind(d.default),o={name:r.default.string.isRequired,src:r.default.string,url:r.default.string,version:r.default.string.isRequired},m=function(e){var n=e.src,a=e.name,t=e.url,r=e.version,l=i.default.createElement("a",{className:s("badge"),href:t||"https://www.npmjs.org/package/".concat(a,"/v/").concat(r)},i.default.createElement("span",{className:s("badge-name")},t?"package":"npm"),i.default.createElement("span",{className:s("badge-version")},"v".concat(r))),d=n?i.default.createElement("a",{className:s("badge"),href:n},i.default.createElement("span",{className:s("badge-name")},"github"),i.default.createElement("span",{className:s("badge-version")},"source")):void 0;return i.default.createElement("div",{className:s("badge-container")},l,d)};m.propTypes=o;var p=m;n.Z=p},62444:function(e,n,a){a.r(n),a.d(n,{default:function(){return m}});a(67294);var t=a(81254),i=a(61812),r=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(i[a]=e[a]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var s={},o="wrapper";function m(e){var n=e.components,a=d(e,r);return(0,t.mdx)(o,l({},s,a,{components:n,mdxType:"MDXLayout"}),(0,t.mdx)(i.C,{mdxType:"Badge"}),(0,t.mdx)("h1",{id:"terra-clinical-onset-picker-upgrade-guide"},"Terra Clinical Onset Picker Upgrade Guide"),(0,t.mdx)("h2",{id:"changes-from-30-to-40"},"Changes from 3.0 to 4.0"),(0,t.mdx)("h3",{id:"breaking-changes"},"Breaking Changes"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"granularitySelectOnChange")),(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"precisionSelectOnChange")),(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"onsetDateInputOnChange")),(0,t.mdx)("li",{parentName:"ul"},"Condensed onChange function props into a single prop (",(0,t.mdx)("inlineCode",{parentName:"li"},"onsetOnChange"),") that returns an Object for the onsetDate.")),(0,t.mdx)("h3",{id:"changes-for-onsetonchange"},"Changes for onsetOnChange"),(0,t.mdx)("pre",null,(0,t.mdx)("code",{parentName:"pre",className:"language-diff"},"- this.handleGranularity = this.handleGranularity.bind(this);\n- this.handlePrecision = this.handlePrecision.bind(this);\n- handleGranularity(granularity) {\n- this.setState({ granularity });\n- }\n\n- handlePrecision(precision) {\n- this.setState({ precision });\n- }\n\n- handleOnset(onsetDate) {\n- this.setState({ onsetDate });\n+ handleOnset(onsetObject) {\n+ this.setState({\n+ precision: onsetObject.precision,\n+ granularity: onsetObject.granularity,\n+ onsetDate: onsetObject.onsetDate,\n+ ageUnit: onsetObject.ageUnit,\n+ });\n \n")),(0,t.mdx)("h3",{id:"new-feature"},"New Feature"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"Added support for age units. Use new ",(0,t.mdx)("inlineCode",{parentName:"li"},"ageUnit")," prop to pass default age unit values, accepted values are ",(0,t.mdx)("inlineCode",{parentName:"li"},"weeks"),", ",(0,t.mdx)("inlineCode",{parentName:"li"},"months"),", or ",(0,t.mdx)("inlineCode",{parentName:"li"},"years")," ")),(0,t.mdx)("h3",{id:"new-props"},"New Props"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"New prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"ageUnit")),(0,t.mdx)("li",{parentName:"ul"},"New prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"onsetOnChange"))),(0,t.mdx)("h2",{id:"changes-from-20-to-30"},"Changes from 2.0 to 3.0"),(0,t.mdx)("h3",{id:"breaking-changes-1"},"Breaking Changes"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"New required prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"id")),(0,t.mdx)("li",{parentName:"ul"},"Removed exported enums ",(0,t.mdx)("inlineCode",{parentName:"li"},"OnsetPicker.Opts.Granularities")," and ",(0,t.mdx)("inlineCode",{parentName:"li"},"OnsetPicker.Opts.Precisions")),(0,t.mdx)("li",{parentName:"ul"},"Removed default prop values for ",(0,t.mdx)("inlineCode",{parentName:"li"},"granularity")," and ",(0,t.mdx)("inlineCode",{parentName:"li"},"precision")),(0,t.mdx)("li",{parentName:"ul"},(0,t.mdx)("inlineCode",{parentName:"li"},"onChange")," functions can now return blank values"),(0,t.mdx)("li",{parentName:"ul"},"Visual updates from switching to ",(0,t.mdx)("inlineCode",{parentName:"li"},"terra-form-field"),", ",(0,t.mdx)("inlineCode",{parentName:"li"},"terra-form-fieldset"),", ",(0,t.mdx)("inlineCode",{parentName:"li"},"terra-form-input"),", and ",(0,t.mdx)("inlineCode",{parentName:"li"},"terra-form-select"))),(0,t.mdx)("h3",{id:"new-features"},"New Features"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"CSS themeable variables")),(0,t.mdx)("h3",{id:"removed-props"},"Removed props"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"granularitySelectName")),(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"precisionSelectName")),(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"precisionSelectName"))),(0,t.mdx)("h3",{id:"css-variables"},"CSS Variables"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-field-margin-right"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-field-margin-bottom"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-precision-select-min-width"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-granularity-select-min-width"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-month-select-min-width"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-age-granularity-select-min-width"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-age-input-width")))}m.isMDXComponent=!0},61812:function(e,n,a){a.d(n,{C:function(){return r}});var t=a(67294),i=a(22863),r=function(e){var n=e.url;return t.createElement(i.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-onset-picker",name:"terra-clinical-onset-picker",version:"4.35.0",url:n})}},17422:function(e,n,a){a.r(n),n.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[2444],{22863:function(e,n,a){var t=a(64836);n.Z=void 0;var i=t(a(67294)),r=t(a(45697)),l=t(a(47166)),d=t(a(17422)),s=l.default.bind(d.default),o={name:r.default.string.isRequired,src:r.default.string,url:r.default.string,version:r.default.string.isRequired},m=function(e){var n=e.src,a=e.name,t=e.url,r=e.version,l=i.default.createElement("a",{className:s("badge"),href:t||"https://www.npmjs.org/package/".concat(a,"/v/").concat(r)},i.default.createElement("span",{className:s("badge-name")},t?"package":"npm"),i.default.createElement("span",{className:s("badge-version")},"v".concat(r))),d=n?i.default.createElement("a",{className:s("badge"),href:n},i.default.createElement("span",{className:s("badge-name")},"github"),i.default.createElement("span",{className:s("badge-version")},"source")):void 0;return i.default.createElement("div",{className:s("badge-container")},l,d)};m.propTypes=o;var p=m;n.Z=p},62444:function(e,n,a){a.r(n),a.d(n,{default:function(){return m}});a(67294);var t=a(81254),i=a(61812),r=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(i[a]=e[a]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var s={},o="wrapper";function m(e){var n=e.components,a=d(e,r);return(0,t.mdx)(o,l({},s,a,{components:n,mdxType:"MDXLayout"}),(0,t.mdx)(i.C,{mdxType:"Badge"}),(0,t.mdx)("h1",{id:"terra-clinical-onset-picker-upgrade-guide"},"Terra Clinical Onset Picker Upgrade Guide"),(0,t.mdx)("h2",{id:"changes-from-30-to-40"},"Changes from 3.0 to 4.0"),(0,t.mdx)("h3",{id:"breaking-changes"},"Breaking Changes"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"granularitySelectOnChange")),(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"precisionSelectOnChange")),(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"onsetDateInputOnChange")),(0,t.mdx)("li",{parentName:"ul"},"Condensed onChange function props into a single prop (",(0,t.mdx)("inlineCode",{parentName:"li"},"onsetOnChange"),") that returns an Object for the onsetDate.")),(0,t.mdx)("h3",{id:"changes-for-onsetonchange"},"Changes for onsetOnChange"),(0,t.mdx)("pre",null,(0,t.mdx)("code",{parentName:"pre",className:"language-diff"},"- this.handleGranularity = this.handleGranularity.bind(this);\n- this.handlePrecision = this.handlePrecision.bind(this);\n- handleGranularity(granularity) {\n- this.setState({ granularity });\n- }\n\n- handlePrecision(precision) {\n- this.setState({ precision });\n- }\n\n- handleOnset(onsetDate) {\n- this.setState({ onsetDate });\n+ handleOnset(onsetObject) {\n+ this.setState({\n+ precision: onsetObject.precision,\n+ granularity: onsetObject.granularity,\n+ onsetDate: onsetObject.onsetDate,\n+ ageUnit: onsetObject.ageUnit,\n+ });\n \n")),(0,t.mdx)("h3",{id:"new-feature"},"New Feature"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"Added support for age units. Use new ",(0,t.mdx)("inlineCode",{parentName:"li"},"ageUnit")," prop to pass default age unit values, accepted values are ",(0,t.mdx)("inlineCode",{parentName:"li"},"weeks"),", ",(0,t.mdx)("inlineCode",{parentName:"li"},"months"),", or ",(0,t.mdx)("inlineCode",{parentName:"li"},"years")," ")),(0,t.mdx)("h3",{id:"new-props"},"New Props"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"New prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"ageUnit")),(0,t.mdx)("li",{parentName:"ul"},"New prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"onsetOnChange"))),(0,t.mdx)("h2",{id:"changes-from-20-to-30"},"Changes from 2.0 to 3.0"),(0,t.mdx)("h3",{id:"breaking-changes-1"},"Breaking Changes"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"New required prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"id")),(0,t.mdx)("li",{parentName:"ul"},"Removed exported enums ",(0,t.mdx)("inlineCode",{parentName:"li"},"OnsetPicker.Opts.Granularities")," and ",(0,t.mdx)("inlineCode",{parentName:"li"},"OnsetPicker.Opts.Precisions")),(0,t.mdx)("li",{parentName:"ul"},"Removed default prop values for ",(0,t.mdx)("inlineCode",{parentName:"li"},"granularity")," and ",(0,t.mdx)("inlineCode",{parentName:"li"},"precision")),(0,t.mdx)("li",{parentName:"ul"},(0,t.mdx)("inlineCode",{parentName:"li"},"onChange")," functions can now return blank values"),(0,t.mdx)("li",{parentName:"ul"},"Visual updates from switching to ",(0,t.mdx)("inlineCode",{parentName:"li"},"terra-form-field"),", ",(0,t.mdx)("inlineCode",{parentName:"li"},"terra-form-fieldset"),", ",(0,t.mdx)("inlineCode",{parentName:"li"},"terra-form-input"),", and ",(0,t.mdx)("inlineCode",{parentName:"li"},"terra-form-select"))),(0,t.mdx)("h3",{id:"new-features"},"New Features"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"CSS themeable variables")),(0,t.mdx)("h3",{id:"removed-props"},"Removed props"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"granularitySelectName")),(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"precisionSelectName")),(0,t.mdx)("li",{parentName:"ul"},"Removed prop ",(0,t.mdx)("inlineCode",{parentName:"li"},"precisionSelectName"))),(0,t.mdx)("h3",{id:"css-variables"},"CSS Variables"),(0,t.mdx)("ul",null,(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-field-margin-right"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-field-margin-bottom"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-precision-select-min-width"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-granularity-select-min-width"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-month-select-min-width"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-age-granularity-select-min-width"),(0,t.mdx)("li",{parentName:"ul"},"--terra-clinical-onset-picker-age-input-width")))}m.isMDXComponent=!0},61812:function(e,n,a){a.d(n,{C:function(){return r}});var t=a(67294),i=a(22863),r=function(e){var n=e.url;return t.createElement(i.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-onset-picker",name:"terra-clinical-onset-picker",version:"4.36.0",url:n})}},17422:function(e,n,a){a.r(n),n.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}}}]); \ No newline at end of file diff --git a/pull/916/2543-39858085d4b9e0e26088.css b/pull/916/2543-1058e18215cf3b87a4df.css similarity index 100% rename from pull/916/2543-39858085d4b9e0e26088.css rename to pull/916/2543-1058e18215cf3b87a4df.css diff --git a/pull/916/2543-39858085d4b9e0e26088.js b/pull/916/2543-1058e18215cf3b87a4df.js similarity index 98% rename from pull/916/2543-39858085d4b9e0e26088.js rename to pull/916/2543-1058e18215cf3b87a4df.js index 537b68922..16392c56d 100644 --- a/pull/916/2543-39858085d4b9e0e26088.js +++ b/pull/916/2543-1058e18215cf3b87a4df.js @@ -1 +1 @@ -"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[2543],{22863:function(e,a,t){var r=t(64836);a.Z=void 0;var n=r(t(67294)),l=r(t(45697)),i=r(t(47166)),d=r(t(17422)),o=i.default.bind(d.default),c={name:l.default.string.isRequired,src:l.default.string,url:l.default.string,version:l.default.string.isRequired},m=function(e){var a=e.src,t=e.name,r=e.url,l=e.version,i=n.default.createElement("a",{className:o("badge"),href:r||"https://www.npmjs.org/package/".concat(t,"/v/").concat(l)},n.default.createElement("span",{className:o("badge-name")},r?"package":"npm"),n.default.createElement("span",{className:o("badge-version")},"v".concat(l))),d=a?n.default.createElement("a",{className:o("badge"),href:a},n.default.createElement("span",{className:o("badge-name")},"github"),n.default.createElement("span",{className:o("badge-version")},"source")):void 0;return n.default.createElement("div",{className:o("badge-container")},i,d)};m.propTypes=c;var s=m;a.Z=s},2543:function(e,a,t){t.r(a),t.d(a,{default:function(){return m}});t(67294);var r=t(81254),n=t(83620),l=["components"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(n[t]=e[t]);return n}(e,a);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var o={},c="wrapper";function m(e){var a=e.components,t=d(e,l);return(0,r.mdx)(c,i({},o,t,{components:a,mdxType:"MDXLayout"}),(0,r.mdx)(n.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-clinical-detail-view-upgrade-guide"},"Terra Clinical Detail View Upgrade Guide"),(0,r.mdx)("h2",{id:"changes-from-version-2-to-version-3"},"Changes from version 2 to version 3"),(0,r.mdx)("h3",{id:"changes-to-css-custom-properties"},"Changes to CSS Custom Properties"),(0,r.mdx)("h4",{id:"renamed"},"Renamed"),(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},"Previous"),(0,r.mdx)("th",{parentName:"tr",align:null},"New"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-detail-view-subtitle-color"),(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-clinical-detail-view-subtitle-color")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-detail-view-accessory-color"),(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-clinical-detail-view-accessory-color")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-detail-view-footer-text-color"),(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-clinical-detail-view-footer-text-color")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-detail-view-divider-border-color"),(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-clinical-detail-view-divider-border-color")))))}m.isMDXComponent=!0},83620:function(e,a,t){t.d(a,{C:function(){return l}});var r=t(67294),n=t(22863),l=function(e){var a=e.url;return r.createElement(n.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-detail-view",name:"terra-clinical-detail-view",version:"3.35.0",url:a})}},17422:function(e,a,t){t.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"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[2543],{22863:function(e,a,t){var r=t(64836);a.Z=void 0;var n=r(t(67294)),l=r(t(45697)),i=r(t(47166)),d=r(t(17422)),o=i.default.bind(d.default),c={name:l.default.string.isRequired,src:l.default.string,url:l.default.string,version:l.default.string.isRequired},m=function(e){var a=e.src,t=e.name,r=e.url,l=e.version,i=n.default.createElement("a",{className:o("badge"),href:r||"https://www.npmjs.org/package/".concat(t,"/v/").concat(l)},n.default.createElement("span",{className:o("badge-name")},r?"package":"npm"),n.default.createElement("span",{className:o("badge-version")},"v".concat(l))),d=a?n.default.createElement("a",{className:o("badge"),href:a},n.default.createElement("span",{className:o("badge-name")},"github"),n.default.createElement("span",{className:o("badge-version")},"source")):void 0;return n.default.createElement("div",{className:o("badge-container")},i,d)};m.propTypes=c;var s=m;a.Z=s},2543:function(e,a,t){t.r(a),t.d(a,{default:function(){return m}});t(67294);var r=t(81254),n=t(83620),l=["components"];function i(){return i=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(n[t]=e[t]);return n}(e,a);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var o={},c="wrapper";function m(e){var a=e.components,t=d(e,l);return(0,r.mdx)(c,i({},o,t,{components:a,mdxType:"MDXLayout"}),(0,r.mdx)(n.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-clinical-detail-view-upgrade-guide"},"Terra Clinical Detail View Upgrade Guide"),(0,r.mdx)("h2",{id:"changes-from-version-2-to-version-3"},"Changes from version 2 to version 3"),(0,r.mdx)("h3",{id:"changes-to-css-custom-properties"},"Changes to CSS Custom Properties"),(0,r.mdx)("h4",{id:"renamed"},"Renamed"),(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},"Previous"),(0,r.mdx)("th",{parentName:"tr",align:null},"New"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-detail-view-subtitle-color"),(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-clinical-detail-view-subtitle-color")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-detail-view-accessory-color"),(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-clinical-detail-view-accessory-color")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-detail-view-footer-text-color"),(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-clinical-detail-view-footer-text-color")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-detail-view-divider-border-color"),(0,r.mdx)("td",{parentName:"tr",align:null},"--terra-clinical-detail-view-divider-border-color")))))}m.isMDXComponent=!0},83620:function(e,a,t){t.d(a,{C:function(){return l}});var r=t(67294),n=t(22863),l=function(e){var a=e.url;return r.createElement(n.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-detail-view",name:"terra-clinical-detail-view",version:"3.36.0",url:a})}},17422:function(e,a,t){t.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"}}}]); \ No newline at end of file diff --git a/pull/916/5290-0a94eb1306d920070ae9.css b/pull/916/3136-24d0b89f39fd65ecc8c5.css similarity index 55% rename from pull/916/5290-0a94eb1306d920070ae9.css rename to pull/916/3136-24d0b89f39fd65ecc8c5.css index 95568602d..635c5c179 100644 --- a/pull/916/5290-0a94eb1306d920070ae9.css +++ b/pull/916/3136-24d0b89f39fd65ecc8c5.css @@ -4,7 +4,5 @@ .ItemDisplay-module__clinical-lowlight-theme___4qgu5{--terra-clinical-item-display-attention-color: #fb4c4c;--terra-clinical-item-display-disabled-icon-color: #404344;--terra-clinical-item-display-disabled-opacity: 0.3;--terra-clinical-item-display-secondary-color: rgba(221, 224, 225, 0.41);--terra-clinical-item-display-strong-color: #b2b5b6;--terra-clinical-item-display-strike-through-color: #b2b5b6;--terra-clinical-item-display-attention-font-weight: 700;--terra-clinical-item-display-strong-font-weight: 700;--terra-clinical-item-display-inline-icon-padding-right: 0.35714rem;--terra-clinical-item-display-disabled-inline-icon-color: #404344;--terra-clinical-item-display-disabled-inline-icon-opacity: 0.3}.ItemDisplay-module__orion-fusion-theme___0dqB7{--terra-clinical-item-display-inline-icon-padding-right: 0.25rem;--terra-clinical-item-display-disabled-icon-color: #9b9fa1;--terra-clinical-item-display-disabled-opacity: 0.3;--terra-clinical-item-display-secondary-color: rgba(28, 35, 40, 0.73);--terra-clinical-item-display-attention-color: #c00;--terra-clinical-item-display-attention-font-weight: 700;--terra-clinical-item-display-strong-color: #1c1f21;--terra-clinical-item-display-strong-font-weight: 700;--terra-clinical-item-display-strike-through-color: #1c1f21;--terra-clinical-item-display-disabled-inline-icon-color: #9b9fa1;--terra-clinical-item-display-disabled-inline-icon-opacity: 0.3}.ItemDisplay-module__item-display___SwtBC{font-size:1rem;line-height:1.4285714286;display:-ms-flexbox;display:flex;max-width:100%;overflow:hidden}.ItemDisplay-module__text___FVWmu{-ms-flex:1 1 auto;flex:1 1 auto;min-width:10px}.ItemDisplay-module__icon___i\+07A{-ms-flex:0 0 auto;flex:0 0 auto;overflow:hidden}[dir=ltr] .ItemDisplay-module__icon___i\+07A{padding-right:0.35714rem;padding-right:var(--terra-clinical-item-display-inline-icon-padding-right, 0.35714rem)}[dir=rtl] .ItemDisplay-module__icon___i\+07A{padding-left:0.35714rem;padding-left:var(--terra-clinical-item-display-inline-icon-padding-right, 0.35714rem)}.ItemDisplay-module__icon___i\+07A>*{min-height:1em;min-width:1em}.ItemDisplay-module__icon-center___OrGZa{-ms-flex-align:center;align-items:center}.ItemDisplay-module__icon-top___-eyYd{-ms-flex-align:start;align-items:flex-start}.ItemDisplay-module__icon-inline___fWRZQ{display:inline}.ItemDisplay-module__icon-inline___fWRZQ .ItemDisplay-module__text___FVWmu{display:inline}.ItemDisplay-module__icon-inline___fWRZQ .ItemDisplay-module__icon___i\+07A{display:inline}.ItemDisplay-module__is-truncated___4y5Gf{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal;word-wrap:normal}.ItemDisplay-module__is-disabled___sNXca{opacity:0.2;opacity:var(--terra-clinical-item-display-disabled-opacity, 0.2)}.ItemDisplay-module__is-disabled___sNXca .ItemDisplay-module__icon___i\+07A{color:rgb(117, 118, 125);color:var(--terra-clinical-item-display-disabled-icon-color, rgb(117, 118, 125))}.ItemDisplay-module__secondary___23O-O{color:rgba(28, 31, 33, 0.65);color:var(--terra-clinical-item-display-secondary-color, rgba(28, 31, 33, 0.65))}.ItemDisplay-module__attention___RCytH{color:#c00;color:var(--terra-clinical-item-display-attention-color, #c00);font-weight:700;font-weight:var(--terra-clinical-item-display-attention-font-weight, 700)}.ItemDisplay-module__strong___xPBvv{color:#1c1f21;color:var(--terra-clinical-item-display-strong-color, #1c1f21);font-weight:700;font-weight:var(--terra-clinical-item-display-strong-font-weight, 700)}.ItemDisplay-module__strike-through___KCKYP{color:#1c1f21;color:var(--terra-clinical-item-display-strike-through-color, #1c1f21);text-decoration:line-through} .ExampleTemplate-module__clinical-lowlight-theme___rBbtD{--terra-dev-site-example-template-hover-selected-code-toggle-background-color: #505a5f;--terra-dev-site-example-template-selected-code-toggle-background-color: #3f474b;--terra-dev-site-example-template-hover-code-toggle-background-color: #373d41;--terra-dev-site-example-template-code-toggle-background-color: #2e3539;--terra-dev-site-example-template-selected-code-toggle-color: #ebebeb;--terra-dev-site-example-template-code-background-color: #1d2427;--terra-dev-site-example-template-keyboard-focus-outline: #fff;--terra-dev-site-example-template-code-toggle-color: #b2b5b6;--terra-dev-site-example-template-footer-background-color: #262b2e;--terra-dev-site-example-template-header-background-color: #262b2e;--terra-dev-site-example-template-content-background-color: #1b2326}.ExampleTemplate-module__orion-fusion-theme___GzA23{--terra-dev-site-example-template-hover-selected-code-toggle-background-color: #424141;--terra-dev-site-example-template-selected-code-toggle-background-color: #666565;--terra-dev-site-example-template-hover-code-toggle-background-color: #b8b8b8;--terra-dev-site-example-template-code-toggle-background-color: #ddd;--terra-dev-site-example-template-selected-code-toggle-color: #ebebeb;--terra-dev-site-example-template-code-background-color: #f6f8fa;--terra-dev-site-example-template-keyboard-focus-outline: #000;--terra-dev-site-example-template-code-toggle-color: #000;--terra-dev-site-example-template-footer-background-color: #f4f4f4;--terra-dev-site-example-template-header-background-color: #f4f4f4;--terra-dev-site-example-template-template-content-background-color: #fff}.ExampleTemplate-module__template___a4uPk{overflow:hidden}[dir] .ExampleTemplate-module__template___a4uPk{border:1px solid #e8e8e8;border-radius:3px;margin-bottom:.9375rem}[dir] .ExampleTemplate-module__header___iFXV3{background-color:var(--terra-dev-site-example-template-header-background-color);border-bottom:1px solid #e8e8e8;padding:.625rem}[dir] .ExampleTemplate-module__content___48m4Q{background-color:var(--terra-dev-site-example-template-content-background-color);padding:.625rem}[dir] .ExampleTemplate-module__description___NwBJo{padding-bottom:.625rem}.ExampleTemplate-module__footer___GpSoG{overflow:hidden}[dir] .ExampleTemplate-module__footer___GpSoG{background-color:var(--terra-dev-site-example-template-footer-background-color)}.ExampleTemplate-module__button-container___rAD11{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.ExampleTemplate-module__css___\+jtk1,.ExampleTemplate-module__code___7rC6C{height:100%}[dir] .ExampleTemplate-module__css___\+jtk1, [dir] .ExampleTemplate-module__code___7rC6C{background-color:#f6f8fa;background-color:var(--terra-dev-site-example-template-code-background-color, #f6f8fa)}.ExampleTemplate-module__css-toggle___chHK7,.ExampleTemplate-module__code-toggle___TGlE-{-ms-flex-align:center;align-items:center;color:#000;color:var(--terra-dev-site-example-template-code-toggle-color, #000);display:-ms-flexbox;display:flex;outline:none}[dir] .ExampleTemplate-module__css-toggle___chHK7, [dir] .ExampleTemplate-module__code-toggle___TGlE-{background-color:#ddd;background-color:var(--terra-dev-site-example-template-code-toggle-background-color, #ddd);border:0;cursor:pointer;padding:.625rem}.ExampleTemplate-module__css-toggle___chHK7.ExampleTemplate-module__is-selected___0BYwS,.ExampleTemplate-module__code-toggle___TGlE-.ExampleTemplate-module__is-selected___0BYwS{color:#ebebeb;color:var(--terra-dev-site-example-template-selected-code-toggle-color, #ebebeb)}[dir] .ExampleTemplate-module__css-toggle___chHK7.ExampleTemplate-module__is-selected___0BYwS, [dir] .ExampleTemplate-module__code-toggle___TGlE-.ExampleTemplate-module__is-selected___0BYwS{background-color:#666565;background-color:var(--terra-dev-site-example-template-selected-code-toggle-background-color, #666565)}[dir] .ExampleTemplate-module__css-toggle___chHK7:hover, [dir] .ExampleTemplate-module__code-toggle___TGlE-:hover{background-color:#b8b8b8;background-color:var(--terra-dev-site-example-template-hover-code-toggle-background-color, #b8b8b8)}[dir] .ExampleTemplate-module__css-toggle___chHK7:hover.ExampleTemplate-module__is-selected___0BYwS, [dir] .ExampleTemplate-module__code-toggle___TGlE-:hover.ExampleTemplate-module__is-selected___0BYwS{background-color:#424141;background-color:var(--terra-dev-site-example-template-hover-selected-code-toggle-background-color, #424141)}.ExampleTemplate-module__item___8FTQq[data-focus-styles-enabled=true]:focus{outline:2px dashed #000;outline:2px dashed var(--terra-dev-site-example-template-keyboard-focus-outline, #000);outline-offset:-2px}.ExampleTemplate-module__chevron___VbY7N{display:inline-block;height:.875rem;width:.875rem}.ExampleTemplate-module__title___r\+nbJ{font-size:1rem;font-weight:500}[dir] .ExampleTemplate-module__title___r\+nbJ{margin:0;padding:0}[dir] .ExampleTemplate-module__dynamic-content___k\+1H7{background-color:rgba(0,0,0,0)} .ItemComment-module__clinical-lowlight-theme___CErHr{--terra-clinical-item-display-item-comment-color: rgba(221, 224, 225, 0.41);--terra-clinical-item-display-item-comment-inline-icon-color: rgba(221, 224, 225, 0.41)}.ItemComment-module__orion-fusion-theme___l7dPe{--terra-clinical-item-display-item-comment-color: rgba(28, 35, 40, 0.73);--terra-clinical-item-display-item-comment-inline-icon-color: rgba(28, 35, 40, 0.73)}.ItemComment-module__item-comment___-Fd1-{font-size:1rem;line-height:1.4285714286;color:rgba(28, 31, 33, 0.65);color:var(--terra-clinical-item-display-item-comment-color, rgba(28, 31, 33, 0.65))}.ItemComment-module__item-comment___-Fd1- .ItemComment-module__inline-icon___JnHAP{color:rgba(117, 118, 125, 0.3);color:var(--terra-clinical-item-display-item-comment-inline-icon-color, rgba(117, 118, 125, 0.3))} -.ShowHide-module__clinical-lowlight-theme___NveE5{--terra-show-hide-focus-outline: 1px dashed;--terra-show-hide-focus-outline-offset: 1px}.ShowHide-module__orion-fusion-theme___QJ2qF{--terra-show-hide-focus-outline: 1px dashed;--terra-show-hide-focus-outline-offset: 1px}.ShowHide-module__show-hide___9NHsr{display:-ms-flexbox;display:flex}[dir=ltr] .ShowHide-module__start___Ruf0l{margin-right:auto}[dir=rtl] .ShowHide-module__start___Ruf0l{margin-left:auto}[dir] .ShowHide-module__center___wSid6{margin:auto}[dir=ltr] .ShowHide-module__end___18wGP{margin-left:auto}[dir=rtl] .ShowHide-module__end___18wGP{margin-right:auto}.ShowHide-module__show-hide-content___298i6 .ShowHide-module__text-divider___nUdq8{visibility:hidden}.ShowHide-module__show-hide-content___298i6:focus,.ShowHide-module__show-hide-content___298i6 :focus{outline:1px dashed;outline:var(--terra-show-hide-focus-outline, 1px dashed);outline-offset:1px;outline-offset:var(--terra-show-hide-focus-outline-offset, 1px)} .Toggle-module__toggle___7F95e[aria-hidden=true]{opacity:0;transition:visibility 0s linear .5s,opacity .5s linear;visibility:hidden}.Toggle-module__toggle___7F95e[aria-hidden=false]{opacity:1;visibility:visible}[dir] .Toggle-module__toggle___7F95e[aria-hidden=false]{transition-delay:0s} -._ShowHideButton-module__clinical-lowlight-theme___plKtw{--terra-show-hide-v1-button-color: #007ee0;--terra-show-hide-v1-button-font-size: 1rem;--terra-show-hide-v1-button-line-height: 1.429;--terra-show-hide-v1-button-padding-bottom: 0.21428rem;--terra-show-hide-v1-button-padding-left: 0;--terra-show-hide-v1-button-padding-right: 0;--terra-show-hide-v1-button-padding-top: 0.21428rem;--terra-show-hide-v1-button-text-decoration: none;--terra-show-hide-v1-button-icon-height: 0.7143em;--terra-show-hide-v1-button-icon-width: 0.7143em;--terra-show-hide-v1-button-icon-margin-left: 0.28571em;--terra-show-hide-v1-button-focus-background-color: transparent;--terra-show-hide-v1-button-focus-border-radius: 0.2142rem;--terra-show-hide-v1-button-focus-box-shadow: 0 0 1px 3px #004c76, 0 0 7px 4px #004c76;--terra-show-hide-v1-button-focus-color: #007ee0;--terra-show-hide-v1-button-focus-text-decoration: underline;--terra-show-hide-v1-button-hover-background-color: none;--terra-show-hide-v1-button-hover-color: #003f61;--terra-show-hide-v1-button-hover-text-decoration: underline;--terra-show-hide-v1-button-active-color: #003f61;--terra-show-hide-v1-button-icon-background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%23007ee0%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E");--terra-show-hide-v1-button-focus-icon-background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%23007ee0%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E");--terra-show-hide-v1-button-hover-icon-background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%23003f61%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E")}._ShowHideButton-module__orion-fusion-theme___EJgbn{--terra-show-hide-v1-button-color: #0065a3;--terra-show-hide-v1-button-font-size: 1rem;--terra-show-hide-v1-button-line-height: 1.417;--terra-show-hide-v1-button-padding-bottom: 0;--terra-show-hide-v1-button-padding-left: 0;--terra-show-hide-v1-button-padding-right: 0;--terra-show-hide-v1-button-padding-top: 0;--terra-show-hide-v1-button-text-decoration: none;--terra-show-hide-v1-button-icon-height: 0;--terra-show-hide-v1-button-icon-width: 0;--terra-show-hide-v1-button-icon-margin-left: 0;--terra-show-hide-v1-button-focus-background-color: transparent;--terra-show-hide-v1-button-focus-border-radius: 3px;--terra-show-hide-v1-button-focus-box-shadow: 0 0 0 1px #4cb2e9, 0 0 0 3px rgba(76, 178, 233, 0.25);--terra-show-hide-v1-button-focus-color: #004c76;--terra-show-hide-v1-button-focus-text-decoration: underline;--terra-show-hide-v1-button-hover-background-color: transparent;--terra-show-hide-v1-button-hover-color: #004c76;--terra-show-hide-v1-button-hover-text-decoration: underline;--terra-show-hide-v1-button-active-color: #0065a3;--terra-show-hide-v1-button-icon-background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3C%2Fsvg%3E");--terra-show-hide-v1-button-focus-icon-background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3C%2Fsvg%3E");--terra-show-hide-v1-button-hover-icon-background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3C%2Fsvg%3E")}button._ShowHideButton-module__button___WFAuu{-webkit-appearance:button;appearance:button}._ShowHideButton-module__button___WFAuu{color:#0059a8;color:var(--terra-show-hide-v1-button-color, #0059a8);display:inline-block;font-family:inherit;font-size:1rem;font-size:var(--terra-show-hide-v1-button-font-size, 1rem);line-height:1.429;line-height:var(--terra-show-hide-v1-button-line-height, 1.429);outline:none;-webkit-text-decoration:none;-webkit-text-decoration:var(--terra-show-hide-v1-button-text-decoration, none);text-decoration:none;text-decoration:var(--terra-show-hide-v1-button-text-decoration, none);text-transform:none;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:normal}[dir] ._ShowHideButton-module__button___WFAuu{background-color:rgba(0,0,0,0);border:0;cursor:pointer;padding-bottom:0.21428rem;padding-bottom:var(--terra-show-hide-v1-button-padding-bottom, 0.21428rem);padding-top:0.21428rem;padding-top:var(--terra-show-hide-v1-button-padding-top, 0.21428rem);text-align:center}[dir=ltr] ._ShowHideButton-module__button___WFAuu{padding-left:0;padding-left:var(--terra-show-hide-v1-button-padding-left, 0);padding-right:0;padding-right:var(--terra-show-hide-v1-button-padding-right, 0)}[dir=rtl] ._ShowHideButton-module__button___WFAuu{padding-right:0;padding-right:var(--terra-show-hide-v1-button-padding-left, 0);padding-left:0;padding-left:var(--terra-show-hide-v1-button-padding-right, 0)}[dir] ._ShowHideButton-module__button___WFAuu::-moz-focus-inner{border:0;padding:0}._ShowHideButton-module__button___WFAuu ._ShowHideButton-module__icon___WReqJ{display:inline-block;height:0.7143em;height:var(--terra-show-hide-v1-button-icon-height, 0.7143em);width:0.7143em;width:var(--terra-show-hide-v1-button-icon-width, 0.7143em)}[dir] ._ShowHideButton-module__button___WFAuu ._ShowHideButton-module__icon___WReqJ{background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%230059a8%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E");background-image:var(--terra-show-hide-v1-button-icon-background-image, url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%230059a8%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E"));background-repeat:no-repeat;background-size:cover}[dir=ltr] ._ShowHideButton-module__button___WFAuu ._ShowHideButton-module__icon___WReqJ{margin-left:0.28571em;margin-left:var(--terra-show-hide-v1-button-icon-margin-left, 0.28571em)}[dir=rtl] ._ShowHideButton-module__button___WFAuu ._ShowHideButton-module__icon___WReqJ{margin-right:0.28571em;margin-right:var(--terra-show-hide-v1-button-icon-margin-left, 0.28571em)}._ShowHideButton-module__button___WFAuu._ShowHideButton-module__is-focused___YlKDI{color:#001f67;color:var(--terra-show-hide-v1-button-focus-color, #001f67);-webkit-text-decoration:underline;-webkit-text-decoration:var(--terra-show-hide-v1-button-focus-text-decoration, underline);text-decoration:underline;text-decoration:var(--terra-show-hide-v1-button-focus-text-decoration, underline)}[dir] ._ShowHideButton-module__button___WFAuu._ShowHideButton-module__is-focused___YlKDI{background-color:transparent;background-color:var(--terra-show-hide-v1-button-focus-background-color, transparent);border-radius:0.2142rem;border-radius:var(--terra-show-hide-v1-button-focus-border-radius, 0.2142rem);box-shadow:0 0 0 1px #4cb2e9, 0 0 0 3px rgba(76, 178, 233, 0.25);box-shadow:var(--terra-show-hide-v1-button-focus-box-shadow, 0 0 0 1px #4cb2e9, 0 0 0 3px rgba(76, 178, 233, 0.25))}[dir] ._ShowHideButton-module__button___WFAuu._ShowHideButton-module__is-focused___YlKDI ._ShowHideButton-module__icon___WReqJ{background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%23001f67%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E");background-image:var(--terra-show-hide-v1-button-focus-icon-background-image, url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%23001f67%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E"))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){._ShowHideButton-module__button___WFAuu:hover,._ShowHideButton-module__button___WFAuu._ShowHideButton-module__is-hovered___FJXAe{color:#001f67;color:var(--terra-show-hide-v1-button-hover-color, #001f67);-webkit-text-decoration:underline;-webkit-text-decoration:var(--terra-show-hide-v1-button-hover-text-decoration, underline);text-decoration:underline;text-decoration:var(--terra-show-hide-v1-button-hover-text-decoration, underline)}[dir] ._ShowHideButton-module__button___WFAuu:hover, [dir] ._ShowHideButton-module__button___WFAuu._ShowHideButton-module__is-hovered___FJXAe{background-color:var(--terra-show-hide-v1-button-hover-background-color)}[dir] ._ShowHideButton-module__button___WFAuu:hover ._ShowHideButton-module__icon___WReqJ, [dir] ._ShowHideButton-module__button___WFAuu._ShowHideButton-module__is-hovered___FJXAe ._ShowHideButton-module__icon___WReqJ{background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%23001f67%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E");background-image:var(--terra-show-hide-v1-button-hover-icon-background-image, url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpolygon%20fill%3D%22%23001f67%22%20points%3D%2240.8%2C8.6%2024%2C25%207.2%2C8.6%200%2C15.9%2024%2C39.4%2048%2C15.9%20%22%2F%3E%3C%2Fsvg%3E"))}}._ShowHideButton-module__button___WFAuu:active{color:#001f67;color:var(--terra-show-hide-v1-button-active-color, #001f67)}[dir=ltr] ._ShowHideButton-module__button___WFAuu[aria-expanded=true] ._ShowHideButton-module__icon___WReqJ{transform:rotate(180deg)}[dir=rtl] ._ShowHideButton-module__button___WFAuu[aria-expanded=true] ._ShowHideButton-module__icon___WReqJ{transform:rotate(-180deg)}._ShowHideButton-module__inner___riPkg{display:-ms-flexbox;display:flex}._ShowHideButton-module__text___7HE7P{-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}._ShowHideButton-module__icon-holder___XItSy{-ms-flex-item-align:center;align-self:center;-ms-flex:0 0 auto;flex:0 0 auto} -.SlidePanel-module__clinical-lowlight-theme___z5Dzy{--terra-slide-panel-panel-background-color: #222a2e;--terra-slide-panel-main-background-color: #222a2e;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 5px #181b1d;--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 5px #181b1d;--terra-slide-panel-main-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-border-right-color: #181b1d;--terra-slide-panel-panel-squish-border-left-color: #181b1d;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6}.SlidePanel-module__orion-fusion-theme___hejSR{--terra-slide-panel-main-background-color: #fff;--terra-slide-panel-panel-background-color: #fff;--terra-slide-panel-main-squish-background-color: #fff;--terra-slide-panel-panel-squish-background-color: #fff;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6;--terra-slide-panel-panel-squish-border-right-color: #d3d4d5;--terra-slide-panel-panel-squish-border-left-color: #d3d4d5}.SlidePanel-module__slide-panel___tbu3J{overflow:hidden;position:relative}.SlidePanel-module__main___CjYDC,.SlidePanel-module__panel___G1bnA{box-sizing:border-box;height:100%;outline:none;-webkit-overflow-scrolling:touch;overflow-y:auto;width:100%}.SlidePanel-module__main___CjYDC{position:relative;z-index:0}[dir] .SlidePanel-module__main___CjYDC{background-color:#fff;background-color:var(--terra-slide-panel-main-background-color, #fff)}.SlidePanel-module__panel___G1bnA{position:absolute;z-index:500}[dir] .SlidePanel-module__panel___G1bnA{background-color:#fff;background-color:var(--terra-slide-panel-panel-background-color, #fff)}.SlidePanel-module__slide-panel___tbu3J .SlidePanel-module__slide-panel___tbu3J>.SlidePanel-module__panel___G1bnA{z-index:499}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___CjYDC{float:right}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___CjYDC{float:left}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___G1bnA{transform:translate3d(-100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___G1bnA{transform:translate3d(100%, 0, 0)}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___CjYDC{float:left}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___CjYDC{float:right}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___G1bnA{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___G1bnA{left:0;transform:translate3d(-100%, 0, 0)}[dir] .SlidePanel-module__is-open___pYOkq>.SlidePanel-module__panel___G1bnA{transform:translate3d(0, 0, 0)}@media all and (min-width: 768px){[data-slide-panel-panel-size=small]>.SlidePanel-module__panel___G1bnA{width:320px;width:var(--terra-slide-panel-panel-small-width, 320px)}[data-slide-panel-panel-size=large]>.SlidePanel-module__panel___G1bnA{width:calc(100%*0.6);width:calc(100%*var(--terra-slide-panel-panel-width-large-scalar, 0.6))}}@media(max-width: 767px),print{.SlidePanel-module__is-open___pYOkq>.SlidePanel-module__main___CjYDC{visibility:hidden}}@media(min-width: 768px),print{[dir=ltr] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___G1bnA{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___G1bnA{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=ltr] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___G1bnA{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___G1bnA{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}}@media(min-width: 768px),print{[dir] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__main___CjYDC{background-color:#fff;background-color:var(--terra-slide-panel-main-squish-background-color, #fff)}.SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=small]>.SlidePanel-module__main___CjYDC{width:calc(100% - 320px);width:calc(100% - var(--terra-slide-panel-panel-squish-width-small, 320px))}.SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=large]>.SlidePanel-module__main___CjYDC{width:calc(100%*(1 - 0.6));width:calc(100%*(1 - var(--terra-slide-panel-panel-squish-width-large-scalar, 0.6)))}[dir] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__panel___G1bnA{background-color:#fff;background-color:var(--terra-slide-panel-panel-squish-background-color, #fff)}[dir=ltr] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___G1bnA{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___G1bnA{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=ltr] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___G1bnA{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___pYOkq[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___G1bnA{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}}.SlidePanel-module__is-fullscreen___vCbZa[data-slide-panel-panel-size]>.SlidePanel-module__panel___G1bnA{width:100%}.SlidePanel-module__fill___9PGCQ{height:100%;width:100%}.SlidePanel-module__panel___G1bnA[aria-hidden=true]{visibility:hidden}.SlidePanel-module__main___CjYDC[aria-hidden=true]{visibility:hidden} +.ToggleButton-module__toggle-button___eo1aB{display:block}.ToggleButton-module__icon___mFdVK{display:inline-block;line-height:1}[dir] .ToggleButton-module__icon___mFdVK{transform:rotate(0deg)}.ToggleButton-module__icon___mFdVK svg{font-size:.8em;position:relative;top:-0.14em}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ToggleButton-module__icon___mFdVK svg{top:-0.07em}}[dir=ltr] .ToggleButton-module__is-open___W1RlO .ToggleButton-module__icon___mFdVK{transform:rotate(90deg)}[dir=rtl] .ToggleButton-module__is-open___W1RlO .ToggleButton-module__icon___mFdVK{transform:rotate(-90deg)}.ToggleButton-module__is-icon-animated___4e24X .ToggleButton-module__icon___mFdVK{transition:transform .15s ease-in}.ToggleButton-module__is-open___W1RlO.ToggleButton-module__is-icon-animated___4e24X .ToggleButton-module__icon___mFdVK{transition:transform .15s ease-in}[dir=ltr] .ToggleButton-module__button-text___\+N0CK{padding-left:.3rem}[dir=rtl] .ToggleButton-module__button-text___\+N0CK{padding-right:.3rem} diff --git a/pull/916/3136-24d0b89f39fd65ecc8c5.js b/pull/916/3136-24d0b89f39fd65ecc8c5.js new file mode 100644 index 000000000..67caeda36 --- /dev/null +++ b/pull/916/3136-24d0b89f39fd65ecc8c5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[3136],{42203:function(e,t,n){n.r(t),n.d(t,{default:function(){return fe}});var r=n(67294),a=n(81254),l=n(79898),o=n(34261),i=n(78530),d=["components"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var m={},c="wrapper";function p(e){var t=e.components,n=s(e,d);return(0,a.mdx)(c,u({},m,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(i.ZP,{mdxType:"PropsTable"},(0,a.mdx)(i.X2,{key:"ROW1",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"text"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"''\n"))),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The text to be displayed for the comment."))),(0,a.mdx)(i.X2,{key:"ROW2",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"textStyle"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},'enum: [\n "attention"\n "primary"\n "secondary"\n "strikeThrough"\n "strong"\n],\n'))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"'primary'\n"))),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The visual style to be applied to the display element.\nOne of ",(0,a.mdx)("inlineCode",{parentName:"p"},"'primary'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'secondary'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'strong'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'attention'"),", or ",(0,a.mdx)("inlineCode",{parentName:"p"},"'strikeThrough'"),"."))),(0,a.mdx)(i.X2,{key:"ROW3",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"isTruncated"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"Whether or not the text should be truncated. Note: To ensure keyboard accessibility, if this prop\nis used, consumers will need to provide a method to disclose the rest of the text so that it is\naccessible to keyboard users."))),(0,a.mdx)(i.X2,{key:"ROW4",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"isDisabled"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"(Deprecated) Whether or not the display is disabled."))),(0,a.mdx)(i.X2,{key:"ROW5",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"icon"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"element\n"))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"undefined\n"))),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The icon react element to be displayed next to the display text."))),(0,a.mdx)(i.X2,{key:"ROW6",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"iconAlignment"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'center'\n 'top'\n 'inline'\n],\n"))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"'center'\n"))),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The position of the icon to be displayed next to the text,\nnoticeable when the text display wraps multiple line.\nOne of ",(0,a.mdx)("inlineCode",{parentName:"p"},"'center'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'top'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'inline'"),"."))),(0,a.mdx)(i.X2,{key:"ROW7",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"textStyleMeaning"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("p",null,"none")),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,(0,a.mdx)("img",{parentName:"p",src:"https://badgen.net/badge/UX/Accessibility/blue",alt:"IMPORTANT"}),"\nThe meaning of the text styling, for use by screen readers.\nChanging ",(0,a.mdx)("inlineCode",{parentName:"p"},"textStyleMeaning"),' will not visually change the style of the content.\nDefaults to "deletion" for ',(0,a.mdx)("inlineCode",{parentName:"p"},"textStyle")," of ",(0,a.mdx)("inlineCode",{parentName:"p"},"'strikeThrough'"),".")))))}p.isMDXComponent=!0;var f=["components"];function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var g={},b="wrapper";function h(e){var t=e.components,n=y(e,f);return(0,a.mdx)(b,x({},g,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(i.ZP,{mdxType:"PropsTable"},(0,a.mdx)(i.X2,{key:"ROW1",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"text"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"''\n"))),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The text to be displayed for the comment."))),(0,a.mdx)(i.X2,{key:"ROW2",mdxType:"Row"},(0,a.mdx)(i.O,{mdxType:"PropNameCell"},"isTruncated"),(0,a.mdx)(i.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,a.mdx)(i.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(i.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,a.mdx)(i.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"Whether or not the text should be truncated in display. Note: To ensure keyboard accessibility,\nif this prop is used, consumers will need to provide a method to disclose the rest of the text\nso that it is accessible to keyboard users.")))))}h.isMDXComponent=!0;var v=n(15380),T=["components"];function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var D={};function E(e){var t=e.components,n=S(e,T);return(0,a.mdx)("wrapper",O({},D,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport ItemDisplay from \'terra-clinical-item-display\';\n\nconst component = () => (\n \n \n \n \n \n \n \n);\n\nexport default component;\n\n')))}E.isMDXComponent=!0;var N=n(49271),C=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(N.Z,{title:t||"Text Styles",description:n,example:r.createElement(v.Z,null),exampleSrc:r.createElement(E,null),isExpanded:a})};n(9295);var I=n(47945),j=["components"];function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var P={};function M(e){var t=e.components,n=w(e,j);return(0,a.mdx)("wrapper",_({},P,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport IconGlasses from 'terra-icon/lib/icon/IconGlasses';\nimport ItemDisplay from 'terra-clinical-item-display';\n\nconst component = () => (} />);\n\nexport default component;\n\n")))}M.isMDXComponent=!0;var R=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(N.Z,{title:t||"Icon",description:n,example:r.createElement(I.Z,null),exampleSrc:r.createElement(M,null),isExpanded:a})},k=n(94458),A=["components"];function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Z={};function W(e){var t=e.components,n=X(e,A);return(0,a.mdx)("wrapper",q({},Z,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport IconGlasses from 'terra-icon/lib/icon/IconGlasses';\nimport ItemDisplay from 'terra-clinical-item-display';\n\nconst sampleText = 'Mr. James is currently receiving outpatient treatment. He has been diagnosed with an Axis I diagnosis of Psychosis NOS, ruled out Schizoaffective Disorder and Post Traumatic Stress Disorder, and is being treated with Haldol 5mg and Cogentin 1mg. ';\n\nconst component = () => (\n \n } />\n
\n } iconAlignment=\"top\" />\n
\n } iconAlignment=\"inline\" />\n
\n
\n);\n\nexport default component;\n\n")))}W.isMDXComponent=!0;var H=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(N.Z,{title:t||"Icon Text",description:n,example:r.createElement(k.Z,null),exampleSrc:r.createElement(W,null),isExpanded:a})},B=n(88022),G=["components"];function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var U={};function V(e){var t=e.components,n=L(e,G);return(0,a.mdx)("wrapper",F({},U,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport ItemComment from 'terra-clinical-item-display/lib/ItemComment';\n\nconst component = () => (\n \n \n \n);\n\nexport default component;\n\n")))}V.isMDXComponent=!0;var z=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(N.Z,{title:t||"Default Comment",description:n,example:r.createElement(B.Z,null),exampleSrc:r.createElement(V,null),isExpanded:a})},J=n(27156),K=["components"];function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Q={};function ee(e){var t=e.components,n=$(e,K);return(0,a.mdx)("wrapper",Y({},Q,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport ItemDisplay from \'terra-clinical-item-display\';\n\nconst component = () => (\n \n \n

Screen reader reads: “Important”, “Attention”, “Important End”

\n
\n \n

Screen reader reads: “Deletion”, “Strike-through (Default)”, “Deletion End”

\n
\n \n

Screen reader reads: “Update”, “Strike-through”, “Update End”

\n
\n);\n\nexport default component;\n\n')))}ee.isMDXComponent=!0;var te=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(N.Z,{title:t||"Text Style Meaning",description:n,example:r.createElement(J.Z,null),exampleSrc:r.createElement(ee,null),isExpanded:a})},ne=n(75258),re=["components"];function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var oe={};function ie(e){var t=e.components,n=le(e,re);return(0,a.mdx)("wrapper",ae({},oe,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React, { useState, useRef, useContext } from 'react';\nimport ItemDisplay from 'terra-clinical-item-display';\nimport List, { Item } from 'terra-list';\nimport Popup from 'terra-popup';\nimport Button from 'terra-button';\nimport ModalManager from 'terra-modal-manager';\nimport ToggleButton from 'terra-toggle-button';\nimport { DisclosureManagerContext, DisclosureManagerHeaderAdapter } from 'terra-disclosure-manager';\n\nconst fullText = 'Mr. James is currently receiving outpatient treatment. He has been diagnosed with an Axis I diagnosis of Psychosis NOS, ruled out Schizoaffective Disorder and Post Traumatic Stress Disorder, and is being treated with Haldol 5mg and Cogentin 1mg. His treatment may have potential side effects such as dizziness and headaches. His symptoms have been manageable, if any side effects or concerns come up, consult with the doctor immediately.';\n\nconst TruncatedText = () => {\n const [popupOpen, setPopupOpen] = useState(false);\n const popupRef = useRef(null);\n\n const setButtonNode = (node) => {\n popupRef.current = node;\n };\n\n const handleButtonClick = () => {\n if (!popupOpen) {\n document.querySelector('#root').setAttribute('inert', 'true');\n }\n setPopupOpen(true);\n };\n\n const handleRequestClose = () => {\n setPopupOpen(false);\n document.querySelector('#root').removeAttribute('inert');\n popupRef.current.focus();\n };\n\n const FullTextModalContent = () => {\n const disclosureManager = useContext(DisclosureManagerContext);\n\n const disclose = () => {\n disclosureManager.disclose({\n preferredType: 'modal',\n size: 'tiny',\n content: {\n key: 'text-key',\n component: (\n <>\n \n \n \n ),\n },\n });\n };\n\n return (\n \n {this.state.submittedData && (\n
\n
\n

Form was submitted with

\n

{JSON.stringify(this.state.submittedData, null, 2)}

\n
\n )}\n \n );\n }\n}\n\nexport default HandledOnsetExample;\n\n")))}g.isMDXComponent=!0;var v=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(u.Z,{title:t||"Handled Onset",description:n,example:a.createElement(f.Z,null),exampleSrc:a.createElement(g,null),isExpanded:r})},O=n(19253),T=["components"];function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var D={};function _(e){var t=e.components,n=C(e,T);return(0,r.mdx)("wrapper",N({},D,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport moment from 'moment';\nimport OnsetPicker from 'terra-clinical-onset-picker';\n\nconst OnsetWithHiddenLegend = () => (\n \n);\n\nexport default OnsetWithHiddenLegend;\n\n")))}_.isMDXComponent=!0;var E=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(u.Z,{title:t||"Onset With Hidden Legend",description:n,example:a.createElement(O.Z,null),exampleSrc:a.createElement(_,null),isExpanded:r})},w=n(78530),j=["components"];function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var P={},R="wrapper";function Y(e){var t=e.components,n=k(e,j);return(0,r.mdx)(R,S({},P,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(w.ZP,{mdxType:"PropsTable"},(0,r.mdx)(w.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"ageUnit"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'weeks'\n 'months'\n 'years'\n],\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The date unit of the age value. One of ",(0,r.mdx)("inlineCode",{parentName:"p"},"weeks"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"months"),", or ",(0,r.mdx)("inlineCode",{parentName:"p"},"years"),"."))),(0,r.mdx)(w.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"birthdate"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(w.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The ISO 8601 ",(0,r.mdx)("strong",{parentName:"p"},"DATE ONLY")," string representation of the birth date to calculate an onset date for the ",(0,r.mdx)("inlineCode",{parentName:"p"},"age")," precision.\nAlso limits the earliest possible date that can be selected for an onset date for ",(0,r.mdx)("inlineCode",{parentName:"p"},"year"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"month"),", and ",(0,r.mdx)("inlineCode",{parentName:"p"},"date")," precision."))),(0,r.mdx)(w.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"granularity"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'age'\n 'year'\n 'month'\n 'date'\n],\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The granularity of the onset date. One of ",(0,r.mdx)("inlineCode",{parentName:"p"},"age"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"year"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"month"),", or ",(0,r.mdx)("inlineCode",{parentName:"p"},"date")," is accepted."))),(0,r.mdx)(w.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"id"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(w.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The id of the onset picker. Used as the base for other required id/name in sub-components."))),(0,r.mdx)(w.X2,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"precision"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'on/at'\n 'about'\n 'before'\n 'after'\n 'unknown'\n],\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The precision of the onset date. This should be one of precisions passed to the precisionSet prop.\nOne of ",(0,r.mdx)("inlineCode",{parentName:"p"},"on/at"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"about"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"before"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"after"),", or ",(0,r.mdx)("inlineCode",{parentName:"p"},"unknown"),"."))),(0,r.mdx)(w.X2,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"precisionSet"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"arrayOf: [{\n enum: [\n 'on/at'\n 'about'\n 'before'\n 'after'\n 'unknown'\n ],\n}],\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"['on/at', 'about', 'before', 'after', 'unknown']\n"))),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The set of precisions that can be used with the onset picker.\nCombination of ",(0,r.mdx)("inlineCode",{parentName:"p"},"on/at"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"about"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"before"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"after"),", and ",(0,r.mdx)("inlineCode",{parentName:"p"},"unknown"),".\nOrder of precisions determines order in precision select."))),(0,r.mdx)(w.X2,{key:"ROW7",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"onsetDate"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The ISO 8601 ",(0,r.mdx)("strong",{parentName:"p"},"DATE ONLY")," string representation of the onset date to view/modify."))),(0,r.mdx)(w.X2,{key:"ROW8",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"onsetOnChange"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"A callback function to execute when any value of the onsetDate is changed.\nThe first parameter is a Object that contains ",(0,r.mdx)("inlineCode",{parentName:"p"},"precision"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"granularity"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"onsetDate"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"onsetDateMetadata"),", and ",(0,r.mdx)("inlineCode",{parentName:"p"},"ageUnit"),".\n",(0,r.mdx)("inlineCode",{parentName:"p"},"ageUnit")," is only present if the granularity is 'age'.\n",(0,r.mdx)("inlineCode",{parentName:"p"},"onsetDateMetadata")," contains additional properties about the state of the onset date."))),(0,r.mdx)(w.X2,{key:"ROW9",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"legend"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Legend for the Onset Picker field group."))),(0,r.mdx)(w.X2,{key:"ROW10",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"isLegendHidden"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Whether or not the legend is visible. Use this props to hide a legend while still creating it on the DOM for accessibility.")))))}Y.isMDXComponent=!0;var M=["components"];function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var X={},L="wrapper";function U(e){var t=e.components,n=q(e,M);return(0,r.mdx)(L,W({},X,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(l.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-clinical-onset-picker"},"Terra Clinical Onset Picker"),(0,r.mdx)("p",null,"The terra-clinical-onset-picker component provides users a way to enter or select an approximate date for use in onset scenarios. The onset date is limited to occurring after the birth date supplied. For ",(0,r.mdx)("inlineCode",{parentName:"p"},"AGE")," granularity, the age input has a maximum of ",(0,r.mdx)("inlineCode",{parentName:"p"},"8")," for ",(0,r.mdx)("inlineCode",{parentName:"p"},"Week(s)")," unit, and ",(0,r.mdx)("inlineCode",{parentName:"p"},"24")," for ",(0,r.mdx)("inlineCode",{parentName:"p"},"Month(s)")," unit. The user is expected to use ",(0,r.mdx)("inlineCode",{parentName:"p"},"Month(s)")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"Year(s)")," respectively for larger values."),(0,r.mdx)("p",null,(0,r.mdx)("img",{parentName:"p",src:"https://badgen.net/badge/UX/Accessibility/blue",alt:"IMPORTANT"})," All inputs must have a visible label that communicates the purpose of the field face up. Ensuring this label is always visible will ensure all users, especially those using assistive technologies, can understand the purpose of the input and interact with the field."),(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-clinical-onset-picker"))))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import OnsetPicker from 'terra-clinical-onset-picker';\n")),(0,r.mdx)("h2",{id:"component-features"},"Component Features"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#internationalization-i18n"},"Internationalization Support"),"**"),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#ltr--rtl"},"LTR/RTL Support"))),(0,r.mdx)("p",null,"** This component does not support Arabic translations"),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(c,{title:"Default with initialization",mdxType:"DefaultOnset"}),(0,r.mdx)(v,{title:"Onset picker with supplied data and handlers",mdxType:"HandledOnset"}),(0,r.mdx)(E,{title:"Onset picker with Hidden legend",mdxType:"OnsetWithHiddenLegend"}),(0,r.mdx)("h2",{id:"onset-picker-props"},"Onset Picker Props"),(0,r.mdx)(Y,{mdxType:"OnsetPickerPropsTable"}))}U.isMDXComponent=!0},61812:function(e,t,n){n.d(t,{C:function(){return l}});var a=n(67294),r=n(22863),l=function(e){var t=e.url;return a.createElement(r.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-onset-picker",name:"terra-clinical-onset-picker",version:"4.35.0",url:t})}},42898:function(e,t,n){t.Z=void 0;var a=i(n(67294)),r=i(n(30381)),l=i(n(67333));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)().subtract(6,"years"),d=function(){return a.default.createElement("div",null,a.default.createElement("p",null,"Birthdate: ".concat(o.format("MM-DD-YYYY"))),a.default.createElement(l.default,{legend:"Onset of symptoms",birthdate:o.format("YYYY-MM-DD"),id:"doogs"}))};t.Z=d},25311:function(e,t,n){function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}t.Z=void 0;var r=o(n(67294)),l=o(n(30381)),i=o(n(67333));function o(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var p={};function s(e){var t=e.components,n=m(e,o);return(0,r.mdx)("wrapper",d({},p,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport moment from 'moment';\nimport OnsetPicker from 'terra-clinical-onset-picker';\n\nconst birthdate = moment().subtract(6, 'years');\nconst picker = () => (\n
\n

{`Birthdate: ${birthdate.format('MM-DD-YYYY')}`}

\n \n
\n);\n\nexport default picker;\n\n")))}s.isMDXComponent=!0;var u=n(49271),c=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(u.Z,{title:t||"Default Onset",description:n,example:a.createElement(i.Z,null),exampleSrc:a.createElement(s,null),isExpanded:r})},f=n(25311),x=["components"];function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var b={};function g(e){var t=e.components,n=h(e,x);return(0,r.mdx)("wrapper",y({},b,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport moment from 'moment';\nimport OnsetPicker from 'terra-clinical-onset-picker';\n\nclass HandledOnsetExample extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n precision: 'before',\n granularity: 'year',\n onsetDate: moment().subtract(2, 'years').format('YYYY-MM-DD'),\n };\n\n this.handleOnset = this.handleOnset.bind(this);\n this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n handleOnset(onsetObject) {\n this.setState({\n precision: onsetObject.precision,\n granularity: onsetObject.granularity,\n onsetDate: onsetObject.onsetDate,\n ageUnit: onsetObject.ageUnit,\n });\n }\n\n handleSubmit(e) {\n e.preventDefault();\n\n this.setState(prevState => ({\n submittedData: {\n precision: prevState.precision,\n granularity: prevState.granularity,\n onsetDate: prevState.onsetDate,\n ageUnit: prevState.ageUnit,\n },\n }));\n }\n\n render() {\n const birthdate = moment().subtract(6, 'years');\n return (\n
\n

{`Birthdate: ${birthdate.format('MM-DD-YYYY')}`}

\n \n \n {this.state.submittedData && (\n
\n
\n

Form was submitted with

\n

{JSON.stringify(this.state.submittedData, null, 2)}

\n
\n )}\n \n );\n }\n}\n\nexport default HandledOnsetExample;\n\n")))}g.isMDXComponent=!0;var v=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(u.Z,{title:t||"Handled Onset",description:n,example:a.createElement(f.Z,null),exampleSrc:a.createElement(g,null),isExpanded:r})},O=n(19253),T=["components"];function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var D={};function _(e){var t=e.components,n=C(e,T);return(0,r.mdx)("wrapper",N({},D,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport moment from 'moment';\nimport OnsetPicker from 'terra-clinical-onset-picker';\n\nconst OnsetWithHiddenLegend = () => (\n \n);\n\nexport default OnsetWithHiddenLegend;\n\n")))}_.isMDXComponent=!0;var E=function(e){var t=e.title,n=e.description,r=e.isExpanded;return a.createElement(u.Z,{title:t||"Onset With Hidden Legend",description:n,example:a.createElement(O.Z,null),exampleSrc:a.createElement(_,null),isExpanded:r})},w=n(78530),j=["components"];function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var P={},R="wrapper";function Y(e){var t=e.components,n=k(e,j);return(0,r.mdx)(R,S({},P,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(w.ZP,{mdxType:"PropsTable"},(0,r.mdx)(w.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"ageUnit"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'weeks'\n 'months'\n 'years'\n],\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The date unit of the age value. One of ",(0,r.mdx)("inlineCode",{parentName:"p"},"weeks"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"months"),", or ",(0,r.mdx)("inlineCode",{parentName:"p"},"years"),"."))),(0,r.mdx)(w.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"birthdate"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(w.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The ISO 8601 ",(0,r.mdx)("strong",{parentName:"p"},"DATE ONLY")," string representation of the birth date to calculate an onset date for the ",(0,r.mdx)("inlineCode",{parentName:"p"},"age")," precision.\nAlso limits the earliest possible date that can be selected for an onset date for ",(0,r.mdx)("inlineCode",{parentName:"p"},"year"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"month"),", and ",(0,r.mdx)("inlineCode",{parentName:"p"},"date")," precision."))),(0,r.mdx)(w.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"granularity"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'age'\n 'year'\n 'month'\n 'date'\n],\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The granularity of the onset date. One of ",(0,r.mdx)("inlineCode",{parentName:"p"},"age"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"year"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"month"),", or ",(0,r.mdx)("inlineCode",{parentName:"p"},"date")," is accepted."))),(0,r.mdx)(w.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"id"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(w.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The id of the onset picker. Used as the base for other required id/name in sub-components."))),(0,r.mdx)(w.X2,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"precision"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'on/at'\n 'about'\n 'before'\n 'after'\n 'unknown'\n],\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The precision of the onset date. This should be one of precisions passed to the precisionSet prop.\nOne of ",(0,r.mdx)("inlineCode",{parentName:"p"},"on/at"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"about"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"before"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"after"),", or ",(0,r.mdx)("inlineCode",{parentName:"p"},"unknown"),"."))),(0,r.mdx)(w.X2,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"precisionSet"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"arrayOf: [{\n enum: [\n 'on/at'\n 'about'\n 'before'\n 'after'\n 'unknown'\n ],\n}],\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"['on/at', 'about', 'before', 'after', 'unknown']\n"))),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The set of precisions that can be used with the onset picker.\nCombination of ",(0,r.mdx)("inlineCode",{parentName:"p"},"on/at"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"about"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"before"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"after"),", and ",(0,r.mdx)("inlineCode",{parentName:"p"},"unknown"),".\nOrder of precisions determines order in precision select."))),(0,r.mdx)(w.X2,{key:"ROW7",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"onsetDate"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The ISO 8601 ",(0,r.mdx)("strong",{parentName:"p"},"DATE ONLY")," string representation of the onset date to view/modify."))),(0,r.mdx)(w.X2,{key:"ROW8",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"onsetOnChange"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"A callback function to execute when any value of the onsetDate is changed.\nThe first parameter is a Object that contains ",(0,r.mdx)("inlineCode",{parentName:"p"},"precision"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"granularity"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"onsetDate"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"onsetDateMetadata"),", and ",(0,r.mdx)("inlineCode",{parentName:"p"},"ageUnit"),".\n",(0,r.mdx)("inlineCode",{parentName:"p"},"ageUnit")," is only present if the granularity is 'age'.\n",(0,r.mdx)("inlineCode",{parentName:"p"},"onsetDateMetadata")," contains additional properties about the state of the onset date."))),(0,r.mdx)(w.X2,{key:"ROW9",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"legend"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Legend for the Onset Picker field group."))),(0,r.mdx)(w.X2,{key:"ROW10",mdxType:"Row"},(0,r.mdx)(w.O,{mdxType:"PropNameCell"},"isLegendHidden"),(0,r.mdx)(w.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(w.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(w.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,r.mdx)(w.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Whether or not the legend is visible. Use this props to hide a legend while still creating it on the DOM for accessibility.")))))}Y.isMDXComponent=!0;var M=["components"];function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var X={},L="wrapper";function U(e){var t=e.components,n=q(e,M);return(0,r.mdx)(L,W({},X,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(l.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-clinical-onset-picker"},"Terra Clinical Onset Picker"),(0,r.mdx)("p",null,"The terra-clinical-onset-picker component provides users a way to enter or select an approximate date for use in onset scenarios. The onset date is limited to occurring after the birth date supplied. For ",(0,r.mdx)("inlineCode",{parentName:"p"},"AGE")," granularity, the age input has a maximum of ",(0,r.mdx)("inlineCode",{parentName:"p"},"8")," for ",(0,r.mdx)("inlineCode",{parentName:"p"},"Week(s)")," unit, and ",(0,r.mdx)("inlineCode",{parentName:"p"},"24")," for ",(0,r.mdx)("inlineCode",{parentName:"p"},"Month(s)")," unit. The user is expected to use ",(0,r.mdx)("inlineCode",{parentName:"p"},"Month(s)")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"Year(s)")," respectively for larger values."),(0,r.mdx)("p",null,(0,r.mdx)("img",{parentName:"p",src:"https://badgen.net/badge/UX/Accessibility/blue",alt:"IMPORTANT"})," All inputs must have a visible label that communicates the purpose of the field face up. Ensuring this label is always visible will ensure all users, especially those using assistive technologies, can understand the purpose of the input and interact with the field."),(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-clinical-onset-picker"))))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import OnsetPicker from 'terra-clinical-onset-picker';\n")),(0,r.mdx)("h2",{id:"component-features"},"Component Features"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#internationalization-i18n"},"Internationalization Support"),"**"),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#ltr--rtl"},"LTR/RTL Support"))),(0,r.mdx)("p",null,"** This component does not support Arabic translations"),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(c,{title:"Default with initialization",mdxType:"DefaultOnset"}),(0,r.mdx)(v,{title:"Onset picker with supplied data and handlers",mdxType:"HandledOnset"}),(0,r.mdx)(E,{title:"Onset picker with Hidden legend",mdxType:"OnsetWithHiddenLegend"}),(0,r.mdx)("h2",{id:"onset-picker-props"},"Onset Picker Props"),(0,r.mdx)(Y,{mdxType:"OnsetPickerPropsTable"}))}U.isMDXComponent=!0},61812:function(e,t,n){n.d(t,{C:function(){return l}});var a=n(67294),r=n(22863),l=function(e){var t=e.url;return a.createElement(r.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-onset-picker",name:"terra-clinical-onset-picker",version:"4.36.0",url:t})}},42898:function(e,t,n){t.Z=void 0;var a=i(n(67294)),r=i(n(30381)),l=i(n(67333));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)().subtract(6,"years"),d=function(){return a.default.createElement("div",null,a.default.createElement("p",null,"Birthdate: ".concat(o.format("MM-DD-YYYY"))),a.default.createElement(l.default,{legend:"Onset of symptoms",birthdate:o.format("YYYY-MM-DD"),id:"doogs"}))};t.Z=d},25311:function(e,t,n){function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}t.Z=void 0;var r=o(n(67294)),l=o(n(30381)),i=o(n(67333));function o(e){return e&&e.__esModule?e:{default:e}}function d(e,t){for(var n=0;nt.length)&&(n=t.length);for(var e=0,i=new Array(n);e>>((3&n)<<3)&255;return a}}},90:function(t,n){for(var e=[],i=0;i<256;++i)e[i]=(i+256).toString(16).substr(1);t.exports=function(t,n){var i=n||0,a=e;return[a[t[i++]],a[t[i++]],a[t[i++]],a[t[i++]],"-",a[t[i++]],a[t[i++]],"-",a[t[i++]],a[t[i++]],"-",a[t[i++]],a[t[i++]],"-",a[t[i++]],a[t[i++]],a[t[i++]],a[t[i++]],a[t[i++]],a[t[i++]]].join("")}},91:function(t,n){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},92:function(t,n){t.exports=function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var i,a,r,o,s=[],c=!0,l=!1;try{if(r=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(i=r.call(e)).done)&&(s.push(i.value),s.length!==n);c=!0);}catch(t){l=!0,a=t}finally{try{if(!c&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports},93:function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},94:function(t){t.exports=JSON.parse('{"name":"@cerner/carbon-graphs","main":"lib/Graphs.js","version":"2.23.1","description":"A graphing library built using d3 based on Cerner design standards","repository":{"type":"git","url":"git+https://github.com/cerner/terra-graphs.git","directory":"packages/carbon-graphs"},"keywords":["Cerner","Terra","carbon-graphs","carbon","graphs","UI","d3","d3-module","graphing"],"author":"Cerner Corporation","license":"Apache-2.0","bugs":{"url":"https://github.com/cerner/terra-graphs/issues"},"homepage":"https://github.com/cerner/terra-graphs#readme","files":["dist","lib","README.md"],"prettier":{"arrowParens":"always","bracketSpacing":true,"semi":true,"tabWidth":4,"trailingComma":"none","overrides":[{"files":"package.json","options":{"tabWidth":2,"printWidth":250}}]},"publishConfig":{"access":"public"},"dependencies":{"d3-array":"1","d3-axis":"1","d3-drag":"1","d3-ease":"1","d3-format":"1","d3-geo":"1","d3-hierarchy":"1","d3-interpolate":"1","d3-path":"1","d3-scale":"2","d3-selection":"1","d3-shape":"1","d3-time":"1","d3-time-format":"2","d3-timer":"1","d3-transition":"1.3.0"},"devDependencies":{"@cerner/carbon-site-helpers":"^1.11.3","@cerner/svg-to-carbon":"^1.1.3","express":"^4.17.1","express-rate-limit":"^5.1.3","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-coverage":"^2.0.2","karma-jasmine":"^3.3.1","karma-parallel":"^0.3.1","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","less":"^3.12.2","less-loader":"^7.0.2","puppeteer":"^5.3.1","sinon":"^9.2.0"},"scripts":{"clean:install":"rm -rf ./node_modules && time npm install","compile":"babel --root-mode upward src --out-dir lib --copy-files","lint":"npm run lint:js","lint:js":"eslint --ext .js . --ignore-path ../../.eslintignore","lint:scss":"stylelint src/**/*.scss","precompile":"rm -rf lib","test":"npm run lint && npm run karma","jest":"jest --config ../../jest.config.js","karma":"karma start karma.config.js --single-run --no-auto-watch"}}')},96:function(t,n,e){"use strict";e.r(n);var i=e(4),a=e.n(i),r=e(31),o=e.n(r),s=e(2),c=e.n(s),l=e(0),u=e.n(l),d=e(1),f=e.n(d),h="Generate function not implemented from Construct.",g="LoadContent function not implemented from Construct.",p="UnloadContent function not implemented from Construct.",y="Resize function not implemented from Construct.",m="Destroy function not implemented from Construct.",v="Shape Path property cannot be empty.",x="Shape Options property cannot be empty.",b="Invalid Shape Options property attributes (x, y, scale).",E="Invalid input provided.",T="Invalid input format, graph DOM id must be provided.",_="Graph axes data needs to be loaded.",A="Graph data needs to be loaded.",w="Invalid input format, data points must be provided.",k="Invalid input format, label and key must be unique.",I="Invalid input format, unique key must be provided.",S="Invalid input format, unique label must be provided.",D="Content data needs to be loaded.",L="Invalid input format, axis must be provided.",C="Invalid input format, axis limits must be provided.",N="Invalid input format, axis labels for all axes must be provided.",M="Invalid input format, type must be valid.",R="Axis type invalid, bounds need to be in ISO8601 datetime format.",O="Type cannot be default, if data-points are in date time format.",P="Invalid object provided as argument.",G="Load function has not been implemented for this graph type.",F="Unload function has not been implemented for this graph type.",U="Resize function has not been implemented for this graph type.",H="Redraw function has not been implemented for this graph type.",B="GetInput not been implemented for BaseConfig.",V="SetInput not been implemented for BaseConfig.",Y="Input validation has not been implemented.",X="Clone input function has not been implemented.",z="Invalid input provided. Content cannot be loaded at index less than zero.",j="Invalid data provided, data cannot consists of values like null/undefined",K="Region in data object cannot be empty.",W="Region axis provided is invalid.",q="Region 'start' and 'end' value has invalid type.",J="Region cannot have both 'start' and 'end' empty.",Z="Region 'start' cannot be larger than 'end'.",$="Invalid input format; unique key must be provided for each task.",Q="Invalid input format; both start date and end date cannot be empty.",tt="Invalid input format; start date or end date cannot be empty for a task. No duration function provided.",nt="Input type invalid, start date and end date needs to be in ISO8601 datetime format.",et="Input input format; start date cannot be larger than end date.",it="Invalid property: duration; Duration needs to be a function.",at="Invalid property: duration; Duration needs to return a number.",rt="Invalid input format; unique key must be provided for each task.",ot="Invalid input format; both start date and end date cannot be empty.",st="Invalid input format; start date or end date cannot be empty for a task. No duration function provided.",ct="Input type invalid, start date and end date needs to be in ISO8601 datetime format.",lt="Input input format; start date cannot be larger than end date.",ut="Invalid property: duration; Duration needs to be a function.",dt="Invalid property: duration; Duration needs to return a number.",ft="Invalid property, a valid unique action key must be provided matching the legend key.",ht="Invalid property, a valid dateline object must be provided.",gt="Invalid property, a valid dateline value must be provided.",pt="Invalid property, dateline value type must be in ISO8601 datetime format.",yt="Invalid property, a valid dateline color value must be provided.",mt="Invalid property, a valid dateline shape value must be provided.",vt="Invalid property, a valid eventline object must be provided.",xt="Invalid property, a valid eventline value must be provided.",bt="Invalid property, eventline value type must be in ISO8601 datetime format.",Et="Invalid property, a valid eventline color value must be provided.",Tt="Invalid X Axis, tick values are required for Bar graph content.",_t="Invalid X Axis, tick values cannot be empty.",At="Region for Bar graph content cannot have 'x' value empty.",wt="Invalid X Axis, tick values are required for Bar region.",kt="Region x type for bar graph cannot be default, if data-points are in date time format.",It="Invalid X Axis Info Row, tick info values are required.",St="Invalid X Axis Info Row, tick info values should match with X Axis tick values.",Dt="Invalid X Axis Info Row input format, value property must be provided.",Lt="Invalid X Axis Info Row input format, display must be provided for label property.",Ct="Invalid property, a valid label object with a valid string must be provided.",Nt="Invalid property, a valid label.format callback function property must be provided.",Mt=function(){function t(){}var n=t.prototype;return n.getConfig=function(){throw new Error(B)},n.setInput=function(t){throw new Error(V)},n.validateInput=function(){throw new Error(Y)},n.clone=function(){throw new Error(X)},t}(),Rt=e(18),Ot=e.n(Rt),Pt=function(t,n){return tn?1:t>=n?0:NaN},Gt=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return Pt(n(t),e)}),{left:function(n,e,i,a){for(null==i&&(i=0),null==a&&(a=n.length);i>>1;t(n[r],e)<0?i=r+1:a=r}return i},right:function(n,e,i,a){for(null==i&&(i=0),null==a&&(a=n.length);i>>1;t(n[r],e)>0?a=r:i=r+1}return i}}},Ft=Gt(Pt),Ut=Ft.right,Ht=(Ft.left,Ut),Bt=function(t){return null===t?NaN:+t},Vt=function(t,n){var e,i,a,r=t.length,o=-1;if(null==n){for(;++o=e)for(i=a=e;++oe&&(i=e),a=e)for(i=a=e;++oe&&(i=e),a0)return[t];if((i=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),r=new Array(a=Math.ceil(n-t+1));++s=0?(r>=zt?10:r>=jt?5:r>=Kt?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(r>=zt?10:r>=jt?5:r>=Kt?2:1)}function Jt(t,n,e){var i=Math.abs(n-t)/Math.max(0,e),a=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),r=i/a;return r>=zt?a*=10:r>=jt?a*=5:r>=Kt&&(a*=2),n=1)return+e(t[i-1],i-1,t);var i,a=(i-1)*n,r=Math.floor(a),o=+e(t[r],r,t);return o+(+e(t[r+1],r+1,t)-o)*(a-r)}},$t=function(t,n){var e,i,a=t.length,r=-1;if(null==n){for(;++r=e)for(i=e;++ri&&(i=e)}else for(;++r=e)for(i=e;++ri&&(i=e);return i},Qt=function(t,n){var e,i,a=t.length,r=-1;if(null==n){for(;++r=e)for(i=e;++re&&(i=e)}else for(;++r=e)for(i=e;++re&&(i=e);return i},tn=Array.prototype.slice,nn=function(t){return t};function en(t){return"translate("+(t+.5)+",0)"}function an(t){return"translate(0,"+(t+.5)+")"}function rn(t){return function(n){return+t(n)}}function on(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}function sn(){return!this.__axis}function cn(t,n){var e=[],i=null,a=null,r=6,o=6,s=3,c=1===t||4===t?-1:1,l=4===t||2===t?"x":"y",u=1===t||3===t?en:an;function d(d){var f=null==i?n.ticks?n.ticks.apply(n,e):n.domain():i,h=null==a?n.tickFormat?n.tickFormat.apply(n,e):nn:a,g=Math.max(r,0)+s,p=n.range(),y=+p[0]+.5,m=+p[p.length-1]+.5,v=(n.bandwidth?on:rn)(n.copy()),x=d.selection?d.selection():d,b=x.selectAll(".domain").data([null]),E=x.selectAll(".tick").data(f,n).order(),T=E.exit(),_=E.enter().append("g").attr("class","tick"),A=E.select("line"),w=E.select("text");b=b.merge(b.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),E=E.merge(_),A=A.merge(_.append("line").attr("stroke","currentColor").attr(l+"2",c*r)),w=w.merge(_.append("text").attr("fill","currentColor").attr(l,c*g).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),d!==x&&(b=b.transition(d),E=E.transition(d),A=A.transition(d),w=w.transition(d),T=T.transition(d).attr("opacity",1e-6).attr("transform",(function(t){return isFinite(t=v(t))?u(t):this.getAttribute("transform")})),_.attr("opacity",1e-6).attr("transform",(function(t){var n=this.parentNode.__axis;return u(n&&isFinite(n=n(t))?n:v(t))}))),T.remove(),b.attr("d",4===t||2==t?o?"M"+c*o+","+y+"H0.5V"+m+"H"+c*o:"M0.5,"+y+"V"+m:o?"M"+y+","+c*o+"V0.5H"+m+"V"+c*o:"M"+y+",0.5H"+m),E.attr("opacity",1).attr("transform",(function(t){return u(v(t))})),A.attr(l+"2",c*r),w.attr(l,c*g).text(h),x.filter(sn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),x.each((function(){this.__axis=v}))}return d.scale=function(t){return arguments.length?(n=t,d):n},d.ticks=function(){return e=tn.call(arguments),d},d.tickArguments=function(t){return arguments.length?(e=null==t?[]:tn.call(t),d):e.slice()},d.tickValues=function(t){return arguments.length?(i=null==t?null:tn.call(t),d):i&&i.slice()},d.tickFormat=function(t){return arguments.length?(a=t,d):a},d.tickSize=function(t){return arguments.length?(r=o=+t,d):r},d.tickSizeInner=function(t){return arguments.length?(r=+t,d):r},d.tickSizeOuter=function(t){return arguments.length?(o=+t,d):o},d.tickPadding=function(t){return arguments.length?(s=+t,d):s},d}function ln(t){return cn(1,t)}function un(t){return cn(2,t)}function dn(t){return cn(3,t)}function fn(t){return cn(4,t)}function hn(t){return+t}function gn(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,i=t.slice(0,e);return[i.length>1?i[0]+i.slice(2):i,+t.slice(e+1)]}var pn=function(t){return(t=gn(Math.abs(t)))?t[1]:NaN},yn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function mn(t){if(!(n=yn.exec(t)))throw new Error("invalid format: "+t);var n;return new vn({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function vn(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}mn.prototype=vn.prototype,vn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var xn,bn,En,Tn,_n=function(t,n){var e=gn(t,n);if(!e)return t+"";var i=e[0],a=e[1];return a<0?"0."+new Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+new Array(a-i.length+2).join("0")},An={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return _n(100*t,n)},r:_n,s:function(t,n){var e=gn(t,n);if(!e)return t+"";var i=e[0],a=e[1],r=a-(xn=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=i.length;return r===o?i:r>o?i+new Array(r-o+1).join("0"):r>0?i.slice(0,r)+"."+i.slice(r):"0."+new Array(1-r).join("0")+gn(t,Math.max(0,n+r-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},wn=function(t){return t},kn=Array.prototype.map,In=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Sn=function(t){var n,e,i=void 0===t.grouping||void 0===t.thousands?wn:(n=kn.call(t.grouping,Number),e=t.thousands+"",function(t,i){for(var a=t.length,r=[],o=0,s=n[0],c=0;a>0&&s>0&&(c+s+1>i&&(s=Math.max(1,i-c)),r.push(t.substring(a-=s,a+s)),!((c+=s+1)>i));)s=n[o=(o+1)%n.length];return r.reverse().join(e)}),a=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?wn:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(kn.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"-":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function d(t){var n=(t=mn(t)).fill,e=t.align,d=t.sign,f=t.symbol,h=t.zero,g=t.width,p=t.comma,y=t.precision,m=t.trim,v=t.type;"n"===v?(p=!0,v="g"):An[v]||(void 0===y&&(y=12),m=!0,v="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var x="$"===f?a:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",b="$"===f?r:/[%p]/.test(v)?c:"",E=An[v],T=/[defgprs%]/.test(v);function _(t){var a,r,c,f=x,_=b;if("c"===v)_=E(t)+_,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:E(Math.abs(t),y),m&&(t=function(t){t:for(var n,e=t.length,i=1,a=-1;i0&&(a=0)}return a>0?t.slice(0,a)+t.slice(n+1):t}(t)),A&&0==+t&&"+"!==d&&(A=!1),f=(A?"("===d?d:l:"-"===d||"("===d?"":d)+f,_=("s"===v?In[8+xn/3]:"")+_+(A&&"("===d?")":""),T)for(a=-1,r=t.length;++a(c=t.charCodeAt(a))||c>57){_=(46===c?o+t.slice(a+1):t.slice(a))+_,t=t.slice(0,a);break}}p&&!h&&(t=i(t,1/0));var w=f.length+t.length+_.length,k=w>1)+f+t+_+k.slice(w);break;default:t=k+f+t+_}return s(t)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),_.toString=function(){return t+""},_}return{format:d,formatPrefix:function(t,n){var e=d(((t=mn(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(pn(n)/3))),a=Math.pow(10,-i),r=In[8+i/3];return function(t){return e(a*t)+r}}}};function Dn(t){return bn=Sn(t),En=bn.format,Tn=bn.formatPrefix,bn}Dn({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var Ln=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t};function Cn(t,n){var e=Object.create(t.prototype);for(var i in n)e[i]=n[i];return e}function Nn(){}var Mn="\\s*([+-]?\\d+)\\s*",Rn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",On="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Pn=/^#([0-9a-f]{3,8})$/,Gn=new RegExp("^rgb\\("+[Mn,Mn,Mn]+"\\)$"),Fn=new RegExp("^rgb\\("+[On,On,On]+"\\)$"),Un=new RegExp("^rgba\\("+[Mn,Mn,Mn,Rn]+"\\)$"),Hn=new RegExp("^rgba\\("+[On,On,On,Rn]+"\\)$"),Bn=new RegExp("^hsl\\("+[Rn,On,On]+"\\)$"),Vn=new RegExp("^hsla\\("+[Rn,On,On,Rn]+"\\)$"),Yn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Xn(){return this.rgb().formatHex()}function zn(){return this.rgb().formatRgb()}function jn(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Pn.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?Kn(n):3===e?new Zn(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Wn(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Wn(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Gn.exec(t))?new Zn(n[1],n[2],n[3],1):(n=Fn.exec(t))?new Zn(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Un.exec(t))?Wn(n[1],n[2],n[3],n[4]):(n=Hn.exec(t))?Wn(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Bn.exec(t))?ne(n[1],n[2]/100,n[3]/100,1):(n=Vn.exec(t))?ne(n[1],n[2]/100,n[3]/100,n[4]):Yn.hasOwnProperty(t)?Kn(Yn[t]):"transparent"===t?new Zn(NaN,NaN,NaN,0):null}function Kn(t){return new Zn(t>>16&255,t>>8&255,255&t,1)}function Wn(t,n,e,i){return i<=0&&(t=n=e=NaN),new Zn(t,n,e,i)}function qn(t){return t instanceof Nn||(t=jn(t)),t?new Zn((t=t.rgb()).r,t.g,t.b,t.opacity):new Zn}function Jn(t,n,e,i){return 1===arguments.length?qn(t):new Zn(t,n,e,null==i?1:i)}function Zn(t,n,e,i){this.r=+t,this.g=+n,this.b=+e,this.opacity=+i}function $n(){return"#"+te(this.r)+te(this.g)+te(this.b)}function Qn(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function te(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function ne(t,n,e,i){return i<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new ie(t,n,e,i)}function ee(t){if(t instanceof ie)return new ie(t.h,t.s,t.l,t.opacity);if(t instanceof Nn||(t=jn(t)),!t)return new ie;if(t instanceof ie)return t;var n=(t=t.rgb()).r/255,e=t.g/255,i=t.b/255,a=Math.min(n,e,i),r=Math.max(n,e,i),o=NaN,s=r-a,c=(r+a)/2;return s?(o=n===r?(e-i)/s+6*(e0&&c<1?0:o,new ie(o,s,c,t.opacity)}function ie(t,n,e,i){this.h=+t,this.s=+n,this.l=+e,this.opacity=+i}function ae(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function re(t,n,e,i,a){var r=t*t,o=r*t;return((1-3*t+3*r-o)*n+(4-6*r+3*o)*e+(1+3*t+3*r-3*o)*i+o*a)/6}Ln(Nn,jn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Xn,formatHex:Xn,formatHsl:function(){return ee(this).formatHsl()},formatRgb:zn,toString:zn}),Ln(Zn,Jn,Cn(Nn,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Zn(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Zn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$n,formatHex:$n,formatRgb:Qn,toString:Qn})),Ln(ie,(function(t,n,e,i){return 1===arguments.length?ee(t):new ie(t,n,e,null==i?1:i)}),Cn(Nn,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new ie(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new ie(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,i=e+(e<.5?e:1-e)*n,a=2*e-i;return new Zn(ae(t>=240?t-240:t+120,a,i),ae(t,a,i),ae(t<120?t+240:t-120,a,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var oe=function(t){return function(){return t}};function se(t,n){return function(e){return t+e*n}}function ce(t){return 1==(t=+t)?le:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(i){return Math.pow(t+i*n,e)}}(n,e,t):oe(isNaN(n)?e:n)}}function le(t,n){var e=n-t;return e?se(t,e):oe(isNaN(t)?n:t)}var ue=function t(n){var e=ce(n);function i(t,n){var i=e((t=Jn(t)).r,(n=Jn(n)).r),a=e(t.g,n.g),r=e(t.b,n.b),o=le(t.opacity,n.opacity);return function(n){return t.r=i(n),t.g=a(n),t.b=r(n),t.opacity=o(n),t+""}}return i.gamma=t,i}(1);function de(t){return function(n){var e,i,a=n.length,r=new Array(a),o=new Array(a),s=new Array(a);for(e=0;e=1?(e=1,n-1):Math.floor(e*n),a=t[i],r=t[i+1],o=i>0?t[i-1]:2*a-r,s=ir&&(a=n.slice(r,a),s[o]?s[o]+=a:s[++o]=a),(e=e[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:ye(e,i)})),r=xe.lastIndex;return ri&&(n=e,e=i,i=n),function(t){return Math.max(e,Math.min(i,t))}}function Be(t,n,e){var i=t[0],a=t[1],r=n[0],o=n[1];return a2?Ve:Be,a=r=null,d}function d(n){return isNaN(n=+n)?e:(a||(a=i(o.map(t),s,c)))(t(l(n)))}return d.invert=function(e){return l(n((r||(r=i(s,o.map(t),ye)))(e)))},d.domain=function(t){return arguments.length?(o=Le.call(t,Pe),l===Fe||(l=He(o)),u()):o.slice()},d.range=function(t){return arguments.length?(s=Ce.call(t),u()):s.slice()},d.rangeRound=function(t){return s=Ce.call(t),c=Oe,u()},d.clamp=function(t){return arguments.length?(l=t?He(o):Fe,d):l!==Fe},d.interpolate=function(t){return arguments.length?(c=t,u()):c},d.unknown=function(t){return arguments.length?(e=t,d):e},function(e,i){return t=e,n=i,u()}}function ze(t,n){return Xe()(t,n)}var je=function(t,n,e,i){var a,r=Jt(t,n,e);switch((i=mn(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(n));return null!=i.precision||isNaN(a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(pn(n)/3)))-pn(Math.abs(t)))}(r,o))||(i.precision=a),Tn(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,pn(n)-pn(t))+1}(r,Math.max(Math.abs(t),Math.abs(n))))||(i.precision=a-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(a=function(t){return Math.max(0,-pn(Math.abs(t)))}(r))||(i.precision=a-2*("%"===i.type))}return En(i)};function Ke(t){var n=t.domain;return t.ticks=function(t){var e=n();return Wt(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var i=n();return je(i[0],i[i.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var i,a=n(),r=0,o=a.length-1,s=a[r],c=a[o];return c0?i=qt(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,e):i<0&&(i=qt(s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i,e)),i>0?(a[r]=Math.floor(s/i)*i,a[o]=Math.ceil(c/i)*i,n(a)):i<0&&(a[r]=Math.ceil(s*i)/i,a[o]=Math.floor(c*i)/i,n(a)),t},t}function We(){var t=ze(Fe,Fe);return t.copy=function(){return Ye(t,We())},Te.apply(t,arguments),Ke(t)}var qe=function(t,n){var e,i=0,a=(t=t.slice()).length-1,r=t[i],o=t[a];return o0))return s;do{s.push(o=new Date(+e)),n(e,r),t(e)}while(o=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;n(t,-1),!e(t););else for(;--i>=0;)for(;n(t,1),!e(t););}))},e&&(a.count=function(n,i){return Je.setTime(+n),Ze.setTime(+i),t(Je),t(Ze),Math.floor(e(Je,Ze))},a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?a.filter(i?function(n){return i(n)%t==0}:function(n){return a.count(0,n)%t==0}):a:null}),a}var Qe=$e((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Qe.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$e((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var ti=Qe,ni=(Qe.range,$e((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),ei=ni;function ii(t){return $e((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}ni.range;var ai=ii(0),ri=ii(1),oi=ii(2),si=ii(3),ci=ii(4),li=ii(5),ui=ii(6),di=(ai.range,ri.range,oi.range,si.range,ci.range,li.range,ui.range,$e((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1}))),fi=di,hi=(di.range,$e((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,n){t.setTime(+t+36e5*n)}),(function(t,n){return(n-t)/36e5}),(function(t){return t.getHours()}))),gi=hi,pi=(hi.range,$e((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,n){t.setTime(+t+6e4*n)}),(function(t,n){return(n-t)/6e4}),(function(t){return t.getMinutes()}))),yi=pi,mi=(pi.range,$e((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+1e3*n)}),(function(t,n){return(n-t)/1e3}),(function(t){return t.getUTCSeconds()}))),vi=mi,xi=(mi.range,$e((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t})));xi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?$e((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):xi:null};var bi=xi;function Ei(t){return $e((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/6048e5}))}xi.range;var Ti=Ei(0),_i=Ei(1),Ai=Ei(2),wi=Ei(3),ki=Ei(4),Ii=Ei(5),Si=Ei(6),Di=(Ti.range,_i.range,Ai.range,wi.range,ki.range,Ii.range,Si.range,$e((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/864e5}),(function(t){return t.getUTCDate()-1}))),Li=Di,Ci=(Di.range,$e((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Ci.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$e((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var Ni=Ci;function Mi(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Ri(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Oi(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}Ci.range;var Pi,Gi,Fi={"-":"",_:" ",0:"0"},Ui=/^\s*\d+/,Hi=/^%/,Bi=/[\\^$*+?|[\]().{}]/g;function Vi(t,n,e){var i=t<0?"-":"",a=(i?-t:t)+"",r=a.length;return i+(r68?1900:2e3),e+i[0].length):-1}function Qi(t,n,e){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),e+i[0].length):-1}function ta(t,n,e){var i=Ui.exec(n.slice(e,e+1));return i?(t.q=3*i[0]-3,e+i[0].length):-1}function na(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.m=i[0]-1,e+i[0].length):-1}function ea(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.d=+i[0],e+i[0].length):-1}function ia(t,n,e){var i=Ui.exec(n.slice(e,e+3));return i?(t.m=0,t.d=+i[0],e+i[0].length):-1}function aa(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.H=+i[0],e+i[0].length):-1}function ra(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.M=+i[0],e+i[0].length):-1}function oa(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.S=+i[0],e+i[0].length):-1}function sa(t,n,e){var i=Ui.exec(n.slice(e,e+3));return i?(t.L=+i[0],e+i[0].length):-1}function ca(t,n,e){var i=Ui.exec(n.slice(e,e+6));return i?(t.L=Math.floor(i[0]/1e3),e+i[0].length):-1}function la(t,n,e){var i=Hi.exec(n.slice(e,e+1));return i?e+i[0].length:-1}function ua(t,n,e){var i=Ui.exec(n.slice(e));return i?(t.Q=+i[0],e+i[0].length):-1}function da(t,n,e){var i=Ui.exec(n.slice(e));return i?(t.s=+i[0],e+i[0].length):-1}function fa(t,n){return Vi(t.getDate(),n,2)}function ha(t,n){return Vi(t.getHours(),n,2)}function ga(t,n){return Vi(t.getHours()%12||12,n,2)}function pa(t,n){return Vi(1+fi.count(ti(t),t),n,3)}function ya(t,n){return Vi(t.getMilliseconds(),n,3)}function ma(t,n){return ya(t,n)+"000"}function va(t,n){return Vi(t.getMonth()+1,n,2)}function xa(t,n){return Vi(t.getMinutes(),n,2)}function ba(t,n){return Vi(t.getSeconds(),n,2)}function Ea(t){var n=t.getDay();return 0===n?7:n}function Ta(t,n){return Vi(ai.count(ti(t)-1,t),n,2)}function _a(t){var n=t.getDay();return n>=4||0===n?ci(t):ci.ceil(t)}function Aa(t,n){return t=_a(t),Vi(ci.count(ti(t),t)+(4===ti(t).getDay()),n,2)}function wa(t){return t.getDay()}function ka(t,n){return Vi(ri.count(ti(t)-1,t),n,2)}function Ia(t,n){return Vi(t.getFullYear()%100,n,2)}function Sa(t,n){return Vi((t=_a(t)).getFullYear()%100,n,2)}function Da(t,n){return Vi(t.getFullYear()%1e4,n,4)}function La(t,n){var e=t.getDay();return Vi((t=e>=4||0===e?ci(t):ci.ceil(t)).getFullYear()%1e4,n,4)}function Ca(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Vi(n/60|0,"0",2)+Vi(n%60,"0",2)}function Na(t,n){return Vi(t.getUTCDate(),n,2)}function Ma(t,n){return Vi(t.getUTCHours(),n,2)}function Ra(t,n){return Vi(t.getUTCHours()%12||12,n,2)}function Oa(t,n){return Vi(1+Li.count(Ni(t),t),n,3)}function Pa(t,n){return Vi(t.getUTCMilliseconds(),n,3)}function Ga(t,n){return Pa(t,n)+"000"}function Fa(t,n){return Vi(t.getUTCMonth()+1,n,2)}function Ua(t,n){return Vi(t.getUTCMinutes(),n,2)}function Ha(t,n){return Vi(t.getUTCSeconds(),n,2)}function Ba(t){var n=t.getUTCDay();return 0===n?7:n}function Va(t,n){return Vi(Ti.count(Ni(t)-1,t),n,2)}function Ya(t){var n=t.getUTCDay();return n>=4||0===n?ki(t):ki.ceil(t)}function Xa(t,n){return t=Ya(t),Vi(ki.count(Ni(t),t)+(4===Ni(t).getUTCDay()),n,2)}function za(t){return t.getUTCDay()}function ja(t,n){return Vi(_i.count(Ni(t)-1,t),n,2)}function Ka(t,n){return Vi(t.getUTCFullYear()%100,n,2)}function Wa(t,n){return Vi((t=Ya(t)).getUTCFullYear()%100,n,2)}function qa(t,n){return Vi(t.getUTCFullYear()%1e4,n,4)}function Ja(t,n){var e=t.getUTCDay();return Vi((t=e>=4||0===e?ki(t):ki.ceil(t)).getUTCFullYear()%1e4,n,4)}function Za(){return"+0000"}function $a(){return"%"}function Qa(t){return+t}function tr(t){return Math.floor(+t/1e3)}function nr(t){return Pi=function(t){var n=t.dateTime,e=t.date,i=t.time,a=t.periods,r=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,l=Xi(a),u=zi(a),d=Xi(r),f=zi(r),h=Xi(o),g=zi(o),p=Xi(s),y=zi(s),m=Xi(c),v=zi(c),x={a:function(t){return o[t.getDay()]},A:function(t){return r[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:fa,e:fa,f:ma,g:Sa,G:La,H:ha,I:ga,j:pa,L:ya,m:va,M:xa,p:function(t){return a[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Qa,s:tr,S:ba,u:Ea,U:Ta,V:Aa,w:wa,W:ka,x:null,X:null,y:Ia,Y:Da,Z:Ca,"%":$a},b={a:function(t){return o[t.getUTCDay()]},A:function(t){return r[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Na,e:Na,f:Ga,g:Wa,G:Ja,H:Ma,I:Ra,j:Oa,L:Pa,m:Fa,M:Ua,p:function(t){return a[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Qa,s:tr,S:Ha,u:Ba,U:Va,V:Xa,w:za,W:ja,x:null,X:null,y:Ka,Y:qa,Z:Za,"%":$a},E={a:function(t,n,e){var i=h.exec(n.slice(e));return i?(t.w=g[i[0].toLowerCase()],e+i[0].length):-1},A:function(t,n,e){var i=d.exec(n.slice(e));return i?(t.w=f[i[0].toLowerCase()],e+i[0].length):-1},b:function(t,n,e){var i=m.exec(n.slice(e));return i?(t.m=v[i[0].toLowerCase()],e+i[0].length):-1},B:function(t,n,e){var i=p.exec(n.slice(e));return i?(t.m=y[i[0].toLowerCase()],e+i[0].length):-1},c:function(t,e,i){return A(t,n,e,i)},d:ea,e:ea,f:ca,g:$i,G:Zi,H:aa,I:aa,j:ia,L:sa,m:na,M:ra,p:function(t,n,e){var i=l.exec(n.slice(e));return i?(t.p=u[i[0].toLowerCase()],e+i[0].length):-1},q:ta,Q:ua,s:da,S:oa,u:Ki,U:Wi,V:qi,w:ji,W:Ji,x:function(t,n,i){return A(t,e,n,i)},X:function(t,n,e){return A(t,i,n,e)},y:$i,Y:Zi,Z:Qi,"%":la};function T(t,n){return function(e){var i,a,r,o=[],s=-1,c=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++s53)return null;"w"in r||(r.w=1),"Z"in r?(a=(i=Ri(Oi(r.y,0,1))).getUTCDay(),i=a>4||0===a?_i.ceil(i):_i(i),i=Li.offset(i,7*(r.V-1)),r.y=i.getUTCFullYear(),r.m=i.getUTCMonth(),r.d=i.getUTCDate()+(r.w+6)%7):(a=(i=Mi(Oi(r.y,0,1))).getDay(),i=a>4||0===a?ri.ceil(i):ri(i),i=fi.offset(i,7*(r.V-1)),r.y=i.getFullYear(),r.m=i.getMonth(),r.d=i.getDate()+(r.w+6)%7)}else("W"in r||"U"in r)&&("w"in r||(r.w="u"in r?r.u%7:"W"in r?1:0),a="Z"in r?Ri(Oi(r.y,0,1)).getUTCDay():Mi(Oi(r.y,0,1)).getDay(),r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(a+5)%7:r.w+7*r.U-(a+6)%7);return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,Ri(r)):Mi(r)}}function A(t,n,e,i){for(var a,r,o=0,s=n.length,c=e.length;o=c)return-1;if(37===(a=n.charCodeAt(o++))){if(a=n.charAt(o++),!(r=E[a in Fi?n.charAt(o++):a])||(i=r(t,e,i))<0)return-1}else if(a!=e.charCodeAt(i++))return-1}return i}return x.x=T(e,x),x.X=T(i,x),x.c=T(n,x),b.x=T(e,b),b.X=T(i,b),b.c=T(n,b),{format:function(t){var n=T(t+="",x);return n.toString=function(){return t},n},parse:function(t){var n=_(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=T(t+="",b);return n.toString=function(){return t},n},utcParse:function(t){var n=_(t+="",!0);return n.toString=function(){return t},n}}}(t),Gi=Pi.format,Pi.parse,Pi.utcFormat,Pi.utcParse,Pi}function er(t){return new Date(t)}function ir(t){return t instanceof Date?+t:+new Date(+t)}function ar(t,n,e,i,a,r,o,s,c){var l=ze(Fe,Fe),u=l.invert,d=l.domain,f=c(".%L"),h=c(":%S"),g=c("%I:%M"),p=c("%I %p"),y=c("%a %d"),m=c("%b %d"),v=c("%B"),x=c("%Y"),b=[[o,1,1e3],[o,5,5e3],[o,15,15e3],[o,30,3e4],[r,1,6e4],[r,5,3e5],[r,15,9e5],[r,30,18e5],[a,1,36e5],[a,3,108e5],[a,6,216e5],[a,12,432e5],[i,1,864e5],[i,2,1728e5],[e,1,6048e5],[n,1,2592e6],[n,3,7776e6],[t,1,31536e6]];function E(s){return(o(s)n?1:t>=n?0:NaN}pr.prototype={constructor:pr,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var xr=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),ur.hasOwnProperty(n)?{space:ur[n],local:t}:t};function br(t){return function(){this.removeAttribute(t)}}function Er(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Tr(t,n){return function(){this.setAttribute(t,n)}}function _r(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Ar(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function wr(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var kr=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Ir(t){return function(){this.style.removeProperty(t)}}function Sr(t,n,e){return function(){this.style.setProperty(t,n,e)}}function Dr(t,n,e){return function(){var i=n.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,e)}}function Lr(t,n){return t.style.getPropertyValue(n)||kr(t).getComputedStyle(t,null).getPropertyValue(n)}function Cr(t){return function(){delete this[t]}}function Nr(t,n){return function(){this[t]=n}}function Mr(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Rr(t){return t.trim().split(/^|\s+/)}function Or(t){return t.classList||new Pr(t)}function Pr(t){this._node=t,this._names=Rr(t.getAttribute("class")||"")}function Gr(t,n){for(var e=Or(t),i=-1,a=n.length;++i=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var $r=function(t){var n=xr(t);return(n.local?Zr:Jr)(n)};function Qr(){return null}function to(){var t=this.parentNode;t&&t.removeChild(this)}function no(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function eo(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}var io={},ao=null;function ro(t,n,e){return t=oo(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function oo(t,n,e){return function(i){var a=ao;ao=i;try{t.call(this,this.__data__,n,e)}finally{ao=a}}}function so(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function co(t){return function(){var n=this.__on;if(n){for(var e,i=0,a=-1,r=n.length;i=E&&(E=b+1);!(x=m[E])&&++E=0;)(i=a[r])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=vr);for(var e=this._groups,i=e.length,a=new Array(i),r=0;r1?this.each((null==n?Ir:"function"==typeof n?Dr:Sr)(t,n,null==e?"":e)):Lr(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?Cr:"function"==typeof n?Mr:Nr)(t,n)):this.node()[t]},classed:function(t,n){var e=Rr(t+"");if(arguments.length<2){for(var i=Or(this.node()),a=-1,r=e.length;++a1e-6)if(Math.abs(u*s-c*l)>1e-6&&a){var f=e-r,h=i-o,g=s*s+c*c,p=f*f+h*h,y=Math.sqrt(g),m=Math.sqrt(d),v=a*Math.tan((xo-Math.acos((g+d-p)/(2*y*m)))/2),x=v/m,b=v/y;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*l)+","+(n+x*u)),this._+="A"+a+","+a+",0,0,"+ +(u*f>l*h)+","+(this._x1=t+b*s)+","+(this._y1=n+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,i,a,r){t=+t,n=+n,r=!!r;var o=(e=+e)*Math.cos(i),s=e*Math.sin(i),c=t+o,l=n+s,u=1^r,d=r?i-a:a-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+c+","+l),e&&(d<0&&(d=d%bo+bo),d>Eo?this._+="A"+e+","+e+",0,1,"+u+","+(t-o)+","+(n-s)+"A"+e+","+e+",0,1,"+u+","+(this._x1=c)+","+(this._y1=l):d>1e-6&&(this._+="A"+e+","+e+",0,"+ +(d>=xo)+","+u+","+(this._x1=t+e*Math.cos(a))+","+(this._y1=n+e*Math.sin(a))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};var Ao=_o,wo=function(t){return function(){return t}},ko=Math.abs,Io=Math.atan2,So=Math.cos,Do=Math.max,Lo=Math.min,Co=Math.sin,No=Math.sqrt,Mo=Math.PI,Ro=Mo/2,Oo=2*Mo;function Po(t){return t>1?0:t<-1?Mo:Math.acos(t)}function Go(t){return t>=1?Ro:t<=-1?-Ro:Math.asin(t)}function Fo(t){return t.innerRadius}function Uo(t){return t.outerRadius}function Ho(t){return t.startAngle}function Bo(t){return t.endAngle}function Vo(t){return t&&t.padAngle}function Yo(t,n,e,i,a,r,o,s){var c=e-t,l=i-n,u=o-a,d=s-r,f=d*c-u*l;if(!(f*f<1e-12))return[t+(f=(u*(n-r)-d*(t-a))/f)*c,n+f*l]}function Xo(t,n,e,i,a,r,o){var s=t-e,c=n-i,l=(o?r:-r)/No(s*s+c*c),u=l*c,d=-l*s,f=t+u,h=n+d,g=e+u,p=i+d,y=(f+g)/2,m=(h+p)/2,v=g-f,x=p-h,b=v*v+x*x,E=a-r,T=f*p-g*h,_=(x<0?-1:1)*No(Do(0,E*E*b-T*T)),A=(T*x-v*_)/b,w=(-T*v-x*_)/b,k=(T*x+v*_)/b,I=(-T*v+x*_)/b,S=A-y,D=w-m,L=k-y,C=I-m;return S*S+D*D>L*L+C*C&&(A=k,w=I),{cx:A,cy:w,x01:-u,y01:-d,x11:A*(a/E-1),y11:w*(a/E-1)}}function zo(t){this._context=t}zo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var jo=function(t){return new zo(t)};function Ko(t){return t[0]}function Wo(t){return t[1]}var qo=function(){var t=Ko,n=Wo,e=wo(!0),i=null,a=jo,r=null;function o(o){var s,c,l,u=o.length,d=!1;for(null==i&&(r=a(l=Ao())),s=0;s<=u;++s)!(st?1:n>=t?0:NaN},Zo=function(t){return t};function $o(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Qo(t,n){this._context=t,this._k=(1-n)/6}Qo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:$o(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:$o(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var ts,ns,es=function t(n){function e(t){return new Qo(t,n)}return e.tension=function(n){return t(+n)},e}(0),is=0,as=0,rs=0,os=0,ss=0,cs=0,ls="object"==typeof performance&&performance.now?performance:Date,us="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ds(){return ss||(us(fs),ss=ls.now()+cs)}function fs(){ss=0}function hs(){this._call=this._time=this._next=null}function gs(){ss=(os=ls.now())+cs,is=as=0;try{!function(){ds(),++is;for(var t,n=ts;n;)(t=ss-n._time)>=0&&n._call.call(null,t),n=n._next;--is}()}finally{is=0,function(){for(var t,n,e=ts,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:ts=n);ns=t,ys(i)}(),ss=0}}function ps(){var t=ls.now(),n=t-os;n>1e3&&(cs-=n,os=t)}function ys(t){is||(as&&(as=clearTimeout(as)),t-ss>24?(t<1/0&&(as=setTimeout(gs,t-ls.now()-cs)),rs&&(rs=clearInterval(rs))):(rs||(os=ls.now(),rs=setInterval(ps,1e3)),is=1,us(gs)))}hs.prototype=function(t,n,e){var i=new hs;return i.restart(t,n,e),i}.prototype={constructor:hs,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?ds():+e)+(null==n?0:+n),this._next||ns===this||(ns?ns._next=this:ts=this,ns=this),this._call=t,this._time=e,ys()},stop:function(){this._call&&(this._call=null,this._time=1/0,ys())}};var ms={path:{d:"M15 0h48v5H10V0"},options:{x:-1,y:-1,scale:.25}},vs={path:[{d:"M-22 0h48v7H8V0"},{d:"M-28 0h80v7H35V0"},{d:"M-18 0h80v7H80V0"}],options:{x:-1,y:-1,scale:.2}},xs={BLUE:"#176ba0",GREEN:"#076e00",ORANGE:"#b54900",PINK:"#ae0868",PURPLE:"#9c19a3",YELLOW:"#ffc20a",LIGHT_BLUE:"#008fe0",LIGHT_GREEN:"#4b9b1c",LIGHT_ORANGE:"#e46511",LIGHT_PINK:"#e16092",LIGHT_PURPLE:"#bc70c7",LIGHT_YELLOW:"#ffda6c",BLACK:"#1c1f21",GREY:"#a7aaab",LAVENDER:"#8374c2",WHITE:"#ffffff"},bs={MAX_BUBBLES_SINGLE_DATASET:4,MAX_DATASETS_MULTIPLE_API:7,PALETTE:{BLUE:["#008fe0","#044e7b","#001624"],GREEN:["#4b9b1c","#2c5e12","#122702"],ORANGE:["#e46511","#883e10","#371a06"],PINK:["#ade868","#6d0a48","#32062a"],PURPLE:["#9c19a3","#5c1060","#240425"],GRAY:"#949494"}},Es={CIRCLE:{path:{d:"M24 48C10.7 48 0 37.3 0 24S10.7 0 24 0s24 10.7 24 24-10.7 24-24 24z"},options:{x:-5,y:-5,scale:.2}},CROSS:{path:{d:"M0 16h16V0h16v16h16v16H32v16H16V32H0V16z"},options:{x:-6.2,y:-6,scale:.25}},DIAMOND:{path:{d:"M24 0l12 24-12 24-12-24L24 0z"},options:{x:-8.2,y:-8,scale:.33}},RHOMBUS:{path:{d:"M24 0l24 24-24 24L0 24 24 0z"},options:{x:-6.2,y:-6,scale:.25}},SQUARE:{path:{d:"M0 0h48v48H0V0z"},options:{x:-5,y:-5,scale:.2}},TEAR_ALT:{path:{d:"M24 48s-4.8-5.9-14.5-17.6c-6.4-8.1-5.1-19.9 2.9-26.3s19.6-5.1 26 3c5.4 6.8 5.4 16.5 0 23.4C28.8 42.1 24 48 24 48z"},options:{x:-6.1,y:-6,scale:.24}},TEAR_DROP:{path:{d:"M24 0s4.8 5.9 14.5 17.6c6.4 8.1 5.1 19.9-2.9 26.3s-19.6 5.1-26-3c-5.4-6.8-5.4-16.5 0-23.4C19.2 5.9 24 0 24 0z"},options:{x:-6.1,y:-6,scale:.24}},TRIANGLE:{path:{d:"M24 4l24 40H0L24 4z"},options:{x:-6.3,y:-6,scale:.25}},TRIANGLE_DOWN:{path:{d:"M24 44L0 4h48L24 44z"},options:{x:-6.2,y:-6,scale:.25}},VERTICAL_BAR:{path:{d:"M14 0h20v48H14V0"},options:{x:-6.2,y:-6,scale:.25}},X:{path:{d:"M0 12L12 0l12 12L36 0l12 12-12 12 12 12-12 12-12-12-12 12L0 36l12-12L0 12z"},options:{x:-6.2,y:-6,scale:.25}}},Ts={CIRCLE:{circle:{cx:"24",cy:"24",r:"21",fill:"#FFF"},path:{d:"M24.1 0C10.7 0 0 10.7 0 24s10.7 24 24 24 24-10.7 24-24C48 10.8 37.3 0 24.1 0zM24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21z"},options:{x:-5,y:-5,scale:.2}},CROSS:{path:[{fill:"#FFF",d:"M45 19v10H29v16H19V29H3V19h16V3h10v16z"},{d:"M32 16V0H16v16H0v16h16v16h16V32h16V16H32zm13 13H29v16H19V29H3V19h16V3h10v16h16v10z"}],options:{x:-6.2,y:-6,scale:.25}},DIAMOND:{path:[{fill:"#FFF",d:"M34.5 24L24 42 13.5 24 24 6z"},{d:"M24 0L10 24l14 24 14-24L24 0zm0 6l10.5 18L24 42 13.5 24 24 6z"}],options:{x:-8.2,y:-8,scale:.33}},RHOMBUS:{path:[{fill:"#FFF",d:"M4.2 24L24 4.201 43.798 24 24 43.799z"},{d:"M24 0L0 24l24 24 24-24L24 0zm19.8 24L24 43.8 4.2 24 24 4.2 43.8 24z"}],options:{x:-6.2,y:-6,scale:.25}},SQUARE:{path:[{fill:"#FFF",d:"M3 3h42v42H3z"},{d:"M0 0v48h48V0H0zm45 45H3V3h42v42z"}],options:{x:-5,y:-5,scale:.2}},TEAR_ALT:{path:[{fill:"#FFF",d:"M36.1 28.6c-5.7 6.9-9.7 11.8-12.1 14.6-2.3-2.8-6.4-7.8-12.2-14.7-5.4-6.8-4.3-16.6 2.4-22.1C17.1 4.2 20.5 3 24 3c4.7 0 9.2 2.2 12.1 5.9 4.6 5.8 4.6 13.9 0 19.7z"},{d:"M38.5 7.1C35 2.6 29.6 0 24 0c-4.2 0-8.2 1.4-11.5 4.1-8 6.5-9.3 18.2-2.9 26.3C19.3 42.1 24.1 48 24.1 48s4.8-5.9 14.4-17.5c5.4-6.9 5.4-16.5 0-23.4zM11.8 28.5c-5.4-6.8-4.3-16.6 2.4-22.1C17.1 4.2 20.5 3 24 3c4.7 0 9.2 2.2 12.1 5.9 4.6 5.8 4.6 13.9 0 19.7-5.7 6.9-9.7 11.8-12.1 14.6-2.3-2.8-6.4-7.8-12.2-14.7z"}],options:{x:-6.2,y:-6,scale:.25}},TEAR_DROP:{path:[{fill:"#FFF",d:"M33.7 41.6C27 46.9 17.4 45.9 12 39.2c0-.1-.1-.1-.1-.2-4.6-5.8-4.6-13.9 0-19.7 5.7-6.8 9.7-11.7 12-14.5 2.3 2.8 6.4 7.8 12.2 14.7 5.4 6.8 4.3 16.6-2.4 22.1z"},{d:"M38.4 17.6C28.7 5.9 23.9 0 23.9 0S19.1 5.9 9.5 17.5c-5.4 6.9-5.4 16.5 0 23.4 6.3 8 17.8 9.4 25.8 3.2.1 0 .1-.1.2-.2 8-6.5 9.3-18.2 2.9-26.3zM12 39.2c0-.1-.1-.1-.1-.2-4.6-5.8-4.6-13.9 0-19.7 5.7-6.8 9.7-11.7 12-14.5 2.3 2.8 6.4 7.8 12.2 14.7 5.4 6.8 4.3 16.6-2.4 22.1-6.7 5.3-16.3 4.3-21.7-2.4z"}],options:{x:-6.2,y:-6,scale:.25}},TRIANGLE:{path:[{fill:"#FFF",d:"M42.7 41H5.3L24 9.8z"},{d:"M24 4L0 44h48L24 4zm0 5.8L42.7 41H5.3L24 9.8z"}],options:{x:-6.3,y:-6,scale:.25}},TRIANGLE_DOWN:{path:[{fill:"#FFF",d:"M42.7 7L24 38.2 5.3 7z"},{d:"M0 4l24 40L48 4H0zm42.7 3L24 38.2 5.3 7h37.4z"}],options:{x:-6.2,y:-6,scale:.25}},VERTICAL_BAR:{path:[{fill:"#FFF",d:"M17 3h14v42H17z"},{d:"M14 0v48h20V0H14zm17 45H17V3h14v42z"}],options:{x:-6.2,y:-6,scale:.25}},X:{path:[{fill:"#FFF",d:"M33.9 26.1l9.9 9.9-7.8 7.8-9.9-9.9-2.1-2.1-2.1 2.1-9.9 9.9L4.2 36l9.9-9.9 2.1-2.1-2.1-2.1L4.2 12 12 4.2l9.9 9.9 2.1 2.1 2.1-2.1L36 4.2l7.8 7.8-9.9 9.9-2.1 2.1z"},{d:"M48 12L36 0 24 12 12 0 0 12l12 12L0 36l12 12 12-12 12 12 12-12-12-12 12-12zM36 43.8l-9.9-9.9-2.1-2.1-2.1 2.1-9.9 9.9L4.2 36l9.9-9.9 2.1-2.1-2.1-2.1L4.2 12 12 4.2l9.9 9.9 2.1 2.1 2.1-2.1L36 4.2l7.8 7.8-9.9 9.9-2.1 2.1 2.1 2.1 9.9 9.9-7.8 7.8z"}],options:{x:-6.2,y:-6,scale:.25}}},_s={DEFAULT:"default",TIME_SERIES:"timeseries"},As={LINEAR:jo,SPLINE:es},ws={X:{TOP:"top",BOTTOM:"bottom"},Y:{LEFT:"left",RIGHT:"right"}},ks={PADDING:{top:10,bottom:10,left:30,right:50,trackLabel:100},LEGEND_PADDING:{top:4,bottom:4,left:8,right:8},PIE_LEGEND_PADDING:{top:8,bottom:8,left:8,right:8},PAIR_ITEM_TYPES:["high","mid","low"],ISO8601_DATE_TIME_MILLI:/(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}(:\d{2}(\.\d+)*)*)Z/,RESIZE_THROTTLE:1e3/60,BASE_CANVAS_WIDTH_PADDING:10,BASE_LABEL_ICON_SPACING:20,BASE_LABEL_ICON_WIDTH_PADDING:5,BASE_LABEL_ICON_HEIGHT_PADDING:12,TEXT_LABEL_ICON_WIDTH_PADDING:8,TEXT_LABEL_ICON_HEIGHT_PADDING:5,TEXT_LABEL_VERTICAL_POSITION:{top:-10,bottom:20},DEFAULT_TICKSCOUNT:7,TICKSCOUNT_MAXLIMIT:19,AXISRANGE_ONE:20,AXISRANGE_TWO:50,AXISRANGE_THREE:100,AXISRANGE_FOUR:500,TIMELINE_HEIGHT:40,PIE_CHART_DEFAULT_HEIGHT:250,DEFAULT_HEIGHT:250,DEFAULT_PLOT_SCALE:.275,DEFAULT_PLOT_SELECTION_SCALE:{posX:1.95,posY:1.95,scale:2},DEFAULT_PLOT_SELECTION_SCALE_FOR_EVENTS:{posX:9,posY:7,scale:1.3},DEFAULT_TIMELINE_PLOT_SELECTION_SCALE:{posX:2,posY:2,scale:2.2},DEFAULT_TIMELINE_SCALE:{posX:1.15,posY:1.15,scale:1.25},DEFAULT_TIMELINE_TICK_LENGTH:12,DEFAULT_LABEL_CHARACTER_LIMIT:12,DEFAULT_GANTT_TRACK_HEIGHT:41,DEFAULT_GANTT_TRACK_SELECTION:{x:1,y:1,width:2,height:1.5},DEFAULT_GANTT_TASK_HEIGHT:23,DEFAULT_GANTT_TASK_PADDING:{top:9,bottom:9},DEFAULT_GANTT_TASK_CHUNK_WIDTH:5,DEFAULT_GANTT_ACTIVITY_CHUNK_WIDTH:5,DEFAULT_GANTT_TASK_SELECTION_PADDING:25,DEFAULT_GANTT_ACTIVITY_OPACITY:.5,DEFAULT_GANTT_ACTIVITY_HEIGHT:31,DEFAULT_GANTT_ACTIVITY_PADDING:{top:5,bottom:5},DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES:{WIDTH_RATIO:.66,LEFT_SHIFT_OFFSET_RATIO:.5,LEFT_SHIFT_OFFSET_PADDING_RATIO:.16,OUTER_PADDING_RATIO:2.5,REGION_LEFT_SHIFT_OFFSET_PADDING_RATIO:.08,REGION_WIDTH_RATIO:.83},DEFAULT_BAR_HASH_COLOR:"#d3d4d5",DEFAULT_BAR_COLOR:xs.BLUE,DEFAULT_BAR_REGION_COLOR:"#bcbfc0",DEFAULT_GOAL_LINE_STROKE_WIDTH:5,DEFAULT_REGION_LINE_STROKE_WIDTH:5,DEFAULT_BAR_SELECTION_PADDING:5,DEFAULT_ACTIVITY_BAR_HASH_COLOR:"#d3d4d5",DEFAULT_TASK_BAR_HASH_COLOR:xs.BLUE,DEFAULT_BAR_STRIPE_COLOR:"#fff",DEFAULT_GANTT_TASK_STRIPE_WIDTH:4,DEFAULT_GANTT_TASK_STRIPE_DISTANCE:2,DEFAULT_GANTT_ACTIVITY_STRIPE_WIDTH:7,DEFAULT_GANTT_ACTIVITY_STRIPE_DISTANCE:2,DEFAULT_CHARACTER_SVG_ELEMENT_WIDTH:16.5,DEFAULT_Y_AXIS_SPACING:30,HOVER_EVENT:{MOUSE_ENTER:"enter",MOUSE_EXIT:"exit"},VIEW_BOX_SIZE:"0 0 48 48",DEFAULT_COLOR:xs.BLACK,DEFAULT_PIE_COLOR:xs.BLUE,DEFAULT_PIE_LEGEND_SHAPE:Es.SQUARE,DEFAULT_PIE_INNER_RADIUS:1,DEFAULT_PIE_PAD_ANGLE:.01,X_AXIS:"x",Y_AXIS:"y",Y2_AXIS:"y2",MIN_TICKS:3,MAX_TICK_VARIANCE:140,DEFAULT_INTERPOLATION:jo,SELECTION_INDICATOR_X_POSITION:10,SELECTION_INDICATOR_Y_POSITION:12.5,D3_TRANSITION_PROPERTIES_ENABLED:{duration:250,ease:hn},D3_TRANSITION_PROPERTIES_DISABLED:{duration:0,ease:hn},d3Transition:function(t){return function(n){return n.duration(t.duration).ease(t.ease)}},TICK_ORIENTATION:{TOP:-1,BOTTOM:1},NO_DATA_VIEW_PROPORTION:3,NO_DATA_LABEL_PADDING:15,DEFAULT_BUBBLE_RADIUS_MIN:3,DEFAULT_BUBBLE_RADIUS_MAX:30,DEFAULT_BUBBLE_SELECTOR_RADIUS:4,DEFAULT_BUBBLE_OPACITY:"0.4",DEFAULT_BUBBLE_BLUR_OPACITY:"0.1",DEFAULT_BUBBLE_STROKE_OPACITY:"1",DEFAULT_BUBBLE_BLUR_STROKE_OPACITY:"0.3",DEFAULT_LEGEND_LINE_WIDTH:28,DEFAULT_LEGEND_LINE_WIDTH_WITH_SYMBOL:18,LEGEND_LINE_POSITION:1.5},Is=e(3),Ss=e.n(Is),Ds=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return t};return function(){return!t.apply(void 0,arguments)}},Ls=function(t){return Array.isArray(t)},Cs=function(t){return void 0===t},Ns=Ds(Cs),Ms=function(t){return null==t||function(t){return"string"==typeof t}(t)&&0===t.length||"object"===Ss()(t)&&0===Object.keys(t).length},Rs=Ds(Ms),Os=function(t){return ks.ISO8601_DATE_TIME_MILLI.test(t)},Ps=function(t){return t instanceof Date},Gs=function(t){return new Date(t)},Fs={deepClone:function t(n){return Ls(n)?n.map(t):n&&"object"===Ss()(n)?Object.keys(n).reduce((function(e,i){return Ns(n[i])&&(e[i]=t(n[i])),e}),{}):n},getEpocFromDateString:function(t){return parseInt(new Date(t).getTime(),10)},getDateFromEpoc:function(t){return new Date(t)},getNumber:function(t){return t?Number(t):0},getTime:function(t){return Gs(t).getTime()},hasValue:function(t,n){return Object.keys(t).some((function(e){return t[e]===n}))},isArray:Ls,isBoolean:function(t){return"boolean"==typeof t&&!Number.isNaN(t)},isFunction:function(t){return"function"==typeof t},isDate:Os,isDateInstance:Ps,isDefined:Ns,isEmptyArray:function(t){return Array.isArray(t)&&0===t.length},isEmpty:Ms,isEqual:function(t,n){return Os(t)||Ps(t)?function(t,n){return t.getTime()===n.getTime()}(Gs(t),Gs(n)):t===n},isNumber:function(t){return"number"==typeof t&&!Number.isNaN(t)},isUndefined:Cs,notEmpty:Rs,parseDateTime:Gs,sanitize:function(t){return"string"==typeof t?t.replace(//g,">"):t}},Us=function(t){if(Fs.isEmpty(t))throw new Error(D);if(Fs.isEmpty(t.key))throw new Error(I);if(!Fs.isArray(t.values))throw new Error(w)},Hs=function(t,n){return Fs.isUndefined(t)?n:t},Bs=function(t){return Hs(t,_s.DEFAULT)},Vs=function(){return"carbon-".concat(Ot()(),"-clip")},Ys=function(){return"carbon-".concat(Ot()(),"-dateline-clip")},Xs=function(t){return Hs(t,As.LINEAR)},zs=function(t){return Bs(t)===_s.TIME_SERIES?rr():We()},js=function(t,n,e){return Bs(t)===_s.TIME_SERIES?{lowerLimit:Fs.parseDateTime(n),upperLimit:Fs.parseDateTime(e)}:{lowerLimit:Fs.getNumber(n),upperLimit:Fs.getNumber(e)}},Ks=function(t,n){return Bs(n)===_s.TIME_SERIES?Fs.parseDateTime(t):Fs.getNumber(t)},Ws=function(t){return Fs.isDefined(t.pan)&&t.pan.enabled},qs=function(t){return Hs(t.strokeDashArray,"0")},Js=function(){function t(){}var n=t.prototype;return n.load=function(t){throw new Error(G)},n.unload=function(t){throw new Error(F)},n.resize=function(t){throw new Error(U)},n.redraw=function(t){throw new Error(H)},t}(),Zs={container:"carbon-graph-container",timelineContainer:"carbon-timeline-container",canvas:"carbon-graph-canvas",canvasXAxis:"carbon-x-axis-canvas",axis:"carbon-axis",axisX:"carbon-axis-x",axisY:"carbon-axis-y",axisY2:"carbon-axis-y2",axisReferenceLine:"carbon-axis-reference-line",grid:"carbon-grid",gridH:"carbon-horizontal-grid",gridV:"carbon-vertical-grid",gridLowerStep:"carbon-lower-step-grid",gridMidpoint:"carbon-midpoint-grid",gridUpperStep:"carbon-upper-step-grid",highlight:"carbon-highlight",blur:"carbon-blur",bubbleBlur:"carbon-bubble-blur",svgIcon:"carbon-svg-icon",axisLabelX:"carbon-x-axis-label",axisLabelY:"carbon-y-axis-label",axisLabelY2:"carbon-y2-axis-label",axisLabelYShapeContainer:"carbon-y-axis-label-shape-container",axisLabelY2ShapeContainer:"carbon-y2-axis-label-shape-container",axisLabelRow:"carbon-axis-label-row",axisLabel:"carbon-axis-label-item",axisYTrackLabel:"carbon-y-axis-track-label",legend:"carbon-legend",legendItem:"carbon-legend-item",legendItemBtn:"carbon-legend-item-btn",legendItemIcon:"carbon-legend-item-icon",legendItemIconWithLine:"carbon-legend-item-icon-with-line",legendItemLine:"carbon-legend-item-line",legendItemLineWithIcon:"carbon-legend-item-line-with-icon",legendItemSpan:"carbon-legend-item-span",legendItemWhiteLine:"carbon-legend-white-line",legendItemText:"carbon-legend-item-text",contentContainer:"carbon-content-container",datelineContent:"carbon-dateline-content",datelineGroup:"carbon-dateline-group",datelinePoint:"carbon-dateline-point",dateline:"carbon-dateline",eventlineContent:"carbon-eventline-content",eventlineGroup:"carbon-eventline-group",eventline:"carbon-eventline",noDataContainer:"carbon-no-data-container",noDataLabel:"carbon-no-data-label",noDataOverlay:"carbon-no-data-overlay",labelPopupOverlay:"carbon-label-popup-overlay",labelPopupTooltip:"carbon-label-popup-tooltip",lineGraphContent:"carbon-line-graph-content",currentLinesGroup:"carbon-data-lines-group",currentPointsGroup:"carbon-data-points-group",dataPointSelection:"carbon-selected-data-point",dataPointDisplayEnable:"carbon-data-pair--selected",bubbleGraphContent:"carbon-bubble-graph-content",pairedBoxGroup:"carbon-data-pairs-group",pairedBox:"carbon-data-pair",pointGroup:"carbon-data-points",line:"carbon-line",point:"carbon-point",pairedLine:"carbon-paired-line",pairedPoint:"carbon-paired-point",high:"carbon-high",low:"carbon-low",mid:"carbon-mid",regionGroup:"carbon-region-group",regionPairGroup:"carbon-region-pair-group",region:"carbon-region",regionHighlight:"carbon-region-highlight",regionBlur:"carbon-region-blur",valueRegion:"carbon-value-region",criticalityOuterPoint:"carbon-criticality-outer",criticalityInnerPoint:"carbon-criticality-inner",criticalityTimelineOuterPoint:"carbon-timeline-criticality-outer",criticalityTimelineInnerPoint:"carbon-timeline-criticality-inner",ganttChartContent:"carbon-gantt-chart-content",trackGroup:"carbon-data-track-group",ganttTrackSelectorGroup:"carbon-gantt-track-selector-group",ganttTrackBarSelection:"carbon-track-selected-bar",taskGroup:"carbon-data-task-group",task:"carbon-data-task",taskBar:"carbon-data-bar",taskBarSelection:"carbon-data-selected-bar",taskBarCompletion:"carbon-data-completion-bar",activityGroup:"carbon-data-activity-group",activity:"carbon-data-activity",activityBar:"carbon-data-activity-bar",timelineGraphContent:"carbon-timeline-graph-content",timelineContentGroup:"carbon-timeline-content-group",bar:"carbon-bar-graph",barGraphContent:"carbon-bar-graph-content",currentBarsGroup:"carbon-data-bars-group",barHashedRect:"carbon-data-bar--hashed",barSelectionGroup:"carbon-bar-selector-group",barGoalLine:"carbon-bar-goal-line",axisInfoRow:"carbon-axis-info-row",axisInfoRowItem:"carbon-axis-info-row-item",axisInfoRowIcon:"carbon-axis-info-row-icon",axisInfoRowDisplay:"carbon-axis-info-row-item-display",axisInfoRowSecondaryDisplay:"carbon-axis-info-row-item-sec-display",pieChartCanvas:"carbon-pie-chart-canvas",pieChartContent:"carbon-pie-chart-content",pieContentGroup:"carbon-data-pie-group",pieContentSlice:"carbon-data-pie-slice",pieLegendItem:"carbon-pie-legend-item",pieLegendItemIcon:"carbon-pie-legend-item-icon",pieLegendItemSliceHover:"carbon-pie-legend-item-slice-hover",scatterGraphContent:"carbon-scatter-graph-content"},$s={PATH:"path",CIRCLE:"circle",RECT:"rect",POLYGON:"polygon",G:"g",STYLE:"style"},Qs=function(t){return document.createElementNS(ur.svg,t)},tc=function(t,n,e){return(Fs.isArray(e)?e:[e]).forEach((function(i){t.append((function(){return(t=i,a=mo(Qs(n)),Object.keys(t).forEach((function(n){"_html"!==n?a.attr(n,t[n]||""):a.html(e._html)})),a).node();var t,a}))})),t},nc=function(t,n,e,i){t.attr("transform",e(i)),Object.keys($s).forEach((function(e){n[$s[e]]&&tc(t,$s[e],n[$s[e]])}))},ec=function(){for(var t=arguments.length,n=new Array(t),e=0;e2&&void 0!==arguments[2]&&arguments[2],l=mo(Qs("svg")).attr("x",t.options.x).attr("y",t.options.y).attr("style",i).attr("class","".concat(Zs.svgIcon," ").concat(e)).attr("role","img").attr("pointer-events",s["pointer-events"]?"none":"auto").on("click",r);c&&ic(l),ec("aria-describedby","aria-hidden","aria-selected","aria-disabled")(l,o);var u=l.append("g");return nc(u,t,a,t.options.scale),l.node()},rc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.svgClassNames,e=void 0===n?"":n,i=t.svgStyles,a=void 0===i?"":i,r=t.transformFn,o=void 0===r?function(){}:r,s=t.onClickFn,c=void 0===s?function(){}:s,l=t.a11yAttributes,u=void 0===l?{}:l,d=t.additionalAttributes;return{svgClassNames:e,svgStyles:a,transformFn:o,onClickFn:c,a11yAttributes:u,additionalAttributes:void 0===d?{}:d}},oc=function(){function t(t){!function(t){if(Fs.isEmpty(t[$s.PATH]))throw new Error(v);if(Fs.isEmpty(t.options))throw new Error(x);if(Fs.isEmpty(t.options.x)||Fs.isEmpty(t.options.y)||Fs.isEmpty(t.options.scale))throw new Error(b)}(t),this.shape=t}return t.prototype.getShapeElement=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return ac(this.shape,t||rc(),n)},t}();oc.getDefaultSVGProps=rc;var sc=oc,cc=e(19),lc=e.n(cc),uc={locale:"en_US",decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],noData:"No Data"},dc=uc,fc={de_DE:{locale:"de_DE",decimal:",",thousands:".",grouping:[3],currency:[""," €"],dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So,","Mo,","Di,","Mi,","Do,","Fr,","Sa,"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],noData:"Keine Daten"},en_AU:{locale:"en_AU",decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %e %b %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],noData:"No Data"},en_CA:{locale:"en_CA",decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],noData:"No Data"},en_GB:{locale:"en_GB",decimal:".",thousands:",",grouping:[3],currency:["£",""],dateTime:"%a %e %b %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],noData:"No Data"},en_US:uc,es_ES:{locale:"en_ES",decimal:",",thousands:".",grouping:[3],currency:[""," €"],dateTime:"%A, %e de %B de %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],shortDays:["dom.","lun.","mar.","mié.","jue.","vie.","sáb."],months:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortMonths:["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sep.","oct.","nov.","dic."],noData:"Sin datos"},fr_FR:{locale:"fr_FR",decimal:",",thousands:".",grouping:[3],currency:[""," €"],dateTime:"%A, le %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],noData:"Aucune donnée"},pt_BR:{locale:"pt_BR",decimal:",",thousands:".",grouping:[3],currency:["R$",""],dateTime:"%A, %e de %B de %Y. %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],shortDays:["dom","seg","ter","qua","qui","sex","sáb"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],shortMonths:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],noData:"Sem dados"},ja_JP:{locale:"ja_JP",decimal:".",thousands:",",grouping:[3],currency:["","円"],dateTime:"%Y %b %e %a %X",date:"%Y/%m/%d",time:"%H:%M:%S",periods:["AM","PM"],days:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],shortDays:["日","月","火","水","木","金","土"],months:["睦月","如月","弥生","卯月","皐月","水無月","文月","葉月","長月","神無月","霜月","師走"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],noData:"データなし"},nl_NL:{locale:"nl_NL",decimal:",",thousands:".",grouping:[3],currency:["€ ",""],dateTime:"%a %e %B %Y %T",date:"%d-%m-%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],noData:"Geen gegevens"},sv_SE:{locale:"sv_SE",decimal:",",thousands:".",grouping:[3],currency:[""," kr"],dateTime:"%A den %d %B %Y %X",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["fm","em"],days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],shortDays:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],shortMonths:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],noData:"Ingen information"}},hc=fc,gc="lowerStepTickValues",pc="midpointTickValues",yc="upperStepTickValues",mc=function(t,n,e,i){return{axis:{x:{ticks:{values:t},orientation:"".concat(e)}},height:"".concat(n),settingsDictionary:{transition:i}}},vc=function(t){switch(t){case gc:return Zs.gridLowerStep;case pc:return Zs.gridMidpoint;case yc:return Zs.gridUpperStep;default:return""}},xc=function(t,n,e,i,a,r,o,s){var c=mc(e,a,i,r);s(t,n,vc(o),c)},bc=function(t,n,e,i,a,r,o,s){var c=mc(e,a,i,r);s(t,n,vc(o),c)},Ec=function(t){var n=[];return Fs.notEmpty(t.values)&&(n=n.concat(t.values)),Fs.notEmpty(t.upperStepTickValues)&&(n=n.concat(t.upperStepTickValues)),n},Tc=function(t){return!Fs.isEmpty(t)&&(Fs.notEmpty(t.midpointTickValues)||Fs.notEmpty(t.upperStepTickValues)||Fs.notEmpty(t.lowerStepTickValues))},_c=function(t,n,e,i){Tc(e.axis.x.ticks)?function(t,n,e,i){Fs.notEmpty(e.axis.x.ticks.values)&&Fs.isEmpty(e.axis.x.ticks.lowerStepTickValues)?xc(t,n,e.axis.x.ticks.values,e.axis.x.orientation,e.height,e.settingsDictionary.transition,gc,i):Fs.notEmpty(e.axis.x.ticks.lowerStepTickValues)&&xc(t,n,e.axis.x.ticks.lowerStepTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,gc,i),Fs.notEmpty(e.axis.x.ticks.midpointTickValues)&&xc(t,n,e.axis.x.ticks.midpointTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,pc,i),Fs.notEmpty(e.axis.x.ticks.upperStepTickValues)&&xc(t,n,e.axis.x.ticks.upperStepTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,yc,i)}(t,n,e,i):i(t,n,Zs.gridV,e)},Ac=function(t,n,e,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.axis.x.orientation;if(Tc(e.axis.x.ticks)){var r={values:e.axis.x.ticks.lowerStepTickValues?e.axis.x.ticks.lowerStepTickValues:e.axis.x.ticks.values,upperStepTickValues:e.axis.x.ticks.upperStepTickValues};n.x=i(t,Ec(r),e,a)}},wc=function(t,n,e,i){Tc(e.axis.x.ticks)?function(t,n,e,i){Fs.notEmpty(e.axis.x.ticks.values)&&Fs.isEmpty(e.axis.x.ticks.lowerStepTickValues)?bc(t,n,e.axis.x.ticks.values,e.axis.x.orientation,e.height,e.settingsDictionary.transition,gc,i):Fs.notEmpty(e.axis.x.ticks.lowerStepTickValues)&&bc(t,n,e.axis.x.ticks.lowerStepTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,gc,i),Fs.notEmpty(e.axis.x.ticks.midpointTickValues)&&bc(t,n,e.axis.x.ticks.midpointTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,pc,i),Fs.notEmpty(e.axis.x.ticks.upperStepTickValues)&&bc(t,n,e.axis.x.ticks.upperStepTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,yc,i)}(t,n,e,i):i(t,n,Zs.gridV,e)},kc=function(t){return vi(t)1&&void 0!==arguments[1]?arguments[1]:ks.Y_AXIS;return Qt(t[n].domain())<0&&$t(t[n].domain())>0},Cc=function(t){return[{x:t.x.domain()[0],y:0},{x:t.x.domain()[1],y:0}]},Nc=function(t,n){return qo().x((function(n){return t.x(n.x)})).y((function(e){return t[n](e.y)}))},Mc=function(t){return Fs.isDefined(t.y2)&&t.y2.show},Rc=function(t){return t===ws.X.TOP},Oc=function(t){var n=t.scale().tickFormat().toString();return"".concat(n.slice(0,n.length-1),"~").concat(n.slice(n.length-1))},Pc=function(t){return Fs.isEmpty(t)?null:t.map((function(t){return Fs.isDate(t)?Fs.parseDateTime(t):t}))},Gc=function(t,n,e,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ws.X.BOTTOM,r=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=dn(t);if(Rc(a)&&(s=ln(t)),n&&0!==n.length)if(Fs.isDate(n))if(Fs.isUndefined(r)||Fs.isUndefined(o))s.ticks(Math.max(e/ks.MAX_TICK_VARIANCE,ks.MIN_TICKS)).tickValues(Pc(n)).tickFormat(i);else{var c=n.filter((function(t){var n=new Date(t);return n>=r&&n<=o}));s.tickValues(Pc(c)).tickFormat(Gi(i))}else s.ticks(Math.max(e/ks.MAX_TICK_VARIANCE,ks.MIN_TICKS)).tickValues(Pc(n.filter((function(t){return t>=r&&t<=o})))).tickFormat(i);else s.ticks(Math.max(e/ks.MAX_TICK_VARIANCE,ks.MIN_TICKS)).tickValues(Pc(n)).tickFormat(i);return s},Fc=function(t){return t.canvasWidth-t.axisSizes.y-t.axisSizes.y2-t.axisLabelWidths.y-t.axisLabelWidths.y2},Uc=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_s.DEFAULT;if(""===n)return n;var i=e===_s.TIME_SERIES?nr(t):Dn(t);if(Fs.isEmpty(n)){if("default"===e)return null;switch(t.locale){case hc.es_ES.locale:case hc.pt_BR.locale:return kc;case hc.de_DE.locale:return Ic;case hc.sv_SE.locale:return Sc;case hc.nl_NL.locale:return kc;case hc.fr_FR.locale:return Dc;default:return null}}return i.format(n)},Hc=function(t,n,e,i){return fn(t).ticks(e/ks.DEFAULT_Y_AXIS_SPACING).tickValues(n).tickFormat(i)},Bc=function(t,n,e,i){return un(t).ticks(e/ks.DEFAULT_Y_AXIS_SPACING).tickValues(n).tickFormat(i)},Vc=function(t,n){var e,i=0;return t.forEach((function(t){if(0!==t){var n;n=Math.abs(t);var e=-Math.floor(Math.log10(n));e>i&&(i=e)}})),i>0&&i<6&&(e=n.suppressTrailingZeros?".".concat(i%10,"~f"):".".concat(i%10,"f")),e},Yc=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ks.DEFAULT_TICKSCOUNT;e=Math.abs(e);var i=[];i.push(t),i.push(n),t<0&&i.push(0);for(var a=(n-t)/(e+1),r=1;r<=e;r+=1)i.push(t+a*r);return i.sort((function(t,n){return t-n})),i},Xc=function(t){var n;switch(!0){case t<=ks.AXISRANGE_ONE:n=ks.DEFAULT_TICKSCOUNT-4;break;case t<=ks.AXISRANGE_TWO:n=ks.DEFAULT_TICKSCOUNT-3;break;case t<=ks.AXISRANGE_THREE:n=ks.DEFAULT_TICKSCOUNT-2;break;case t<=ks.AXISRANGE_FOUR:n=ks.DEFAULT_TICKSCOUNT-1;break;default:n=ks.DEFAULT_TICKSCOUNT}return n},zc=function(t,n,e){var i,a,r,o,s;if(e.axis.x.suppressTrailingZeros&&e.axis.x.type===_s.DEFAULT&&Fs.isUndefined(e.axis.x.ticks.format)&&(t.x=Rc(e.axis.x.orientation)?ln(n.x):dn(n.x),i=Oc(t.x)),t.x=Gc(n.x,e.axis.x.ticks.values,Fc(e),Uc(e.d3Locale,Fs.isDefined(e.axis.x.ticks.format)?e.axis.x.ticks.format:i,e.axis.x.type),e.axis.x.orientation,e.axis.x.domain.lowerLimit,e.axis.x.domain.upperLimit),i=null,t.axisInfoRow.x=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ws.X.BOTTOM,e=dn(t);return Rc(n)&&(e=ln(t)),e.tickValues([]),e}(n.x,(a=e.axis.x.orientation,Rc(a)?ws.X.BOTTOM:ws.X.TOP)),Mc(e.axis)){if(Fs.isDefined(e.axis.y.ticks.values))return e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),t.y=Hc(n.y,e.axis.y.ticks.values,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i)),i=null,e.axis.y2.suppressTrailingZeros&&Fs.isUndefined(e.axis.y2.ticks.format)&&(t.y2=un(n.y2),i=Oc(t.y2)),t.y2=Bc(n.y2,e.axis.y2.ticks.values,e.height,Uc(e.locale,Fs.isDefined(e.axis.y2.ticks.format)?e.axis.y2.ticks.format:i)),t;var c,l,u=e.axis.y.domain.lowerLimit,d=e.axis.y.domain.upperLimit,f=e.axis.y2.domain.lowerLimit,h=e.axis.y2.domain.upperLimit;if(e.allowCalibration){var g=We().domain([u,d]).nice().domain(),p=lc()(g,2);u=p[0],d=p[1];var y=We().domain([f,h]).nice().domain(),m=lc()(y,2);f=m[0],h=m[1]}if(Fs.isDefined(e.ticksCount)&&e.ticksCount<=ks.TICKSCOUNT_MAXLIMIT)c=Yc(u,d,e.ticksCount),l=Yc(f,h,e.ticksCount);else{var v,x=d-u,b=h-f,E=Math.max(x,b),T=Math.min(x,b),_=E/T;if(Number.isInteger(_)&&Number.isInteger(T/_)&&_>2)v=_;else for(var A=9;A>=3;A-=1)if(Number.isInteger(E/A)&&Number.isInteger(T/A)){v=A;break}Fs.isUndefined(v)&&(r=b,o=Xc(x),s=Xc(r),v=Math.round((o+s)/2)+1),c=Yc(u,d,v-1),l=Yc(f,h,v-1)}e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),!e.axis.y.isConsumerProvidedFormat&&Fs.isUndefined(e.axis.y.ticks.values)&&(e.axis.y.ticks.format=Vc(c,e.axis.y)),t.y=Hc(n.y,c,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i)),i=null,e.axis.y2.suppressTrailingZeros&&Fs.isUndefined(e.axis.y2.ticks.format)&&(t.y2=un(n.y2),i=Oc(t.y2)),!e.axis.y2.isConsumerProvidedFormat&&Fs.isUndefined(e.axis.y2.ticks.values)&&(e.axis.y2.ticks.format=Vc(l,e.axis.y2)),t.y2=Bc(n.y2,l,e.height,Uc(e.locale,Fs.isDefined(e.axis.y2.ticks.format)?e.axis.y2.ticks.format:i))}else{var w=e.axis.y.domain.lowerLimit,k=e.axis.y.domain.upperLimit;if(Fs.isDefined(e.axis.y.ticks.values))e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),t.y=Hc(n.y,e.axis.y.ticks.values,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i));else if(Fs.isDefined(e.ticksCount)||e.ticksCount<=ks.TICKSCOUNT_MAXLIMIT){var I=Yc(w,k,e.ticksCount);e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),!e.axis.y.isConsumerProvidedFormat&&Fs.isUndefined(e.axis.y.ticks.values)&&(e.axis.y.ticks.format=Vc(I,e.axis.y)),t.y=Hc(n.y,I,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i))}else e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),t.y=Hc(n.y,void 0,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i))}return t},jc=function(t,n,e,i){return Gc(t.x,n,Fc(e),Uc(e.d3Locale,e.axis.x.ticks.format,e.axis.x.type),i)},Kc=function(t){return t.axisSizes.y+t.axisLabelWidths.y},Wc=function(t){return Rc(t.axis.x.orientation)?t.axisLabelHeights.x?2*t.axisLabelHeights.x+t.padding.top:t.padding.top:t.padding.bottom},qc=function(t){return t.height},Jc=function(t){return Rc(t.axis.x.orientation)?Wc(t):qc(t)+Wc(t)},Zc=function(t){return t.attr("font-size",null).attr("font-family",null)},$c=function(t){return Kc(t)},Qc=function(t){return Wc(t)},tl=function(t){return $c(t)+Fc(t)},nl=function(t){return Wc(t)},el=function(t){return Rc(t.axis.x.orientation)?qc(t)+Wc(t):Wc(t)},il=function(t){switch(t){case ks.Y_AXIS:return-90;case ks.Y2_AXIS:return 90;default:return 0}},al=function(t){return Kc(t)+Fc(t)/2},rl=function(t){return Rc(t.axis.x.orientation)?Wc(t)-2*t.axisLabelHeights.x:Jc(t)+2*t.axisLabelHeights.x+2*(t.padding.bottom-t.axisInfoRowLabelHeight)},ol=function(t){return Mc(t.axis)?t.padding.left-t.axisLabelWidths.y:t.padding.left},sl=function(t){return Qc(t)+(qc(t)-t.padding.left/2)/2},cl=function(t){return ol(t)+ks.BASE_LABEL_ICON_HEIGHT_PADDING},ll=function(t,n){return sl(t)+n*ks.BASE_LABEL_ICON_HEIGHT_PADDING/1.5},ul=function(t,n){return sl(t)-n*ks.BASE_LABEL_ICON_HEIGHT_PADDING/1.5},dl=function(t){return tl(t)+t.padding.right+t.axisLabelWidths.y2},fl=function(t){return dl(t)-ks.BASE_LABEL_ICON_HEIGHT_PADDING},hl=function(t){if(t.padding.hasCustomPadding)return t.padding.bottom;var n=dn(zs(t.axis.x.type).domain([t.axis.x.domain.lowerLimit,t.axis.x.domain.upperLimit]).range([0,t.canvasWidth])),e=mo("body").append("div"),i=e.append("svg").append("g").call(n).node().getBoundingClientRect().height;return e.remove(),i},gl=function(t){return[0,Fc(t)]},pl=function(t){return[qc(t),0]},yl=function(t,n){return vu(t,Math.abs(n))?xu(t,Math.abs(n)):t},ml=function(t,n,e){return t.append("text").attr("text-anchor","middle").append("tspan").text(yl(n,e))},vl=function(t,n,e){var i,a=mo("body").append("div"),r=a.append("svg").append("g").attr("transform","rotate(".concat(il(n),")"));return ml(r,t),i=Fs.isDefined(e)&&Mc(e.axis)&&0===t.trim().length?ks.DEFAULT_CHARACTER_SVG_ELEMENT_WIDTH:r.node().getBoundingClientRect().width,a.remove(),i},xl=function(t){var n=mo("body").append("div"),e=n.append("svg").append("g");ml(e,t);var i=e.node().getBoundingClientRect().height;return n.remove(),i},bl=function(t,n){if(n.padding.hasCustomPadding)return n.padding.left;var e=fn(We().domain([n.axis[t].domain.lowerLimit,n.axis[t].domain.upperLimit]).range([n.height,0])),i=mo("body").append("div"),a=i.append("svg").append("g").call(e).node().getBoundingClientRect().width;return i.remove(),a},El=function(t){t.axisSizes={},t.axisSizes.y=bl(ks.Y_AXIS,t)+t.padding.left,t.axisSizes.y2=function(t){return t.padding.hasCustomPadding?t.padding.right:Mc(t.axis)?bl(ks.Y2_AXIS,t):20}(t)+t.padding.right,t.axisSizes.x=hl(t)},Tl=function(t){t.axisLabelHeights={},t.axisLabelWidths={},t.axisLabelHeights.x=0,t.axisLabelWidths.y=0,t.axisLabelWidths.y2=0,t.showLabel&&(t.axis.x.label&&(t.axisLabelHeights.x=xl(t.axis.x.label)),t.axis.y.label&&(t.axisLabelWidths.y=ks.DEFAULT_CHARACTER_SVG_ELEMENT_WIDTH),Mc(t.axis)&&t.axis.y2.label&&(t.axisLabelWidths.y2=Mc(t.axis)?vl(t.axis.y2.label,ks.Y2_AXIS,t):0))},_l=function(t,n){var e=(t.axis[n].domain.upperLimit-t.axis[n].domain.lowerLimit)/2;return t.axis[n].domain.lowerLimit+e},Al=function(t){t.axis.x.domain=js(t.axis.x.type,t.axis.x.lowerLimit,t.axis.x.upperLimit)},wl=function(t,n){var e=t.axis[n].domain.upperLimit,i=t.axis[n].dataRange.max>e?t.axis[n].dataRange.max:e,a=_l(t,n),r=Math.abs((i-a)/(e-a));return r>1?r:1},kl=function(t,n){var e=t.axis[n].domain.lowerLimit,i=_l(t,n),a=t.axis[n].dataRange.min1?r:1},Il=function(t){var n={};return n.upperLimit=wl(t,ks.X_AXIS),n.lowerLimit=kl(t,ks.X_AXIS),n},Sl=function(t){var n={};if(n.upperLimit=wl(t,ks.Y_AXIS),n.lowerLimit=kl(t,ks.Y_AXIS),Mc(t.axis)){var e=wl(t,ks.Y2_AXIS),i=kl(t,ks.Y2_AXIS);n.upperLimit=e>n.upperLimit?e:n.upperLimit,n.lowerLimit=i>n.lowerLimit?i:n.lowerLimit}return n},Dl=function(t,n,e,i){zc(t,n,e),Ac(n,t,e,jc),i.select(".".concat(Zs.axisX)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat(Kc(e),",").concat(Jc(e),")")).call(t.x),i.select(".".concat(Zs.axisY)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat($c(e),", ").concat(Qc(e),")")).call(t.y),Mc(e.axis)&&i.select(".".concat(Zs.axisY2)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat(tl(e),", ").concat(nl(e),")")).call(t.y2),i.select(".".concat(Zs.axisInfoRow)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat(Kc(e),", ").concat(el(e),")")).call(t.axisInfoRow.x)},Ll=function(t,n,e){if(t instanceof Af){var i=0,a=0;return n.filter((function(n){return n instanceof Af&&n.config.group===t.config.group})).forEach((function(t){a+=t.valuesRange[e].max,i+=t.valuesRange[e].min})),{min:i,max:a}}return{min:t.valuesRange[e].min,max:t.valuesRange[e].max}},Cl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks.Y_AXIS,e=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(Fs.isEmpty(e.axis.x.dataRange)&&(e.axis.x.dataRange={}),Fs.isEmpty(e.axis.y.dataRange)&&(e.axis.y.dataRange={}),Mc(e.axis)&&Fs.isEmpty(e.axis.y2.dataRange)&&(e.axis.y2.dataRange={}),!Fs.isEmpty(t)&&!Fs.isEmpty(t.valuesRange)){var a,r=Ll(t,i,n),o=e.axis[n].dataRange.oldMin,s=e.axis[n].dataRange.oldMax;a=0===o||0===s?!(o<=r.min||s>=r.max):!(o&&s&&(o<=r.min||s>=r.max)),e.axis[n].dataRange.isRangeModified=a,a&&(e.axis[n].dataRange.oldMin=e.axis[n].dataRange.min,e.axis[n].dataRange.oldMax=e.axis[n].dataRange.max,e.axis[n].dataRange.min=r.min,e.axis[n].dataRange.max=r.max)}},Nl=function(t,n){return(Fs.isDate(t)||Fs.isDateInstance(t))&&Bs(n)===_s.TIME_SERIES||!Fs.isDate(t)&&!Fs.isDateInstance(t)&&Bs(n)!==_s.TIME_SERIES},Ml=function(t){return Math.round(100*(t+1e-5))/100},Rl=function(t,n){return t[0]*n[0]+t[1]*n[1]},Ol=function(t){var n=Math.sqrt(Rl(t,t));return n&&(t[0]/=n,t[1]/=n),n},Pl=function(t){return function(t){var n=document.createElementNS("http://www.w3.org/2000/svg","g");n.setAttributeNS(null,"transform",t);var e,i,a,r=n.transform.baseVal.consolidate(),o=r?r.matrix:{a:1,b:0,c:0,d:1,e:0,f:0},s=[o.a,o.b],c=[o.c,o.d],l=Ol(s),u=Rl(s,c),d=Ol(((e=c)[0]+=(a=-u)*(i=s)[0],e[1]+=a*i[1],e))||0;return s[0]*c[1]0){var a=Math.floor(Ul()/2);e.select("clipPath#".concat(n.datelineClipPathId)).selectAll("rect").attr("height",qc(n)+a).attr(ks.Y_AXIS,Qc(n)-a)}},Bl=function(t,n,e){e.select(".".concat(Zs.datelineContent)).empty()||(e.select(".".concat(Zs.datelineContent)).remove(),Hl(t,n,e))},Vl=function(t){if(Fs.isEmpty(t))throw new Error(ht);if(Fs.isEmpty(t.value))throw new Error(gt);if(!Fs.isDate(t.value))throw new Error(pt);if(Fs.isEmpty(t.color))throw new Error(yt);if(t.showDatelineIndicator&&Fs.isEmpty(t.shape))throw new Error(mt)},Yl=function(t,n,e,i){if(!Fs.isEmpty(n.eventline)){var a=e.selectAll(".".concat(Zs.eventlineGroup)).transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr("transform","translate(".concat(Kc(n),",").concat(i(n),")"));a.selectAll(".".concat(Zs.eventlinePoint)).select("g").attr("transform",(function(n){return"translate(".concat(t.x(Fs.parseDateTime(n.value)),", 0) scale(").concat(Pl(this),")")})),a.selectAll(".".concat(Zs.eventline)).attr("x1",(function(n){return t.x(Fs.parseDateTime(n.value))})).attr("y1",0).attr("x2",(function(n){return t.x(Fs.parseDateTime(n.value))})).attr("y2",qc(n))}},Xl=function(t,n,e){var i=e.append("g").classed(Zs.eventlineContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")"));n.eventline.forEach((function(t){var e=i.append("g").classed(Zs.eventlineGroup,!0).datum(t).attr("style",(function(t){return"fill: ".concat(t.color,"; stroke: ").concat(t.color,";")})).attr("aria-selected",!1),a=!!Fs.isDefined(n.clickPassThrough)&&n.clickPassThrough.eventlines;e.append("line").classed(Zs.eventline,!0).attr("style",(function(t){return"fill: ".concat(t.color,"; stroke: ").concat(t.color,"; stroke-dasharray: ").concat(void 0!==t.style&&void 0!==t.style.strokeDashArray?t.style.strokeDashArray:"2,2")})).attr("pointer-events",a?"none":"auto").attr("aria-hidden",!1)})),Yl(t,n,e,Qc)},zl=function(t,n,e){e.select(".".concat(Zs.eventlineContent)).empty()||(e.select(".".concat(Zs.eventlineContent)).remove(),Xl(t,n,e))},jl=function(t){if(Fs.isEmpty(t))throw new Error(vt);if(Fs.isEmpty(t.value))throw new Error(xt);if(!Fs.isDate(t.value))throw new Error(bt);if(Fs.isEmpty(t.color))throw new Error(Et)},Kl=ks.BASE_CANVAS_WIDTH_PADDING,Wl=ks.DEFAULT_HEIGHT,ql=function(t,n){return n.attr("height",t.canvasHeight+function(t){return Fs.isDefined(t.axisInfoRowLabelHeight)?t.axisInfoRowLabelHeight:0}(t)).attr("width",t.padding.hasCustomPadding?t.canvasWidth:t.canvasWidth-Kl)},Jl=function(t,n){var e;if(Fs.notEmpty(n.axis.y.ticks.values)){var i=n.axis.y.ticks.values;e=t.y.tickValues(Pc(i)).tickSize(-1*Fc(n),0,0).tickFormat("")}else e=t.y.tickSize(-1*Fc(n),0,0).tickFormat("");return e},Zl=function(t,n){var e,i=Rc(n.axis.x.orientation)?ks.TICK_ORIENTATION.TOP:ks.TICK_ORIENTATION.BOTTOM;if(Fs.notEmpty(n.axis.x.ticks.values)){var a=n.axis.x.ticks.values;if(Fs.isUndefined(n.axis.x.domain))e=t.x.tickValues(Pc(a)).tickSize(qc(n)*i,0,0).tickFormat("");else if(Fs.isDate(a))if(Fs.isUndefined(n.axis.x.domain.lowerLimit)||Fs.isUndefined(n.axis.x.domain.upperLimit))e=t.x.tickValues(Pc(a)).tickSize(qc(n)*i,0,0).tickFormat("");else{var r=a.filter((function(t){var e=new Date(t);return e>=n.axis.x.domain.lowerLimit&&e<=n.axis.x.domain.upperLimit}));e=t.x.tickValues(Pc(r)).tickSize(qc(n)*i,0,0).tickFormat("")}else e=t.x.tickValues(Pc(a.filter((function(t){return t>=n.axis.x.domain.lowerLimit&&t<=n.axis.x.domain.upperLimit})))).tickSize(qc(n)*i,0,0).tickFormat("")}else e=t.x.tickSize(qc(n)*i,0,0).tickFormat("");return e},$l=function(t,n,e,i){t.select(".".concat(e)).transition().call(ks.d3Transition(i.settingsDictionary.transition)).call(Zl(n,i))},Ql=function(t,n){return n.select(".".concat(Zs.contentContainer)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("width",Fc(t)).attr("height",t.height).attr(ks.Y_AXIS,t.axis.x.orientation&&Wc(t)).attr(ks.X_AXIS,Kc(t))},tu=function(t){return{xAxisLimit:Fc(t)/7.33,yAndY2AxisLimit:t.height/8}},nu=function(t,n,e,i,a){return t.selectAll(".".concat(n," text")).each((function(){var t=this;vu(e.label,i)&&mo(this).style("cursor","pointer").on("click",(function(){Fs.isDefined(e.onLabelClick)&&Fs.isFunction(e.onLabelClick)?e.onLabelClick(e.label,mo(t)):bu(e.label,a)}))}))},eu=function(t){var n=tu(t),e=function(t){return document.querySelector(".".concat(t," text"))},i=function(t,n,i){var a=null!==e(i)&&Fs.isFunction(mo(e(i)).on("click"));t&&!vu(t,n)&&a&&mo(e(i)).on("click",null).style("cursor","auto")};i(t.axis.x.label,n.xAxisLimit,Zs.axisLabelX),i(t.axis.y.label,n.yAndY2AxisLimit,Zs.axisLabelY),i(t.axis.y2.label,n.yAndY2AxisLimit,Zs.axisLabelY2)},iu=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.lowerLimit,i=t.upperLimit,a=.05*Math.abs(i-e);return{lowerLimit:e-(n?a:0),upperLimit:i+(n?a:0)}},au=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Fs.isEmpty(n))return t;t.outlierStretchFactor=Sl(t);var e=n.config.yAxis||ks.Y_AXIS,i=(t.axis[e].domain.upperLimit-t.axis[e].domain.lowerLimit)/2,a=(t.axis[e].domain.upperLimit+t.axis[e].domain.lowerLimit)/2,r={lowerLimit:a-i*t.outlierStretchFactor.lowerLimit,upperLimit:a+i*t.outlierStretchFactor.upperLimit};return t.axis[e].domain=iu(r,t.axisPadding[e]),t},ru=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Fs.isEmpty(n)||!t.axis.x.allowCalibration)return t;t.axis.x.type===_s.TIME_SERIES&&(t.axis.x.domain.upperLimit=Fs.getEpocFromDateString(t.axis.x.domain.upperLimit),t.axis.x.domain.lowerLimit=Fs.getEpocFromDateString(t.axis.x.domain.lowerLimit)),t.axis.x.outlierStretchFactor=Il(t);var e=(t.axis.x.domain.upperLimit-t.axis.x.domain.lowerLimit)/2,i=(t.axis.x.domain.upperLimit+t.axis.x.domain.lowerLimit)/2,a={lowerLimit:i-e*t.axis.x.outlierStretchFactor.lowerLimit,upperLimit:i+e*t.axis.x.outlierStretchFactor.upperLimit};return a.upperLimit===t.axis.x.dataRange.max||a.lowerLimit===t.axis.x.dataRange.min?t.axisPadding.x=!0:t.axisPadding.x=Hs(t.axisPadding.x,!1),t.axis.x.domain=iu(a,t.axisPadding.x),t.axis.x.type===_s.TIME_SERIES&&(t.axis.x.domain.upperLimit=Fs.getDateFromEpoc(t.axis.x.domain.upperLimit),t.axis.x.domain.lowerLimit=Fs.getDateFromEpoc(t.axis.x.domain.lowerLimit)),t},ou=function(t,n,e,i){t.append("g").classed(e,!0).call(Zl(n,i))},su=function(t,n){t.x=zs(n.axis.x.type).domain([n.axis.x.domain.lowerLimit,n.axis.x.domain.upperLimit]).range(gl(n)).clamp(n.axis.x.allowCalibration),t.y=We().domain([n.axis.y.domain.lowerLimit,n.axis.y.domain.upperLimit]).range(pl(n)).clamp(n.allowCalibration),n.axis.x.rangeRounding&&t.x.nice(),n.allowCalibration&&n.axis.y.rangeRounding&&t.y.nice(),Mc(n.axis)&&(t.y2=We().domain([n.axis.y2.domain.lowerLimit,n.axis.y2.domain.upperLimit]).range(pl(n)).clamp(n.allowCalibration),n.allowCalibration&&n.axis.y2.rangeRounding&&t.y2.nice())},cu=function(t){var n,e,i,a;ql(t.config,t.svg),function(t,n){if(n.select("clipPath#".concat(t.clipPathId)).selectAll("rect").attr("height",t.height).attr("width",Fc(t)).attr(ks.Y_AXIS,t.axis.x.orientation&&Wc(t)).attr(ks.X_AXIS,Kc(t)),t.settingsDictionary.shouldCreateDatelineDefs&&t.dateline.length>0){var e=Math.floor(Ul()/2);n.select("clipPath#".concat(t.datelineClipPathId)).selectAll("rect").attr("height",t.height+e).attr("width",Fc(t)).attr(ks.Y_AXIS,t.axis.x.orientation&&Wc(t)-e)}}(t.config,t.svg),Dl(t.axis,t.scale,t.config,t.svg),n=t.axis,e=t.scale,i=t.config,a=t.svg,zc(n,e,i),a.select(".".concat(Zs.grid)).attr("transform","translate(".concat(Kc(i),",").concat(Wc(i),")")),i.showHGrid&&a.select(".".concat(Zs.gridH)).transition().call(ks.d3Transition(i.settingsDictionary.transition)).call(Jl(n,i)),i.showVGrid&&wc(a,n,i,$l),Ql(t.config,t.svg),function(t,n){var e=tu(t);t.axis.x.label&&(n.select(".".concat(Zs.axisLabelX)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(al(t),",").concat(rl(t),") rotate(").concat(il(ks.X_AXIS),")")),n.selectAll(".".concat(Zs.axisLabelX," text")).each((function(){mo(this).text(yl(t.axis.x.label,e.xAxisLimit))})),nu(n,Zs.axisLabelX,t.axis.x,e.xAxisLimit,ks.X_AXIS)),t.axis.y.label&&(n.select(".".concat(Zs.axisLabelY)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(ol(t),", ").concat(sl(t),") rotate(").concat(il(ks.Y_AXIS),")")),n.selectAll(".".concat(Zs.axisLabelY," text")).each((function(){mo(this).text(yl(t.axis.y.label,e.yAndY2AxisLimit))})),nu(n,Zs.axisLabelY,t.axis.y,e.yAndY2AxisLimit,ks.Y_AXIS)),Mc(t.axis)&&(n.select(".".concat(Zs.axisLabelY2)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(dl(t),", ").concat(sl(t),") rotate(").concat(il(ks.Y2_AXIS),")")),n.selectAll(".".concat(Zs.axisLabelY2," text")).each((function(){mo(this).text(yl(t.axis.y2.label,e.yAndY2AxisLimit))})),nu(n,Zs.axisLabelY2,t.axis.y2,e.yAndY2AxisLimit,ks.Y2_AXIS))}(t.config,t.svg),Du(t.config,t.axesLabelShapeGroup),function(t,n,e,i){var a=function(t,i){return t.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("aria-hidden",!1).attr("d",Nc(n,i)(Cc(n)))};Lc(n,ks.Y_AXIS)&&a(i.select("path.".concat(Zs.axis,".").concat(Zs.axisY,".").concat(Zs.axisReferenceLine)),ks.Y_AXIS),Mc(e.axis)&&Lc(n,ks.Y2_AXIS)&&a(i.select("path.".concat(Zs.axis,".").concat(Zs.axisY2,".").concat(Zs.axisReferenceLine)),ks.Y2_AXIS)}(t.axis,t.scale,t.config,t.svg),Gl(t.scale,t.config,t.svg,Qc),Yl(t.scale,t.config,t.svg,Qc),function(t,n){n.select(".".concat(Zs.noDataOverlay)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("height",qc(t)/ks.NO_DATA_VIEW_PROPORTION).attr("width",Fc(t)),n.select(".".concat(Zs.noDataLabel)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("x",al(t)).attr("y",sl(t)+ks.NO_DATA_LABEL_PADDING)}(t.config,t.svg)},lu=function(t){return t.shape||Es.CIRCLE},uu=function(t){return t.color||ks.DEFAULT_COLOR},du=function(t){var n,e=0,i=t.resize.bind(t),a=function(){return window.requestAnimationFrame(i)},r=(n=t.config,function(){var t,i,r,o;clearTimeout(e),t=a,i=n.throttle,o=new hs,i=null==i?0:+i,o.restart((function(n){o.stop(),t(n+i)}),i,r),e=o});window.addEventListener("resize",r,!0),t.resizeHandler=r},fu=function(t){window.removeEventListener("resize",t.resizeHandler,!0)},hu=function(t,n){t&&(arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t.selectAll(n).remove():t.select(n).remove())},gu=function(t,n){var e=n.config,i=e.yAxis?e.yAxis:ks.Y_AXIS;Fs.notEmpty(e.axisPadding)&&(t[i]=e.axisPadding)},pu=function(t){hu(t,".".concat(Zs.noDataContainer))},yu=function(t,n){pu(n);var e=qc(t)/ks.NO_DATA_VIEW_PROPORTION,i=n.append("g").classed(Zs.noDataContainer,!0);return i.append("rect").classed(Zs.noDataOverlay,!0).attr(ks.X_AXIS,Kc(t)).attr(ks.Y_AXIS,Wc(t)+e).attr("height",e).attr("width",Fc(t)),i.append("text").classed(Zs.noDataLabel,!0).attr("x",al(t)).attr("y",sl(t)+ks.NO_DATA_LABEL_PADDING).append("tspan").text(t.locale.noData),n},mu=function(t,n,e){t.select(".".concat(n)).attr("transform","translate(".concat(Kc(e),",").concat(Wc(e),")"))},vu=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks.DEFAULT_LABEL_CHARACTER_LIMIT;return t.length>n},xu=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks.DEFAULT_LABEL_CHARACTER_LIMIT;return t.substring(0,n).concat("...")},bu=function(t,n){return mo("#".concat(Zs.labelPopupOverlay)).remove(),mo("#".concat(Zs.labelPopupTooltip)).attr("style","").selectAll("g").remove(),function(t){var n=document.querySelector("#".concat(Zs.labelPopupTooltip));return mo("body").append("div","#".concat(Zs.labelPopupTooltip)).attr("id",Zs.labelPopupOverlay).classed(Zs.labelPopupOverlay,!0).on("click",(function t(){mo(n).attr("style","display:none;").selectAll("g").remove(),mo("#".concat(Zs.labelPopupOverlay)).remove(),n.removeEventListener("click",t),window.removeEventListener("resize",t)})),"y2"===t?mo("#".concat(Zs.labelPopupTooltip)).style("left","".concat(ao.pageX-250,"px")).style("top","".concat(ao.pageY+5,"px")):mo("#".concat(Zs.labelPopupTooltip)).style("left","".concat(ao.pageX+5,"px")).style("top","".concat(ao.pageY+5,"px"))}(n).append("g").append("g").classed("popup-item",!0).append("g").classed("popup-text",!0).text(t)},Eu=function(t){return t.selectAll("svg").size()},Tu=function(t,n){return n.transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(cl(t),", ").concat(ll(t,Eu(n)),") rotate(").concat(il(ks.Y_AXIS),")"))},_u=function(t,n){return n.transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(fl(t),", ").concat(ul(t,Eu(n)),") rotate(").concat(il(ks.Y2_AXIS),")"))},Au=function(t,n){var e=n.append("g").classed(Zs.axisLabelYShapeContainer,!0);return e.attr("transform","translate(".concat(cl(t),", ").concat(ll(t,Eu(e)),")")),Tu(t,e),e},wu=function(t,n){var e=n.append("g").classed(Zs.axisLabelY2ShapeContainer,!0);return e.attr("transform","translate(".concat(fl(t),", ").concat(ul(t,Eu(e)),")")),_u(t,e),e},ku=function(t,n){return t.selectAll("svg").transition().call(ks.d3Transition(n.settingsDictionary.transition)).each((function(t,n){mo(this).attr("x",(function(){return ks.BASE_LABEL_ICON_SPACING*n}))}))},Iu=function(t,n,e){n.label&&n.label.display&&e&&(function(t,n){n.values.length>0&&(n.showShapes||void 0===n.showShapes?t.append((function(){return new sc(n.shape||Es.CIRCLE).getShapeElement(rc({svgStyles:"fill: ".concat(uu(n),";"),transformFn:function(t){return"scale(".concat(t,")")},a11yAttributes:{"aria-describedby":n.key}}))})):t.append((function(){return new sc("0"===n.style.strokeDashArray?ms:vs).getShapeElement(rc({svgStyles:"fill: ".concat(uu(n),'; stroke-dasharray: "').concat(n.style.strokeDashArray,'"'),transformFn:function(t){return"scale(".concat(t,")")},a11yAttributes:{"aria-describedby":n.key}}))})))}(e,n),ku(e,t))},Su=function(t,n,e){Fs.notEmpty(t)&&(hu(t,'svg[aria-describedby="'.concat(n.key,'"]')),ku(t,e))},Du=function(t,n){Mc(t.axis)&&Fs.notEmpty(n)&&(Tu(t,n[ks.Y_AXIS]),_u(t,n[ks.Y2_AXIS]))},Lu=function(){mo("body").append("div").attr("id",Zs.labelPopupTooltip).style("display","none").classed(Zs.labelPopupTooltip,!0)},Cu=function(){if(document.querySelector(".".concat(Zs.labelPopupTooltip))){var t=document.querySelector(".".concat(Zs.labelPopupTooltip));t.parentNode&&t.parentNode.removeChild(t)}},Nu=function(t,n,e){Su(t.axesLabelShapeGroup[e.config.yAxis],e.dataTarget,t.config),Fs.isEmpty(n.values)||Iu(t.config,e.dataTarget,t.axesLabelShapeGroup[e.config.yAxis])},Mu=function(t){if(!t)throw new Error(Ct);if(Fs.isDefined(t.format)&&!Fs.isFunction(t.format))throw new Error(Nt)},Ru=function(t){return Fs.sanitize(t)},Ou=function(t){return t.legendOptions&&!1===t.legendOptions.showElement&&Fs.isEmptyArray(t.values)?"none":""},Pu=function(t,n){return t.append((function(){return new sc(lu(n)).getShapeElement(rc({svgClassNames:n.legendOptions&&n.legendOptions.showLine?Zs.legendItemIconWithLine:Zs.legendItemIcon,svgStyles:"fill: ".concat(uu(n),";")}),!0)}))},Gu=function(t,n){n.legendOptions?((n.showShapes||void 0===n.showShapes)&&n.legendOptions.showShape&&Pu(t,n),n.legendOptions.showLine&&function(t,n){var e=t.append("svg").classed(n.legendOptions.showShape?Zs.legendItemLineWithIcon:Zs.legendItemLine,!0);e.append("line").attr("x2",ks.DEFAULT_LEGEND_LINE_WIDTH).classed(Zs.legendItemWhiteLine,!0),e.append("line").attr("x1",1).attr("x2",n.legendOptions.showShape?ks.DEFAULT_LEGEND_LINE_WIDTH_WITH_SYMBOL-1:ks.DEFAULT_LEGEND_LINE_WIDTH-1).attr("y1",ks.LEGEND_LINE_POSITION).attr("y2",ks.LEGEND_LINE_POSITION).attr("style","stroke: ".concat(uu(n),";\n stroke-dasharray: ").concat(n.legendOptions.style.strokeDashArray,";\n stroke-width: 1px;"))}(t,n)):Pu(t,n)},Fu=function(t,n,e,i){if(!Fs.isFunction(i.clickHandler))throw new Error("Invalid Argument: eventHandlers needs a clickHandler callback function.");if(!Fs.isFunction(i.hoverHandler))throw new Error("Invalid Argument: eventHandlers needs a hoverHandler callback function.");Mu(n.label);var a=Ru(n.label.display),r=e.shownTargets.indexOf(n.key),o=!!n.label.isDisabled||Fs.isEmptyArray(n.values),s=t.append("li").classed(Zs.legendItem,!0).attr("aria-current",o||r>-1).attr("aria-disabled",o).style("display",Ou(n)).attr("role","listitem").attr("aria-labelledby",a).attr("aria-describedby",n.key).style("margin",e.legendPadding.hasCustomLegendPadding&&0).style("padding","".concat(e.legendPadding.top,"px ").concat(e.legendPadding.right,"px ").concat(e.legendPadding.bottom,"px ").concat(e.legendPadding.left,"px"));!o&&r>-1&&s.on("click",(function(){return i.clickHandler(this,n)})).on("mouseenter",(function(){return i.hoverHandler(n,ks.HOVER_EVENT.MOUSE_ENTER)})).on("mouseleave",(function(){return i.hoverHandler(n,ks.HOVER_EVENT.MOUSE_EXIT)}));var c=s.append("button").classed(Zs.legendItemBtn,!0).attr("title",a).attr("tabindex",o?-1:0).append("span").attr("class",Zs.legendItemSpan);return Gu(c,n),s.append("label").classed(Zs.legendItemText,!0).attr("tabindex",-1).text(a),t},Uu=function(t,n){return hu(t,'li[aria-describedby="'.concat(n.key,'"]'))},Hu=function(t,n){return n.append("ul").classed(Zs.legend,!0).attr("role","list").style("flex-direction",t.bindLegendTo&&"column")},Bu=function(t){return"true"!==t.attr("aria-current")},Vu=function(t){var n=mo(t);return n.attr("aria-current",Bu(n))},Yu=function(t,n,e,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];t.filter((function(t){return t!==e})).forEach((function(r){n.selectAll('svg[aria-describedby="'.concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('path[aria-describedby="'.concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll(".".concat(Zs.pairedLine)).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('rect[aria-describedby="'.concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll(".".concat(Zs.barGoalLine,'[aria-describedby="region_').concat(r,'"]')).attr("aria-hidden",i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('[aria-describedby="text_label_'.concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),Fs.notEmpty(a)&&a.forEach((function(a){return a(t,n,e,i,r)}))}))},Xu=function(t,n,e,i){var a=e.hoverHandler;Mu(n.label);var r,o,s,c=(r=n.label.display,o=n.value,(s=n.label.format)?s(r,o):"".concat(Ru(r),": ").concat(o)),l=t.append("li").classed(Zs.pieLegendItem,!0).attr("role","listitem").attr("tabindex",0).attr("aria-labelledby",c).attr("aria-describedby",n.key).style("margin",i.legendPadding.hasCustomLegendPadding&&0).style("padding","".concat(i.legendPadding.top,"px ").concat(i.legendPadding.right,"px ").concat(i.legendPadding.bottom,"px ").concat(i.legendPadding.left,"px"));l.append((function(){return new sc(lu(n)).getShapeElement(rc({svgClassNames:Zs.pieLegendItemIcon,svgStyles:"fill: ".concat(uu(n),";")}),!0)})),l.append("label").classed(Zs.legendItemText,!0).text(c),l.on("mouseenter",(function(){return a(n,ks.HOVER_EVENT.MOUSE_ENTER)})).on("mouseleave",(function(){return a(n,ks.HOVER_EVENT.MOUSE_EXIT)}))},zu=function(t,n){var e=Hs(n.legendOptions,{showShape:!0,showLine:!1===n.showShapes,showElement:!0});return e.showShape=!1!==n.showShapes&&Hs(e.showShape,!0),e.showLine=Hs(e.showLine,!1),e.showElement=Hs(e.showElement,!0),e.style=Hs(e.style,{}),e.style.strokeDashArray?e.style={strokeDashArray:qs(e.style)}:!1===n.showShapes?e.style.strokeDashArray=n.style.strokeDashArray:e.style={strokeDashArray:qs(e.style)},e},ju=function(t,n){return Fs.isDefined(t.legendPadding)?{top:Hs(n.top,ks.LEGEND_PADDING.top),bottom:Hs(n.bottom,ks.LEGEND_PADDING.bottom),right:Hs(n.right,ks.LEGEND_PADDING.right),left:Hs(n.left,ks.LEGEND_PADDING.left),hasCustomLegendPadding:!0}:{top:ks.LEGEND_PADDING.top,bottom:ks.LEGEND_PADDING.bottom,right:ks.LEGEND_PADDING.right,left:ks.LEGEND_PADDING.left,hasCustomLegendPadding:!1}},Ku=function(t,n,e,i){var a=e.config.shownTargets.indexOf(n.key),r=!!n.label.isDisabled||Fs.isEmptyArray(n.values),o=t.select('li[aria-describedby="'.concat(n.key,'"]')).attr("aria-current",r||a>-1).attr("aria-disabled",r).style("display",Ou(n));return r?o.on("click",(function(){return null})).on("mouseenter",(function(){return null})).on("mouseleave",(function(){return null})):o.on("click",(function(){return i.clickHandler(this,n)})).on("mouseenter",(function(){return i.hoverHandler(n,ks.HOVER_EVENT.MOUSE_ENTER)})).on("mouseleave",(function(){return i.hoverHandler(n,ks.HOVER_EVENT.MOUSE_EXIT)})),t},Wu=function(t,n){if(Fs.isEmpty(t))throw new Error(K);if(Fs.isEmpty(t.start)&&Fs.isEmpty(t.end))throw new Error(J);if(Fs.notEmpty(t.axis)&&(t.axis!==ks.Y_AXIS&&t.axis!==ks.Y2_AXIS||t.axis!==n))throw new Error(W);if(Fs.isEmpty(t.axis)&&ks.Y_AXIS!==n)throw new Error(W);if(t.start&&!Fs.isNumber(t.start)||t.end&&!Fs.isNumber(t.end))throw new Error(q);if(Number(t.start)>Number(t.end))throw new Error(Z)},qu=function(t,n){return hu(t,'[aria-describedby="region_'.concat(n.key,'"]'),!0)},Ju=function(t){return t.axis||ks.Y_AXIS},Zu=function(t,n){return function(e){return e.end?Ml(t[Ju(e)](e.end))+Wc(n):Wc(n)}},$u=function(t,n,e,i){var a=i.height,r=Fs.getNumber(t.attr(ks.Y_AXIS));return(n.start?Ml(e[Ju(n)](n.start))+Wc(i):a+Wc(i))-r||ks.DEFAULT_REGION_LINE_STROKE_WIDTH},Qu=function(t,n,e,i,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ks.Y_AXIS;i.forEach((function(i){Wu(i,r),e.append("rect").datum(i).classed(Zs.region,!0).attr("aria-hidden",!1).attr("aria-describedby",a).attr("style",i.color?"fill: ".concat(i.color,";"):"").attr(ks.X_AXIS,Kc(n)).attr(ks.Y_AXIS,Zu(t,n)(i)).attr("width",Fc(n)).attr("height",(function(){return $u(mo(this),i,t,n)}))}))},td=function(t,n,e){return function(){var t=Ko,n=null,e=wo(0),i=Wo,a=wo(!0),r=null,o=jo,s=null;function c(c){var l,u,d,f,h,g=c.length,p=!1,y=new Array(g),m=new Array(g);for(null==r&&(s=o(h=Ao())),l=0;l<=g;++l){if(!(l=u;--d)s.point(y[d],m[d]);s.lineEnd(),s.areaEnd()}p&&(y[l]=+t(f,l,c),m[l]=+e(f,l,c),s.point(n?+n(f,l,c):y[l],i?+i(f,l,c):m[l]))}if(h)return s=null,h+""||null}function l(){return qo().defined(a).curve(o).context(r)}return c.x=function(e){return arguments.length?(t="function"==typeof e?e:wo(+e),n=null,c):t},c.x0=function(n){return arguments.length?(t="function"==typeof n?n:wo(+n),c):t},c.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:wo(+t),c):n},c.y=function(t){return arguments.length?(e="function"==typeof t?t:wo(+t),i=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:wo(+t),c):e},c.y1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:wo(+t),c):i},c.lineX0=c.lineY0=function(){return l().x(t).y(e)},c.lineY1=function(){return l().x(t).y(i)},c.lineX1=function(){return l().x(n).y(e)},c.defined=function(t){return arguments.length?(a="function"==typeof t?t:wo(!!t),c):a},c.curve=function(t){return arguments.length?(o=t,null!=r&&(s=o(r)),c):o},c.context=function(t){return arguments.length?(null==t?r=s=null:s=o(r=t),c):r},c}().curve(e).x((function(n){return t.x(n.x)})).y0((function(e){return t[n](e.start)})).y1((function(e){return t[n](e.end)}))},nd=function(t,n,e,i,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ks.Y_AXIS,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:As.LINEAR;return i.forEach((function(i){return e.append("g").attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")).append("path").attr("aria-describedby",a).attr("aria-hidden",!1).classed(Zs.region,!0).classed(Zs.valueRegion,1===i.values.length).datum(i.values).attr("style","fill: ".concat(i.color,"; \n stroke: ").concat(i.color,";")).attr("d",td(t,r,o))}))},ed=function(t,n,e){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ks.Y_AXIS,a=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:As.LINEAR;return a?e.selectAll(".".concat(Zs.region)).transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr("d",td(t,i,r)):e.selectAll(".".concat(Zs.region)).attr(ks.X_AXIS,Kc(n)).attr(ks.Y_AXIS,Zu(t,n)).transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr("width",Fc(n)).attr("height",(function(e){return $u(mo(this),e,t,n)}))},id=function(t){var n=t.selectAll(".".concat(Zs.region)).data(),e=n[0];return!n.some((function(t){return!(!Fs.isArray(e)&&!Fs.isArray(t))||e.start!==t.start||e.end!==t.end||e.axis!==t.axis}))},ad=function(t){return t.selectAll(".".concat(Zs.region)).attr("aria-hidden",!0)},rd=function(t,n){var e=0;return n.forEach((function(n){e+=t.includes(n.dataTarget.key)&&!Fs.isEmptyArray(n.dataTarget.values)?1:0})),1===e},od=function(t,n,e){var i=t.content,a=n.shownTargets,r=n.shouldHideAllRegion;rd(a,i)?function(t,n){n.forEach((function(n){return t.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(n,'"]')).attr("aria-hidden",(function(){return!("true"===mo(this).attr("aria-hidden"))}))}))}(e,a):function(t,n){t.shownTargets.length>1&&!t.shouldHideAllRegion&&id(n)?n.selectAll(".".concat(Zs.region)).attr("aria-hidden",!1):ad(n)}({shownTargets:a,shouldHideAllRegion:r},e)},sd=function(t,n,e,i){var a=i===ks.HOVER_EVENT.MOUSE_ENTER&&t.indexOf(e)>-1;n.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(e,'"]')).classed(Zs.regionHighlight,a)},cd=function(t,n){var e=n.posX,i=n.posY,a=n.scale,r=Fs.deepClone(t);return r.options.x=t.options.x*e,r.options.y=t.options.y*i,r.options.scale*=a,r},ld=function(t){return t.high?t.high:t.low?t.low:t.mid},ud=function(t,n,e){var i=mo(e);i.select("path").classed(Zs.dataPointDisplayEnable,(function(){return!mo(this).classed(Zs.dataPointDisplayEnable)})),i.selectAll("svg").classed(Zs.dataPointDisplayEnable,(function(){return!mo(this).classed(Zs.dataPointDisplayEnable)}));var a=i.select("rect");a.classed(Zs.dataPointDisplayEnable,!a.classed(Zs.dataPointDisplayEnable))},dd=function(t,n){return!(!n.high||!n.low)&&function(t,n){return t.shownTargets.indexOf(n.high.key)<0||t.shownTargets.indexOf(n.low.key)<0}(t,n)||function(t,n){return t.shownTargets.indexOf(ld(n).key)<0}(t,n)},fd=function(t,n,e,i){Fs.isEmpty(n.onClick)||function(t,n,e){var i=mo(e),a=i.select(".".concat(Zs.dataPointSelection));return i.attr("aria-selected",!("true"===i.attr("aria-selected"))),a.attr("aria-hidden",!("true"===a.attr("aria-hidden"))),dd(t,n)&&ud(0,0,e),a}(t,n,i).call((function(i){return n.onClick((function(){var e=i.node().parentNode;mo(e).attr("aria-selected",!1),i.attr("aria-hidden",!0),dd(t,n)&&ud(0,0,e)}),n.key,e,n,i)}))},hd=function(t,n,e){return t.attr("x",(function(t){return n.x(t.high.x)-ks.SELECTION_INDICATOR_X_POSITION})).attr("y",(function(t){return n[e.yAxis](t.high.y)-ks.SELECTION_INDICATOR_Y_POSITION})).attr("width",(function(t){return n.x(t.low.x)-n.x(t.high.x)+2*ks.SELECTION_INDICATOR_X_POSITION||2*ks.SELECTION_INDICATOR_X_POSITION})).attr("height",(function(t){return n[e.yAxis](t.low.y)-n[e.yAxis](t.high.y)+2*ks.SELECTION_INDICATOR_Y_POSITION}))},gd=function(t){return function(n){return function(e){var i;return"translate(".concat((i=n,t.x(ld(i).x)),",").concat(function(e){return t[n.yAxis](ld(e).y)}(n),") scale(").concat(e,")")}}},pd=function(t,n,e){return e.each((function(n){return n.high&&n.low?function(t,n,e,i){return hd(t.append("rect").classed(Zs.dataPointSelection,!0).attr("rx",3).attr("ry",3).attr("aria-hidden",!0).attr("aria-describedby",i.key),n,i)}(mo(this),t,0,n):function(t,n,e,i){return t.append((function(){return new sc(cd(Es.CIRCLE,ks.DEFAULT_PLOT_SELECTION_SCALE)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,transformFn:gd(n)(i),a11yAttributes:{"aria-hidden":!0,"aria-describedby":i.key}}))}))}(mo(this),t,0,n)}))},yd=function(t,n){return t?t[n]:""},md=function(t){return ks.PAIR_ITEM_TYPES.forEach(t)},vd=function(t,n){return qo().x((function(n){return t.x(n.x)})).y((function(e){return t[n.yAxis](e.y)})).curve(ks.DEFAULT_INTERPOLATION)([{x:n.high.x,y:n.high.y},{x:n.low.x,y:n.low.y}])},xd=function(t,n){return function(e){return function(i){var a;return"translate(".concat((a=e,t.x(yd(a,n).x)),",").concat(function(e){return t[e.yAxis](yd(e,n).y)}(e),") scale(").concat(i,")")}}},bd=function(t,n,e){return e.each((function(e,i){return mo(this).append("path").classed(Zs.pairedLine,!0).attr("aria-describedby",e.key).attr("aria-hidden",(function(t){return!function(t){var e,i;return t.high&&t.low&&Fs.hasValue(n.shownTargets,t.high.key)&&Fs.hasValue(n.shownTargets,t.low.key)&&!1!==(null===(e=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(t.high.key,'"]')))||void 0===e?void 0:e.getAttribute("aria-current"))&&!1!==(null===(i=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(t.low.key,'"]')))||void 0===i?void 0:i.getAttribute("aria-current"))}(t)})).attr("aria-disabled",!Fs.isFunction(e.onClick)).attr("d",e.high&&e.low?vd(t,e):"").on("click",(function(){fd(n,e,i,this.parentNode)}))}))},Ed=function(t,n,e,i){e.each((function(e,a){var r=mo(this);md((function(o){if(Fs.isDefined(yd(e,o))){var s=yd(e,o),c=r.append("g").classed(Zs.pointGroup,!0);s.isCritical&&(n.hasCriticality=!0,function(t,n,e,i,a,r){var o=function(e,i,a,r,o){return e.append((function(){var e;return new sc(lu(yd(a,i))).getShapeElement(rc({svgClassNames:"".concat(o),transformFn:xd(t,i)(a),onClickFn:function(){fd(n,a,r,this.parentNode.parentNode)},a11yAttributes:{"aria-hidden":"false"===(null===(e=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(yd(a,i).key,'"]')))||void 0===e?void 0:e.getAttribute("aria-current")),"aria-describedby":yd(a,i).key,"aria-disabled":!Fs.isFunction(a.onClick)}}))}))};o(e,i,a,r,"".concat(Zs.pairedPoint," ").concat(yd(Zs,i)," ").concat(Zs.criticalityOuterPoint)),o(e,i,a,r,"".concat(Zs.pairedPoint," ").concat(yd(Zs,i)," ").concat(Zs.criticalityInnerPoint))}(t,n,c,o,e,a)),function(e,a,r,o){e.append((function(){var e;return new sc(lu(yd(r,a))).getShapeElement(rc({svgClassNames:"".concat(Zs.pairedPoint," ").concat(yd(Zs,a)),svgStyles:"fill: ".concat(uu(yd(r,a)),";"),transformFn:xd(t,a)(r),onClickFn:function(){fd(n,r,o,this.parentNode.parentNode)},a11yAttributes:{"aria-hidden":i?"false"===(null===(e=i.select(".".concat(Zs.legendItem,"[aria-describedby='").concat(yd(r,a).key,"']")))||void 0===e?void 0:e.attr("aria-current")):"false","aria-describedby":yd(r,a).key,"aria-disabled":!Fs.isFunction(r.onClick)}}))}))}(c,o,e,a)}}))}))},Td=function(t){return t.internalValuesSubset},_d=function(t,n,e,i,a){var r=e.append("g").classed(Zs.pairedBoxGroup,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-describedby",i.key).selectAll(".".concat(Zs.pairedBox)).data(Td(i));r.enter().append("g").classed(Zs.pairedBox,!0).attr("aria-selected",!1).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")).call((function(e){pd(t,0,e),bd(t,n,e),Ed(t,n,e,a)})),r.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()},Ad=function(t,n){["high","mid","low"].forEach((function(e){var i=yd(n.label,e);i&&i.display&&(Fs.hasValue(t.shownTargets,"".concat(n.key,"_").concat(e))||t.shownTargets.push("".concat(n.key,"_").concat(e)))}))},wd=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.axis.x.type,a=function(t){if(!Nl(t,i))throw new Error(O);return Ks(t,i)},r={high:[],low:[],mid:[]},o={high:{color:void 0,values:[]},low:{color:void 0,values:[]},mid:{color:void 0,values:[]}};!e&&n.values.length<1&&Ad(t,n),n.internalValuesSubset=n.values.map((function(i){var s={};return md((function(c){if(Fs.isDefined(yd(i,c))){var l=yd(i,c);s[c]={x:a(l.x),y:Fs.getNumber(l.y),isCritical:l.isCritical||!1,color:yd(n.color,c)||ks.DEFAULT_COLOR,label:yd(n.label,c)||{},shape:yd(n.shape,c)||Es.CIRCLE,key:"".concat(n.key,"_").concat(c)},Fs.hasValue(t.shownTargets,s[c].key)||e||t.shownTargets.push(s[c].key),Fs.isEmpty(l.region)||Fs.isEmpty(l.region.start)||Fs.isEmpty(l.region.end)?o[c].values.length>0&&(r[c].push(o[c]),o[c]={color:void 0,values:[]}):(o[c].color!==l.region.color&&(o[c].values.length>0&&r[c].push(o[c]),o[c]={color:l.region.color,values:[]}),o[c].color=l.region.color,o[c].values.push({x:a(l.x),start:l.region.start,end:l.region.end}))}})),s.yAxis=n.yAxis||ks.Y_AXIS,s.onClick=n.onClick,s.key=n.key,s}));var s={high:[],low:[],mid:[]},c=!1;return md((function(t){o[t].values.length>0&&r[t].push(o[t]),r[t].forEach((function(n){c=!0,s[t].push(n),n.values.length>1&&(s[t].push({color:n.color,values:n.values.slice(0,1)}),s[t].push({color:n.color,values:n.values.slice(n.values.length-1)}))}))})),n.valueRegionSubset=c?s:void 0,n.legendOptions=zu(0,n),n},kd=function(t,n){return n.each((function(){return mo(this).select(".".concat(Zs.pairedLine)).attr("aria-hidden",(function(n){return!function(n){var e,i;return n.high&&n.low&&Fs.hasValue(t.shownTargets,n.high.key)&&Fs.hasValue(t.shownTargets,n.low.key)&&"true"===(null===(e=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(n.high.key,'"]')))||void 0===e?void 0:e.getAttribute("aria-current"))&&"true"===(null===(i=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(n.low.key,'"]')))||void 0===i?void 0:i.getAttribute("aria-current"))}(n)}))}))},Id=function(t,n,e){!function(t,n,e){n.selectAll(".".concat(Zs.pairedBoxGroup," rect.").concat(Zs.dataPointSelection)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).each((function(n){return hd(mo(this).transition().call(ks.d3Transition(e.settingsDictionary.transition)),t,n)}))}(t,n,e),function(t,n,e){n.selectAll(".".concat(Zs.pairedBoxGroup," .").concat(Zs.dataPointSelection)).each((function(n){return mo(this).select("g").transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform",(function(){return gd(t)(n)(Pl(this))}))}))}(t,n,e),function(t,n,e){n.selectAll(".".concat(Zs.pairedBoxGroup," .").concat(Zs.pairedLine)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("d",(function(n){return n.high&&n.low?vd(t,n):""}))}(t,n,e),function(t,n,e){md((function(i){n.selectAll(".".concat(Zs.pairedBoxGroup," .").concat(Zs.pairedPoint,".").concat(yd(Zs,i))).each((function(n){mo(this).select("g").transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform",(function(){return xd(t,i)(n)(Pl(this))}))}))}))}(t,n,e)},Sd=function(t,n){var e=[];return t.shownTargets.forEach((function(t){n.contentKeys.forEach((function(n){t.includes(n)&&!e.includes(n)&&e.push(n)}))})),rd(e,n.content)},Dd=function(t,n,e,i){var a=i.key;Sd(n,t)?n.shownTargets.concat([a]).forEach((function(t){!function(t,n,e){t.selectAll(".".concat(Zs.region,'[aria-describedby="').concat(n,'"]')).attr("aria-hidden",!e)}(e,"region_".concat(t),n.shownTargets.indexOf(t)>-1)})):!n.shouldHideAllRegion&&n.shownTargets.length>0&&id(e)?e.selectAll(".".concat(Zs.region)).attr("aria-hidden",!1):ad(e)},Ld=function(t,n,e,i){return function(n,a){Vu(n);var r,o,s,c=Bu(mo(n));o=a,(s=(r=e.shownTargets).indexOf(o.key))>-1?r.splice(s,1):r.push(o.key),i.selectAll('path[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",c),i.selectAll(".".concat(Zs.pairedPoint,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",c);var l="url(#".concat(e.clipPathId,")");vo(".".concat(Zs.pairedBoxGroup)).each((function(){if(mo(this).attr("clip-path").replace(/['"]+/g,"")===l){var t=mo(this).selectAll(".".concat(Zs.pairedBox));kd(e,t)}})),window.requestAnimationFrame(function(t,n,e,i){return function(){Dd(t,n,e,i)}}(t,e,i,a))}},Cd=function(t,n){return function(e,i){Yu(t.shownTargets,n,e.key,i,[function(t,n,e,i,a){n.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(a,'"]')).classed(Zs.regionBlur,i===ks.HOVER_EVENT.MOUSE_ENTER)}]),n.selectAll('path[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll(".".concat(Zs.pairedPoint,'[aria-describedby="').concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),sd(t.shownTargets,n,e.key,i)}},Nd=function(t,n,e,i){e.label&&i&&md((function(a){var r=yd(e.label,a);r&&r.display&&Fu(i,function(t,n){return{shape:yd(t.shape,n),color:yd(t.color,n),label:yd(t.label,n),key:"".concat(t.key,"_").concat(n),values:e.values,legendOptions:e.legendOptions}}(e,a),t,n)}))},Md=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},Rd=function(t,n){Fs.isArray(t)?t.forEach((function(t){return n(t)})):n(t)},Od=function(t){t.map((function(t){if(Fs.isEmpty(t.y))throw new Error(j)}))},Pd=function(t){t.map((function(t){md((function(n){if(Fs.isDefined(yd(t,n))&&Fs.isEmpty(t[n].y))throw new Error(j)}))}))},Gd=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){return Us(this.input),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Fd=Gd,Ud=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(arguments.length>1?arguments[1]:void 0).color||ks.DEFAULT_BAR_COLOR,e="fill: ".concat(n,"; stroke: ").concat(n,";");return Fs.isEmpty(t)||(!0===t.isDotted&&(e="".concat(e,"; stroke-width: 1; stroke-dasharray: 2, 2;")),!0===t.isHollow&&(e="".concat(e," fill: ").concat(xs.WHITE,"; stroke-width: 1;")),!0===t.isHashed&&(e="".concat(e," stroke-width: 1;"))),e},Hd=function(t,n,e,i,a){return t.append("rect").attr("x",n).attr("y",e).attr("width",i).attr("height",a)},Bd=function(t,n,e,i,a,r){return Hd(t,n,e,i,a).classed(Zs.taskBar,!0).attr("style",r),t},Vd=function(t,n,e,i,a,r){return Bd(t,n,e,ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH,a,r),t},Yd=function(t,n,e,i,a,r,o,s){return(Fs.isEmpty(n)||n.empty())&&t.append("defs"),t.select("#".concat("pattern-stripe")).empty()&&n.append("pattern").attr("id","pattern-stripe").attr("patternUnits","userSpaceOnUse").attr("patternTransform","rotate(45)").attr("width",ks.DEFAULT_GANTT_TASK_STRIPE_WIDTH).attr("height",o).attr("style","fill: ".concat(ks.DEFAULT_BAR_STRIPE_COLOR,";")).append("rect").attr("width",ks.DEFAULT_GANTT_TASK_STRIPE_DISTANCE).attr("height",o),Hd(e,i,a,r,o).classed(Zs.taskBar,!0).attr("style",s||"fill: ".concat(ks.DEFAULT_TASK_BAR_HASH_COLOR,";")),Hd(e,i,a,r,o).classed(Zs.taskBar,!0).attr("style","fill: url(#".concat("pattern-stripe",");")),e},Xd=function(t,n,e){var i=n.x0.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.LEFT_SHIFT_OFFSET_RATIO,a=n.x1(e.group),r=n.x1.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.REGION_LEFT_SHIFT_OFFSET_PADDING_RATIO;return t.x(e.x)+a-i+r},zd=function(t,n,e,i){if(Wu(t,n),Fs.isEmpty(t.x)&&!Fs.isDateInstance(t.x))throw new Error(At);if(!Nl(t.x,i))throw new Error(kt);if(!e.filter((function(n){return Fs.isEqual(n,t.x)})).length)throw new Error(wt)},jd=function(t){return t.axis||ks.Y_AXIS},Kd=function(t){return function(n){return n.end?Ml(t[jd(n)](n.end)):0}},Wd=function(t,n,e,i){var a=n.end?Ml(e[jd(n)](n.end)):0;return(n.start?Ml(e[jd(n)](n.start))+ks.DEFAULT_GOAL_LINE_STROKE_WIDTH:i.height+ks.DEFAULT_GOAL_LINE_STROKE_WIDTH)-a||ks.DEFAULT_GOAL_LINE_STROKE_WIDTH},qd=ks.DEFAULT_BAR_SELECTION_PADDING,Jd=function(t,n,e){n.selectAll(".".concat(Zs.taskBarSelection)).each((function(n){var i=t.filter((function(t){return e.axis.x.type===_s.TIME_SERIES?t.x.toISOString()===n.x:t.x===n.x}));Fs.notEmpty(i)&&n.valueSubsetArray.push(i[0])}))},Zd=function(t,n,e,i){return e.selectAll(".".concat(Zs.taskBarSelection)).each((function(a,r){var o=function(t,n,e,i){var a=af(t,n),r=i.filter((function(t){return e.indexOf(t.key)>-1})),o=function(t){var n=0;if(Fs.notEmpty(t)){var e=Math.max(0,t[0].y+t[0].y0);t.forEach((function(t,i){var a=Math.max(0,t.y+t.y0);e<=a&&(n=i,e=a)}))}return n}(r),s=function(t){var n=0;if(Fs.notEmpty(t)){var e=Math.min(0,t[0].y+t[0].y0);t.forEach((function(t,i){var a=Math.min(0,t.y+t.y0);e>=a&&(n=i,e=a)}))}return n}(r),c=function(t){var n=0;if(Fs.notEmpty(t)){var e=0;t.forEach((function(t,i){var r=Math.max(e,a.x(t));r>e&&(n=i,e=r)}))}return n}(r),l=Fs.notEmpty(r)?a.x(r[0]):0,u=Fs.notEmpty(r)?a.y(r[o]):0,d=Fs.notEmpty(r)?a.x(r[c])+a.width():0,f=Fs.notEmpty(r)?a.y(r[s])+a.height(r[s]):0;return{x:function(){return Fs.notEmpty(r)?l-qd:0},y:function(){return Fs.notEmpty(r)?u-qd:0},height:function(){return Fs.notEmpty(r)?f-u+2*qd:0},width:function(){return Fs.notEmpty(r)?d-l+2*qd:0}}}(t,n,i.shownTargets,a.valueSubsetArray);e.select("rect[aria-describedby=bar-selector-".concat(r,"]")).transition().call(ks.d3Transition(i.settingsDictionary.transition)).attr("x",o.x()).attr("y",o.y()).attr("height",o.height()).attr("width",o.width())}))},$d=function(t,n){return n.some((function(n){return t.indexOf(n.x)<0}))},Qd=function(t,n){if(Fs.isEmpty(t.axis.x.ticks)||Fs.isEmpty(t.axis.x.ticks.values))throw new Error(_t);if(e=t.axis.x.type,n.values.some((function(t){return!Nl(t.x,e)})))throw new Error(O);var e;if($d(t.axis.x.ticks.values,n.values))throw new Error(Tt);if(Fs.isDefined(n.axisInfoRow)){if(Fs.isEmpty(n.axisInfoRow))throw new Error(It);if($d(t.axis.x.ticks.values,n.axisInfoRow))throw new Error(St);if(n.axisInfoRow.some((function(t){return Fs.isUndefined(t.value)})))throw new Error(Dt);if(function(t){return t.some((function(t){return Fs.isUndefined(t.value.label)||Fs.isUndefined(t.value.label.display)}))}(n.axisInfoRow))throw new Error(Lt)}return t.shownTargets.push(n.key),function(t,n){var e=t.axis.x.type;return Fs.notEmpty(n.axisInfoRow)&&(n.axisInfoRow.forEach((function(t){t.group=n.group})),t.axisInfoRowLabelHeight||(t.axisInfoRowLabelHeight=function(t){return t.axisInfoRow.some((function(t){return t.value.label.secondaryDisplay}))}(n)?2*xl("dummyString"):xl("dummyString"),t.padding.bottom+=t.axisInfoRowLabelHeight)),n.internalValuesSubset=n.values.map((function(t){var i,a=!!n.style&&n.style.isHashed;return{onClick:n.onClick,x:(i=t.x,Bs(e)===_s.TIME_SERIES?Fs.parseDateTime(i):Fs.getNumber(i)),y:t.y,y0:0,color:n.color||xs.BLUE,label:n.label,yAxis:n.yAxis||ks.Y_AXIS,key:n.key,isHashed:t.style?t.style.isHashed:a,style:Ud(t.style?t.style:n.style,n),group:n.group}})),n.shape=Es.SQUARE,n.color=n.color||xs.BLUE,n}(t,n)},tf=function(t){return t.axisSizes.y+t.axisLabelWidths.y},nf=function(t,n){t.attr("aria-hidden",!n),t.attr("aria-selected",n)},ef=function(t,n,e,i,a,r){Fs.isEmpty(t.onClick)||function(t,n,e,i){var a=n.select("rect[aria-describedby=bar-selector-".concat(e===_s.TIME_SERIES?i.indexOf(new Date(t.x).toISOString()):i.indexOf(t.x),"]")),r="true"===a.attr("aria-hidden");return nf(a,r),a}(t,e,i,a).call((function(e){return t.onClick((function(){nf(e,!1)}),t.key,n,r,e)}))},af=function(t,n){var e=n.x0.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.LEFT_SHIFT_OFFSET_RATIO,i=n.x1.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.LEFT_SHIFT_OFFSET_PADDING_RATIO;return{x:function(a){var r=n.x1(a.group);return function(n,a){return t.x(n)+i+a-e}(a.x,r||0)||0},y:function(n){return n.y<0?t[n.yAxis](n.y0):t[n.yAxis](n.y+n.y0)},height:function(n){return Math.abs(t[n.yAxis](0)-t[n.yAxis](+n.y))},width:function(){return n.x1.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.WIDTH_RATIO}}},rf=function(t,n,e,i,a,r,o){var s=af(t,n);return a.append("g").classed(Zs.bar,!0).each((function(a,c){var l=mo(this);if((a.isHashed?Yd(i,i.append("defs"),l,s.x(a),s.y(a),s.width(),s.height(a),a.style).selectAll("rect"):Hd(l,s.x(a),s.y(a),s.width(),s.height(a)).attr("style","".concat(a.style))).attr("aria-describedby",a.key).classed(Zs.taskBar,!0).attr("aria-hidden",e.shownTargets.indexOf(a.key)<0).attr("aria-disabled",!Fs.isFunction(a.onClick)).on("click",(function(t){ef(t,c,i,e.axis.x.type,e.axis.x.ticks.values,function(t,n,e){return t.select("rect[aria-describedby=bar-selector-".concat(e.axis.x.type===_s.TIME_SERIES?e.axis.x.ticks.values.indexOf(new Date(n.x).toISOString()):e.axis.x.ticks.values.indexOf(n.x),"]")).datum().valueSubsetArray.filter((function(t){return e.shownTargets.indexOf(t.key)>-1}))}(i,t,e))})),Fs.notEmpty(r)){var u=r.filter((function(t){return Fs.isEqual(t.x,a.x)}));Fs.notEmpty(u)&&function(t,n,e,i,a){var r=e.selectAll("g").data(i);r.enter().append("rect").classed(Zs.region,!0).classed(Zs.barGoalLine,!0).attr("aria-hidden",n.shownTargets.indexOf(a)<0).attr("aria-describedby","region_".concat(a)).attr("style",(function(t){return"fill: ".concat(t.color||ks.DEFAULT_BAR_REGION_COLOR,"; pointer-events: none")})).attr(ks.X_AXIS,(function(t){return t.xRange||0})).attr(ks.Y_AXIS,Kd(t)).attr("width",(function(t){return t.width||0})).attr("height",(function(e){return Wd(mo(this),e,t,n)})),r.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()}(t,e,l,u,a.key)}if(Fs.notEmpty(o)){var d=o.filter((function(t){return Fs.isEqual(t.x,a.x)}));Fs.notEmpty(d)&&hf(n,t,e,i,d[0],a.key,o.indexOf(d[0]))}}))},of=function(t,n,e,i,a){i.select(".".concat(Zs.barSelectionGroup)).empty()&&function(t,n,e,i){var a=e.axis.x.ticks.values.map((function(t){return{x:t,valueSubsetArray:[]}})),r=i.append("g").classed(Zs.barSelectionGroup,!0).attr("transform","translate(".concat(tf(e),",").concat(Wc(e),")")).selectAll("".concat(Zs.taskBarSelection)).data(a);r.enter().append("rect").attr("aria-hidden",!0).classed(Zs.taskBarSelection,!0).attr("aria-describedby",(function(t){return"bar-selector-".concat(a.indexOf(t))})).attr("rx",3).attr("ry",3),r.exit().transition().call(ks.d3Transition(e.settingsDictionary.transition)).remove()}(0,0,e,i);var r=i.append("g").classed(Zs.barGraphContent,!0).attr("clip-path","url(#".concat(e.clipPathId,")")).attr("aria-hidden",e.shownTargets.indexOf(a.key)<0).attr("aria-describedby",a.key).append("g").classed(Zs.currentBarsGroup,!0).attr("transform","translate(".concat(tf(e),",").concat(Wc(e),")")).data([a]).selectAll(".".concat(Zs.bar)).data(a.internalValuesSubset);rf(t,n,e,i,r.enter(),a.regions,a.axisInfoRow)},sf=function(t,n){return hu(t,'g[aria-describedby="'.concat(n,'"]'))},cf=function(t,n,e){return Fs.isDefined(e)&&e-1?r.splice(s,1):r.push(o.key),e.shownTargets.length>=1?(i.selectAll('g[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",Bu(mo(n))),i.selectAll(".".concat(Zs.taskBar,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",Bu(mo(n))),i.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(a.key,'"]')).attr("aria-hidden",(function(){return!("true"===mo(this).attr("aria-hidden"))})),nf(i.selectAll(".".concat(Zs.taskBarSelection)),!1),window.requestAnimationFrame(pf(t))):(i.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(a.key,'"]')).attr("aria-hidden",(function(){return!("true"===mo(this).attr("aria-hidden"))})),i.selectAll('g[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",Bu(mo(n))),nf(i.selectAll(".".concat(Zs.taskBarSelection)),!1),window.requestAnimationFrame(pf(t)))}},mf=function(t,n){return function(e,i){Yu(t,n,e.key,i,[])}},vf=function(t,n){var e=[];return Fs.notEmpty(t)&&t.forEach((function(t){var i;t instanceof Af&&n.indexOf(t.config.key)>-1&&(i=t.config.group,e.indexOf(i)<0&&e.push(i))})),e},xf=function(t,n,e){Fs.notEmpty(n.axis.x.ticks)&&Fs.notEmpty(n.axis.x.ticks.values)&&(t.x0=Re().domain(n.axis.x.ticks.values).range(gl(n)).paddingInner(function(t,n){return ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.OUTER_PADDING_RATIO/(3*vf(t,n).length+ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.OUTER_PADDING_RATIO)}(e,n.shownTargets)),t.x1=Re())},bf=function(t,n,e,i,a){var r=a.shownTargets,o=n.filter((function(t){return t.key===e.config.key||t.group===e.config.group&&-1!==r.indexOf(t.key)}));!function(t,n){t.forEach((function(t){var e=0,i=0;n.forEach((function(n){var a=n.values.filter((function(n){return Fs.isEqual(n.x,t.x)}));a.length>0&&(a[0].y>0?e+=a[0].y:i+=a[0].y)})),t.y0=t.y<0?i:e}))}(e.dataTarget.internalValuesSubset,o.splice(o.indexOf(e.config)+1)),function(t,n,e,i){Fs.isEmpty(n)||Fs.isEmpty(t)||Fs.isEmpty(i.axis.x.ticks)||Fs.isEmpty(i.axis.x.ticks.values)||e.x1.domain(t).range([0,e.x0.bandwidth()])}(vf(t,a.shownTargets),t,i,a)},Ef=function(t){var n=Math.min.apply(Math,f()(t.map((function(t){return t.y})))),e=Math.max.apply(Math,f()(t.map((function(t){return t.y}))));return{min:n<0?n:0,max:e>0?e:0}},Tf=function(t){return t.config={},t.bandScale={x0:{},x1:{}},t.dataTarget={},t.valuesRange={},t},_f=function(t){function n(n){var e,i,a;return e=t.call(this)||this,Tf(c()(e)),e.config=(i=n,(new Fd).setInput(i).validateInput().clone().getConfig()),e.type="Bar",e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.config.axisPadding=!1,e.valuesRange={},e.valuesRange.x=(a=e.config.values.filter((function(t){return null!==t.x&&void 0!==t.x})).map((function(t){return"string"==typeof t.x||t.x instanceof Date?Fs.getEpocFromDateString(t.x):t.x})),{min:Math.min.apply(Math,f()(a)),max:Math.max.apply(Math,f()(a))}),e.valuesRange[e.config.yAxis]=Ef(e.config.values),e}u()(n,t);var e=n.prototype;return e.load=function(t){var n,e;return Od(this.config.values),n=this.config,e=t.content,Fs.isEmpty(n.group)?n.group=n.key:e.filter((function(t){return t.config.key===n.group})).length||(n.group=n.key),xf(this.bandScale,t.config,t.content),this.dataTarget=Qd(t.config,this.config),of(t.scale,this.bandScale,t.config,t.svg,this.dataTarget),Jd(this.dataTarget.internalValuesSubset,t.svg,t.config),function(t,n,e,i){e.label&&e.label.display&&i&&Fu(i,e,t,n)}(t.config,{clickHandler:yf(t,0,t.config,t.svg),hoverHandler:mf(t.config.shownTargets,t.svg)},this.dataTarget,t.legendSVG),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this},e.unload=function(t){var n,e;return sf(t.svg,this.dataTarget.key),Uu(t.legendSVG,this.dataTarget),Su(t.axesLabelShapeGroup[this.config.yAxis],this.dataTarget,t.config),gf(t.svg.select(".".concat(Zs.axisInfoRow)),this.dataTarget.key),n=t.svg,e=this.dataTarget.key,n.selectAll(".".concat(Zs.taskBarSelection)).each((function(t){var n=t.valueSubsetArray.findIndex((function(t){return t.key===e}));n>-1&&t.valueSubsetArray.splice(n,1)})),Tf(this),this},e.resize=function(t){var n,e,i,a,r,o;return xf(this.bandScale,t.config,t.content),bf(t.content,t.contentConfig,this,this.bandScale,t.config),n=t.scale,e=this.bandScale,i=t.svg,a=this.dataTarget,r=t.config,o=af(n,e),Zd(n,e,i,r),i.selectAll("rect[aria-describedby=".concat(a.key,"]")).transition().call(ks.d3Transition(r.settingsDictionary.transition)).attr("x",(function(t){return o.x(t)})).attr("y",(function(t){return o.y(t)})).attr("width",o.width()).attr("height",(function(t){return o.height(t)})),Fs.notEmpty(this.dataTarget.axisInfoRow)&&function(t,n,e,i,a,r){var o=af(n,t);i.select(".".concat(Zs.axisInfoRow)).selectAll('g[aria-describedby="text_label_'.concat(r.key,'"]')).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform",(function(t,n){return"translate(".concat(cf(o,a,n),", ").concat(lf(e),")")}))}(this.bandScale,t.scale,t.config,t.svg,this.dataTarget.axisInfoRow,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&(function(t,n,e,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ks.Y_AXIS,r=n.x1.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.REGION_WIDTH_RATIO;i.regions.forEach((function(o){zd(o,a,e.axis.x.ticks.values,e.axis.x.type),o.x=Ks(o.x,e.axis.x.type),o.group=i.group,o.xRange=Xd(t,n,o),o.width=r}))}(t.scale,this.bandScale,t.config,this.dataTarget,this.config.yAxis),function(t,n,e){e.transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr(ks.X_AXIS,(function(t){return t.xRange||0})).attr(ks.Y_AXIS,Kd(t)).attr("width",(function(t){return t.width||0})).attr("height",(function(e){return Wd(mo(this),e,t,n)}))}(t.scale,t.config,t.svg.selectAll("rect[aria-describedby=region_".concat(this.dataTarget.key,"]")))),this},e.reflow=function(t,n){var e={clickHandler:yf(t,0,t.config,t.svg),hoverHandler:mf(t.config.shownTargets,t.svg)};this.config.values=n.values,Od(this.config.values),this.dataTarget=Qd(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.config.axis.x.ticks.values.map((function(t){return{x:t,valueSubsetArray:[]}}));Nu(t,n,this),xf(this.bandScale,t.config,t.content);var o=t.svg.select(".".concat(Zs.barSelectionGroup)).selectAll(".".concat(Zs.taskBarSelection)).data(r);o.enter().append("rect").attr("aria-hidden",!0).classed(Zs.taskBarSelection,!0).attr("aria-describedby",(function(t){return"bar-selector-".concat(r.indexOf(t))})).attr("rx",3).attr("ry",3),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),Jd(this.dataTarget.internalValuesSubset,t.svg,t.config);var s=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select('[class="'.concat(Zs.currentBarsGroup,'"]')).data([this.dataTarget]);s.selectAll(".".concat(Zs.bar)).data(this.dataTarget.internalValuesSubset).exit().remove();var c=s.selectAll(".".concat(Zs.bar," > rect")).data(this.dataTarget.internalValuesSubset);rf(t.scale,this.bandScale,t.config,t.svg,c.enter(),this.dataTarget.regions,this.dataTarget.axisInfoRow),this.resize(t),this.valuesRange[this.config.yAxis]=Ef(this.config.values),this.resize(t)},e.redraw=function(t){return sf(t.svg,this.dataTarget.key),gf(t.svg.select(".".concat(Zs.axisInfoRow)),this.dataTarget.key),of(t.scale,this.bandScale,t.config,t.svg,this.dataTarget),this},n}(Js),Af=_f,wf=function(){function t(){}var n=t.prototype;return n.generate=function(t){throw new Error(h)},n.loadContent=function(t){throw new Error(g)},n.unloadContent=function(t){throw new Error(p)},n.resize=function(){throw new Error(y)},n.destroy=function(){throw new Error(m)},t}(),kf=function(t){var n=t.node(),e=window.getComputedStyle(n),i=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight);return parseFloat(e.marginLeft)+parseFloat(e.marginRight)+i},If=e(15),Sf=e.n(If),Df=function(t,n){var e=Fs.deepClone(t.axis);return n.clipPathId=Vs(),n.datelineClipPathId=Ys(),n.bindTo=t.bindTo,n.bindLegendTo=t.bindLegendTo,n.padding=function(t,n){return Fs.isDefined(t.padding)?{top:Hs(n.top,ks.PADDING.top),bottom:Hs(n.bottom,ks.PADDING.bottom),right:Hs(n.right,ks.PADDING.right),left:Hs(n.left,ks.PADDING.trackLabel),hasCustomPadding:!0}:{top:ks.PADDING.top,bottom:ks.PADDING.bottom,right:ks.PADDING.right,left:ks.PADDING.trackLabel,hasCustomPadding:!1}}(n,t.padding),n.legendPadding=ju(n,t.legendPadding),n.axis={x:{},y:{}},n.d3Locale=Hs(t.locale,dc),n.throttle=Hs(t.throttle,ks.RESIZE_THROTTLE),n.dateline=Hs(Fs.deepClone(t.dateline),[]),n.eventline=Hs(Fs.deepClone(t.eventline),[]),n.actionLegend=Hs(Fs.deepClone(t.actionLegend),[]),n.settingsDictionary=function(t){return Ws(t)?{shouldClamp:!1,transition:ks.D3_TRANSITION_PROPERTIES_DISABLED,shouldCreateDatelineDefs:!0}:{shouldClamp:!0,transition:ks.D3_TRANSITION_PROPERTIES_ENABLED,shouldCreateDatelineDefs:!1}}(t),n.showActionLegend=Hs(t.showActionLegend,!1),n.axis.x=Sf()(e.x,{type:_s.TIME_SERIES,show:Hs(e.x.show,!0),ticks:Hs(e.x.ticks,{}),domain:js(_s.TIME_SERIES,e.x.lowerLimit,e.x.upperLimit),rangeRounding:Hs(e.x.rangeRounding,!0)}),n.axis.y={show:!e.y||Hs(e.y.show,!0),trackCount:0,trackList:{},rangeRounding:!!e.y&&Hs(e.y.rangeRounding,!0)},n.shownTargets=[],n},Lf=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){if(Fs.isEmpty(this.input))throw new Error(_);if(Fs.isEmpty(this.input.bindTo))throw new Error(T);if(Fs.isEmpty(this.input.axis)||Fs.isEmpty(this.input.axis.x))throw new Error(L);if(Fs.isEmpty(this.input.axis.x.lowerLimit)||Fs.isEmpty(this.input.axis.x.upperLimit))throw new Error(C);if(!Fs.isDate(this.input.axis.x.lowerLimit)||!Fs.isDate(this.input.axis.x.upperLimit))throw new Error(R);return Fs.notEmpty(this.input.dateline)&&this.input.dateline.forEach((function(t){Vl(t)})),Fs.notEmpty(this.input.eventline)&&this.input.eventline.forEach((function(t){jl(t)})),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Cf=Lf,Nf=function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error($);if(Fs.isEmpty(t.startDate)&&Fs.isEmpty(t.endDate))throw new Error(Q);if((Fs.isEmpty(t.startDate)||Fs.isEmpty(t.endDate))&&Fs.isEmpty(t.duration))throw new Error(tt);if(t.startDate&&!Fs.isDate(t.startDate)||t.endDate&&!Fs.isDate(t.endDate))throw new Error(nt);if(Fs.getTime(t.startDate)>Fs.getTime(t.endDate))throw new Error(et)},Mf=function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(rt);if(Fs.isEmpty(t.startDate)&&Fs.isEmpty(t.endDate))throw new Error(ot);if((Fs.isEmpty(t.startDate)||Fs.isEmpty(t.endDate))&&Fs.isEmpty(t.duration))throw new Error(st);if(t.startDate&&!Fs.isDate(t.startDate)||t.endDate&&!Fs.isDate(t.endDate))throw new Error(ct);if(Fs.getTime(t.startDate)>Fs.getTime(t.endDate))throw new Error(lt)},Rf=function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(I);if(Fs.isEmpty(t.values))throw new Error(w)},Of=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ud(t.style,{color:t.color})},Pf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.color||xs.BLUE,e="fill: ".concat(n,"; fill-opacity: ").concat(ks.DEFAULT_GANTT_ACTIVITY_OPACITY,"; stroke-width: 1px; stroke: ").concat(n);return Fs.isEmpty(t.style)||!0===t.style.isHashed&&(e="fill: ".concat(t.color||ks.DEFAULT_ACTIVITY_BAR_HASH_COLOR,"; fill-opacity: ").concat(ks.DEFAULT_GANTT_ACTIVITY_OPACITY,";")),e},Gf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0;return Fs.isEmpty(n)?Fs.parseDateTime(Fs.getTime(e)-t):Fs.parseDateTime(n)},Ff=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0;return Fs.isEmpty(e)?Fs.parseDateTime(Fs.getTime(n)+t):Fs.parseDateTime(e)},Uf=function(t,n){return Fs.getTime(n)-Fs.getTime(t)==0},Hf=function(t,n){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:100)*(n-t)/100},Bf=function(t,n,e){var i=e.duration?function(t){if(t&&!Fs.isFunction(t))throw new Error(ut);var n=t();if("number"!=typeof n)throw new Error(dt);return n}(e.duration):0;return{y:n.display,startDate:Gf(i,e.startDate,e.endDate),endDate:Ff(i,e.startDate,e.endDate),dependencies:e.dependencies,color:e.color||xs.BLUE,label:e.label||null,key:e.key,style:Pf(e),isHashed:Fh(e.style),clickPassThrough:!!Fs.isDefined(t.clickPassThrough)&&t.clickPassThrough.activities}},Vf=function(t,n,e){return{path:mo(e),x:t.x(n.startDate),y:t.y(n.y)+ks.DEFAULT_GANTT_ACTIVITY_PADDING.top,width:t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH,height:ks.DEFAULT_GANTT_ACTIVITY_HEIGHT}},Yf=function(t,n,e,i,a,r){return Hd(t,n,e,i,a).classed(Zs.activityBar,!0).attr("style",r),t},Xf=function(t,n,e,i,a,r){return Yf(t,n,e,ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH,a,r),t},zf=function(t,n,e){var i=Vf(t,n,e);(Uf(n.startDate,n.endDate)?Xf:Yf)(i.path,i.x,i.y,i.width,i.height,n.style).attr("pointer-events",(function(){return n.clickPassThrough?"none":"auto"}))},jf=function(t,n,e,i){var a=Vf(n,e,i);(function(t,n,e,i,a,r,o,s){var c="pattern-stripe-gantt-activity";return(Fs.isEmpty(n)||n.empty())&&t.append("defs"),t.select("#".concat(c)).empty()&&n.append("pattern").attr("id",c).attr("patternUnits","userSpaceOnUse").attr("patternTransform","rotate(135)").attr("width",ks.DEFAULT_GANTT_ACTIVITY_STRIPE_WIDTH).attr("height",o).attr("style","fill: ".concat(ks.DEFAULT_BAR_STRIPE_COLOR,";")).append("rect").attr("width",ks.DEFAULT_GANTT_ACTIVITY_STRIPE_DISTANCE).attr("height",o),Hd(e,i,a,r,o).classed(Zs.activityBar,!0).attr("style",s),Hd(e,i,a,r,o).classed(Zs.activityBar,!0).attr("style","fill: url(#".concat(c,"); fill-opacity: 0.7;")),e})(t,t.select("defs"),a.path,a.x,a.y,a.width,a.height,e.style).attr("pointer-events",(function(){return e.clickPassThrough?"none":"auto"}))},Kf=function(t,n,e,i,a,r){var o=a.selectAll("g").data(r.map((function(t){return Bf(e,i,Fs.deepClone(t))})));o.enter().append("g").classed(Zs.activity,!0).attr("aria-selected",!1).attr("aria-describedby",(function(t){return t.key})).each((function(e){e.isHashed?jf(t,n,e,this):zf(n,e,this)})),o.exit().transition().call(ks.d3Transition(e.settingsDictionary.transition)).remove()},Wf=function(t,n,e,i){return{path:e,x:ks.DEFAULT_GANTT_TRACK_SELECTION.x,y:n.y(i.trackLabel.display)+ks.DEFAULT_GANTT_TRACK_SELECTION.y,width:Lh(t)-ks.DEFAULT_GANTT_TRACK_SELECTION.width,height:t.axis.y.trackList[i.key].trackHeight-ks.DEFAULT_GANTT_TRACK_SELECTION.height}},qf=function(t,n){Hd(t.path,t.x,t.y,t.width,t.height).attr("aria-selected",!1).classed(Zs.ganttTrackBarSelection,!0).attr("aria-describedby",n.key).attr("aria-disabled",!Fs.isFunction(n.onClick)).on("click",(function(){return function(t,n){var e,i,a;Fs.isEmpty(n.onClick)||(e=t,i=n.key,a=e.select("[aria-describedby='".concat(i,"']")),a.attr("aria-selected",!("true"===a.attr("aria-selected"))),a).call((function(t){return n.onClick((function(){var n="true"===t.attr("aria-selected");t.attr("aria-selected",!n)}),n.key,n,t)}))}(t.path,n)}))},Jf=".".concat(Zs.axisYTrackLabel," .tick text"),Zf=function(t,n,e){var i,a=function(t,n){return t.y.domain().indexOf(n)}(t,e);return!t||function(t,n,e,i){return i<0||Fs.isEmpty(n.axis.y.trackList)||t.y.domain().length>Object.keys(n.axis.y.trackList).length}(t,n,0,a)?0:(i=n.axis.y.trackList,Object.keys(i).map((function(t){return i[t].trackHeight})))[a]/2},$f=function(t,n){return t?t.x(n):0},Qf=function(t,n,e,i){Nh(t,n,e),Ac(n,t,e,jc,ws.X.TOP),i.select(".".concat(Zs.axisX)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat(Kc(e),",").concat(Dh(e),")")).call(t.x),i.select(".".concat(Zs.axisY)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat($c(e),", ").concat(Ch(e),")")).call(t.y)},th=function(t,n){var e;if(Fs.notEmpty(n.axis.x.ticks.values)){var i=n.axis.x.ticks.values;e=t.x.tickValues(Pc(i)).tickSize(-1*qc(n),0,0).tickFormat("")}else e=t.x.tickSize(-1*qc(n),0,0).tickFormat("");return e},nh=function(t,n){return t.y.tickSize(-1*Lh(n),0,0).tickFormat("")},eh=function(t,n,e,i){t.select(".".concat(e)).transition().call(ks.d3Transition(i.settingsDictionary.transition)).call(th(n,i))},ih=function(t,n,e){return e.selectAll(Jf).attr("transform",function(t,n){return function(e){return"translate(".concat($f(),", ").concat(Zf(t,n,e),")")}}(t,n))},ah=function(t,n){return function(e){return function(i){return"translate(".concat($f(t,e.x),",").concat(function(t,n,e){return(t?t.y(e):0)+Zf(t,n,e)}(t,n,e.y),") scale(").concat(i,")")}}},rh=function(t,n,e,i){return e.selectAll(i).each((function(e){mo(this).select("g").transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr("transform",(function(){return ah(t,n)(e)(Pl(this))}))}))},oh=function(t){var n,e,i,a;ql(t.config,t.svg),function(t,n){if(n.select("clipPath#".concat(t.clipPathId)).selectAll("rect").attr("height",qc(t)).attr("width",Lh(t)),t.settingsDictionary.shouldCreateDatelineDefs&&t.dateline.length>0){var e=Math.floor(Ul()/2);n.select("clipPath#".concat(t.datelineClipPathId)).selectAll("rect").attr("height",t.height+e).attr("width",Lh(t)).attr(ks.Y_AXIS,Ch(t)-e)}}(t.config,t.svg),Qf(t.axis,t.scale,t.config,t.svg),n=t.axis,e=t.scale,i=t.config,a=t.svg,Nh(n,e,i),a.select(".".concat(Zs.grid)).attr("transform","translate(".concat(Kc(i),",").concat(Dh(i),")")),a.select(".".concat(Zs.gridH)).transition().call(ks.d3Transition(i.settingsDictionary.transition)).call(nh(n,i)),wc(a,n,i,eh),function(t,n){n.select(".".concat(Zs.contentContainer)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("width",Lh(t)).attr("height",qc(t))}(t.config,t.svg),Gl(t.scale,t.config,t.svg,Ch),Yl(t.scale,t.config,t.svg,Ch)},sh=function(t,n,e){return e.selectAll("g.".concat(Zs.task)).selectAll("rect").each((function(){var e=mo(this);e.classed(Zs.taskBarSelection)?function(t,n,e){var i=Math.floor(ks.DEFAULT_GANTT_TASK_SELECTION_PADDING/2),a=Math.floor(ks.DEFAULT_GANTT_TASK_SELECTION_PADDING/4);n.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("x",(function(n){return t.x(n.startDate)-a})).attr("y",(function(n){return t.y(n.y)+ks.DEFAULT_GANTT_TASK_PADDING.top-a})).attr("width",(function(n){return(t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH)+i})).attr("height",ks.DEFAULT_GANTT_TASK_HEIGHT+i)}(t,e,n):function(t,n,e){n.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("x",(function(n){return t.x(n.startDate)})).attr("y",(function(n){return t.y(n.y)+ks.DEFAULT_GANTT_TASK_PADDING.top})).attr("width",(function(n){return n.percentage?mo(this).classed(Zs.taskBarCompletion)?Hf(t.x(n.startDate),t.x(n.endDate),n.percentage):t.x(n.endDate)-t.x(n.startDate):t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH}))}(t,e,n)}))},ch=function(t,n,e){return e.selectAll("g.".concat(Zs.activity)).selectAll("rect.".concat(Zs.activityBar)).each((function(){!function(t,n,e){n.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("x",(function(n){return t.x(n.startDate)})).attr("y",(function(n){return t.y(n.y)+ks.DEFAULT_GANTT_ACTIVITY_PADDING.top})).attr("width",(function(n){return t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_ACTIVITY_CHUNK_WIDTH}))}(t,mo(this),n)}))},lh=function(t,n,e){e.append("g").classed(Zs.pointGroup,!0).each((function(e,i){var a=mo(this);Fs.isFunction(e.onClick)&&Vh(t,n,a,e,i),function(t,n,e,i,a){e.append((function(){return new sc(lu(i)).getShapeElement(rc({svgClassNames:Zs.point,svgStyles:"fill: ".concat(uu(i),";"),transformFn:ah(t,n)(i),onClickFn:function(){Bh(i,a,this)},a11yAttributes:{"aria-hidden":!1,"aria-describedby":i.key,"aria-disabled":!Fs.isFunction(i.onClick)},additionalAttributes:{"pointer-events":i.clickPassThrough&&!Fs.isFunction(i.onClick)}}))}))}(t,n,a,e,i)}))},uh=function(t,n,e){var i=function(t){if(!Fs.isDate(t))throw new Error(O);return Fs.parseDateTime(t)};return e.values.map((function(a){return{key:e.key,onClick:e.onClick,x:i(a),y:n.display,label:e.label,color:e.color||"",shape:e.shape||Es.CIRCLE,clickPassThrough:!!Fs.isDefined(t.clickPassThrough)&&t.clickPassThrough.events}}))},dh=function(t){return Rf(t),Fs.deepClone(t)},fh=function(t,n,e){Fs.isEmpty(t.onClick)||function(t){var n=mo(t),e=n.select(".".concat(Zs.taskBarSelection));return n.attr("aria-selected",!("true"===n.attr("aria-selected"))),e.attr("aria-hidden",!("true"===e.attr("aria-hidden"))),n}(e).call((function(e){return t.onClick((function(){var t=e.select(".".concat(Zs.taskBarSelection));t.attr("aria-hidden",!("true"===t.attr("aria-hidden"))),e.attr("aria-selected",!1)}),t.key,n,t,e)}))},hh=function(t,n,e){var i=e.duration?function(t){if(t&&!Fs.isFunction(t))throw new Error(it);var n=t();if("number"!=typeof n)throw new Error(at);return n}(e.duration):0;return{onClick:e.onClick,y:n.display,startDate:Gf(i,e.startDate,e.endDate),endDate:Ff(i,e.startDate,e.endDate),percentage:e.percentage,dependencies:e.dependencies,color:e.color||xs.BLUE,label:e.label||null,key:e.key,style:Of(e),isHashed:Fh(e.style),clickPassThrough:!!Fs.isDefined(t.clickPassThrough)&&t.clickPassThrough.tasks}},gh=function(t,n,e){return{path:mo(e),x:t.x(n.startDate),y:t.y(n.y)+ks.DEFAULT_GANTT_TASK_PADDING.top,width:t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH,height:ks.DEFAULT_GANTT_TASK_HEIGHT}},ph=function(t,n,e,i){var a,r,o,s,c,l,u,d=gh(t,n,i);(a=d.path,r=d.x,o=d.y,s=d.width,c=d.height,l=Hf(t.x(n.startDate),t.x(n.endDate),n.percentage),u=n.color,Hd(a,r,o,s,c).classed(Zs.taskBar,!0).attr("style","fill: ".concat(xs.WHITE,"; stroke: ").concat(u,"; stroke-width: 1;")),Hd(a,r,o,l,c).classed(Zs.taskBarCompletion,!0).attr("style","fill: ".concat(u,";")),a).attr("aria-disabled",!Fs.isFunction(n.onClick)).attr("pointer-events",(function(){return n.clickPassThrough&&!Fs.isFunction(n.onClick)?"none":"auto"})).on("click",(function(){return fh(n,e,i)}))},yh=function(t,n,e,i){var a=gh(t,n,i);(Uf(n.startDate,n.endDate)?Vd:Bd)(a.path,a.x,a.y,a.width,a.height,n.style).attr("aria-disabled",!Fs.isFunction(n.onClick)).attr("pointer-events",(function(){return n.clickPassThrough&&!Fs.isFunction(n.onClick)?"none":"auto"})).on("click",(function(){return fh(n,e,i)}))},mh=function(t,n,e,i,a,r){var o=a.selectAll("g").data(r.map((function(t){return hh(e,i,Fs.deepClone(t))})));o.enter().append("g").classed(Zs.task,!0).attr("aria-selected",!1).attr("aria-describedby",(function(t){return t.key})).each((function(e,i){var a,r=gh(n,e,this);Hd((a=r).path,a.x,a.y,a.width,a.height).classed(Zs.taskBarSelection,!0).attr("rx",3).attr("ry",3).attr("aria-hidden",!0),e.percentage?ph(n,e,i,this):e.isHashed?function(t,n,e,i,a){var r=gh(n,e,a);Yd(t,t.select("defs"),r.path,r.x,r.y,r.width,r.height,e.style).attr("aria-disabled",!Fs.isFunction(e.onClick)).attr("pointer-events",(function(){return e.clickPassThrough&&!Fs.isFunction(e.onClick)?"none":"auto"})).on("click",(function(){return fh(e,i,a)}))}(t,n,e,i,this):yh(n,e,i,this)})),o.exit().transition().call(ks.d3Transition(e.settingsDictionary.transition)).remove()},vh=function(t,n){return t.selectAll(".".concat(Zs.axisYTrackLabel," .tick text")).each((function(t){var e,i,a=this;t&&(e=this,i=n.display,mo(e).datum()===i)&&vu(n.display)&&mo(this).style("cursor","pointer").on("click",(function(){Fs.isDefined(n.onClick)&&Fs.isFunction(n.onClick)?n.onClick(n.display,mo(a)):bu(n.display,"y")}))}))},xh=function(t){function n(n){var e,i;return(e=t.call(this)||this).config=(i=n,Fs.deepClone(i)),e.config.actionKeys=[],e.config.eventKeys=[],e.config.activityKeys=[],e.config.taskKeys=[],e.trackGroupPath=null,e}u()(n,t);var e=n.prototype;return e.load=function(t){if(n=t.tracks,e=this.config.key,!(n.indexOf(e)<0))throw new Error(I);var n,e,i,a,r,o;return this.trackGroupPath=Ph(t.config,t.svg,this.config),Ah(t.config,this.config,!0),i=t,a=this.trackGroupPath,r=this.config,o=a.append("g").classed(Zs.ganttTrackSelectorGroup,!0).attr("transform","translate(".concat(Kc(i.config),",").concat(Dh(i.config),")")),qf(Wf(i.config,i.scale,o,r),r),Fs.notEmpty(this.config.activities)&&function(t,n,e,i){var a=n.append("g").classed(Zs.activityGroup,!0).attr("transform","translate(".concat(Kc(t.config),",").concat(Dh(t.config),")"));i.activities.forEach((function(t,n){Mf(t),i.activityKeys.splice(n,0,t.key)})),Kf(t.svg,t.scale,t.config,e,a,i.activities)}(t,this.trackGroupPath,this.config.trackLabel,this.config),Fs.notEmpty(this.config.tasks)&&function(t,n,e,i){var a=n.append("g").classed(Zs.taskGroup,!0).attr("transform","translate(".concat(Kc(t.config),",").concat(Dh(t.config),")"));i.tasks.forEach((function(t,n){Nf(t),i.taskKeys.splice(n,0,t.key)})),mh(t.svg,t.scale,t.config,e,a,i.tasks)}(t,this.trackGroupPath,this.config.trackLabel,this.config),Fs.notEmpty(this.config.events)&&function(t,n,e,i){i.events.forEach((function(a,r){Hh(t.scale,t.config,n,uh(t.config,e,dh(a)),lh,!0),i.eventKeys.splice(r,0,a.key)}))}(t,this.trackGroupPath,this.config.trackLabel,this.config),Fs.notEmpty(this.config.actions)&&Jh(t,this.trackGroupPath,this.config.trackLabel,this.config),this},e.unload=function(t){return Ah(t.config,this.config),this.trackGroupPath.select("g.".concat(Zs.ganttTrackSelectorGroup)).remove(),Fs.notEmpty(this.config.activities)&&this.trackGroupPath.select("g.".concat(Zs.activityGroup)).remove(),Fs.notEmpty(this.config.tasks)&&function(t,n){n.select("g.".concat(Zs.taskGroup)).remove()}(0,this.trackGroupPath),Fs.notEmpty(this.config.events)&&function(t,n){n.selectAll("g.".concat(Zs.currentPointsGroup)).remove()}(0,this.trackGroupPath),Fs.notEmpty(this.config.actions)&&$h(t,this.trackGroupPath),Gh(t.svg,this.config.key),this.config={},this},e.resize=function(t){var n,e,i,a;return Mh(t.scale,t.config),Fs.notEmpty(this.trackGroupPath)&&(n=t.scale,e=t.config,i=this.trackGroupPath,a=this.config,i.select(".".concat(Zs.ganttTrackSelectorGroup)).select("rect").each((function(){var t=mo(this),i=Wf(e,n,t,a);t.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("y",i.y).attr("width",i.width).attr("height",i.height)}))),Fs.notEmpty(this.config.activities)&&ch(t.scale,t.config,this.trackGroupPath),Fs.notEmpty(this.config.tasks)&&sh(t.scale,t.config,this.trackGroupPath),(Fs.notEmpty(this.config.actions)||Fs.notEmpty(this.config.events))&&function(t,n,e){rh(t,n,e,".".concat(Zs.point)),rh(t,n,e,".".concat(Zs.dataPointSelection))}(t.scale,t.config,this.trackGroupPath),this},e.reflow=function(t,n){var e=this;if(Fs.notEmpty(n.activities)&&Fs.notEmpty(this.config.activities)){n.activityKeys=[],n.activities.forEach((function(t){if(n.activityKeys.push(t.key),e.config.activityKeys.includes(t.key)){var i=e.config.activityKeys.indexOf(t.key);e.config.activities[i].startDate=t.startDate,e.config.activities[i].endDate=t.endDate}})),this.config.activityKeys.slice(0).forEach((function(t){if(!n.activityKeys.includes(t)){var i=e.config.activityKeys.indexOf(t);e.config.activityKeys.splice(i,1),e.config.activities.splice(i,1)}}));var i=t.svg.selectAll(".".concat(Zs.trackGroup,'[aria-describedby="').concat(this.config.key,'"]'));!function(t,n,e,i,a){i.config.activities.forEach((function(t){Mf(t)}));var r=a.selectAll(".".concat(Zs.activityGroup));r.selectAll("g").remove(),Kf(t,e,n,i.config.trackLabel,r,i.config.activities)}(t.svg,t.config,t.scale,this,i)}if(Fs.notEmpty(n.tasks)&&Fs.notEmpty(this.config.tasks)){n.taskKeys=[],n.tasks.forEach((function(t){if(n.taskKeys.push(t.key),e.config.taskKeys.includes(t.key)){var i=e.config.taskKeys.indexOf(t.key);e.config.tasks[i].startDate=t.startDate,e.config.tasks[i].endDate=t.endDate}})),this.config.taskKeys.slice(0).forEach((function(t){if(!n.taskKeys.includes(t)){var i=e.config.taskKeys.indexOf(t);e.config.taskKeys.splice(i,1),e.config.tasks.splice(i,1)}}));var a=t.svg.selectAll(".".concat(Zs.trackGroup,'[aria-describedby="').concat(this.config.key,'"]'));!function(t,n,e,i,a){i.config.tasks.forEach((function(t){Nf(t)}));var r=a.selectAll(".".concat(Zs.taskGroup));r.selectAll("g").remove(),mh(t,e,n,i.config.trackLabel,r,i.config.tasks)}(t.svg,t.config,t.scale,this,a)}if(Fs.notEmpty(n.events)&&Fs.notEmpty(this.config.events)){n.eventKeys=[],n.events.forEach((function(t){if(n.eventKeys.push(t.key),e.config.eventKeys.includes(t.key)){var i=e.config.eventKeys.indexOf(t.key);e.config.events[i].values=t.values}})),this.config.eventKeys.slice(0).forEach((function(t){if(!n.eventKeys.includes(t)){var i=e.config.eventKeys.indexOf(t);e.config.eventKeys.splice(i,1),e.config.events.splice(i,1)}}));var r=t.svg.selectAll(".".concat(Zs.trackGroup,'[aria-describedby="').concat(this.config.key,'"]'));!function(t,n,e,i){e.config.events.forEach((function(t){Rf(t)})),i.selectAll(".".concat(Zs.currentPointsGroup,'[event="true"]')).remove(),e.config.events.forEach((function(a){Hh(n,t,i,uh(t,e.config.trackLabel,dh(a)),lh,!0)}))}(t.config,t.scale,this,r)}if(Fs.notEmpty(n.actions)&&Fs.notEmpty(this.config.actions)){n.actionKeys=[],n.actions.forEach((function(t){if(n.actionKeys.push(t.key),e.config.actionKeys.includes(t.key)){var i=e.config.actionKeys.indexOf(t.key);e.config.actions[i].values=t.values}})),this.config.actionKeys.slice(0).forEach((function(t){if(!n.actionKeys.includes(t)){var i=e.config.actionKeys.indexOf(t);e.config.actionKeys.splice(i,1),e.config.actions.splice(i,1)}}));var o=t.svg.selectAll(".".concat(Zs.trackGroup,'[aria-describedby="').concat(this.config.key,'"]'));Zh(t.config,t.scale,this,o,t.legendSVG)}this.resize(t)},e.redraw=function(t){return vh(t.svg,this.config.trackLabel),this},n}(Js),bh=function(t){return Object.keys(t).map((function(n){return t[n].trackHeight})).map((function(t,n,e){return n>0?t+e.slice(0,n).reduce((function(t,n){return t+n}),0):t}))},Eh=function(t){return Fs.isEmpty(t.axis.y.trackList)?0:parseInt(bh(t.axis.y.trackList).pop(),10)},Th=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.axis.y.trackCount+=1:t.axis.y.trackCount-=1},_h=function(t,n,e){var i=Object.keys(e).map((function(t){return[t,e[t]]}));i.splice(n,0,[t.key,{trackHeight:t.dimension?t.dimension.trackHeight:ks.DEFAULT_GANTT_TRACK_HEIGHT,trackLabel:t.trackLabel.display}]);var a={};return i.forEach((function(t){var n=[t[1]];a[t[0]]=n[0]})),a},Ah=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Th(t,e),e||delete t.axis.y.trackList[n.key]},wh=function(t){return t.axis.y.domain={lowerLimit:0,upperLimit:t.axis.y.trackCount||1},t},kh=function(t){return vu(t)?xu(t):t},Ih=function(t){return Fs.isEmpty(t)?[]:Object.keys(t).map((function(n){return t[n].trackLabel}))},Sh=function(t){t.axisSizes={},t.axisSizes.x=hl(t),t.axisSizes.y=function(t){if(t.padding.hasCustomPadding)return t.padding.left;var n=fn(Me().domain(Ih(t.axis.y.trackList)).range([0].concat(f()(bh(t.axis.y.trackList))))),e=mo("body").append("div"),i=e.append("svg").append("g").call(n).node().getBoundingClientRect().width;return e.remove(),i}(t)},Dh=function(t){return 2*(t.padding.top+t.padding.bottom)},Lh=function(t){return t.canvasWidth-t.axisSizes.y-t.axisLabelWidths.y-Dh(t)},Ch=function(t){return Dh(t)},Nh=function(t,n,e){return t.x=Gc(n.x,e.axis.x.ticks.values,Lh(e),Uc(e.d3Locale,e.axis.x.ticks.format,e.axis.x.type),ws.X.TOP),t.y=function(t,n){return fn(t).ticks(n/ks.DEFAULT_Y_AXIS_SPACING).tickFormat(kh).tickPadding(8)}(n.y,qc(e)),t},Mh=function(t,n){t.x=rr().domain([n.axis.x.domain.lowerLimit,n.axis.x.domain.upperLimit]).range([0,Lh(n)]).clamp(n.settingsDictionary.shouldClamp),t.y=Me().domain(Ih(n.axis.y.trackList)).range([0].concat(f()(bh(n.axis.y.trackList)))),n.axis.x.rangeRounding&&t.x.nice()},Rh=function(t,n,e,i){t.append("g").classed(e,!0).call(th(n,i))},Oh=function(t,n,e,i){if(function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(I);if(Fs.isEmpty(t.trackLabel)||Fs.isEmpty(t.trackLabel.display))throw new Error(S)}(e),Fs.notEmpty(e)&&Fs.notEmpty(e.loadAtIndex)){if(e.loadAtIndex<0)throw new Error(z);var a=e.loadAtIndex;return n.axis.y.trackList=_h(e,a,n.axis.y.trackList),Mh(t,n),a}return n.axis.y.trackList=_h(e,i,n.axis.y.trackList),i},Ph=function(t,n,e){return n.select(".".concat(Zs.ganttChartContent)).append("g").classed(Zs.trackGroup,!0).attr("aria-labelledby",e.trackLabel.display).attr("aria-describedby",e.key)},Gh=function(t,n){return t.select('g[aria-describedby="'.concat(n,'"]')).remove()},Fh=function(t){return!(Fs.isEmpty(t)||!t.isHashed)},Uh=function(t,n){t&&(arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t.selectAll(n).remove():t.select(n).remove())},Hh=function(t,n,e,i,a,r,o){var s=e.append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),", ").concat(Dh(n),")")).attr("event",r).selectAll(".".concat(Zs.point)).data(i);o?a(t,n,s.enter(),o):a(t,n,s.enter()),s.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()},Bh=function(t,n,e){Fs.isEmpty(t.onClick)||function(t){var n=mo(t.parentNode).select(".".concat(Zs.dataPointSelection));return n.attr("aria-hidden",!("true"===n.attr("aria-hidden"))),n}(e).call((function(e){return t.onClick((function(){return e.attr("aria-hidden",!0)}),t.key,n,t,e)}))},Vh=function(t,n,e,i,a){return e.append((function(){return new sc(function(t,n,e){var i=e.posX,a=e.posY,r=e.scale,o=Fs.deepClone(t);return o.options.x=n.x-i*n.scale,o.options.y=n.y-a*n.scale,o.options.scale=n.scale*r,o}(Es.CIRCLE,i.shape.options,ks.DEFAULT_PLOT_SELECTION_SCALE_FOR_EVENTS)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,svgStyles:"",transformFn:ah(t,n)(i),onClickFn:function(){Bh(i,a,this)},a11yAttributes:{"aria-hidden":!0,"aria-describedby":i.key,"aria-disabled":!Fs.isFunction(i.onClick)}}))}))},Yh=function(t,n,e){var i=function(t){if(!Fs.isDate(t))throw new Error(O);return Fs.parseDateTime(t)},a=function(t,n){var e=t.filter((function(t){return t.key===n}));if(!e.length)throw new Error(ft);return e[0]}(t.actionLegend,e.key);return e.values.map((function(r){return{key:e.key,onClick:e.onClick,x:i(r),y:n.display,label:a.label,color:a.color||ks.DEFAULT_COLOR,shape:a.shape||Es.CIRCLE,clickPassThrough:!!Fs.isDefined(t.clickPassThrough)&&t.clickPassThrough.actions}}))},Xh=function(t,n,e){return function(t,i){var a,r,o;Vu(t),a=n.shownTargets,r=i.key,(o=a.indexOf(r))>-1?a.splice(o,1):a.push(r),e.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(i.key,'"]')).attr("aria-hidden",(function(){return!("true"===mo(this).attr("aria-hidden"))}))}},zh=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){return n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}])}},jh=function(t,n,e,i){return{clickHandler:Xh(0,n,e),hoverHandler:zh(i,e)}},Kh=function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(I);if(Fs.isEmpty(t.values))throw new Error(w)},Wh=function(t){return Kh(t),Fs.deepClone(t)},qh=function(t,n,e,i){return e.append("g").classed(Zs.pointGroup,!0).each((function(e,a){var r=mo(this);!function(t,n,e,i,a){e.append((function(){return new sc(cd(Es.CIRCLE,ks.DEFAULT_PLOT_SELECTION_SCALE)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,svgStyles:"",transformFn:ah(t,n)(i),onClickFn:function(){Bh(i,a,this)},a11yAttributes:{"aria-hidden":!0,"aria-describedby":i.key,"aria-disabled":!Fs.isFunction(i.onClick)}}))}))}(t,n,r,e,a),function(t,n,e,i,a,r){e.append((function(){var e;return new sc(lu(i)).getShapeElement(rc({svgClassNames:Zs.point,svgStyles:"fill: ".concat(uu(i),";"),transformFn:ah(t,n)(i),onClickFn:function(){Bh(i,a,this)},a11yAttributes:{"aria-hidden":r?"false"===(null===(e=r.select(".".concat(Zs.legendItem,"[aria-describedby='").concat(i.key,"']")))||void 0===e?void 0:e.attr("aria-current")):"false","aria-describedby":i.key,"aria-disabled":!Fs.isFunction(i.onClick)},additionalAttributes:{"pointer-events":i.clickPassThrough&&!Fs.isFunction(i.onClick)}}))}))}(t,n,r,e,a,i)}))},Jh=function(t,n,e,i){return i.actions.forEach((function(a,r){Hh(t.scale,t.config,n,Yh(t.config,e,Wh(a)),qh,!1),i.actionKeys.splice(r,0,a.key)}))},Zh=function(t,n,e,i,a){e.config.actions.forEach((function(t){Kh(t)})),i.selectAll(".".concat(Zs.currentPointsGroup,'[event="false"]')).remove(),e.config.actions.forEach((function(r){Hh(n,t,i,Yh(t,e.config.trackLabel,Wh(r)),qh,!1,a)}))},$h=function(t,n){return n.selectAll("g.".concat(Zs.currentPointsGroup)).remove()},Qh=ks.BASE_CANVAS_WIDTH_PADDING,tg=function(t,n){n.canvasWidth=parseInt(t.style("width"),10)-kf(t)},ng=function(t){return t.canvasHeight=qc(t)+2*(2*t.padding.bottom+t.padding.top)},eg=function(t){return t.graphContainer=null,t.config={axis:{x:{},y:{}},shownTargets:{},actionLegend:[],dateline:[],eventline:[],pan:{}},t.axis={},t.scale={},t.svg=null,t.legendSVG=null,t.tracks=[],t.trackConfig=[],t.resizeHandler=null,t},ig=function(t){function n(n){var e;return e=t.call(this)||this,eg(c()(e)),e.generate(n),e}u()(n,t);var e=n.prototype;return e.generate=function(t){var n,e,i=this;this.config=(n=t,(new Cf).setInput(n).validateInput().clone().getConfig()),Df(t,this.config),(e=this).graphContainer=mo(e.config.bindTo),wh(e.config),e.config.height=Eh(e.config),Lu(),function(t){var n;tg(t.graphContainer,t.config),Sh(t.config),(n=t.config).axisLabelWidths={},n.axisLabelWidths.y=n.padding.left,ng(t.config),Mh(t.scale,t.config)}(this);var a,r,o=mo(this.config.bindTo).append("div").classed(Zs.container,!0).style("padding-top",this.config.removeContainerPadding&&0).style("padding-bottom",this.config.removeContainerPadding&&0);return this.svg=o.insert("svg",":first-child").classed(Zs.canvas,!0).attr("role","img").attr("height",this.config.canvasHeight).attr("width",this.config.padding.hasCustomPadding?this.config.canvasWidth:this.config.canvasWidth-Qh),a=this.config,(r=this.svg.append("defs")).append("clipPath").attr("id",a.clipPathId).append("rect").attr(ks.X_AXIS,Kc(a)).attr(ks.Y_AXIS,Ch(a)).attr("width",Lh(a)).attr("height",qc(a)),a.settingsDictionary.shouldCreateDatelineDefs&&a.dateline.length>0&&r.append("clipPath").attr("id",a.datelineClipPathId).append("rect").attr(ks.X_AXIS,Kc(a)).attr(ks.Y_AXIS,Ch(a)).attr("width",Lh(a)).attr("height",0),function(t,n,e,i){Nh(t,n,e);var a=i.append("g").classed(Zs.grid,!0).attr("transform","translate(".concat(Kc(e),",").concat(Dh(e),")"));a.append("g").classed(Zs.gridH,!0).call(nh(t,e)),_c(a,t,e,Rh)}(this.axis,this.scale,this.config,this.svg),function(t,n){n.append("rect").classed(Zs.contentContainer,!0).attr(ks.X_AXIS,Kc(t)).attr(ks.Y_AXIS,Dh(t)).attr("width",Lh(t)).attr("height",qc(t))}(this.config,this.svg),function(t,n,e,i){Nh(t,n,e),Ac(n,t,e,jc,ws.X.TOP),i.append("g").classed(Zs.axis,!0).classed(Zs.axisX,!0).attr("aria-hidden",!e.axis.x.show).attr("transform","translate(".concat(Kc(e),", ").concat(Dh(e),")")).call(t.x).call(Zc),i.append("g").classed(Zs.axis,!0).classed(Zs.axisY,!0).classed(Zs.axisYTrackLabel,!0).attr("aria-hidden",!e.axis.y.show).attr("transform","translate(".concat($c(e),",").concat(Dh(e),")")).call(t.y).call(Zc)}(this.axis,this.scale,this.config,this.svg),function(t,n){n.append("g").classed(Zs.ganttChartContent,!0).attr("clip-path","url(#".concat(t.clipPathId,")"))}(this.config,this.svg),Fs.notEmpty(this.config.dateline)&&Hl(this.scale,this.config,this.svg),Fs.notEmpty(this.config.eventline)&&Xl(this.scale,this.config,this.svg),this.config.showActionLegend&&(this.legendSVG=Hu(this.config,this.config.bindLegendTo?mo(this.config.bindLegendTo):o),this.config.shownTargets=this.config.actionLegend.map((function(t){return t.key})),this.config.actionLegend.forEach((function(t){return function(t,n,e,i){e.label&&e.label.display&&i&&Fu(i,e,t,n)}(i.config,jh(0,i.config,i.svg,i.config.shownTargets),t,i.legendSVG)}))),du(this),this.svg},e.resize=function(){var t=this;if(this.graphContainer)return tg(this.graphContainer,this.config),Mh(this.scale,this.config),oh(this),this.trackConfig.forEach((function(n){return n.resize(t)})),ih(this.scale,this.config,this.svg),this},e.loadContent=function(t){var n=this;return Rd(t,(function(t){var e=Oh(n.scale,n.config,t,n.tracks.length),i=function(t){return new xh(t)}(t);n.trackConfig.splice(e,0,i),i.load(n),n.tracks.splice(e,0,t.key)})),wh(this.config),this.config.height=Eh(this.config),ng(this.config),this.resize(),this.trackConfig.forEach((function(t){return t.redraw(n)})),this},e.unloadContent=function(t){var n=this;return Rd(t,(function(t){var e=n.tracks.indexOf(t.key);if(e<0)throw new Error(P);n.trackConfig[e].unload(n),n.tracks.splice(e,1),n.trackConfig.splice(e,1)})),wh(this.config),this.config.height=Eh(this.config),ng(this.config),this.resize(),this},e.reflow=function(t){var n=this;console.warn("reflow is deprecated and will be removed a future major release. Please use reflowMultipleDatasets instead."),Al(this.config),Mh(this.scale,this.config);var e=jh(0,this.config,this.svg,this.config.shownTargets);if(Qf(this.axis,this.scale,this.config,this.svg),t&&this.tracks.includes(t.key)){var i=this.tracks.findIndex((function(n){return n===t.key}));this.trackConfig[i].reflow(this,t),Ku(this.legendSVG,this.config.actionLegend[i],this,e)}return t&&t.eventline&&(this.config.eventline=t.eventline,zl(this.scale,this.config,this.svg)),this.config.height=Eh(this.config),ng(this.config),this.resize(),this.trackConfig.forEach((function(t){return t.redraw(n)})),this},e.reflowMultipleDatasets=function(t){var n=this;Al(this.config),Mh(this.scale,this.config);var e=jh(0,this.config,this.svg,this.config.shownTargets);return Qf(this.axis,this.scale,this.config,this.svg),t&&t.panData&&!Fs.isEmptyArray(t.panData)&&t.panData.forEach((function(t){var i=n.tracks.findIndex((function(n){return n===t.key}));i>-1&&(n.trackConfig[i].reflow(n,t),Ku(n.legendSVG,n.config.actionLegend[i],n,e))})),t&&t.eventline&&(this.config.eventline=t.eventline,zl(this.scale,this.config,this.svg)),this.config.height=Eh(this.config),ng(this.config),this.resize(),this.trackConfig.forEach((function(t){return t.redraw(n)})),this},e.destroy=function(){return Cu(),fu(this),Uh(this.graphContainer,".".concat(Zs.canvas)),Uh(this.graphContainer,".".concat(Zs.container)),eg(this),this},n}(wf),ag={ticks:{},show:!1,domain:{lowerLimit:0,upperLimit:0}},rg=function(t,n){return!Fs.hasValue(t.map((function(t){return t.config.key})),n)},og=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){if(Fs.isEmpty(this.input))throw new Error(_);if(Fs.isEmpty(this.input.bindTo))throw new Error(T);if(Fs.isEmpty(this.input.axis)||Fs.isEmpty(this.input.axis.x)||Fs.isEmpty(this.input.axis.y))throw new Error(L);if(Fs.notEmpty(this.input.axis.x.type)&&!Fs.hasValue(Object.values(_s),this.input.axis.x.type))throw new Error(M);if(Fs.isEmpty(this.input.axis.x.lowerLimit)||Fs.isEmpty(this.input.axis.x.upperLimit)||Fs.isEmpty(this.input.axis.y.lowerLimit)||Fs.isEmpty(this.input.axis.y.upperLimit))throw new Error(C);if(Hs(this.input.showXLabel,!0)&&Fs.isEmpty(this.input.axis.x.label)&&console.warn('A label for the x-axis is expected to be provided to meet accessibility standards. This label will become required starting in terra-graphs version 3.0.0. "showXLabel" can be set to false to hide the label for situations where the label should not be displayed.'),Fs.isEmpty(this.input.axis.y.label))throw new Error(N);if(Mc(this.input.axis)){if(Fs.isEmpty(this.input.axis.y2.lowerLimit)||Fs.isEmpty(this.input.axis.y2.upperLimit))throw new Error(C);if(Fs.isEmpty(this.input.axis.y2.label))throw new Error(N)}if(Fs.notEmpty(this.input.dateline)&&this.input.axis.x.type!==_s.TIME_SERIES)throw new Error(M);if(Fs.notEmpty(this.input.dateline)&&this.input.axis.x.type===_s.TIME_SERIES&&this.input.dateline.forEach((function(t){Vl(t)})),Fs.notEmpty(this.input.eventline)&&this.input.axis.x.type!==_s.TIME_SERIES)throw new Error(M);return Fs.notEmpty(this.input.eventline)&&this.input.axis.x.type===_s.TIME_SERIES&&this.input.eventline.forEach((function(t){jl(t)})),this},e.cloneInput=function(){return this.config=Fs.deepClone(this.input),this},e.processInput=function(){var t,n,e=Fs.deepClone(this.input.axis),i=function(t,n,e){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.axis[n].ticks=Hs(e[n].ticks,{}),t.axis[n].show=Hs(e[n].show,i),t.axis[n].domain={lowerLimit:Fs.getNumber(e[n].lowerLimit),upperLimit:Fs.getNumber(e[n].upperLimit)},t.axis[n].rangeRounding=Hs(e[n].rangeRounding,!0),t.axis[n].suppressTrailingZeros=Hs(e[n].suppressTrailingZeros,!1),t};return this.config.clipPathId=Vs(),this.config.datelineClipPathId=Ys(),this.config.bindTo=this.input.bindTo,this.config.bindLegendTo=this.input.bindLegendTo,this.config.axis=e,this.config.dateline=Hs(Fs.deepClone(this.input.dateline),[]),this.config.eventline=Hs(Fs.deepClone(this.input.eventline),[]),this.config.padding=(t=this.config,n=this.input.padding,Fs.isDefined(t.padding)?{top:Hs(n.top,ks.PADDING.top),bottom:Hs(n.bottom,ks.PADDING.bottom),right:Hs(n.right,ks.PADDING.right),left:Hs(n.left,ks.PADDING.left),hasCustomPadding:!0}:{top:ks.PADDING.top,bottom:ks.PADDING.bottom,right:ks.PADDING.right,left:ks.PADDING.left,hasCustomPadding:!1}),this.config.locale=Hs(this.input.locale,dc),this.config.d3Locale=Hs(this.input.locale,dc),this.config.showNoDataText=Hs(this.input.showNoDataText,!0),this.config.throttle=Hs(this.input.throttle,ks.RESIZE_THROTTLE),this.config.settingsDictionary=function(t){return Ws(t)?{shouldClamp:!1,transition:ks.D3_TRANSITION_PROPERTIES_DISABLED,shouldCreateDatelineDefs:!0}:{shouldClamp:!0,transition:ks.D3_TRANSITION_PROPERTIES_ENABLED,shouldCreateDatelineDefs:!1}}(this.input),this.config.showLabel=Hs(this.input.showLabel,!0),this.config.showXLabel=Hs(this.input.showXLabel,!0),this.config.showLegend=Hs(this.input.showLegend,!0),this.config.showShapes=Hs(this.input.showShapes,!0),this.config.showHGrid=Hs(this.input.showHGrid,!0),this.config.showVGrid=Hs(this.input.showVGrid,!0),this.config.dimension=Hs(this.input.dimension,{}),this.config.allowCalibration=Hs(this.input.allowCalibration,!0),this.config.removeContainerPadding=Hs(this.input.removeContainerPadding,!1),this.config.legendPadding=ju(this.config,this.input.legendPadding),this.config.opaqueBackground=Hs(this.input.opaqueBackground,!1),this.config.axis.x.type=Hs(e.x.type,_s.DEFAULT),this.config.axis.x.ticks=Hs(e.x.ticks,{}),this.config.axis.x.show=Hs(e.x.show,!0),this.config.axis.x.orientation=Hs(e.x.orientation,ws.X.BOTTOM),this.config.axis.x.domain=js(this.config.axis.x.type,this.config.axis.x.lowerLimit,this.config.axis.x.upperLimit),this.config.axis.x.rangeRounding=Hs(e.x.rangeRounding,!0),this.config.axis.x.suppressTrailingZeros=Hs(e.x.suppressTrailingZeros,!1),this.config.axis.x.allowCalibration=Hs(e.x.allowCalibration,!1),Ws(this.input)&&(this.config.axis.x.allowCalibration=!1),this.input.axis.y?i(this.config,ks.Y_AXIS,e,!0):this.config.axis.y=ag,this.input.axis.y2?i(this.config,ks.Y2_AXIS,e):this.config.axis.y2=ag,this.config.shownTargets=[],this.config.hasCriticality=!1,this.config.shouldHideAllRegion=!1,this.config.axisPadding={y:Hs(e.y.padDomain,!0),y2:Hs(e.y2.padDomain,!0)},this.config.axisInfoRowLabelHeight=0,this.config.axis.y.isConsumerProvidedFormat=Fs.isDefined(this.config.axis.y.ticks.format),this.config.axis.y2.isConsumerProvidedFormat=Fs.isDefined(this.config.axis.y2.ticks.format),this},n}(Mt),sg=ks.BASE_CANVAS_WIDTH_PADDING,cg=function(t,n){n.canvasWidth=parseInt(t.style("width"),10)-kf(t)},lg=function(t){t.showLabel&&t.axis.x.label||t.axis.x.show?t.canvasHeight=qc(t)+2*(t.padding.bottom+t.padding.top+t.axisLabelHeights.x):t.canvasHeight=qc(t)+t.padding.bottom+t.padding.top+t.axisLabelHeights.x},ug=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks.Y_AXIS;return t.axis[n].dataRange.isRangeModified},dg=function(t){return t.graphContainer=null,t.config={axis:{x:{},y:{},y2:{}},shownTargets:{},dateline:[],eventline:[],pan:{}},t.axis={axisInfoRow:{x:{}}},t.scale={},t.svg=null,t.legendSVG=null,t.axesLabelShapeGroup={},t.content=[],t.contentConfig=[],t.contentKeys=[],t.resizeHandler=null,t},fg=function(t){return t.config.height=function(t,n){if(n.height)return n.height;var e=t.padding.top+t.padding.bottom,i=(Wl-e)/2;return t.outlierStretchFactor=Sl(t),i*t.outlierStretchFactor.upperLimit+i*t.outlierStretchFactor.lowerLimit}(t.config,t.config.dimension),cg(t.graphContainer,t.config),El(t.config),Tl(t.config),lg(t.config),su(t.scale,t.config),t},hg=function(t){function n(n){var e;return e=t.call(this)||this,dg(c()(e)),e.generate(n),e}u()(n,t);var e=n.prototype;return e.getGraphSVG=function(){return this.svg},e.generate=function(t){var n;this.config=(new og).setInput(t).validateInput().cloneInput().processInput().getConfig(),(n=this).graphContainer=mo(n.config.bindTo),Cl({},"",n.config),Fs.isDefined(n.config.axis.x.allowCalibration)&&n.config.axis.x.allowCalibration&&(console.warn("allowCalibration for x-axis is a new feature that is currently a work in progress and may have stability issues. Use it at your own risk."),Cl({},ks.X_AXIS,n.config)),au(n.config),ru(n.config),Lu(),fg(this);var e,i,r=mo(this.config.bindTo).append("div").classed(Zs.container,!0).style("padding-top",this.config.removeContainerPadding&&0).style("padding-bottom",this.config.removeContainerPadding&&0);return this.svg=r.insert("svg",":first-child").classed(Zs.canvas,!0).attr("role","img").attr("height",this.config.canvasHeight).attr("width",this.config.padding.hasCustomPadding?this.config.canvasWidth:this.config.canvasWidth-sg),this.config.opaqueBackground&&mo(".".concat(Zs.container)).style("background-color",xs.WHITE),e=this.config,(i=this.svg.append("defs")).append("clipPath").attr("id",e.clipPathId).append("rect").attr(ks.X_AXIS,Kc(e)).attr(ks.Y_AXIS,Wc(e)).attr("width",Fc(e)).attr("height",e.height),e.settingsDictionary.shouldCreateDatelineDefs&&e.dateline.length>0&&i.append("clipPath").attr("id",e.datelineClipPathId).append("rect").attr(ks.X_AXIS,Kc(e)).attr(ks.Y_AXIS,0).attr("width",Fc(e)).attr("height",0),function(t,n){n.append("g").classed(Zs.regionGroup,!0)}(this.config,this.svg),function(t,n,e,i){zc(t,n,e);var a=i.append("g").classed(Zs.grid,!0).attr("transform","translate(".concat(Kc(e),",").concat(Wc(e),")"));e.showHGrid&&a.append("g").classed(Zs.gridH,!0).call(Jl(t,e)),e.showVGrid&&_c(a,t,e,ou)}(this.axis,this.scale,this.config,this.svg),function(t,n){n.append("rect").classed(Zs.contentContainer,!0).attr(ks.X_AXIS,Kc(t)).attr(ks.Y_AXIS,Wc(t))}(this.config,this.svg),function(t,n,e,i){zc(t,n,e),Ac(n,t,e,jc),i.append("g").classed(Zs.axis,!0).classed(Zs.axisX,!0).attr("aria-hidden",!e.axis.x.show).attr("transform","translate(".concat(Kc(e),", ").concat(Jc(e),")")).call(t.x).call(Zc),i.append("g").classed(Zs.axis,!0).classed(Zs.axisY,!0).attr("aria-hidden",!e.axis.y.show).attr("transform","translate(".concat($c(e),", ").concat(Qc(e),")")).call(t.y).call(Zc),Mc(e.axis)&&i.append("g").classed(Zs.axis,!0).classed(Zs.axisY2,!0).attr("transform","translate(".concat(tl(e),", ").concat(nl(e),")")).call(t.y2).call(Zc)}(this.axis,this.scale,this.config,this.svg),function(t,n,e,i){zc(t,n,e),i.append("g").classed(Zs.axis,!0).classed(Zs.axisInfoRow,!0).attr("aria-hidden",!0).attr("transform","translate(".concat(Kc(e),", ").concat(el(e),")")).call(t.axisInfoRow.x).call(Zc)}(this.axis,this.scale,this.config,this.svg),function(t,n,e){if(t.showLabel){var i=tu(t);if(t.showXLabel&&t.axis.x.label){var r=n.append("g").classed(Zs.axisLabelX,!0).attr("transform","translate(".concat(al(t),",").concat(rl(t),") rotate(").concat(il(ks.X_AXIS),")"));ml(r,Fs.sanitize(t.axis.x.label),i.xAxisLimit),nu(r,Zs.axisLabelX,t.axis.x,i.xAxisLimit,ks.X_AXIS)}if(t.axis.y.label){var o=n.append("g").classed(Zs.axisLabelY,!0).attr("transform","translate(".concat(ol(t),", ").concat(sl(t),") rotate(").concat(il(ks.Y_AXIS),")"));ml(o,Fs.sanitize(t.axis.y.label),i.yAndY2AxisLimit),nu(o,Zs.axisLabelY,t.axis.y,i.yAndY2AxisLimit,ks.Y_AXIS)}if(Mc(t.axis)){var s,c=n.append("g").classed(Zs.axisLabelY2,!0).attr("transform","translate(".concat(dl(t),", ").concat(sl(t),") rotate(").concat(il(ks.Y2_AXIS),")"));ml(c,Fs.sanitize(t.axis.y2.label),i.yAndY2AxisLimit),nu(n,Zs.axisLabelY2,t.axis.y2,i.yAndY2AxisLimit,ks.Y2_AXIS),e.axesLabelShapeGroup=(s={},a()(s,ks.Y_AXIS,Au(t,n)),a()(s,ks.Y2_AXIS,wu(t,n)),s)}}}(this.config,this.svg,this),function(t,n,e,i){var a="translate(".concat($c(e),", ").concat(Qc(e),")"),r=function(t,e){return t.classed(Zs.axisReferenceLine,!0).attr("aria-hidden",!Lc(n,e)).attr("transform",a).attr("d",Nc(n,e)(Cc(n)))};r(i.append("path"),ks.Y_AXIS).classed(Zs.axis,!0).classed(Zs.axisY,!0),Mc(e.axis)&&r(i.append("path"),ks.Y2_AXIS).classed(Zs.axis,!0).classed(Zs.axisY2,!0)}(this.axis,this.scale,this.config,this.svg),Fs.notEmpty(this.config.dateline)&&this.config.axis.x.type===_s.TIME_SERIES&&Hl(this.scale,this.config,this.svg),Fs.notEmpty(this.config.eventline)&&this.config.axis.x.type===_s.TIME_SERIES&&Xl(this.scale,this.config,this.svg),this.config.showLegend&&(this.legendSVG=Hu(this.config,this.config.bindLegendTo?mo(this.config.bindLegendTo):r)),this.config.showNoDataText&&yu(this.config,this.svg),du(this),this.svg},e.resize=function(){var t=this;return this.graphContainer&&(Tl(this.config),cg(this.graphContainer,this.config),lg(this.config),su(this.scale,this.config),cu(this),this.content.forEach((function(n){return n.resize(t)}))),this},e.processContent=function(t){return function(t,n){if(Fs.isEmpty(n))throw new Error(A);if(!rg(t,n.config.key))throw new Error(k)}(this.content,t),this.content.push(t),this.contentConfig.push(t.config),this.contentKeys.push(t.config.key),gu(this.config.axisPadding,t),Cl(t,t.config.yAxis,this.config,this.content),Fs.isDefined(this.config.axis.x.allowCalibration)&&this.config.axis.x.allowCalibration&&(Cl(t,ks.X_AXIS,this.config,this.content),ug(this.config,ks.X_AXIS)&&ru(this.config,t)),this.config.allowCalibration&&ug(this.config,t.config.yAxis)&&au(this.config,t),t.load(this),Fs.notEmpty(this.config.dateline)&&this.config.axis.x.type===_s.TIME_SERIES&&Bl(this.scale,this.config,this.svg),Fs.notEmpty(this.config.eventline)&&this.config.axis.x.type===_s.TIME_SERIES&&zl(this.scale,this.config,this.svg),Fs.notEmpty(t.config.values)&&pu(this.svg),this},e.loadContent=function(t){var n=this;return Rd(t,(function(t){n.processContent(t)})),this.resize(),this},e.unloadContent=function(t){var n=this;return Rd(t,(function(t){var e=n.contentKeys.indexOf(t.key||t.config.key);if(e<0)throw new Error(P);n.content[e].unload(n),n.content.splice(e,1),n.contentConfig.splice(e,1),n.contentKeys.splice(e,1),n.config.showNoDataText&&n.content.every((function(t){return Fs.isEmpty(t.config.values)}))&&yu(n.config,n.svg)})),this.resize(),this},e.reflow=function(t){var n=this;if(console.warn("reflow is deprecated and will be removed a future major release. Please use reflowMultipleDatasets instead."),t&&t.values){var e=this.contentKeys.findIndex((function(n){return n===t.key}));e>-1&&("Bar"===this.content[e].type&&t.values.length>0&&(this.config.axis.x.ticks.values=[],t.values.forEach((function(t){return n.config.axis.x.ticks.values.push(t.x)}))),this.content[e].reflow(this,t),gu(this.config.axisPadding,this.content[e]),Cl(this.content[e],this.content[e].config.yAxis,this.config,this.content),this.config.allowCalibration&&ug(this.config,this.content[e].config.yAxis)&&au(this.config,this.content[e]),this.config.showNoDataText&&this.content.every((function(t){return Fs.isEmpty(t.config.values)}))?(yu(this.config,this.svg),Bl(this.scale,this.config,this.svg)):Fs.notEmpty(this.content[e].config.values)&&pu(this.svg))}return t&&t.eventline&&(this.config.eventline=t.eventline,zl(this.scale,this.config,this.svg)),Al(this.config),su(this.scale,this.config),Dl(this.axis,this.scale,this.config,this.svg),Ql(this.config,this.svg),t&&this.config.showLabel&&(this.config.axis.x.label=Fs.sanitize(t.xLabel)||this.config.axis.x.label,this.config.axis.y.label=Fs.sanitize(t.yLabel)||this.config.axis.y.label,this.config.axis.y2.label=Fs.sanitize(t.y2Label)||this.config.axis.y2.label,eu(this.config)),this.resize(),this},e.reflowMultipleDatasets=function(t){var n=this;return t&&t.panData&&!Fs.isEmptyArray(t.panData)&&t.panData.forEach((function(t){if(t.values){var e=n.contentKeys.findIndex((function(n){return n===t.key}));e>-1&&("Bar"===n.content[e].type&&t.values.length>0&&(n.config.axis.x.ticks.values=[],t.values.forEach((function(t){return n.config.axis.x.ticks.values.push(t.x)}))),n.content[e].reflow(n,t),gu(n.config.axisPadding,n.content[e]),Cl(n.content[e],n.content[e].config.yAxis,n.config,n.content),n.config.allowCalibration&&ug(n.config,n.content[e].config.yAxis)&&au(n.config,n.content[e]),n.config.showNoDataText&&n.content.every((function(t){return Fs.isEmpty(t.config.values)}))?(yu(n.config,n.svg),Bl(n.scale,n.config,n.svg)):Fs.notEmpty(n.content[e].config.values)&&pu(n.svg))}})),t&&t.eventline&&(this.config.eventline=t.eventline,zl(this.scale,this.config,this.svg)),Al(this.config),su(this.scale,this.config),Dl(this.axis,this.scale,this.config,this.svg),t&&this.config.showLabel&&(this.config.axis.x.label=Fs.sanitize(t.xLabel)||this.config.axis.x.label,this.config.axis.y.label=Fs.sanitize(t.yLabel)||this.config.axis.y.label,this.config.axis.y2.label=Fs.sanitize(t.y2Label)||this.config.axis.y2.label,eu(this.config)),this.resize(),this},e.destroy=function(){return fu(this),Cu(),hu(this.graphContainer,".".concat(Zs.canvas)),hu(this.graphContainer,".".concat(Zs.container)),dg(this),this},n}(wf),gg=function(t){return t.internalValuesSubset},pg=function(t,n){return qo().defined((function(t){return null!==t.y&&void 0!==t.y})).x((function(n){return t.x(n.x)})).y((function(n){return t[n.yAxis](n.y)})).curve(n.interpolationType)(gg(n))},yg=function(t){return function(n){return function(e){var i;return"translate(".concat((i=n,t.x(i.x)),",").concat(function(n){return t[n.yAxis](n.y)}(n),") scale(").concat(e,")")}}},mg=function(t,n,e,i){return n.selectAll(".".concat(Zs.lineGraphContent," .").concat(e)).each((function(n){mo(this).select("g").transition().call(ks.d3Transition(i.settingsDictionary.transition)).attr("transform",(function(){return yg(t)(n)(Pl(this))}))}))},vg=function(t,n,e){Fs.isEmpty(t.onClick)||function(t){var n=mo(t.parentNode).select(".".concat(Zs.dataPointSelection));return n.attr("aria-hidden",!("true"===n.attr("aria-hidden"))),n}(e).call((function(e){return t.onClick((function(){e.attr("aria-hidden",!0)}),t.key,n,t,e)}))},xg=function(t,n,e){mu(n,Zs.currentLinesGroup,e),mu(n,Zs.currentPointsGroup,e),function(t,n,e){n.selectAll(".".concat(Zs.lineGraphContent," .").concat(Zs.line)).select("path").transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("d",(function(n){return pg(t,n)}))}(t,n,e),mg(t,n,Zs.point,e),mg(t,n,Zs.dataPointSelection,e)},bg=function(t,n,e){return e.append("g").classed(Zs.line,!0).append("path").attr("d",(function(n){return pg(t,n)})).attr("style",(function(t){return"stroke: ".concat(uu(t),"; stroke-dasharray: ").concat(t.style.strokeDashArray,";")})).attr("aria-hidden",!1).attr("aria-describedby",(function(t){return t.key}))},Eg=function(t,n,e,i){var a=function(n,e,i,a){return n.append((function(){var n;return new sc(lu(e)).getShapeElement(rc({svgClassNames:"".concat(Zs.point," ").concat(a),transformFn:yg(t)(e),onClickFn:function(){vg(e,i,this)},a11yAttributes:{"aria-hidden":"false"===(null===(n=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(e.key,'"]')))||void 0===n?void 0:n.getAttribute("aria-current")),"aria-describedby":e.key,"aria-disabled":!Fs.isFunction(e.onClick)}}))}))};e.append("g").classed(Zs.pointGroup,!0).each((function(e,r){var o,s,c=mo(this);o=e,s=r,c.append((function(){return new sc(cd(Es.CIRCLE,ks.DEFAULT_PLOT_SELECTION_SCALE)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,transformFn:yg(t)(o),onClickFn:function(){vg(o,s,this)},a11yAttributes:{"aria-hidden":!0,"aria-describedby":o.key,"aria-disabled":!Fs.isFunction(o.onClick)}}))})),e.isCritical&&(n.hasCriticality=!0,a(c,e,r,Zs.criticalityOuterPoint),a(c,e,r,Zs.criticalityInnerPoint)),function(n,e,a){n.append((function(){var n;return new sc(lu(e)).getShapeElement(rc({svgClassNames:Zs.point,svgStyles:"fill: ".concat(uu(e),";"),transformFn:yg(t)(e),onClickFn:function(){vg(e,a,this)},a11yAttributes:{"aria-hidden":i?"false"===(null===(n=i.select(".".concat(Zs.legendItem,"[aria-describedby='").concat(e.key,"']")))||void 0===n?void 0:n.attr("aria-current")):"false","aria-describedby":e.key,"aria-disabled":!Fs.isFunction(e.onClick)}}))}))}(c,e,r)}))},Tg=function(t,n,e,i,a){var r=e.append("g").classed(Zs.lineGraphContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-hidden",n.shownTargets.indexOf(i.key)<0).attr("aria-describedby",i.key),o=r.append("g").classed(Zs.currentLinesGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")).selectAll(".".concat(Zs.line)).data([i]);if(bg(t,0,o.enter()),o.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove(),i.showShapes){var s=r.selectAll(".".concat(Zs.currentPointsGroup)).data([i]);s.enter().append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")),s.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove();var c=r.select(".".concat(Zs.currentPointsGroup)).selectAll(".".concat(Zs.point)).data(gg(i).filter((function(t){return null!==t.y&&void 0!==t.y})));Eg(t,n,c.enter(),a),c.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()}},_g=function(t,n){var e=t.axis.x.type,i=function(t){if(!Nl(t,e))throw new Error(O);return Ks(t,e)};return n.interpolationType=Xs(n.type),n.style=Hs(n.style,{}),n.style={strokeDashArray:qs(n.style)},n.showShapes=Hs(n.showShapes,t.showShapes),n.legendOptions=zu(0,n),t.shownTargets.push(n.key),n.internalValuesSubset=n.values.map((function(t){return{onClick:n.onClick,isCritical:t.isCritical||!1,x:i(t.x),y:t.y,color:n.color||ks.DEFAULT_COLOR,label:n.label||{},shape:n.shape||Es.CIRCLE,yAxis:n.yAxis||ks.Y_AXIS,key:n.key}})),n.valueRegionSubset=function(t,n){var e,i=[],a=[],r={color:void 0,values:[]};return t.values.forEach((function(t){Fs.isEmpty(t.region)||Fs.isEmpty(t.region.start)||Fs.isEmpty(t.region.end)?(i.push(r),e=void 0,r={color:void 0,values:[]}):(e!==t.region.color&&(r.values.length>0&&i.push(r),r={color:t.region.color,values:[]}),e=t.region.color,r.color=t.region.color,r.values.push({x:n(t.x),start:t.region.start,end:t.region.end}))})),i.push(r),i.forEach((function(t){t.values.length>0&&(a.push(t),t.values.length>1&&(a.push({color:t.color,values:t.values.slice(0,1)}),a.push({color:t.color,values:t.values.slice(t.values.length-1)})))})),a}(n,i),n},Ag=function(t,n,e,i){return function(n,a){Vu(n);var r,o,s,c=Bu(mo(n));o=a,(s=(r=e.shownTargets).indexOf(o.key))>-1?r.splice(s,1):r.push(o.key),i.selectAll(".".concat(Zs.dataPointSelection,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",!0),i.selectAll('path[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",c),i.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",c),window.requestAnimationFrame(function(t,n,e){return function(){od(t,n,e)}}(t,e,i))}},wg=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}]),n.selectAll('path[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('svg[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),sd(t,n,e.key,i)}},kg=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},Ig=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){return Us(this.input),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Sg=function(t){var n=t.filter((function(t){return null!==t.y&&void 0!==t.y})).map((function(t){return t.y}));return{min:Math.min.apply(Math,f()(n)),max:Math.max.apply(Math,f()(n))}},Dg=function(t){function n(n){var e,i,a;return(e=t.call(this)||this).config=(i=n,(new Ig).setInput(i).validateInput().clone().getConfig()),e.type="Line",e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.valuesRange={},e.valuesRange.x=(a=e.config.values.filter((function(t){return null!==t.x&&void 0!==t.x})).map((function(t){return"string"==typeof t.x||t.x instanceof Date?Fs.getEpocFromDateString(t.x):t.x})),{min:Math.min.apply(Math,f()(a)),max:Math.max.apply(Math,f()(a))}),e.valuesRange[e.config.yAxis]=Sg(e.config.values),e.dataTarget={},e}u()(n,t);var e=n.prototype;return e.load=function(t){var n,e,i,a;return this.dataTarget=_g(t.config,this.config),Tg(t.scale,t.config,t.svg,this.dataTarget),Fs.isEmptyArray(this.dataTarget.values)||(Fs.isEmptyArray(this.dataTarget.valueRegionSubset)?Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis):nd(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.valueRegionSubset,"region_".concat(this.dataTarget.key),this.config.yAxis,this.dataTarget.interpolationType)),n=t.config,e={clickHandler:Ag(t,0,t.config,t.svg),hoverHandler:wg(t.config.shownTargets,t.svg)},i=this.dataTarget,a=t.legendSVG,i.label&&i.label.display&&a&&Fu(a,i,n,e),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this},e.unload=function(t){return kg(t.svg,this.dataTarget),qu(t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget),Uu(t.legendSVG,this.dataTarget),Su(t.axesLabelShapeGroup[this.config.yAxis],this.dataTarget,t.config),this.dataTarget={},this.config={},this},e.resize=function(t){return!Fs.isEmptyArray(this.dataTarget.values)&&t.config.shownTargets.indexOf(this.dataTarget.key)>-1&&(Fs.notEmpty(this.dataTarget.regions)||!Fs.isEmptyArray(this.dataTarget.valueRegionSubset)?rd(t.config.shownTargets,t.content)?t.config.shouldHideAllRegion=!1:t.config.shouldHideAllRegion=!id(t.svg):t.config.shouldHideAllRegion=!0),t.config.shouldHideAllRegion&&ad(t.svg),ed(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup),this.dataTarget.valueRegionSubset),this.dataTarget.yAxis,!Fs.isEmptyArray(this.dataTarget.valueRegionSubset),this.dataTarget.interpolationType),xg(t.scale,t.svg,t.config),this},e.reflow=function(t,n){this.config.values=n.values,this.dataTarget=_g(t.config,this.config);var e={clickHandler:Ag(t,0,t.config,t.svg),hoverHandler:wg(t.config.shownTargets,t.svg)},i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.line)).data([this.dataTarget]);if(bg(t.scale,t.config,r.enter()),r.exit().remove(),Nu(t,n,this),t.config.showShapes){t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var o=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class*="'.concat(Zs.point,'"]')).data(gg(this.dataTarget).filter((function(t){return null!==t.y&&void 0!==t.y})));Eg(t.scale,t.config,o.enter(),t.legendSVG),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove()}this.valuesRange[this.config.yAxis]=Sg(this.config.values)},e.redraw=function(t){return kg(t.svg,this.dataTarget),Tg(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(Js),Lg=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){return Us(this.input),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Cg=function(t){var n=t.map((function(t){return Object.keys(t).map((function(n){return t[n].y}))}));return{min:Math.min.apply(Math,f()(n.map((function(t){return Math.min.apply(Math,f()(t))})))),max:Math.max.apply(Math,f()(n.map((function(t){return Math.max.apply(Math,f()(t))}))))}},Ng=function(t){return t.map((function(t){var n={};return md((function(e){null==t[e]||"object"===Ss()(t[e])&&0===Object.keys(t[e]).length||(n[e]=t[e])})),n}))},Mg=function(t){function n(n){var e,i,a;return(e=t.call(this)||this).config=(i=n,(new Lg).setInput(i).validateInput().clone().getConfig()),e.type="PairedResult",e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.config.values=Ng(e.config.values),e.valuesRange={},e.valuesRange.x=(a=e.config.values.map((function(t){return Object.keys(t).map((function(n){return"string"==typeof t[n].x||t[n].x instanceof Date?Fs.getEpocFromDateString(t[n].x):t[n].x}))})),{min:Math.min.apply(Math,f()(a.map((function(t){return Math.min.apply(Math,f()(t))})))),max:Math.max.apply(Math,f()(a.map((function(t){return Math.max.apply(Math,f()(t))}))))}),e.valuesRange[e.config.yAxis]=Cg(e.config.values),e.dataTarget={},e}u()(n,t);var e=n.prototype;return e.load=function(t){var n,e,i,a,r,o=this;return Pd(this.config.values),this.dataTarget=wd(t.config,this.config),_d(t.scale,t.config,t.svg,this.dataTarget),Fs.isEmptyArray(this.dataTarget.values)||!Fs.notEmpty(this.dataTarget.regions)&&!Fs.notEmpty(this.dataTarget.valueRegionSubset)||(n=t.scale,e=t.config,i=t.svg,a=this.dataTarget,(r=i.select(".".concat(Zs.regionGroup)).append("g").classed(Zs.regionPairGroup,!0).attr("aria-describedby","region_".concat(a.key))).call((function(){md((function(t){if(a.valueRegionSubset&&a.valueRegionSubset[t])nd(n,e,r,a.valueRegionSubset[t],"region_".concat(a.key,"_").concat(t),a.yAxis);else if(a.regions&&a.regions[t]){if(!Fs.isArray(a.regions[t])||Fs.isUndefined(a.regions[t]))throw new Error(K);Qu(n,e,r,a.regions[t],"region_".concat(a.key,"_").concat(t),a.yAxis)}}))}))),Nd(t.config,{clickHandler:Ld(t,0,t.config,t.svg),hoverHandler:Cd(t.config,t.svg)},this.dataTarget,t.legendSVG),t.axesLabelShapeGroup[this.config.yAxis]&&md((function(n){Iu(t.config,{key:"".concat(o.dataTarget.key,"_").concat(n),label:yd(o.dataTarget.label,n),color:yd(o.dataTarget.color,n),shape:yd(o.dataTarget.shape,n),values:o.dataTarget.values},t.axesLabelShapeGroup[o.config.yAxis])})),this},e.unload=function(t){var n=this;return Md(t.svg,this.dataTarget),qu(t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget),md((function(e){var i="".concat(n.dataTarget.key,"_").concat(e);Uu(t.legendSVG,{key:i}),Su(t.axesLabelShapeGroup[n.config.yAxis],{key:i},t.config)})),this.dataTarget={},this.config={},this},e.resize=function(t){var n=this;if(Fs.notEmpty(this.dataTarget.values)){if(Fs.notEmpty(this.dataTarget.regions)||Fs.notEmpty(this.dataTarget.valueRegionSubset)){var e=this.dataTarget.values;if(Sd(t.config,t))t.config.shouldHideAllRegion=!1;else if(t.content.length>1){var i=e.every((function(t){return function(t,n){return Object.keys(t).every((function(t){return Object.prototype.hasOwnProperty.call(n,t)}))}(t,n.dataTarget.regions||n.dataTarget.valueRegionSubset)}));t.config.shouldHideAllRegion=!i||t.config.shouldHideAllRegion||!id(t.svg)}ed(t.scale,t.config,t.svg.select('g[aria-describedby="region_'.concat(this.dataTarget.key,'"]')),this.dataTarget.yAxis,Fs.notEmpty(this.dataTarget.valueRegionSubset))}else t.config.shouldHideAllRegion=!0;t.config.shouldHideAllRegion&&ad(t.svg)}return Id(t.scale,t.svg,t.config),this},e.reflow=function(t,n){var e=this,i={clickHandler:Ld(t,0,t.config,t.svg),hoverHandler:Cd(t.config,t.svg)};this.config.values=Fs.deepClone(n.values),this.config.values=Ng(this.config.values),Pd(this.config.values),this.dataTarget=wd(t.config,this.config,!0),["high","mid","low"].forEach((function(e){var a=yd(t.contentConfig[0].label,e);if(a&&a.display){var r=t.contentConfig.filter((function(t){return t.key===n.key}));Fs.isEmptyArray(r)||Ku(t.legendSVG,function(t,n){return{shape:yd(t.shape,n),color:yd(t.color,n),label:yd(t.label,n),key:"".concat(t.key,"_").concat(n),values:t.values,legendOptions:t.legendOptions,type:n}}(r[0],e),t,i)}})),md((function(n){var i="".concat(e.dataTarget.key,"_").concat(n);Su(t.axesLabelShapeGroup[e.config.yAxis],{key:i},t.config)})),Fs.isEmpty(n.values)||md((function(n){Iu(t.config,{key:"".concat(e.dataTarget.key,"_").concat(n),label:yd(e.dataTarget.label,n),color:yd(e.dataTarget.color,n),shape:yd(e.dataTarget.shape,n),values:e.dataTarget.values},t.axesLabelShapeGroup[e.config.yAxis])}));var a=Td(this.dataTarget);t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pairedBox)).remove();var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pairedBox)).data(a);r.enter().append("g").classed(Zs.pairedBox,!0).attr("aria-selected",!1).attr("transform","translate(".concat(Kc(t.config),",").concat(Wc(t.config),")")).call((function(n){pd(t.scale,t.config,n),bd(t.scale,t.config,n),Ed(t.scale,t.config,n,t.legendSVG)})),r.exit().remove(),this.valuesRange[this.config.yAxis]=Cg(this.config.values),this.resize(t)},e.redraw=function(t){return Md(t.svg,this.dataTarget),_d(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(Js),Rg=function(t,n){return n.height?n.height:ks.PIE_CHART_DEFAULT_HEIGHT},Og=function(){return function(){var t=Zo,n=Jo,e=null,i=wo(0),a=wo(Oo),r=wo(0);function o(o){var s,c,l,u,d,f=o.length,h=0,g=new Array(f),p=new Array(f),y=+i.apply(this,arguments),m=Math.min(Oo,Math.max(-Oo,a.apply(this,arguments)-y)),v=Math.min(Math.abs(m)/f,r.apply(this,arguments)),x=v*(m<0?-1:1);for(s=0;s0&&(h+=d);for(null!=n?g.sort((function(t,e){return n(p[t],p[e])})):null!=e&&g.sort((function(t,n){return e(o[t],o[n])})),s=0,l=h?(m-f*x)/h:0;s0?d*l:0)+x,p[c]={data:o[c],index:s,value:d,startAngle:y,endAngle:u,padAngle:v};return p}return o.value=function(n){return arguments.length?(t="function"==typeof n?n:wo(+n),o):t},o.sortValues=function(t){return arguments.length?(n=t,e=null,o):n},o.sort=function(t){return arguments.length?(e=t,n=null,o):e},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:wo(+t),o):i},o.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:wo(+t),o):a},o.padAngle=function(t){return arguments.length?(r="function"==typeof t?t:wo(+t),o):r},o}().value((function(t){return t.value}))},Pg=function(t){return function(){var t=Fo,n=Uo,e=wo(0),i=null,a=Ho,r=Bo,o=Vo,s=null;function c(){var c,l,u=+t.apply(this,arguments),d=+n.apply(this,arguments),f=a.apply(this,arguments)-Ro,h=r.apply(this,arguments)-Ro,g=ko(h-f),p=h>f;if(s||(s=c=Ao()),d1e-12)if(g>Oo-1e-12)s.moveTo(d*So(f),d*Co(f)),s.arc(0,0,d,f,h,!p),u>1e-12&&(s.moveTo(u*So(h),u*Co(h)),s.arc(0,0,u,h,f,p));else{var y,m,v=f,x=h,b=f,E=h,T=g,_=g,A=o.apply(this,arguments)/2,w=A>1e-12&&(i?+i.apply(this,arguments):No(u*u+d*d)),k=Lo(ko(d-u)/2,+e.apply(this,arguments)),I=k,S=k;if(w>1e-12){var D=Go(w/u*Co(A)),L=Go(w/d*Co(A));(T-=2*D)>1e-12?(b+=D*=p?1:-1,E-=D):(T=0,b=E=(f+h)/2),(_-=2*L)>1e-12?(v+=L*=p?1:-1,x-=L):(_=0,v=x=(f+h)/2)}var C=d*So(v),N=d*Co(v),M=u*So(E),R=u*Co(E);if(k>1e-12){var O,P=d*So(x),G=d*Co(x),F=u*So(b),U=u*Co(b);if(g1e-12?S>1e-12?(y=Xo(F,U,C,N,d,S,p),m=Xo(P,G,M,R,d,S,p),s.moveTo(y.cx+y.x01,y.cy+y.y01),S1e-12&&T>1e-12?I>1e-12?(y=Xo(M,R,P,G,u,-I,p),m=Xo(C,N,F,U,u,-I,p),s.lineTo(y.cx+y.x01,y.cy+y.y01),I-1?a.splice(o,1):a.push(r.key),i.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(n.key,'"]')).attr("aria-hidden",Bu(mo(t))),window.requestAnimationFrame((function(){}))}},bp=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}])}},Ep=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},Tp=function(t,n){var e=Fs.deepClone(t.axis);return n.clipPathId=Vs(),n.bindTo=t.bindTo,n.bindLegendTo=t.bindLegendTo,n.padding=function(t,n){return Fs.isDefined(t.padding)?{top:Hs(n.top,ks.PADDING.top),bottom:Hs(n.bottom,ks.PADDING.bottom),right:Hs(n.right,ks.PADDING.right),left:Hs(n.left,ks.PADDING.left),hasCustomPadding:!0}:{top:ks.PADDING.top,bottom:ks.PADDING.bottom,right:ks.PADDING.right,left:ks.PADDING.left,hasCustomPadding:!1}}(n,t.padding),n.padding.hasCustomPadding=Fs.isDefined(t.padding),n.legendPadding=ju(n,t.legendPadding),n.axis={x:{}},n.d3Locale=Hs(t.locale,dc),n.throttle=Hs(t.throttle,ks.RESIZE_THROTTLE),n.settingsDictionary=function(t){return Ws(t)?{shouldClamp:!1,transition:ks.D3_TRANSITION_PROPERTIES_DISABLED}:{shouldClamp:!0,transition:ks.D3_TRANSITION_PROPERTIES_ENABLED}}(t),n.showLabel=Hs(t.showLabel,!0),n.showLegend=Hs(t.showLegend,!0),n.axis.x=Sf()(e.x,{type:_s.TIME_SERIES,show:!0,ticks:Hs(e.x.ticks,{}),domain:js(_s.TIME_SERIES,e.x.lowerLimit,e.x.upperLimit),rangeRounding:Hs(e.x.rangeRounding,!0)}),n.shownTargets=[],n},_p=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){if(Fs.isEmpty(this.input))throw new Error(_);if(Fs.isEmpty(this.input.bindTo))throw new Error(T);if(Fs.isEmpty(this.input.axis)||Fs.isEmpty(this.input.axis.x))throw new Error(L);if(Fs.isEmpty(this.input.axis.x.lowerLimit)||Fs.isEmpty(this.input.axis.x.upperLimit))throw new Error(C);if(!Fs.isDate(this.input.axis.x.lowerLimit)||!Fs.isDate(this.input.axis.x.upperLimit))throw new Error(R);return this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Ap=function(t){if(!Fs.isDate(t))throw new Error(O);return Fs.parseDateTime(t)},wp=function(t,n){return t.shownTargets.push(n.key),n.internalValuesSubset=n.values.map((function(t){return{onClick:n.onClick,isCritical:t.isCritical||!1,x:Ap(t.x),content:t.content,color:n.color||ks.DEFAULT_COLOR,label:n.label||{},shape:n.shape||Es.CIRCLE,key:n.key}})),n},kp=function(t,n,e,i,a){var r=function(t,n,e){return n.append("g").classed(Zs.timelineContentGroup,!0).attr("transform","translate(".concat(sp(t),",0)")).attr("aria-labelledby",e.label.display).attr("aria-describedby",e.key)}(e,i,t.config).selectAll(".".concat(Zs.point)).data(a.internalValuesSubset);vp(n,e,r.enter()),r.exit().transition().call(ks.d3Transition).remove()},Ip=function(t){return function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(I);if(Fs.isEmpty(t.label)||Fs.isEmpty(t.label.display))throw new Error(S);if(Fs.isEmpty(t.values))throw new Error(w)}(t),Fs.deepClone(t)},Sp=function(t){function n(n){var e;return(e=t.call(this)||this).config=Ip(n),e.dataTarget=null,e}u()(n,t);var e=n.prototype;return e.load=function(t){if(!rg(t.contentConfig,this.config.key))throw new Error(I);var n,e,i,a;return this.dataTarget=wp(t.config,this.config),kp(this,t.scale,t.config,t.svg.select(".".concat(Zs.timelineGraphContent)),this.dataTarget),n=t.config,e={clickHandler:xp(0,0,t.config,t.svg),hoverHandler:bp(t.config.shownTargets,t.svg)},i=this.dataTarget,a=t.legendSVG,i.label&&i.label.display&&a&&Fu(a,i,n,e),this},e.unload=function(t){return Ep(t.svg,this.dataTarget),Uu(t.legendSVG,this.dataTarget),this.dataTarget={},this.config={},this},e.resize=function(t){return ap(t.scale,t.config,t.svg,this.config.key,".".concat(Zs.point)),ap(t.scale,t.config,t.svg,this.config.key,".".concat(Zs.dataPointSelection)),this},e.reflow=function(t,n){this.config.values=n.values,this.dataTarget=wp(t.config,this.config);var e=t.config.shownTargets.lastIndexOf(n.key);e>-1&&t.config.shownTargets.splice(e,1),t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var i=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll('[class*="'.concat(Zs.point,'"]')).data(this.dataTarget.internalValuesSubset);vp(t.scale,t.config,i.enter()),i.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),this.resize(t)},e.redraw=function(t){return Ep(t.svg,this.dataTarget),kp(this,t.scale,t.config,t.svg.select(".".concat(Zs.timelineGraphContent)),this.dataTarget),this},n}(Js),Dp=ks.BASE_CANVAS_WIDTH_PADDING,Lp=function(t,n){n.canvasWidth=parseInt(t.style("width"),10)-kf(t)},Cp=function(t){var n;return t.graphContainer=mo(t.config.bindTo),t.config.height=(n=t.config,op+n.padding.top-n.padding.bottom),t},Np=function(t){return t.graphContainer=null,t.config={axis:{x:{}},shownTargets:{},pan:{}},t.axis={},t.scale={},t.svg=null,t.legendSVG=null,t.content=[],t.contentConfig=[],t.resizeHandler=null,t},Mp=function(t){var n;return Lp(t.graphContainer,t.config),(n=t.config).axisSizes={},n.axisSizes.x=hl(n),function(t){t.axisLabelHeights={},t.axisLabelHeights.x=0,t.showLabel&&t.axis.x.label&&(t.axisLabelHeights.x=xl(t.axis.x.label))}(t.config),function(t){t.canvasHeight=qc(t)+2*(2*t.padding.bottom+t.padding.top)}(t.config),hp(t.scale,t.config),t},Rp=function(t){function n(n){var e;return e=t.call(this)||this,Np(c()(e)),e.generate(n),e}u()(n,t);var e=n.prototype;return e.generate=function(t){var n;this.config=(n=t,(new _p).setInput(n).validateInput().clone().getConfig()),Tp(t,this.config),Cp(this),Mp(this);var e=mo(this.config.bindTo).append("div").classed(Zs.timelineContainer,!0).style("padding-top",this.config.removeContainerPadding&&0).style("padding-bottom",this.config.removeContainerPadding&&0);this.svg=e.insert("svg",":first-child").classed(Zs.canvas,!0).attr("role","img").attr("height",this.config.canvasHeight).attr("width",this.config.padding.hasCustomPadding?this.config.canvasWidth:this.config.canvasWidth-Dp),gp(this.config,this.svg),pp(this.axis,this.scale,this.config,this.svg);var i,a=document.querySelector(".".concat(Zs.timelineContainer)).querySelectorAll(".tick"),r=a[0].getBoundingClientRect().width,o=a[a.length-1].getBoundingClientRect().width;return document.querySelector(".".concat(Zs.timelineContainer)).querySelector(".carbon-axis.carbon-axis-x").getBoundingClientRect().width+r/2+o/2>this.config.canvasWidth&&(mo(".".concat(Zs.timelineContainer)).select("defs").remove(),mo(".".concat(Zs.timelineContainer)).select(".".concat(Zs.axisX)).remove(),this.config.padding.left=r/2,this.config.padding.right=o/2,gp(this.config,this.svg),pp(this.axis,this.scale,this.config,this.svg)),i=this.config,this.svg.append("g").classed(Zs.timelineGraphContent,!0).attr("clip-path","url(#".concat(i.clipPathId,")")),function(t,n){if(t.showLabel&&t.axis.x.label){var e=n.append("g").classed(Zs.axisLabelX,!0).attr("transform","translate(".concat(up(t),",").concat(dp(t),") rotate(").concat(il(ks.X_AXIS),")"));ml(e,Fs.sanitize(t.axis.x.label))}}(this.config,this.svg),this.config.showLegend&&(this.legendSVG=Hu(this.config,this.config.bindLegendTo?mo(this.config.bindLegendTo):e)),du(this),this.svg},e.resize=function(){var t=this;return Lp(this.graphContainer,this.config),hp(this.scale,this.config),rp(this),this.contentConfig.forEach((function(n){return n.resize(t)})),this},e.loadContent=function(t){var n=this;return Rd(t,(function(t){var e=new Sp(t);e.load(n),n.content.push(t.key),n.contentConfig.push(e)})),this.resize(),this},e.unloadContent=function(t){var n=this;return Rd(t,(function(t){var e=n.content.indexOf(t.key);if(e<0)throw new Error(P);n.contentConfig[e].unload(n),n.content.splice(e,1),n.contentConfig.splice(e,1)})),this.resize(),this},e.reflow=function(t){console.warn("reflow is deprecated and will be removed a future major release. Please use reflowMultipleDatasets instead.");var n={clickHandler:xp(0,0,this.config,this.svg),hoverHandler:bp(this.config.shownTargets,this.svg)};if(Al(this.config),hp(this.scale,this.config),ep(this.axis,this.scale,this.config,this.svg),t&&t.values&&this.content.includes(t.key)){var e=this.content.findIndex((function(n){return n===t.key}));this.contentConfig[e].reflow(this,t)}return this.config.showLegend&&Ku(this.legendSVG,this.contentConfig[0].config,this,n),this.resize(),this},e.reflowMultipleDatasets=function(t){var n=this,e={clickHandler:xp(0,0,this.config,this.svg),hoverHandler:bp(this.config.shownTargets,this.svg)};return Al(this.config),hp(this.scale,this.config),ep(this.axis,this.scale,this.config,this.svg),t&&t.panData&&!Fs.isEmptyArray(t.panData)&&t.panData.forEach((function(t){var e=n.content.findIndex((function(n){return n===t.key}));e>-1&&n.contentConfig[e].reflow(n,t)})),this.config.showLegend&&Ku(this.legendSVG,this.contentConfig[0].config,this,e),this.resize(),this},e.destroy=function(){return fu(this),hu(this.graphContainer,".".concat(Zs.canvas)),hu(this.graphContainer,".".concat(Zs.timelineContainer)),Np(this),this},n}(wf),Op=function(t){return function(n){return function(e){var i;return"translate(".concat((i=n,t.x(i.x)),",").concat(function(n){return t[n.yAxis](n.y)}(n),") scale(").concat(e,")")}}},Pp=function(t,n,e,i){return n.selectAll(".".concat(Zs.scatterGraphContent," .").concat(e)).each((function(n){mo(this).select("g").transition().call(ks.d3Transition(i.settingsDictionary.transition)).attr("transform",(function(){return Op(t)(n)(Pl(this))}))}))},Gp=function(t,n,e){Fs.isEmpty(t.onClick)||function(t){var n=mo(t.parentNode).select(".".concat(Zs.dataPointSelection));return n.attr("aria-hidden",!("true"===n.attr("aria-hidden"))),n}(e).call((function(e){return t.onClick((function(){e.attr("aria-hidden",!0)}),t.key,n,t,e)}))},Fp=function(t){return t.internalValuesSubset},Up=function(t,n,e,i){var a=function(n,e,i,a){return n.append((function(){var n;return new sc(lu(e)).getShapeElement(rc({svgClassNames:"".concat(Zs.point," ").concat(a),transformFn:Op(t)(e),onClickFn:function(){Gp(e,i,this)},a11yAttributes:{"aria-hidden":"false"===(null===(n=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(e.key,'"]')))||void 0===n?void 0:n.getAttribute("aria-current")),"aria-describedby":e.key,"aria-disabled":!Fs.isFunction(e.onClick)}}))}))};e.append("g").classed(Zs.pointGroup,!0).each((function(e,r){var o,s,c=mo(this);o=e,s=r,c.append((function(){return new sc(cd(Es.CIRCLE,ks.DEFAULT_PLOT_SELECTION_SCALE)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,transformFn:Op(t)(o),onClickFn:function(){Gp(o,s,this)},a11yAttributes:{"aria-hidden":!0,"aria-describedby":o.key,"aria-disabled":!Fs.isFunction(o.onClick)}}))})),e.isCritical&&(n.hasCriticality=!0,a(c,e,r,Zs.criticalityOuterPoint),a(c,e,r,Zs.criticalityInnerPoint)),function(n,e,a){n.append((function(){var n;return new sc(lu(e)).getShapeElement(rc({svgClassNames:Zs.point,svgStyles:"fill: ".concat(uu(e),";"),transformFn:Op(t)(e),onClickFn:function(){Gp(e,a,this)},a11yAttributes:{"aria-hidden":i?"false"===(null===(n=i.select(".".concat(Zs.legendItem,"[aria-describedby='").concat(e.key,"']")))||void 0===n?void 0:n.attr("aria-current")):"false","aria-describedby":e.key,"aria-disabled":!Fs.isFunction(e.onClick)}}))}))}(c,e,r)}))},Hp=function(t,n,e,i,a){var r=e.append("g").classed(Zs.scatterGraphContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-hidden",n.shownTargets.indexOf(i.key)<0).attr("aria-describedby",i.key),o=r.selectAll(".".concat(Zs.currentPointsGroup)).data([i]);o.enter().append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")),o.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove();var s=r.select(".".concat(Zs.currentPointsGroup)).selectAll(".".concat(Zs.point)).data(Fp(i));Up(t,n,s.enter(),a),s.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()},Bp=function(t,n){var e=t.axis.x.type,i=function(t){if(!Nl(t,e))throw new Error(O);return Ks(t,e)};return n.interpolationType=Xs(n.type),n.showShapes=!0,t.shownTargets.push(n.key),n.internalValuesSubset=n.values.map((function(t){return{onClick:n.onClick,isCritical:t.isCritical||!1,x:i(t.x),y:t.y,color:n.color||ks.DEFAULT_COLOR,label:n.label||{},shape:n.shape||Es.CIRCLE,yAxis:n.yAxis||ks.Y_AXIS,key:n.key}})),n},Vp=function(t,n,e,i){return function(n,a){Vu(n);var r,o,s,c=Bu(mo(n));o=a,(s=(r=e.shownTargets).indexOf(o.key))>-1?r.splice(s,1):r.push(o.key),i.selectAll(".".concat(Zs.dataPointSelection,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",!0),i.selectAll('path[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",c),i.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",c),window.requestAnimationFrame(function(t,n,e){return function(){od(t,n,e)}}(t,e,i))}},Yp=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}]),n.selectAll('path[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('svg[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),sd(t,n,e.key,i)}},Xp=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},zp=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){return Us(this.input),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),jp=function(t){var n=t.filter((function(t){return null!==t.y&&void 0!==t.y})).map((function(t){return t.y}));return{min:Math.min.apply(Math,f()(n)),max:Math.max.apply(Math,f()(n))}},Kp=function(t){function n(n){var e,i,a;return(e=t.call(this)||this).config=(i=n,(new zp).setInput(i).validateInput().clone().getConfig()),e.type="Scatter",e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.valuesRange={},e.valuesRange.x=(a=e.config.values.filter((function(t){return null!==t.x&&void 0!==t.x})).map((function(t){return"string"==typeof t.x||t.x instanceof Date?Fs.getEpocFromDateString(t.x):t.x})),{min:Math.min.apply(Math,f()(a)),max:Math.max.apply(Math,f()(a))}),e.valuesRange[e.config.yAxis]=jp(e.config.values),e.dataTarget={},e}u()(n,t);var e=n.prototype;return e.load=function(t){var n,e,i,a;return Od(this.config.values),this.dataTarget=Bp(t.config,this.config),Hp(t.scale,t.config,t.svg,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis),n=t.config,e={clickHandler:Vp(t,0,t.config,t.svg),hoverHandler:Yp(t.config.shownTargets,t.svg)},i=this.dataTarget,a=t.legendSVG,i.label&&i.label.display&&a&&Fu(a,i,n,e),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this},e.unload=function(t){return Xp(t.svg,this.dataTarget),qu(t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget),Uu(t.legendSVG,this.dataTarget),Su(t.axesLabelShapeGroup[this.config.yAxis],this.dataTarget,t.config),this.dataTarget={},this.config={},this},e.resize=function(t){var n,e,i;return Fs.notEmpty(this.dataTarget.regions)?t.content.length>1&&!t.config.shouldHideAllRegion&&(id(t.svg)?t.config.shouldHideAllRegion=!1:(ad(t.svg),t.config.shouldHideAllRegion=!0)):(ad(t.svg),t.config.shouldHideAllRegion=!0),ed(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup))),n=t.scale,e=t.svg,i=t.config,mu(e,Zs.currentPointsGroup,i),Pp(n,e,Zs.point,i),Pp(n,e,Zs.dataPointSelection,i),this},e.reflow=function(t,n){this.config.values=n.values,Od(this.config.values);var e={clickHandler:Vp(t,0,t.config,t.svg),hoverHandler:Yp(t.config.shownTargets,t.svg)};this.dataTarget=Bp(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e),t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class*="'.concat(Zs.point,'"]')).data(Fp(this.dataTarget));Up(t.scale,t.config,r.enter(),t.legendSVG),r.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),Nu(t,n,this),this.valuesRange[this.config.yAxis]=jp(this.config.values)},e.redraw=function(t){return Xp(t.svg,this.dataTarget),Hp(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(Js),Wp=function(t){return We().domain([t.weight.min,t.weight.max]).range([ks.DEFAULT_BUBBLE_RADIUS_MIN,ks.DEFAULT_BUBBLE_RADIUS_MAX])},qp=function(t){var n,e=t.hue.lowerShade,i=t.hue.upperShade;return n=Fs.isUndefined(t.weight)?t.values.map((function(t){return t.y})):t.values.map((function(n){return Wp(t)(n.weight)})),We().domain(Vt(n)).range([e,i])},Jp=function(t){var n,e=[];if(n=Fs.isUndefined(t.weight)?t.values.map((function(t){return t.y})):t.values.map((function(n){return Wp(t)(n.weight)})),Fs.isDefined(t.palette))switch(e=t.palette,t.values.length){case 4:3===e.length&&e.unshift(bs.PALETTE.GRAY);break;case 2:1===e.length&&e.splice(1,1);break;case 1:1===e.length&&e.splice(1,2);break;default:e=t.palette}return function t(){var n,e=[],i=[],a=[];function r(){var t=0,n=Math.max(1,i.length);for(a=new Array(n-1);++t0?a[n-1]:e[0],n-1?r.splice(s,1):r.push(o.key),i.selectAll(".".concat(Zs.dataPointSelection,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",!0),i.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",c),window.requestAnimationFrame(function(t,n,e){return function(){od(t,n,e)}}(t,e,i))}},fy=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}]),n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),sd(t,n,e.key,i)}},hy=function(t,n,e,i){e.label&&e.label.display&&i&&Fu(i,e,t,n)},gy=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},py=function(t){var n=t.filter((function(t){return null!==t.x&&void 0!==t.x})).map((function(t){return"string"==typeof t.x||t.x instanceof Date?Fs.getEpocFromDateString(t.x):t.x}));return{min:Math.min.apply(Math,f()(n)),max:Math.max.apply(Math,f()(n))}},yy=function(t){var n=t.filter((function(t){return null!==t.y})).map((function(t){return t.y}));return{min:Math.min.apply(Math,f()(n)),max:Math.max.apply(Math,f()(n))}},my=function(t){function n(n){var e,i;return(e=t.call(this)||this).config=(i=n,(new Zp).setInput(i).validateInput().clone().getConfig()),e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.valuesRange={},e.valuesRange.x=py(e.config.values),e.valuesRange[e.config.yAxis]=yy(e.config.values),e.dataTarget={},e}u()(n,t);var e=n.prototype;return e.load=function(t){return console.warn("Bubble will be deprecated in a future release. Please use BubbleSingleDataset or BubbleMultipleDataset"),this.dataTarget=uy(t.config,this.config),ly(t.scale,t.config,t.svg,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis),hy(t.config,{clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)},this.dataTarget,t.legendSVG),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this},e.unload=function(t){return gy(t.svg,this.dataTarget),qu(t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget),Uu(t.legendSVG,this.dataTarget),Su(t.axesLabelShapeGroup[this.config.yAxis],this.dataTarget,t.config),this.dataTarget={},this.config={},this},e.resize=function(t){return Fs.notEmpty(this.dataTarget.regions)?t.content.length>1&&!t.config.shouldHideAllRegion&&(id(t.svg)?t.config.shouldHideAllRegion=!1:(ad(t.svg),t.config.shouldHideAllRegion=!0)):(ad(t.svg),t.config.shouldHideAllRegion=!0),ed(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup))),ey(t.scale,t.svg,t.config),this},e.reflow=function(t,n){var e={clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)};this.config.values=n.values,this.dataTarget=uy(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).data([this.dataTarget]);r.exit().remove(),r.selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var o=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class="'.concat(Zs.point,'"]')).data(iy(this.dataTarget));cy(t.scale,t.config,o.enter(),this.dataTarget,t.legendSVG),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),this.valuesRange.x=py(this.config.values),this.valuesRange[this.config.yAxis]=yy(this.config.values)},e.redraw=function(t){return gy(t.svg,this.dataTarget),ly(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(Js),vy=function(t,n){return Fs.isDefined(t.color)?t.color:Fs.isDefined(t.palette)?ay(t)?Jp(t)(Wp(t)(n.weight)):Jp(t)(n.y):void 0},xy=function(t,n){return ay(t)&&Fs.isUndefined(t.weight.fixedRadius)?Wp(t)(n.weight):Fs.isUndefined(t.weight)?ks.DEFAULT_BUBBLE_RADIUS_MAX:t.weight.fixedRadius},by=function(t,n,e,i){e.append("g").classed(Zs.pointGroup,!0).each((function(n,e){var a,r,o=mo(this);a=n,r=e,o.append("g").classed(Zs.dataPointSelection,!0).attr("transform",$p(t)(a)).attr("aria-disabled",Fs.isDefined(a.onClick)).attr("aria-hidden",!0).attr("aria-describedby",a.key).on("click",(function(){ny(a,r,this)})).append("circle").attr("r",(function(t){return xy(i,t)+ks.DEFAULT_BUBBLE_SELECTOR_RADIUS})),function(n,e,a){var r;n.append("g").classed(Zs.point,!0).attr("aria-disabled",!Fs.isFunction(e.onClick)).attr("transform",$p(t)(e)).attr("aria-describedby","".concat(e.key)).attr("aria-selected",!1).attr("aria-hidden","false"===(null===(r=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(e.key,'"]')))||void 0===r?void 0:r.getAttribute("aria-current"))).on("click",(function(){ny(e,a,this)})).append("circle").attr("aria-describedby",e.key).attr("r",(function(t){return xy(i,t)})).attr("fill",(function(t){return vy(i,t)})).attr("fill-opacity",ks.DEFAULT_BUBBLE_OPACITY).attr("stroke",(function(t){return vy(i,t)}))}(o,n,e)}))},Ey=function(t,n,e,i){var a=e.append("g").classed(Zs.bubbleGraphContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-hidden",n.shownTargets.indexOf(i.key)<0).attr("aria-describedby",i.key),r=a.selectAll(".".concat(Zs.currentPointsGroup)).data([i]);r.enter().append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")),r.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove();var o=a.select(".".concat(Zs.currentPointsGroup)).selectAll(".".concat(Zs.point)).data(iy(i));by(t,0,o.enter(),i),o.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()},Ty=function(t){function n(){return t.apply(this,arguments)||this}u()(n,t);var e=n.prototype;return e.load=function(t){return t.content.length>1?(console.warn("BubbleSingleDataset can only use one dataset."),this):Fs.isUndefined(t.content[0].config.color)&&Fs.isDefined(t.content[0].config.palette)&&t.content[0].config.values.length>bs.MAX_BUBBLES_SINGLE_DATASET?(console.warn("Cannot plot more than 4 bubbles using shades."),this):(Od(this.config.values),this.dataTarget=uy(t.config,this.config),Ey(t.scale,t.config,t.svg,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis),hy(t.config,{clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)},this.dataTarget,t.legendSVG),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this)},e.resize=function(t){return Fs.isEmpty(this.dataTarget.regions)&&(ad(t.svg),t.config.shouldHideAllRegion=!0),ed(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup))),ey(t.scale,t.svg,t.config),this},e.reflow=function(t,n){var e={clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)};this.config.values=n.values,Od(this.config.values),this.dataTarget=uy(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).data([this.dataTarget]);r.exit().remove(),r.selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var o=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class="'.concat(Zs.point,'"]')).data(iy(this.dataTarget));by(t.scale,t.config,o.enter(),this.dataTarget,t.legendSVG),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),this.valuesRange.x=py(this.config.values),this.valuesRange[this.config.yAxis]=yy(this.config.values)},e.redraw=function(t){return gy(t.svg,this.dataTarget),Ey(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(my),_y=function(t,n){return ay(t)&&Fs.isUndefined(t.weight.fixedRadius)?Wp(t)(n.weight):Fs.isUndefined(t.weight)?ks.DEFAULT_BUBBLE_RADIUS_MAX:t.weight.fixedRadius},Ay=function(t,n,e,i){e.append("g").classed(Zs.pointGroup,!0).each((function(n,e){var a,r,o=mo(this);a=n,r=e,o.append("g").classed(Zs.dataPointSelection,!0).attr("transform",$p(t)(a)).attr("aria-disabled",Fs.isDefined(a.onClick)).attr("aria-hidden",!0).attr("aria-describedby",a.key).on("click",(function(){ny(a,r,this)})).append("circle").attr("r",(function(t){return _y(i,t)+ks.DEFAULT_BUBBLE_SELECTOR_RADIUS})),function(n,e,a){var r;n.append("g").classed(Zs.point,!0).attr("aria-disabled",!Fs.isFunction(e.onClick)).attr("transform",$p(t)(e)).attr("aria-describedby","".concat(e.key)).attr("aria-selected",!1).attr("aria-hidden","false"===(null===(r=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(e.key,'"]')))||void 0===r?void 0:r.getAttribute("aria-current"))).on("click",(function(){ny(e,a,this)})).append("circle").attr("aria-describedby",e.key).attr("r",(function(t){return _y(i,t)})).attr("fill",(function(){return i.color})).attr("fill-opacity",ks.DEFAULT_BUBBLE_OPACITY).attr("stroke",(function(){return i.color}))}(o,n,e)}))},wy=function(t){function n(){return t.apply(this,arguments)||this}u()(n,t);var e=n.prototype;return e.load=function(t){return t.content.length>bs.MAX_DATASETS_MULTIPLE_API?(console.warn("BubbleMultipleDataset is limited to a maximum of 7 datasets"),this):(Od(this.config.values),this.dataTarget=uy(t.config,this.config),function(t,n,e,i){var a=e.append("g").classed(Zs.bubbleGraphContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-hidden",n.shownTargets.indexOf(i.key)<0).attr("aria-describedby",i.key),r=a.selectAll(".".concat(Zs.currentPointsGroup)).data([i]);r.enter().append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")),r.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove();var o=a.select(".".concat(Zs.currentPointsGroup)).selectAll(".".concat(Zs.point)).data(iy(i));Ay(t,0,o.enter(),i),o.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()}(t.scale,t.config,t.svg,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis),hy(t.config,{clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)},this.dataTarget,t.legendSVG),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this)},e.reflow=function(t,n){var e={clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)};this.config.values=n.values,Od(this.config.values),this.dataTarget=uy(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).data([this.dataTarget]);r.exit().remove(),r.selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var o=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class="'.concat(Zs.point,'"]')).data(iy(this.dataTarget));Ay(t.scale,t.config,o.enter(),this.dataTarget,t.legendSVG),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),this.valuesRange.x=py(this.config.values),this.valuesRange[this.config.yAxis]=yy(this.config.values)},n}(my),ky={gantt:function(t){return new ig(t)},graph:function(t){return new hg(t)},line:function(t){return new Dg(t)},pairedResult:function(t){return new Mg(t)},timeline:function(t){return new Rp(t)},pie:function(t){return new np(t)},bar:function(t){return new Af(t)},scatter:function(t){return new Kp(t)},bubble:function(t){return new my(t)},bubbleSingleDataset:function(t){return new Ty(t)},bubbleMultipleDataset:function(t){return new wy(t)}};function Iy(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function Sy(t){for(var n=1;n=0||(a[e]=t[e]);return a}(t,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}var s={},c="wrapper";function l(t){var n=t.components,e=o(t,a);return(0,i.mdx)(c,r({},s,e,{components:n,mdxType:"MDXLayout"}),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-css"},'svg:not(:root){overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.carbon-svg-icon{width:.625rem;height:.625rem;display:inline-block}.carbon-graph-container,.carbon-timeline-container{display:block;color:#1c1f21;padding-bottom:.8333rem;padding-top:.8333rem;width:100%}.carbon-graph-canvas{display:block;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.carbon-axis line,.carbon-axis path.domain{fill:none;stroke:#bcbfc0}.carbon-content-container,.carbon-grid line{shape-rendering:auto}.carbon-axis-info-row[aria-hidden=true],.carbon-axis-x[aria-hidden=true],.carbon-axis-y2[aria-hidden=true],.carbon-axis-y[aria-hidden=true]{display:none}.carbon-axis.carbon-axis-reference-line{stroke-width:2px;stroke:#bcbfc0}.carbon-grid>* .domain[stroke],.carbon-grid line{stroke:#e8e9ea}.carbon-lower-step-grid line{stroke:#9b9b9b;stroke-width:1px}.carbon-midpoint-grid line{stroke:#e8e9ea;stroke-width:1px}.carbon-upper-step-grid line{stroke:#bcbfc0;stroke-width:3px}.carbon-no-data-text{fill:#1c1f21}.carbon-legend{display:-ms-flexbox;display:flex;list-style-type:none;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex:1 1 100%;flex:1 1 100%;margin:0;padding:0}.carbon-legend .carbon-legend-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:.5rem;outline:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.carbon-legend .carbon-legend-item .carbon-legend-item-btn{font-size:inherit;-ms-flex-item-align:start;align-self:flex-start;-ms-flex-line-pack:center;align-content:center;margin-right:.5rem;padding:0;height:1.875rem;width:2.1875rem;border-radius:.25rem;border:0;background-color:#dedfe0;-ms-flex-negative:0;flex-shrink:0}.carbon-legend .carbon-legend-item .carbon-legend-item-text{word-wrap:break-word}.carbon-legend .carbon-legend-item[aria-disabled=false]{cursor:pointer}.carbon-legend .carbon-legend-item[aria-disabled=false]:hover{background-color:#ebf6fd}.carbon-legend .carbon-legend-item[aria-disabled=false] .carbon-legend-item-btn,.carbon-legend .carbon-legend-item[aria-disabled=false] .carbon-legend-item-text{cursor:pointer}.carbon-legend .carbon-legend-item[aria-disabled=true] .carbon-legend-item-btn,.carbon-legend .carbon-legend-item[aria-disabled=true] .carbon-legend-item-text{outline:none}.carbon-legend .carbon-legend-item[aria-disabled=true] .carbon-legend-item-btn{opacity:.35}.carbon-legend .carbon-legend-item[aria-disabled=true] .carbon-legend-item-text{color:#bcbfc0}.carbon-legend .carbon-legend-item .carbon-legend-item-icon{display:block;height:.857rem;width:.857rem;stroke:#fff;stroke-width:5px}.carbon-legend .carbon-legend-item .carbon-legend-item-icon-with-line{display:block;height:.625rem;width:.625rem;stroke:#fff;stroke-width:5px}.carbon-legend .carbon-legend-item .carbon-legend-item-span{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.carbon-legend .carbon-legend-item .carbon-legend-item-line{height:5px;width:28px;padding-top:1px}.carbon-legend .carbon-legend-item .carbon-legend-item-line-with-icon{height:5px;width:18px;padding-top:1px}.carbon-legend .carbon-legend-item .carbon-legend-white-line{stroke:#fff;stroke-width:6px}.carbon-legend .carbon-legend-item[aria-current=false] .carbon-legend-item-btn{background-color:#fff;border:1px solid #dedfe0}.carbon-legend .carbon-legend-item[aria-current=false] .carbon-legend-item-text{color:#6f7477}.carbon-blur{opacity:.2;transition:opacity 1s cubic-bezier(.07,.95,0,1)}.carbon-point[aria-disabled=false]{cursor:pointer}.carbon-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-selected-data-point{display:block;stroke:#a6d9f4;fill:#ebf6fd;fill-opacity:.25}.carbon-selected-data-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-selected-data-point path{stroke-width:1px}.carbon-criticality-inner[aria-hidden=true],.carbon-criticality-outer[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-criticality-outer{fill:#c00;stroke:#c00;stroke-width:24px}.carbon-criticality-inner{fill:#fff;stroke:#fff;stroke-width:8px}.carbon-region{fill:#f4f4f4}.carbon-region.carbon-region-blur,.carbon-region[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-region.carbon-value-region{stroke:#f4f4f4;stroke-width:.625rem}.carbon-region.carbon-region-highlight{opacity:1;visibility:visible;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-content-container{fill:none;stroke:#e8e9ea}.carbon-data-bar,.carbon-data-completion-bar{-webkit-user-select:none;-ms-user-select:none;user-select:none;shape-rendering:auto;stroke-width:0}.carbon-data-bar[aria-disabled=false],.carbon-data-completion-bar[aria-disabled=false]{cursor:pointer}.carbon-axis-info-row-item[aria-hidden=true],.carbon-data-bar[aria-hidden=true],.carbon-data-completion-bar[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-axis-info-row-item[aria-disabled=false]{cursor:pointer}.carbon-dateline-group .carbon-dateline{stroke-width:3px;shape-rendering:auto;opacity:.3}.carbon-dateline-group .carbon-dateline-point[aria-disabled=false]{cursor:pointer}.carbon-dateline-group .carbon-dateline-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-eventline-group .carbon-eventline{stroke-width:2px;opacity:1;shape-rendering:auto}.carbon-no-data-label{font-size:1.25rem;text-anchor:middle;fill:#6f7477}.carbon-no-data-overlay{fill:#fff;opacity:.6}.carbon-label-popup-tooltip{position:absolute;padding:1rem;font-family:Segoe UI,sans-serif;font-size:.866rem;font-weight:400;line-height:1.5;letter-spacing:.01071em;background-color:#fff;z-index:20;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);-moz-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.carbon-label-popup-tooltip .popup-item{display:block}.carbon-label-popup-tooltip .section{display:block;padding-left:1rem}.carbon-label-popup-tooltip .content{display:block}.carbon-label-popup-tooltip .content:last-child{padding-bottom:0}.carbon-label-popup-tooltip .content:not(:last-child){padding-bottom:.5rem}.carbon-label-popup-tooltip g{display:inline-block}.carbon-label-popup-tooltip g .popup-label{color:#01579b}.carbon-label-popup-tooltip g .popup-label:after{content:": "}.carbon-label-popup-tooltip g .popup-text{color:#000}.carbon-label-popup-tooltip g:not(:last-child){padding-bottom:.5rem}.carbon-label-popup-overlay{cursor:pointer;position:fixed;width:100vw;height:100vh;top:0;left:0;z-index:1200}.carbon-line path{fill:none;stroke-width:1px;transition:opacity .3s cubic-bezier(.07,.95,0,1)}.carbon-line path.carbon-highlight{stroke-width:2px;transition:stroke 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-line path[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-data-pair--selected{opacity:1!important;visibility:visible!important;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)!important}.carbon-paired-point[aria-disabled=false]{cursor:pointer}.carbon-paired-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-paired-line{fill:none;stroke-width:1px;stroke:#1c1f21}.carbon-paired-line[aria-disabled=false]{cursor:pointer}.carbon-paired-line[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-data-task,.carbon-y-axis-track-label .tick>text[aria-disabled=false]{cursor:pointer}.carbon-data-task[aria-disabled=true]{cursor:default}.carbon-data-track-group .carbon-selected-data-point{stroke-width:1px;stroke:#a6d9f4;fill:#ebf6fd;fill-opacity:.25}.carbon-data-track-group .carbon-selected-data-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-data-selected-bar{display:block;stroke-width:1px;stroke:#a6d9f4;fill:#ebf6fd;fill-opacity:.25;shape-rendering:auto}.carbon-data-selected-bar[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-track-selected-bar{display:block;fill-opacity:0}.carbon-track-selected-bar[aria-disabled=false]{cursor:pointer}.carbon-track-selected-bar[aria-selected=true]{stroke-width:1px;stroke:#a6d9f4;fill:#ebf6fd;fill-opacity:.25;shape-rendering:auto}.carbon-timeline-content-group .carbon-point[aria-hidden=true],.carbon-timeline-content-group .carbon-selected-data-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-timeline-criticality-outer{fill:#c00;stroke:#c00;stroke-width:24px;stroke-width:19px}.carbon-timeline-criticality-outer[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-timeline-criticality-inner{fill:#fff;stroke:#fff;stroke-width:8px;stroke-width:7px}.carbon-timeline-criticality-inner[aria-hidden=true],.carbon-timeline-criticality-outer[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-timeline-criticality-inner.carbon-highlight,.carbon-timeline-criticality-outer.carbon-highlight{opacity:1;visibility:visible;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-pie-chart-canvas{display:block;margin:0 auto}.carbon-data-pie-group[aria-disabled=false]{cursor:pointer}.carbon-legend .carbon-pie-legend-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:.5rem;outline:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.carbon-legend .carbon-pie-legend-item.carbon-pie-legend-item-slice-hover{background-color:#ebf6fd}.carbon-legend .carbon-pie-legend-item .carbon-pie-legend-item-icon{margin-right:.5rem}\n\n')))}l.isMDXComponent=!0},41492:function(t,n,e){"use strict";e.r(n),n.default={}},53560:function(t,n,e){"use strict";e.r(n),n.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},33864:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(67294)),a=r(e(99139));function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign?Object.assign.bind():function(t){for(var n=1;nt.length)&&(n=t.length);for(var e=0,i=new Array(n);e>>((3&n)<<3)&255;return a}}},90:function(t,n){for(var e=[],i=0;i<256;++i)e[i]=(i+256).toString(16).substr(1);t.exports=function(t,n){var i=n||0,a=e;return[a[t[i++]],a[t[i++]],a[t[i++]],a[t[i++]],"-",a[t[i++]],a[t[i++]],"-",a[t[i++]],a[t[i++]],"-",a[t[i++]],a[t[i++]],"-",a[t[i++]],a[t[i++]],a[t[i++]],a[t[i++]],a[t[i++]],a[t[i++]]].join("")}},91:function(t,n){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},92:function(t,n){t.exports=function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var i,a,r,o,s=[],c=!0,l=!1;try{if(r=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(i=r.call(e)).done)&&(s.push(i.value),s.length!==n);c=!0);}catch(t){l=!0,a=t}finally{try{if(!c&&null!=e.return&&(o=e.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports},93:function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},94:function(t){t.exports=JSON.parse('{"name":"@cerner/carbon-graphs","main":"lib/Graphs.js","version":"2.23.2","description":"A graphing library built using d3 based on Cerner design standards","repository":{"type":"git","url":"git+https://github.com/cerner/terra-graphs.git","directory":"packages/carbon-graphs"},"keywords":["Cerner","Terra","carbon-graphs","carbon","graphs","UI","d3","d3-module","graphing"],"author":"Cerner Corporation","license":"Apache-2.0","bugs":{"url":"https://github.com/cerner/terra-graphs/issues"},"homepage":"https://github.com/cerner/terra-graphs#readme","files":["dist","lib","README.md"],"prettier":{"arrowParens":"always","bracketSpacing":true,"semi":true,"tabWidth":4,"trailingComma":"none","overrides":[{"files":"package.json","options":{"tabWidth":2,"printWidth":250}}]},"publishConfig":{"access":"public"},"dependencies":{"d3-array":"1","d3-axis":"1","d3-dispatch":"1","d3-drag":"1","d3-ease":"1","d3-format":"1","d3-geo":"1","d3-hierarchy":"1","d3-interpolate":"1","d3-path":"1","d3-scale":"2","d3-selection":"1","d3-shape":"1","d3-time":"1","d3-time-format":"2","d3-timer":"1","d3-transition":"1.3.0"},"devDependencies":{"@cerner/carbon-site-helpers":"^1.11.3","@cerner/svg-to-carbon":"^1.1.3","express":"^4.17.1","express-rate-limit":"^5.1.3","karma":"^5.1.0","karma-chrome-launcher":"^3.1.0","karma-coverage":"^2.0.2","karma-jasmine":"^3.3.1","karma-parallel":"^0.3.1","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","less":"^3.12.2","less-loader":"^7.0.2","puppeteer":"^5.3.1","sinon":"^9.2.0"},"scripts":{"clean:install":"rm -rf ./node_modules && time npm install","compile":"babel --root-mode upward src --out-dir lib --copy-files","lint":"npm run lint:js","lint:js":"eslint --ext .js . --ignore-path ../../.eslintignore","lint:scss":"stylelint src/**/*.scss","precompile":"rm -rf lib","test":"npm run lint && npm run karma","jest":"jest --config ../../jest.config.js","karma":"karma start karma.config.js --single-run --no-auto-watch"}}')},96:function(t,n,e){"use strict";e.r(n);var i=e(4),a=e.n(i),r=e(31),o=e.n(r),s=e(2),c=e.n(s),l=e(0),u=e.n(l),d=e(1),f=e.n(d),h="Generate function not implemented from Construct.",g="LoadContent function not implemented from Construct.",p="UnloadContent function not implemented from Construct.",y="Resize function not implemented from Construct.",m="Destroy function not implemented from Construct.",v="Shape Path property cannot be empty.",x="Shape Options property cannot be empty.",b="Invalid Shape Options property attributes (x, y, scale).",E="Invalid input provided.",T="Invalid input format, graph DOM id must be provided.",_="Graph axes data needs to be loaded.",A="Graph data needs to be loaded.",w="Invalid input format, data points must be provided.",k="Invalid input format, label and key must be unique.",I="Invalid input format, unique key must be provided.",S="Invalid input format, unique label must be provided.",D="Content data needs to be loaded.",L="Invalid input format, axis must be provided.",C="Invalid input format, axis limits must be provided.",N="Invalid input format, axis labels for all axes must be provided.",M="Invalid input format, type must be valid.",R="Axis type invalid, bounds need to be in ISO8601 datetime format.",O="Type cannot be default, if data-points are in date time format.",P="Invalid object provided as argument.",G="Load function has not been implemented for this graph type.",F="Unload function has not been implemented for this graph type.",U="Resize function has not been implemented for this graph type.",H="Redraw function has not been implemented for this graph type.",B="GetInput not been implemented for BaseConfig.",V="SetInput not been implemented for BaseConfig.",Y="Input validation has not been implemented.",X="Clone input function has not been implemented.",z="Invalid input provided. Content cannot be loaded at index less than zero.",j="Invalid data provided, data cannot consists of values like null/undefined",K="Region in data object cannot be empty.",W="Region axis provided is invalid.",q="Region 'start' and 'end' value has invalid type.",J="Region cannot have both 'start' and 'end' empty.",Z="Region 'start' cannot be larger than 'end'.",$="Invalid input format; unique key must be provided for each task.",Q="Invalid input format; both start date and end date cannot be empty.",tt="Invalid input format; start date or end date cannot be empty for a task. No duration function provided.",nt="Input type invalid, start date and end date needs to be in ISO8601 datetime format.",et="Input input format; start date cannot be larger than end date.",it="Invalid property: duration; Duration needs to be a function.",at="Invalid property: duration; Duration needs to return a number.",rt="Invalid input format; unique key must be provided for each task.",ot="Invalid input format; both start date and end date cannot be empty.",st="Invalid input format; start date or end date cannot be empty for a task. No duration function provided.",ct="Input type invalid, start date and end date needs to be in ISO8601 datetime format.",lt="Input input format; start date cannot be larger than end date.",ut="Invalid property: duration; Duration needs to be a function.",dt="Invalid property: duration; Duration needs to return a number.",ft="Invalid property, a valid unique action key must be provided matching the legend key.",ht="Invalid property, a valid dateline object must be provided.",gt="Invalid property, a valid dateline value must be provided.",pt="Invalid property, dateline value type must be in ISO8601 datetime format.",yt="Invalid property, a valid dateline color value must be provided.",mt="Invalid property, a valid dateline shape value must be provided.",vt="Invalid property, a valid eventline object must be provided.",xt="Invalid property, a valid eventline value must be provided.",bt="Invalid property, eventline value type must be in ISO8601 datetime format.",Et="Invalid property, a valid eventline color value must be provided.",Tt="Invalid X Axis, tick values are required for Bar graph content.",_t="Invalid X Axis, tick values cannot be empty.",At="Region for Bar graph content cannot have 'x' value empty.",wt="Invalid X Axis, tick values are required for Bar region.",kt="Region x type for bar graph cannot be default, if data-points are in date time format.",It="Invalid X Axis Info Row, tick info values are required.",St="Invalid X Axis Info Row, tick info values should match with X Axis tick values.",Dt="Invalid X Axis Info Row input format, value property must be provided.",Lt="Invalid X Axis Info Row input format, display must be provided for label property.",Ct="Invalid property, a valid label object with a valid string must be provided.",Nt="Invalid property, a valid label.format callback function property must be provided.",Mt=function(){function t(){}var n=t.prototype;return n.getConfig=function(){throw new Error(B)},n.setInput=function(t){throw new Error(V)},n.validateInput=function(){throw new Error(Y)},n.clone=function(){throw new Error(X)},t}(),Rt=e(18),Ot=e.n(Rt),Pt=function(t,n){return tn?1:t>=n?0:NaN},Gt=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return Pt(n(t),e)}),{left:function(n,e,i,a){for(null==i&&(i=0),null==a&&(a=n.length);i>>1;t(n[r],e)<0?i=r+1:a=r}return i},right:function(n,e,i,a){for(null==i&&(i=0),null==a&&(a=n.length);i>>1;t(n[r],e)>0?a=r:i=r+1}return i}}},Ft=Gt(Pt),Ut=Ft.right,Ht=(Ft.left,Ut),Bt=function(t){return null===t?NaN:+t},Vt=function(t,n){var e,i,a,r=t.length,o=-1;if(null==n){for(;++o=e)for(i=a=e;++oe&&(i=e),a=e)for(i=a=e;++oe&&(i=e),a0)return[t];if((i=n0)for(t=Math.ceil(t/o),n=Math.floor(n/o),r=new Array(a=Math.ceil(n-t+1));++s=0?(r>=zt?10:r>=jt?5:r>=Kt?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(r>=zt?10:r>=jt?5:r>=Kt?2:1)}function Jt(t,n,e){var i=Math.abs(n-t)/Math.max(0,e),a=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),r=i/a;return r>=zt?a*=10:r>=jt?a*=5:r>=Kt&&(a*=2),n=1)return+e(t[i-1],i-1,t);var i,a=(i-1)*n,r=Math.floor(a),o=+e(t[r],r,t);return o+(+e(t[r+1],r+1,t)-o)*(a-r)}},$t=function(t,n){var e,i,a=t.length,r=-1;if(null==n){for(;++r=e)for(i=e;++ri&&(i=e)}else for(;++r=e)for(i=e;++ri&&(i=e);return i},Qt=function(t,n){var e,i,a=t.length,r=-1;if(null==n){for(;++r=e)for(i=e;++re&&(i=e)}else for(;++r=e)for(i=e;++re&&(i=e);return i},tn=Array.prototype.slice,nn=function(t){return t};function en(t){return"translate("+(t+.5)+",0)"}function an(t){return"translate(0,"+(t+.5)+")"}function rn(t){return function(n){return+t(n)}}function on(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}function sn(){return!this.__axis}function cn(t,n){var e=[],i=null,a=null,r=6,o=6,s=3,c=1===t||4===t?-1:1,l=4===t||2===t?"x":"y",u=1===t||3===t?en:an;function d(d){var f=null==i?n.ticks?n.ticks.apply(n,e):n.domain():i,h=null==a?n.tickFormat?n.tickFormat.apply(n,e):nn:a,g=Math.max(r,0)+s,p=n.range(),y=+p[0]+.5,m=+p[p.length-1]+.5,v=(n.bandwidth?on:rn)(n.copy()),x=d.selection?d.selection():d,b=x.selectAll(".domain").data([null]),E=x.selectAll(".tick").data(f,n).order(),T=E.exit(),_=E.enter().append("g").attr("class","tick"),A=E.select("line"),w=E.select("text");b=b.merge(b.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),E=E.merge(_),A=A.merge(_.append("line").attr("stroke","currentColor").attr(l+"2",c*r)),w=w.merge(_.append("text").attr("fill","currentColor").attr(l,c*g).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),d!==x&&(b=b.transition(d),E=E.transition(d),A=A.transition(d),w=w.transition(d),T=T.transition(d).attr("opacity",1e-6).attr("transform",(function(t){return isFinite(t=v(t))?u(t):this.getAttribute("transform")})),_.attr("opacity",1e-6).attr("transform",(function(t){var n=this.parentNode.__axis;return u(n&&isFinite(n=n(t))?n:v(t))}))),T.remove(),b.attr("d",4===t||2==t?o?"M"+c*o+","+y+"H0.5V"+m+"H"+c*o:"M0.5,"+y+"V"+m:o?"M"+y+","+c*o+"V0.5H"+m+"V"+c*o:"M"+y+",0.5H"+m),E.attr("opacity",1).attr("transform",(function(t){return u(v(t))})),A.attr(l+"2",c*r),w.attr(l,c*g).text(h),x.filter(sn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),x.each((function(){this.__axis=v}))}return d.scale=function(t){return arguments.length?(n=t,d):n},d.ticks=function(){return e=tn.call(arguments),d},d.tickArguments=function(t){return arguments.length?(e=null==t?[]:tn.call(t),d):e.slice()},d.tickValues=function(t){return arguments.length?(i=null==t?null:tn.call(t),d):i&&i.slice()},d.tickFormat=function(t){return arguments.length?(a=t,d):a},d.tickSize=function(t){return arguments.length?(r=o=+t,d):r},d.tickSizeInner=function(t){return arguments.length?(r=+t,d):r},d.tickSizeOuter=function(t){return arguments.length?(o=+t,d):o},d.tickPadding=function(t){return arguments.length?(s=+t,d):s},d}function ln(t){return cn(1,t)}function un(t){return cn(2,t)}function dn(t){return cn(3,t)}function fn(t){return cn(4,t)}function hn(t){return+t}function gn(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,i=t.slice(0,e);return[i.length>1?i[0]+i.slice(2):i,+t.slice(e+1)]}var pn=function(t){return(t=gn(Math.abs(t)))?t[1]:NaN},yn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function mn(t){if(!(n=yn.exec(t)))throw new Error("invalid format: "+t);var n;return new vn({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function vn(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}mn.prototype=vn.prototype,vn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var xn,bn,En,Tn,_n=function(t,n){var e=gn(t,n);if(!e)return t+"";var i=e[0],a=e[1];return a<0?"0."+new Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+new Array(a-i.length+2).join("0")},An={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return _n(100*t,n)},r:_n,s:function(t,n){var e=gn(t,n);if(!e)return t+"";var i=e[0],a=e[1],r=a-(xn=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=i.length;return r===o?i:r>o?i+new Array(r-o+1).join("0"):r>0?i.slice(0,r)+"."+i.slice(r):"0."+new Array(1-r).join("0")+gn(t,Math.max(0,n+r-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},wn=function(t){return t},kn=Array.prototype.map,In=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Sn=function(t){var n,e,i=void 0===t.grouping||void 0===t.thousands?wn:(n=kn.call(t.grouping,Number),e=t.thousands+"",function(t,i){for(var a=t.length,r=[],o=0,s=n[0],c=0;a>0&&s>0&&(c+s+1>i&&(s=Math.max(1,i-c)),r.push(t.substring(a-=s,a+s)),!((c+=s+1)>i));)s=n[o=(o+1)%n.length];return r.reverse().join(e)}),a=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?wn:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(kn.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"-":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function d(t){var n=(t=mn(t)).fill,e=t.align,d=t.sign,f=t.symbol,h=t.zero,g=t.width,p=t.comma,y=t.precision,m=t.trim,v=t.type;"n"===v?(p=!0,v="g"):An[v]||(void 0===y&&(y=12),m=!0,v="g"),(h||"0"===n&&"="===e)&&(h=!0,n="0",e="=");var x="$"===f?a:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",b="$"===f?r:/[%p]/.test(v)?c:"",E=An[v],T=/[defgprs%]/.test(v);function _(t){var a,r,c,f=x,_=b;if("c"===v)_=E(t)+_,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:E(Math.abs(t),y),m&&(t=function(t){t:for(var n,e=t.length,i=1,a=-1;i0&&(a=0)}return a>0?t.slice(0,a)+t.slice(n+1):t}(t)),A&&0==+t&&"+"!==d&&(A=!1),f=(A?"("===d?d:l:"-"===d||"("===d?"":d)+f,_=("s"===v?In[8+xn/3]:"")+_+(A&&"("===d?")":""),T)for(a=-1,r=t.length;++a(c=t.charCodeAt(a))||c>57){_=(46===c?o+t.slice(a+1):t.slice(a))+_,t=t.slice(0,a);break}}p&&!h&&(t=i(t,1/0));var w=f.length+t.length+_.length,k=w>1)+f+t+_+k.slice(w);break;default:t=k+f+t+_}return s(t)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),_.toString=function(){return t+""},_}return{format:d,formatPrefix:function(t,n){var e=d(((t=mn(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(pn(n)/3))),a=Math.pow(10,-i),r=In[8+i/3];return function(t){return e(a*t)+r}}}};function Dn(t){return bn=Sn(t),En=bn.format,Tn=bn.formatPrefix,bn}Dn({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var Ln=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t};function Cn(t,n){var e=Object.create(t.prototype);for(var i in n)e[i]=n[i];return e}function Nn(){}var Mn="\\s*([+-]?\\d+)\\s*",Rn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",On="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Pn=/^#([0-9a-f]{3,8})$/,Gn=new RegExp("^rgb\\("+[Mn,Mn,Mn]+"\\)$"),Fn=new RegExp("^rgb\\("+[On,On,On]+"\\)$"),Un=new RegExp("^rgba\\("+[Mn,Mn,Mn,Rn]+"\\)$"),Hn=new RegExp("^rgba\\("+[On,On,On,Rn]+"\\)$"),Bn=new RegExp("^hsl\\("+[Rn,On,On]+"\\)$"),Vn=new RegExp("^hsla\\("+[Rn,On,On,Rn]+"\\)$"),Yn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Xn(){return this.rgb().formatHex()}function zn(){return this.rgb().formatRgb()}function jn(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Pn.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?Kn(n):3===e?new Zn(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Wn(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Wn(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Gn.exec(t))?new Zn(n[1],n[2],n[3],1):(n=Fn.exec(t))?new Zn(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Un.exec(t))?Wn(n[1],n[2],n[3],n[4]):(n=Hn.exec(t))?Wn(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Bn.exec(t))?ne(n[1],n[2]/100,n[3]/100,1):(n=Vn.exec(t))?ne(n[1],n[2]/100,n[3]/100,n[4]):Yn.hasOwnProperty(t)?Kn(Yn[t]):"transparent"===t?new Zn(NaN,NaN,NaN,0):null}function Kn(t){return new Zn(t>>16&255,t>>8&255,255&t,1)}function Wn(t,n,e,i){return i<=0&&(t=n=e=NaN),new Zn(t,n,e,i)}function qn(t){return t instanceof Nn||(t=jn(t)),t?new Zn((t=t.rgb()).r,t.g,t.b,t.opacity):new Zn}function Jn(t,n,e,i){return 1===arguments.length?qn(t):new Zn(t,n,e,null==i?1:i)}function Zn(t,n,e,i){this.r=+t,this.g=+n,this.b=+e,this.opacity=+i}function $n(){return"#"+te(this.r)+te(this.g)+te(this.b)}function Qn(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function te(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function ne(t,n,e,i){return i<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new ie(t,n,e,i)}function ee(t){if(t instanceof ie)return new ie(t.h,t.s,t.l,t.opacity);if(t instanceof Nn||(t=jn(t)),!t)return new ie;if(t instanceof ie)return t;var n=(t=t.rgb()).r/255,e=t.g/255,i=t.b/255,a=Math.min(n,e,i),r=Math.max(n,e,i),o=NaN,s=r-a,c=(r+a)/2;return s?(o=n===r?(e-i)/s+6*(e0&&c<1?0:o,new ie(o,s,c,t.opacity)}function ie(t,n,e,i){this.h=+t,this.s=+n,this.l=+e,this.opacity=+i}function ae(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function re(t,n,e,i,a){var r=t*t,o=r*t;return((1-3*t+3*r-o)*n+(4-6*r+3*o)*e+(1+3*t+3*r-3*o)*i+o*a)/6}Ln(Nn,jn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Xn,formatHex:Xn,formatHsl:function(){return ee(this).formatHsl()},formatRgb:zn,toString:zn}),Ln(Zn,Jn,Cn(Nn,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Zn(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Zn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$n,formatHex:$n,formatRgb:Qn,toString:Qn})),Ln(ie,(function(t,n,e,i){return 1===arguments.length?ee(t):new ie(t,n,e,null==i?1:i)}),Cn(Nn,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new ie(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new ie(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,i=e+(e<.5?e:1-e)*n,a=2*e-i;return new Zn(ae(t>=240?t-240:t+120,a,i),ae(t,a,i),ae(t<120?t+240:t-120,a,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var oe=function(t){return function(){return t}};function se(t,n){return function(e){return t+e*n}}function ce(t){return 1==(t=+t)?le:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(i){return Math.pow(t+i*n,e)}}(n,e,t):oe(isNaN(n)?e:n)}}function le(t,n){var e=n-t;return e?se(t,e):oe(isNaN(t)?n:t)}var ue=function t(n){var e=ce(n);function i(t,n){var i=e((t=Jn(t)).r,(n=Jn(n)).r),a=e(t.g,n.g),r=e(t.b,n.b),o=le(t.opacity,n.opacity);return function(n){return t.r=i(n),t.g=a(n),t.b=r(n),t.opacity=o(n),t+""}}return i.gamma=t,i}(1);function de(t){return function(n){var e,i,a=n.length,r=new Array(a),o=new Array(a),s=new Array(a);for(e=0;e=1?(e=1,n-1):Math.floor(e*n),a=t[i],r=t[i+1],o=i>0?t[i-1]:2*a-r,s=ir&&(a=n.slice(r,a),s[o]?s[o]+=a:s[++o]=a),(e=e[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:ye(e,i)})),r=xe.lastIndex;return ri&&(n=e,e=i,i=n),function(t){return Math.max(e,Math.min(i,t))}}function Be(t,n,e){var i=t[0],a=t[1],r=n[0],o=n[1];return a2?Ve:Be,a=r=null,d}function d(n){return isNaN(n=+n)?e:(a||(a=i(o.map(t),s,c)))(t(l(n)))}return d.invert=function(e){return l(n((r||(r=i(s,o.map(t),ye)))(e)))},d.domain=function(t){return arguments.length?(o=Le.call(t,Pe),l===Fe||(l=He(o)),u()):o.slice()},d.range=function(t){return arguments.length?(s=Ce.call(t),u()):s.slice()},d.rangeRound=function(t){return s=Ce.call(t),c=Oe,u()},d.clamp=function(t){return arguments.length?(l=t?He(o):Fe,d):l!==Fe},d.interpolate=function(t){return arguments.length?(c=t,u()):c},d.unknown=function(t){return arguments.length?(e=t,d):e},function(e,i){return t=e,n=i,u()}}function ze(t,n){return Xe()(t,n)}var je=function(t,n,e,i){var a,r=Jt(t,n,e);switch((i=mn(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(n));return null!=i.precision||isNaN(a=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(pn(n)/3)))-pn(Math.abs(t)))}(r,o))||(i.precision=a),Tn(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(a=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,pn(n)-pn(t))+1}(r,Math.max(Math.abs(t),Math.abs(n))))||(i.precision=a-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(a=function(t){return Math.max(0,-pn(Math.abs(t)))}(r))||(i.precision=a-2*("%"===i.type))}return En(i)};function Ke(t){var n=t.domain;return t.ticks=function(t){var e=n();return Wt(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var i=n();return je(i[0],i[i.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var i,a=n(),r=0,o=a.length-1,s=a[r],c=a[o];return c0?i=qt(s=Math.floor(s/i)*i,c=Math.ceil(c/i)*i,e):i<0&&(i=qt(s=Math.ceil(s*i)/i,c=Math.floor(c*i)/i,e)),i>0?(a[r]=Math.floor(s/i)*i,a[o]=Math.ceil(c/i)*i,n(a)):i<0&&(a[r]=Math.ceil(s*i)/i,a[o]=Math.floor(c*i)/i,n(a)),t},t}function We(){var t=ze(Fe,Fe);return t.copy=function(){return Ye(t,We())},Te.apply(t,arguments),Ke(t)}var qe=function(t,n){var e,i=0,a=(t=t.slice()).length-1,r=t[i],o=t[a];return o0))return s;do{s.push(o=new Date(+e)),n(e,r),t(e)}while(o=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;n(t,-1),!e(t););else for(;--i>=0;)for(;n(t,1),!e(t););}))},e&&(a.count=function(n,i){return Je.setTime(+n),Ze.setTime(+i),t(Je),t(Ze),Math.floor(e(Je,Ze))},a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?a.filter(i?function(n){return i(n)%t==0}:function(n){return a.count(0,n)%t==0}):a:null}),a}var Qe=$e((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Qe.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$e((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var ti=Qe,ni=(Qe.range,$e((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),ei=ni;function ii(t){return $e((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}ni.range;var ai=ii(0),ri=ii(1),oi=ii(2),si=ii(3),ci=ii(4),li=ii(5),ui=ii(6),di=(ai.range,ri.range,oi.range,si.range,ci.range,li.range,ui.range,$e((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1}))),fi=di,hi=(di.range,$e((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,n){t.setTime(+t+36e5*n)}),(function(t,n){return(n-t)/36e5}),(function(t){return t.getHours()}))),gi=hi,pi=(hi.range,$e((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,n){t.setTime(+t+6e4*n)}),(function(t,n){return(n-t)/6e4}),(function(t){return t.getMinutes()}))),yi=pi,mi=(pi.range,$e((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+1e3*n)}),(function(t,n){return(n-t)/1e3}),(function(t){return t.getUTCSeconds()}))),vi=mi,xi=(mi.range,$e((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t})));xi.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?$e((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):xi:null};var bi=xi;function Ei(t){return $e((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/6048e5}))}xi.range;var Ti=Ei(0),_i=Ei(1),Ai=Ei(2),wi=Ei(3),ki=Ei(4),Ii=Ei(5),Si=Ei(6),Di=(Ti.range,_i.range,Ai.range,wi.range,ki.range,Ii.range,Si.range,$e((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/864e5}),(function(t){return t.getUTCDate()-1}))),Li=Di,Ci=(Di.range,$e((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Ci.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$e((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var Ni=Ci;function Mi(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Ri(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Oi(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}Ci.range;var Pi,Gi,Fi={"-":"",_:" ",0:"0"},Ui=/^\s*\d+/,Hi=/^%/,Bi=/[\\^$*+?|[\]().{}]/g;function Vi(t,n,e){var i=t<0?"-":"",a=(i?-t:t)+"",r=a.length;return i+(r68?1900:2e3),e+i[0].length):-1}function Qi(t,n,e){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),e+i[0].length):-1}function ta(t,n,e){var i=Ui.exec(n.slice(e,e+1));return i?(t.q=3*i[0]-3,e+i[0].length):-1}function na(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.m=i[0]-1,e+i[0].length):-1}function ea(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.d=+i[0],e+i[0].length):-1}function ia(t,n,e){var i=Ui.exec(n.slice(e,e+3));return i?(t.m=0,t.d=+i[0],e+i[0].length):-1}function aa(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.H=+i[0],e+i[0].length):-1}function ra(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.M=+i[0],e+i[0].length):-1}function oa(t,n,e){var i=Ui.exec(n.slice(e,e+2));return i?(t.S=+i[0],e+i[0].length):-1}function sa(t,n,e){var i=Ui.exec(n.slice(e,e+3));return i?(t.L=+i[0],e+i[0].length):-1}function ca(t,n,e){var i=Ui.exec(n.slice(e,e+6));return i?(t.L=Math.floor(i[0]/1e3),e+i[0].length):-1}function la(t,n,e){var i=Hi.exec(n.slice(e,e+1));return i?e+i[0].length:-1}function ua(t,n,e){var i=Ui.exec(n.slice(e));return i?(t.Q=+i[0],e+i[0].length):-1}function da(t,n,e){var i=Ui.exec(n.slice(e));return i?(t.s=+i[0],e+i[0].length):-1}function fa(t,n){return Vi(t.getDate(),n,2)}function ha(t,n){return Vi(t.getHours(),n,2)}function ga(t,n){return Vi(t.getHours()%12||12,n,2)}function pa(t,n){return Vi(1+fi.count(ti(t),t),n,3)}function ya(t,n){return Vi(t.getMilliseconds(),n,3)}function ma(t,n){return ya(t,n)+"000"}function va(t,n){return Vi(t.getMonth()+1,n,2)}function xa(t,n){return Vi(t.getMinutes(),n,2)}function ba(t,n){return Vi(t.getSeconds(),n,2)}function Ea(t){var n=t.getDay();return 0===n?7:n}function Ta(t,n){return Vi(ai.count(ti(t)-1,t),n,2)}function _a(t){var n=t.getDay();return n>=4||0===n?ci(t):ci.ceil(t)}function Aa(t,n){return t=_a(t),Vi(ci.count(ti(t),t)+(4===ti(t).getDay()),n,2)}function wa(t){return t.getDay()}function ka(t,n){return Vi(ri.count(ti(t)-1,t),n,2)}function Ia(t,n){return Vi(t.getFullYear()%100,n,2)}function Sa(t,n){return Vi((t=_a(t)).getFullYear()%100,n,2)}function Da(t,n){return Vi(t.getFullYear()%1e4,n,4)}function La(t,n){var e=t.getDay();return Vi((t=e>=4||0===e?ci(t):ci.ceil(t)).getFullYear()%1e4,n,4)}function Ca(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Vi(n/60|0,"0",2)+Vi(n%60,"0",2)}function Na(t,n){return Vi(t.getUTCDate(),n,2)}function Ma(t,n){return Vi(t.getUTCHours(),n,2)}function Ra(t,n){return Vi(t.getUTCHours()%12||12,n,2)}function Oa(t,n){return Vi(1+Li.count(Ni(t),t),n,3)}function Pa(t,n){return Vi(t.getUTCMilliseconds(),n,3)}function Ga(t,n){return Pa(t,n)+"000"}function Fa(t,n){return Vi(t.getUTCMonth()+1,n,2)}function Ua(t,n){return Vi(t.getUTCMinutes(),n,2)}function Ha(t,n){return Vi(t.getUTCSeconds(),n,2)}function Ba(t){var n=t.getUTCDay();return 0===n?7:n}function Va(t,n){return Vi(Ti.count(Ni(t)-1,t),n,2)}function Ya(t){var n=t.getUTCDay();return n>=4||0===n?ki(t):ki.ceil(t)}function Xa(t,n){return t=Ya(t),Vi(ki.count(Ni(t),t)+(4===Ni(t).getUTCDay()),n,2)}function za(t){return t.getUTCDay()}function ja(t,n){return Vi(_i.count(Ni(t)-1,t),n,2)}function Ka(t,n){return Vi(t.getUTCFullYear()%100,n,2)}function Wa(t,n){return Vi((t=Ya(t)).getUTCFullYear()%100,n,2)}function qa(t,n){return Vi(t.getUTCFullYear()%1e4,n,4)}function Ja(t,n){var e=t.getUTCDay();return Vi((t=e>=4||0===e?ki(t):ki.ceil(t)).getUTCFullYear()%1e4,n,4)}function Za(){return"+0000"}function $a(){return"%"}function Qa(t){return+t}function tr(t){return Math.floor(+t/1e3)}function nr(t){return Pi=function(t){var n=t.dateTime,e=t.date,i=t.time,a=t.periods,r=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,l=Xi(a),u=zi(a),d=Xi(r),f=zi(r),h=Xi(o),g=zi(o),p=Xi(s),y=zi(s),m=Xi(c),v=zi(c),x={a:function(t){return o[t.getDay()]},A:function(t){return r[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:fa,e:fa,f:ma,g:Sa,G:La,H:ha,I:ga,j:pa,L:ya,m:va,M:xa,p:function(t){return a[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Qa,s:tr,S:ba,u:Ea,U:Ta,V:Aa,w:wa,W:ka,x:null,X:null,y:Ia,Y:Da,Z:Ca,"%":$a},b={a:function(t){return o[t.getUTCDay()]},A:function(t){return r[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Na,e:Na,f:Ga,g:Wa,G:Ja,H:Ma,I:Ra,j:Oa,L:Pa,m:Fa,M:Ua,p:function(t){return a[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Qa,s:tr,S:Ha,u:Ba,U:Va,V:Xa,w:za,W:ja,x:null,X:null,y:Ka,Y:qa,Z:Za,"%":$a},E={a:function(t,n,e){var i=h.exec(n.slice(e));return i?(t.w=g[i[0].toLowerCase()],e+i[0].length):-1},A:function(t,n,e){var i=d.exec(n.slice(e));return i?(t.w=f[i[0].toLowerCase()],e+i[0].length):-1},b:function(t,n,e){var i=m.exec(n.slice(e));return i?(t.m=v[i[0].toLowerCase()],e+i[0].length):-1},B:function(t,n,e){var i=p.exec(n.slice(e));return i?(t.m=y[i[0].toLowerCase()],e+i[0].length):-1},c:function(t,e,i){return A(t,n,e,i)},d:ea,e:ea,f:ca,g:$i,G:Zi,H:aa,I:aa,j:ia,L:sa,m:na,M:ra,p:function(t,n,e){var i=l.exec(n.slice(e));return i?(t.p=u[i[0].toLowerCase()],e+i[0].length):-1},q:ta,Q:ua,s:da,S:oa,u:Ki,U:Wi,V:qi,w:ji,W:Ji,x:function(t,n,i){return A(t,e,n,i)},X:function(t,n,e){return A(t,i,n,e)},y:$i,Y:Zi,Z:Qi,"%":la};function T(t,n){return function(e){var i,a,r,o=[],s=-1,c=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++s53)return null;"w"in r||(r.w=1),"Z"in r?(a=(i=Ri(Oi(r.y,0,1))).getUTCDay(),i=a>4||0===a?_i.ceil(i):_i(i),i=Li.offset(i,7*(r.V-1)),r.y=i.getUTCFullYear(),r.m=i.getUTCMonth(),r.d=i.getUTCDate()+(r.w+6)%7):(a=(i=Mi(Oi(r.y,0,1))).getDay(),i=a>4||0===a?ri.ceil(i):ri(i),i=fi.offset(i,7*(r.V-1)),r.y=i.getFullYear(),r.m=i.getMonth(),r.d=i.getDate()+(r.w+6)%7)}else("W"in r||"U"in r)&&("w"in r||(r.w="u"in r?r.u%7:"W"in r?1:0),a="Z"in r?Ri(Oi(r.y,0,1)).getUTCDay():Mi(Oi(r.y,0,1)).getDay(),r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(a+5)%7:r.w+7*r.U-(a+6)%7);return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,Ri(r)):Mi(r)}}function A(t,n,e,i){for(var a,r,o=0,s=n.length,c=e.length;o=c)return-1;if(37===(a=n.charCodeAt(o++))){if(a=n.charAt(o++),!(r=E[a in Fi?n.charAt(o++):a])||(i=r(t,e,i))<0)return-1}else if(a!=e.charCodeAt(i++))return-1}return i}return x.x=T(e,x),x.X=T(i,x),x.c=T(n,x),b.x=T(e,b),b.X=T(i,b),b.c=T(n,b),{format:function(t){var n=T(t+="",x);return n.toString=function(){return t},n},parse:function(t){var n=_(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=T(t+="",b);return n.toString=function(){return t},n},utcParse:function(t){var n=_(t+="",!0);return n.toString=function(){return t},n}}}(t),Gi=Pi.format,Pi.parse,Pi.utcFormat,Pi.utcParse,Pi}function er(t){return new Date(t)}function ir(t){return t instanceof Date?+t:+new Date(+t)}function ar(t,n,e,i,a,r,o,s,c){var l=ze(Fe,Fe),u=l.invert,d=l.domain,f=c(".%L"),h=c(":%S"),g=c("%I:%M"),p=c("%I %p"),y=c("%a %d"),m=c("%b %d"),v=c("%B"),x=c("%Y"),b=[[o,1,1e3],[o,5,5e3],[o,15,15e3],[o,30,3e4],[r,1,6e4],[r,5,3e5],[r,15,9e5],[r,30,18e5],[a,1,36e5],[a,3,108e5],[a,6,216e5],[a,12,432e5],[i,1,864e5],[i,2,1728e5],[e,1,6048e5],[n,1,2592e6],[n,3,7776e6],[t,1,31536e6]];function E(s){return(o(s)n?1:t>=n?0:NaN}pr.prototype={constructor:pr,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var xr=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),ur.hasOwnProperty(n)?{space:ur[n],local:t}:t};function br(t){return function(){this.removeAttribute(t)}}function Er(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Tr(t,n){return function(){this.setAttribute(t,n)}}function _r(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function Ar(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function wr(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var kr=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Ir(t){return function(){this.style.removeProperty(t)}}function Sr(t,n,e){return function(){this.style.setProperty(t,n,e)}}function Dr(t,n,e){return function(){var i=n.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,e)}}function Lr(t,n){return t.style.getPropertyValue(n)||kr(t).getComputedStyle(t,null).getPropertyValue(n)}function Cr(t){return function(){delete this[t]}}function Nr(t,n){return function(){this[t]=n}}function Mr(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Rr(t){return t.trim().split(/^|\s+/)}function Or(t){return t.classList||new Pr(t)}function Pr(t){this._node=t,this._names=Rr(t.getAttribute("class")||"")}function Gr(t,n){for(var e=Or(t),i=-1,a=n.length;++i=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var $r=function(t){var n=xr(t);return(n.local?Zr:Jr)(n)};function Qr(){return null}function to(){var t=this.parentNode;t&&t.removeChild(this)}function no(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function eo(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}var io={},ao=null;function ro(t,n,e){return t=oo(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function oo(t,n,e){return function(i){var a=ao;ao=i;try{t.call(this,this.__data__,n,e)}finally{ao=a}}}function so(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function co(t){return function(){var n=this.__on;if(n){for(var e,i=0,a=-1,r=n.length;i=E&&(E=b+1);!(x=m[E])&&++E=0;)(i=a[r])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=vr);for(var e=this._groups,i=e.length,a=new Array(i),r=0;r1?this.each((null==n?Ir:"function"==typeof n?Dr:Sr)(t,n,null==e?"":e)):Lr(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?Cr:"function"==typeof n?Mr:Nr)(t,n)):this.node()[t]},classed:function(t,n){var e=Rr(t+"");if(arguments.length<2){for(var i=Or(this.node()),a=-1,r=e.length;++a1e-6)if(Math.abs(u*s-c*l)>1e-6&&a){var f=e-r,h=i-o,g=s*s+c*c,p=f*f+h*h,y=Math.sqrt(g),m=Math.sqrt(d),v=a*Math.tan((xo-Math.acos((g+d-p)/(2*y*m)))/2),x=v/m,b=v/y;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*l)+","+(n+x*u)),this._+="A"+a+","+a+",0,0,"+ +(u*f>l*h)+","+(this._x1=t+b*s)+","+(this._y1=n+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,i,a,r){t=+t,n=+n,r=!!r;var o=(e=+e)*Math.cos(i),s=e*Math.sin(i),c=t+o,l=n+s,u=1^r,d=r?i-a:a-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+c+","+l),e&&(d<0&&(d=d%bo+bo),d>Eo?this._+="A"+e+","+e+",0,1,"+u+","+(t-o)+","+(n-s)+"A"+e+","+e+",0,1,"+u+","+(this._x1=c)+","+(this._y1=l):d>1e-6&&(this._+="A"+e+","+e+",0,"+ +(d>=xo)+","+u+","+(this._x1=t+e*Math.cos(a))+","+(this._y1=n+e*Math.sin(a))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};var Ao=_o,wo=function(t){return function(){return t}},ko=Math.abs,Io=Math.atan2,So=Math.cos,Do=Math.max,Lo=Math.min,Co=Math.sin,No=Math.sqrt,Mo=Math.PI,Ro=Mo/2,Oo=2*Mo;function Po(t){return t>1?0:t<-1?Mo:Math.acos(t)}function Go(t){return t>=1?Ro:t<=-1?-Ro:Math.asin(t)}function Fo(t){return t.innerRadius}function Uo(t){return t.outerRadius}function Ho(t){return t.startAngle}function Bo(t){return t.endAngle}function Vo(t){return t&&t.padAngle}function Yo(t,n,e,i,a,r,o,s){var c=e-t,l=i-n,u=o-a,d=s-r,f=d*c-u*l;if(!(f*f<1e-12))return[t+(f=(u*(n-r)-d*(t-a))/f)*c,n+f*l]}function Xo(t,n,e,i,a,r,o){var s=t-e,c=n-i,l=(o?r:-r)/No(s*s+c*c),u=l*c,d=-l*s,f=t+u,h=n+d,g=e+u,p=i+d,y=(f+g)/2,m=(h+p)/2,v=g-f,x=p-h,b=v*v+x*x,E=a-r,T=f*p-g*h,_=(x<0?-1:1)*No(Do(0,E*E*b-T*T)),A=(T*x-v*_)/b,w=(-T*v-x*_)/b,k=(T*x+v*_)/b,I=(-T*v+x*_)/b,S=A-y,D=w-m,L=k-y,C=I-m;return S*S+D*D>L*L+C*C&&(A=k,w=I),{cx:A,cy:w,x01:-u,y01:-d,x11:A*(a/E-1),y11:w*(a/E-1)}}function zo(t){this._context=t}zo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var jo=function(t){return new zo(t)};function Ko(t){return t[0]}function Wo(t){return t[1]}var qo=function(){var t=Ko,n=Wo,e=wo(!0),i=null,a=jo,r=null;function o(o){var s,c,l,u=o.length,d=!1;for(null==i&&(r=a(l=Ao())),s=0;s<=u;++s)!(st?1:n>=t?0:NaN},Zo=function(t){return t};function $o(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Qo(t,n){this._context=t,this._k=(1-n)/6}Qo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:$o(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:$o(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var ts,ns,es=function t(n){function e(t){return new Qo(t,n)}return e.tension=function(n){return t(+n)},e}(0),is=0,as=0,rs=0,os=0,ss=0,cs=0,ls="object"==typeof performance&&performance.now?performance:Date,us="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ds(){return ss||(us(fs),ss=ls.now()+cs)}function fs(){ss=0}function hs(){this._call=this._time=this._next=null}function gs(){ss=(os=ls.now())+cs,is=as=0;try{!function(){ds(),++is;for(var t,n=ts;n;)(t=ss-n._time)>=0&&n._call.call(null,t),n=n._next;--is}()}finally{is=0,function(){for(var t,n,e=ts,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:ts=n);ns=t,ys(i)}(),ss=0}}function ps(){var t=ls.now(),n=t-os;n>1e3&&(cs-=n,os=t)}function ys(t){is||(as&&(as=clearTimeout(as)),t-ss>24?(t<1/0&&(as=setTimeout(gs,t-ls.now()-cs)),rs&&(rs=clearInterval(rs))):(rs||(os=ls.now(),rs=setInterval(ps,1e3)),is=1,us(gs)))}hs.prototype=function(t,n,e){var i=new hs;return i.restart(t,n,e),i}.prototype={constructor:hs,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?ds():+e)+(null==n?0:+n),this._next||ns===this||(ns?ns._next=this:ts=this,ns=this),this._call=t,this._time=e,ys()},stop:function(){this._call&&(this._call=null,this._time=1/0,ys())}};var ms={path:{d:"M15 0h48v5H10V0"},options:{x:-1,y:-1,scale:.25}},vs={path:[{d:"M-22 0h48v7H8V0"},{d:"M-28 0h80v7H35V0"},{d:"M-18 0h80v7H80V0"}],options:{x:-1,y:-1,scale:.2}},xs={BLUE:"#176ba0",GREEN:"#076e00",ORANGE:"#b54900",PINK:"#ae0868",PURPLE:"#9c19a3",YELLOW:"#ffc20a",LIGHT_BLUE:"#008fe0",LIGHT_GREEN:"#4b9b1c",LIGHT_ORANGE:"#e46511",LIGHT_PINK:"#e16092",LIGHT_PURPLE:"#bc70c7",LIGHT_YELLOW:"#ffda6c",BLACK:"#1c1f21",GREY:"#a7aaab",LAVENDER:"#8374c2",WHITE:"#ffffff"},bs={MAX_BUBBLES_SINGLE_DATASET:4,MAX_DATASETS_MULTIPLE_API:7,PALETTE:{BLUE:["#008fe0","#044e7b","#001624"],GREEN:["#4b9b1c","#2c5e12","#122702"],ORANGE:["#e46511","#883e10","#371a06"],PINK:["#ade868","#6d0a48","#32062a"],PURPLE:["#9c19a3","#5c1060","#240425"],GRAY:"#949494"}},Es={CIRCLE:{path:{d:"M24 48C10.7 48 0 37.3 0 24S10.7 0 24 0s24 10.7 24 24-10.7 24-24 24z"},options:{x:-5,y:-5,scale:.2}},CROSS:{path:{d:"M0 16h16V0h16v16h16v16H32v16H16V32H0V16z"},options:{x:-6.2,y:-6,scale:.25}},DIAMOND:{path:{d:"M24 0l12 24-12 24-12-24L24 0z"},options:{x:-8.2,y:-8,scale:.33}},RHOMBUS:{path:{d:"M24 0l24 24-24 24L0 24 24 0z"},options:{x:-6.2,y:-6,scale:.25}},SQUARE:{path:{d:"M0 0h48v48H0V0z"},options:{x:-5,y:-5,scale:.2}},TEAR_ALT:{path:{d:"M24 48s-4.8-5.9-14.5-17.6c-6.4-8.1-5.1-19.9 2.9-26.3s19.6-5.1 26 3c5.4 6.8 5.4 16.5 0 23.4C28.8 42.1 24 48 24 48z"},options:{x:-6.1,y:-6,scale:.24}},TEAR_DROP:{path:{d:"M24 0s4.8 5.9 14.5 17.6c6.4 8.1 5.1 19.9-2.9 26.3s-19.6 5.1-26-3c-5.4-6.8-5.4-16.5 0-23.4C19.2 5.9 24 0 24 0z"},options:{x:-6.1,y:-6,scale:.24}},TRIANGLE:{path:{d:"M24 4l24 40H0L24 4z"},options:{x:-6.3,y:-6,scale:.25}},TRIANGLE_DOWN:{path:{d:"M24 44L0 4h48L24 44z"},options:{x:-6.2,y:-6,scale:.25}},VERTICAL_BAR:{path:{d:"M14 0h20v48H14V0"},options:{x:-6.2,y:-6,scale:.25}},X:{path:{d:"M0 12L12 0l12 12L36 0l12 12-12 12 12 12-12 12-12-12-12 12L0 36l12-12L0 12z"},options:{x:-6.2,y:-6,scale:.25}}},Ts={CIRCLE:{circle:{cx:"24",cy:"24",r:"21",fill:"#FFF"},path:{d:"M24.1 0C10.7 0 0 10.7 0 24s10.7 24 24 24 24-10.7 24-24C48 10.8 37.3 0 24.1 0zM24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21z"},options:{x:-5,y:-5,scale:.2}},CROSS:{path:[{fill:"#FFF",d:"M45 19v10H29v16H19V29H3V19h16V3h10v16z"},{d:"M32 16V0H16v16H0v16h16v16h16V32h16V16H32zm13 13H29v16H19V29H3V19h16V3h10v16h16v10z"}],options:{x:-6.2,y:-6,scale:.25}},DIAMOND:{path:[{fill:"#FFF",d:"M34.5 24L24 42 13.5 24 24 6z"},{d:"M24 0L10 24l14 24 14-24L24 0zm0 6l10.5 18L24 42 13.5 24 24 6z"}],options:{x:-8.2,y:-8,scale:.33}},RHOMBUS:{path:[{fill:"#FFF",d:"M4.2 24L24 4.201 43.798 24 24 43.799z"},{d:"M24 0L0 24l24 24 24-24L24 0zm19.8 24L24 43.8 4.2 24 24 4.2 43.8 24z"}],options:{x:-6.2,y:-6,scale:.25}},SQUARE:{path:[{fill:"#FFF",d:"M3 3h42v42H3z"},{d:"M0 0v48h48V0H0zm45 45H3V3h42v42z"}],options:{x:-5,y:-5,scale:.2}},TEAR_ALT:{path:[{fill:"#FFF",d:"M36.1 28.6c-5.7 6.9-9.7 11.8-12.1 14.6-2.3-2.8-6.4-7.8-12.2-14.7-5.4-6.8-4.3-16.6 2.4-22.1C17.1 4.2 20.5 3 24 3c4.7 0 9.2 2.2 12.1 5.9 4.6 5.8 4.6 13.9 0 19.7z"},{d:"M38.5 7.1C35 2.6 29.6 0 24 0c-4.2 0-8.2 1.4-11.5 4.1-8 6.5-9.3 18.2-2.9 26.3C19.3 42.1 24.1 48 24.1 48s4.8-5.9 14.4-17.5c5.4-6.9 5.4-16.5 0-23.4zM11.8 28.5c-5.4-6.8-4.3-16.6 2.4-22.1C17.1 4.2 20.5 3 24 3c4.7 0 9.2 2.2 12.1 5.9 4.6 5.8 4.6 13.9 0 19.7-5.7 6.9-9.7 11.8-12.1 14.6-2.3-2.8-6.4-7.8-12.2-14.7z"}],options:{x:-6.2,y:-6,scale:.25}},TEAR_DROP:{path:[{fill:"#FFF",d:"M33.7 41.6C27 46.9 17.4 45.9 12 39.2c0-.1-.1-.1-.1-.2-4.6-5.8-4.6-13.9 0-19.7 5.7-6.8 9.7-11.7 12-14.5 2.3 2.8 6.4 7.8 12.2 14.7 5.4 6.8 4.3 16.6-2.4 22.1z"},{d:"M38.4 17.6C28.7 5.9 23.9 0 23.9 0S19.1 5.9 9.5 17.5c-5.4 6.9-5.4 16.5 0 23.4 6.3 8 17.8 9.4 25.8 3.2.1 0 .1-.1.2-.2 8-6.5 9.3-18.2 2.9-26.3zM12 39.2c0-.1-.1-.1-.1-.2-4.6-5.8-4.6-13.9 0-19.7 5.7-6.8 9.7-11.7 12-14.5 2.3 2.8 6.4 7.8 12.2 14.7 5.4 6.8 4.3 16.6-2.4 22.1-6.7 5.3-16.3 4.3-21.7-2.4z"}],options:{x:-6.2,y:-6,scale:.25}},TRIANGLE:{path:[{fill:"#FFF",d:"M42.7 41H5.3L24 9.8z"},{d:"M24 4L0 44h48L24 4zm0 5.8L42.7 41H5.3L24 9.8z"}],options:{x:-6.3,y:-6,scale:.25}},TRIANGLE_DOWN:{path:[{fill:"#FFF",d:"M42.7 7L24 38.2 5.3 7z"},{d:"M0 4l24 40L48 4H0zm42.7 3L24 38.2 5.3 7h37.4z"}],options:{x:-6.2,y:-6,scale:.25}},VERTICAL_BAR:{path:[{fill:"#FFF",d:"M17 3h14v42H17z"},{d:"M14 0v48h20V0H14zm17 45H17V3h14v42z"}],options:{x:-6.2,y:-6,scale:.25}},X:{path:[{fill:"#FFF",d:"M33.9 26.1l9.9 9.9-7.8 7.8-9.9-9.9-2.1-2.1-2.1 2.1-9.9 9.9L4.2 36l9.9-9.9 2.1-2.1-2.1-2.1L4.2 12 12 4.2l9.9 9.9 2.1 2.1 2.1-2.1L36 4.2l7.8 7.8-9.9 9.9-2.1 2.1z"},{d:"M48 12L36 0 24 12 12 0 0 12l12 12L0 36l12 12 12-12 12 12 12-12-12-12 12-12zM36 43.8l-9.9-9.9-2.1-2.1-2.1 2.1-9.9 9.9L4.2 36l9.9-9.9 2.1-2.1-2.1-2.1L4.2 12 12 4.2l9.9 9.9 2.1 2.1 2.1-2.1L36 4.2l7.8 7.8-9.9 9.9-2.1 2.1 2.1 2.1 9.9 9.9-7.8 7.8z"}],options:{x:-6.2,y:-6,scale:.25}}},_s={DEFAULT:"default",TIME_SERIES:"timeseries"},As={LINEAR:jo,SPLINE:es},ws={X:{TOP:"top",BOTTOM:"bottom"},Y:{LEFT:"left",RIGHT:"right"}},ks={PADDING:{top:10,bottom:10,left:30,right:50,trackLabel:100},LEGEND_PADDING:{top:4,bottom:4,left:8,right:8},PIE_LEGEND_PADDING:{top:8,bottom:8,left:8,right:8},PAIR_ITEM_TYPES:["high","mid","low"],ISO8601_DATE_TIME_MILLI:/(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}(:\d{2}(\.\d+)*)*)Z/,RESIZE_THROTTLE:1e3/60,BASE_CANVAS_WIDTH_PADDING:10,BASE_LABEL_ICON_SPACING:20,BASE_LABEL_ICON_WIDTH_PADDING:5,BASE_LABEL_ICON_HEIGHT_PADDING:12,TEXT_LABEL_ICON_WIDTH_PADDING:8,TEXT_LABEL_ICON_HEIGHT_PADDING:5,TEXT_LABEL_VERTICAL_POSITION:{top:-10,bottom:20},DEFAULT_TICKSCOUNT:7,TICKSCOUNT_MAXLIMIT:19,AXISRANGE_ONE:20,AXISRANGE_TWO:50,AXISRANGE_THREE:100,AXISRANGE_FOUR:500,TIMELINE_HEIGHT:40,PIE_CHART_DEFAULT_HEIGHT:250,DEFAULT_HEIGHT:250,DEFAULT_PLOT_SCALE:.275,DEFAULT_PLOT_SELECTION_SCALE:{posX:1.95,posY:1.95,scale:2},DEFAULT_PLOT_SELECTION_SCALE_FOR_EVENTS:{posX:9,posY:7,scale:1.3},DEFAULT_TIMELINE_PLOT_SELECTION_SCALE:{posX:2,posY:2,scale:2.2},DEFAULT_TIMELINE_SCALE:{posX:1.15,posY:1.15,scale:1.25},DEFAULT_TIMELINE_TICK_LENGTH:12,DEFAULT_LABEL_CHARACTER_LIMIT:12,DEFAULT_GANTT_TRACK_HEIGHT:41,DEFAULT_GANTT_TRACK_SELECTION:{x:1,y:1,width:2,height:1.5},DEFAULT_GANTT_TASK_HEIGHT:23,DEFAULT_GANTT_TASK_PADDING:{top:9,bottom:9},DEFAULT_GANTT_TASK_CHUNK_WIDTH:5,DEFAULT_GANTT_ACTIVITY_CHUNK_WIDTH:5,DEFAULT_GANTT_TASK_SELECTION_PADDING:25,DEFAULT_GANTT_ACTIVITY_OPACITY:.5,DEFAULT_GANTT_ACTIVITY_HEIGHT:31,DEFAULT_GANTT_ACTIVITY_PADDING:{top:5,bottom:5},DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES:{WIDTH_RATIO:.66,LEFT_SHIFT_OFFSET_RATIO:.5,LEFT_SHIFT_OFFSET_PADDING_RATIO:.16,OUTER_PADDING_RATIO:2.5,REGION_LEFT_SHIFT_OFFSET_PADDING_RATIO:.08,REGION_WIDTH_RATIO:.83},DEFAULT_BAR_HASH_COLOR:"#d3d4d5",DEFAULT_BAR_COLOR:xs.BLUE,DEFAULT_BAR_REGION_COLOR:"#bcbfc0",DEFAULT_GOAL_LINE_STROKE_WIDTH:5,DEFAULT_REGION_LINE_STROKE_WIDTH:5,DEFAULT_BAR_SELECTION_PADDING:5,DEFAULT_ACTIVITY_BAR_HASH_COLOR:"#d3d4d5",DEFAULT_TASK_BAR_HASH_COLOR:xs.BLUE,DEFAULT_BAR_STRIPE_COLOR:"#fff",DEFAULT_GANTT_TASK_STRIPE_WIDTH:4,DEFAULT_GANTT_TASK_STRIPE_DISTANCE:2,DEFAULT_GANTT_ACTIVITY_STRIPE_WIDTH:7,DEFAULT_GANTT_ACTIVITY_STRIPE_DISTANCE:2,DEFAULT_CHARACTER_SVG_ELEMENT_WIDTH:16.5,DEFAULT_Y_AXIS_SPACING:30,HOVER_EVENT:{MOUSE_ENTER:"enter",MOUSE_EXIT:"exit"},VIEW_BOX_SIZE:"0 0 48 48",DEFAULT_COLOR:xs.BLACK,DEFAULT_PIE_COLOR:xs.BLUE,DEFAULT_PIE_LEGEND_SHAPE:Es.SQUARE,DEFAULT_PIE_INNER_RADIUS:1,DEFAULT_PIE_PAD_ANGLE:.01,X_AXIS:"x",Y_AXIS:"y",Y2_AXIS:"y2",MIN_TICKS:3,MAX_TICK_VARIANCE:140,DEFAULT_INTERPOLATION:jo,SELECTION_INDICATOR_X_POSITION:10,SELECTION_INDICATOR_Y_POSITION:12.5,D3_TRANSITION_PROPERTIES_ENABLED:{duration:250,ease:hn},D3_TRANSITION_PROPERTIES_DISABLED:{duration:0,ease:hn},d3Transition:function(t){return function(n){return n.duration(t.duration).ease(t.ease)}},TICK_ORIENTATION:{TOP:-1,BOTTOM:1},NO_DATA_VIEW_PROPORTION:3,NO_DATA_LABEL_PADDING:15,DEFAULT_BUBBLE_RADIUS_MIN:3,DEFAULT_BUBBLE_RADIUS_MAX:30,DEFAULT_BUBBLE_SELECTOR_RADIUS:4,DEFAULT_BUBBLE_OPACITY:"0.4",DEFAULT_BUBBLE_BLUR_OPACITY:"0.1",DEFAULT_BUBBLE_STROKE_OPACITY:"1",DEFAULT_BUBBLE_BLUR_STROKE_OPACITY:"0.3",DEFAULT_LEGEND_LINE_WIDTH:28,DEFAULT_LEGEND_LINE_WIDTH_WITH_SYMBOL:18,LEGEND_LINE_POSITION:1.5},Is=e(3),Ss=e.n(Is),Ds=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return t};return function(){return!t.apply(void 0,arguments)}},Ls=function(t){return Array.isArray(t)},Cs=function(t){return void 0===t},Ns=Ds(Cs),Ms=function(t){return null==t||function(t){return"string"==typeof t}(t)&&0===t.length||"object"===Ss()(t)&&0===Object.keys(t).length},Rs=Ds(Ms),Os=function(t){return ks.ISO8601_DATE_TIME_MILLI.test(t)},Ps=function(t){return t instanceof Date},Gs=function(t){return new Date(t)},Fs={deepClone:function t(n){return Ls(n)?n.map(t):n&&"object"===Ss()(n)?Object.keys(n).reduce((function(e,i){return Ns(n[i])&&(e[i]=t(n[i])),e}),{}):n},getEpocFromDateString:function(t){return parseInt(new Date(t).getTime(),10)},getDateFromEpoc:function(t){return new Date(t)},getNumber:function(t){return t?Number(t):0},getTime:function(t){return Gs(t).getTime()},hasValue:function(t,n){return Object.keys(t).some((function(e){return t[e]===n}))},isArray:Ls,isBoolean:function(t){return"boolean"==typeof t&&!Number.isNaN(t)},isFunction:function(t){return"function"==typeof t},isDate:Os,isDateInstance:Ps,isDefined:Ns,isEmptyArray:function(t){return Array.isArray(t)&&0===t.length},isEmpty:Ms,isEqual:function(t,n){return Os(t)||Ps(t)?function(t,n){return t.getTime()===n.getTime()}(Gs(t),Gs(n)):t===n},isNumber:function(t){return"number"==typeof t&&!Number.isNaN(t)},isUndefined:Cs,notEmpty:Rs,parseDateTime:Gs,sanitize:function(t){return"string"==typeof t?t.replace(//g,">"):t}},Us=function(t){if(Fs.isEmpty(t))throw new Error(D);if(Fs.isEmpty(t.key))throw new Error(I);if(!Fs.isArray(t.values))throw new Error(w)},Hs=function(t,n){return Fs.isUndefined(t)?n:t},Bs=function(t){return Hs(t,_s.DEFAULT)},Vs=function(){return"carbon-".concat(Ot()(),"-clip")},Ys=function(){return"carbon-".concat(Ot()(),"-dateline-clip")},Xs=function(t){return Hs(t,As.LINEAR)},zs=function(t){return Bs(t)===_s.TIME_SERIES?rr():We()},js=function(t,n,e){return Bs(t)===_s.TIME_SERIES?{lowerLimit:Fs.parseDateTime(n),upperLimit:Fs.parseDateTime(e)}:{lowerLimit:Fs.getNumber(n),upperLimit:Fs.getNumber(e)}},Ks=function(t,n){return Bs(n)===_s.TIME_SERIES?Fs.parseDateTime(t):Fs.getNumber(t)},Ws=function(t){return Fs.isDefined(t.pan)&&t.pan.enabled},qs=function(t){return Hs(t.strokeDashArray,"0")},Js=function(){function t(){}var n=t.prototype;return n.load=function(t){throw new Error(G)},n.unload=function(t){throw new Error(F)},n.resize=function(t){throw new Error(U)},n.redraw=function(t){throw new Error(H)},t}(),Zs={container:"carbon-graph-container",timelineContainer:"carbon-timeline-container",canvas:"carbon-graph-canvas",canvasXAxis:"carbon-x-axis-canvas",axis:"carbon-axis",axisX:"carbon-axis-x",axisY:"carbon-axis-y",axisY2:"carbon-axis-y2",axisReferenceLine:"carbon-axis-reference-line",grid:"carbon-grid",gridH:"carbon-horizontal-grid",gridV:"carbon-vertical-grid",gridLowerStep:"carbon-lower-step-grid",gridMidpoint:"carbon-midpoint-grid",gridUpperStep:"carbon-upper-step-grid",highlight:"carbon-highlight",blur:"carbon-blur",bubbleBlur:"carbon-bubble-blur",svgIcon:"carbon-svg-icon",axisLabelX:"carbon-x-axis-label",axisLabelY:"carbon-y-axis-label",axisLabelY2:"carbon-y2-axis-label",axisLabelYShapeContainer:"carbon-y-axis-label-shape-container",axisLabelY2ShapeContainer:"carbon-y2-axis-label-shape-container",axisLabelRow:"carbon-axis-label-row",axisLabel:"carbon-axis-label-item",axisYTrackLabel:"carbon-y-axis-track-label",legend:"carbon-legend",legendItem:"carbon-legend-item",legendItemBtn:"carbon-legend-item-btn",legendItemIcon:"carbon-legend-item-icon",legendItemIconWithLine:"carbon-legend-item-icon-with-line",legendItemLine:"carbon-legend-item-line",legendItemLineWithIcon:"carbon-legend-item-line-with-icon",legendItemSpan:"carbon-legend-item-span",legendItemWhiteLine:"carbon-legend-white-line",legendItemText:"carbon-legend-item-text",contentContainer:"carbon-content-container",datelineContent:"carbon-dateline-content",datelineGroup:"carbon-dateline-group",datelinePoint:"carbon-dateline-point",dateline:"carbon-dateline",eventlineContent:"carbon-eventline-content",eventlineGroup:"carbon-eventline-group",eventline:"carbon-eventline",noDataContainer:"carbon-no-data-container",noDataLabel:"carbon-no-data-label",noDataOverlay:"carbon-no-data-overlay",labelPopupOverlay:"carbon-label-popup-overlay",labelPopupTooltip:"carbon-label-popup-tooltip",lineGraphContent:"carbon-line-graph-content",currentLinesGroup:"carbon-data-lines-group",currentPointsGroup:"carbon-data-points-group",dataPointSelection:"carbon-selected-data-point",dataPointDisplayEnable:"carbon-data-pair--selected",bubbleGraphContent:"carbon-bubble-graph-content",pairedBoxGroup:"carbon-data-pairs-group",pairedBox:"carbon-data-pair",pointGroup:"carbon-data-points",line:"carbon-line",point:"carbon-point",pairedLine:"carbon-paired-line",pairedPoint:"carbon-paired-point",high:"carbon-high",low:"carbon-low",mid:"carbon-mid",regionGroup:"carbon-region-group",regionPairGroup:"carbon-region-pair-group",region:"carbon-region",regionHighlight:"carbon-region-highlight",regionBlur:"carbon-region-blur",valueRegion:"carbon-value-region",criticalityOuterPoint:"carbon-criticality-outer",criticalityInnerPoint:"carbon-criticality-inner",criticalityTimelineOuterPoint:"carbon-timeline-criticality-outer",criticalityTimelineInnerPoint:"carbon-timeline-criticality-inner",ganttChartContent:"carbon-gantt-chart-content",trackGroup:"carbon-data-track-group",ganttTrackSelectorGroup:"carbon-gantt-track-selector-group",ganttTrackBarSelection:"carbon-track-selected-bar",taskGroup:"carbon-data-task-group",task:"carbon-data-task",taskBar:"carbon-data-bar",taskBarSelection:"carbon-data-selected-bar",taskBarCompletion:"carbon-data-completion-bar",activityGroup:"carbon-data-activity-group",activity:"carbon-data-activity",activityBar:"carbon-data-activity-bar",timelineGraphContent:"carbon-timeline-graph-content",timelineContentGroup:"carbon-timeline-content-group",bar:"carbon-bar-graph",barGraphContent:"carbon-bar-graph-content",currentBarsGroup:"carbon-data-bars-group",barHashedRect:"carbon-data-bar--hashed",barSelectionGroup:"carbon-bar-selector-group",barGoalLine:"carbon-bar-goal-line",axisInfoRow:"carbon-axis-info-row",axisInfoRowItem:"carbon-axis-info-row-item",axisInfoRowIcon:"carbon-axis-info-row-icon",axisInfoRowDisplay:"carbon-axis-info-row-item-display",axisInfoRowSecondaryDisplay:"carbon-axis-info-row-item-sec-display",pieChartCanvas:"carbon-pie-chart-canvas",pieChartContent:"carbon-pie-chart-content",pieContentGroup:"carbon-data-pie-group",pieContentSlice:"carbon-data-pie-slice",pieLegendItem:"carbon-pie-legend-item",pieLegendItemIcon:"carbon-pie-legend-item-icon",pieLegendItemSliceHover:"carbon-pie-legend-item-slice-hover",scatterGraphContent:"carbon-scatter-graph-content"},$s={PATH:"path",CIRCLE:"circle",RECT:"rect",POLYGON:"polygon",G:"g",STYLE:"style"},Qs=function(t){return document.createElementNS(ur.svg,t)},tc=function(t,n,e){return(Fs.isArray(e)?e:[e]).forEach((function(i){t.append((function(){return(t=i,a=mo(Qs(n)),Object.keys(t).forEach((function(n){"_html"!==n?a.attr(n,t[n]||""):a.html(e._html)})),a).node();var t,a}))})),t},nc=function(t,n,e,i){t.attr("transform",e(i)),Object.keys($s).forEach((function(e){n[$s[e]]&&tc(t,$s[e],n[$s[e]])}))},ec=function(){for(var t=arguments.length,n=new Array(t),e=0;e2&&void 0!==arguments[2]&&arguments[2],l=mo(Qs("svg")).attr("x",t.options.x).attr("y",t.options.y).attr("style",i).attr("class","".concat(Zs.svgIcon," ").concat(e)).attr("role","img").attr("pointer-events",s["pointer-events"]?"none":"auto").on("click",r);c&&ic(l),ec("aria-describedby","aria-hidden","aria-selected","aria-disabled")(l,o);var u=l.append("g");return nc(u,t,a,t.options.scale),l.node()},rc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.svgClassNames,e=void 0===n?"":n,i=t.svgStyles,a=void 0===i?"":i,r=t.transformFn,o=void 0===r?function(){}:r,s=t.onClickFn,c=void 0===s?function(){}:s,l=t.a11yAttributes,u=void 0===l?{}:l,d=t.additionalAttributes;return{svgClassNames:e,svgStyles:a,transformFn:o,onClickFn:c,a11yAttributes:u,additionalAttributes:void 0===d?{}:d}},oc=function(){function t(t){!function(t){if(Fs.isEmpty(t[$s.PATH]))throw new Error(v);if(Fs.isEmpty(t.options))throw new Error(x);if(Fs.isEmpty(t.options.x)||Fs.isEmpty(t.options.y)||Fs.isEmpty(t.options.scale))throw new Error(b)}(t),this.shape=t}return t.prototype.getShapeElement=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return ac(this.shape,t||rc(),n)},t}();oc.getDefaultSVGProps=rc;var sc=oc,cc=e(19),lc=e.n(cc),uc={locale:"en_US",decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],noData:"No Data"},dc=uc,fc={de_DE:{locale:"de_DE",decimal:",",thousands:".",grouping:[3],currency:[""," €"],dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So,","Mo,","Di,","Mi,","Do,","Fr,","Sa,"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],noData:"Keine Daten"},en_AU:{locale:"en_AU",decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %e %b %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],noData:"No Data"},en_CA:{locale:"en_CA",decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],noData:"No Data"},en_GB:{locale:"en_GB",decimal:".",thousands:",",grouping:[3],currency:["£",""],dateTime:"%a %e %b %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],noData:"No Data"},en_US:uc,es_ES:{locale:"en_ES",decimal:",",thousands:".",grouping:[3],currency:[""," €"],dateTime:"%A, %e de %B de %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],shortDays:["dom.","lun.","mar.","mié.","jue.","vie.","sáb."],months:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortMonths:["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sep.","oct.","nov.","dic."],noData:"Sin datos"},fr_FR:{locale:"fr_FR",decimal:",",thousands:".",grouping:[3],currency:[""," €"],dateTime:"%A, le %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],noData:"Aucune donnée"},pt_BR:{locale:"pt_BR",decimal:",",thousands:".",grouping:[3],currency:["R$",""],dateTime:"%A, %e de %B de %Y. %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],shortDays:["dom","seg","ter","qua","qui","sex","sáb"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],shortMonths:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],noData:"Sem dados"},ja_JP:{locale:"ja_JP",decimal:".",thousands:",",grouping:[3],currency:["","円"],dateTime:"%Y %b %e %a %X",date:"%Y/%m/%d",time:"%H:%M:%S",periods:["AM","PM"],days:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],shortDays:["日","月","火","水","木","金","土"],months:["睦月","如月","弥生","卯月","皐月","水無月","文月","葉月","長月","神無月","霜月","師走"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],noData:"データなし"},nl_NL:{locale:"nl_NL",decimal:",",thousands:".",grouping:[3],currency:["€ ",""],dateTime:"%a %e %B %Y %T",date:"%d-%m-%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],noData:"Geen gegevens"},sv_SE:{locale:"sv_SE",decimal:",",thousands:".",grouping:[3],currency:[""," kr"],dateTime:"%A den %d %B %Y %X",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["fm","em"],days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],shortDays:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],shortMonths:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],noData:"Ingen information"}},hc=fc,gc="lowerStepTickValues",pc="midpointTickValues",yc="upperStepTickValues",mc=function(t,n,e,i){return{axis:{x:{ticks:{values:t},orientation:"".concat(e)}},height:"".concat(n),settingsDictionary:{transition:i}}},vc=function(t){switch(t){case gc:return Zs.gridLowerStep;case pc:return Zs.gridMidpoint;case yc:return Zs.gridUpperStep;default:return""}},xc=function(t,n,e,i,a,r,o,s){var c=mc(e,a,i,r);s(t,n,vc(o),c)},bc=function(t,n,e,i,a,r,o,s){var c=mc(e,a,i,r);s(t,n,vc(o),c)},Ec=function(t){var n=[];return Fs.notEmpty(t.values)&&(n=n.concat(t.values)),Fs.notEmpty(t.upperStepTickValues)&&(n=n.concat(t.upperStepTickValues)),n},Tc=function(t){return!Fs.isEmpty(t)&&(Fs.notEmpty(t.midpointTickValues)||Fs.notEmpty(t.upperStepTickValues)||Fs.notEmpty(t.lowerStepTickValues))},_c=function(t,n,e,i){Tc(e.axis.x.ticks)?function(t,n,e,i){Fs.notEmpty(e.axis.x.ticks.values)&&Fs.isEmpty(e.axis.x.ticks.lowerStepTickValues)?xc(t,n,e.axis.x.ticks.values,e.axis.x.orientation,e.height,e.settingsDictionary.transition,gc,i):Fs.notEmpty(e.axis.x.ticks.lowerStepTickValues)&&xc(t,n,e.axis.x.ticks.lowerStepTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,gc,i),Fs.notEmpty(e.axis.x.ticks.midpointTickValues)&&xc(t,n,e.axis.x.ticks.midpointTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,pc,i),Fs.notEmpty(e.axis.x.ticks.upperStepTickValues)&&xc(t,n,e.axis.x.ticks.upperStepTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,yc,i)}(t,n,e,i):i(t,n,Zs.gridV,e)},Ac=function(t,n,e,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.axis.x.orientation;if(Tc(e.axis.x.ticks)){var r={values:e.axis.x.ticks.lowerStepTickValues?e.axis.x.ticks.lowerStepTickValues:e.axis.x.ticks.values,upperStepTickValues:e.axis.x.ticks.upperStepTickValues};n.x=i(t,Ec(r),e,a)}},wc=function(t,n,e,i){Tc(e.axis.x.ticks)?function(t,n,e,i){Fs.notEmpty(e.axis.x.ticks.values)&&Fs.isEmpty(e.axis.x.ticks.lowerStepTickValues)?bc(t,n,e.axis.x.ticks.values,e.axis.x.orientation,e.height,e.settingsDictionary.transition,gc,i):Fs.notEmpty(e.axis.x.ticks.lowerStepTickValues)&&bc(t,n,e.axis.x.ticks.lowerStepTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,gc,i),Fs.notEmpty(e.axis.x.ticks.midpointTickValues)&&bc(t,n,e.axis.x.ticks.midpointTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,pc,i),Fs.notEmpty(e.axis.x.ticks.upperStepTickValues)&&bc(t,n,e.axis.x.ticks.upperStepTickValues,e.axis.x.orientation,e.height,e.settingsDictionary.transition,yc,i)}(t,n,e,i):i(t,n,Zs.gridV,e)},kc=function(t){return vi(t)1&&void 0!==arguments[1]?arguments[1]:ks.Y_AXIS;return Qt(t[n].domain())<0&&$t(t[n].domain())>0},Cc=function(t){return[{x:t.x.domain()[0],y:0},{x:t.x.domain()[1],y:0}]},Nc=function(t,n){return qo().x((function(n){return t.x(n.x)})).y((function(e){return t[n](e.y)}))},Mc=function(t){return Fs.isDefined(t.y2)&&t.y2.show},Rc=function(t){return t===ws.X.TOP},Oc=function(t){var n=t.scale().tickFormat().toString();return"".concat(n.slice(0,n.length-1),"~").concat(n.slice(n.length-1))},Pc=function(t){return Fs.isEmpty(t)?null:t.map((function(t){return Fs.isDate(t)?Fs.parseDateTime(t):t}))},Gc=function(t,n,e,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ws.X.BOTTOM,r=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=dn(t);if(Rc(a)&&(s=ln(t)),n&&0!==n.length)if(Fs.isDate(n))if(Fs.isUndefined(r)||Fs.isUndefined(o))s.ticks(Math.max(e/ks.MAX_TICK_VARIANCE,ks.MIN_TICKS)).tickValues(Pc(n)).tickFormat(i);else{var c=n.filter((function(t){var n=new Date(t);return n>=r&&n<=o}));s.tickValues(Pc(c)).tickFormat(Gi(i))}else s.ticks(Math.max(e/ks.MAX_TICK_VARIANCE,ks.MIN_TICKS)).tickValues(Pc(n.filter((function(t){return t>=r&&t<=o})))).tickFormat(i);else s.ticks(Math.max(e/ks.MAX_TICK_VARIANCE,ks.MIN_TICKS)).tickValues(Pc(n)).tickFormat(i);return s},Fc=function(t){return t.canvasWidth-t.axisSizes.y-t.axisSizes.y2-t.axisLabelWidths.y-t.axisLabelWidths.y2},Uc=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_s.DEFAULT;if(""===n)return n;var i=e===_s.TIME_SERIES?nr(t):Dn(t);if(Fs.isEmpty(n)){if("default"===e)return null;switch(t.locale){case hc.es_ES.locale:case hc.pt_BR.locale:return kc;case hc.de_DE.locale:return Ic;case hc.sv_SE.locale:return Sc;case hc.nl_NL.locale:return kc;case hc.fr_FR.locale:return Dc;default:return null}}return i.format(n)},Hc=function(t,n,e,i){return fn(t).ticks(e/ks.DEFAULT_Y_AXIS_SPACING).tickValues(n).tickFormat(i)},Bc=function(t,n,e,i){return un(t).ticks(e/ks.DEFAULT_Y_AXIS_SPACING).tickValues(n).tickFormat(i)},Vc=function(t,n){var e,i=0;return t.forEach((function(t){if(0!==t){var n;n=Math.abs(t);var e=-Math.floor(Math.log10(n));e>i&&(i=e)}})),i>0&&i<6&&(e=n.suppressTrailingZeros?".".concat(i%10,"~f"):".".concat(i%10,"f")),e},Yc=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ks.DEFAULT_TICKSCOUNT;e=Math.abs(e);var i=[];i.push(t),i.push(n),t<0&&i.push(0);for(var a=(n-t)/(e+1),r=1;r<=e;r+=1)i.push(t+a*r);return i.sort((function(t,n){return t-n})),i},Xc=function(t){var n;switch(!0){case t<=ks.AXISRANGE_ONE:n=ks.DEFAULT_TICKSCOUNT-4;break;case t<=ks.AXISRANGE_TWO:n=ks.DEFAULT_TICKSCOUNT-3;break;case t<=ks.AXISRANGE_THREE:n=ks.DEFAULT_TICKSCOUNT-2;break;case t<=ks.AXISRANGE_FOUR:n=ks.DEFAULT_TICKSCOUNT-1;break;default:n=ks.DEFAULT_TICKSCOUNT}return n},zc=function(t,n,e){var i,a,r,o,s;if(e.axis.x.suppressTrailingZeros&&e.axis.x.type===_s.DEFAULT&&Fs.isUndefined(e.axis.x.ticks.format)&&(t.x=Rc(e.axis.x.orientation)?ln(n.x):dn(n.x),i=Oc(t.x)),t.x=Gc(n.x,e.axis.x.ticks.values,Fc(e),Uc(e.d3Locale,Fs.isDefined(e.axis.x.ticks.format)?e.axis.x.ticks.format:i,e.axis.x.type),e.axis.x.orientation,e.axis.x.domain.lowerLimit,e.axis.x.domain.upperLimit),i=null,t.axisInfoRow.x=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ws.X.BOTTOM,e=dn(t);return Rc(n)&&(e=ln(t)),e.tickValues([]),e}(n.x,(a=e.axis.x.orientation,Rc(a)?ws.X.BOTTOM:ws.X.TOP)),Mc(e.axis)){if(Fs.isDefined(e.axis.y.ticks.values))return e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),t.y=Hc(n.y,e.axis.y.ticks.values,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i)),i=null,e.axis.y2.suppressTrailingZeros&&Fs.isUndefined(e.axis.y2.ticks.format)&&(t.y2=un(n.y2),i=Oc(t.y2)),t.y2=Bc(n.y2,e.axis.y2.ticks.values,e.height,Uc(e.locale,Fs.isDefined(e.axis.y2.ticks.format)?e.axis.y2.ticks.format:i)),t;var c,l,u=e.axis.y.domain.lowerLimit,d=e.axis.y.domain.upperLimit,f=e.axis.y2.domain.lowerLimit,h=e.axis.y2.domain.upperLimit;if(e.allowCalibration){var g=We().domain([u,d]).nice().domain(),p=lc()(g,2);u=p[0],d=p[1];var y=We().domain([f,h]).nice().domain(),m=lc()(y,2);f=m[0],h=m[1]}if(Fs.isDefined(e.ticksCount)&&e.ticksCount<=ks.TICKSCOUNT_MAXLIMIT)c=Yc(u,d,e.ticksCount),l=Yc(f,h,e.ticksCount);else{var v,x=d-u,b=h-f,E=Math.max(x,b),T=Math.min(x,b),_=E/T;if(Number.isInteger(_)&&Number.isInteger(T/_)&&_>2)v=_;else for(var A=9;A>=3;A-=1)if(Number.isInteger(E/A)&&Number.isInteger(T/A)){v=A;break}Fs.isUndefined(v)&&(r=b,o=Xc(x),s=Xc(r),v=Math.round((o+s)/2)+1),c=Yc(u,d,v-1),l=Yc(f,h,v-1)}e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),!e.axis.y.isConsumerProvidedFormat&&Fs.isUndefined(e.axis.y.ticks.values)&&(e.axis.y.ticks.format=Vc(c,e.axis.y)),t.y=Hc(n.y,c,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i)),i=null,e.axis.y2.suppressTrailingZeros&&Fs.isUndefined(e.axis.y2.ticks.format)&&(t.y2=un(n.y2),i=Oc(t.y2)),!e.axis.y2.isConsumerProvidedFormat&&Fs.isUndefined(e.axis.y2.ticks.values)&&(e.axis.y2.ticks.format=Vc(l,e.axis.y2)),t.y2=Bc(n.y2,l,e.height,Uc(e.locale,Fs.isDefined(e.axis.y2.ticks.format)?e.axis.y2.ticks.format:i))}else{var w=e.axis.y.domain.lowerLimit,k=e.axis.y.domain.upperLimit;if(Fs.isDefined(e.axis.y.ticks.values))e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),t.y=Hc(n.y,e.axis.y.ticks.values,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i));else if(Fs.isDefined(e.ticksCount)||e.ticksCount<=ks.TICKSCOUNT_MAXLIMIT){var I=Yc(w,k,e.ticksCount);e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),!e.axis.y.isConsumerProvidedFormat&&Fs.isUndefined(e.axis.y.ticks.values)&&(e.axis.y.ticks.format=Vc(I,e.axis.y)),t.y=Hc(n.y,I,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i))}else e.axis.y.suppressTrailingZeros&&Fs.isUndefined(e.axis.y.ticks.format)&&(t.y=fn(n.y),i=Oc(t.y)),t.y=Hc(n.y,void 0,e.height,Uc(e.locale,Fs.isDefined(e.axis.y.ticks.format)?e.axis.y.ticks.format:i))}return t},jc=function(t,n,e,i){return Gc(t.x,n,Fc(e),Uc(e.d3Locale,e.axis.x.ticks.format,e.axis.x.type),i)},Kc=function(t){return t.axisSizes.y+t.axisLabelWidths.y},Wc=function(t){return Rc(t.axis.x.orientation)?t.axisLabelHeights.x?2*t.axisLabelHeights.x+t.padding.top:t.padding.top:t.padding.bottom},qc=function(t){return t.height},Jc=function(t){return Rc(t.axis.x.orientation)?Wc(t):qc(t)+Wc(t)},Zc=function(t){return t.attr("font-size",null).attr("font-family",null)},$c=function(t){return Kc(t)},Qc=function(t){return Wc(t)},tl=function(t){return $c(t)+Fc(t)},nl=function(t){return Wc(t)},el=function(t){return Rc(t.axis.x.orientation)?qc(t)+Wc(t):Wc(t)},il=function(t){switch(t){case ks.Y_AXIS:return-90;case ks.Y2_AXIS:return 90;default:return 0}},al=function(t){return Kc(t)+Fc(t)/2},rl=function(t){return Rc(t.axis.x.orientation)?Wc(t)-2*t.axisLabelHeights.x:Jc(t)+2*t.axisLabelHeights.x+2*(t.padding.bottom-t.axisInfoRowLabelHeight)},ol=function(t){return Mc(t.axis)?t.padding.left-t.axisLabelWidths.y:t.padding.left},sl=function(t){return Qc(t)+(qc(t)-t.padding.left/2)/2},cl=function(t){return ol(t)+ks.BASE_LABEL_ICON_HEIGHT_PADDING},ll=function(t,n){return sl(t)+n*ks.BASE_LABEL_ICON_HEIGHT_PADDING/1.5},ul=function(t,n){return sl(t)-n*ks.BASE_LABEL_ICON_HEIGHT_PADDING/1.5},dl=function(t){return tl(t)+t.padding.right+t.axisLabelWidths.y2},fl=function(t){return dl(t)-ks.BASE_LABEL_ICON_HEIGHT_PADDING},hl=function(t){if(t.padding.hasCustomPadding)return t.padding.bottom;var n=dn(zs(t.axis.x.type).domain([t.axis.x.domain.lowerLimit,t.axis.x.domain.upperLimit]).range([0,t.canvasWidth])),e=mo("body").append("div"),i=e.append("svg").append("g").call(n).node().getBoundingClientRect().height;return e.remove(),i},gl=function(t){return[0,Fc(t)]},pl=function(t){return[qc(t),0]},yl=function(t,n){return vu(t,Math.abs(n))?xu(t,Math.abs(n)):t},ml=function(t,n,e){return t.append("text").attr("text-anchor","middle").append("tspan").text(yl(n,e))},vl=function(t,n,e){var i,a=mo("body").append("div"),r=a.append("svg").append("g").attr("transform","rotate(".concat(il(n),")"));return ml(r,t),i=Fs.isDefined(e)&&Mc(e.axis)&&0===t.trim().length?ks.DEFAULT_CHARACTER_SVG_ELEMENT_WIDTH:r.node().getBoundingClientRect().width,a.remove(),i},xl=function(t){var n=mo("body").append("div"),e=n.append("svg").append("g");ml(e,t);var i=e.node().getBoundingClientRect().height;return n.remove(),i},bl=function(t,n){if(n.padding.hasCustomPadding)return n.padding.left;var e=fn(We().domain([n.axis[t].domain.lowerLimit,n.axis[t].domain.upperLimit]).range([n.height,0])),i=mo("body").append("div"),a=i.append("svg").append("g").call(e).node().getBoundingClientRect().width;return i.remove(),a},El=function(t){t.axisSizes={},t.axisSizes.y=bl(ks.Y_AXIS,t)+t.padding.left,t.axisSizes.y2=function(t){return t.padding.hasCustomPadding?t.padding.right:Mc(t.axis)?bl(ks.Y2_AXIS,t):20}(t)+t.padding.right,t.axisSizes.x=hl(t)},Tl=function(t){t.axisLabelHeights={},t.axisLabelWidths={},t.axisLabelHeights.x=0,t.axisLabelWidths.y=0,t.axisLabelWidths.y2=0,t.showLabel&&(t.axis.x.label&&(t.axisLabelHeights.x=xl(t.axis.x.label)),t.axis.y.label&&(t.axisLabelWidths.y=ks.DEFAULT_CHARACTER_SVG_ELEMENT_WIDTH),Mc(t.axis)&&t.axis.y2.label&&(t.axisLabelWidths.y2=Mc(t.axis)?vl(t.axis.y2.label,ks.Y2_AXIS,t):0))},_l=function(t,n){var e=(t.axis[n].domain.upperLimit-t.axis[n].domain.lowerLimit)/2;return t.axis[n].domain.lowerLimit+e},Al=function(t){t.axis.x.domain=js(t.axis.x.type,t.axis.x.lowerLimit,t.axis.x.upperLimit)},wl=function(t,n){var e=t.axis[n].domain.upperLimit,i=t.axis[n].dataRange.max>e?t.axis[n].dataRange.max:e,a=_l(t,n),r=Math.abs((i-a)/(e-a));return r>1?r:1},kl=function(t,n){var e=t.axis[n].domain.lowerLimit,i=_l(t,n),a=t.axis[n].dataRange.min1?r:1},Il=function(t){var n={};return n.upperLimit=wl(t,ks.X_AXIS),n.lowerLimit=kl(t,ks.X_AXIS),n},Sl=function(t){var n={};if(n.upperLimit=wl(t,ks.Y_AXIS),n.lowerLimit=kl(t,ks.Y_AXIS),Mc(t.axis)){var e=wl(t,ks.Y2_AXIS),i=kl(t,ks.Y2_AXIS);n.upperLimit=e>n.upperLimit?e:n.upperLimit,n.lowerLimit=i>n.lowerLimit?i:n.lowerLimit}return n},Dl=function(t,n,e,i){zc(t,n,e),Ac(n,t,e,jc),i.select(".".concat(Zs.axisX)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat(Kc(e),",").concat(Jc(e),")")).call(t.x),i.select(".".concat(Zs.axisY)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat($c(e),", ").concat(Qc(e),")")).call(t.y),Mc(e.axis)&&i.select(".".concat(Zs.axisY2)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat(tl(e),", ").concat(nl(e),")")).call(t.y2),i.select(".".concat(Zs.axisInfoRow)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat(Kc(e),", ").concat(el(e),")")).call(t.axisInfoRow.x)},Ll=function(t,n,e){if(t instanceof Af){var i=0,a=0;return n.filter((function(n){return n instanceof Af&&n.config.group===t.config.group})).forEach((function(t){a+=t.valuesRange[e].max,i+=t.valuesRange[e].min})),{min:i,max:a}}return{min:t.valuesRange[e].min,max:t.valuesRange[e].max}},Cl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks.Y_AXIS,e=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(Fs.isEmpty(e.axis.x.dataRange)&&(e.axis.x.dataRange={}),Fs.isEmpty(e.axis.y.dataRange)&&(e.axis.y.dataRange={}),Mc(e.axis)&&Fs.isEmpty(e.axis.y2.dataRange)&&(e.axis.y2.dataRange={}),!Fs.isEmpty(t)&&!Fs.isEmpty(t.valuesRange)){var a,r=Ll(t,i,n),o=e.axis[n].dataRange.oldMin,s=e.axis[n].dataRange.oldMax;a=0===o||0===s?!(o<=r.min||s>=r.max):!(o&&s&&(o<=r.min||s>=r.max)),e.axis[n].dataRange.isRangeModified=a,a&&(e.axis[n].dataRange.oldMin=e.axis[n].dataRange.min,e.axis[n].dataRange.oldMax=e.axis[n].dataRange.max,e.axis[n].dataRange.min=r.min,e.axis[n].dataRange.max=r.max)}},Nl=function(t,n){return(Fs.isDate(t)||Fs.isDateInstance(t))&&Bs(n)===_s.TIME_SERIES||!Fs.isDate(t)&&!Fs.isDateInstance(t)&&Bs(n)!==_s.TIME_SERIES},Ml=function(t){return Math.round(100*(t+1e-5))/100},Rl=function(t,n){return t[0]*n[0]+t[1]*n[1]},Ol=function(t){var n=Math.sqrt(Rl(t,t));return n&&(t[0]/=n,t[1]/=n),n},Pl=function(t){return function(t){var n=document.createElementNS("http://www.w3.org/2000/svg","g");n.setAttributeNS(null,"transform",t);var e,i,a,r=n.transform.baseVal.consolidate(),o=r?r.matrix:{a:1,b:0,c:0,d:1,e:0,f:0},s=[o.a,o.b],c=[o.c,o.d],l=Ol(s),u=Rl(s,c),d=Ol(((e=c)[0]+=(a=-u)*(i=s)[0],e[1]+=a*i[1],e))||0;return s[0]*c[1]0){var a=Math.floor(Ul()/2);e.select("clipPath#".concat(n.datelineClipPathId)).selectAll("rect").attr("height",qc(n)+a).attr(ks.Y_AXIS,Qc(n)-a)}},Bl=function(t,n,e){e.select(".".concat(Zs.datelineContent)).empty()||(e.select(".".concat(Zs.datelineContent)).remove(),Hl(t,n,e))},Vl=function(t){if(Fs.isEmpty(t))throw new Error(ht);if(Fs.isEmpty(t.value))throw new Error(gt);if(!Fs.isDate(t.value))throw new Error(pt);if(Fs.isEmpty(t.color))throw new Error(yt);if(t.showDatelineIndicator&&Fs.isEmpty(t.shape))throw new Error(mt)},Yl=function(t,n,e,i){if(!Fs.isEmpty(n.eventline)){var a=e.selectAll(".".concat(Zs.eventlineGroup)).transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr("transform","translate(".concat(Kc(n),",").concat(i(n),")"));a.selectAll(".".concat(Zs.eventlinePoint)).select("g").attr("transform",(function(n){return"translate(".concat(t.x(Fs.parseDateTime(n.value)),", 0) scale(").concat(Pl(this),")")})),a.selectAll(".".concat(Zs.eventline)).attr("x1",(function(n){return t.x(Fs.parseDateTime(n.value))})).attr("y1",0).attr("x2",(function(n){return t.x(Fs.parseDateTime(n.value))})).attr("y2",qc(n))}},Xl=function(t,n,e){var i=e.append("g").classed(Zs.eventlineContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")"));n.eventline.forEach((function(t){var e=i.append("g").classed(Zs.eventlineGroup,!0).datum(t).attr("style",(function(t){return"fill: ".concat(t.color,"; stroke: ").concat(t.color,";")})).attr("aria-selected",!1),a=!!Fs.isDefined(n.clickPassThrough)&&n.clickPassThrough.eventlines;e.append("line").classed(Zs.eventline,!0).attr("style",(function(t){return"fill: ".concat(t.color,"; stroke: ").concat(t.color,"; stroke-dasharray: ").concat(void 0!==t.style&&void 0!==t.style.strokeDashArray?t.style.strokeDashArray:"2,2")})).attr("pointer-events",a?"none":"auto").attr("aria-hidden",!1)})),Yl(t,n,e,Qc)},zl=function(t,n,e){e.select(".".concat(Zs.eventlineContent)).empty()||(e.select(".".concat(Zs.eventlineContent)).remove(),Xl(t,n,e))},jl=function(t){if(Fs.isEmpty(t))throw new Error(vt);if(Fs.isEmpty(t.value))throw new Error(xt);if(!Fs.isDate(t.value))throw new Error(bt);if(Fs.isEmpty(t.color))throw new Error(Et)},Kl=ks.BASE_CANVAS_WIDTH_PADDING,Wl=ks.DEFAULT_HEIGHT,ql=function(t,n){return n.attr("height",t.canvasHeight+function(t){return Fs.isDefined(t.axisInfoRowLabelHeight)?t.axisInfoRowLabelHeight:0}(t)).attr("width",t.padding.hasCustomPadding?t.canvasWidth:t.canvasWidth-Kl)},Jl=function(t,n){var e;if(Fs.notEmpty(n.axis.y.ticks.values)){var i=n.axis.y.ticks.values;e=t.y.tickValues(Pc(i)).tickSize(-1*Fc(n),0,0).tickFormat("")}else e=t.y.tickSize(-1*Fc(n),0,0).tickFormat("");return e},Zl=function(t,n){var e,i=Rc(n.axis.x.orientation)?ks.TICK_ORIENTATION.TOP:ks.TICK_ORIENTATION.BOTTOM;if(Fs.notEmpty(n.axis.x.ticks.values)){var a=n.axis.x.ticks.values;if(Fs.isUndefined(n.axis.x.domain))e=t.x.tickValues(Pc(a)).tickSize(qc(n)*i,0,0).tickFormat("");else if(Fs.isDate(a))if(Fs.isUndefined(n.axis.x.domain.lowerLimit)||Fs.isUndefined(n.axis.x.domain.upperLimit))e=t.x.tickValues(Pc(a)).tickSize(qc(n)*i,0,0).tickFormat("");else{var r=a.filter((function(t){var e=new Date(t);return e>=n.axis.x.domain.lowerLimit&&e<=n.axis.x.domain.upperLimit}));e=t.x.tickValues(Pc(r)).tickSize(qc(n)*i,0,0).tickFormat("")}else e=t.x.tickValues(Pc(a.filter((function(t){return t>=n.axis.x.domain.lowerLimit&&t<=n.axis.x.domain.upperLimit})))).tickSize(qc(n)*i,0,0).tickFormat("")}else e=t.x.tickSize(qc(n)*i,0,0).tickFormat("");return e},$l=function(t,n,e,i){t.select(".".concat(e)).transition().call(ks.d3Transition(i.settingsDictionary.transition)).call(Zl(n,i))},Ql=function(t,n){return n.select(".".concat(Zs.contentContainer)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("width",Fc(t)).attr("height",t.height).attr(ks.Y_AXIS,t.axis.x.orientation&&Wc(t)).attr(ks.X_AXIS,Kc(t))},tu=function(t){return{xAxisLimit:Fc(t)/7.33,yAndY2AxisLimit:t.height/8}},nu=function(t,n,e,i,a){return t.selectAll(".".concat(n," text")).each((function(){var t=this;vu(e.label,i)&&mo(this).style("cursor","pointer").on("click",(function(){Fs.isDefined(e.onLabelClick)&&Fs.isFunction(e.onLabelClick)?e.onLabelClick(e.label,mo(t)):bu(e.label,a)}))}))},eu=function(t){var n=tu(t),e=function(t){return document.querySelector(".".concat(t," text"))},i=function(t,n,i){var a=null!==e(i)&&Fs.isFunction(mo(e(i)).on("click"));t&&!vu(t,n)&&a&&mo(e(i)).on("click",null).style("cursor","auto")};i(t.axis.x.label,n.xAxisLimit,Zs.axisLabelX),i(t.axis.y.label,n.yAndY2AxisLimit,Zs.axisLabelY),i(t.axis.y2.label,n.yAndY2AxisLimit,Zs.axisLabelY2)},iu=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t.lowerLimit,i=t.upperLimit,a=.05*Math.abs(i-e);return{lowerLimit:e-(n?a:0),upperLimit:i+(n?a:0)}},au=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Fs.isEmpty(n))return t;t.outlierStretchFactor=Sl(t);var e=n.config.yAxis||ks.Y_AXIS,i=(t.axis[e].domain.upperLimit-t.axis[e].domain.lowerLimit)/2,a=(t.axis[e].domain.upperLimit+t.axis[e].domain.lowerLimit)/2,r={lowerLimit:a-i*t.outlierStretchFactor.lowerLimit,upperLimit:a+i*t.outlierStretchFactor.upperLimit};return t.axis[e].domain=iu(r,t.axisPadding[e]),t},ru=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Fs.isEmpty(n)||!t.axis.x.allowCalibration)return t;t.axis.x.type===_s.TIME_SERIES&&(t.axis.x.domain.upperLimit=Fs.getEpocFromDateString(t.axis.x.domain.upperLimit),t.axis.x.domain.lowerLimit=Fs.getEpocFromDateString(t.axis.x.domain.lowerLimit)),t.axis.x.outlierStretchFactor=Il(t);var e=(t.axis.x.domain.upperLimit-t.axis.x.domain.lowerLimit)/2,i=(t.axis.x.domain.upperLimit+t.axis.x.domain.lowerLimit)/2,a={lowerLimit:i-e*t.axis.x.outlierStretchFactor.lowerLimit,upperLimit:i+e*t.axis.x.outlierStretchFactor.upperLimit};return a.upperLimit===t.axis.x.dataRange.max||a.lowerLimit===t.axis.x.dataRange.min?t.axisPadding.x=!0:t.axisPadding.x=Hs(t.axisPadding.x,!1),t.axis.x.domain=iu(a,t.axisPadding.x),t.axis.x.type===_s.TIME_SERIES&&(t.axis.x.domain.upperLimit=Fs.getDateFromEpoc(t.axis.x.domain.upperLimit),t.axis.x.domain.lowerLimit=Fs.getDateFromEpoc(t.axis.x.domain.lowerLimit)),t},ou=function(t,n,e,i){t.append("g").classed(e,!0).call(Zl(n,i))},su=function(t,n){t.x=zs(n.axis.x.type).domain([n.axis.x.domain.lowerLimit,n.axis.x.domain.upperLimit]).range(gl(n)).clamp(n.axis.x.allowCalibration),t.y=We().domain([n.axis.y.domain.lowerLimit,n.axis.y.domain.upperLimit]).range(pl(n)).clamp(n.allowCalibration),n.axis.x.rangeRounding&&t.x.nice(),n.allowCalibration&&n.axis.y.rangeRounding&&t.y.nice(),Mc(n.axis)&&(t.y2=We().domain([n.axis.y2.domain.lowerLimit,n.axis.y2.domain.upperLimit]).range(pl(n)).clamp(n.allowCalibration),n.allowCalibration&&n.axis.y2.rangeRounding&&t.y2.nice())},cu=function(t){var n,e,i,a;ql(t.config,t.svg),function(t,n){if(n.select("clipPath#".concat(t.clipPathId)).selectAll("rect").attr("height",t.height).attr("width",Fc(t)).attr(ks.Y_AXIS,t.axis.x.orientation&&Wc(t)).attr(ks.X_AXIS,Kc(t)),t.settingsDictionary.shouldCreateDatelineDefs&&t.dateline.length>0){var e=Math.floor(Ul()/2);n.select("clipPath#".concat(t.datelineClipPathId)).selectAll("rect").attr("height",t.height+e).attr("width",Fc(t)).attr(ks.Y_AXIS,t.axis.x.orientation&&Wc(t)-e)}}(t.config,t.svg),Dl(t.axis,t.scale,t.config,t.svg),n=t.axis,e=t.scale,i=t.config,a=t.svg,zc(n,e,i),a.select(".".concat(Zs.grid)).attr("transform","translate(".concat(Kc(i),",").concat(Wc(i),")")),i.showHGrid&&a.select(".".concat(Zs.gridH)).transition().call(ks.d3Transition(i.settingsDictionary.transition)).call(Jl(n,i)),i.showVGrid&&wc(a,n,i,$l),Ql(t.config,t.svg),function(t,n){var e=tu(t);t.axis.x.label&&(n.select(".".concat(Zs.axisLabelX)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(al(t),",").concat(rl(t),") rotate(").concat(il(ks.X_AXIS),")")),n.selectAll(".".concat(Zs.axisLabelX," text")).each((function(){mo(this).text(yl(t.axis.x.label,e.xAxisLimit))})),nu(n,Zs.axisLabelX,t.axis.x,e.xAxisLimit,ks.X_AXIS)),t.axis.y.label&&(n.select(".".concat(Zs.axisLabelY)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(ol(t),", ").concat(sl(t),") rotate(").concat(il(ks.Y_AXIS),")")),n.selectAll(".".concat(Zs.axisLabelY," text")).each((function(){mo(this).text(yl(t.axis.y.label,e.yAndY2AxisLimit))})),nu(n,Zs.axisLabelY,t.axis.y,e.yAndY2AxisLimit,ks.Y_AXIS)),Mc(t.axis)&&(n.select(".".concat(Zs.axisLabelY2)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(dl(t),", ").concat(sl(t),") rotate(").concat(il(ks.Y2_AXIS),")")),n.selectAll(".".concat(Zs.axisLabelY2," text")).each((function(){mo(this).text(yl(t.axis.y2.label,e.yAndY2AxisLimit))})),nu(n,Zs.axisLabelY2,t.axis.y2,e.yAndY2AxisLimit,ks.Y2_AXIS))}(t.config,t.svg),Du(t.config,t.axesLabelShapeGroup),function(t,n,e,i){var a=function(t,i){return t.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("aria-hidden",!1).attr("d",Nc(n,i)(Cc(n)))};Lc(n,ks.Y_AXIS)&&a(i.select("path.".concat(Zs.axis,".").concat(Zs.axisY,".").concat(Zs.axisReferenceLine)),ks.Y_AXIS),Mc(e.axis)&&Lc(n,ks.Y2_AXIS)&&a(i.select("path.".concat(Zs.axis,".").concat(Zs.axisY2,".").concat(Zs.axisReferenceLine)),ks.Y2_AXIS)}(t.axis,t.scale,t.config,t.svg),Gl(t.scale,t.config,t.svg,Qc),Yl(t.scale,t.config,t.svg,Qc),function(t,n){n.select(".".concat(Zs.noDataOverlay)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("height",qc(t)/ks.NO_DATA_VIEW_PROPORTION).attr("width",Fc(t)),n.select(".".concat(Zs.noDataLabel)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("x",al(t)).attr("y",sl(t)+ks.NO_DATA_LABEL_PADDING)}(t.config,t.svg)},lu=function(t){return t.shape||Es.CIRCLE},uu=function(t){return t.color||ks.DEFAULT_COLOR},du=function(t){var n,e=0,i=t.resize.bind(t),a=function(){return window.requestAnimationFrame(i)},r=(n=t.config,function(){var t,i,r,o;clearTimeout(e),t=a,i=n.throttle,o=new hs,i=null==i?0:+i,o.restart((function(n){o.stop(),t(n+i)}),i,r),e=o});window.addEventListener("resize",r,!0),t.resizeHandler=r},fu=function(t){window.removeEventListener("resize",t.resizeHandler,!0)},hu=function(t,n){t&&(arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t.selectAll(n).remove():t.select(n).remove())},gu=function(t,n){var e=n.config,i=e.yAxis?e.yAxis:ks.Y_AXIS;Fs.notEmpty(e.axisPadding)&&(t[i]=e.axisPadding)},pu=function(t){hu(t,".".concat(Zs.noDataContainer))},yu=function(t,n){pu(n);var e=qc(t)/ks.NO_DATA_VIEW_PROPORTION,i=n.append("g").classed(Zs.noDataContainer,!0);return i.append("rect").classed(Zs.noDataOverlay,!0).attr(ks.X_AXIS,Kc(t)).attr(ks.Y_AXIS,Wc(t)+e).attr("height",e).attr("width",Fc(t)),i.append("text").classed(Zs.noDataLabel,!0).attr("x",al(t)).attr("y",sl(t)+ks.NO_DATA_LABEL_PADDING).append("tspan").text(t.locale.noData),n},mu=function(t,n,e){t.select(".".concat(n)).attr("transform","translate(".concat(Kc(e),",").concat(Wc(e),")"))},vu=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks.DEFAULT_LABEL_CHARACTER_LIMIT;return t.length>n},xu=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks.DEFAULT_LABEL_CHARACTER_LIMIT;return t.substring(0,n).concat("...")},bu=function(t,n){return mo("#".concat(Zs.labelPopupOverlay)).remove(),mo("#".concat(Zs.labelPopupTooltip)).attr("style","").selectAll("g").remove(),function(t){var n=document.querySelector("#".concat(Zs.labelPopupTooltip));return mo("body").append("div","#".concat(Zs.labelPopupTooltip)).attr("id",Zs.labelPopupOverlay).classed(Zs.labelPopupOverlay,!0).on("click",(function t(){mo(n).attr("style","display:none;").selectAll("g").remove(),mo("#".concat(Zs.labelPopupOverlay)).remove(),n.removeEventListener("click",t),window.removeEventListener("resize",t)})),"y2"===t?mo("#".concat(Zs.labelPopupTooltip)).style("left","".concat(ao.pageX-250,"px")).style("top","".concat(ao.pageY+5,"px")):mo("#".concat(Zs.labelPopupTooltip)).style("left","".concat(ao.pageX+5,"px")).style("top","".concat(ao.pageY+5,"px"))}(n).append("g").append("g").classed("popup-item",!0).append("g").classed("popup-text",!0).text(t)},Eu=function(t){return t.selectAll("svg").size()},Tu=function(t,n){return n.transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(cl(t),", ").concat(ll(t,Eu(n)),") rotate(").concat(il(ks.Y_AXIS),")"))},_u=function(t,n){return n.transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("transform","translate(".concat(fl(t),", ").concat(ul(t,Eu(n)),") rotate(").concat(il(ks.Y2_AXIS),")"))},Au=function(t,n){var e=n.append("g").classed(Zs.axisLabelYShapeContainer,!0);return e.attr("transform","translate(".concat(cl(t),", ").concat(ll(t,Eu(e)),")")),Tu(t,e),e},wu=function(t,n){var e=n.append("g").classed(Zs.axisLabelY2ShapeContainer,!0);return e.attr("transform","translate(".concat(fl(t),", ").concat(ul(t,Eu(e)),")")),_u(t,e),e},ku=function(t,n){return t.selectAll("svg").transition().call(ks.d3Transition(n.settingsDictionary.transition)).each((function(t,n){mo(this).attr("x",(function(){return ks.BASE_LABEL_ICON_SPACING*n}))}))},Iu=function(t,n,e){n.label&&n.label.display&&e&&(function(t,n){n.values.length>0&&(n.showShapes||void 0===n.showShapes?t.append((function(){return new sc(n.shape||Es.CIRCLE).getShapeElement(rc({svgStyles:"fill: ".concat(uu(n),";"),transformFn:function(t){return"scale(".concat(t,")")},a11yAttributes:{"aria-describedby":n.key}}))})):t.append((function(){return new sc("0"===n.style.strokeDashArray?ms:vs).getShapeElement(rc({svgStyles:"fill: ".concat(uu(n),'; stroke-dasharray: "').concat(n.style.strokeDashArray,'"'),transformFn:function(t){return"scale(".concat(t,")")},a11yAttributes:{"aria-describedby":n.key}}))})))}(e,n),ku(e,t))},Su=function(t,n,e){Fs.notEmpty(t)&&(hu(t,'svg[aria-describedby="'.concat(n.key,'"]')),ku(t,e))},Du=function(t,n){Mc(t.axis)&&Fs.notEmpty(n)&&(Tu(t,n[ks.Y_AXIS]),_u(t,n[ks.Y2_AXIS]))},Lu=function(){mo("body").append("div").attr("id",Zs.labelPopupTooltip).style("display","none").classed(Zs.labelPopupTooltip,!0)},Cu=function(){if(document.querySelector(".".concat(Zs.labelPopupTooltip))){var t=document.querySelector(".".concat(Zs.labelPopupTooltip));t.parentNode&&t.parentNode.removeChild(t)}},Nu=function(t,n,e){Su(t.axesLabelShapeGroup[e.config.yAxis],e.dataTarget,t.config),Fs.isEmpty(n.values)||Iu(t.config,e.dataTarget,t.axesLabelShapeGroup[e.config.yAxis])},Mu=function(t){if(!t)throw new Error(Ct);if(Fs.isDefined(t.format)&&!Fs.isFunction(t.format))throw new Error(Nt)},Ru=function(t){return Fs.sanitize(t)},Ou=function(t){return t.legendOptions&&!1===t.legendOptions.showElement&&Fs.isEmptyArray(t.values)?"none":""},Pu=function(t,n){return t.append((function(){return new sc(lu(n)).getShapeElement(rc({svgClassNames:n.legendOptions&&n.legendOptions.showLine?Zs.legendItemIconWithLine:Zs.legendItemIcon,svgStyles:"fill: ".concat(uu(n),";")}),!0)}))},Gu=function(t,n){n.legendOptions?((n.showShapes||void 0===n.showShapes)&&n.legendOptions.showShape&&Pu(t,n),n.legendOptions.showLine&&function(t,n){var e=t.append("svg").classed(n.legendOptions.showShape?Zs.legendItemLineWithIcon:Zs.legendItemLine,!0);e.append("line").attr("x2",ks.DEFAULT_LEGEND_LINE_WIDTH).classed(Zs.legendItemWhiteLine,!0),e.append("line").attr("x1",1).attr("x2",n.legendOptions.showShape?ks.DEFAULT_LEGEND_LINE_WIDTH_WITH_SYMBOL-1:ks.DEFAULT_LEGEND_LINE_WIDTH-1).attr("y1",ks.LEGEND_LINE_POSITION).attr("y2",ks.LEGEND_LINE_POSITION).attr("style","stroke: ".concat(uu(n),";\n stroke-dasharray: ").concat(n.legendOptions.style.strokeDashArray,";\n stroke-width: 1px;"))}(t,n)):Pu(t,n)},Fu=function(t,n,e,i){if(!Fs.isFunction(i.clickHandler))throw new Error("Invalid Argument: eventHandlers needs a clickHandler callback function.");if(!Fs.isFunction(i.hoverHandler))throw new Error("Invalid Argument: eventHandlers needs a hoverHandler callback function.");Mu(n.label);var a=Ru(n.label.display),r=e.shownTargets.indexOf(n.key),o=!!n.label.isDisabled||Fs.isEmptyArray(n.values),s=t.append("li").classed(Zs.legendItem,!0).attr("aria-current",o||r>-1).attr("aria-disabled",o).style("display",Ou(n)).attr("role","listitem").attr("aria-labelledby",a).attr("aria-describedby",n.key).style("margin",e.legendPadding.hasCustomLegendPadding&&0).style("padding","".concat(e.legendPadding.top,"px ").concat(e.legendPadding.right,"px ").concat(e.legendPadding.bottom,"px ").concat(e.legendPadding.left,"px"));!o&&r>-1&&s.on("click",(function(){return i.clickHandler(this,n)})).on("mouseenter",(function(){return i.hoverHandler(n,ks.HOVER_EVENT.MOUSE_ENTER)})).on("mouseleave",(function(){return i.hoverHandler(n,ks.HOVER_EVENT.MOUSE_EXIT)}));var c=s.append("button").classed(Zs.legendItemBtn,!0).attr("title",a).attr("tabindex",o?-1:0).append("span").attr("class",Zs.legendItemSpan);return Gu(c,n),s.append("label").classed(Zs.legendItemText,!0).attr("tabindex",-1).text(a),t},Uu=function(t,n){return hu(t,'li[aria-describedby="'.concat(n.key,'"]'))},Hu=function(t,n){return n.append("ul").classed(Zs.legend,!0).attr("role","list").style("flex-direction",t.bindLegendTo&&"column")},Bu=function(t){return"true"!==t.attr("aria-current")},Vu=function(t){var n=mo(t);return n.attr("aria-current",Bu(n))},Yu=function(t,n,e,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];t.filter((function(t){return t!==e})).forEach((function(r){n.selectAll('svg[aria-describedby="'.concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('path[aria-describedby="'.concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll(".".concat(Zs.pairedLine)).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('rect[aria-describedby="'.concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll(".".concat(Zs.barGoalLine,'[aria-describedby="region_').concat(r,'"]')).attr("aria-hidden",i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('[aria-describedby="text_label_'.concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER),Fs.notEmpty(a)&&a.forEach((function(a){return a(t,n,e,i,r)}))}))},Xu=function(t,n,e,i){var a=e.hoverHandler;Mu(n.label);var r,o,s,c=(r=n.label.display,o=n.value,(s=n.label.format)?s(r,o):"".concat(Ru(r),": ").concat(o)),l=t.append("li").classed(Zs.pieLegendItem,!0).attr("role","listitem").attr("tabindex",0).attr("aria-labelledby",c).attr("aria-describedby",n.key).style("margin",i.legendPadding.hasCustomLegendPadding&&0).style("padding","".concat(i.legendPadding.top,"px ").concat(i.legendPadding.right,"px ").concat(i.legendPadding.bottom,"px ").concat(i.legendPadding.left,"px"));l.append((function(){return new sc(lu(n)).getShapeElement(rc({svgClassNames:Zs.pieLegendItemIcon,svgStyles:"fill: ".concat(uu(n),";")}),!0)})),l.append("label").classed(Zs.legendItemText,!0).text(c),l.on("mouseenter",(function(){return a(n,ks.HOVER_EVENT.MOUSE_ENTER)})).on("mouseleave",(function(){return a(n,ks.HOVER_EVENT.MOUSE_EXIT)}))},zu=function(t,n){var e=Hs(n.legendOptions,{showShape:!0,showLine:!1===n.showShapes,showElement:!0});return e.showShape=!1!==n.showShapes&&Hs(e.showShape,!0),e.showLine=Hs(e.showLine,!1),e.showElement=Hs(e.showElement,!0),e.style=Hs(e.style,{}),e.style.strokeDashArray?e.style={strokeDashArray:qs(e.style)}:!1===n.showShapes?e.style.strokeDashArray=n.style.strokeDashArray:e.style={strokeDashArray:qs(e.style)},e},ju=function(t,n){return Fs.isDefined(t.legendPadding)?{top:Hs(n.top,ks.LEGEND_PADDING.top),bottom:Hs(n.bottom,ks.LEGEND_PADDING.bottom),right:Hs(n.right,ks.LEGEND_PADDING.right),left:Hs(n.left,ks.LEGEND_PADDING.left),hasCustomLegendPadding:!0}:{top:ks.LEGEND_PADDING.top,bottom:ks.LEGEND_PADDING.bottom,right:ks.LEGEND_PADDING.right,left:ks.LEGEND_PADDING.left,hasCustomLegendPadding:!1}},Ku=function(t,n,e,i){var a=e.config.shownTargets.indexOf(n.key),r=!!n.label.isDisabled||Fs.isEmptyArray(n.values),o=t.select('li[aria-describedby="'.concat(n.key,'"]')).attr("aria-current",r||a>-1).attr("aria-disabled",r).style("display",Ou(n));return r?o.on("click",(function(){return null})).on("mouseenter",(function(){return null})).on("mouseleave",(function(){return null})):o.on("click",(function(){return i.clickHandler(this,n)})).on("mouseenter",(function(){return i.hoverHandler(n,ks.HOVER_EVENT.MOUSE_ENTER)})).on("mouseleave",(function(){return i.hoverHandler(n,ks.HOVER_EVENT.MOUSE_EXIT)})),t},Wu=function(t,n){if(Fs.isEmpty(t))throw new Error(K);if(Fs.isEmpty(t.start)&&Fs.isEmpty(t.end))throw new Error(J);if(Fs.notEmpty(t.axis)&&(t.axis!==ks.Y_AXIS&&t.axis!==ks.Y2_AXIS||t.axis!==n))throw new Error(W);if(Fs.isEmpty(t.axis)&&ks.Y_AXIS!==n)throw new Error(W);if(t.start&&!Fs.isNumber(t.start)||t.end&&!Fs.isNumber(t.end))throw new Error(q);if(Number(t.start)>Number(t.end))throw new Error(Z)},qu=function(t,n){return hu(t,'[aria-describedby="region_'.concat(n.key,'"]'),!0)},Ju=function(t){return t.axis||ks.Y_AXIS},Zu=function(t,n){return function(e){return e.end?Ml(t[Ju(e)](e.end))+Wc(n):Wc(n)}},$u=function(t,n,e,i){var a=i.height,r=Fs.getNumber(t.attr(ks.Y_AXIS));return(n.start?Ml(e[Ju(n)](n.start))+Wc(i):a+Wc(i))-r||ks.DEFAULT_REGION_LINE_STROKE_WIDTH},Qu=function(t,n,e,i,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ks.Y_AXIS;i.forEach((function(i){Wu(i,r),e.append("rect").datum(i).classed(Zs.region,!0).attr("aria-hidden",!1).attr("aria-describedby",a).attr("style",i.color?"fill: ".concat(i.color,";"):"").attr(ks.X_AXIS,Kc(n)).attr(ks.Y_AXIS,Zu(t,n)(i)).attr("width",Fc(n)).attr("height",(function(){return $u(mo(this),i,t,n)}))}))},td=function(t,n,e){return function(){var t=Ko,n=null,e=wo(0),i=Wo,a=wo(!0),r=null,o=jo,s=null;function c(c){var l,u,d,f,h,g=c.length,p=!1,y=new Array(g),m=new Array(g);for(null==r&&(s=o(h=Ao())),l=0;l<=g;++l){if(!(l=u;--d)s.point(y[d],m[d]);s.lineEnd(),s.areaEnd()}p&&(y[l]=+t(f,l,c),m[l]=+e(f,l,c),s.point(n?+n(f,l,c):y[l],i?+i(f,l,c):m[l]))}if(h)return s=null,h+""||null}function l(){return qo().defined(a).curve(o).context(r)}return c.x=function(e){return arguments.length?(t="function"==typeof e?e:wo(+e),n=null,c):t},c.x0=function(n){return arguments.length?(t="function"==typeof n?n:wo(+n),c):t},c.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:wo(+t),c):n},c.y=function(t){return arguments.length?(e="function"==typeof t?t:wo(+t),i=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:wo(+t),c):e},c.y1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:wo(+t),c):i},c.lineX0=c.lineY0=function(){return l().x(t).y(e)},c.lineY1=function(){return l().x(t).y(i)},c.lineX1=function(){return l().x(n).y(e)},c.defined=function(t){return arguments.length?(a="function"==typeof t?t:wo(!!t),c):a},c.curve=function(t){return arguments.length?(o=t,null!=r&&(s=o(r)),c):o},c.context=function(t){return arguments.length?(null==t?r=s=null:s=o(r=t),c):r},c}().curve(e).x((function(n){return t.x(n.x)})).y0((function(e){return t[n](e.start)})).y1((function(e){return t[n](e.end)}))},nd=function(t,n,e,i,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ks.Y_AXIS,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:As.LINEAR;return i.forEach((function(i){return e.append("g").attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")).append("path").attr("aria-describedby",a).attr("aria-hidden",!1).classed(Zs.region,!0).classed(Zs.valueRegion,1===i.values.length).datum(i.values).attr("style","fill: ".concat(i.color,"; \n stroke: ").concat(i.color,";")).attr("d",td(t,r,o))}))},ed=function(t,n,e){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ks.Y_AXIS,a=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:As.LINEAR;return a?e.selectAll(".".concat(Zs.region)).transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr("d",td(t,i,r)):e.selectAll(".".concat(Zs.region)).attr(ks.X_AXIS,Kc(n)).attr(ks.Y_AXIS,Zu(t,n)).transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr("width",Fc(n)).attr("height",(function(e){return $u(mo(this),e,t,n)}))},id=function(t){var n=t.selectAll(".".concat(Zs.region)).data(),e=n[0];return!n.some((function(t){return!(!Fs.isArray(e)&&!Fs.isArray(t))||e.start!==t.start||e.end!==t.end||e.axis!==t.axis}))},ad=function(t){return t.selectAll(".".concat(Zs.region)).attr("aria-hidden",!0)},rd=function(t,n){var e=0;return n.forEach((function(n){e+=t.includes(n.dataTarget.key)&&!Fs.isEmptyArray(n.dataTarget.values)?1:0})),1===e},od=function(t,n,e){var i=t.content,a=n.shownTargets,r=n.shouldHideAllRegion;rd(a,i)?function(t,n){n.forEach((function(n){return t.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(n,'"]')).attr("aria-hidden",(function(){return!("true"===mo(this).attr("aria-hidden"))}))}))}(e,a):function(t,n){t.shownTargets.length>1&&!t.shouldHideAllRegion&&id(n)?n.selectAll(".".concat(Zs.region)).attr("aria-hidden",!1):ad(n)}({shownTargets:a,shouldHideAllRegion:r},e)},sd=function(t,n,e,i){var a=i===ks.HOVER_EVENT.MOUSE_ENTER&&t.indexOf(e)>-1;n.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(e,'"]')).classed(Zs.regionHighlight,a)},cd=function(t,n){var e=n.posX,i=n.posY,a=n.scale,r=Fs.deepClone(t);return r.options.x=t.options.x*e,r.options.y=t.options.y*i,r.options.scale*=a,r},ld=function(t){return t.high?t.high:t.low?t.low:t.mid},ud=function(t,n,e){var i=mo(e);i.select("path").classed(Zs.dataPointDisplayEnable,(function(){return!mo(this).classed(Zs.dataPointDisplayEnable)})),i.selectAll("svg").classed(Zs.dataPointDisplayEnable,(function(){return!mo(this).classed(Zs.dataPointDisplayEnable)}));var a=i.select("rect");a.classed(Zs.dataPointDisplayEnable,!a.classed(Zs.dataPointDisplayEnable))},dd=function(t,n){return!(!n.high||!n.low)&&function(t,n){return t.shownTargets.indexOf(n.high.key)<0||t.shownTargets.indexOf(n.low.key)<0}(t,n)||function(t,n){return t.shownTargets.indexOf(ld(n).key)<0}(t,n)},fd=function(t,n,e,i){Fs.isEmpty(n.onClick)||function(t,n,e){var i=mo(e),a=i.select(".".concat(Zs.dataPointSelection));return i.attr("aria-selected",!("true"===i.attr("aria-selected"))),a.attr("aria-hidden",!("true"===a.attr("aria-hidden"))),dd(t,n)&&ud(0,0,e),a}(t,n,i).call((function(i){return n.onClick((function(){var e=i.node().parentNode;mo(e).attr("aria-selected",!1),i.attr("aria-hidden",!0),dd(t,n)&&ud(0,0,e)}),n.key,e,n,i)}))},hd=function(t,n,e){return t.attr("x",(function(t){return n.x(t.high.x)-ks.SELECTION_INDICATOR_X_POSITION})).attr("y",(function(t){return n[e.yAxis](t.high.y)-ks.SELECTION_INDICATOR_Y_POSITION})).attr("width",(function(t){return n.x(t.low.x)-n.x(t.high.x)+2*ks.SELECTION_INDICATOR_X_POSITION||2*ks.SELECTION_INDICATOR_X_POSITION})).attr("height",(function(t){return n[e.yAxis](t.low.y)-n[e.yAxis](t.high.y)+2*ks.SELECTION_INDICATOR_Y_POSITION}))},gd=function(t){return function(n){return function(e){var i;return"translate(".concat((i=n,t.x(ld(i).x)),",").concat(function(e){return t[n.yAxis](ld(e).y)}(n),") scale(").concat(e,")")}}},pd=function(t,n,e){return e.each((function(n){return n.high&&n.low?function(t,n,e,i){return hd(t.append("rect").classed(Zs.dataPointSelection,!0).attr("rx",3).attr("ry",3).attr("aria-hidden",!0).attr("aria-describedby",i.key),n,i)}(mo(this),t,0,n):function(t,n,e,i){return t.append((function(){return new sc(cd(Es.CIRCLE,ks.DEFAULT_PLOT_SELECTION_SCALE)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,transformFn:gd(n)(i),a11yAttributes:{"aria-hidden":!0,"aria-describedby":i.key}}))}))}(mo(this),t,0,n)}))},yd=function(t,n){return t?t[n]:""},md=function(t){return ks.PAIR_ITEM_TYPES.forEach(t)},vd=function(t,n){return qo().x((function(n){return t.x(n.x)})).y((function(e){return t[n.yAxis](e.y)})).curve(ks.DEFAULT_INTERPOLATION)([{x:n.high.x,y:n.high.y},{x:n.low.x,y:n.low.y}])},xd=function(t,n){return function(e){return function(i){var a;return"translate(".concat((a=e,t.x(yd(a,n).x)),",").concat(function(e){return t[e.yAxis](yd(e,n).y)}(e),") scale(").concat(i,")")}}},bd=function(t,n,e){return e.each((function(e,i){return mo(this).append("path").classed(Zs.pairedLine,!0).attr("aria-describedby",e.key).attr("aria-hidden",(function(t){return!function(t){var e,i;return t.high&&t.low&&Fs.hasValue(n.shownTargets,t.high.key)&&Fs.hasValue(n.shownTargets,t.low.key)&&!1!==(null===(e=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(t.high.key,'"]')))||void 0===e?void 0:e.getAttribute("aria-current"))&&!1!==(null===(i=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(t.low.key,'"]')))||void 0===i?void 0:i.getAttribute("aria-current"))}(t)})).attr("aria-disabled",!Fs.isFunction(e.onClick)).attr("d",e.high&&e.low?vd(t,e):"").on("click",(function(){fd(n,e,i,this.parentNode)}))}))},Ed=function(t,n,e,i){e.each((function(e,a){var r=mo(this);md((function(o){if(Fs.isDefined(yd(e,o))){var s=yd(e,o),c=r.append("g").classed(Zs.pointGroup,!0);s.isCritical&&(n.hasCriticality=!0,function(t,n,e,i,a,r){var o=function(e,i,a,r,o){return e.append((function(){var e;return new sc(lu(yd(a,i))).getShapeElement(rc({svgClassNames:"".concat(o),transformFn:xd(t,i)(a),onClickFn:function(){fd(n,a,r,this.parentNode.parentNode)},a11yAttributes:{"aria-hidden":"false"===(null===(e=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(yd(a,i).key,'"]')))||void 0===e?void 0:e.getAttribute("aria-current")),"aria-describedby":yd(a,i).key,"aria-disabled":!Fs.isFunction(a.onClick)}}))}))};o(e,i,a,r,"".concat(Zs.pairedPoint," ").concat(yd(Zs,i)," ").concat(Zs.criticalityOuterPoint)),o(e,i,a,r,"".concat(Zs.pairedPoint," ").concat(yd(Zs,i)," ").concat(Zs.criticalityInnerPoint))}(t,n,c,o,e,a)),function(e,a,r,o){e.append((function(){var e;return new sc(lu(yd(r,a))).getShapeElement(rc({svgClassNames:"".concat(Zs.pairedPoint," ").concat(yd(Zs,a)),svgStyles:"fill: ".concat(uu(yd(r,a)),";"),transformFn:xd(t,a)(r),onClickFn:function(){fd(n,r,o,this.parentNode.parentNode)},a11yAttributes:{"aria-hidden":i?"false"===(null===(e=i.select(".".concat(Zs.legendItem,"[aria-describedby='").concat(yd(r,a).key,"']")))||void 0===e?void 0:e.attr("aria-current")):"false","aria-describedby":yd(r,a).key,"aria-disabled":!Fs.isFunction(r.onClick)}}))}))}(c,o,e,a)}}))}))},Td=function(t){return t.internalValuesSubset},_d=function(t,n,e,i,a){var r=e.append("g").classed(Zs.pairedBoxGroup,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-describedby",i.key).selectAll(".".concat(Zs.pairedBox)).data(Td(i));r.enter().append("g").classed(Zs.pairedBox,!0).attr("aria-selected",!1).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")).call((function(e){pd(t,0,e),bd(t,n,e),Ed(t,n,e,a)})),r.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()},Ad=function(t,n){["high","mid","low"].forEach((function(e){var i=yd(n.label,e);i&&i.display&&(Fs.hasValue(t.shownTargets,"".concat(n.key,"_").concat(e))||t.shownTargets.push("".concat(n.key,"_").concat(e)))}))},wd=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.axis.x.type,a=function(t){if(!Nl(t,i))throw new Error(O);return Ks(t,i)},r={high:[],low:[],mid:[]},o={high:{color:void 0,values:[]},low:{color:void 0,values:[]},mid:{color:void 0,values:[]}};!e&&n.values.length<1&&Ad(t,n),n.internalValuesSubset=n.values.map((function(i){var s={};return md((function(c){if(Fs.isDefined(yd(i,c))){var l=yd(i,c);s[c]={x:a(l.x),y:Fs.getNumber(l.y),isCritical:l.isCritical||!1,color:yd(n.color,c)||ks.DEFAULT_COLOR,label:yd(n.label,c)||{},shape:yd(n.shape,c)||Es.CIRCLE,key:"".concat(n.key,"_").concat(c)},Fs.hasValue(t.shownTargets,s[c].key)||e||t.shownTargets.push(s[c].key),Fs.isEmpty(l.region)||Fs.isEmpty(l.region.start)||Fs.isEmpty(l.region.end)?o[c].values.length>0&&(r[c].push(o[c]),o[c]={color:void 0,values:[]}):(o[c].color!==l.region.color&&(o[c].values.length>0&&r[c].push(o[c]),o[c]={color:l.region.color,values:[]}),o[c].color=l.region.color,o[c].values.push({x:a(l.x),start:l.region.start,end:l.region.end}))}})),s.yAxis=n.yAxis||ks.Y_AXIS,s.onClick=n.onClick,s.key=n.key,s}));var s={high:[],low:[],mid:[]},c=!1;return md((function(t){o[t].values.length>0&&r[t].push(o[t]),r[t].forEach((function(n){c=!0,s[t].push(n),n.values.length>1&&(s[t].push({color:n.color,values:n.values.slice(0,1)}),s[t].push({color:n.color,values:n.values.slice(n.values.length-1)}))}))})),n.valueRegionSubset=c?s:void 0,n.legendOptions=zu(0,n),n},kd=function(t,n){return n.each((function(){return mo(this).select(".".concat(Zs.pairedLine)).attr("aria-hidden",(function(n){return!function(n){var e,i;return n.high&&n.low&&Fs.hasValue(t.shownTargets,n.high.key)&&Fs.hasValue(t.shownTargets,n.low.key)&&"true"===(null===(e=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(n.high.key,'"]')))||void 0===e?void 0:e.getAttribute("aria-current"))&&"true"===(null===(i=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(n.low.key,'"]')))||void 0===i?void 0:i.getAttribute("aria-current"))}(n)}))}))},Id=function(t,n,e){!function(t,n,e){n.selectAll(".".concat(Zs.pairedBoxGroup," rect.").concat(Zs.dataPointSelection)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).each((function(n){return hd(mo(this).transition().call(ks.d3Transition(e.settingsDictionary.transition)),t,n)}))}(t,n,e),function(t,n,e){n.selectAll(".".concat(Zs.pairedBoxGroup," .").concat(Zs.dataPointSelection)).each((function(n){return mo(this).select("g").transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform",(function(){return gd(t)(n)(Pl(this))}))}))}(t,n,e),function(t,n,e){n.selectAll(".".concat(Zs.pairedBoxGroup," .").concat(Zs.pairedLine)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("d",(function(n){return n.high&&n.low?vd(t,n):""}))}(t,n,e),function(t,n,e){md((function(i){n.selectAll(".".concat(Zs.pairedBoxGroup," .").concat(Zs.pairedPoint,".").concat(yd(Zs,i))).each((function(n){mo(this).select("g").transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform",(function(){return xd(t,i)(n)(Pl(this))}))}))}))}(t,n,e)},Sd=function(t,n){var e=[];return t.shownTargets.forEach((function(t){n.contentKeys.forEach((function(n){t.includes(n)&&!e.includes(n)&&e.push(n)}))})),rd(e,n.content)},Dd=function(t,n,e,i){var a=i.key;Sd(n,t)?n.shownTargets.concat([a]).forEach((function(t){!function(t,n,e){t.selectAll(".".concat(Zs.region,'[aria-describedby="').concat(n,'"]')).attr("aria-hidden",!e)}(e,"region_".concat(t),n.shownTargets.indexOf(t)>-1)})):!n.shouldHideAllRegion&&n.shownTargets.length>0&&id(e)?e.selectAll(".".concat(Zs.region)).attr("aria-hidden",!1):ad(e)},Ld=function(t,n,e,i){return function(n,a){Vu(n);var r,o,s,c=Bu(mo(n));o=a,(s=(r=e.shownTargets).indexOf(o.key))>-1?r.splice(s,1):r.push(o.key),i.selectAll('path[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",c),i.selectAll(".".concat(Zs.pairedPoint,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",c);var l="url(#".concat(e.clipPathId,")");vo(".".concat(Zs.pairedBoxGroup)).each((function(){if(mo(this).attr("clip-path").replace(/['"]+/g,"")===l){var t=mo(this).selectAll(".".concat(Zs.pairedBox));kd(e,t)}})),window.requestAnimationFrame(function(t,n,e,i){return function(){Dd(t,n,e,i)}}(t,e,i,a))}},Cd=function(t,n){return function(e,i){Yu(t.shownTargets,n,e.key,i,[function(t,n,e,i,a){n.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(a,'"]')).classed(Zs.regionBlur,i===ks.HOVER_EVENT.MOUSE_ENTER)}]),n.selectAll('path[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll(".".concat(Zs.pairedPoint,'[aria-describedby="').concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),sd(t.shownTargets,n,e.key,i)}},Nd=function(t,n,e,i){e.label&&i&&md((function(a){var r=yd(e.label,a);r&&r.display&&Fu(i,function(t,n){return{shape:yd(t.shape,n),color:yd(t.color,n),label:yd(t.label,n),key:"".concat(t.key,"_").concat(n),values:e.values,legendOptions:e.legendOptions}}(e,a),t,n)}))},Md=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},Rd=function(t,n){Fs.isArray(t)?t.forEach((function(t){return n(t)})):n(t)},Od=function(t){t.map((function(t){if(Fs.isEmpty(t.y))throw new Error(j)}))},Pd=function(t){t.map((function(t){md((function(n){if(Fs.isDefined(yd(t,n))&&Fs.isEmpty(t[n].y))throw new Error(j)}))}))},Gd=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){return Us(this.input),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Fd=Gd,Ud=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(arguments.length>1?arguments[1]:void 0).color||ks.DEFAULT_BAR_COLOR,e="fill: ".concat(n,"; stroke: ").concat(n,";");return Fs.isEmpty(t)||(!0===t.isDotted&&(e="".concat(e,"; stroke-width: 1; stroke-dasharray: 2, 2;")),!0===t.isHollow&&(e="".concat(e," fill: ").concat(xs.WHITE,"; stroke-width: 1;")),!0===t.isHashed&&(e="".concat(e," stroke-width: 1;"))),e},Hd=function(t,n,e,i,a){return t.append("rect").attr("x",n).attr("y",e).attr("width",i).attr("height",a)},Bd=function(t,n,e,i,a,r){return Hd(t,n,e,i,a).classed(Zs.taskBar,!0).attr("style",r),t},Vd=function(t,n,e,i,a,r){return Bd(t,n,e,ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH,a,r),t},Yd=function(t,n,e,i,a,r,o,s){return(Fs.isEmpty(n)||n.empty())&&t.append("defs"),t.select("#".concat("pattern-stripe")).empty()&&n.append("pattern").attr("id","pattern-stripe").attr("patternUnits","userSpaceOnUse").attr("patternTransform","rotate(45)").attr("width",ks.DEFAULT_GANTT_TASK_STRIPE_WIDTH).attr("height",o).attr("style","fill: ".concat(ks.DEFAULT_BAR_STRIPE_COLOR,";")).append("rect").attr("width",ks.DEFAULT_GANTT_TASK_STRIPE_DISTANCE).attr("height",o),Hd(e,i,a,r,o).classed(Zs.taskBar,!0).attr("style",s||"fill: ".concat(ks.DEFAULT_TASK_BAR_HASH_COLOR,";")),Hd(e,i,a,r,o).classed(Zs.taskBar,!0).attr("style","fill: url(#".concat("pattern-stripe",");")),e},Xd=function(t,n,e){var i=n.x0.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.LEFT_SHIFT_OFFSET_RATIO,a=n.x1(e.group),r=n.x1.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.REGION_LEFT_SHIFT_OFFSET_PADDING_RATIO;return t.x(e.x)+a-i+r},zd=function(t,n,e,i){if(Wu(t,n),Fs.isEmpty(t.x)&&!Fs.isDateInstance(t.x))throw new Error(At);if(!Nl(t.x,i))throw new Error(kt);if(!e.filter((function(n){return Fs.isEqual(n,t.x)})).length)throw new Error(wt)},jd=function(t){return t.axis||ks.Y_AXIS},Kd=function(t){return function(n){return n.end?Ml(t[jd(n)](n.end)):0}},Wd=function(t,n,e,i){var a=n.end?Ml(e[jd(n)](n.end)):0;return(n.start?Ml(e[jd(n)](n.start))+ks.DEFAULT_GOAL_LINE_STROKE_WIDTH:i.height+ks.DEFAULT_GOAL_LINE_STROKE_WIDTH)-a||ks.DEFAULT_GOAL_LINE_STROKE_WIDTH},qd=ks.DEFAULT_BAR_SELECTION_PADDING,Jd=function(t,n,e){n.selectAll(".".concat(Zs.taskBarSelection)).each((function(n){var i=t.filter((function(t){return e.axis.x.type===_s.TIME_SERIES?t.x.toISOString()===n.x:t.x===n.x}));Fs.notEmpty(i)&&n.valueSubsetArray.push(i[0])}))},Zd=function(t,n,e,i){return e.selectAll(".".concat(Zs.taskBarSelection)).each((function(a,r){var o=function(t,n,e,i){var a=af(t,n),r=i.filter((function(t){return e.indexOf(t.key)>-1})),o=function(t){var n=0;if(Fs.notEmpty(t)){var e=Math.max(0,t[0].y+t[0].y0);t.forEach((function(t,i){var a=Math.max(0,t.y+t.y0);e<=a&&(n=i,e=a)}))}return n}(r),s=function(t){var n=0;if(Fs.notEmpty(t)){var e=Math.min(0,t[0].y+t[0].y0);t.forEach((function(t,i){var a=Math.min(0,t.y+t.y0);e>=a&&(n=i,e=a)}))}return n}(r),c=function(t){var n=0;if(Fs.notEmpty(t)){var e=0;t.forEach((function(t,i){var r=Math.max(e,a.x(t));r>e&&(n=i,e=r)}))}return n}(r),l=Fs.notEmpty(r)?a.x(r[0]):0,u=Fs.notEmpty(r)?a.y(r[o]):0,d=Fs.notEmpty(r)?a.x(r[c])+a.width():0,f=Fs.notEmpty(r)?a.y(r[s])+a.height(r[s]):0;return{x:function(){return Fs.notEmpty(r)?l-qd:0},y:function(){return Fs.notEmpty(r)?u-qd:0},height:function(){return Fs.notEmpty(r)?f-u+2*qd:0},width:function(){return Fs.notEmpty(r)?d-l+2*qd:0}}}(t,n,i.shownTargets,a.valueSubsetArray);e.select("rect[aria-describedby=bar-selector-".concat(r,"]")).transition().call(ks.d3Transition(i.settingsDictionary.transition)).attr("x",o.x()).attr("y",o.y()).attr("height",o.height()).attr("width",o.width())}))},$d=function(t,n){return n.some((function(n){return t.indexOf(n.x)<0}))},Qd=function(t,n){if(Fs.isEmpty(t.axis.x.ticks)||Fs.isEmpty(t.axis.x.ticks.values))throw new Error(_t);if(e=t.axis.x.type,n.values.some((function(t){return!Nl(t.x,e)})))throw new Error(O);var e;if($d(t.axis.x.ticks.values,n.values))throw new Error(Tt);if(Fs.isDefined(n.axisInfoRow)){if(Fs.isEmpty(n.axisInfoRow))throw new Error(It);if($d(t.axis.x.ticks.values,n.axisInfoRow))throw new Error(St);if(n.axisInfoRow.some((function(t){return Fs.isUndefined(t.value)})))throw new Error(Dt);if(function(t){return t.some((function(t){return Fs.isUndefined(t.value.label)||Fs.isUndefined(t.value.label.display)}))}(n.axisInfoRow))throw new Error(Lt)}return t.shownTargets.push(n.key),function(t,n){var e=t.axis.x.type;return Fs.notEmpty(n.axisInfoRow)&&(n.axisInfoRow.forEach((function(t){t.group=n.group})),t.axisInfoRowLabelHeight||(t.axisInfoRowLabelHeight=function(t){return t.axisInfoRow.some((function(t){return t.value.label.secondaryDisplay}))}(n)?2*xl("dummyString"):xl("dummyString"),t.padding.bottom+=t.axisInfoRowLabelHeight)),n.internalValuesSubset=n.values.map((function(t){var i,a=!!n.style&&n.style.isHashed;return{onClick:n.onClick,x:(i=t.x,Bs(e)===_s.TIME_SERIES?Fs.parseDateTime(i):Fs.getNumber(i)),y:t.y,y0:0,color:n.color||xs.BLUE,label:n.label,yAxis:n.yAxis||ks.Y_AXIS,key:n.key,isHashed:t.style?t.style.isHashed:a,style:Ud(t.style?t.style:n.style,n),group:n.group}})),n.shape=Es.SQUARE,n.color=n.color||xs.BLUE,n}(t,n)},tf=function(t){return t.axisSizes.y+t.axisLabelWidths.y},nf=function(t,n){t.attr("aria-hidden",!n),t.attr("aria-selected",n)},ef=function(t,n,e,i,a,r){Fs.isEmpty(t.onClick)||function(t,n,e,i){var a=n.select("rect[aria-describedby=bar-selector-".concat(e===_s.TIME_SERIES?i.indexOf(new Date(t.x).toISOString()):i.indexOf(t.x),"]")),r="true"===a.attr("aria-hidden");return nf(a,r),a}(t,e,i,a).call((function(e){return t.onClick((function(){nf(e,!1)}),t.key,n,r,e)}))},af=function(t,n){var e=n.x0.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.LEFT_SHIFT_OFFSET_RATIO,i=n.x1.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.LEFT_SHIFT_OFFSET_PADDING_RATIO;return{x:function(a){var r=n.x1(a.group);return function(n,a){return t.x(n)+i+a-e}(a.x,r||0)||0},y:function(n){return n.y<0?t[n.yAxis](n.y0):t[n.yAxis](n.y+n.y0)},height:function(n){return Math.abs(t[n.yAxis](0)-t[n.yAxis](+n.y))},width:function(){return n.x1.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.WIDTH_RATIO}}},rf=function(t,n,e,i,a,r,o){var s=af(t,n);return a.append("g").classed(Zs.bar,!0).each((function(a,c){var l=mo(this);if((a.isHashed?Yd(i,i.append("defs"),l,s.x(a),s.y(a),s.width(),s.height(a),a.style).selectAll("rect"):Hd(l,s.x(a),s.y(a),s.width(),s.height(a)).attr("style","".concat(a.style))).attr("aria-describedby",a.key).classed(Zs.taskBar,!0).attr("aria-hidden",e.shownTargets.indexOf(a.key)<0).attr("aria-disabled",!Fs.isFunction(a.onClick)).on("click",(function(t){ef(t,c,i,e.axis.x.type,e.axis.x.ticks.values,function(t,n,e){return t.select("rect[aria-describedby=bar-selector-".concat(e.axis.x.type===_s.TIME_SERIES?e.axis.x.ticks.values.indexOf(new Date(n.x).toISOString()):e.axis.x.ticks.values.indexOf(n.x),"]")).datum().valueSubsetArray.filter((function(t){return e.shownTargets.indexOf(t.key)>-1}))}(i,t,e))})),Fs.notEmpty(r)){var u=r.filter((function(t){return Fs.isEqual(t.x,a.x)}));Fs.notEmpty(u)&&function(t,n,e,i,a){var r=e.selectAll("g").data(i);r.enter().append("rect").classed(Zs.region,!0).classed(Zs.barGoalLine,!0).attr("aria-hidden",n.shownTargets.indexOf(a)<0).attr("aria-describedby","region_".concat(a)).attr("style",(function(t){return"fill: ".concat(t.color||ks.DEFAULT_BAR_REGION_COLOR,"; pointer-events: none")})).attr(ks.X_AXIS,(function(t){return t.xRange||0})).attr(ks.Y_AXIS,Kd(t)).attr("width",(function(t){return t.width||0})).attr("height",(function(e){return Wd(mo(this),e,t,n)})),r.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()}(t,e,l,u,a.key)}if(Fs.notEmpty(o)){var d=o.filter((function(t){return Fs.isEqual(t.x,a.x)}));Fs.notEmpty(d)&&hf(n,t,e,i,d[0],a.key,o.indexOf(d[0]))}}))},of=function(t,n,e,i,a){i.select(".".concat(Zs.barSelectionGroup)).empty()&&function(t,n,e,i){var a=e.axis.x.ticks.values.map((function(t){return{x:t,valueSubsetArray:[]}})),r=i.append("g").classed(Zs.barSelectionGroup,!0).attr("transform","translate(".concat(tf(e),",").concat(Wc(e),")")).selectAll("".concat(Zs.taskBarSelection)).data(a);r.enter().append("rect").attr("aria-hidden",!0).classed(Zs.taskBarSelection,!0).attr("aria-describedby",(function(t){return"bar-selector-".concat(a.indexOf(t))})).attr("rx",3).attr("ry",3),r.exit().transition().call(ks.d3Transition(e.settingsDictionary.transition)).remove()}(0,0,e,i);var r=i.append("g").classed(Zs.barGraphContent,!0).attr("clip-path","url(#".concat(e.clipPathId,")")).attr("aria-hidden",e.shownTargets.indexOf(a.key)<0).attr("aria-describedby",a.key).append("g").classed(Zs.currentBarsGroup,!0).attr("transform","translate(".concat(tf(e),",").concat(Wc(e),")")).data([a]).selectAll(".".concat(Zs.bar)).data(a.internalValuesSubset);rf(t,n,e,i,r.enter(),a.regions,a.axisInfoRow)},sf=function(t,n){return hu(t,'g[aria-describedby="'.concat(n,'"]'))},cf=function(t,n,e){return Fs.isDefined(e)&&e-1?r.splice(s,1):r.push(o.key),e.shownTargets.length>=1?(i.selectAll('g[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",Bu(mo(n))),i.selectAll(".".concat(Zs.taskBar,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",Bu(mo(n))),i.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(a.key,'"]')).attr("aria-hidden",(function(){return!("true"===mo(this).attr("aria-hidden"))})),nf(i.selectAll(".".concat(Zs.taskBarSelection)),!1),window.requestAnimationFrame(pf(t))):(i.selectAll(".".concat(Zs.region,'[aria-describedby="region_').concat(a.key,'"]')).attr("aria-hidden",(function(){return!("true"===mo(this).attr("aria-hidden"))})),i.selectAll('g[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",Bu(mo(n))),nf(i.selectAll(".".concat(Zs.taskBarSelection)),!1),window.requestAnimationFrame(pf(t)))}},mf=function(t,n){return function(e,i){Yu(t,n,e.key,i,[])}},vf=function(t,n){var e=[];return Fs.notEmpty(t)&&t.forEach((function(t){var i;t instanceof Af&&n.indexOf(t.config.key)>-1&&(i=t.config.group,e.indexOf(i)<0&&e.push(i))})),e},xf=function(t,n,e){Fs.notEmpty(n.axis.x.ticks)&&Fs.notEmpty(n.axis.x.ticks.values)&&(t.x0=Re().domain(n.axis.x.ticks.values).range(gl(n)).paddingInner(function(t,n){return ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.OUTER_PADDING_RATIO/(3*vf(t,n).length+ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.OUTER_PADDING_RATIO)}(e,n.shownTargets)),t.x1=Re())},bf=function(t,n,e,i,a){var r=a.shownTargets,o=n.filter((function(t){return t.key===e.config.key||t.group===e.config.group&&-1!==r.indexOf(t.key)}));!function(t,n){t.forEach((function(t){var e=0,i=0;n.forEach((function(n){var a=n.values.filter((function(n){return Fs.isEqual(n.x,t.x)}));a.length>0&&(a[0].y>0?e+=a[0].y:i+=a[0].y)})),t.y0=t.y<0?i:e}))}(e.dataTarget.internalValuesSubset,o.splice(o.indexOf(e.config)+1)),function(t,n,e,i){Fs.isEmpty(n)||Fs.isEmpty(t)||Fs.isEmpty(i.axis.x.ticks)||Fs.isEmpty(i.axis.x.ticks.values)||e.x1.domain(t).range([0,e.x0.bandwidth()])}(vf(t,a.shownTargets),t,i,a)},Ef=function(t){var n=Math.min.apply(Math,f()(t.map((function(t){return t.y})))),e=Math.max.apply(Math,f()(t.map((function(t){return t.y}))));return{min:n<0?n:0,max:e>0?e:0}},Tf=function(t){return t.config={},t.bandScale={x0:{},x1:{}},t.dataTarget={},t.valuesRange={},t},_f=function(t){function n(n){var e,i,a;return e=t.call(this)||this,Tf(c()(e)),e.config=(i=n,(new Fd).setInput(i).validateInput().clone().getConfig()),e.type="Bar",e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.config.axisPadding=!1,e.valuesRange={},e.valuesRange.x=(a=e.config.values.filter((function(t){return null!==t.x&&void 0!==t.x})).map((function(t){return"string"==typeof t.x||t.x instanceof Date?Fs.getEpocFromDateString(t.x):t.x})),{min:Math.min.apply(Math,f()(a)),max:Math.max.apply(Math,f()(a))}),e.valuesRange[e.config.yAxis]=Ef(e.config.values),e}u()(n,t);var e=n.prototype;return e.load=function(t){var n,e;return Od(this.config.values),n=this.config,e=t.content,Fs.isEmpty(n.group)?n.group=n.key:e.filter((function(t){return t.config.key===n.group})).length||(n.group=n.key),xf(this.bandScale,t.config,t.content),this.dataTarget=Qd(t.config,this.config),of(t.scale,this.bandScale,t.config,t.svg,this.dataTarget),Jd(this.dataTarget.internalValuesSubset,t.svg,t.config),function(t,n,e,i){e.label&&e.label.display&&i&&Fu(i,e,t,n)}(t.config,{clickHandler:yf(t,0,t.config,t.svg),hoverHandler:mf(t.config.shownTargets,t.svg)},this.dataTarget,t.legendSVG),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this},e.unload=function(t){var n,e;return sf(t.svg,this.dataTarget.key),Uu(t.legendSVG,this.dataTarget),Su(t.axesLabelShapeGroup[this.config.yAxis],this.dataTarget,t.config),gf(t.svg.select(".".concat(Zs.axisInfoRow)),this.dataTarget.key),n=t.svg,e=this.dataTarget.key,n.selectAll(".".concat(Zs.taskBarSelection)).each((function(t){var n=t.valueSubsetArray.findIndex((function(t){return t.key===e}));n>-1&&t.valueSubsetArray.splice(n,1)})),Tf(this),this},e.resize=function(t){var n,e,i,a,r,o;return xf(this.bandScale,t.config,t.content),bf(t.content,t.contentConfig,this,this.bandScale,t.config),n=t.scale,e=this.bandScale,i=t.svg,a=this.dataTarget,r=t.config,o=af(n,e),Zd(n,e,i,r),i.selectAll("rect[aria-describedby=".concat(a.key,"]")).transition().call(ks.d3Transition(r.settingsDictionary.transition)).attr("x",(function(t){return o.x(t)})).attr("y",(function(t){return o.y(t)})).attr("width",o.width()).attr("height",(function(t){return o.height(t)})),Fs.notEmpty(this.dataTarget.axisInfoRow)&&function(t,n,e,i,a,r){var o=af(n,t);i.select(".".concat(Zs.axisInfoRow)).selectAll('g[aria-describedby="text_label_'.concat(r.key,'"]')).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform",(function(t,n){return"translate(".concat(cf(o,a,n),", ").concat(lf(e),")")}))}(this.bandScale,t.scale,t.config,t.svg,this.dataTarget.axisInfoRow,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&(function(t,n,e,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ks.Y_AXIS,r=n.x1.bandwidth()*ks.DEFAULT_BAR_GRAPH_PADDING_ATTRIBUTES.REGION_WIDTH_RATIO;i.regions.forEach((function(o){zd(o,a,e.axis.x.ticks.values,e.axis.x.type),o.x=Ks(o.x,e.axis.x.type),o.group=i.group,o.xRange=Xd(t,n,o),o.width=r}))}(t.scale,this.bandScale,t.config,this.dataTarget,this.config.yAxis),function(t,n,e){e.transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr(ks.X_AXIS,(function(t){return t.xRange||0})).attr(ks.Y_AXIS,Kd(t)).attr("width",(function(t){return t.width||0})).attr("height",(function(e){return Wd(mo(this),e,t,n)}))}(t.scale,t.config,t.svg.selectAll("rect[aria-describedby=region_".concat(this.dataTarget.key,"]")))),this},e.reflow=function(t,n){var e={clickHandler:yf(t,0,t.config,t.svg),hoverHandler:mf(t.config.shownTargets,t.svg)};this.config.values=n.values,Od(this.config.values),this.dataTarget=Qd(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.config.axis.x.ticks.values.map((function(t){return{x:t,valueSubsetArray:[]}}));Nu(t,n,this),xf(this.bandScale,t.config,t.content);var o=t.svg.select(".".concat(Zs.barSelectionGroup)).selectAll(".".concat(Zs.taskBarSelection)).data(r);o.enter().append("rect").attr("aria-hidden",!0).classed(Zs.taskBarSelection,!0).attr("aria-describedby",(function(t){return"bar-selector-".concat(r.indexOf(t))})).attr("rx",3).attr("ry",3),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),Jd(this.dataTarget.internalValuesSubset,t.svg,t.config);var s=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select('[class="'.concat(Zs.currentBarsGroup,'"]')).data([this.dataTarget]);s.selectAll(".".concat(Zs.bar)).data(this.dataTarget.internalValuesSubset).exit().remove();var c=s.selectAll(".".concat(Zs.bar," > rect")).data(this.dataTarget.internalValuesSubset);rf(t.scale,this.bandScale,t.config,t.svg,c.enter(),this.dataTarget.regions,this.dataTarget.axisInfoRow),this.resize(t),this.valuesRange[this.config.yAxis]=Ef(this.config.values),this.resize(t)},e.redraw=function(t){return sf(t.svg,this.dataTarget.key),gf(t.svg.select(".".concat(Zs.axisInfoRow)),this.dataTarget.key),of(t.scale,this.bandScale,t.config,t.svg,this.dataTarget),this},n}(Js),Af=_f,wf=function(){function t(){}var n=t.prototype;return n.generate=function(t){throw new Error(h)},n.loadContent=function(t){throw new Error(g)},n.unloadContent=function(t){throw new Error(p)},n.resize=function(){throw new Error(y)},n.destroy=function(){throw new Error(m)},t}(),kf=function(t){var n=t.node(),e=window.getComputedStyle(n),i=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight);return parseFloat(e.marginLeft)+parseFloat(e.marginRight)+i},If=e(15),Sf=e.n(If),Df=function(t,n){var e=Fs.deepClone(t.axis);return n.clipPathId=Vs(),n.datelineClipPathId=Ys(),n.bindTo=t.bindTo,n.bindLegendTo=t.bindLegendTo,n.padding=function(t,n){return Fs.isDefined(t.padding)?{top:Hs(n.top,ks.PADDING.top),bottom:Hs(n.bottom,ks.PADDING.bottom),right:Hs(n.right,ks.PADDING.right),left:Hs(n.left,ks.PADDING.trackLabel),hasCustomPadding:!0}:{top:ks.PADDING.top,bottom:ks.PADDING.bottom,right:ks.PADDING.right,left:ks.PADDING.trackLabel,hasCustomPadding:!1}}(n,t.padding),n.legendPadding=ju(n,t.legendPadding),n.axis={x:{},y:{}},n.d3Locale=Hs(t.locale,dc),n.throttle=Hs(t.throttle,ks.RESIZE_THROTTLE),n.dateline=Hs(Fs.deepClone(t.dateline),[]),n.eventline=Hs(Fs.deepClone(t.eventline),[]),n.actionLegend=Hs(Fs.deepClone(t.actionLegend),[]),n.settingsDictionary=function(t){return Ws(t)?{shouldClamp:!1,transition:ks.D3_TRANSITION_PROPERTIES_DISABLED,shouldCreateDatelineDefs:!0}:{shouldClamp:!0,transition:ks.D3_TRANSITION_PROPERTIES_ENABLED,shouldCreateDatelineDefs:!1}}(t),n.showActionLegend=Hs(t.showActionLegend,!1),n.axis.x=Sf()(e.x,{type:_s.TIME_SERIES,show:Hs(e.x.show,!0),ticks:Hs(e.x.ticks,{}),domain:js(_s.TIME_SERIES,e.x.lowerLimit,e.x.upperLimit),rangeRounding:Hs(e.x.rangeRounding,!0)}),n.axis.y={show:!e.y||Hs(e.y.show,!0),trackCount:0,trackList:{},rangeRounding:!!e.y&&Hs(e.y.rangeRounding,!0)},n.shownTargets=[],n},Lf=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){if(Fs.isEmpty(this.input))throw new Error(_);if(Fs.isEmpty(this.input.bindTo))throw new Error(T);if(Fs.isEmpty(this.input.axis)||Fs.isEmpty(this.input.axis.x))throw new Error(L);if(Fs.isEmpty(this.input.axis.x.lowerLimit)||Fs.isEmpty(this.input.axis.x.upperLimit))throw new Error(C);if(!Fs.isDate(this.input.axis.x.lowerLimit)||!Fs.isDate(this.input.axis.x.upperLimit))throw new Error(R);return Fs.notEmpty(this.input.dateline)&&this.input.dateline.forEach((function(t){Vl(t)})),Fs.notEmpty(this.input.eventline)&&this.input.eventline.forEach((function(t){jl(t)})),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Cf=Lf,Nf=function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error($);if(Fs.isEmpty(t.startDate)&&Fs.isEmpty(t.endDate))throw new Error(Q);if((Fs.isEmpty(t.startDate)||Fs.isEmpty(t.endDate))&&Fs.isEmpty(t.duration))throw new Error(tt);if(t.startDate&&!Fs.isDate(t.startDate)||t.endDate&&!Fs.isDate(t.endDate))throw new Error(nt);if(Fs.getTime(t.startDate)>Fs.getTime(t.endDate))throw new Error(et)},Mf=function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(rt);if(Fs.isEmpty(t.startDate)&&Fs.isEmpty(t.endDate))throw new Error(ot);if((Fs.isEmpty(t.startDate)||Fs.isEmpty(t.endDate))&&Fs.isEmpty(t.duration))throw new Error(st);if(t.startDate&&!Fs.isDate(t.startDate)||t.endDate&&!Fs.isDate(t.endDate))throw new Error(ct);if(Fs.getTime(t.startDate)>Fs.getTime(t.endDate))throw new Error(lt)},Rf=function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(I);if(Fs.isEmpty(t.values))throw new Error(w)},Of=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ud(t.style,{color:t.color})},Pf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.color||xs.BLUE,e="fill: ".concat(n,"; fill-opacity: ").concat(ks.DEFAULT_GANTT_ACTIVITY_OPACITY,"; stroke-width: 1px; stroke: ").concat(n);return Fs.isEmpty(t.style)||!0===t.style.isHashed&&(e="fill: ".concat(t.color||ks.DEFAULT_ACTIVITY_BAR_HASH_COLOR,"; fill-opacity: ").concat(ks.DEFAULT_GANTT_ACTIVITY_OPACITY,";")),e},Gf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0;return Fs.isEmpty(n)?Fs.parseDateTime(Fs.getTime(e)-t):Fs.parseDateTime(n)},Ff=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0;return Fs.isEmpty(e)?Fs.parseDateTime(Fs.getTime(n)+t):Fs.parseDateTime(e)},Uf=function(t,n){return Fs.getTime(n)-Fs.getTime(t)==0},Hf=function(t,n){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:100)*(n-t)/100},Bf=function(t,n,e){var i=e.duration?function(t){if(t&&!Fs.isFunction(t))throw new Error(ut);var n=t();if("number"!=typeof n)throw new Error(dt);return n}(e.duration):0;return{y:n.display,startDate:Gf(i,e.startDate,e.endDate),endDate:Ff(i,e.startDate,e.endDate),dependencies:e.dependencies,color:e.color||xs.BLUE,label:e.label||null,key:e.key,style:Pf(e),isHashed:Fh(e.style),clickPassThrough:!!Fs.isDefined(t.clickPassThrough)&&t.clickPassThrough.activities}},Vf=function(t,n,e){return{path:mo(e),x:t.x(n.startDate),y:t.y(n.y)+ks.DEFAULT_GANTT_ACTIVITY_PADDING.top,width:t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH,height:ks.DEFAULT_GANTT_ACTIVITY_HEIGHT}},Yf=function(t,n,e,i,a,r){return Hd(t,n,e,i,a).classed(Zs.activityBar,!0).attr("style",r),t},Xf=function(t,n,e,i,a,r){return Yf(t,n,e,ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH,a,r),t},zf=function(t,n,e){var i=Vf(t,n,e);(Uf(n.startDate,n.endDate)?Xf:Yf)(i.path,i.x,i.y,i.width,i.height,n.style).attr("pointer-events",(function(){return n.clickPassThrough?"none":"auto"}))},jf=function(t,n,e,i){var a=Vf(n,e,i);(function(t,n,e,i,a,r,o,s){var c="pattern-stripe-gantt-activity";return(Fs.isEmpty(n)||n.empty())&&t.append("defs"),t.select("#".concat(c)).empty()&&n.append("pattern").attr("id",c).attr("patternUnits","userSpaceOnUse").attr("patternTransform","rotate(135)").attr("width",ks.DEFAULT_GANTT_ACTIVITY_STRIPE_WIDTH).attr("height",o).attr("style","fill: ".concat(ks.DEFAULT_BAR_STRIPE_COLOR,";")).append("rect").attr("width",ks.DEFAULT_GANTT_ACTIVITY_STRIPE_DISTANCE).attr("height",o),Hd(e,i,a,r,o).classed(Zs.activityBar,!0).attr("style",s),Hd(e,i,a,r,o).classed(Zs.activityBar,!0).attr("style","fill: url(#".concat(c,"); fill-opacity: 0.7;")),e})(t,t.select("defs"),a.path,a.x,a.y,a.width,a.height,e.style).attr("pointer-events",(function(){return e.clickPassThrough?"none":"auto"}))},Kf=function(t,n,e,i,a,r){var o=a.selectAll("g").data(r.map((function(t){return Bf(e,i,Fs.deepClone(t))})));o.enter().append("g").classed(Zs.activity,!0).attr("aria-selected",!1).attr("aria-describedby",(function(t){return t.key})).each((function(e){e.isHashed?jf(t,n,e,this):zf(n,e,this)})),o.exit().transition().call(ks.d3Transition(e.settingsDictionary.transition)).remove()},Wf=function(t,n,e,i){return{path:e,x:ks.DEFAULT_GANTT_TRACK_SELECTION.x,y:n.y(i.trackLabel.display)+ks.DEFAULT_GANTT_TRACK_SELECTION.y,width:Lh(t)-ks.DEFAULT_GANTT_TRACK_SELECTION.width,height:t.axis.y.trackList[i.key].trackHeight-ks.DEFAULT_GANTT_TRACK_SELECTION.height}},qf=function(t,n){Hd(t.path,t.x,t.y,t.width,t.height).attr("aria-selected",!1).classed(Zs.ganttTrackBarSelection,!0).attr("aria-describedby",n.key).attr("aria-disabled",!Fs.isFunction(n.onClick)).on("click",(function(){return function(t,n){var e,i,a;Fs.isEmpty(n.onClick)||(e=t,i=n.key,a=e.select("[aria-describedby='".concat(i,"']")),a.attr("aria-selected",!("true"===a.attr("aria-selected"))),a).call((function(t){return n.onClick((function(){var n="true"===t.attr("aria-selected");t.attr("aria-selected",!n)}),n.key,n,t)}))}(t.path,n)}))},Jf=".".concat(Zs.axisYTrackLabel," .tick text"),Zf=function(t,n,e){var i,a=function(t,n){return t.y.domain().indexOf(n)}(t,e);return!t||function(t,n,e,i){return i<0||Fs.isEmpty(n.axis.y.trackList)||t.y.domain().length>Object.keys(n.axis.y.trackList).length}(t,n,0,a)?0:(i=n.axis.y.trackList,Object.keys(i).map((function(t){return i[t].trackHeight})))[a]/2},$f=function(t,n){return t?t.x(n):0},Qf=function(t,n,e,i){Nh(t,n,e),Ac(n,t,e,jc,ws.X.TOP),i.select(".".concat(Zs.axisX)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat(Kc(e),",").concat(Dh(e),")")).call(t.x),i.select(".".concat(Zs.axisY)).transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("transform","translate(".concat($c(e),", ").concat(Ch(e),")")).call(t.y)},th=function(t,n){var e;if(Fs.notEmpty(n.axis.x.ticks.values)){var i=n.axis.x.ticks.values;e=t.x.tickValues(Pc(i)).tickSize(-1*qc(n),0,0).tickFormat("")}else e=t.x.tickSize(-1*qc(n),0,0).tickFormat("");return e},nh=function(t,n){return t.y.tickSize(-1*Lh(n),0,0).tickFormat("")},eh=function(t,n,e,i){t.select(".".concat(e)).transition().call(ks.d3Transition(i.settingsDictionary.transition)).call(th(n,i))},ih=function(t,n,e){return e.selectAll(Jf).attr("transform",function(t,n){return function(e){return"translate(".concat($f(),", ").concat(Zf(t,n,e),")")}}(t,n))},ah=function(t,n){return function(e){return function(i){return"translate(".concat($f(t,e.x),",").concat(function(t,n,e){return(t?t.y(e):0)+Zf(t,n,e)}(t,n,e.y),") scale(").concat(i,")")}}},rh=function(t,n,e,i){return e.selectAll(i).each((function(e){mo(this).select("g").transition().call(ks.d3Transition(n.settingsDictionary.transition)).attr("transform",(function(){return ah(t,n)(e)(Pl(this))}))}))},oh=function(t){var n,e,i,a;ql(t.config,t.svg),function(t,n){if(n.select("clipPath#".concat(t.clipPathId)).selectAll("rect").attr("height",qc(t)).attr("width",Lh(t)),t.settingsDictionary.shouldCreateDatelineDefs&&t.dateline.length>0){var e=Math.floor(Ul()/2);n.select("clipPath#".concat(t.datelineClipPathId)).selectAll("rect").attr("height",t.height+e).attr("width",Lh(t)).attr(ks.Y_AXIS,Ch(t)-e)}}(t.config,t.svg),Qf(t.axis,t.scale,t.config,t.svg),n=t.axis,e=t.scale,i=t.config,a=t.svg,Nh(n,e,i),a.select(".".concat(Zs.grid)).attr("transform","translate(".concat(Kc(i),",").concat(Dh(i),")")),a.select(".".concat(Zs.gridH)).transition().call(ks.d3Transition(i.settingsDictionary.transition)).call(nh(n,i)),wc(a,n,i,eh),function(t,n){n.select(".".concat(Zs.contentContainer)).transition().call(ks.d3Transition(t.settingsDictionary.transition)).attr("width",Lh(t)).attr("height",qc(t))}(t.config,t.svg),Gl(t.scale,t.config,t.svg,Ch),Yl(t.scale,t.config,t.svg,Ch)},sh=function(t,n,e){return e.selectAll("g.".concat(Zs.task)).selectAll("rect").each((function(){var e=mo(this);e.classed(Zs.taskBarSelection)?function(t,n,e){var i=Math.floor(ks.DEFAULT_GANTT_TASK_SELECTION_PADDING/2),a=Math.floor(ks.DEFAULT_GANTT_TASK_SELECTION_PADDING/4);n.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("x",(function(n){return t.x(n.startDate)-a})).attr("y",(function(n){return t.y(n.y)+ks.DEFAULT_GANTT_TASK_PADDING.top-a})).attr("width",(function(n){return(t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH)+i})).attr("height",ks.DEFAULT_GANTT_TASK_HEIGHT+i)}(t,e,n):function(t,n,e){n.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("x",(function(n){return t.x(n.startDate)})).attr("y",(function(n){return t.y(n.y)+ks.DEFAULT_GANTT_TASK_PADDING.top})).attr("width",(function(n){return n.percentage?mo(this).classed(Zs.taskBarCompletion)?Hf(t.x(n.startDate),t.x(n.endDate),n.percentage):t.x(n.endDate)-t.x(n.startDate):t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH}))}(t,e,n)}))},ch=function(t,n,e){return e.selectAll("g.".concat(Zs.activity)).selectAll("rect.".concat(Zs.activityBar)).each((function(){!function(t,n,e){n.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("x",(function(n){return t.x(n.startDate)})).attr("y",(function(n){return t.y(n.y)+ks.DEFAULT_GANTT_ACTIVITY_PADDING.top})).attr("width",(function(n){return t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_ACTIVITY_CHUNK_WIDTH}))}(t,mo(this),n)}))},lh=function(t,n,e){e.append("g").classed(Zs.pointGroup,!0).each((function(e,i){var a=mo(this);Fs.isFunction(e.onClick)&&Vh(t,n,a,e,i),function(t,n,e,i,a){e.append((function(){return new sc(lu(i)).getShapeElement(rc({svgClassNames:Zs.point,svgStyles:"fill: ".concat(uu(i),";"),transformFn:ah(t,n)(i),onClickFn:function(){Bh(i,a,this)},a11yAttributes:{"aria-hidden":!1,"aria-describedby":i.key,"aria-disabled":!Fs.isFunction(i.onClick)},additionalAttributes:{"pointer-events":i.clickPassThrough&&!Fs.isFunction(i.onClick)}}))}))}(t,n,a,e,i)}))},uh=function(t,n,e){var i=function(t){if(!Fs.isDate(t))throw new Error(O);return Fs.parseDateTime(t)};return e.values.map((function(a){return{key:e.key,onClick:e.onClick,x:i(a),y:n.display,label:e.label,color:e.color||"",shape:e.shape||Es.CIRCLE,clickPassThrough:!!Fs.isDefined(t.clickPassThrough)&&t.clickPassThrough.events}}))},dh=function(t){return Rf(t),Fs.deepClone(t)},fh=function(t,n,e){Fs.isEmpty(t.onClick)||function(t){var n=mo(t),e=n.select(".".concat(Zs.taskBarSelection));return n.attr("aria-selected",!("true"===n.attr("aria-selected"))),e.attr("aria-hidden",!("true"===e.attr("aria-hidden"))),n}(e).call((function(e){return t.onClick((function(){var t=e.select(".".concat(Zs.taskBarSelection));t.attr("aria-hidden",!("true"===t.attr("aria-hidden"))),e.attr("aria-selected",!1)}),t.key,n,t,e)}))},hh=function(t,n,e){var i=e.duration?function(t){if(t&&!Fs.isFunction(t))throw new Error(it);var n=t();if("number"!=typeof n)throw new Error(at);return n}(e.duration):0;return{onClick:e.onClick,y:n.display,startDate:Gf(i,e.startDate,e.endDate),endDate:Ff(i,e.startDate,e.endDate),percentage:e.percentage,dependencies:e.dependencies,color:e.color||xs.BLUE,label:e.label||null,key:e.key,style:Of(e),isHashed:Fh(e.style),clickPassThrough:!!Fs.isDefined(t.clickPassThrough)&&t.clickPassThrough.tasks}},gh=function(t,n,e){return{path:mo(e),x:t.x(n.startDate),y:t.y(n.y)+ks.DEFAULT_GANTT_TASK_PADDING.top,width:t.x(n.endDate)-t.x(n.startDate)||ks.DEFAULT_GANTT_TASK_CHUNK_WIDTH,height:ks.DEFAULT_GANTT_TASK_HEIGHT}},ph=function(t,n,e,i){var a,r,o,s,c,l,u,d=gh(t,n,i);(a=d.path,r=d.x,o=d.y,s=d.width,c=d.height,l=Hf(t.x(n.startDate),t.x(n.endDate),n.percentage),u=n.color,Hd(a,r,o,s,c).classed(Zs.taskBar,!0).attr("style","fill: ".concat(xs.WHITE,"; stroke: ").concat(u,"; stroke-width: 1;")),Hd(a,r,o,l,c).classed(Zs.taskBarCompletion,!0).attr("style","fill: ".concat(u,";")),a).attr("aria-disabled",!Fs.isFunction(n.onClick)).attr("pointer-events",(function(){return n.clickPassThrough&&!Fs.isFunction(n.onClick)?"none":"auto"})).on("click",(function(){return fh(n,e,i)}))},yh=function(t,n,e,i){var a=gh(t,n,i);(Uf(n.startDate,n.endDate)?Vd:Bd)(a.path,a.x,a.y,a.width,a.height,n.style).attr("aria-disabled",!Fs.isFunction(n.onClick)).attr("pointer-events",(function(){return n.clickPassThrough&&!Fs.isFunction(n.onClick)?"none":"auto"})).on("click",(function(){return fh(n,e,i)}))},mh=function(t,n,e,i,a,r){var o=a.selectAll("g").data(r.map((function(t){return hh(e,i,Fs.deepClone(t))})));o.enter().append("g").classed(Zs.task,!0).attr("aria-selected",!1).attr("aria-describedby",(function(t){return t.key})).each((function(e,i){var a,r=gh(n,e,this);Hd((a=r).path,a.x,a.y,a.width,a.height).classed(Zs.taskBarSelection,!0).attr("rx",3).attr("ry",3).attr("aria-hidden",!0),e.percentage?ph(n,e,i,this):e.isHashed?function(t,n,e,i,a){var r=gh(n,e,a);Yd(t,t.select("defs"),r.path,r.x,r.y,r.width,r.height,e.style).attr("aria-disabled",!Fs.isFunction(e.onClick)).attr("pointer-events",(function(){return e.clickPassThrough&&!Fs.isFunction(e.onClick)?"none":"auto"})).on("click",(function(){return fh(e,i,a)}))}(t,n,e,i,this):yh(n,e,i,this)})),o.exit().transition().call(ks.d3Transition(e.settingsDictionary.transition)).remove()},vh=function(t,n){return t.selectAll(".".concat(Zs.axisYTrackLabel," .tick text")).each((function(t){var e,i,a=this;t&&(e=this,i=n.display,mo(e).datum()===i)&&vu(n.display)&&mo(this).style("cursor","pointer").on("click",(function(){Fs.isDefined(n.onClick)&&Fs.isFunction(n.onClick)?n.onClick(n.display,mo(a)):bu(n.display,"y")}))}))},xh=function(t){function n(n){var e,i;return(e=t.call(this)||this).config=(i=n,Fs.deepClone(i)),e.config.actionKeys=[],e.config.eventKeys=[],e.config.activityKeys=[],e.config.taskKeys=[],e.trackGroupPath=null,e}u()(n,t);var e=n.prototype;return e.load=function(t){if(n=t.tracks,e=this.config.key,!(n.indexOf(e)<0))throw new Error(I);var n,e,i,a,r,o;return this.trackGroupPath=Ph(t.config,t.svg,this.config),Ah(t.config,this.config,!0),i=t,a=this.trackGroupPath,r=this.config,o=a.append("g").classed(Zs.ganttTrackSelectorGroup,!0).attr("transform","translate(".concat(Kc(i.config),",").concat(Dh(i.config),")")),qf(Wf(i.config,i.scale,o,r),r),Fs.notEmpty(this.config.activities)&&function(t,n,e,i){var a=n.append("g").classed(Zs.activityGroup,!0).attr("transform","translate(".concat(Kc(t.config),",").concat(Dh(t.config),")"));i.activities.forEach((function(t,n){Mf(t),i.activityKeys.splice(n,0,t.key)})),Kf(t.svg,t.scale,t.config,e,a,i.activities)}(t,this.trackGroupPath,this.config.trackLabel,this.config),Fs.notEmpty(this.config.tasks)&&function(t,n,e,i){var a=n.append("g").classed(Zs.taskGroup,!0).attr("transform","translate(".concat(Kc(t.config),",").concat(Dh(t.config),")"));i.tasks.forEach((function(t,n){Nf(t),i.taskKeys.splice(n,0,t.key)})),mh(t.svg,t.scale,t.config,e,a,i.tasks)}(t,this.trackGroupPath,this.config.trackLabel,this.config),Fs.notEmpty(this.config.events)&&function(t,n,e,i){i.events.forEach((function(a,r){Hh(t.scale,t.config,n,uh(t.config,e,dh(a)),lh,!0),i.eventKeys.splice(r,0,a.key)}))}(t,this.trackGroupPath,this.config.trackLabel,this.config),Fs.notEmpty(this.config.actions)&&Jh(t,this.trackGroupPath,this.config.trackLabel,this.config),this},e.unload=function(t){return Ah(t.config,this.config),this.trackGroupPath.select("g.".concat(Zs.ganttTrackSelectorGroup)).remove(),Fs.notEmpty(this.config.activities)&&this.trackGroupPath.select("g.".concat(Zs.activityGroup)).remove(),Fs.notEmpty(this.config.tasks)&&function(t,n){n.select("g.".concat(Zs.taskGroup)).remove()}(0,this.trackGroupPath),Fs.notEmpty(this.config.events)&&function(t,n){n.selectAll("g.".concat(Zs.currentPointsGroup)).remove()}(0,this.trackGroupPath),Fs.notEmpty(this.config.actions)&&$h(t,this.trackGroupPath),Gh(t.svg,this.config.key),this.config={},this},e.resize=function(t){var n,e,i,a;return Mh(t.scale,t.config),Fs.notEmpty(this.trackGroupPath)&&(n=t.scale,e=t.config,i=this.trackGroupPath,a=this.config,i.select(".".concat(Zs.ganttTrackSelectorGroup)).select("rect").each((function(){var t=mo(this),i=Wf(e,n,t,a);t.transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("y",i.y).attr("width",i.width).attr("height",i.height)}))),Fs.notEmpty(this.config.activities)&&ch(t.scale,t.config,this.trackGroupPath),Fs.notEmpty(this.config.tasks)&&sh(t.scale,t.config,this.trackGroupPath),(Fs.notEmpty(this.config.actions)||Fs.notEmpty(this.config.events))&&function(t,n,e){rh(t,n,e,".".concat(Zs.point)),rh(t,n,e,".".concat(Zs.dataPointSelection))}(t.scale,t.config,this.trackGroupPath),this},e.reflow=function(t,n){var e=this;if(Fs.notEmpty(n.activities)&&Fs.notEmpty(this.config.activities)){n.activityKeys=[],n.activities.forEach((function(t){if(n.activityKeys.push(t.key),e.config.activityKeys.includes(t.key)){var i=e.config.activityKeys.indexOf(t.key);e.config.activities[i].startDate=t.startDate,e.config.activities[i].endDate=t.endDate}})),this.config.activityKeys.slice(0).forEach((function(t){if(!n.activityKeys.includes(t)){var i=e.config.activityKeys.indexOf(t);e.config.activityKeys.splice(i,1),e.config.activities.splice(i,1)}}));var i=t.svg.selectAll(".".concat(Zs.trackGroup,'[aria-describedby="').concat(this.config.key,'"]'));!function(t,n,e,i,a){i.config.activities.forEach((function(t){Mf(t)}));var r=a.selectAll(".".concat(Zs.activityGroup));r.selectAll("g").remove(),Kf(t,e,n,i.config.trackLabel,r,i.config.activities)}(t.svg,t.config,t.scale,this,i)}if(Fs.notEmpty(n.tasks)&&Fs.notEmpty(this.config.tasks)){n.taskKeys=[],n.tasks.forEach((function(t){if(n.taskKeys.push(t.key),e.config.taskKeys.includes(t.key)){var i=e.config.taskKeys.indexOf(t.key);e.config.tasks[i].startDate=t.startDate,e.config.tasks[i].endDate=t.endDate}})),this.config.taskKeys.slice(0).forEach((function(t){if(!n.taskKeys.includes(t)){var i=e.config.taskKeys.indexOf(t);e.config.taskKeys.splice(i,1),e.config.tasks.splice(i,1)}}));var a=t.svg.selectAll(".".concat(Zs.trackGroup,'[aria-describedby="').concat(this.config.key,'"]'));!function(t,n,e,i,a){i.config.tasks.forEach((function(t){Nf(t)}));var r=a.selectAll(".".concat(Zs.taskGroup));r.selectAll("g").remove(),mh(t,e,n,i.config.trackLabel,r,i.config.tasks)}(t.svg,t.config,t.scale,this,a)}if(Fs.notEmpty(n.events)&&Fs.notEmpty(this.config.events)){n.eventKeys=[],n.events.forEach((function(t){if(n.eventKeys.push(t.key),e.config.eventKeys.includes(t.key)){var i=e.config.eventKeys.indexOf(t.key);e.config.events[i].values=t.values}})),this.config.eventKeys.slice(0).forEach((function(t){if(!n.eventKeys.includes(t)){var i=e.config.eventKeys.indexOf(t);e.config.eventKeys.splice(i,1),e.config.events.splice(i,1)}}));var r=t.svg.selectAll(".".concat(Zs.trackGroup,'[aria-describedby="').concat(this.config.key,'"]'));!function(t,n,e,i){e.config.events.forEach((function(t){Rf(t)})),i.selectAll(".".concat(Zs.currentPointsGroup,'[event="true"]')).remove(),e.config.events.forEach((function(a){Hh(n,t,i,uh(t,e.config.trackLabel,dh(a)),lh,!0)}))}(t.config,t.scale,this,r)}if(Fs.notEmpty(n.actions)&&Fs.notEmpty(this.config.actions)){n.actionKeys=[],n.actions.forEach((function(t){if(n.actionKeys.push(t.key),e.config.actionKeys.includes(t.key)){var i=e.config.actionKeys.indexOf(t.key);e.config.actions[i].values=t.values}})),this.config.actionKeys.slice(0).forEach((function(t){if(!n.actionKeys.includes(t)){var i=e.config.actionKeys.indexOf(t);e.config.actionKeys.splice(i,1),e.config.actions.splice(i,1)}}));var o=t.svg.selectAll(".".concat(Zs.trackGroup,'[aria-describedby="').concat(this.config.key,'"]'));Zh(t.config,t.scale,this,o,t.legendSVG)}this.resize(t)},e.redraw=function(t){return vh(t.svg,this.config.trackLabel),this},n}(Js),bh=function(t){return Object.keys(t).map((function(n){return t[n].trackHeight})).map((function(t,n,e){return n>0?t+e.slice(0,n).reduce((function(t,n){return t+n}),0):t}))},Eh=function(t){return Fs.isEmpty(t.axis.y.trackList)?0:parseInt(bh(t.axis.y.trackList).pop(),10)},Th=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.axis.y.trackCount+=1:t.axis.y.trackCount-=1},_h=function(t,n,e){var i=Object.keys(e).map((function(t){return[t,e[t]]}));i.splice(n,0,[t.key,{trackHeight:t.dimension?t.dimension.trackHeight:ks.DEFAULT_GANTT_TRACK_HEIGHT,trackLabel:t.trackLabel.display}]);var a={};return i.forEach((function(t){var n=[t[1]];a[t[0]]=n[0]})),a},Ah=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Th(t,e),e||delete t.axis.y.trackList[n.key]},wh=function(t){return t.axis.y.domain={lowerLimit:0,upperLimit:t.axis.y.trackCount||1},t},kh=function(t){return vu(t)?xu(t):t},Ih=function(t){return Fs.isEmpty(t)?[]:Object.keys(t).map((function(n){return t[n].trackLabel}))},Sh=function(t){t.axisSizes={},t.axisSizes.x=hl(t),t.axisSizes.y=function(t){if(t.padding.hasCustomPadding)return t.padding.left;var n=fn(Me().domain(Ih(t.axis.y.trackList)).range([0].concat(f()(bh(t.axis.y.trackList))))),e=mo("body").append("div"),i=e.append("svg").append("g").call(n).node().getBoundingClientRect().width;return e.remove(),i}(t)},Dh=function(t){return 2*(t.padding.top+t.padding.bottom)},Lh=function(t){return t.canvasWidth-t.axisSizes.y-t.axisLabelWidths.y-Dh(t)},Ch=function(t){return Dh(t)},Nh=function(t,n,e){return t.x=Gc(n.x,e.axis.x.ticks.values,Lh(e),Uc(e.d3Locale,e.axis.x.ticks.format,e.axis.x.type),ws.X.TOP),t.y=function(t,n){return fn(t).ticks(n/ks.DEFAULT_Y_AXIS_SPACING).tickFormat(kh).tickPadding(8)}(n.y,qc(e)),t},Mh=function(t,n){t.x=rr().domain([n.axis.x.domain.lowerLimit,n.axis.x.domain.upperLimit]).range([0,Lh(n)]).clamp(n.settingsDictionary.shouldClamp),t.y=Me().domain(Ih(n.axis.y.trackList)).range([0].concat(f()(bh(n.axis.y.trackList)))),n.axis.x.rangeRounding&&t.x.nice()},Rh=function(t,n,e,i){t.append("g").classed(e,!0).call(th(n,i))},Oh=function(t,n,e,i){if(function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(I);if(Fs.isEmpty(t.trackLabel)||Fs.isEmpty(t.trackLabel.display))throw new Error(S)}(e),Fs.notEmpty(e)&&Fs.notEmpty(e.loadAtIndex)){if(e.loadAtIndex<0)throw new Error(z);var a=e.loadAtIndex;return n.axis.y.trackList=_h(e,a,n.axis.y.trackList),Mh(t,n),a}return n.axis.y.trackList=_h(e,i,n.axis.y.trackList),i},Ph=function(t,n,e){return n.select(".".concat(Zs.ganttChartContent)).append("g").classed(Zs.trackGroup,!0).attr("aria-labelledby",e.trackLabel.display).attr("aria-describedby",e.key)},Gh=function(t,n){return t.select('g[aria-describedby="'.concat(n,'"]')).remove()},Fh=function(t){return!(Fs.isEmpty(t)||!t.isHashed)},Uh=function(t,n){t&&(arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t.selectAll(n).remove():t.select(n).remove())},Hh=function(t,n,e,i,a,r,o){var s=e.append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),", ").concat(Dh(n),")")).attr("event",r).selectAll(".".concat(Zs.point)).data(i);o?a(t,n,s.enter(),o):a(t,n,s.enter()),s.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()},Bh=function(t,n,e){Fs.isEmpty(t.onClick)||function(t){var n=mo(t.parentNode).select(".".concat(Zs.dataPointSelection));return n.attr("aria-hidden",!("true"===n.attr("aria-hidden"))),n}(e).call((function(e){return t.onClick((function(){return e.attr("aria-hidden",!0)}),t.key,n,t,e)}))},Vh=function(t,n,e,i,a){return e.append((function(){return new sc(function(t,n,e){var i=e.posX,a=e.posY,r=e.scale,o=Fs.deepClone(t);return o.options.x=n.x-i*n.scale,o.options.y=n.y-a*n.scale,o.options.scale=n.scale*r,o}(Es.CIRCLE,i.shape.options,ks.DEFAULT_PLOT_SELECTION_SCALE_FOR_EVENTS)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,svgStyles:"",transformFn:ah(t,n)(i),onClickFn:function(){Bh(i,a,this)},a11yAttributes:{"aria-hidden":!0,"aria-describedby":i.key,"aria-disabled":!Fs.isFunction(i.onClick)}}))}))},Yh=function(t,n,e){var i=function(t){if(!Fs.isDate(t))throw new Error(O);return Fs.parseDateTime(t)},a=function(t,n){var e=t.filter((function(t){return t.key===n}));if(!e.length)throw new Error(ft);return e[0]}(t.actionLegend,e.key);return e.values.map((function(r){return{key:e.key,onClick:e.onClick,x:i(r),y:n.display,label:a.label,color:a.color||ks.DEFAULT_COLOR,shape:a.shape||Es.CIRCLE,clickPassThrough:!!Fs.isDefined(t.clickPassThrough)&&t.clickPassThrough.actions}}))},Xh=function(t,n,e){return function(t,i){var a,r,o;Vu(t),a=n.shownTargets,r=i.key,(o=a.indexOf(r))>-1?a.splice(o,1):a.push(r),e.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(i.key,'"]')).attr("aria-hidden",(function(){return!("true"===mo(this).attr("aria-hidden"))}))}},zh=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){return n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}])}},jh=function(t,n,e,i){return{clickHandler:Xh(0,n,e),hoverHandler:zh(i,e)}},Kh=function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(I);if(Fs.isEmpty(t.values))throw new Error(w)},Wh=function(t){return Kh(t),Fs.deepClone(t)},qh=function(t,n,e,i){return e.append("g").classed(Zs.pointGroup,!0).each((function(e,a){var r=mo(this);!function(t,n,e,i,a){e.append((function(){return new sc(cd(Es.CIRCLE,ks.DEFAULT_PLOT_SELECTION_SCALE)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,svgStyles:"",transformFn:ah(t,n)(i),onClickFn:function(){Bh(i,a,this)},a11yAttributes:{"aria-hidden":!0,"aria-describedby":i.key,"aria-disabled":!Fs.isFunction(i.onClick)}}))}))}(t,n,r,e,a),function(t,n,e,i,a,r){e.append((function(){var e;return new sc(lu(i)).getShapeElement(rc({svgClassNames:Zs.point,svgStyles:"fill: ".concat(uu(i),";"),transformFn:ah(t,n)(i),onClickFn:function(){Bh(i,a,this)},a11yAttributes:{"aria-hidden":r?"false"===(null===(e=r.select(".".concat(Zs.legendItem,"[aria-describedby='").concat(i.key,"']")))||void 0===e?void 0:e.attr("aria-current")):"false","aria-describedby":i.key,"aria-disabled":!Fs.isFunction(i.onClick)},additionalAttributes:{"pointer-events":i.clickPassThrough&&!Fs.isFunction(i.onClick)}}))}))}(t,n,r,e,a,i)}))},Jh=function(t,n,e,i){return i.actions.forEach((function(a,r){Hh(t.scale,t.config,n,Yh(t.config,e,Wh(a)),qh,!1),i.actionKeys.splice(r,0,a.key)}))},Zh=function(t,n,e,i,a){e.config.actions.forEach((function(t){Kh(t)})),i.selectAll(".".concat(Zs.currentPointsGroup,'[event="false"]')).remove(),e.config.actions.forEach((function(r){Hh(n,t,i,Yh(t,e.config.trackLabel,Wh(r)),qh,!1,a)}))},$h=function(t,n){return n.selectAll("g.".concat(Zs.currentPointsGroup)).remove()},Qh=ks.BASE_CANVAS_WIDTH_PADDING,tg=function(t,n){n.canvasWidth=parseInt(t.style("width"),10)-kf(t)},ng=function(t){return t.canvasHeight=qc(t)+2*(2*t.padding.bottom+t.padding.top)},eg=function(t){return t.graphContainer=null,t.config={axis:{x:{},y:{}},shownTargets:{},actionLegend:[],dateline:[],eventline:[],pan:{}},t.axis={},t.scale={},t.svg=null,t.legendSVG=null,t.tracks=[],t.trackConfig=[],t.resizeHandler=null,t},ig=function(t){function n(n){var e;return e=t.call(this)||this,eg(c()(e)),e.generate(n),e}u()(n,t);var e=n.prototype;return e.generate=function(t){var n,e,i=this;this.config=(n=t,(new Cf).setInput(n).validateInput().clone().getConfig()),Df(t,this.config),(e=this).graphContainer=mo(e.config.bindTo),wh(e.config),e.config.height=Eh(e.config),Lu(),function(t){var n;tg(t.graphContainer,t.config),Sh(t.config),(n=t.config).axisLabelWidths={},n.axisLabelWidths.y=n.padding.left,ng(t.config),Mh(t.scale,t.config)}(this);var a,r,o=mo(this.config.bindTo).append("div").classed(Zs.container,!0).style("padding-top",this.config.removeContainerPadding&&0).style("padding-bottom",this.config.removeContainerPadding&&0);return this.svg=o.insert("svg",":first-child").classed(Zs.canvas,!0).attr("role","img").attr("height",this.config.canvasHeight).attr("width",this.config.padding.hasCustomPadding?this.config.canvasWidth:this.config.canvasWidth-Qh),a=this.config,(r=this.svg.append("defs")).append("clipPath").attr("id",a.clipPathId).append("rect").attr(ks.X_AXIS,Kc(a)).attr(ks.Y_AXIS,Ch(a)).attr("width",Lh(a)).attr("height",qc(a)),a.settingsDictionary.shouldCreateDatelineDefs&&a.dateline.length>0&&r.append("clipPath").attr("id",a.datelineClipPathId).append("rect").attr(ks.X_AXIS,Kc(a)).attr(ks.Y_AXIS,Ch(a)).attr("width",Lh(a)).attr("height",0),function(t,n,e,i){Nh(t,n,e);var a=i.append("g").classed(Zs.grid,!0).attr("transform","translate(".concat(Kc(e),",").concat(Dh(e),")"));a.append("g").classed(Zs.gridH,!0).call(nh(t,e)),_c(a,t,e,Rh)}(this.axis,this.scale,this.config,this.svg),function(t,n){n.append("rect").classed(Zs.contentContainer,!0).attr(ks.X_AXIS,Kc(t)).attr(ks.Y_AXIS,Dh(t)).attr("width",Lh(t)).attr("height",qc(t))}(this.config,this.svg),function(t,n,e,i){Nh(t,n,e),Ac(n,t,e,jc,ws.X.TOP),i.append("g").classed(Zs.axis,!0).classed(Zs.axisX,!0).attr("aria-hidden",!e.axis.x.show).attr("transform","translate(".concat(Kc(e),", ").concat(Dh(e),")")).call(t.x).call(Zc),i.append("g").classed(Zs.axis,!0).classed(Zs.axisY,!0).classed(Zs.axisYTrackLabel,!0).attr("aria-hidden",!e.axis.y.show).attr("transform","translate(".concat($c(e),",").concat(Dh(e),")")).call(t.y).call(Zc)}(this.axis,this.scale,this.config,this.svg),function(t,n){n.append("g").classed(Zs.ganttChartContent,!0).attr("clip-path","url(#".concat(t.clipPathId,")"))}(this.config,this.svg),Fs.notEmpty(this.config.dateline)&&Hl(this.scale,this.config,this.svg),Fs.notEmpty(this.config.eventline)&&Xl(this.scale,this.config,this.svg),this.config.showActionLegend&&(this.legendSVG=Hu(this.config,this.config.bindLegendTo?mo(this.config.bindLegendTo):o),this.config.shownTargets=this.config.actionLegend.map((function(t){return t.key})),this.config.actionLegend.forEach((function(t){return function(t,n,e,i){e.label&&e.label.display&&i&&Fu(i,e,t,n)}(i.config,jh(0,i.config,i.svg,i.config.shownTargets),t,i.legendSVG)}))),du(this),this.svg},e.resize=function(){var t=this;if(this.graphContainer)return tg(this.graphContainer,this.config),Mh(this.scale,this.config),oh(this),this.trackConfig.forEach((function(n){return n.resize(t)})),ih(this.scale,this.config,this.svg),this},e.loadContent=function(t){var n=this;return Rd(t,(function(t){var e=Oh(n.scale,n.config,t,n.tracks.length),i=function(t){return new xh(t)}(t);n.trackConfig.splice(e,0,i),i.load(n),n.tracks.splice(e,0,t.key)})),wh(this.config),this.config.height=Eh(this.config),ng(this.config),this.resize(),this.trackConfig.forEach((function(t){return t.redraw(n)})),this},e.unloadContent=function(t){var n=this;return Rd(t,(function(t){var e=n.tracks.indexOf(t.key);if(e<0)throw new Error(P);n.trackConfig[e].unload(n),n.tracks.splice(e,1),n.trackConfig.splice(e,1)})),wh(this.config),this.config.height=Eh(this.config),ng(this.config),this.resize(),this},e.reflow=function(t){var n=this;console.warn("reflow is deprecated and will be removed a future major release. Please use reflowMultipleDatasets instead."),Al(this.config),Mh(this.scale,this.config);var e=jh(0,this.config,this.svg,this.config.shownTargets);if(Qf(this.axis,this.scale,this.config,this.svg),t&&this.tracks.includes(t.key)){var i=this.tracks.findIndex((function(n){return n===t.key}));this.trackConfig[i].reflow(this,t),Ku(this.legendSVG,this.config.actionLegend[i],this,e)}return t&&t.eventline&&(this.config.eventline=t.eventline,zl(this.scale,this.config,this.svg)),this.config.height=Eh(this.config),ng(this.config),this.resize(),this.trackConfig.forEach((function(t){return t.redraw(n)})),this},e.reflowMultipleDatasets=function(t){var n=this;Al(this.config),Mh(this.scale,this.config);var e=jh(0,this.config,this.svg,this.config.shownTargets);return Qf(this.axis,this.scale,this.config,this.svg),t&&t.panData&&!Fs.isEmptyArray(t.panData)&&t.panData.forEach((function(t){var i=n.tracks.findIndex((function(n){return n===t.key}));i>-1&&(n.trackConfig[i].reflow(n,t),Ku(n.legendSVG,n.config.actionLegend[i],n,e))})),t&&t.eventline&&(this.config.eventline=t.eventline,zl(this.scale,this.config,this.svg)),this.config.height=Eh(this.config),ng(this.config),this.resize(),this.trackConfig.forEach((function(t){return t.redraw(n)})),this},e.destroy=function(){return Cu(),fu(this),Uh(this.graphContainer,".".concat(Zs.canvas)),Uh(this.graphContainer,".".concat(Zs.container)),eg(this),this},n}(wf),ag={ticks:{},show:!1,domain:{lowerLimit:0,upperLimit:0}},rg=function(t,n){return!Fs.hasValue(t.map((function(t){return t.config.key})),n)},og=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){if(Fs.isEmpty(this.input))throw new Error(_);if(Fs.isEmpty(this.input.bindTo))throw new Error(T);if(Fs.isEmpty(this.input.axis)||Fs.isEmpty(this.input.axis.x)||Fs.isEmpty(this.input.axis.y))throw new Error(L);if(Fs.notEmpty(this.input.axis.x.type)&&!Fs.hasValue(Object.values(_s),this.input.axis.x.type))throw new Error(M);if(Fs.isEmpty(this.input.axis.x.lowerLimit)||Fs.isEmpty(this.input.axis.x.upperLimit)||Fs.isEmpty(this.input.axis.y.lowerLimit)||Fs.isEmpty(this.input.axis.y.upperLimit))throw new Error(C);if(Hs(this.input.showXLabel,!0)&&Fs.isEmpty(this.input.axis.x.label)&&console.warn('A label for the x-axis is expected to be provided to meet accessibility standards. This label will become required starting in terra-graphs version 3.0.0. "showXLabel" can be set to false to hide the label for situations where the label should not be displayed.'),Fs.isEmpty(this.input.axis.y.label))throw new Error(N);if(Mc(this.input.axis)){if(Fs.isEmpty(this.input.axis.y2.lowerLimit)||Fs.isEmpty(this.input.axis.y2.upperLimit))throw new Error(C);if(Fs.isEmpty(this.input.axis.y2.label))throw new Error(N)}if(Fs.notEmpty(this.input.dateline)&&this.input.axis.x.type!==_s.TIME_SERIES)throw new Error(M);if(Fs.notEmpty(this.input.dateline)&&this.input.axis.x.type===_s.TIME_SERIES&&this.input.dateline.forEach((function(t){Vl(t)})),Fs.notEmpty(this.input.eventline)&&this.input.axis.x.type!==_s.TIME_SERIES)throw new Error(M);return Fs.notEmpty(this.input.eventline)&&this.input.axis.x.type===_s.TIME_SERIES&&this.input.eventline.forEach((function(t){jl(t)})),this},e.cloneInput=function(){return this.config=Fs.deepClone(this.input),this},e.processInput=function(){var t,n,e=Fs.deepClone(this.input.axis),i=function(t,n,e){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.axis[n].ticks=Hs(e[n].ticks,{}),t.axis[n].show=Hs(e[n].show,i),t.axis[n].domain={lowerLimit:Fs.getNumber(e[n].lowerLimit),upperLimit:Fs.getNumber(e[n].upperLimit)},t.axis[n].rangeRounding=Hs(e[n].rangeRounding,!0),t.axis[n].suppressTrailingZeros=Hs(e[n].suppressTrailingZeros,!1),t};return this.config.clipPathId=Vs(),this.config.datelineClipPathId=Ys(),this.config.bindTo=this.input.bindTo,this.config.bindLegendTo=this.input.bindLegendTo,this.config.axis=e,this.config.dateline=Hs(Fs.deepClone(this.input.dateline),[]),this.config.eventline=Hs(Fs.deepClone(this.input.eventline),[]),this.config.padding=(t=this.config,n=this.input.padding,Fs.isDefined(t.padding)?{top:Hs(n.top,ks.PADDING.top),bottom:Hs(n.bottom,ks.PADDING.bottom),right:Hs(n.right,ks.PADDING.right),left:Hs(n.left,ks.PADDING.left),hasCustomPadding:!0}:{top:ks.PADDING.top,bottom:ks.PADDING.bottom,right:ks.PADDING.right,left:ks.PADDING.left,hasCustomPadding:!1}),this.config.locale=Hs(this.input.locale,dc),this.config.d3Locale=Hs(this.input.locale,dc),this.config.showNoDataText=Hs(this.input.showNoDataText,!0),this.config.throttle=Hs(this.input.throttle,ks.RESIZE_THROTTLE),this.config.settingsDictionary=function(t){return Ws(t)?{shouldClamp:!1,transition:ks.D3_TRANSITION_PROPERTIES_DISABLED,shouldCreateDatelineDefs:!0}:{shouldClamp:!0,transition:ks.D3_TRANSITION_PROPERTIES_ENABLED,shouldCreateDatelineDefs:!1}}(this.input),this.config.showLabel=Hs(this.input.showLabel,!0),this.config.showXLabel=Hs(this.input.showXLabel,!0),this.config.showLegend=Hs(this.input.showLegend,!0),this.config.showShapes=Hs(this.input.showShapes,!0),this.config.showHGrid=Hs(this.input.showHGrid,!0),this.config.showVGrid=Hs(this.input.showVGrid,!0),this.config.dimension=Hs(this.input.dimension,{}),this.config.allowCalibration=Hs(this.input.allowCalibration,!0),this.config.removeContainerPadding=Hs(this.input.removeContainerPadding,!1),this.config.legendPadding=ju(this.config,this.input.legendPadding),this.config.opaqueBackground=Hs(this.input.opaqueBackground,!1),this.config.axis.x.type=Hs(e.x.type,_s.DEFAULT),this.config.axis.x.ticks=Hs(e.x.ticks,{}),this.config.axis.x.show=Hs(e.x.show,!0),this.config.axis.x.orientation=Hs(e.x.orientation,ws.X.BOTTOM),this.config.axis.x.domain=js(this.config.axis.x.type,this.config.axis.x.lowerLimit,this.config.axis.x.upperLimit),this.config.axis.x.rangeRounding=Hs(e.x.rangeRounding,!0),this.config.axis.x.suppressTrailingZeros=Hs(e.x.suppressTrailingZeros,!1),this.config.axis.x.allowCalibration=Hs(e.x.allowCalibration,!1),Ws(this.input)&&(this.config.axis.x.allowCalibration=!1),this.input.axis.y?i(this.config,ks.Y_AXIS,e,!0):this.config.axis.y=ag,this.input.axis.y2?i(this.config,ks.Y2_AXIS,e):this.config.axis.y2=ag,this.config.shownTargets=[],this.config.hasCriticality=!1,this.config.shouldHideAllRegion=!1,this.config.axisPadding={y:Hs(e.y.padDomain,!0),y2:Hs(e.y2.padDomain,!0)},this.config.axisInfoRowLabelHeight=0,this.config.axis.y.isConsumerProvidedFormat=Fs.isDefined(this.config.axis.y.ticks.format),this.config.axis.y2.isConsumerProvidedFormat=Fs.isDefined(this.config.axis.y2.ticks.format),this},n}(Mt),sg=ks.BASE_CANVAS_WIDTH_PADDING,cg=function(t,n){n.canvasWidth=parseInt(t.style("width"),10)-kf(t)},lg=function(t){t.showLabel&&t.axis.x.label||t.axis.x.show?t.canvasHeight=qc(t)+2*(t.padding.bottom+t.padding.top+t.axisLabelHeights.x):t.canvasHeight=qc(t)+t.padding.bottom+t.padding.top+t.axisLabelHeights.x},ug=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks.Y_AXIS;return t.axis[n].dataRange.isRangeModified},dg=function(t){return t.graphContainer=null,t.config={axis:{x:{},y:{},y2:{}},shownTargets:{},dateline:[],eventline:[],pan:{}},t.axis={axisInfoRow:{x:{}}},t.scale={},t.svg=null,t.legendSVG=null,t.axesLabelShapeGroup={},t.content=[],t.contentConfig=[],t.contentKeys=[],t.resizeHandler=null,t},fg=function(t){return t.config.height=function(t,n){if(n.height)return n.height;var e=t.padding.top+t.padding.bottom,i=(Wl-e)/2;return t.outlierStretchFactor=Sl(t),i*t.outlierStretchFactor.upperLimit+i*t.outlierStretchFactor.lowerLimit}(t.config,t.config.dimension),cg(t.graphContainer,t.config),El(t.config),Tl(t.config),lg(t.config),su(t.scale,t.config),t},hg=function(t){function n(n){var e;return e=t.call(this)||this,dg(c()(e)),e.generate(n),e}u()(n,t);var e=n.prototype;return e.getGraphSVG=function(){return this.svg},e.generate=function(t){var n;this.config=(new og).setInput(t).validateInput().cloneInput().processInput().getConfig(),(n=this).graphContainer=mo(n.config.bindTo),Cl({},"",n.config),Fs.isDefined(n.config.axis.x.allowCalibration)&&n.config.axis.x.allowCalibration&&(console.warn("allowCalibration for x-axis is a new feature that is currently a work in progress and may have stability issues. Use it at your own risk."),Cl({},ks.X_AXIS,n.config)),au(n.config),ru(n.config),Lu(),fg(this);var e,i,r=mo(this.config.bindTo).append("div").classed(Zs.container,!0).style("padding-top",this.config.removeContainerPadding&&0).style("padding-bottom",this.config.removeContainerPadding&&0);return this.svg=r.insert("svg",":first-child").classed(Zs.canvas,!0).attr("role","img").attr("height",this.config.canvasHeight).attr("width",this.config.padding.hasCustomPadding?this.config.canvasWidth:this.config.canvasWidth-sg),this.config.opaqueBackground&&mo(".".concat(Zs.container)).style("background-color",xs.WHITE),e=this.config,(i=this.svg.append("defs")).append("clipPath").attr("id",e.clipPathId).append("rect").attr(ks.X_AXIS,Kc(e)).attr(ks.Y_AXIS,Wc(e)).attr("width",Fc(e)).attr("height",e.height),e.settingsDictionary.shouldCreateDatelineDefs&&e.dateline.length>0&&i.append("clipPath").attr("id",e.datelineClipPathId).append("rect").attr(ks.X_AXIS,Kc(e)).attr(ks.Y_AXIS,0).attr("width",Fc(e)).attr("height",0),function(t,n){n.append("g").classed(Zs.regionGroup,!0)}(this.config,this.svg),function(t,n,e,i){zc(t,n,e);var a=i.append("g").classed(Zs.grid,!0).attr("transform","translate(".concat(Kc(e),",").concat(Wc(e),")"));e.showHGrid&&a.append("g").classed(Zs.gridH,!0).call(Jl(t,e)),e.showVGrid&&_c(a,t,e,ou)}(this.axis,this.scale,this.config,this.svg),function(t,n){n.append("rect").classed(Zs.contentContainer,!0).attr(ks.X_AXIS,Kc(t)).attr(ks.Y_AXIS,Wc(t))}(this.config,this.svg),function(t,n,e,i){zc(t,n,e),Ac(n,t,e,jc),i.append("g").classed(Zs.axis,!0).classed(Zs.axisX,!0).attr("aria-hidden",!e.axis.x.show).attr("transform","translate(".concat(Kc(e),", ").concat(Jc(e),")")).call(t.x).call(Zc),i.append("g").classed(Zs.axis,!0).classed(Zs.axisY,!0).attr("aria-hidden",!e.axis.y.show).attr("transform","translate(".concat($c(e),", ").concat(Qc(e),")")).call(t.y).call(Zc),Mc(e.axis)&&i.append("g").classed(Zs.axis,!0).classed(Zs.axisY2,!0).attr("transform","translate(".concat(tl(e),", ").concat(nl(e),")")).call(t.y2).call(Zc)}(this.axis,this.scale,this.config,this.svg),function(t,n,e,i){zc(t,n,e),i.append("g").classed(Zs.axis,!0).classed(Zs.axisInfoRow,!0).attr("aria-hidden",!0).attr("transform","translate(".concat(Kc(e),", ").concat(el(e),")")).call(t.axisInfoRow.x).call(Zc)}(this.axis,this.scale,this.config,this.svg),function(t,n,e){if(t.showLabel){var i=tu(t);if(t.showXLabel&&t.axis.x.label){var r=n.append("g").classed(Zs.axisLabelX,!0).attr("transform","translate(".concat(al(t),",").concat(rl(t),") rotate(").concat(il(ks.X_AXIS),")"));ml(r,Fs.sanitize(t.axis.x.label),i.xAxisLimit),nu(r,Zs.axisLabelX,t.axis.x,i.xAxisLimit,ks.X_AXIS)}if(t.axis.y.label){var o=n.append("g").classed(Zs.axisLabelY,!0).attr("transform","translate(".concat(ol(t),", ").concat(sl(t),") rotate(").concat(il(ks.Y_AXIS),")"));ml(o,Fs.sanitize(t.axis.y.label),i.yAndY2AxisLimit),nu(o,Zs.axisLabelY,t.axis.y,i.yAndY2AxisLimit,ks.Y_AXIS)}if(Mc(t.axis)){var s,c=n.append("g").classed(Zs.axisLabelY2,!0).attr("transform","translate(".concat(dl(t),", ").concat(sl(t),") rotate(").concat(il(ks.Y2_AXIS),")"));ml(c,Fs.sanitize(t.axis.y2.label),i.yAndY2AxisLimit),nu(n,Zs.axisLabelY2,t.axis.y2,i.yAndY2AxisLimit,ks.Y2_AXIS),e.axesLabelShapeGroup=(s={},a()(s,ks.Y_AXIS,Au(t,n)),a()(s,ks.Y2_AXIS,wu(t,n)),s)}}}(this.config,this.svg,this),function(t,n,e,i){var a="translate(".concat($c(e),", ").concat(Qc(e),")"),r=function(t,e){return t.classed(Zs.axisReferenceLine,!0).attr("aria-hidden",!Lc(n,e)).attr("transform",a).attr("d",Nc(n,e)(Cc(n)))};r(i.append("path"),ks.Y_AXIS).classed(Zs.axis,!0).classed(Zs.axisY,!0),Mc(e.axis)&&r(i.append("path"),ks.Y2_AXIS).classed(Zs.axis,!0).classed(Zs.axisY2,!0)}(this.axis,this.scale,this.config,this.svg),Fs.notEmpty(this.config.dateline)&&this.config.axis.x.type===_s.TIME_SERIES&&Hl(this.scale,this.config,this.svg),Fs.notEmpty(this.config.eventline)&&this.config.axis.x.type===_s.TIME_SERIES&&Xl(this.scale,this.config,this.svg),this.config.showLegend&&(this.legendSVG=Hu(this.config,this.config.bindLegendTo?mo(this.config.bindLegendTo):r)),this.config.showNoDataText&&yu(this.config,this.svg),du(this),this.svg},e.resize=function(){var t=this;return this.graphContainer&&(Tl(this.config),cg(this.graphContainer,this.config),lg(this.config),su(this.scale,this.config),cu(this),this.content.forEach((function(n){return n.resize(t)}))),this},e.processContent=function(t){return function(t,n){if(Fs.isEmpty(n))throw new Error(A);if(!rg(t,n.config.key))throw new Error(k)}(this.content,t),this.content.push(t),this.contentConfig.push(t.config),this.contentKeys.push(t.config.key),gu(this.config.axisPadding,t),Cl(t,t.config.yAxis,this.config,this.content),Fs.isDefined(this.config.axis.x.allowCalibration)&&this.config.axis.x.allowCalibration&&(Cl(t,ks.X_AXIS,this.config,this.content),ug(this.config,ks.X_AXIS)&&ru(this.config,t)),this.config.allowCalibration&&ug(this.config,t.config.yAxis)&&au(this.config,t),t.load(this),Fs.notEmpty(this.config.dateline)&&this.config.axis.x.type===_s.TIME_SERIES&&Bl(this.scale,this.config,this.svg),Fs.notEmpty(this.config.eventline)&&this.config.axis.x.type===_s.TIME_SERIES&&zl(this.scale,this.config,this.svg),Fs.notEmpty(t.config.values)&&pu(this.svg),this},e.loadContent=function(t){var n=this;return Rd(t,(function(t){n.processContent(t)})),this.resize(),this},e.unloadContent=function(t){var n=this;return Rd(t,(function(t){var e=n.contentKeys.indexOf(t.key||t.config.key);if(e<0)throw new Error(P);n.content[e].unload(n),n.content.splice(e,1),n.contentConfig.splice(e,1),n.contentKeys.splice(e,1),n.config.showNoDataText&&n.content.every((function(t){return Fs.isEmpty(t.config.values)}))&&yu(n.config,n.svg)})),this.resize(),this},e.reflow=function(t){var n=this;if(console.warn("reflow is deprecated and will be removed a future major release. Please use reflowMultipleDatasets instead."),t&&t.values){var e=this.contentKeys.findIndex((function(n){return n===t.key}));e>-1&&("Bar"===this.content[e].type&&t.values.length>0&&(this.config.axis.x.ticks.values=[],t.values.forEach((function(t){return n.config.axis.x.ticks.values.push(t.x)}))),this.content[e].reflow(this,t),gu(this.config.axisPadding,this.content[e]),Cl(this.content[e],this.content[e].config.yAxis,this.config,this.content),this.config.allowCalibration&&ug(this.config,this.content[e].config.yAxis)&&au(this.config,this.content[e]),this.config.showNoDataText&&this.content.every((function(t){return Fs.isEmpty(t.config.values)}))?(yu(this.config,this.svg),Bl(this.scale,this.config,this.svg)):Fs.notEmpty(this.content[e].config.values)&&pu(this.svg))}return t&&t.eventline&&(this.config.eventline=t.eventline,zl(this.scale,this.config,this.svg)),Al(this.config),su(this.scale,this.config),Dl(this.axis,this.scale,this.config,this.svg),Ql(this.config,this.svg),t&&this.config.showLabel&&(this.config.axis.x.label=Fs.sanitize(t.xLabel)||this.config.axis.x.label,this.config.axis.y.label=Fs.sanitize(t.yLabel)||this.config.axis.y.label,this.config.axis.y2.label=Fs.sanitize(t.y2Label)||this.config.axis.y2.label,eu(this.config)),this.resize(),this},e.reflowMultipleDatasets=function(t){var n=this;return t&&t.panData&&!Fs.isEmptyArray(t.panData)&&t.panData.forEach((function(t){if(t.values){var e=n.contentKeys.findIndex((function(n){return n===t.key}));e>-1&&("Bar"===n.content[e].type&&t.values.length>0&&(n.config.axis.x.ticks.values=[],t.values.forEach((function(t){return n.config.axis.x.ticks.values.push(t.x)}))),n.content[e].reflow(n,t),gu(n.config.axisPadding,n.content[e]),Cl(n.content[e],n.content[e].config.yAxis,n.config,n.content),n.config.allowCalibration&&ug(n.config,n.content[e].config.yAxis)&&au(n.config,n.content[e]),n.config.showNoDataText&&n.content.every((function(t){return Fs.isEmpty(t.config.values)}))?(yu(n.config,n.svg),Bl(n.scale,n.config,n.svg)):Fs.notEmpty(n.content[e].config.values)&&pu(n.svg))}})),t&&t.eventline&&(this.config.eventline=t.eventline,zl(this.scale,this.config,this.svg)),Al(this.config),su(this.scale,this.config),Dl(this.axis,this.scale,this.config,this.svg),t&&this.config.showLabel&&(this.config.axis.x.label=Fs.sanitize(t.xLabel)||this.config.axis.x.label,this.config.axis.y.label=Fs.sanitize(t.yLabel)||this.config.axis.y.label,this.config.axis.y2.label=Fs.sanitize(t.y2Label)||this.config.axis.y2.label,eu(this.config)),this.resize(),this},e.destroy=function(){return fu(this),Cu(),hu(this.graphContainer,".".concat(Zs.canvas)),hu(this.graphContainer,".".concat(Zs.container)),dg(this),this},n}(wf),gg=function(t){return t.internalValuesSubset},pg=function(t,n){return qo().defined((function(t){return null!==t.y&&void 0!==t.y})).x((function(n){return t.x(n.x)})).y((function(n){return t[n.yAxis](n.y)})).curve(n.interpolationType)(gg(n))},yg=function(t){return function(n){return function(e){var i;return"translate(".concat((i=n,t.x(i.x)),",").concat(function(n){return t[n.yAxis](n.y)}(n),") scale(").concat(e,")")}}},mg=function(t,n,e,i){return n.selectAll(".".concat(Zs.lineGraphContent," .").concat(e)).each((function(n){mo(this).select("g").transition().call(ks.d3Transition(i.settingsDictionary.transition)).attr("transform",(function(){return yg(t)(n)(Pl(this))}))}))},vg=function(t,n,e){Fs.isEmpty(t.onClick)||function(t){var n=mo(t.parentNode).select(".".concat(Zs.dataPointSelection));return n.attr("aria-hidden",!("true"===n.attr("aria-hidden"))),n}(e).call((function(e){return t.onClick((function(){e.attr("aria-hidden",!0)}),t.key,n,t,e)}))},xg=function(t,n,e){mu(n,Zs.currentLinesGroup,e),mu(n,Zs.currentPointsGroup,e),function(t,n,e){n.selectAll(".".concat(Zs.lineGraphContent," .").concat(Zs.line)).select("path").transition().call(ks.d3Transition(e.settingsDictionary.transition)).attr("d",(function(n){return pg(t,n)}))}(t,n,e),mg(t,n,Zs.point,e),mg(t,n,Zs.dataPointSelection,e)},bg=function(t,n,e){return e.append("g").classed(Zs.line,!0).append("path").attr("d",(function(n){return pg(t,n)})).attr("style",(function(t){return"stroke: ".concat(uu(t),"; stroke-dasharray: ").concat(t.style.strokeDashArray,";")})).attr("aria-hidden",!1).attr("aria-describedby",(function(t){return t.key}))},Eg=function(t,n,e,i){var a=function(n,e,i,a){return n.append((function(){var n;return new sc(lu(e)).getShapeElement(rc({svgClassNames:"".concat(Zs.point," ").concat(a),transformFn:yg(t)(e),onClickFn:function(){vg(e,i,this)},a11yAttributes:{"aria-hidden":"false"===(null===(n=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(e.key,'"]')))||void 0===n?void 0:n.getAttribute("aria-current")),"aria-describedby":e.key,"aria-disabled":!Fs.isFunction(e.onClick)}}))}))};e.append("g").classed(Zs.pointGroup,!0).each((function(e,r){var o,s,c=mo(this);o=e,s=r,c.append((function(){return new sc(cd(Es.CIRCLE,ks.DEFAULT_PLOT_SELECTION_SCALE)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,transformFn:yg(t)(o),onClickFn:function(){vg(o,s,this)},a11yAttributes:{"aria-hidden":!0,"aria-describedby":o.key,"aria-disabled":!Fs.isFunction(o.onClick)}}))})),e.isCritical&&(n.hasCriticality=!0,a(c,e,r,Zs.criticalityOuterPoint),a(c,e,r,Zs.criticalityInnerPoint)),function(n,e,a){n.append((function(){var n;return new sc(lu(e)).getShapeElement(rc({svgClassNames:Zs.point,svgStyles:"fill: ".concat(uu(e),";"),transformFn:yg(t)(e),onClickFn:function(){vg(e,a,this)},a11yAttributes:{"aria-hidden":i?"false"===(null===(n=i.select(".".concat(Zs.legendItem,"[aria-describedby='").concat(e.key,"']")))||void 0===n?void 0:n.attr("aria-current")):"false","aria-describedby":e.key,"aria-disabled":!Fs.isFunction(e.onClick)}}))}))}(c,e,r)}))},Tg=function(t,n,e,i,a){var r=e.append("g").classed(Zs.lineGraphContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-hidden",n.shownTargets.indexOf(i.key)<0).attr("aria-describedby",i.key),o=r.append("g").classed(Zs.currentLinesGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")).selectAll(".".concat(Zs.line)).data([i]);if(bg(t,0,o.enter()),o.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove(),i.showShapes){var s=r.selectAll(".".concat(Zs.currentPointsGroup)).data([i]);s.enter().append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")),s.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove();var c=r.select(".".concat(Zs.currentPointsGroup)).selectAll(".".concat(Zs.point)).data(gg(i).filter((function(t){return null!==t.y&&void 0!==t.y})));Eg(t,n,c.enter(),a),c.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()}},_g=function(t,n){var e=t.axis.x.type,i=function(t){if(!Nl(t,e))throw new Error(O);return Ks(t,e)};return n.interpolationType=Xs(n.type),n.style=Hs(n.style,{}),n.style={strokeDashArray:qs(n.style)},n.showShapes=Hs(n.showShapes,t.showShapes),n.legendOptions=zu(0,n),t.shownTargets.push(n.key),n.internalValuesSubset=n.values.map((function(t){return{onClick:n.onClick,isCritical:t.isCritical||!1,x:i(t.x),y:t.y,color:n.color||ks.DEFAULT_COLOR,label:n.label||{},shape:n.shape||Es.CIRCLE,yAxis:n.yAxis||ks.Y_AXIS,key:n.key}})),n.valueRegionSubset=function(t,n){var e,i=[],a=[],r={color:void 0,values:[]};return t.values.forEach((function(t){Fs.isEmpty(t.region)||Fs.isEmpty(t.region.start)||Fs.isEmpty(t.region.end)?(i.push(r),e=void 0,r={color:void 0,values:[]}):(e!==t.region.color&&(r.values.length>0&&i.push(r),r={color:t.region.color,values:[]}),e=t.region.color,r.color=t.region.color,r.values.push({x:n(t.x),start:t.region.start,end:t.region.end}))})),i.push(r),i.forEach((function(t){t.values.length>0&&(a.push(t),t.values.length>1&&(a.push({color:t.color,values:t.values.slice(0,1)}),a.push({color:t.color,values:t.values.slice(t.values.length-1)})))})),a}(n,i),n},Ag=function(t,n,e,i){return function(n,a){Vu(n);var r,o,s,c=Bu(mo(n));o=a,(s=(r=e.shownTargets).indexOf(o.key))>-1?r.splice(s,1):r.push(o.key),i.selectAll(".".concat(Zs.dataPointSelection,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",!0),i.selectAll('path[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",c),i.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",c),window.requestAnimationFrame(function(t,n,e){return function(){od(t,n,e)}}(t,e,i))}},wg=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}]),n.selectAll('path[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('svg[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),sd(t,n,e.key,i)}},kg=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},Ig=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){return Us(this.input),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Sg=function(t){var n=t.filter((function(t){return null!==t.y&&void 0!==t.y})).map((function(t){return t.y}));return{min:Math.min.apply(Math,f()(n)),max:Math.max.apply(Math,f()(n))}},Dg=function(t){function n(n){var e,i,a;return(e=t.call(this)||this).config=(i=n,(new Ig).setInput(i).validateInput().clone().getConfig()),e.type="Line",e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.valuesRange={},e.valuesRange.x=(a=e.config.values.filter((function(t){return null!==t.x&&void 0!==t.x})).map((function(t){return"string"==typeof t.x||t.x instanceof Date?Fs.getEpocFromDateString(t.x):t.x})),{min:Math.min.apply(Math,f()(a)),max:Math.max.apply(Math,f()(a))}),e.valuesRange[e.config.yAxis]=Sg(e.config.values),e.dataTarget={},e}u()(n,t);var e=n.prototype;return e.load=function(t){var n,e,i,a;return this.dataTarget=_g(t.config,this.config),Tg(t.scale,t.config,t.svg,this.dataTarget),Fs.isEmptyArray(this.dataTarget.values)||(Fs.isEmptyArray(this.dataTarget.valueRegionSubset)?Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis):nd(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.valueRegionSubset,"region_".concat(this.dataTarget.key),this.config.yAxis,this.dataTarget.interpolationType)),n=t.config,e={clickHandler:Ag(t,0,t.config,t.svg),hoverHandler:wg(t.config.shownTargets,t.svg)},i=this.dataTarget,a=t.legendSVG,i.label&&i.label.display&&a&&Fu(a,i,n,e),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this},e.unload=function(t){return kg(t.svg,this.dataTarget),qu(t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget),Uu(t.legendSVG,this.dataTarget),Su(t.axesLabelShapeGroup[this.config.yAxis],this.dataTarget,t.config),this.dataTarget={},this.config={},this},e.resize=function(t){return!Fs.isEmptyArray(this.dataTarget.values)&&t.config.shownTargets.indexOf(this.dataTarget.key)>-1&&(Fs.notEmpty(this.dataTarget.regions)||!Fs.isEmptyArray(this.dataTarget.valueRegionSubset)?rd(t.config.shownTargets,t.content)?t.config.shouldHideAllRegion=!1:t.config.shouldHideAllRegion=!id(t.svg):t.config.shouldHideAllRegion=!0),t.config.shouldHideAllRegion&&ad(t.svg),ed(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup),this.dataTarget.valueRegionSubset),this.dataTarget.yAxis,!Fs.isEmptyArray(this.dataTarget.valueRegionSubset),this.dataTarget.interpolationType),xg(t.scale,t.svg,t.config),this},e.reflow=function(t,n){this.config.values=n.values,this.dataTarget=_g(t.config,this.config);var e={clickHandler:Ag(t,0,t.config,t.svg),hoverHandler:wg(t.config.shownTargets,t.svg)},i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.line)).data([this.dataTarget]);if(bg(t.scale,t.config,r.enter()),r.exit().remove(),Nu(t,n,this),t.config.showShapes){t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var o=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class*="'.concat(Zs.point,'"]')).data(gg(this.dataTarget).filter((function(t){return null!==t.y&&void 0!==t.y})));Eg(t.scale,t.config,o.enter(),t.legendSVG),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove()}this.valuesRange[this.config.yAxis]=Sg(this.config.values)},e.redraw=function(t){return kg(t.svg,this.dataTarget),Tg(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(Js),Lg=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){return Us(this.input),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Cg=function(t){var n=t.map((function(t){return Object.keys(t).map((function(n){return t[n].y}))}));return{min:Math.min.apply(Math,f()(n.map((function(t){return Math.min.apply(Math,f()(t))})))),max:Math.max.apply(Math,f()(n.map((function(t){return Math.max.apply(Math,f()(t))}))))}},Ng=function(t){return t.map((function(t){var n={};return md((function(e){null==t[e]||"object"===Ss()(t[e])&&0===Object.keys(t[e]).length||(n[e]=t[e])})),n}))},Mg=function(t){function n(n){var e,i,a;return(e=t.call(this)||this).config=(i=n,(new Lg).setInput(i).validateInput().clone().getConfig()),e.type="PairedResult",e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.config.values=Ng(e.config.values),e.valuesRange={},e.valuesRange.x=(a=e.config.values.map((function(t){return Object.keys(t).map((function(n){return"string"==typeof t[n].x||t[n].x instanceof Date?Fs.getEpocFromDateString(t[n].x):t[n].x}))})),{min:Math.min.apply(Math,f()(a.map((function(t){return Math.min.apply(Math,f()(t))})))),max:Math.max.apply(Math,f()(a.map((function(t){return Math.max.apply(Math,f()(t))}))))}),e.valuesRange[e.config.yAxis]=Cg(e.config.values),e.dataTarget={},e}u()(n,t);var e=n.prototype;return e.load=function(t){var n,e,i,a,r,o=this;return Pd(this.config.values),this.dataTarget=wd(t.config,this.config),_d(t.scale,t.config,t.svg,this.dataTarget),Fs.isEmptyArray(this.dataTarget.values)||!Fs.notEmpty(this.dataTarget.regions)&&!Fs.notEmpty(this.dataTarget.valueRegionSubset)||(n=t.scale,e=t.config,i=t.svg,a=this.dataTarget,(r=i.select(".".concat(Zs.regionGroup)).append("g").classed(Zs.regionPairGroup,!0).attr("aria-describedby","region_".concat(a.key))).call((function(){md((function(t){if(a.valueRegionSubset&&a.valueRegionSubset[t])nd(n,e,r,a.valueRegionSubset[t],"region_".concat(a.key,"_").concat(t),a.yAxis);else if(a.regions&&a.regions[t]){if(!Fs.isArray(a.regions[t])||Fs.isUndefined(a.regions[t]))throw new Error(K);Qu(n,e,r,a.regions[t],"region_".concat(a.key,"_").concat(t),a.yAxis)}}))}))),Nd(t.config,{clickHandler:Ld(t,0,t.config,t.svg),hoverHandler:Cd(t.config,t.svg)},this.dataTarget,t.legendSVG),t.axesLabelShapeGroup[this.config.yAxis]&&md((function(n){Iu(t.config,{key:"".concat(o.dataTarget.key,"_").concat(n),label:yd(o.dataTarget.label,n),color:yd(o.dataTarget.color,n),shape:yd(o.dataTarget.shape,n),values:o.dataTarget.values},t.axesLabelShapeGroup[o.config.yAxis])})),this},e.unload=function(t){var n=this;return Md(t.svg,this.dataTarget),qu(t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget),md((function(e){var i="".concat(n.dataTarget.key,"_").concat(e);Uu(t.legendSVG,{key:i}),Su(t.axesLabelShapeGroup[n.config.yAxis],{key:i},t.config)})),this.dataTarget={},this.config={},this},e.resize=function(t){var n=this;if(Fs.notEmpty(this.dataTarget.values)){if(Fs.notEmpty(this.dataTarget.regions)||Fs.notEmpty(this.dataTarget.valueRegionSubset)){var e=this.dataTarget.values;if(Sd(t.config,t))t.config.shouldHideAllRegion=!1;else if(t.content.length>1){var i=e.every((function(t){return function(t,n){return Object.keys(t).every((function(t){return Object.prototype.hasOwnProperty.call(n,t)}))}(t,n.dataTarget.regions||n.dataTarget.valueRegionSubset)}));t.config.shouldHideAllRegion=!i||t.config.shouldHideAllRegion||!id(t.svg)}ed(t.scale,t.config,t.svg.select('g[aria-describedby="region_'.concat(this.dataTarget.key,'"]')),this.dataTarget.yAxis,Fs.notEmpty(this.dataTarget.valueRegionSubset))}else t.config.shouldHideAllRegion=!0;t.config.shouldHideAllRegion&&ad(t.svg)}return Id(t.scale,t.svg,t.config),this},e.reflow=function(t,n){var e=this,i={clickHandler:Ld(t,0,t.config,t.svg),hoverHandler:Cd(t.config,t.svg)};this.config.values=Fs.deepClone(n.values),this.config.values=Ng(this.config.values),Pd(this.config.values),this.dataTarget=wd(t.config,this.config,!0),["high","mid","low"].forEach((function(e){var a=yd(t.contentConfig[0].label,e);if(a&&a.display){var r=t.contentConfig.filter((function(t){return t.key===n.key}));Fs.isEmptyArray(r)||Ku(t.legendSVG,function(t,n){return{shape:yd(t.shape,n),color:yd(t.color,n),label:yd(t.label,n),key:"".concat(t.key,"_").concat(n),values:t.values,legendOptions:t.legendOptions,type:n}}(r[0],e),t,i)}})),md((function(n){var i="".concat(e.dataTarget.key,"_").concat(n);Su(t.axesLabelShapeGroup[e.config.yAxis],{key:i},t.config)})),Fs.isEmpty(n.values)||md((function(n){Iu(t.config,{key:"".concat(e.dataTarget.key,"_").concat(n),label:yd(e.dataTarget.label,n),color:yd(e.dataTarget.color,n),shape:yd(e.dataTarget.shape,n),values:e.dataTarget.values},t.axesLabelShapeGroup[e.config.yAxis])}));var a=Td(this.dataTarget);t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pairedBox)).remove();var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pairedBox)).data(a);r.enter().append("g").classed(Zs.pairedBox,!0).attr("aria-selected",!1).attr("transform","translate(".concat(Kc(t.config),",").concat(Wc(t.config),")")).call((function(n){pd(t.scale,t.config,n),bd(t.scale,t.config,n),Ed(t.scale,t.config,n,t.legendSVG)})),r.exit().remove(),this.valuesRange[this.config.yAxis]=Cg(this.config.values),this.resize(t)},e.redraw=function(t){return Md(t.svg,this.dataTarget),_d(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(Js),Rg=function(t,n){return n.height?n.height:ks.PIE_CHART_DEFAULT_HEIGHT},Og=function(){return function(){var t=Zo,n=Jo,e=null,i=wo(0),a=wo(Oo),r=wo(0);function o(o){var s,c,l,u,d,f=o.length,h=0,g=new Array(f),p=new Array(f),y=+i.apply(this,arguments),m=Math.min(Oo,Math.max(-Oo,a.apply(this,arguments)-y)),v=Math.min(Math.abs(m)/f,r.apply(this,arguments)),x=v*(m<0?-1:1);for(s=0;s0&&(h+=d);for(null!=n?g.sort((function(t,e){return n(p[t],p[e])})):null!=e&&g.sort((function(t,n){return e(o[t],o[n])})),s=0,l=h?(m-f*x)/h:0;s0?d*l:0)+x,p[c]={data:o[c],index:s,value:d,startAngle:y,endAngle:u,padAngle:v};return p}return o.value=function(n){return arguments.length?(t="function"==typeof n?n:wo(+n),o):t},o.sortValues=function(t){return arguments.length?(n=t,e=null,o):n},o.sort=function(t){return arguments.length?(e=t,n=null,o):e},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:wo(+t),o):i},o.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:wo(+t),o):a},o.padAngle=function(t){return arguments.length?(r="function"==typeof t?t:wo(+t),o):r},o}().value((function(t){return t.value}))},Pg=function(t){return function(){var t=Fo,n=Uo,e=wo(0),i=null,a=Ho,r=Bo,o=Vo,s=null;function c(){var c,l,u=+t.apply(this,arguments),d=+n.apply(this,arguments),f=a.apply(this,arguments)-Ro,h=r.apply(this,arguments)-Ro,g=ko(h-f),p=h>f;if(s||(s=c=Ao()),d1e-12)if(g>Oo-1e-12)s.moveTo(d*So(f),d*Co(f)),s.arc(0,0,d,f,h,!p),u>1e-12&&(s.moveTo(u*So(h),u*Co(h)),s.arc(0,0,u,h,f,p));else{var y,m,v=f,x=h,b=f,E=h,T=g,_=g,A=o.apply(this,arguments)/2,w=A>1e-12&&(i?+i.apply(this,arguments):No(u*u+d*d)),k=Lo(ko(d-u)/2,+e.apply(this,arguments)),I=k,S=k;if(w>1e-12){var D=Go(w/u*Co(A)),L=Go(w/d*Co(A));(T-=2*D)>1e-12?(b+=D*=p?1:-1,E-=D):(T=0,b=E=(f+h)/2),(_-=2*L)>1e-12?(v+=L*=p?1:-1,x-=L):(_=0,v=x=(f+h)/2)}var C=d*So(v),N=d*Co(v),M=u*So(E),R=u*Co(E);if(k>1e-12){var O,P=d*So(x),G=d*Co(x),F=u*So(b),U=u*Co(b);if(g1e-12?S>1e-12?(y=Xo(F,U,C,N,d,S,p),m=Xo(P,G,M,R,d,S,p),s.moveTo(y.cx+y.x01,y.cy+y.y01),S1e-12&&T>1e-12?I>1e-12?(y=Xo(M,R,P,G,u,-I,p),m=Xo(C,N,F,U,u,-I,p),s.lineTo(y.cx+y.x01,y.cy+y.y01),I-1?a.splice(o,1):a.push(r.key),i.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(n.key,'"]')).attr("aria-hidden",Bu(mo(t))),window.requestAnimationFrame((function(){}))}},bp=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}])}},Ep=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},Tp=function(t,n){var e=Fs.deepClone(t.axis);return n.clipPathId=Vs(),n.bindTo=t.bindTo,n.bindLegendTo=t.bindLegendTo,n.padding=function(t,n){return Fs.isDefined(t.padding)?{top:Hs(n.top,ks.PADDING.top),bottom:Hs(n.bottom,ks.PADDING.bottom),right:Hs(n.right,ks.PADDING.right),left:Hs(n.left,ks.PADDING.left),hasCustomPadding:!0}:{top:ks.PADDING.top,bottom:ks.PADDING.bottom,right:ks.PADDING.right,left:ks.PADDING.left,hasCustomPadding:!1}}(n,t.padding),n.padding.hasCustomPadding=Fs.isDefined(t.padding),n.legendPadding=ju(n,t.legendPadding),n.axis={x:{}},n.d3Locale=Hs(t.locale,dc),n.throttle=Hs(t.throttle,ks.RESIZE_THROTTLE),n.settingsDictionary=function(t){return Ws(t)?{shouldClamp:!1,transition:ks.D3_TRANSITION_PROPERTIES_DISABLED}:{shouldClamp:!0,transition:ks.D3_TRANSITION_PROPERTIES_ENABLED}}(t),n.showLabel=Hs(t.showLabel,!0),n.showLegend=Hs(t.showLegend,!0),n.axis.x=Sf()(e.x,{type:_s.TIME_SERIES,show:!0,ticks:Hs(e.x.ticks,{}),domain:js(_s.TIME_SERIES,e.x.lowerLimit,e.x.upperLimit),rangeRounding:Hs(e.x.rangeRounding,!0)}),n.shownTargets=[],n},_p=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){if(Fs.isEmpty(this.input))throw new Error(_);if(Fs.isEmpty(this.input.bindTo))throw new Error(T);if(Fs.isEmpty(this.input.axis)||Fs.isEmpty(this.input.axis.x))throw new Error(L);if(Fs.isEmpty(this.input.axis.x.lowerLimit)||Fs.isEmpty(this.input.axis.x.upperLimit))throw new Error(C);if(!Fs.isDate(this.input.axis.x.lowerLimit)||!Fs.isDate(this.input.axis.x.upperLimit))throw new Error(R);return this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),Ap=function(t){if(!Fs.isDate(t))throw new Error(O);return Fs.parseDateTime(t)},wp=function(t,n){return t.shownTargets.push(n.key),n.internalValuesSubset=n.values.map((function(t){return{onClick:n.onClick,isCritical:t.isCritical||!1,x:Ap(t.x),content:t.content,color:n.color||ks.DEFAULT_COLOR,label:n.label||{},shape:n.shape||Es.CIRCLE,key:n.key}})),n},kp=function(t,n,e,i,a){var r=function(t,n,e){return n.append("g").classed(Zs.timelineContentGroup,!0).attr("transform","translate(".concat(sp(t),",0)")).attr("aria-labelledby",e.label.display).attr("aria-describedby",e.key)}(e,i,t.config).selectAll(".".concat(Zs.point)).data(a.internalValuesSubset);vp(n,e,r.enter()),r.exit().transition().call(ks.d3Transition).remove()},Ip=function(t){return function(t){if(Fs.isEmpty(t))throw new Error(A);if(Fs.isEmpty(t.key))throw new Error(I);if(Fs.isEmpty(t.label)||Fs.isEmpty(t.label.display))throw new Error(S);if(Fs.isEmpty(t.values))throw new Error(w)}(t),Fs.deepClone(t)},Sp=function(t){function n(n){var e;return(e=t.call(this)||this).config=Ip(n),e.dataTarget=null,e}u()(n,t);var e=n.prototype;return e.load=function(t){if(!rg(t.contentConfig,this.config.key))throw new Error(I);var n,e,i,a;return this.dataTarget=wp(t.config,this.config),kp(this,t.scale,t.config,t.svg.select(".".concat(Zs.timelineGraphContent)),this.dataTarget),n=t.config,e={clickHandler:xp(0,0,t.config,t.svg),hoverHandler:bp(t.config.shownTargets,t.svg)},i=this.dataTarget,a=t.legendSVG,i.label&&i.label.display&&a&&Fu(a,i,n,e),this},e.unload=function(t){return Ep(t.svg,this.dataTarget),Uu(t.legendSVG,this.dataTarget),this.dataTarget={},this.config={},this},e.resize=function(t){return ap(t.scale,t.config,t.svg,this.config.key,".".concat(Zs.point)),ap(t.scale,t.config,t.svg,this.config.key,".".concat(Zs.dataPointSelection)),this},e.reflow=function(t,n){this.config.values=n.values,this.dataTarget=wp(t.config,this.config);var e=t.config.shownTargets.lastIndexOf(n.key);e>-1&&t.config.shownTargets.splice(e,1),t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var i=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll('[class*="'.concat(Zs.point,'"]')).data(this.dataTarget.internalValuesSubset);vp(t.scale,t.config,i.enter()),i.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),this.resize(t)},e.redraw=function(t){return Ep(t.svg,this.dataTarget),kp(this,t.scale,t.config,t.svg.select(".".concat(Zs.timelineGraphContent)),this.dataTarget),this},n}(Js),Dp=ks.BASE_CANVAS_WIDTH_PADDING,Lp=function(t,n){n.canvasWidth=parseInt(t.style("width"),10)-kf(t)},Cp=function(t){var n;return t.graphContainer=mo(t.config.bindTo),t.config.height=(n=t.config,op+n.padding.top-n.padding.bottom),t},Np=function(t){return t.graphContainer=null,t.config={axis:{x:{}},shownTargets:{},pan:{}},t.axis={},t.scale={},t.svg=null,t.legendSVG=null,t.content=[],t.contentConfig=[],t.resizeHandler=null,t},Mp=function(t){var n;return Lp(t.graphContainer,t.config),(n=t.config).axisSizes={},n.axisSizes.x=hl(n),function(t){t.axisLabelHeights={},t.axisLabelHeights.x=0,t.showLabel&&t.axis.x.label&&(t.axisLabelHeights.x=xl(t.axis.x.label))}(t.config),function(t){t.canvasHeight=qc(t)+2*(2*t.padding.bottom+t.padding.top)}(t.config),hp(t.scale,t.config),t},Rp=function(t){function n(n){var e;return e=t.call(this)||this,Np(c()(e)),e.generate(n),e}u()(n,t);var e=n.prototype;return e.generate=function(t){var n;this.config=(n=t,(new _p).setInput(n).validateInput().clone().getConfig()),Tp(t,this.config),Cp(this),Mp(this);var e=mo(this.config.bindTo).append("div").classed(Zs.timelineContainer,!0).style("padding-top",this.config.removeContainerPadding&&0).style("padding-bottom",this.config.removeContainerPadding&&0);this.svg=e.insert("svg",":first-child").classed(Zs.canvas,!0).attr("role","img").attr("height",this.config.canvasHeight).attr("width",this.config.padding.hasCustomPadding?this.config.canvasWidth:this.config.canvasWidth-Dp),gp(this.config,this.svg),pp(this.axis,this.scale,this.config,this.svg);var i,a=document.querySelector(".".concat(Zs.timelineContainer)).querySelectorAll(".tick"),r=a[0].getBoundingClientRect().width,o=a[a.length-1].getBoundingClientRect().width;return document.querySelector(".".concat(Zs.timelineContainer)).querySelector(".carbon-axis.carbon-axis-x").getBoundingClientRect().width+r/2+o/2>this.config.canvasWidth&&(mo(".".concat(Zs.timelineContainer)).select("defs").remove(),mo(".".concat(Zs.timelineContainer)).select(".".concat(Zs.axisX)).remove(),this.config.padding.left=r/2,this.config.padding.right=o/2,gp(this.config,this.svg),pp(this.axis,this.scale,this.config,this.svg)),i=this.config,this.svg.append("g").classed(Zs.timelineGraphContent,!0).attr("clip-path","url(#".concat(i.clipPathId,")")),function(t,n){if(t.showLabel&&t.axis.x.label){var e=n.append("g").classed(Zs.axisLabelX,!0).attr("transform","translate(".concat(up(t),",").concat(dp(t),") rotate(").concat(il(ks.X_AXIS),")"));ml(e,Fs.sanitize(t.axis.x.label))}}(this.config,this.svg),this.config.showLegend&&(this.legendSVG=Hu(this.config,this.config.bindLegendTo?mo(this.config.bindLegendTo):e)),du(this),this.svg},e.resize=function(){var t=this;return Lp(this.graphContainer,this.config),hp(this.scale,this.config),rp(this),this.contentConfig.forEach((function(n){return n.resize(t)})),this},e.loadContent=function(t){var n=this;return Rd(t,(function(t){var e=new Sp(t);e.load(n),n.content.push(t.key),n.contentConfig.push(e)})),this.resize(),this},e.unloadContent=function(t){var n=this;return Rd(t,(function(t){var e=n.content.indexOf(t.key);if(e<0)throw new Error(P);n.contentConfig[e].unload(n),n.content.splice(e,1),n.contentConfig.splice(e,1)})),this.resize(),this},e.reflow=function(t){console.warn("reflow is deprecated and will be removed a future major release. Please use reflowMultipleDatasets instead.");var n={clickHandler:xp(0,0,this.config,this.svg),hoverHandler:bp(this.config.shownTargets,this.svg)};if(Al(this.config),hp(this.scale,this.config),ep(this.axis,this.scale,this.config,this.svg),t&&t.values&&this.content.includes(t.key)){var e=this.content.findIndex((function(n){return n===t.key}));this.contentConfig[e].reflow(this,t)}return this.config.showLegend&&Ku(this.legendSVG,this.contentConfig[0].config,this,n),this.resize(),this},e.reflowMultipleDatasets=function(t){var n=this,e={clickHandler:xp(0,0,this.config,this.svg),hoverHandler:bp(this.config.shownTargets,this.svg)};return Al(this.config),hp(this.scale,this.config),ep(this.axis,this.scale,this.config,this.svg),t&&t.panData&&!Fs.isEmptyArray(t.panData)&&t.panData.forEach((function(t){var e=n.content.findIndex((function(n){return n===t.key}));e>-1&&n.contentConfig[e].reflow(n,t)})),this.config.showLegend&&Ku(this.legendSVG,this.contentConfig[0].config,this,e),this.resize(),this},e.destroy=function(){return fu(this),hu(this.graphContainer,".".concat(Zs.canvas)),hu(this.graphContainer,".".concat(Zs.timelineContainer)),Np(this),this},n}(wf),Op=function(t){return function(n){return function(e){var i;return"translate(".concat((i=n,t.x(i.x)),",").concat(function(n){return t[n.yAxis](n.y)}(n),") scale(").concat(e,")")}}},Pp=function(t,n,e,i){return n.selectAll(".".concat(Zs.scatterGraphContent," .").concat(e)).each((function(n){mo(this).select("g").transition().call(ks.d3Transition(i.settingsDictionary.transition)).attr("transform",(function(){return Op(t)(n)(Pl(this))}))}))},Gp=function(t,n,e){Fs.isEmpty(t.onClick)||function(t){var n=mo(t.parentNode).select(".".concat(Zs.dataPointSelection));return n.attr("aria-hidden",!("true"===n.attr("aria-hidden"))),n}(e).call((function(e){return t.onClick((function(){e.attr("aria-hidden",!0)}),t.key,n,t,e)}))},Fp=function(t){return t.internalValuesSubset},Up=function(t,n,e,i){var a=function(n,e,i,a){return n.append((function(){var n;return new sc(lu(e)).getShapeElement(rc({svgClassNames:"".concat(Zs.point," ").concat(a),transformFn:Op(t)(e),onClickFn:function(){Gp(e,i,this)},a11yAttributes:{"aria-hidden":"false"===(null===(n=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(e.key,'"]')))||void 0===n?void 0:n.getAttribute("aria-current")),"aria-describedby":e.key,"aria-disabled":!Fs.isFunction(e.onClick)}}))}))};e.append("g").classed(Zs.pointGroup,!0).each((function(e,r){var o,s,c=mo(this);o=e,s=r,c.append((function(){return new sc(cd(Es.CIRCLE,ks.DEFAULT_PLOT_SELECTION_SCALE)).getShapeElement(rc({svgClassNames:Zs.dataPointSelection,transformFn:Op(t)(o),onClickFn:function(){Gp(o,s,this)},a11yAttributes:{"aria-hidden":!0,"aria-describedby":o.key,"aria-disabled":!Fs.isFunction(o.onClick)}}))})),e.isCritical&&(n.hasCriticality=!0,a(c,e,r,Zs.criticalityOuterPoint),a(c,e,r,Zs.criticalityInnerPoint)),function(n,e,a){n.append((function(){var n;return new sc(lu(e)).getShapeElement(rc({svgClassNames:Zs.point,svgStyles:"fill: ".concat(uu(e),";"),transformFn:Op(t)(e),onClickFn:function(){Gp(e,a,this)},a11yAttributes:{"aria-hidden":i?"false"===(null===(n=i.select(".".concat(Zs.legendItem,"[aria-describedby='").concat(e.key,"']")))||void 0===n?void 0:n.attr("aria-current")):"false","aria-describedby":e.key,"aria-disabled":!Fs.isFunction(e.onClick)}}))}))}(c,e,r)}))},Hp=function(t,n,e,i,a){var r=e.append("g").classed(Zs.scatterGraphContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-hidden",n.shownTargets.indexOf(i.key)<0).attr("aria-describedby",i.key),o=r.selectAll(".".concat(Zs.currentPointsGroup)).data([i]);o.enter().append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")),o.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove();var s=r.select(".".concat(Zs.currentPointsGroup)).selectAll(".".concat(Zs.point)).data(Fp(i));Up(t,n,s.enter(),a),s.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()},Bp=function(t,n){var e=t.axis.x.type,i=function(t){if(!Nl(t,e))throw new Error(O);return Ks(t,e)};return n.interpolationType=Xs(n.type),n.showShapes=!0,t.shownTargets.push(n.key),n.internalValuesSubset=n.values.map((function(t){return{onClick:n.onClick,isCritical:t.isCritical||!1,x:i(t.x),y:t.y,color:n.color||ks.DEFAULT_COLOR,label:n.label||{},shape:n.shape||Es.CIRCLE,yAxis:n.yAxis||ks.Y_AXIS,key:n.key}})),n},Vp=function(t,n,e,i){return function(n,a){Vu(n);var r,o,s,c=Bu(mo(n));o=a,(s=(r=e.shownTargets).indexOf(o.key))>-1?r.splice(s,1):r.push(o.key),i.selectAll(".".concat(Zs.dataPointSelection,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",!0),i.selectAll('path[aria-describedby="'.concat(a.key,'"]')).attr("aria-hidden",c),i.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",c),window.requestAnimationFrame(function(t,n,e){return function(){od(t,n,e)}}(t,e,i))}},Yp=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}]),n.selectAll('path[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),n.selectAll('svg[aria-describedby="'.concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),sd(t,n,e.key,i)}},Xp=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},zp=function(t){function n(){var n;return(n=t.call(this)||this).config=null,n.input=null,n}u()(n,t);var e=n.prototype;return e.getConfig=function(){return this.config},e.setInput=function(t){return this.input=t,this},e.validateInput=function(){return Us(this.input),this},e.clone=function(){return this.config=Fs.deepClone(this.input),this},n}(Mt),jp=function(t){var n=t.filter((function(t){return null!==t.y&&void 0!==t.y})).map((function(t){return t.y}));return{min:Math.min.apply(Math,f()(n)),max:Math.max.apply(Math,f()(n))}},Kp=function(t){function n(n){var e,i,a;return(e=t.call(this)||this).config=(i=n,(new zp).setInput(i).validateInput().clone().getConfig()),e.type="Scatter",e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.valuesRange={},e.valuesRange.x=(a=e.config.values.filter((function(t){return null!==t.x&&void 0!==t.x})).map((function(t){return"string"==typeof t.x||t.x instanceof Date?Fs.getEpocFromDateString(t.x):t.x})),{min:Math.min.apply(Math,f()(a)),max:Math.max.apply(Math,f()(a))}),e.valuesRange[e.config.yAxis]=jp(e.config.values),e.dataTarget={},e}u()(n,t);var e=n.prototype;return e.load=function(t){var n,e,i,a;return Od(this.config.values),this.dataTarget=Bp(t.config,this.config),Hp(t.scale,t.config,t.svg,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis),n=t.config,e={clickHandler:Vp(t,0,t.config,t.svg),hoverHandler:Yp(t.config.shownTargets,t.svg)},i=this.dataTarget,a=t.legendSVG,i.label&&i.label.display&&a&&Fu(a,i,n,e),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this},e.unload=function(t){return Xp(t.svg,this.dataTarget),qu(t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget),Uu(t.legendSVG,this.dataTarget),Su(t.axesLabelShapeGroup[this.config.yAxis],this.dataTarget,t.config),this.dataTarget={},this.config={},this},e.resize=function(t){var n,e,i;return Fs.notEmpty(this.dataTarget.regions)?t.content.length>1&&!t.config.shouldHideAllRegion&&(id(t.svg)?t.config.shouldHideAllRegion=!1:(ad(t.svg),t.config.shouldHideAllRegion=!0)):(ad(t.svg),t.config.shouldHideAllRegion=!0),ed(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup))),n=t.scale,e=t.svg,i=t.config,mu(e,Zs.currentPointsGroup,i),Pp(n,e,Zs.point,i),Pp(n,e,Zs.dataPointSelection,i),this},e.reflow=function(t,n){this.config.values=n.values,Od(this.config.values);var e={clickHandler:Vp(t,0,t.config,t.svg),hoverHandler:Yp(t.config.shownTargets,t.svg)};this.dataTarget=Bp(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e),t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class*="'.concat(Zs.point,'"]')).data(Fp(this.dataTarget));Up(t.scale,t.config,r.enter(),t.legendSVG),r.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),Nu(t,n,this),this.valuesRange[this.config.yAxis]=jp(this.config.values)},e.redraw=function(t){return Xp(t.svg,this.dataTarget),Hp(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(Js),Wp=function(t){return We().domain([t.weight.min,t.weight.max]).range([ks.DEFAULT_BUBBLE_RADIUS_MIN,ks.DEFAULT_BUBBLE_RADIUS_MAX])},qp=function(t){var n,e=t.hue.lowerShade,i=t.hue.upperShade;return n=Fs.isUndefined(t.weight)?t.values.map((function(t){return t.y})):t.values.map((function(n){return Wp(t)(n.weight)})),We().domain(Vt(n)).range([e,i])},Jp=function(t){var n,e=[];if(n=Fs.isUndefined(t.weight)?t.values.map((function(t){return t.y})):t.values.map((function(n){return Wp(t)(n.weight)})),Fs.isDefined(t.palette))switch(e=t.palette,t.values.length){case 4:3===e.length&&e.unshift(bs.PALETTE.GRAY);break;case 2:1===e.length&&e.splice(1,1);break;case 1:1===e.length&&e.splice(1,2);break;default:e=t.palette}return function t(){var n,e=[],i=[],a=[];function r(){var t=0,n=Math.max(1,i.length);for(a=new Array(n-1);++t0?a[n-1]:e[0],n-1?r.splice(s,1):r.push(o.key),i.selectAll(".".concat(Zs.dataPointSelection,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",!0),i.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(a.key,'"]')).attr("aria-hidden",c),window.requestAnimationFrame(function(t,n,e){return function(){od(t,n,e)}}(t,e,i))}},fy=function(t,n){return function(e,i){Yu(t,n,e.key,i,[function(t,n,e,a,r){n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(r,'"]')).classed(Zs.blur,i===ks.HOVER_EVENT.MOUSE_ENTER)}]),n.selectAll(".".concat(Zs.point,'[aria-describedby="').concat(e.key,'"]')).classed(Zs.highlight,i===ks.HOVER_EVENT.MOUSE_ENTER),sd(t,n,e.key,i)}},hy=function(t,n,e,i){e.label&&e.label.display&&i&&Fu(i,e,t,n)},gy=function(t,n){return hu(t,'g[aria-describedby="'.concat(n.key,'"]'))},py=function(t){var n=t.filter((function(t){return null!==t.x&&void 0!==t.x})).map((function(t){return"string"==typeof t.x||t.x instanceof Date?Fs.getEpocFromDateString(t.x):t.x}));return{min:Math.min.apply(Math,f()(n)),max:Math.max.apply(Math,f()(n))}},yy=function(t){var n=t.filter((function(t){return null!==t.y})).map((function(t){return t.y}));return{min:Math.min.apply(Math,f()(n)),max:Math.max.apply(Math,f()(n))}},my=function(t){function n(n){var e,i;return(e=t.call(this)||this).config=(i=n,(new Zp).setInput(i).validateInput().clone().getConfig()),e.config.yAxis=Hs(e.config.yAxis,ks.Y_AXIS),e.valuesRange={},e.valuesRange.x=py(e.config.values),e.valuesRange[e.config.yAxis]=yy(e.config.values),e.dataTarget={},e}u()(n,t);var e=n.prototype;return e.load=function(t){return console.warn("Bubble will be deprecated in a future release. Please use BubbleSingleDataset or BubbleMultipleDataset"),this.dataTarget=uy(t.config,this.config),ly(t.scale,t.config,t.svg,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis),hy(t.config,{clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)},this.dataTarget,t.legendSVG),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this},e.unload=function(t){return gy(t.svg,this.dataTarget),qu(t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget),Uu(t.legendSVG,this.dataTarget),Su(t.axesLabelShapeGroup[this.config.yAxis],this.dataTarget,t.config),this.dataTarget={},this.config={},this},e.resize=function(t){return Fs.notEmpty(this.dataTarget.regions)?t.content.length>1&&!t.config.shouldHideAllRegion&&(id(t.svg)?t.config.shouldHideAllRegion=!1:(ad(t.svg),t.config.shouldHideAllRegion=!0)):(ad(t.svg),t.config.shouldHideAllRegion=!0),ed(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup))),ey(t.scale,t.svg,t.config),this},e.reflow=function(t,n){var e={clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)};this.config.values=n.values,this.dataTarget=uy(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).data([this.dataTarget]);r.exit().remove(),r.selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var o=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class="'.concat(Zs.point,'"]')).data(iy(this.dataTarget));cy(t.scale,t.config,o.enter(),this.dataTarget,t.legendSVG),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),this.valuesRange.x=py(this.config.values),this.valuesRange[this.config.yAxis]=yy(this.config.values)},e.redraw=function(t){return gy(t.svg,this.dataTarget),ly(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(Js),vy=function(t,n){return Fs.isDefined(t.color)?t.color:Fs.isDefined(t.palette)?ay(t)?Jp(t)(Wp(t)(n.weight)):Jp(t)(n.y):void 0},xy=function(t,n){return ay(t)&&Fs.isUndefined(t.weight.fixedRadius)?Wp(t)(n.weight):Fs.isUndefined(t.weight)?ks.DEFAULT_BUBBLE_RADIUS_MAX:t.weight.fixedRadius},by=function(t,n,e,i){e.append("g").classed(Zs.pointGroup,!0).each((function(n,e){var a,r,o=mo(this);a=n,r=e,o.append("g").classed(Zs.dataPointSelection,!0).attr("transform",$p(t)(a)).attr("aria-disabled",Fs.isDefined(a.onClick)).attr("aria-hidden",!0).attr("aria-describedby",a.key).on("click",(function(){ny(a,r,this)})).append("circle").attr("r",(function(t){return xy(i,t)+ks.DEFAULT_BUBBLE_SELECTOR_RADIUS})),function(n,e,a){var r;n.append("g").classed(Zs.point,!0).attr("aria-disabled",!Fs.isFunction(e.onClick)).attr("transform",$p(t)(e)).attr("aria-describedby","".concat(e.key)).attr("aria-selected",!1).attr("aria-hidden","false"===(null===(r=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(e.key,'"]')))||void 0===r?void 0:r.getAttribute("aria-current"))).on("click",(function(){ny(e,a,this)})).append("circle").attr("aria-describedby",e.key).attr("r",(function(t){return xy(i,t)})).attr("fill",(function(t){return vy(i,t)})).attr("fill-opacity",ks.DEFAULT_BUBBLE_OPACITY).attr("stroke",(function(t){return vy(i,t)}))}(o,n,e)}))},Ey=function(t,n,e,i){var a=e.append("g").classed(Zs.bubbleGraphContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-hidden",n.shownTargets.indexOf(i.key)<0).attr("aria-describedby",i.key),r=a.selectAll(".".concat(Zs.currentPointsGroup)).data([i]);r.enter().append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")),r.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove();var o=a.select(".".concat(Zs.currentPointsGroup)).selectAll(".".concat(Zs.point)).data(iy(i));by(t,0,o.enter(),i),o.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()},Ty=function(t){function n(){return t.apply(this,arguments)||this}u()(n,t);var e=n.prototype;return e.load=function(t){return t.content.length>1?(console.warn("BubbleSingleDataset can only use one dataset."),this):Fs.isUndefined(t.content[0].config.color)&&Fs.isDefined(t.content[0].config.palette)&&t.content[0].config.values.length>bs.MAX_BUBBLES_SINGLE_DATASET?(console.warn("Cannot plot more than 4 bubbles using shades."),this):(Od(this.config.values),this.dataTarget=uy(t.config,this.config),Ey(t.scale,t.config,t.svg,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis),hy(t.config,{clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)},this.dataTarget,t.legendSVG),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this)},e.resize=function(t){return Fs.isEmpty(this.dataTarget.regions)&&(ad(t.svg),t.config.shouldHideAllRegion=!0),ed(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup))),ey(t.scale,t.svg,t.config),this},e.reflow=function(t,n){var e={clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)};this.config.values=n.values,Od(this.config.values),this.dataTarget=uy(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).data([this.dataTarget]);r.exit().remove(),r.selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var o=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class="'.concat(Zs.point,'"]')).data(iy(this.dataTarget));by(t.scale,t.config,o.enter(),this.dataTarget,t.legendSVG),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),this.valuesRange.x=py(this.config.values),this.valuesRange[this.config.yAxis]=yy(this.config.values)},e.redraw=function(t){return gy(t.svg,this.dataTarget),Ey(t.scale,t.config,t.svg,this.dataTarget,t.legendSVG),this},n}(my),_y=function(t,n){return ay(t)&&Fs.isUndefined(t.weight.fixedRadius)?Wp(t)(n.weight):Fs.isUndefined(t.weight)?ks.DEFAULT_BUBBLE_RADIUS_MAX:t.weight.fixedRadius},Ay=function(t,n,e,i){e.append("g").classed(Zs.pointGroup,!0).each((function(n,e){var a,r,o=mo(this);a=n,r=e,o.append("g").classed(Zs.dataPointSelection,!0).attr("transform",$p(t)(a)).attr("aria-disabled",Fs.isDefined(a.onClick)).attr("aria-hidden",!0).attr("aria-describedby",a.key).on("click",(function(){ny(a,r,this)})).append("circle").attr("r",(function(t){return _y(i,t)+ks.DEFAULT_BUBBLE_SELECTOR_RADIUS})),function(n,e,a){var r;n.append("g").classed(Zs.point,!0).attr("aria-disabled",!Fs.isFunction(e.onClick)).attr("transform",$p(t)(e)).attr("aria-describedby","".concat(e.key)).attr("aria-selected",!1).attr("aria-hidden","false"===(null===(r=document.querySelector(".".concat(Zs.legendItem,'[aria-describedby="').concat(e.key,'"]')))||void 0===r?void 0:r.getAttribute("aria-current"))).on("click",(function(){ny(e,a,this)})).append("circle").attr("aria-describedby",e.key).attr("r",(function(t){return _y(i,t)})).attr("fill",(function(){return i.color})).attr("fill-opacity",ks.DEFAULT_BUBBLE_OPACITY).attr("stroke",(function(){return i.color}))}(o,n,e)}))},wy=function(t){function n(){return t.apply(this,arguments)||this}u()(n,t);var e=n.prototype;return e.load=function(t){return t.content.length>bs.MAX_DATASETS_MULTIPLE_API?(console.warn("BubbleMultipleDataset is limited to a maximum of 7 datasets"),this):(Od(this.config.values),this.dataTarget=uy(t.config,this.config),function(t,n,e,i){var a=e.append("g").classed(Zs.bubbleGraphContent,!0).attr("clip-path","url(#".concat(n.clipPathId,")")).attr("aria-hidden",n.shownTargets.indexOf(i.key)<0).attr("aria-describedby",i.key),r=a.selectAll(".".concat(Zs.currentPointsGroup)).data([i]);r.enter().append("g").classed(Zs.currentPointsGroup,!0).attr("transform","translate(".concat(Kc(n),",").concat(Wc(n),")")),r.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove();var o=a.select(".".concat(Zs.currentPointsGroup)).selectAll(".".concat(Zs.point)).data(iy(i));Ay(t,0,o.enter(),i),o.exit().transition().call(ks.d3Transition(n.settingsDictionary.transition)).remove()}(t.scale,t.config,t.svg,this.dataTarget),Fs.notEmpty(this.dataTarget.regions)&&Qu(t.scale,t.config,t.svg.select(".".concat(Zs.regionGroup)),this.dataTarget.regions,"region_".concat(this.dataTarget.key),this.config.yAxis),hy(t.config,{clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)},this.dataTarget,t.legendSVG),Iu(t.config,this.dataTarget,t.axesLabelShapeGroup[this.config.yAxis]),this)},e.reflow=function(t,n){var e={clickHandler:dy(t,0,t.config,t.svg),hoverHandler:fy(t.config.shownTargets,t.svg)};this.config.values=n.values,Od(this.config.values),this.dataTarget=uy(t.config,this.config);var i=t.config.shownTargets.lastIndexOf(n.key);i>-1&&t.config.shownTargets.splice(i,1);var a=t.content.filter((function(t){return t.config.key===n.key}));Fs.isEmptyArray(a)||Ku(t.legendSVG,a[0].config,t,e);var r=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).data([this.dataTarget]);r.exit().remove(),r.selectAll(".".concat(Zs.pointGroup)).data(this.dataTarget).exit().remove();var o=t.svg.select('g[aria-describedby="'.concat(n.key,'"]')).select(".".concat(Zs.currentPointsGroup)).selectAll('[class="'.concat(Zs.point,'"]')).data(iy(this.dataTarget));Ay(t.scale,t.config,o.enter(),this.dataTarget,t.legendSVG),o.exit().transition().call(ks.d3Transition(t.config.settingsDictionary.transition)).remove(),this.valuesRange.x=py(this.config.values),this.valuesRange[this.config.yAxis]=yy(this.config.values)},n}(my),ky={gantt:function(t){return new ig(t)},graph:function(t){return new hg(t)},line:function(t){return new Dg(t)},pairedResult:function(t){return new Mg(t)},timeline:function(t){return new Rp(t)},pie:function(t){return new np(t)},bar:function(t){return new Af(t)},scatter:function(t){return new Kp(t)},bubble:function(t){return new my(t)},bubbleSingleDataset:function(t){return new Ty(t)},bubbleMultipleDataset:function(t){return new wy(t)}};function Iy(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function Sy(t){for(var n=1;n=0||(a[e]=t[e]);return a}(t,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}var s={},c="wrapper";function l(t){var n=t.components,e=o(t,a);return(0,i.mdx)(c,r({},s,e,{components:n,mdxType:"MDXLayout"}),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-css"},'svg:not(:root){overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.carbon-svg-icon{width:.625rem;height:.625rem;display:inline-block}.carbon-graph-container,.carbon-timeline-container{display:block;color:#1c1f21;padding-bottom:.8333rem;padding-top:.8333rem;width:100%}.carbon-graph-canvas{display:block;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.carbon-axis line,.carbon-axis path.domain{fill:none;stroke:#bcbfc0}.carbon-content-container,.carbon-grid line{shape-rendering:auto}.carbon-axis-info-row[aria-hidden=true],.carbon-axis-x[aria-hidden=true],.carbon-axis-y2[aria-hidden=true],.carbon-axis-y[aria-hidden=true]{display:none}.carbon-axis.carbon-axis-reference-line{stroke-width:2px;stroke:#bcbfc0}.carbon-grid>* .domain[stroke],.carbon-grid line{stroke:#e8e9ea}.carbon-lower-step-grid line{stroke:#9b9b9b;stroke-width:1px}.carbon-midpoint-grid line{stroke:#e8e9ea;stroke-width:1px}.carbon-upper-step-grid line{stroke:#bcbfc0;stroke-width:3px}.carbon-no-data-text{fill:#1c1f21}.carbon-legend{display:-ms-flexbox;display:flex;list-style-type:none;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex:1 1 100%;flex:1 1 100%;margin:0;padding:0}.carbon-legend .carbon-legend-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:.5rem;outline:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.carbon-legend .carbon-legend-item .carbon-legend-item-btn{font-size:inherit;-ms-flex-item-align:start;align-self:flex-start;-ms-flex-line-pack:center;align-content:center;margin-right:.5rem;padding:0;height:1.875rem;width:2.1875rem;border-radius:.25rem;border:0;background-color:#dedfe0;-ms-flex-negative:0;flex-shrink:0}.carbon-legend .carbon-legend-item .carbon-legend-item-text{word-wrap:break-word}.carbon-legend .carbon-legend-item[aria-disabled=false]{cursor:pointer}.carbon-legend .carbon-legend-item[aria-disabled=false]:hover{background-color:#ebf6fd}.carbon-legend .carbon-legend-item[aria-disabled=false] .carbon-legend-item-btn,.carbon-legend .carbon-legend-item[aria-disabled=false] .carbon-legend-item-text{cursor:pointer}.carbon-legend .carbon-legend-item[aria-disabled=true] .carbon-legend-item-btn,.carbon-legend .carbon-legend-item[aria-disabled=true] .carbon-legend-item-text{outline:none}.carbon-legend .carbon-legend-item[aria-disabled=true] .carbon-legend-item-btn{opacity:.35}.carbon-legend .carbon-legend-item[aria-disabled=true] .carbon-legend-item-text{color:#bcbfc0}.carbon-legend .carbon-legend-item .carbon-legend-item-icon{display:block;height:.857rem;width:.857rem;stroke:#fff;stroke-width:5px}.carbon-legend .carbon-legend-item .carbon-legend-item-icon-with-line{display:block;height:.625rem;width:.625rem;stroke:#fff;stroke-width:5px}.carbon-legend .carbon-legend-item .carbon-legend-item-span{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.carbon-legend .carbon-legend-item .carbon-legend-item-line{height:5px;width:28px;padding-top:1px}.carbon-legend .carbon-legend-item .carbon-legend-item-line-with-icon{height:5px;width:18px;padding-top:1px}.carbon-legend .carbon-legend-item .carbon-legend-white-line{stroke:#fff;stroke-width:6px}.carbon-legend .carbon-legend-item[aria-current=false] .carbon-legend-item-btn{background-color:#fff;border:1px solid #dedfe0}.carbon-legend .carbon-legend-item[aria-current=false] .carbon-legend-item-text{color:#6f7477}.carbon-blur{opacity:.2;transition:opacity 1s cubic-bezier(.07,.95,0,1)}.carbon-point[aria-disabled=false]{cursor:pointer}.carbon-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-selected-data-point{display:block;stroke:#a6d9f4;fill:#ebf6fd;fill-opacity:.25}.carbon-selected-data-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-selected-data-point path{stroke-width:1px}.carbon-criticality-inner[aria-hidden=true],.carbon-criticality-outer[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-criticality-outer{fill:#c00;stroke:#c00;stroke-width:24px}.carbon-criticality-inner{fill:#fff;stroke:#fff;stroke-width:8px}.carbon-region{fill:#f4f4f4}.carbon-region.carbon-region-blur,.carbon-region[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-region.carbon-value-region{stroke:#f4f4f4;stroke-width:.625rem}.carbon-region.carbon-region-highlight{opacity:1;visibility:visible;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-content-container{fill:none;stroke:#e8e9ea}.carbon-data-bar,.carbon-data-completion-bar{-webkit-user-select:none;-ms-user-select:none;user-select:none;shape-rendering:auto;stroke-width:0}.carbon-data-bar[aria-disabled=false],.carbon-data-completion-bar[aria-disabled=false]{cursor:pointer}.carbon-axis-info-row-item[aria-hidden=true],.carbon-data-bar[aria-hidden=true],.carbon-data-completion-bar[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-axis-info-row-item[aria-disabled=false]{cursor:pointer}.carbon-dateline-group .carbon-dateline{stroke-width:3px;shape-rendering:auto;opacity:.3}.carbon-dateline-group .carbon-dateline-point[aria-disabled=false]{cursor:pointer}.carbon-dateline-group .carbon-dateline-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-eventline-group .carbon-eventline{stroke-width:2px;opacity:1;shape-rendering:auto}.carbon-no-data-label{font-size:1.25rem;text-anchor:middle;fill:#6f7477}.carbon-no-data-overlay{fill:#fff;opacity:.6}.carbon-label-popup-tooltip{position:absolute;padding:1rem;font-family:Segoe UI,sans-serif;font-size:.866rem;font-weight:400;line-height:1.5;letter-spacing:.01071em;background-color:#fff;z-index:20;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);-moz-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.carbon-label-popup-tooltip .popup-item{display:block}.carbon-label-popup-tooltip .section{display:block;padding-left:1rem}.carbon-label-popup-tooltip .content{display:block}.carbon-label-popup-tooltip .content:last-child{padding-bottom:0}.carbon-label-popup-tooltip .content:not(:last-child){padding-bottom:.5rem}.carbon-label-popup-tooltip g{display:inline-block}.carbon-label-popup-tooltip g .popup-label{color:#01579b}.carbon-label-popup-tooltip g .popup-label:after{content:": "}.carbon-label-popup-tooltip g .popup-text{color:#000}.carbon-label-popup-tooltip g:not(:last-child){padding-bottom:.5rem}.carbon-label-popup-overlay{cursor:pointer;position:fixed;width:100vw;height:100vh;top:0;left:0;z-index:1200}.carbon-line path{fill:none;stroke-width:1px;transition:opacity .3s cubic-bezier(.07,.95,0,1)}.carbon-line path.carbon-highlight{stroke-width:2px;transition:stroke 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-line path[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-data-pair--selected{opacity:1!important;visibility:visible!important;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)!important}.carbon-paired-point[aria-disabled=false]{cursor:pointer}.carbon-paired-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-paired-line{fill:none;stroke-width:1px;stroke:#1c1f21}.carbon-paired-line[aria-disabled=false]{cursor:pointer}.carbon-paired-line[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-data-task,.carbon-y-axis-track-label .tick>text[aria-disabled=false]{cursor:pointer}.carbon-data-task[aria-disabled=true]{cursor:default}.carbon-data-track-group .carbon-selected-data-point{stroke-width:1px;stroke:#a6d9f4;fill:#ebf6fd;fill-opacity:.25}.carbon-data-track-group .carbon-selected-data-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-data-selected-bar{display:block;stroke-width:1px;stroke:#a6d9f4;fill:#ebf6fd;fill-opacity:.25;shape-rendering:auto}.carbon-data-selected-bar[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-track-selected-bar{display:block;fill-opacity:0}.carbon-track-selected-bar[aria-disabled=false]{cursor:pointer}.carbon-track-selected-bar[aria-selected=true]{stroke-width:1px;stroke:#a6d9f4;fill:#ebf6fd;fill-opacity:.25;shape-rendering:auto}.carbon-timeline-content-group .carbon-point[aria-hidden=true],.carbon-timeline-content-group .carbon-selected-data-point[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-timeline-criticality-outer{fill:#c00;stroke:#c00;stroke-width:24px;stroke-width:19px}.carbon-timeline-criticality-outer[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-timeline-criticality-inner{fill:#fff;stroke:#fff;stroke-width:8px;stroke-width:7px}.carbon-timeline-criticality-inner[aria-hidden=true],.carbon-timeline-criticality-outer[aria-hidden=true]{opacity:0;visibility:hidden;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-timeline-criticality-inner.carbon-highlight,.carbon-timeline-criticality-outer.carbon-highlight{opacity:1;visibility:visible;transition:opacity 1s cubic-bezier(.07,.95,0,1),transform 1s cubic-bezier(.07,.95,0,1)}.carbon-pie-chart-canvas{display:block;margin:0 auto}.carbon-data-pie-group[aria-disabled=false]{cursor:pointer}.carbon-legend .carbon-pie-legend-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:.5rem;outline:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.carbon-legend .carbon-pie-legend-item.carbon-pie-legend-item-slice-hover{background-color:#ebf6fd}.carbon-legend .carbon-pie-legend-item .carbon-pie-legend-item-icon{margin-right:.5rem}\n\n')))}l.isMDXComponent=!0},41492:function(t,n,e){"use strict";e.r(n),n.default={}},53560:function(t,n,e){"use strict";e.r(n),n.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},33864:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(67294)),a=r(e(99139));function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign?Object.assign.bind():function(t){for(var n=1;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u={},c="wrapper";function p(e){var t=e.components,n=m(e,s);return(0,a.mdx)(c,d({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(o.ZP,{mdxType:"PropsTable"},(0,a.mdx)(o.X2,{key:"ROW1",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"text"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"''\n"))),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The text to be displayed for the comment."))),(0,a.mdx)(o.X2,{key:"ROW2",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"textStyle"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},'enum: [\n "attention"\n "primary"\n "secondary"\n "strikeThrough"\n "strong"\n],\n'))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"'primary'\n"))),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The visual style to be applied to the display element.\nOne of ",(0,a.mdx)("inlineCode",{parentName:"p"},"'primary'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'secondary'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'strong'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'attention'"),", or ",(0,a.mdx)("inlineCode",{parentName:"p"},"'strikeThrough'"),"."))),(0,a.mdx)(o.X2,{key:"ROW3",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"isTruncated"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"Whether or not the text should be truncated. Note: To ensure keyboard accessibility, if this prop\nis used, consumers will need to provide a method to disclose the rest of the text so that it is\naccessible to keyboard users."))),(0,a.mdx)(o.X2,{key:"ROW4",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"isDisabled"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"(Deprecated) Whether or not the display is disabled."))),(0,a.mdx)(o.X2,{key:"ROW5",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"icon"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"element\n"))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"undefined\n"))),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The icon react element to be displayed next to the display text."))),(0,a.mdx)(o.X2,{key:"ROW6",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"iconAlignment"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'center'\n 'top'\n 'inline'\n],\n"))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"'center'\n"))),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The position of the icon to be displayed next to the text,\nnoticeable when the text display wraps multiple line.\nOne of ",(0,a.mdx)("inlineCode",{parentName:"p"},"'center'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'top'"),", ",(0,a.mdx)("inlineCode",{parentName:"p"},"'inline'"),"."))),(0,a.mdx)(o.X2,{key:"ROW7",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"textStyleMeaning"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("p",null,"none")),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,(0,a.mdx)("img",{parentName:"p",src:"https://badgen.net/badge/UX/Accessibility/blue",alt:"IMPORTANT"}),"\nThe meaning of the text styling, for use by screen readers.\nChanging ",(0,a.mdx)("inlineCode",{parentName:"p"},"textStyleMeaning"),' will not visually change the style of the content.\nDefaults to "deletion" for ',(0,a.mdx)("inlineCode",{parentName:"p"},"textStyle")," of ",(0,a.mdx)("inlineCode",{parentName:"p"},"'strikeThrough'"),".")))))}p.isMDXComponent=!0;var f=["components"];function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var g={},h="wrapper";function b(e){var t=e.components,n=y(e,f);return(0,a.mdx)(h,x({},g,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(o.ZP,{mdxType:"PropsTable"},(0,a.mdx)(o.X2,{key:"ROW1",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"text"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"''\n"))),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"The text to be displayed for the comment."))),(0,a.mdx)(o.X2,{key:"ROW2",mdxType:"Row"},(0,a.mdx)(o.O,{mdxType:"PropNameCell"},"isTruncated"),(0,a.mdx)(o.Di,{mdxType:"TypeCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,a.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,a.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,a.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,a.mdx)("p",null,"Whether or not the text should be truncated in display. Note: To ensure keyboard accessibility,\nif this prop is used, consumers will need to provide a method to disclose the rest of the text\nso that it is accessible to keyboard users.")))))}b.isMDXComponent=!0;var v=n(15380),O=["components"];function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var D={};function C(e){var t=e.components,n=S(e,O);return(0,a.mdx)("wrapper",T({},D,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport ItemDisplay from \'terra-clinical-item-display\';\n\nconst component = () => (\n \n \n \n \n \n \n \n);\n\nexport default component;\n\n')))}C.isMDXComponent=!0;var j=n(49271),N=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(j.Z,{title:t||"Text Styles",description:n,example:r.createElement(v.Z,null),exampleSrc:r.createElement(C,null),isExpanded:a})};n(9295);var E=n(47945),w=["components"];function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var P={};function M(e){var t=e.components,n=_(e,w);return(0,a.mdx)("wrapper",I({},P,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport IconGlasses from 'terra-icon/lib/icon/IconGlasses';\nimport ItemDisplay from 'terra-clinical-item-display';\n\nconst component = () => (} />);\n\nexport default component;\n\n")))}M.isMDXComponent=!0;var k=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(j.Z,{title:t||"Icon",description:n,example:r.createElement(E.Z,null),exampleSrc:r.createElement(M,null),isExpanded:a})},R=n(94458),A=["components"];function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Z={};function X(e){var t=e.components,n=q(e,A);return(0,a.mdx)("wrapper",H({},Z,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport IconGlasses from 'terra-icon/lib/icon/IconGlasses';\nimport ItemDisplay from 'terra-clinical-item-display';\n\nconst sampleText = 'Mr. James is currently receiving outpatient treatment. He has been diagnosed with an Axis I diagnosis of Psychosis NOS, ruled out Schizoaffective Disorder and Post Traumatic Stress Disorder, and is being treated with Haldol 5mg and Cogentin 1mg. ';\n\nconst component = () => (\n \n } />\n
\n } iconAlignment=\"top\" />\n
\n } iconAlignment=\"inline\" />\n
\n
\n);\n\nexport default component;\n\n")))}X.isMDXComponent=!0;var W=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(j.Z,{title:t||"Icon Text",description:n,example:r.createElement(R.Z,null),exampleSrc:r.createElement(X,null),isExpanded:a})},G=n(88022),L=["components"];function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var U={};function V(e){var t=e.components,n=z(e,L);return(0,a.mdx)("wrapper",F({},U,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport ItemComment from 'terra-clinical-item-display/lib/ItemComment';\n\nconst component = () => (\n \n \n \n);\n\nexport default component;\n\n")))}V.isMDXComponent=!0;var J=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(j.Z,{title:t||"Default Comment",description:n,example:r.createElement(G.Z,null),exampleSrc:r.createElement(V,null),isExpanded:a})},B=n(27156),K=["components"];function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Q={};function ee(e){var t=e.components,n=$(e,K);return(0,a.mdx)("wrapper",Y({},Q,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport ItemDisplay from \'terra-clinical-item-display\';\n\nconst component = () => (\n \n \n

Screen reader reads: “Important”, “Attention”, “Important End”

\n
\n \n

Screen reader reads: “Deletion”, “Strike-through (Default)”, “Deletion End”

\n
\n \n

Screen reader reads: “Update”, “Strike-through”, “Update End”

\n
\n);\n\nexport default component;\n\n')))}ee.isMDXComponent=!0;var te=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(j.Z,{title:t||"Text Style Meaning",description:n,example:r.createElement(B.Z,null),exampleSrc:r.createElement(ee,null),isExpanded:a})},ne=n(75258),re=["components"];function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var ie={};function oe(e){var t=e.components,n=le(e,re);return(0,a.mdx)("wrapper",ae({},ie,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React, { useState } from 'react';\nimport ItemDisplay from 'terra-clinical-item-display';\nimport ShowHide from 'terra-show-hide';\n\nconst sampleText = 'Mr. James is currently receiving outpatient treatment. He has been diagnosed with an Axis I diagnosis of Psychosis NOS, ruled out Schizoaffective Disorder and Post Traumatic Stress Disorder, and is being treated with Haldol 5mg and Cogentin 1mg.';\n\nconst TruncatedTextExample = () => {\n const [isOpen, setIsOpen] = useState(false);\n\n const handleChange = () => {\n setIsOpen(!isOpen);\n };\n\n return (\n <>\n } isOpen={isOpen} onChange={handleChange}>\n {sampleText}\n \n \n );\n};\n\nexport default TruncatedTextExample;\n\n")))}oe.isMDXComponent=!0;var se=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(j.Z,{title:t||"Truncated Text",description:n,example:r.createElement(ne.Z,null),exampleSrc:r.createElement(oe,null),isExpanded:a})},de=n(26633),me=["components"];function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var pe={};function fe(e){var t=e.components,n=ce(e,me);return(0,a.mdx)("wrapper",ue({},pe,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React, { useContext } from 'react';\nimport ActionHeader from 'terra-action-header/lib/ActionHeader';\nimport ContentContainer from 'terra-content-container/lib/ContentContainer';\nimport { DisclosureManagerContext, DisclosureManagerHeaderAdapter } from 'terra-application/lib/disclosure-manager';\nimport List, { Item } from 'terra-list/lib/index';\nimport SlidePanelManager from 'terra-application/lib/slide-panel-manager';\nimport ItemDisplay from 'terra-clinical-item-display';\nimport PropTypes from 'prop-types';\n\nconst patientDetails = [\n {\n key: 'mr-james-1',\n text: 'Mr. James is currently receiving outpatient treatment. He has been diagnosed with an Axis I diagnosis of Psychosis NOS, ruled out Schizoaffective Disorder and Post Traumatic Stress Disorder, and is being treated with Haldol 5mg and Cogentin 1mg.',\n },\n {\n key: 'mr-smith-2',\n text: 'Mr. Smith is currently receiving outpatient treatment. He has been diagnosed with an Axis I diagnosis of Psychosis NOS, ruled out Schizoaffective Disorder and Post Traumatic Stress Disorder, and is being treated with Haldol 5mg and Cogentin 1mg.',\n },\n {\n key: 'mr-jones-3',\n text: 'Mr. Jones is currently receiving outpatient treatment. He has been diagnosed with an Axis I diagnosis of Psychosis NOS, ruled out Schizoaffective Disorder and Post Traumatic Stress Disorder, and is being treated with Haldol 5mg and Cogentin 1mg.',\n },\n];\n\nconst mainHeader = (\n \n);\n\nfunction DisclosureComponent({ text }) {\n return (\n \n \n
\n

{text}

\n
\n
\n );\n}\n\nDisclosureComponent.propTypes = {\n text: PropTypes.string,\n};\n\nconst ContentComponent = () => {\n const disclosureManager = useContext(DisclosureManagerContext);\n return (\n \n

Select an item from the list to view its full contents:

\n \n {patientDetails.map((details) => (\n {\n disclosureManager.disclose({\n preferredType: 'panel',\n size: 'small',\n content: {\n key: details.key,\n component: (\n \n ),\n },\n });\n }}\n >\n

\n \n ))}\n \n
\n );\n};\n\nexport default function TruncatedTextSlidePanelExample() {\n return (\n \n \n \n );\n}\n\n")))}fe.isMDXComponent=!0;var xe=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(j.Z,{title:t||"Truncated Text Slide Panel",description:n,example:r.createElement(de.Z,null),exampleSrc:r.createElement(fe,null),isExpanded:a})},ye=["components"];function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var be={},ve="wrapper";function Oe(e){var t=e.components,n=he(e,ye);return(0,a.mdx)(ve,ge({},be,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(l.C,{mdxType:"Badge"}),(0,a.mdx)("h1",{id:"terra-clinical-item-display"},"Terra Clinical Item Display"),(0,a.mdx)("p",null,"The Item Display component creates an display for text and an optional graphic. The Comment subcomponent creates a display for text with a comment icon."),(0,a.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,a.mdx)("ul",null,(0,a.mdx)("li",{parentName:"ul"},"Install with ",(0,a.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,a.mdx)("ul",{parentName:"li"},(0,a.mdx)("li",{parentName:"ul"},(0,a.mdx)("inlineCode",{parentName:"li"},"npm install terra-clinical-item-display"))))),(0,a.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,a.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,a.mdx)("table",null,(0,a.mdx)("thead",{parentName:"table"},(0,a.mdx)("tr",{parentName:"thead"},(0,a.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,a.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,a.mdx)("tbody",{parentName:"table"},(0,a.mdx)("tr",{parentName:"tbody"},(0,a.mdx)("td",{parentName:"tr",align:null},"react"),(0,a.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,a.mdx)("tr",{parentName:"tbody"},(0,a.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,a.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,a.mdx)("tr",{parentName:"tbody"},(0,a.mdx)("td",{parentName:"tr",align:null},"react-intl"),(0,a.mdx)("td",{parentName:"tr",align:null},"^2.8.0")))),(0,a.mdx)("h2",{id:"usage"},"Usage"),(0,a.mdx)("pre",null,(0,a.mdx)("code",{parentName:"pre",className:"language-jsx"},"import ItemDisplay from 'terra-clinical-item-display';\n")),(0,a.mdx)("h2",{id:"accessibility"},"Accessibility"),(0,a.mdx)(i.Notice,{variant:"important",ariaLevel:"3",mdxType:"Notice"},(0,a.mdx)("h4",{id:"accessibility-guidance-truncated-text"},"Accessibility Guidance: Truncated Text"),(0,a.mdx)("p",null,"Truncation of text can pose an accessibility concern if no method of disclosing the full text is available\nto the user. When using ",(0,a.mdx)("inlineCode",{parentName:"p"},"isTruncated"),", consumers are responsible for providing a progressive disclosure pattern\nto disclose the full Item Display text in order to ensure that it is accessible for keyboard navigation users."),(0,a.mdx)("p",null,(0,a.mdx)("strong",{parentName:"p"},"There should always be a method of accessing the truncated information. If there is no way to progressively\ndisclose the full content of the truncated information, then truncation should not be used.")),(0,a.mdx)("p",null,"Some examples of progressive disclosure patterns that may be used to disclose truncated information include:"),(0,a.mdx)("ul",null,(0,a.mdx)("li",{parentName:"ul"},"Accordions"),(0,a.mdx)("li",{parentName:"ul"},"Dialogs"),(0,a.mdx)("li",{parentName:"ul"},"Popovers"),(0,a.mdx)("li",{parentName:"ul"},"Show/Hide"),(0,a.mdx)("li",{parentName:"ul"},"Split Views"),(0,a.mdx)("li",{parentName:"ul"},"Toasts")),(0,a.mdx)("p",null,"The method of disclosure ",(0,a.mdx)("strong",{parentName:"p"},"must")," be accessible via keyboard interactions."),(0,a.mdx)("p",null,"Truncation should be avoided where it is not necessary. Certain content should ",(0,a.mdx)("strong",{parentName:"p"},"never")," be truncated (i.e.\nmedication names and dosages in menus where the user is selecting from a list of choices).")),(0,a.mdx)("h2",{id:"component-features"},"Component Features"),(0,a.mdx)("ul",null,(0,a.mdx)("li",{parentName:"ul"},(0,a.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,a.mdx)("li",{parentName:"ul"},(0,a.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,a.mdx)("li",{parentName:"ul"},(0,a.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support"))),(0,a.mdx)("h2",{id:"example"},"Example"),(0,a.mdx)(N,{title:"Item Display: Text styles",mdxType:"TextStyles"}),(0,a.mdx)(k,{title:"Item Display: Icon",mdxType:"Icon"}),(0,a.mdx)(W,{title:"Item Display: Icon and Text",mdxType:"IconText"}),(0,a.mdx)(J,{title:"Comment Item Display",mdxType:"DefaultComment"}),(0,a.mdx)(te,{title:"Item Display: Text Style Meaning for Assistive Technology",mdxType:"TextStyleMeaning"}),(0,a.mdx)(se,{title:"Item Display: Truncated Text with Show/Hide",mdxType:"TruncatedText"}),(0,a.mdx)(xe,{title:"Item Display: Truncated Text with Slide Panel Disclosure",mdxType:"TruncatedTextSlidePanel"}),(0,a.mdx)("h2",{id:"item-display-props-table"},"Item Display Props Table"),(0,a.mdx)(p,{mdxType:"ItemDisplayPropsTable"}),(0,a.mdx)("h2",{id:"item-comment-props-table"},"Item Comment Props Table"),(0,a.mdx)(b,{mdxType:"CommentPropsTable"}))}Oe.isMDXComponent=!0},79898:function(e,t,n){n.d(t,{C:function(){return l}});var r=n(67294),a=n(22863),l=function(e){var t=e.url;return r.createElement(a.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-item-display",name:"terra-clinical-item-display",version:"4.9.0",url:t})}},6696:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(67294)),a=p(n(45697)),l=n(25387),i=p(n(94184)),o=p(n(47166)),s=p(n(50026)),d=p(n(97309)),m=p(n(94394)),u=p(n(80918)),c=["text","isTruncated","intl"];function p(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var y=o.default.bind(u.default),g={text:a.default.string,isTruncated:a.default.bool,intl:a.default.shape({formatMessage:a.default.func}).isRequired},h=function(e){var t=e.text,n=e.isTruncated,a=e.intl,l=x(e,c),o=r.default.useContext(s.default),u=(0,i.default)(y("item-comment",o.className),l.className),p=a.formatMessage({id:"Terra.itemDisplay.comment"});return r.default.createElement(m.default,f({text:t,isTruncated:n,icon:r.default.createElement(d.default,{a11yLabel:p,className:y("inline-icon"),role:"img",focusable:"true"})},l,{className:u}))};h.propTypes=g,h.defaultProps={text:"",isTruncated:!1};var b=(0,l.injectIntl)(h);t.default=b},94394:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TextStyles=void 0;var a=p(n(67294)),l=p(n(45697)),i=p(n(94184)),o=p(n(47166)),s=p(n(50026)),d=p(n(29270)),m=n(25387),u=p(n(35950)),c=["text","textStyle","isTruncated","isDisabled","icon","iconAlignment","textStyleMeaning","intl"];function p(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var g=o.default.bind(u.default),h={PRIMARY:"primary",SECONDARY:"secondary",ATTENTION:"attention",STRIKETHROUGH:"strikeThrough",STRONG:"strong"};t.TextStyles=h;var b={text:l.default.string,textStyle:l.default.oneOf(Object.values(h)),isTruncated:l.default.bool,isDisabled:l.default.bool,icon:l.default.element,iconAlignment:l.default.oneOf(["center","top","inline"]),textStyleMeaning:l.default.string,intl:l.default.shape({formatMessage:l.default.func}).isRequired},v={text:"",textStyle:"primary",isTruncated:!1,isDisabled:!1,icon:void 0,iconAlignment:"center"},O=function(e){var t,n=e.text,r=e.textStyle,l=e.isTruncated,o=e.isDisabled,m=e.icon,u=e.iconAlignment,p=e.textStyleMeaning,b=e.intl,v=y(e,c),O=a.default.useContext(s.default),T=(0,i.default)(g("item-display",{"is-disabled":o},x({},"icon-".concat(u),m),O.className),v.className),S=g(["text",{"is-truncated":l},x({},"".concat(r),r===h.SECONDARY),x({},"".concat(r),r===h.ATTENTION),x({},"".concat(r),r===h.STRONG),{"strike-through":r===h.STRIKETHROUGH}]);o&&console.warn("The isDisabled prop does not meet a11y standards and should not be used. It will be removed in the next major release."),m&&(t=a.default.createElement("div",{className:g("icon")},m));var D,C,j=a.default.createElement("span",null,n);return r===h.STRONG&&(j=a.default.createElement("strong",null,n)),p?(D=p,C=b.formatMessage({id:"Terra.itemDisplay.textStyleMeaningEnd"},{textStyleMeaning:p})):r===h.STRIKETHROUGH&&(D=b.formatMessage({id:"Terra.itemDisplay.textStyleMeaningStrikethrough"}),C=b.formatMessage({id:"Terra.itemDisplay.textStyleMeaningStrikethroughEnd"})),a.default.createElement("div",f({},v,{className:T,"aria-disabled":o}),t,D&&a.default.createElement(d.default,{text:D}),a.default.createElement("div",{"data-terra-clinical-item-display-text":!0,className:S},j),C&&a.default.createElement(d.default,{text:C}))};O.propTypes=b,O.defaultProps=v;var T=(0,m.injectIntl)(O);t.default=T},88022:function(e,t,n){t.Z=void 0;var r=l(n(67294)),a=l(n(6696));function l(e){return e&&e.__esModule?e:{default:e}}var i=function(){return r.default.createElement("span",null,r.default.createElement(a.default,{text:"Comment"}))};t.Z=i},47945:function(e,t,n){t.Z=void 0;var r=i(n(67294)),a=i(n(38602)),l=i(n(94394));function i(e){return e&&e.__esModule?e:{default:e}}var o=function(){return r.default.createElement(l.default,{icon:r.default.createElement(a.default,null)})};t.Z=o},94458:function(e,t,n){t.Z=void 0;var r=i(n(67294)),a=i(n(38602)),l=i(n(94394));function i(e){return e&&e.__esModule?e:{default:e}}var o="Mr. James is currently receiving outpatient treatment. He has been diagnosed with an Axis I diagnosis of Psychosis NOS, ruled out Schizoaffective Disorder and Post Traumatic Stress Disorder, and is being treated with Haldol 5mg and Cogentin 1mg. ",s=function(){return r.default.createElement(r.default.Fragment,null,r.default.createElement(l.default,{text:"Center Icon Alignment (default) -- ".concat(o),icon:r.default.createElement(a.default,null)}),r.default.createElement("br",null),r.default.createElement(l.default,{text:"Top Icon Alignment -- ".concat(o),icon:r.default.createElement(a.default,null),iconAlignment:"top"}),r.default.createElement("br",null),r.default.createElement(l.default,{text:"Inline Icon Alignment -- ".concat(o),icon:r.default.createElement(a.default,null),iconAlignment:"inline"}),r.default.createElement("br",null))};t.Z=s},27156:function(e,t,n){t.Z=void 0;var r=l(n(67294)),a=l(n(94394));function l(e){return e&&e.__esModule?e:{default:e}}var i=function(){return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default,{text:"Attention",textStyle:"attention",textStyleMeaning:"Important"}),r.default.createElement("p",null,"Screen reader reads: “Important”, “Attention”, “Important End”"),r.default.createElement("br",null),r.default.createElement(a.default,{text:"Strike-through (Default)",textStyle:"strikeThrough"}),r.default.createElement("p",null,"Screen reader reads: “Deletion”, “Strike-through (Default)”, “Deletion End”"),r.default.createElement("br",null),r.default.createElement(a.default,{text:"Strike-through",textStyle:"strikeThrough",textStyleMeaning:"Update"}),r.default.createElement("p",null,"Screen reader reads: “Update”, “Strike-through”, “Update End”"))};t.Z=i},15380:function(e,t,n){t.Z=void 0;var r=l(n(67294)),a=l(n(94394));function l(e){return e&&e.__esModule?e:{default:e}}var i=function(){return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default,{text:"Primary"}),r.default.createElement(a.default,{text:"Strong",textStyle:"strong"}),r.default.createElement(a.default,{text:"Attention",textStyle:"attention"}),r.default.createElement(a.default,{text:"Secondary",textStyle:"secondary"}),r.default.createElement(a.default,{text:"Strike-through",textStyle:"strikeThrough"}))};t.Z=i},9295:function(e,t,n){var r=l(n(67294)),a=l(n(94394));function l(e){return e&&e.__esModule?e:{default:e}}},75258:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.Z=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=l?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(a,i,o):a[i]=e[i]}a.default=e,n&&n.set(e,a);return a}(n(67294)),l=o(n(94394)),i=o(n(78344));function o(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,i,o=[],s=!0,d=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=l.call(n)).done)&&(o.push(r.value),o.length!==t);s=!0);}catch(e){d=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(d)throw a}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var u={};function d(e){var n=e.components,t=s(e,o);return(0,r.mdx)("wrapper",m({},u,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '1577836800',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n};\n\nexport default () => ;\n\n")))}d.isMDXComponent=!0;var c=t(49271),p=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Default",description:t,example:l.createElement(i.Z,null),exampleSrc:l.createElement(d,null),isExpanded:r})},x=t(35398),f=["components"];function y(){return y=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var g={};function v(e){var n=e.components,t=h(e,f);return(0,r.mdx)("wrapper",y({},g,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n};\n\nexport default () => ;\n\n")))}v.isMDXComponent=!0;var b=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Decorated",description:t,example:l.createElement(x.Z,null),exampleSrc:l.createElement(v,null),isExpanded:r})},O=t(85441),w=["components"];function _(){return _=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var E={};function C(e){var n=e.components,t=R(e,w);return(0,r.mdx)("wrapper",_({},E,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n};\n\nexport default () => ;\n\n")))}C.isMDXComponent=!0;var T=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Unverified",description:t,example:l.createElement(O.Z,null),exampleSrc:l.createElement(C,null),isExpanded:r})},j=t(1092),N=["components"];function k(){return k=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var P={};function S(e){var n=e.components,t=D(e,N);return(0,r.mdx)("wrapper",k({},P,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n conceptDisplay: 'Temperature Oral',\n datetimeDisplay: 'Nov 23, 2019 13:31:31',\n};\n\nexport default () => ;\n\n")))}S.isMDXComponent=!0;var H=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Extra Displays",description:t,example:l.createElement(j.Z,null),exampleSrc:l.createElement(S,null),isExpanded:r})},I=t(27028),M=["components"];function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var X={};function L(e){var n=e.components,t=V(e,M);return(0,r.mdx)("wrapper",Z({},X,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '354.23377777758678567867856785687678567856767868678567856785678567856785678567857856785678567856785678567856785678578567856',\n unit: 'mmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHg',\n },\n interpretation: 'critical',\n conceptDisplay: 'Temperature Oral',\n datetimeDisplay: 'Nov 23, 2019 13:31:31',\n};\n\nexport default () => ;\n\n")))}L.isMDXComponent=!0;var q=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Truncated",description:t,example:l.createElement(I.Z,null),exampleSrc:l.createElement(L,null),isExpanded:r})},z=t(97890),W=["components"];function U(){return U=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var F={};function K(e){var n=e.components,t=A(e,W);return(0,r.mdx)("wrapper",U({},F,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\nimport classNames from 'classnames/bind';\nimport styles from '../Examples.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst setofResultValues = [];\n\nconst criticalResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'critical',\n};\n\nconst highResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'high',\n};\n\nconst lowResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'low',\n};\n\nconst abnormalResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'abnormal',\n};\n\nsetofResultValues.push(
);\nsetofResultValues.push(
);\nsetofResultValues.push(
);\nsetofResultValues.push(
);\n\nexport default () => setofResultValues;\n\n")))}K.isMDXComponent=!0;var B=t(52636),J=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Interpretation",description:t,example:l.createElement(z.Z,null),exampleCssSrc:l.createElement(B.Z,null),exampleSrc:l.createElement(K,null),isExpanded:r})},G=t(36297),Y=["components"];function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var ee={};function ne(e){var n=e.components,t=$(e,Y);return(0,r.mdx)("wrapper",Q({},ee,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\nimport classNames from 'classnames/bind';\nimport styles from '../Examples.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'critical',\n conceptDisplay: 'Temperature Oral',\n datetimeDisplay: 'Nov 23, 2019 13:31:31',\n};\n\nexport default () => (\n
\n \n
\n);\n\n")))}ne.isMDXComponent=!0;var te=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Change Size",description:t,example:l.createElement(G.Z,null),exampleCssSrc:l.createElement(B.Z,null),exampleSrc:l.createElement(ne,null),isExpanded:r})},le=t(27699),re=["components"];function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var oe={};function me(e){var n=e.components,t=ie(e,re);return(0,r.mdx)("wrapper",ae({},oe,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\nimport classNames from 'classnames/bind';\nimport styles from '../Examples.module.scss';\n\nconst cx = classNames.bind(styles);\n\nexport default () => (\n \n Use the `hasResultNoData` prop to show the no data display:\n \n\n \n);\n\n")))}me.isMDXComponent=!0;var se=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Known No Data",description:t,example:l.createElement(le.Z,null),exampleCssSrc:l.createElement(B.Z,null),exampleSrc:l.createElement(me,null),isExpanded:r})},ue=t(73649),de=["components"];function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var xe={};function fe(e){var n=e.components,t=pe(e,de);return(0,r.mdx)("wrapper",ce({},xe,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nexport default () => ;\n\n")))}fe.isMDXComponent=!0;var ye=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Known Error",description:t,example:l.createElement(ue.Z,null),exampleSrc:l.createElement(fe,null),isExpanded:r})},he=t(46074),ge=["components"];function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var Oe={};function we(e){var n=e.components,t=be(e,ge);return(0,r.mdx)("wrapper",ve({},Oe,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst malformedResultValue = {\n eventId: '111',\n temperature: {\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n },\n};\n\nexport default () => ;\n\n")))}we.isMDXComponent=!0;var _e=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Accidental Error",description:t,example:l.createElement(he.Z,null),exampleSrc:l.createElement(we,null),isExpanded:r})},Re=t(6922),Ee=["components"];function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var je={};function Ne(e){var n=e.components,t=Te(e,Ee);return(0,r.mdx)("wrapper",Ce({},je,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n status: 'entered-in-error',\n interpretation: 'critical',\n conceptDisplay: 'Temperature Oral',\n datetimeDisplay: 'Nov 23, 2019 13:31:31',\n};\n\nexport default () => ;\n\n")))}Ne.isMDXComponent=!0;var ke=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Status Entered In Error",description:t,example:l.createElement(Re.Z,null),exampleSrc:l.createElement(Ne,null),isExpanded:r})},De=t(78530),Pe=["components"];function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var Ie={},Me="wrapper";function Ze(e){var n=e.components,t=He(e,Pe);return(0,r.mdx)(Me,Se({},Ie,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(De.ZP,{mdxType:"PropsTable"},(0,r.mdx)(De.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"eventId"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"A unique event identifier attached to the result data"))),(0,r.mdx)(De.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"result"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"custom\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Value and optional Unit of Measure for the Observation Result"))),(0,r.mdx)(De.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"interpretation"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"custom\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Interpretation of the Result, indicates Criticality"))),(0,r.mdx)(De.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"isUnverified"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Adds indicator if result value has not been verified, typically if it has not been\nauthenticated and committed to the patient's chart."))),(0,r.mdx)(De.X2,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"conceptDisplay"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Display to show the full Result Name/Label Concept, e.g. ",(0,r.mdx)("inlineCode",{parentName:"p"},"'Temperature Oral'"),"."))),(0,r.mdx)(De.X2,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"datetimeDisplay"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Display to show an appropriate clinically relevant documented datetime."))),(0,r.mdx)(De.X2,{key:"ROW7",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"hideUnit"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Visually hides the unit of measure when presented in a series of side-by-side columns of the same unit."))),(0,r.mdx)(De.X2,{key:"ROW8",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"isTruncated"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Whether or not the text should be truncated in display. Restricts clinical result details each to one line."))),(0,r.mdx)(De.X2,{key:"ROW9",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"isModified"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Adds indicator if the result value has been modified to a different value from its\npreviously documented value for the same clinical result date & time."))),(0,r.mdx)(De.X2,{key:"ROW10",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"hasComment"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Adds indicator if the result value has an additional comment applied to the clinical result value."))),(0,r.mdx)(De.X2,{key:"ROW11",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"hasResultError"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Override that shows an Error display. Used when there is a known error or problem when retrieving or assembling the clinical result data."))),(0,r.mdx)(De.X2,{key:"ROW12",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"hasResultNoData"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,'Override that shows a known "No Data" display. Used when there is known to be no value for a given clinical result concept at a specific datetime.'))),(0,r.mdx)(De.X2,{key:"ROW13",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"status"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"custom\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Enum for possible Result Statuses.\nOne of ",(0,r.mdx)("inlineCode",{parentName:"p"},"'entered-in-error'"),"s.")))))}Ze.isMDXComponent=!0;var Ve=["components"];function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var qe={},ze="wrapper";function We(e){var n=e.components,t=Le(e,Ve);return(0,r.mdx)(ze,Xe({},qe,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(a.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-clinical-result"},"Terra Clinical Result"),(0,r.mdx)("p",null,"The Terra Clinical Result package is a collection of standardized views for presenting clinical results documented to a Patient's Medical Chart,\nsuch as Vital Signs, Laboratory Results, and Discretely Documented Values. It also includes additional supporting views where clinical results\nare commonly displayed like flowsheets, result detail viewers, etc."),(0,r.mdx)("p",null,"This default Clinical Result component is intended for displaying a single result value."),(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-clinical-result"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-intl"),(0,r.mdx)("td",{parentName:"tr",align:null},"^2.8.0")))),(0,r.mdx)("h2",{id:"usage-guide"},"Usage Guide"),(0,r.mdx)("p",null,"The clinical result is constructed by providing structured object with a specific construction that follows a similar pattern to the ",(0,r.mdx)("a",{parentName:"p",href:"https://www.hl7.org/fhir/observation.html"},"HL7 FHIR Observation")," standard."),(0,r.mdx)("p",null,"An example of a single clinical result value:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import ClinicalResult from 'terra-clinical-result/lib/index';\n")),(0,r.mdx)("h2",{id:"component-features"},"Component Features"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#ltr--rtl"},"LTR/RTL Support"))),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(p,{title:"Default Clinical Result",mdxType:"DefaultResult"}),(0,r.mdx)(b,{title:"Modified Clinical Result with Comments",mdxType:"DecoratedResult"}),(0,r.mdx)(T,{title:"Unverified Clinical Result with Hide Unit of Measure",mdxType:"UnverifiedResult"}),(0,r.mdx)(H,{title:"Clinical Result with additional displays",mdxType:"ExtraDisplaysResult"}),(0,r.mdx)(J,{title:"Clinical Results with Intrepretation",mdxType:"InterpretationResults"}),(0,r.mdx)(te,{title:"Changing the Clinical Result Size",mdxType:"SizeChangeResult"}),(0,r.mdx)(q,{title:"Truncated Clinical Result",mdxType:"TruncatedResult"}),(0,r.mdx)(se,{title:"Display for 'Known No Result'",mdxType:"KnownNoData"}),(0,r.mdx)(ye,{title:"Clinical Result Known Error",mdxType:"KnownError"}),(0,r.mdx)(_e,{title:"Clinical Result Accidental Error",mdxType:"AccidentalError"}),(0,r.mdx)(ke,{title:"Clinical Result Status Entered In Error",mdxType:"StatusEnteredInError"}),(0,r.mdx)("h2",{id:"clinical-result-props-props"},"Clinical Result Props Props"),(0,r.mdx)(Ze,{mdxType:"ClinicalResultsProps"}),(0,r.mdx)("h2",{id:"testing"},"Testing"),(0,r.mdx)("p",null,"Menu uses ",(0,r.mdx)("inlineCode",{parentName:"p"},"uuid")," which changes the component's description id dynamically. To mock the return value with the Jest testing library, ",(0,r.mdx)("inlineCode",{parentName:"p"},"jest.spyOn")," can be used."),(0,r.mdx)("p",null,"If Enzyme ",(0,r.mdx)("inlineCode",{parentName:"p"},"shallow")," rendering is being used for the tests then the mock may not be required. However, if ",(0,r.mdx)("inlineCode",{parentName:"p"},"mount")," is used then ",(0,r.mdx)("inlineCode",{parentName:"p"},"uuid")," should be mocked as shown below:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-js"},"import { v4 as uuidv4 } from 'uuid';\n\nlet mockSpyUuid;\n\n// using a variable may result in failures. For best results, mock return value.\nbeforeAll(() => {\n mockSpyUuid = jest.spyOn(uuidv4, 'v4').mockReturnValue('00000000-0000-0000-0000-000000000000');\n});\n\n// restore the mock\nafterAll(() => {\n mockSpyUuid.mockRestore();\n});\n")))}We.isMDXComponent=!0},52636:function(e,n,t){t.d(n,{Z:function(){return s}});t(67294);var l=t(81254),r=["components"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var o={},m="wrapper";function s(e){var n=e.components,t=i(e,r);return(0,l.mdx)(m,a({},o,t,{components:n,mdxType:"MDXLayout"}),(0,l.mdx)("pre",null,(0,l.mdx)("code",{parentName:"pre",className:"language-scss"},"@import './clinical-lowlight-theme/Examples.module';\n@import './orion-fusion-theme/Examples.module';\n\n:local {\n .example-description-text {\n display: inline-flex;\n margin-bottom: 0.75rem;\n }\n\n .dashed-border-group {\n border: var(--terra-clinical-result-examples-dashed-border-group-border, 2px dashed #333);\n }\n\n .clinical-result-fontsize-16 {\n font-size: 1.14285rem;\n }\n\n .clinical-result-fontsize-18 {\n font-size: 1.28571rem;\n }\n\n .clinical-result-fontsize-21 {\n font-size: 1.5rem;\n }\n\n .clinical-result-fontsize-24 {\n font-size: 1.71428rem;\n }\n\n .bottom-space {\n margin-bottom: 1.42857rem;\n }\n\n .mock-flowsheet-example {\n margin: 0;\n padding: 0;\n }\n\n .mock-flowsheet-table {\n table-layout: fixed;\n width: 40%;\n }\n\n .mock-flowsheet-table-full {\n table-layout: fixed;\n width: 100%;\n }\n\n .mock-flowsheet-header {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-header-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-header-border, 1px solid #dedfe0);\n border-bottom-color: var(--terra-clinical-result-examples-mock-flowsheet-header-border-bottom-color, #868a8c);\n line-height: 0;\n max-width: 1055px;\n overflow: hidden;\n padding-left: 220px;\n white-space: nowrap;\n }\n\n .mock-flowsheet-header-cell {\n border-left: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-border-left, 1px solid #868a8c);\n border-right: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-border-right, 1px solid #868a8c);\n display: inline-block;\n margin-right: -1px;\n width: 120px;\n\n &.new-date {\n border-left: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-new-date-border-left, 2px solid #4e5558);\n }\n }\n\n .mock-flowsheet-firstcolumn {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-border, 1px solid #dedfe0);\n border-right: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-border-right, 2px solid #4e5558);\n max-width: 222px;\n overflow: hidden;\n padding-top: 48px;\n white-space: nowrap;\n }\n\n .mock-flowsheet-firstcolumn-cell {\n border-bottom: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-border-bottom, 1px solid #868a8c);\n border-top: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-border-top, 1px solid #868a8c);\n margin-bottom: -1px;\n\n &.zebra {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-zebra-background-color, #dedfe0);\n }\n }\n\n .mock-flowsheet-resultcolumn {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-border, 1px solid #dedfe0);\n display: inline-block;\n margin-left: -1px;\n overflow: hidden;\n padding-top: 24px;\n vertical-align: top;\n width: 162px;\n\n &.half-column {\n width: 99px;\n }\n\n &.double-column {\n width: 324px;\n }\n\n &.triple-column {\n width: 490px;\n }\n\n &.flexible50-column {\n width: 50%;\n }\n }\n\n .mock-flowsheet-resultcolumn-cell {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-background-color, #fff);\n border-bottom: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-border-bottom, 1px solid #dedfe0);\n border-top: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-border-top, 1px solid #dedfe0);\n box-sizing: border-box;\n height: 33px;\n margin-bottom: -1px;\n white-space: nowrap;\n\n &.allow-wrapping {\n overflow: auto;\n white-space: normal;\n word-wrap: normal;\n }\n\n &.empty {\n height: 33px;\n }\n\n &.short {\n height: 25px;\n }\n\n &.medium {\n height: 41px;\n }\n\n &.tall {\n height: 155px;\n }\n\n &.with-padding {\n padding: 7px 7px 0;\n }\n\n &.zebra {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-zebra-background-color, #f1f1f1);\n }\n }\n\n .vertical-center-align-wrapper {\n align-items: center;\n display: flex;\n height: 100%;\n margin: 0;\n max-height: 100%;\n max-width: 100%; // Needed for IE10 truncation\n overflow: hidden; // Needed for IE10\n padding: 0;\n width: 100%;\n }\n}\n\n")))}s.isMDXComponent=!0},61042:function(e,n,t){t.d(n,{C:function(){return a}});var l=t(67294),r=t(22863),a=function(e){var n=e.url;return l.createElement(r.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-result",name:"terra-clinical-result",version:"1.21.0",url:n})}},46074:function(e,n,t){n.Z=void 0;var l=a(t(67294)),r=a(t(21860));function a(e){return e&&e.__esModule?e:{default:e}}var i={eventId:"111",temperature:{result:{value:"12345.678",unit:"mL"}}};n.Z=function(){return l.default.createElement(r.default,i)}},36297:function(e,n,t){n.Z=void 0;var l=o(t(67294)),r=o(t(21860)),a=o(t(47166)),i=o(t(60815));function o(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var u={};function d(e){var n=e.components,t=s(e,o);return(0,r.mdx)("wrapper",m({},u,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '1577836800',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n};\n\nexport default () => ;\n\n")))}d.isMDXComponent=!0;var c=t(49271),p=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Default",description:t,example:l.createElement(i.Z,null),exampleSrc:l.createElement(d,null),isExpanded:r})},x=t(35398),f=["components"];function y(){return y=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var g={};function v(e){var n=e.components,t=h(e,f);return(0,r.mdx)("wrapper",y({},g,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n};\n\nexport default () => ;\n\n")))}v.isMDXComponent=!0;var b=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Decorated",description:t,example:l.createElement(x.Z,null),exampleSrc:l.createElement(v,null),isExpanded:r})},O=t(85441),w=["components"];function _(){return _=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var E={};function C(e){var n=e.components,t=R(e,w);return(0,r.mdx)("wrapper",_({},E,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n};\n\nexport default () => ;\n\n")))}C.isMDXComponent=!0;var T=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Unverified",description:t,example:l.createElement(O.Z,null),exampleSrc:l.createElement(C,null),isExpanded:r})},j=t(1092),N=["components"];function k(){return k=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var P={};function S(e){var n=e.components,t=D(e,N);return(0,r.mdx)("wrapper",k({},P,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n conceptDisplay: 'Temperature Oral',\n datetimeDisplay: 'Nov 23, 2019 13:31:31',\n};\n\nexport default () => ;\n\n")))}S.isMDXComponent=!0;var H=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Extra Displays",description:t,example:l.createElement(j.Z,null),exampleSrc:l.createElement(S,null),isExpanded:r})},I=t(27028),M=["components"];function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var X={};function L(e){var n=e.components,t=V(e,M);return(0,r.mdx)("wrapper",Z({},X,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '354.23377777758678567867856785687678567856767868678567856785678567856785678567857856785678567856785678567856785678578567856',\n unit: 'mmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHgmmHg',\n },\n interpretation: 'critical',\n conceptDisplay: 'Temperature Oral',\n datetimeDisplay: 'Nov 23, 2019 13:31:31',\n};\n\nexport default () => ;\n\n")))}L.isMDXComponent=!0;var q=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Truncated",description:t,example:l.createElement(I.Z,null),exampleSrc:l.createElement(L,null),isExpanded:r})},z=t(97890),W=["components"];function U(){return U=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var F={};function K(e){var n=e.components,t=A(e,W);return(0,r.mdx)("wrapper",U({},F,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\nimport classNames from 'classnames/bind';\nimport styles from '../Examples.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst setofResultValues = [];\n\nconst criticalResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'critical',\n};\n\nconst highResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'high',\n};\n\nconst lowResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'low',\n};\n\nconst abnormalResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'abnormal',\n};\n\nsetofResultValues.push(
);\nsetofResultValues.push(
);\nsetofResultValues.push(
);\nsetofResultValues.push(
);\n\nexport default () => setofResultValues;\n\n")))}K.isMDXComponent=!0;var B=t(52636),J=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Interpretation",description:t,example:l.createElement(z.Z,null),exampleCssSrc:l.createElement(B.Z,null),exampleSrc:l.createElement(K,null),isExpanded:r})},G=t(36297),Y=["components"];function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var ee={};function ne(e){var n=e.components,t=$(e,Y);return(0,r.mdx)("wrapper",Q({},ee,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\nimport classNames from 'classnames/bind';\nimport styles from '../Examples.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n interpretation: 'critical',\n conceptDisplay: 'Temperature Oral',\n datetimeDisplay: 'Nov 23, 2019 13:31:31',\n};\n\nexport default () => (\n
\n \n
\n);\n\n")))}ne.isMDXComponent=!0;var te=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Change Size",description:t,example:l.createElement(G.Z,null),exampleCssSrc:l.createElement(B.Z,null),exampleSrc:l.createElement(ne,null),isExpanded:r})},le=t(27699),re=["components"];function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var oe={};function me(e){var n=e.components,t=ie(e,re);return(0,r.mdx)("wrapper",ae({},oe,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\nimport classNames from 'classnames/bind';\nimport styles from '../Examples.module.scss';\n\nconst cx = classNames.bind(styles);\n\nexport default () => (\n \n Use the `hasResultNoData` prop to show the no data display:\n \n\n \n);\n\n")))}me.isMDXComponent=!0;var se=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Known No Data",description:t,example:l.createElement(le.Z,null),exampleCssSrc:l.createElement(B.Z,null),exampleSrc:l.createElement(me,null),isExpanded:r})},ue=t(73649),de=["components"];function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var xe={};function fe(e){var n=e.components,t=pe(e,de);return(0,r.mdx)("wrapper",ce({},xe,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nexport default () => ;\n\n")))}fe.isMDXComponent=!0;var ye=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Known Error",description:t,example:l.createElement(ue.Z,null),exampleSrc:l.createElement(fe,null),isExpanded:r})},he=t(46074),ge=["components"];function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var Oe={};function we(e){var n=e.components,t=be(e,ge);return(0,r.mdx)("wrapper",ve({},Oe,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst malformedResultValue = {\n eventId: '111',\n temperature: {\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n },\n};\n\nexport default () => ;\n\n")))}we.isMDXComponent=!0;var _e=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Accidental Error",description:t,example:l.createElement(he.Z,null),exampleSrc:l.createElement(we,null),isExpanded:r})},Re=t(6922),Ee=["components"];function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var je={};function Ne(e){var n=e.components,t=Te(e,Ee);return(0,r.mdx)("wrapper",Ce({},je,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport ClinicalResult from 'terra-clinical-result/lib/index';\n\nconst singleResultValue = {\n eventId: '111',\n result: {\n value: '12345.678',\n unit: 'mL',\n },\n status: 'entered-in-error',\n interpretation: 'critical',\n conceptDisplay: 'Temperature Oral',\n datetimeDisplay: 'Nov 23, 2019 13:31:31',\n};\n\nexport default () => ;\n\n")))}Ne.isMDXComponent=!0;var ke=function(e){var n=e.title,t=e.description,r=e.isExpanded;return l.createElement(c.Z,{title:n||"Clinical Result Status Entered In Error",description:t,example:l.createElement(Re.Z,null),exampleSrc:l.createElement(Ne,null),isExpanded:r})},De=t(78530),Pe=["components"];function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var Ie={},Me="wrapper";function Ze(e){var n=e.components,t=He(e,Pe);return(0,r.mdx)(Me,Se({},Ie,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(De.ZP,{mdxType:"PropsTable"},(0,r.mdx)(De.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"eventId"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"A unique event identifier attached to the result data"))),(0,r.mdx)(De.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"result"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"custom\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Value and optional Unit of Measure for the Observation Result"))),(0,r.mdx)(De.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"interpretation"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"custom\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Interpretation of the Result, indicates Criticality"))),(0,r.mdx)(De.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"isUnverified"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Adds indicator if result value has not been verified, typically if it has not been\nauthenticated and committed to the patient's chart."))),(0,r.mdx)(De.X2,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"conceptDisplay"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Display to show the full Result Name/Label Concept, e.g. ",(0,r.mdx)("inlineCode",{parentName:"p"},"'Temperature Oral'"),"."))),(0,r.mdx)(De.X2,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"datetimeDisplay"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Display to show an appropriate clinically relevant documented datetime."))),(0,r.mdx)(De.X2,{key:"ROW7",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"hideUnit"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Visually hides the unit of measure when presented in a series of side-by-side columns of the same unit."))),(0,r.mdx)(De.X2,{key:"ROW8",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"isTruncated"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Whether or not the text should be truncated in display. Restricts clinical result details each to one line."))),(0,r.mdx)(De.X2,{key:"ROW9",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"isModified"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Adds indicator if the result value has been modified to a different value from its\npreviously documented value for the same clinical result date & time."))),(0,r.mdx)(De.X2,{key:"ROW10",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"hasComment"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Adds indicator if the result value has an additional comment applied to the clinical result value."))),(0,r.mdx)(De.X2,{key:"ROW11",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"hasResultError"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Override that shows an Error display. Used when there is a known error or problem when retrieving or assembling the clinical result data."))),(0,r.mdx)(De.X2,{key:"ROW12",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"hasResultNoData"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,'Override that shows a known "No Data" display. Used when there is known to be no value for a given clinical result concept at a specific datetime.'))),(0,r.mdx)(De.X2,{key:"ROW13",mdxType:"Row"},(0,r.mdx)(De.O,{mdxType:"PropNameCell"},"status"),(0,r.mdx)(De.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"custom\n"))),(0,r.mdx)(De.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(De.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(De.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Enum for possible Result Statuses.\nOne of ",(0,r.mdx)("inlineCode",{parentName:"p"},"'entered-in-error'"),"s.")))))}Ze.isMDXComponent=!0;var Ve=["components"];function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var qe={},ze="wrapper";function We(e){var n=e.components,t=Le(e,Ve);return(0,r.mdx)(ze,Xe({},qe,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(a.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-clinical-result"},"Terra Clinical Result"),(0,r.mdx)("p",null,"The Terra Clinical Result package is a collection of standardized views for presenting clinical results documented to a Patient's Medical Chart,\nsuch as Vital Signs, Laboratory Results, and Discretely Documented Values. It also includes additional supporting views where clinical results\nare commonly displayed like flowsheets, result detail viewers, etc."),(0,r.mdx)("p",null,"This default Clinical Result component is intended for displaying a single result value."),(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-clinical-result"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-intl"),(0,r.mdx)("td",{parentName:"tr",align:null},"^2.8.0")))),(0,r.mdx)("h2",{id:"usage-guide"},"Usage Guide"),(0,r.mdx)("p",null,"The clinical result is constructed by providing structured object with a specific construction that follows a similar pattern to the ",(0,r.mdx)("a",{parentName:"p",href:"https://www.hl7.org/fhir/observation.html"},"HL7 FHIR Observation")," standard."),(0,r.mdx)("p",null,"An example of a single clinical result value:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import ClinicalResult from 'terra-clinical-result/lib/index';\n")),(0,r.mdx)("h2",{id:"component-features"},"Component Features"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#ltr--rtl"},"LTR/RTL Support"))),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(p,{title:"Default Clinical Result",mdxType:"DefaultResult"}),(0,r.mdx)(b,{title:"Modified Clinical Result with Comments",mdxType:"DecoratedResult"}),(0,r.mdx)(T,{title:"Unverified Clinical Result with Hide Unit of Measure",mdxType:"UnverifiedResult"}),(0,r.mdx)(H,{title:"Clinical Result with additional displays",mdxType:"ExtraDisplaysResult"}),(0,r.mdx)(J,{title:"Clinical Results with Intrepretation",mdxType:"InterpretationResults"}),(0,r.mdx)(te,{title:"Changing the Clinical Result Size",mdxType:"SizeChangeResult"}),(0,r.mdx)(q,{title:"Truncated Clinical Result",mdxType:"TruncatedResult"}),(0,r.mdx)(se,{title:"Display for 'Known No Result'",mdxType:"KnownNoData"}),(0,r.mdx)(ye,{title:"Clinical Result Known Error",mdxType:"KnownError"}),(0,r.mdx)(_e,{title:"Clinical Result Accidental Error",mdxType:"AccidentalError"}),(0,r.mdx)(ke,{title:"Clinical Result Status Entered In Error",mdxType:"StatusEnteredInError"}),(0,r.mdx)("h2",{id:"clinical-result-props-props"},"Clinical Result Props Props"),(0,r.mdx)(Ze,{mdxType:"ClinicalResultsProps"}),(0,r.mdx)("h2",{id:"testing"},"Testing"),(0,r.mdx)("p",null,"Menu uses ",(0,r.mdx)("inlineCode",{parentName:"p"},"uuid")," which changes the component's description id dynamically. To mock the return value with the Jest testing library, ",(0,r.mdx)("inlineCode",{parentName:"p"},"jest.spyOn")," can be used."),(0,r.mdx)("p",null,"If Enzyme ",(0,r.mdx)("inlineCode",{parentName:"p"},"shallow")," rendering is being used for the tests then the mock may not be required. However, if ",(0,r.mdx)("inlineCode",{parentName:"p"},"mount")," is used then ",(0,r.mdx)("inlineCode",{parentName:"p"},"uuid")," should be mocked as shown below:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-js"},"import { v4 as uuidv4 } from 'uuid';\n\nlet mockSpyUuid;\n\n// using a variable may result in failures. For best results, mock return value.\nbeforeAll(() => {\n mockSpyUuid = jest.spyOn(uuidv4, 'v4').mockReturnValue('00000000-0000-0000-0000-000000000000');\n});\n\n// restore the mock\nafterAll(() => {\n mockSpyUuid.mockRestore();\n});\n")))}We.isMDXComponent=!0},52636:function(e,n,t){t.d(n,{Z:function(){return s}});t(67294);var l=t(81254),r=["components"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var o={},m="wrapper";function s(e){var n=e.components,t=i(e,r);return(0,l.mdx)(m,a({},o,t,{components:n,mdxType:"MDXLayout"}),(0,l.mdx)("pre",null,(0,l.mdx)("code",{parentName:"pre",className:"language-scss"},"@import './clinical-lowlight-theme/Examples.module';\n@import './orion-fusion-theme/Examples.module';\n\n:local {\n .example-description-text {\n display: inline-flex;\n margin-bottom: 0.75rem;\n }\n\n .dashed-border-group {\n border: var(--terra-clinical-result-examples-dashed-border-group-border, 2px dashed #333);\n }\n\n .clinical-result-fontsize-16 {\n font-size: 1.14285rem;\n }\n\n .clinical-result-fontsize-18 {\n font-size: 1.28571rem;\n }\n\n .clinical-result-fontsize-21 {\n font-size: 1.5rem;\n }\n\n .clinical-result-fontsize-24 {\n font-size: 1.71428rem;\n }\n\n .bottom-space {\n margin-bottom: 1.42857rem;\n }\n\n .mock-flowsheet-example {\n margin: 0;\n padding: 0;\n }\n\n .mock-flowsheet-table {\n table-layout: fixed;\n width: 40%;\n }\n\n .mock-flowsheet-table-full {\n table-layout: fixed;\n width: 100%;\n }\n\n .mock-flowsheet-header {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-header-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-header-border, 1px solid #dedfe0);\n border-bottom-color: var(--terra-clinical-result-examples-mock-flowsheet-header-border-bottom-color, #868a8c);\n line-height: 0;\n max-width: 1055px;\n overflow: hidden;\n padding-left: 220px;\n white-space: nowrap;\n }\n\n .mock-flowsheet-header-cell {\n border-left: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-border-left, 1px solid #868a8c);\n border-right: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-border-right, 1px solid #868a8c);\n display: inline-block;\n margin-right: -1px;\n width: 120px;\n\n &.new-date {\n border-left: var(--terra-clinical-result-examples-mock-flowsheet-header-cell-new-date-border-left, 2px solid #4e5558);\n }\n }\n\n .mock-flowsheet-firstcolumn {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-border, 1px solid #dedfe0);\n border-right: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-border-right, 2px solid #4e5558);\n max-width: 222px;\n overflow: hidden;\n padding-top: 48px;\n white-space: nowrap;\n }\n\n .mock-flowsheet-firstcolumn-cell {\n border-bottom: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-border-bottom, 1px solid #868a8c);\n border-top: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-border-top, 1px solid #868a8c);\n margin-bottom: -1px;\n\n &.zebra {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-firstcolumn-cell-zebra-background-color, #dedfe0);\n }\n }\n\n .mock-flowsheet-resultcolumn {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-background-color, #f1f1f1);\n border: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-border, 1px solid #dedfe0);\n display: inline-block;\n margin-left: -1px;\n overflow: hidden;\n padding-top: 24px;\n vertical-align: top;\n width: 162px;\n\n &.half-column {\n width: 99px;\n }\n\n &.double-column {\n width: 324px;\n }\n\n &.triple-column {\n width: 490px;\n }\n\n &.flexible50-column {\n width: 50%;\n }\n }\n\n .mock-flowsheet-resultcolumn-cell {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-background-color, #fff);\n border-bottom: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-border-bottom, 1px solid #dedfe0);\n border-top: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-border-top, 1px solid #dedfe0);\n box-sizing: border-box;\n height: 33px;\n margin-bottom: -1px;\n white-space: nowrap;\n\n &.allow-wrapping {\n overflow: auto;\n white-space: normal;\n word-wrap: normal;\n }\n\n &.empty {\n height: 33px;\n }\n\n &.short {\n height: 25px;\n }\n\n &.medium {\n height: 41px;\n }\n\n &.tall {\n height: 155px;\n }\n\n &.with-padding {\n padding: 7px 7px 0;\n }\n\n &.zebra {\n background-color: var(--terra-clinical-result-examples-mock-flowsheet-resultcolumn-cell-zebra-background-color, #f1f1f1);\n }\n }\n\n .vertical-center-align-wrapper {\n align-items: center;\n display: flex;\n height: 100%;\n margin: 0;\n max-height: 100%;\n max-width: 100%; // Needed for IE10 truncation\n overflow: hidden; // Needed for IE10\n padding: 0;\n width: 100%;\n }\n}\n\n")))}s.isMDXComponent=!0},61042:function(e,n,t){t.d(n,{C:function(){return a}});var l=t(67294),r=t(22863),a=function(e){var n=e.url;return l.createElement(r.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-result",name:"terra-clinical-result",version:"1.22.0",url:n})}},46074:function(e,n,t){n.Z=void 0;var l=a(t(67294)),r=a(t(21860));function a(e){return e&&e.__esModule?e:{default:e}}var i={eventId:"111",temperature:{result:{value:"12345.678",unit:"mL"}}};n.Z=function(){return l.default.createElement(r.default,i)}},36297:function(e,n,t){n.Z=void 0;var l=o(t(67294)),r=o(t(21860)),a=o(t(47166)),i=o(t(60815));function o(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var r={},u="wrapper";function p(e){var a=e.components,l=i(e,n);return(0,d.mdx)(u,t({},r,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)("h1",{id:"changelog"},"Changelog"),(0,d.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,d.mdx)("h2",{id:"3350---august-16-2023"},"3.35.0 - (August 16, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed extra empty space showing when no elements are specified for title section.")))),(0,d.mdx)("h2",{id:"3340---august-2-2023"},"3.34.0 - (August 2, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Locked ",(0,d.mdx)("inlineCode",{parentName:"li"},"uuid")," dependency to ",(0,d.mdx)("inlineCode",{parentName:"li"},"3.4.0")," for maximum consistency across Terra packages."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added aria-labelledby attribute to ",(0,d.mdx)("em",{parentName:"li"},"DetailList")," using the list title's id attribute."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed issue related to flexing in ",(0,d.mdx)("em",{parentName:"li"},"DetailList"),".")))),(0,d.mdx)("h2",{id:"3330---july-17-2023"},"3.33.0 - (July 17, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"3320---july-12-2023"},"3.32.0 - (July 12, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated ",(0,d.mdx)("em",{parentName:"li"},"DetailList")," to accept null as children."),(0,d.mdx)("li",{parentName:"ul"},"Locked ",(0,d.mdx)("inlineCode",{parentName:"li"},"uuid")," dependency to ",(0,d.mdx)("inlineCode",{parentName:"li"},"7.0.3")," for consistency across Terra packages."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added accessibility guide.")))),(0,d.mdx)("h2",{id:"3310---june-22-2023"},"3.31.0 - (June 22, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"isLabelValuePairList")," prop to the DetailList component to support using a description list for label-value pairs."),(0,d.mdx)("li",{parentName:"ul"},"Added aria-labelledby attribute to DetailView ",(0,d.mdx)("inlineCode",{parentName:"li"},"
")," using title's id attribute."),(0,d.mdx)("li",{parentName:"ul"},"Added an example terra-graphs for ",(0,d.mdx)("inlineCode",{parentName:"li"},"graph")," prop to terra-clinical-detail-view dev site.")))),(0,d.mdx)("h2",{id:"3300---june-14-2023"},"3.30.0 - (June 14, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated the DetailView component to use semantic html elements."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"level")," prop to the DetailView component to allow users to render different heading levels.")))),(0,d.mdx)("h2",{id:"3290---april-21-2023"},"3.29.0 - (April 21, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated the component examples.")))),(0,d.mdx)("h2",{id:"3280---march-29-2023"},"3.28.0 - (March 29, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots.")))),(0,d.mdx)("h2",{id:"3270---july-21-2021"},"3.27.0 - (July 21, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,d.mdx)("h2",{id:"3260---march-25-2021"},"3.26.0 - (March 25, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Upgrade tests to terra-functional-testing and WebDriverIO v6")))),(0,d.mdx)("h2",{id:"3250---january-5-2021"},"3.25.0 - (January 5, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,d.mdx)("h2",{id:"3240---november-10-2020"},"3.24.0 - (November 10, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,d.mdx)("h2",{id:"3230---august-25-2020"},"3.23.0 - (August 25, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"3220---august-4-2020"},"3.22.0 - (August 4, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"updated ",(0,d.mdx)("inlineCode",{parentName:"li"},"master")," references to ",(0,d.mdx)("inlineCode",{parentName:"li"},"main"),"."),(0,d.mdx)("li",{parentName:"ul"},"Update changelog formatting")))),(0,d.mdx)("h2",{id:"3210---june-16-2020"},"3.21.0 - (June 16, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Specify divider display to prevent global styles from overriding/hiding it")))),(0,d.mdx)("h2",{id:"3200---june-9-2020"},"3.20.0 - (June 9, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,d.mdx)("h2",{id:"3190---april-28-2020"},"3.19.0 - (April 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,d.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,d.mdx)("h2",{id:"3180---april-14-2020"},"3.18.0 - (April 14, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config")))),(0,d.mdx)("h2",{id:"3170---march-31-2020"},"3.17.0 - (March 31, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added wdio screenshots for clinical-lowlight-theme")))),(0,d.mdx)("h2",{id:"3160---march-17-2020"},"3.16.0 - (March 17, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use MDX syntax")))),(0,d.mdx)("h2",{id:"3150---february-18-2020"},"3.15.0 - (February 18, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme theming files")))),(0,d.mdx)("h2",{id:"3140---january-28-2020"},"3.14.0 - (January 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,d.mdx)("h2",{id:"3130---january-22-2020"},"3.13.0 - (January 22, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,d.mdx)("h2",{id:"3120---january-7-2020"},"3.12.0 - (January 7, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"3110---october-30-2019"},"3.11.0 - (October 30, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax")))),(0,d.mdx)("h2",{id:"3100---september-26-2019"},"3.10.0 - (September 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"390---september-19-2019"},"3.9.0 - (September 19, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Convert SCSS files to .module.scss")))),(0,d.mdx)("h2",{id:"380---september-6-2019"},"3.8.0 - (September 6, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed inline styles from dev site components."),(0,d.mdx)("li",{parentName:"ul"},"Replaced Object.assign syntax with Object spread syntax"),(0,d.mdx)("li",{parentName:"ul"},"Add comments for ESlint 6"),(0,d.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files"),(0,d.mdx)("li",{parentName:"ul"},"Removed clinical-item-display as a dependency.")))),(0,d.mdx)("h2",{id:"370---august-14-2019"},"3.7.0 - (August 14, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated package.json test scripts")))),(0,d.mdx)("h2",{id:"360---july-16-2019"},"3.6.0 - (July 16, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Replaced inline stylings for terra-dev-site components with .scss files"),(0,d.mdx)("li",{parentName:"ul"},"Update wdio specs to use Terra.describeViewports"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added max-width to DetailListItem resolving IE10 wrapping issue for label-value-views inside of detail-view-list.")))),(0,d.mdx)("h2",{id:"350---june-11-2019"},"3.5.0 - (June 11, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Removed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore")))),(0,d.mdx)("h2",{id:"340---march-26-2019"},"3.4.0 - (March 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,d.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,d.mdx)("h2",{id:"330---february-26-2019"},"3.3.0 - (February 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"320---february-5-2019"},"3.2.0 - (February 5, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"310---january-22-2019"},"3.1.0 - (January 22, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Dependency updates")))),(0,d.mdx)("h2",{id:"300---january-17-2019"},"3.0.0 - (January 17, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Breaking Change"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Renamed theming variables to match new lint standards"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Changelog dev site doc page")))),(0,d.mdx)("h2",{id:"2170---november-21-2018"},"2.17.0 - (November 21, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2160---october-8-2018"},"2.16.0 - (October 8, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2150---october-2-2018"},"2.15.0 - (October 2, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,d.mdx)("h2",{id:"2140---september-5-2018"},"2.14.0 - (September 5, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,d.mdx)("h2",{id:"2130---august-30-2018"},"2.13.0 - (August 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2120---august-1-2018"},"2.12.0 - (August 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"2111---july-25-2018"},"2.11.1 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Patch release")))),(0,d.mdx)("h2",{id:"2110---july-25-2018"},"2.11.0 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"2100---july-17-2018"},"2.10.0 - (July 17, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"290---july-3-2018"},"2.9.0 - (July 3, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"280---june-28-2018"},"2.8.0 - (June 28, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added word-wrap property to DetailView titles and subtitles"),(0,d.mdx)("li",{parentName:"ul"},"Added test page for overflow text"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Lint in doc page")))),(0,d.mdx)("h2",{id:"270---june-19-2018"},"2.7.0 - (June 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"260---june-12-2018"},"2.6.0 - (June 12, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Conform to eslint updates"),(0,d.mdx)("li",{parentName:"ul"},"Added theming variables in Detail View")))),(0,d.mdx)("h2",{id:"250---may-30-2018"},"2.5.0 - (May 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,d.mdx)("h2",{id:"240---may-22-2018"},"2.4.0 - (May 22, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"230---may-1-2018"},"2.3.0 - (May 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Added new props "secondaryTitles", "accessory", and "isSmallerTitles"'))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated spacing & text sizes"),(0,d.mdx)("li",{parentName:"ul"},"Updated empty/none default prop values to undefined")))),(0,d.mdx)("h2",{id:"220---march-27-2018"},"2.2.0 - (March 27, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated text sizes & colors")))),(0,d.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"200---february-19-2018"},"2.0.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update to React 16")))),(0,d.mdx)("h2",{id:"150---february-19-2018"},"1.5.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"140---september-26-2017"},"1.4.0 - (September 26, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Remove stylelint-disable selector-class-pattern")))),(0,d.mdx)("h2",{id:"130---september-1-2017"},"1.3.0 - (September 1, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change dependency on terra-base to v2.0.0"),(0,d.mdx)("li",{parentName:"ul"},"Update nightwatch tests and test scripts.")))),(0,d.mdx)("h2",{id:"120---august-16-2017"},"1.2.0 - (August 16, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change data-class to be name spaced"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixes"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed divider rendering for when graphic is not present which caused double dividers"),(0,d.mdx)("li",{parentName:"ul"},"Fixed styling that applied padding-bottom on all children")))),(0,d.mdx)("h2",{id:"111---july-27-2017"},"1.1.1 - (July 27, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated spacing around react-docgen comments")))),(0,d.mdx)("h2",{id:"110---july-18-2017"},"1.1.0 - (July 18, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted component to use CSS modules"),(0,d.mdx)("li",{parentName:"ul"},"Updated nightwatch test scripts"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed nightwatch.config file")))),(0,d.mdx)("h2",{id:"100---june-28-2017"},"1.0.0 - (June 28, 2017)"),(0,d.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var N={},c="wrapper";function h(e){var a=e.components,l=s(e,x);return(0,d.mdx)(c,o({},N,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)(m.C,{mdxType:"Badge"}),(0,d.mdx)(p,{mdxType:"ChangeLog"}))}h.isMDXComponent=!0},83620:function(e,a,l){l.d(a,{C:function(){return n}});var d=l(67294),m=l(22863),n=function(e){var a=e.url;return d.createElement(m.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-detail-view",name:"terra-clinical-detail-view",version:"3.35.0",url:a})}},17422: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"}}}]); \ No newline at end of file diff --git a/pull/916/5746-2e7b2789647b67fe707e.css b/pull/916/5746-c15424937e2aa89acc73.css similarity index 100% rename from pull/916/5746-2e7b2789647b67fe707e.css rename to pull/916/5746-c15424937e2aa89acc73.css diff --git a/pull/916/5746-c15424937e2aa89acc73.js b/pull/916/5746-c15424937e2aa89acc73.js new file mode 100644 index 000000000..21b96024f --- /dev/null +++ b/pull/916/5746-c15424937e2aa89acc73.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[5746],{22863:function(e,a,l){var d=l(64836);a.Z=void 0;var m=d(l(67294)),n=d(l(45697)),t=d(l(47166)),i=d(l(17422)),r=t.default.bind(i.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,d=e.url,n=e.version,t=m.default.createElement("a",{className:r("badge"),href:d||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},m.default.createElement("span",{className:r("badge-name")},d?"package":"npm"),m.default.createElement("span",{className:r("badge-version")},"v".concat(n))),i=a?m.default.createElement("a",{className:r("badge"),href:a},m.default.createElement("span",{className:r("badge-name")},"github"),m.default.createElement("span",{className:r("badge-version")},"source")):void 0;return m.default.createElement("div",{className:r("badge-container")},t,i)};p.propTypes=u;var x=p;a.Z=x},25746:function(e,a,l){l.r(a),l.d(a,{default:function(){return h}});l(67294);var d=l(81254),m=l(83620),n=["components"];function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var r={},u="wrapper";function p(e){var a=e.components,l=i(e,n);return(0,d.mdx)(u,t({},r,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)("h1",{id:"changelog"},"Changelog"),(0,d.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,d.mdx)("h2",{id:"3360---september-21-2023"},"3.36.0 - (September 21, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"3350---august-16-2023"},"3.35.0 - (August 16, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed extra empty space showing when no elements are specified for title section.")))),(0,d.mdx)("h2",{id:"3340---august-2-2023"},"3.34.0 - (August 2, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Locked ",(0,d.mdx)("inlineCode",{parentName:"li"},"uuid")," dependency to ",(0,d.mdx)("inlineCode",{parentName:"li"},"3.4.0")," for maximum consistency across Terra packages."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added aria-labelledby attribute to ",(0,d.mdx)("em",{parentName:"li"},"DetailList")," using the list title's id attribute."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed issue related to flexing in ",(0,d.mdx)("em",{parentName:"li"},"DetailList"),".")))),(0,d.mdx)("h2",{id:"3330---july-17-2023"},"3.33.0 - (July 17, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"3320---july-12-2023"},"3.32.0 - (July 12, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated ",(0,d.mdx)("em",{parentName:"li"},"DetailList")," to accept null as children."),(0,d.mdx)("li",{parentName:"ul"},"Locked ",(0,d.mdx)("inlineCode",{parentName:"li"},"uuid")," dependency to ",(0,d.mdx)("inlineCode",{parentName:"li"},"7.0.3")," for consistency across Terra packages."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added accessibility guide.")))),(0,d.mdx)("h2",{id:"3310---june-22-2023"},"3.31.0 - (June 22, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"isLabelValuePairList")," prop to the DetailList component to support using a description list for label-value pairs."),(0,d.mdx)("li",{parentName:"ul"},"Added aria-labelledby attribute to DetailView ",(0,d.mdx)("inlineCode",{parentName:"li"},"
")," using title's id attribute."),(0,d.mdx)("li",{parentName:"ul"},"Added an example terra-graphs for ",(0,d.mdx)("inlineCode",{parentName:"li"},"graph")," prop to terra-clinical-detail-view dev site.")))),(0,d.mdx)("h2",{id:"3300---june-14-2023"},"3.30.0 - (June 14, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated the DetailView component to use semantic html elements."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"level")," prop to the DetailView component to allow users to render different heading levels.")))),(0,d.mdx)("h2",{id:"3290---april-21-2023"},"3.29.0 - (April 21, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated the component examples.")))),(0,d.mdx)("h2",{id:"3280---march-29-2023"},"3.28.0 - (March 29, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots.")))),(0,d.mdx)("h2",{id:"3270---july-21-2021"},"3.27.0 - (July 21, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,d.mdx)("h2",{id:"3260---march-25-2021"},"3.26.0 - (March 25, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Upgrade tests to terra-functional-testing and WebDriverIO v6")))),(0,d.mdx)("h2",{id:"3250---january-5-2021"},"3.25.0 - (January 5, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,d.mdx)("h2",{id:"3240---november-10-2020"},"3.24.0 - (November 10, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,d.mdx)("h2",{id:"3230---august-25-2020"},"3.23.0 - (August 25, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"3220---august-4-2020"},"3.22.0 - (August 4, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"updated ",(0,d.mdx)("inlineCode",{parentName:"li"},"master")," references to ",(0,d.mdx)("inlineCode",{parentName:"li"},"main"),"."),(0,d.mdx)("li",{parentName:"ul"},"Update changelog formatting")))),(0,d.mdx)("h2",{id:"3210---june-16-2020"},"3.21.0 - (June 16, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Specify divider display to prevent global styles from overriding/hiding it")))),(0,d.mdx)("h2",{id:"3200---june-9-2020"},"3.20.0 - (June 9, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,d.mdx)("h2",{id:"3190---april-28-2020"},"3.19.0 - (April 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,d.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,d.mdx)("h2",{id:"3180---april-14-2020"},"3.18.0 - (April 14, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config")))),(0,d.mdx)("h2",{id:"3170---march-31-2020"},"3.17.0 - (March 31, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added wdio screenshots for clinical-lowlight-theme")))),(0,d.mdx)("h2",{id:"3160---march-17-2020"},"3.16.0 - (March 17, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use MDX syntax")))),(0,d.mdx)("h2",{id:"3150---february-18-2020"},"3.15.0 - (February 18, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme theming files")))),(0,d.mdx)("h2",{id:"3140---january-28-2020"},"3.14.0 - (January 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,d.mdx)("h2",{id:"3130---january-22-2020"},"3.13.0 - (January 22, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,d.mdx)("h2",{id:"3120---january-7-2020"},"3.12.0 - (January 7, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"3110---october-30-2019"},"3.11.0 - (October 30, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax")))),(0,d.mdx)("h2",{id:"3100---september-26-2019"},"3.10.0 - (September 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"390---september-19-2019"},"3.9.0 - (September 19, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Convert SCSS files to .module.scss")))),(0,d.mdx)("h2",{id:"380---september-6-2019"},"3.8.0 - (September 6, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed inline styles from dev site components."),(0,d.mdx)("li",{parentName:"ul"},"Replaced Object.assign syntax with Object spread syntax"),(0,d.mdx)("li",{parentName:"ul"},"Add comments for ESlint 6"),(0,d.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files"),(0,d.mdx)("li",{parentName:"ul"},"Removed clinical-item-display as a dependency.")))),(0,d.mdx)("h2",{id:"370---august-14-2019"},"3.7.0 - (August 14, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated package.json test scripts")))),(0,d.mdx)("h2",{id:"360---july-16-2019"},"3.6.0 - (July 16, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Replaced inline stylings for terra-dev-site components with .scss files"),(0,d.mdx)("li",{parentName:"ul"},"Update wdio specs to use Terra.describeViewports"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added max-width to DetailListItem resolving IE10 wrapping issue for label-value-views inside of detail-view-list.")))),(0,d.mdx)("h2",{id:"350---june-11-2019"},"3.5.0 - (June 11, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Removed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore")))),(0,d.mdx)("h2",{id:"340---march-26-2019"},"3.4.0 - (March 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,d.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,d.mdx)("h2",{id:"330---february-26-2019"},"3.3.0 - (February 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"320---february-5-2019"},"3.2.0 - (February 5, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"310---january-22-2019"},"3.1.0 - (January 22, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Dependency updates")))),(0,d.mdx)("h2",{id:"300---january-17-2019"},"3.0.0 - (January 17, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Breaking Change"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Renamed theming variables to match new lint standards"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Changelog dev site doc page")))),(0,d.mdx)("h2",{id:"2170---november-21-2018"},"2.17.0 - (November 21, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2160---october-8-2018"},"2.16.0 - (October 8, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2150---october-2-2018"},"2.15.0 - (October 2, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,d.mdx)("h2",{id:"2140---september-5-2018"},"2.14.0 - (September 5, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,d.mdx)("h2",{id:"2130---august-30-2018"},"2.13.0 - (August 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2120---august-1-2018"},"2.12.0 - (August 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"2111---july-25-2018"},"2.11.1 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Patch release")))),(0,d.mdx)("h2",{id:"2110---july-25-2018"},"2.11.0 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"2100---july-17-2018"},"2.10.0 - (July 17, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"290---july-3-2018"},"2.9.0 - (July 3, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"280---june-28-2018"},"2.8.0 - (June 28, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added word-wrap property to DetailView titles and subtitles"),(0,d.mdx)("li",{parentName:"ul"},"Added test page for overflow text"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Lint in doc page")))),(0,d.mdx)("h2",{id:"270---june-19-2018"},"2.7.0 - (June 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"260---june-12-2018"},"2.6.0 - (June 12, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Conform to eslint updates"),(0,d.mdx)("li",{parentName:"ul"},"Added theming variables in Detail View")))),(0,d.mdx)("h2",{id:"250---may-30-2018"},"2.5.0 - (May 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,d.mdx)("h2",{id:"240---may-22-2018"},"2.4.0 - (May 22, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"230---may-1-2018"},"2.3.0 - (May 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Added new props "secondaryTitles", "accessory", and "isSmallerTitles"'))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated spacing & text sizes"),(0,d.mdx)("li",{parentName:"ul"},"Updated empty/none default prop values to undefined")))),(0,d.mdx)("h2",{id:"220---march-27-2018"},"2.2.0 - (March 27, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated text sizes & colors")))),(0,d.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"200---february-19-2018"},"2.0.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update to React 16")))),(0,d.mdx)("h2",{id:"150---february-19-2018"},"1.5.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"140---september-26-2017"},"1.4.0 - (September 26, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Remove stylelint-disable selector-class-pattern")))),(0,d.mdx)("h2",{id:"130---september-1-2017"},"1.3.0 - (September 1, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change dependency on terra-base to v2.0.0"),(0,d.mdx)("li",{parentName:"ul"},"Update nightwatch tests and test scripts.")))),(0,d.mdx)("h2",{id:"120---august-16-2017"},"1.2.0 - (August 16, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change data-class to be name spaced"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixes"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed divider rendering for when graphic is not present which caused double dividers"),(0,d.mdx)("li",{parentName:"ul"},"Fixed styling that applied padding-bottom on all children")))),(0,d.mdx)("h2",{id:"111---july-27-2017"},"1.1.1 - (July 27, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated spacing around react-docgen comments")))),(0,d.mdx)("h2",{id:"110---july-18-2017"},"1.1.0 - (July 18, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted component to use CSS modules"),(0,d.mdx)("li",{parentName:"ul"},"Updated nightwatch test scripts"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed nightwatch.config file")))),(0,d.mdx)("h2",{id:"100---june-28-2017"},"1.0.0 - (June 28, 2017)"),(0,d.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var N={},c="wrapper";function h(e){var a=e.components,l=s(e,x);return(0,d.mdx)(c,o({},N,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)(m.C,{mdxType:"Badge"}),(0,d.mdx)(p,{mdxType:"ChangeLog"}))}h.isMDXComponent=!0},83620:function(e,a,l){l.d(a,{C:function(){return n}});var d=l(67294),m=l(22863),n=function(e){var a=e.url;return d.createElement(m.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-detail-view",name:"terra-clinical-detail-view",version:"3.36.0",url:a})}},17422: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"}}}]); \ No newline at end of file diff --git a/pull/916/6167-77cf4b2ac2b8acd611b6.js b/pull/916/6167-77cf4b2ac2b8acd611b6.js deleted file mode 100644 index e078aba58..000000000 --- a/pull/916/6167-77cf4b2ac2b8acd611b6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[6167],{22863:function(e,a,l){var d=l(64836);a.Z=void 0;var m=d(l(67294)),n=d(l(45697)),t=d(l(47166)),r=d(l(17422)),i=t.default.bind(r.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,d=e.url,n=e.version,t=m.default.createElement("a",{className:i("badge"),href:d||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},m.default.createElement("span",{className:i("badge-name")},d?"package":"npm"),m.default.createElement("span",{className:i("badge-version")},"v".concat(n))),r=a?m.default.createElement("a",{className:i("badge"),href:a},m.default.createElement("span",{className:i("badge-name")},"github"),m.default.createElement("span",{className:i("badge-version")},"source")):void 0;return m.default.createElement("div",{className:i("badge-container")},t,r)};p.propTypes=u;var x=p;a.Z=x},86167:function(e,a,l){l.r(a),l.d(a,{default:function(){return h}});l(67294);var d=l(81254),m=["components"];function n(){return n=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var r={},i="wrapper";function u(e){var a=e.components,l=t(e,m);return(0,d.mdx)(i,n({},r,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)("h1",{id:"changelog"},"Changelog"),(0,d.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,d.mdx)("h2",{id:"490---august-2-2023"},"4.9.0 - (August 2, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"480---june-14-2023"},"4.8.0 - (June 14, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"a11ylabel")," prop to ItemComment icon."),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"strong")," tag around strong style text."),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"span")," tag around non-strong style text."),(0,d.mdx)("li",{parentName:"ul"},"Added translations for hidden text styling."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Improved screen reader support for text styling by utilizing terra-visually-hidden-text.")))),(0,d.mdx)("h2",{id:"470---may-15-2023"},"4.7.0 - (May 15, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Deprecated"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Deprecated ",(0,d.mdx)("inlineCode",{parentName:"li"},"isDisabled")," prop as the feature does not meet a11y standards."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"textStyleMeaning")," prop to allow defining a meaning for styled text to be read by screen readers."),(0,d.mdx)("li",{parentName:"ul"},"Added accessibility guidance for using ",(0,d.mdx)("inlineCode",{parentName:"li"},"isTruncated")," prop.")))),(0,d.mdx)("h2",{id:"460---march-29-2023"},"4.6.0 - (March 29, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots.")))),(0,d.mdx)("h2",{id:"450---july-21-2021"},"4.5.0 - (July 21, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,d.mdx)("h2",{id:"440---march-25-2021"},"4.4.0 - (March 25, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Upgrade tests to terra-functional-testing and WebDriverIO v6")))),(0,d.mdx)("h2",{id:"430---january-5-2021"},"4.3.0 - (January 5, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,d.mdx)("h2",{id:"420---november-10-2020"},"4.2.0 - (November 10, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,d.mdx)("h2",{id:"410---august-4-2020"},"4.1.0 - (August 4, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update changelog formatting")))),(0,d.mdx)("h2",{id:"401---june-23-2020"},"4.0.1 - (June 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Breaking"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed ",(0,d.mdx)("inlineCode",{parentName:"li"},"ItemDisplay.Comment"),"."),(0,d.mdx)("li",{parentName:"ul"},"Changed the text style to primary by default and updated Jest snapshots."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Resolved dependency cycle.")))),(0,d.mdx)("h2",{id:"3180---june-9-2020"},"3.18.0 - (June 9, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,d.mdx)("h2",{id:"3170---april-28-2020"},"3.17.0 - (April 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,d.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,d.mdx)("h2",{id:"3160---april-23-2020"},"3.16.0 - (April 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Set ",(0,d.mdx)("inlineCode",{parentName:"li"},"aria-disabled")," for a disabled item display to fix color-contrast axe failure.")))),(0,d.mdx)("h2",{id:"3150---april-14-2020"},"3.15.0 - (April 14, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config")))),(0,d.mdx)("h2",{id:"3140---march-31-2020"},"3.14.0 - (March 31, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added wdio screenshots for clinical-lowlight-theme")))),(0,d.mdx)("h2",{id:"3130---march-24-2020"},"3.13.0 - (March 24, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use MDX syntax")))),(0,d.mdx)("h2",{id:"3120---february-18-2020"},"3.12.0 - (February 18, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme theming files")))),(0,d.mdx)("h2",{id:"3110---january-28-2020"},"3.11.0 - (January 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,d.mdx)("h2",{id:"3100---january-22-2020"},"3.10.0 - (January 22, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,d.mdx)("h2",{id:"390---september-26-2019"},"3.9.0 - (September 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"380---september-19-2019"},"3.8.0 - (September 19, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Convert SCSS files to .module.scss")))),(0,d.mdx)("h2",{id:"370---september-6-2019"},"3.7.0 - (September 6, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed inline styles from dev site components."),(0,d.mdx)("li",{parentName:"ul"},"Add comments for ESlint 6"),(0,d.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,d.mdx)("h2",{id:"360---august-14-2019"},"3.6.0 - (August 14, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated package.json test scripts")))),(0,d.mdx)("h2",{id:"350---july-16-2019"},"3.5.0 - (July 16, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"iconAlignment prop"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added missing primary text style and corresponding --terra-clinical-item-display-primary-color variable"),(0,d.mdx)("li",{parentName:"ul"},"Added enumeration for valid text style values")))),(0,d.mdx)("h2",{id:"340---june-11-2019"},"3.4.0 - (June 11, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Removed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore")))),(0,d.mdx)("h2",{id:"330---march-26-2019"},"3.3.0 - (March 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"),(0,d.mdx)("li",{parentName:"ul"},"Update wdio spec to use Terra.describeViewports"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,d.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed\nColor Contrast Accessibility issue"))),(0,d.mdx)("h2",{id:"320---february-5-2019"},"3.2.0 - (February 5, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"310---january-22-2019"},"3.1.0 - (January 22, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Dependency updates")))),(0,d.mdx)("h2",{id:"300---january-17-2019"},"3.0.0 - (January 17, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Breaking Change"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Renamed css theming variables to fit linter standard."),(0,d.mdx)("li",{parentName:"ul"},"Added new css theming variables"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Changelog dev site doc page")))),(0,d.mdx)("h2",{id:"2150---november-21-2018"},"2.15.0 - (November 21, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2140---october-2-2018"},"2.14.0 - (October 2, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Disable cyclical depencency error per eslint v5 update. Logged issue: ",(0,d.mdx)("a",{parentName:"li",href:"https://github.com/cerner/terra-clinical/issues/389"},"https://github.com/cerner/terra-clinical/issues/389"))))),(0,d.mdx)("h2",{id:"2130---september-5-2018"},"2.13.0 - (September 5, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,d.mdx)("h2",{id:"2120---august-30-2018"},"2.12.0 - (August 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2110---august-1-2018"},"2.11.0 - (August 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added theming variables in Item Comment"),(0,d.mdx)("li",{parentName:"ul"},"Added Webdriver I/O tests for Item Comment")))),(0,d.mdx)("h2",{id:"2101---july-25-2018"},"2.10.1 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Patch release")))),(0,d.mdx)("h2",{id:"2100---july-25-2018"},"2.10.0 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"290---july-17-2018"},"2.9.0 - (July 17, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"280---july-3-2018"},"2.8.0 - (July 3, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Lint in doc page")))),(0,d.mdx)("h2",{id:"270---june-28-2018"},"2.7.0 - (June 28, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added theming variables in Item Display")))),(0,d.mdx)("h2",{id:"260---june-12-2018"},"2.6.0 - (June 12, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Conform to eslint updates")))),(0,d.mdx)("h2",{id:"250---may-30-2018"},"2.5.0 - (May 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,d.mdx)("h2",{id:"240---may-22-2018"},"2.4.0 - (May 22, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"230---may-1-2018"},"2.3.0 - (May 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"220---march-27-2018"},"2.2.0 - (March 27, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted nightwatch tests to wdio")))),(0,d.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"200---february-19-2018"},"2.0.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update to React 16")))),(0,d.mdx)("h2",{id:"170---february-19-2018"},"1.7.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"160---january-23-2018"},"1.6.0 - (January 23, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"strong")," textStyle & ",(0,d.mdx)("inlineCode",{parentName:"li"},"isDisabled")," prop.")))),(0,d.mdx)("h2",{id:"150---november-29-2017"},"1.5.0 - (November 29, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fix IE10 truncation")))),(0,d.mdx)("h2",{id:"140---september-26-2017"},"1.4.0 - (September 26, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Remove stylelint-disable selector-class-pattern"),(0,d.mdx)("li",{parentName:"ul"},"Update class names to follow selector-class-pattern")))),(0,d.mdx)("h2",{id:"130---september-1-2017"},"1.3.0 - (September 1, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change dependency on terra-base to v2.0.0"),(0,d.mdx)("li",{parentName:"ul"},"Update nightwatch tests and test scripts.")))),(0,d.mdx)("h2",{id:"120---august-1-2017"},"1.2.0 - (August 1, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed icon styling to scale with font-size.")))),(0,d.mdx)("h2",{id:"110---july-18-2017"},"1.1.0 - (July 18, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted component to use CSS modules"),(0,d.mdx)("li",{parentName:"ul"},"Updated nightwatch test scripts"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed nightwatch.config file")))),(0,d.mdx)("h2",{id:"100---june-28-2017"},"1.0.0 - (June 28, 2017)"),(0,d.mdx)("p",null,"Initial stable release"))}u.isMDXComponent=!0;var p=l(79898),x=["components"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var N={},c="wrapper";function h(e){var a=e.components,l=s(e,x);return(0,d.mdx)(c,o({},N,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)(p.C,{mdxType:"Badge"}),(0,d.mdx)(u,{mdxType:"ChangeLog"}))}h.isMDXComponent=!0},79898:function(e,a,l){l.d(a,{C:function(){return n}});var d=l(67294),m=l(22863),n=function(e){var a=e.url;return d.createElement(m.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-item-display",name:"terra-clinical-item-display",version:"4.9.0",url:a})}},17422: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"}}}]); \ No newline at end of file diff --git a/pull/916/6167-77cf4b2ac2b8acd611b6.css b/pull/916/6167-ab85aa373cf69856b64e.css similarity index 100% rename from pull/916/6167-77cf4b2ac2b8acd611b6.css rename to pull/916/6167-ab85aa373cf69856b64e.css diff --git a/pull/916/6167-ab85aa373cf69856b64e.js b/pull/916/6167-ab85aa373cf69856b64e.js new file mode 100644 index 000000000..0d994de1e --- /dev/null +++ b/pull/916/6167-ab85aa373cf69856b64e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[6167],{22863:function(e,a,l){var d=l(64836);a.Z=void 0;var m=d(l(67294)),n=d(l(45697)),t=d(l(47166)),r=d(l(17422)),i=t.default.bind(r.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,d=e.url,n=e.version,t=m.default.createElement("a",{className:i("badge"),href:d||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},m.default.createElement("span",{className:i("badge-name")},d?"package":"npm"),m.default.createElement("span",{className:i("badge-version")},"v".concat(n))),r=a?m.default.createElement("a",{className:i("badge"),href:a},m.default.createElement("span",{className:i("badge-name")},"github"),m.default.createElement("span",{className:i("badge-version")},"source")):void 0;return m.default.createElement("div",{className:i("badge-container")},t,r)};p.propTypes=u;var x=p;a.Z=x},86167:function(e,a,l){l.r(a),l.d(a,{default:function(){return h}});l(67294);var d=l(81254),m=["components"];function n(){return n=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var r={},i="wrapper";function u(e){var a=e.components,l=t(e,m);return(0,d.mdx)(i,n({},r,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)("h1",{id:"changelog"},"Changelog"),(0,d.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,d.mdx)("h2",{id:"4100---september-21-2023"},"4.10.0 - (September 21, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"490---august-2-2023"},"4.9.0 - (August 2, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"480---june-14-2023"},"4.8.0 - (June 14, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"a11ylabel")," prop to ItemComment icon."),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"strong")," tag around strong style text."),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"span")," tag around non-strong style text."),(0,d.mdx)("li",{parentName:"ul"},"Added translations for hidden text styling."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Improved screen reader support for text styling by utilizing terra-visually-hidden-text.")))),(0,d.mdx)("h2",{id:"470---may-15-2023"},"4.7.0 - (May 15, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Deprecated"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Deprecated ",(0,d.mdx)("inlineCode",{parentName:"li"},"isDisabled")," prop as the feature does not meet a11y standards."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"textStyleMeaning")," prop to allow defining a meaning for styled text to be read by screen readers."),(0,d.mdx)("li",{parentName:"ul"},"Added accessibility guidance for using ",(0,d.mdx)("inlineCode",{parentName:"li"},"isTruncated")," prop.")))),(0,d.mdx)("h2",{id:"460---march-29-2023"},"4.6.0 - (March 29, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots.")))),(0,d.mdx)("h2",{id:"450---july-21-2021"},"4.5.0 - (July 21, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,d.mdx)("h2",{id:"440---march-25-2021"},"4.4.0 - (March 25, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Upgrade tests to terra-functional-testing and WebDriverIO v6")))),(0,d.mdx)("h2",{id:"430---january-5-2021"},"4.3.0 - (January 5, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,d.mdx)("h2",{id:"420---november-10-2020"},"4.2.0 - (November 10, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,d.mdx)("h2",{id:"410---august-4-2020"},"4.1.0 - (August 4, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update changelog formatting")))),(0,d.mdx)("h2",{id:"401---june-23-2020"},"4.0.1 - (June 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Breaking"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed ",(0,d.mdx)("inlineCode",{parentName:"li"},"ItemDisplay.Comment"),"."),(0,d.mdx)("li",{parentName:"ul"},"Changed the text style to primary by default and updated Jest snapshots."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Resolved dependency cycle.")))),(0,d.mdx)("h2",{id:"3180---june-9-2020"},"3.18.0 - (June 9, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,d.mdx)("h2",{id:"3170---april-28-2020"},"3.17.0 - (April 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,d.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,d.mdx)("h2",{id:"3160---april-23-2020"},"3.16.0 - (April 23, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Set ",(0,d.mdx)("inlineCode",{parentName:"li"},"aria-disabled")," for a disabled item display to fix color-contrast axe failure.")))),(0,d.mdx)("h2",{id:"3150---april-14-2020"},"3.15.0 - (April 14, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config")))),(0,d.mdx)("h2",{id:"3140---march-31-2020"},"3.14.0 - (March 31, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added wdio screenshots for clinical-lowlight-theme")))),(0,d.mdx)("h2",{id:"3130---march-24-2020"},"3.13.0 - (March 24, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use MDX syntax")))),(0,d.mdx)("h2",{id:"3120---february-18-2020"},"3.12.0 - (February 18, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme theming files")))),(0,d.mdx)("h2",{id:"3110---january-28-2020"},"3.11.0 - (January 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,d.mdx)("h2",{id:"3100---january-22-2020"},"3.10.0 - (January 22, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,d.mdx)("h2",{id:"390---september-26-2019"},"3.9.0 - (September 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"380---september-19-2019"},"3.8.0 - (September 19, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Convert SCSS files to .module.scss")))),(0,d.mdx)("h2",{id:"370---september-6-2019"},"3.7.0 - (September 6, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed inline styles from dev site components."),(0,d.mdx)("li",{parentName:"ul"},"Add comments for ESlint 6"),(0,d.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,d.mdx)("h2",{id:"360---august-14-2019"},"3.6.0 - (August 14, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated package.json test scripts")))),(0,d.mdx)("h2",{id:"350---july-16-2019"},"3.5.0 - (July 16, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"iconAlignment prop"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added missing primary text style and corresponding --terra-clinical-item-display-primary-color variable"),(0,d.mdx)("li",{parentName:"ul"},"Added enumeration for valid text style values")))),(0,d.mdx)("h2",{id:"340---june-11-2019"},"3.4.0 - (June 11, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Removed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore")))),(0,d.mdx)("h2",{id:"330---march-26-2019"},"3.3.0 - (March 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"),(0,d.mdx)("li",{parentName:"ul"},"Update wdio spec to use Terra.describeViewports"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,d.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed\nColor Contrast Accessibility issue"))),(0,d.mdx)("h2",{id:"320---february-5-2019"},"3.2.0 - (February 5, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"310---january-22-2019"},"3.1.0 - (January 22, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Dependency updates")))),(0,d.mdx)("h2",{id:"300---january-17-2019"},"3.0.0 - (January 17, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Breaking Change"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Renamed css theming variables to fit linter standard."),(0,d.mdx)("li",{parentName:"ul"},"Added new css theming variables"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Changelog dev site doc page")))),(0,d.mdx)("h2",{id:"2150---november-21-2018"},"2.15.0 - (November 21, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2140---october-2-2018"},"2.14.0 - (October 2, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Disable cyclical depencency error per eslint v5 update. Logged issue: ",(0,d.mdx)("a",{parentName:"li",href:"https://github.com/cerner/terra-clinical/issues/389"},"https://github.com/cerner/terra-clinical/issues/389"))))),(0,d.mdx)("h2",{id:"2130---september-5-2018"},"2.13.0 - (September 5, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,d.mdx)("h2",{id:"2120---august-30-2018"},"2.12.0 - (August 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2110---august-1-2018"},"2.11.0 - (August 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added theming variables in Item Comment"),(0,d.mdx)("li",{parentName:"ul"},"Added Webdriver I/O tests for Item Comment")))),(0,d.mdx)("h2",{id:"2101---july-25-2018"},"2.10.1 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Patch release")))),(0,d.mdx)("h2",{id:"2100---july-25-2018"},"2.10.0 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"290---july-17-2018"},"2.9.0 - (July 17, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor updates")))),(0,d.mdx)("h2",{id:"280---july-3-2018"},"2.8.0 - (July 3, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Lint in doc page")))),(0,d.mdx)("h2",{id:"270---june-28-2018"},"2.7.0 - (June 28, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added theming variables in Item Display")))),(0,d.mdx)("h2",{id:"260---june-12-2018"},"2.6.0 - (June 12, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Conform to eslint updates")))),(0,d.mdx)("h2",{id:"250---may-30-2018"},"2.5.0 - (May 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,d.mdx)("h2",{id:"240---may-22-2018"},"2.4.0 - (May 22, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"230---may-1-2018"},"2.3.0 - (May 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"220---march-27-2018"},"2.2.0 - (March 27, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted nightwatch tests to wdio")))),(0,d.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"200---february-19-2018"},"2.0.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update to React 16")))),(0,d.mdx)("h2",{id:"170---february-19-2018"},"1.7.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"160---january-23-2018"},"1.6.0 - (January 23, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"strong")," textStyle & ",(0,d.mdx)("inlineCode",{parentName:"li"},"isDisabled")," prop.")))),(0,d.mdx)("h2",{id:"150---november-29-2017"},"1.5.0 - (November 29, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fix IE10 truncation")))),(0,d.mdx)("h2",{id:"140---september-26-2017"},"1.4.0 - (September 26, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Remove stylelint-disable selector-class-pattern"),(0,d.mdx)("li",{parentName:"ul"},"Update class names to follow selector-class-pattern")))),(0,d.mdx)("h2",{id:"130---september-1-2017"},"1.3.0 - (September 1, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change dependency on terra-base to v2.0.0"),(0,d.mdx)("li",{parentName:"ul"},"Update nightwatch tests and test scripts.")))),(0,d.mdx)("h2",{id:"120---august-1-2017"},"1.2.0 - (August 1, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed icon styling to scale with font-size.")))),(0,d.mdx)("h2",{id:"110---july-18-2017"},"1.1.0 - (July 18, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted component to use CSS modules"),(0,d.mdx)("li",{parentName:"ul"},"Updated nightwatch test scripts"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed nightwatch.config file")))),(0,d.mdx)("h2",{id:"100---june-28-2017"},"1.0.0 - (June 28, 2017)"),(0,d.mdx)("p",null,"Initial stable release"))}u.isMDXComponent=!0;var p=l(79898),x=["components"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}var N={},c="wrapper";function h(e){var a=e.components,l=s(e,x);return(0,d.mdx)(c,o({},N,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)(p.C,{mdxType:"Badge"}),(0,d.mdx)(u,{mdxType:"ChangeLog"}))}h.isMDXComponent=!0},79898:function(e,a,l){l.d(a,{C:function(){return n}});var d=l(67294),m=l(22863),n=function(e){var a=e.url;return d.createElement(m.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-item-display",name:"terra-clinical-item-display",version:"4.10.0",url:a})}},17422: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"}}}]); \ No newline at end of file diff --git a/pull/916/641-62dda038c3a543b79a2c.js b/pull/916/641-62dda038c3a543b79a2c.js deleted file mode 100644 index 5f2bbe1ef..000000000 --- a/pull/916/641-62dda038c3a543b79a2c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[641],{22863:function(e,a,l){var n=l(64836);a.Z=void 0;var d=n(l(67294)),m=n(l(45697)),t=n(l(47166)),r=n(l(17422)),i=t.default.bind(r.default),u={name:m.default.string.isRequired,src:m.default.string,url:m.default.string,version:m.default.string.isRequired},p=function(e){var a=e.src,l=e.name,n=e.url,m=e.version,t=d.default.createElement("a",{className:i("badge"),href:n||"https://www.npmjs.org/package/".concat(l,"/v/").concat(m)},d.default.createElement("span",{className:i("badge-name")},n?"package":"npm"),d.default.createElement("span",{className:i("badge-version")},"v".concat(m))),r=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")},t,r)};p.propTypes=u;var x=p;a.Z=x},641:function(e,a,l){l.r(a),l.d(a,{default:function(){return h}});l(67294);var n=l(81254),d=l(61812),m=["components"];function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(d[l]=e[l]);return d}(e,a);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(d[l]=e[l])}return d}var i={},u="wrapper";function p(e){var a=e.components,l=r(e,m);return(0,n.mdx)(u,t({},i,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)("h1",{id:"changelog"},"Changelog"),(0,n.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added screenreader support to announce dynamic content."),(0,n.mdx)("li",{parentName:"ul"},"Added blurb about having visible labels for the form fields.")))),(0,n.mdx)("h2",{id:"4350---august-14-2023"},"4.35.0 - (August 14, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added screenreader support to announce state and chosen/selected item in the combo box."))),(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"},"Change labels to be shown for all fields.")))),(0,n.mdx)("h2",{id:"4340---august-2-2023"},"4.34.0 - (August 2, 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:"4330---may-15-2023"},"4.33.0 - (May 15, 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 ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-field")," dependency to ",(0,n.mdx)("inlineCode",{parentName:"li"},"^4.25.0"),"."),(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," dependency to ",(0,n.mdx)("inlineCode",{parentName:"li"},"^4.22.0"),"."),(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-select")," dependency to ",(0,n.mdx)("inlineCode",{parentName:"li"},"^6.40.0"),".")))),(0,n.mdx)("h2",{id:"4320---march-29-2023"},"4.32.0 - (March 29, 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."),(0,n.mdx)("li",{parentName:"ul"},"Updated jest snapshots"),(0,n.mdx)("li",{parentName:"ul"},"Locking terra-form-fieldset due to a bug")))),(0,n.mdx)("h2",{id:"4311---april-19-2022"},"4.31.1 - (April 19, 2022)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Bump terra-date-picker dependency to 4.73.1 to ensure onChangeRaw gets called when date is selected from calendar.")))),(0,n.mdx)("h2",{id:"4310---november-16-2021"},"4.31.0 - (November 16, 2021)"),(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"},"Updated so that onOnsetChange gets called when a complete invalid date is entered."))),(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 wdio screenshots.")))),(0,n.mdx)("h2",{id:"4300---september-21-2021"},"4.30.0 - (September 21, 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"},"Updated several translation files due to feedback from the translations team")))),(0,n.mdx)("h2",{id:"4290---july-21-2021"},"4.29.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 Jest command"),(0,n.mdx)("li",{parentName:"ul"},"Updated Jest Snapshots"),(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v3.0.0")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v4.15.0"),".")))),(0,n.mdx)("h2",{id:"4280---march-25-2021"},"4.28.0 - (March 25, 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"},"Upgrade tests to terra-functional-testing and WebDriverIO v6")))),(0,n.mdx)("h2",{id:"4270---january-5-2021"},"4.27.0 - (January 5, 2021)"),(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"},"Removed reference to intlShape as it is no longer provided in later versions of react-intl"))),(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"},"Fixed broken links in documentation.")))),(0,n.mdx)("h2",{id:"4260---december-8-2020"},"4.26.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:"4250---november-10-2020"},"4.25.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"},"Fix new eslint rule error")))),(0,n.mdx)("h2",{id:"4240---september-29-2020"},"4.24.0 - (September 29, 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 wdio screenshots to fix main build")))),(0,n.mdx)("h2",{id:"4230---august-4-2020"},"4.23.0 - (August 4, 2020)"),(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 jest tests due to theme change in icon."))),(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 changelog formatting")))),(0,n.mdx)("h2",{id:"4220---june-16-2020"},"4.22.0 - (June 16, 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 terra form dependency to next major version."),(0,n.mdx)("li",{parentName:"ul"},"Disabled wdio axe color-contrast rule on placeholder examples for IE testing. This will be re-enabled when ",(0,n.mdx)("a",{parentName:"li",href:"https://github.com/cerner/terra-core/issues/2992"},"issue #2992")," is resolved.")))),(0,n.mdx)("h2",{id:"4210---june-9-2020"},"4.21.0 - (June 9, 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"},"Apply themes by context and directly include packaged themes.")))),(0,n.mdx)("h2",{id:"4200---april-28-2020"},"4.20.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"},"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:"4190---april-14-2020"},"4.19.0 - (April 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"},"Update wdio test configuration to use root wdio config")))),(0,n.mdx)("h2",{id:"4180---march-31-2020"},"4.18.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 wdio screenshots for clinical-lowlight-theme")))),(0,n.mdx)("h2",{id:"4170---march-17-2020"},"4.17.0 - (March 17, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax.")))),(0,n.mdx)("h2",{id:"4160---february-18-2020"},"4.16.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 upgrade guide for ",(0,n.mdx)("inlineCode",{parentName:"li"},"v3")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v4"),"."),(0,n.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme wdio config file")))),(0,n.mdx)("h2",{id:"4150---february-11-2020"},"4.15.0 - (February 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"},"Added logic to show default or ",(0,n.mdx)("inlineCode",{parentName:"li"},"date")," granularity initially."),(0,n.mdx)("li",{parentName:"ul"},"Clear existing data when granularity is changed."),(0,n.mdx)("li",{parentName:"ul"},"Set Onset date to first day of ",(0,n.mdx)("inlineCode",{parentName:"li"},"month")," or ",(0,n.mdx)("inlineCode",{parentName:"li"},"year")," as per chosen granularity."),(0,n.mdx)("li",{parentName:"ul"},"Calculation for leap year corrected.")))),(0,n.mdx)("h2",{id:"4140---january-28-2020"},"4.14.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:"4130---january-22-2020"},"4.13.0 - (January 22, 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 orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,n.mdx)("h2",{id:"4120---january-7-2020"},"4.12.0 - (January 7, 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"},"Add upgrade guides to dev-site docs"))),(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"},"Fixed ",(0,n.mdx)("inlineCode",{parentName:"li"},"age-field")," misalignment in IE.")))),(0,n.mdx)("h2",{id:"4110---december-10-2019"},"4.11.0 - (December 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"},"Increased ",(0,n.mdx)("inlineCode",{parentName:"li"},"min-width")," of year dropdown to fit values and scrollbar."),(0,n.mdx)("li",{parentName:"ul"},"Mark ",(0,n.mdx)("inlineCode",{parentName:"li"},"intl")," prop as private since it is retrieved from the context automatically by injectIntl.")))),(0,n.mdx)("h2",{id:"4100---november-7-2019"},"4.10.0 - (November 7, 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"},"Removed age granularity from being populated for age less than a week.")))),(0,n.mdx)("h2",{id:"490---october-3-2019"},"4.9.0 - (October 3, 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"},"Unknown precision fixed to return blank onset date value.")))),(0,n.mdx)("h2",{id:"480---september-26-2019"},"4.8.0 - (September 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"},"Minor dependency updates"))),(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 terra-i18n as a dependency since it is not being used.")))),(0,n.mdx)("h2",{id:"470---september-19-2019"},"4.7.0 - (September 19, 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"},"Bump terra-date-picker dependency to 4.0.0."))),(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 en-CA translations.")))),(0,n.mdx)("h2",{id:"460---september-6-2019"},"4.6.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"},"Blank Age granularity fixed to return a blank onset date value."),(0,n.mdx)("li",{parentName:"ul"},"Replaced Object.assign syntax with Object spread syntax"),(0,n.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,n.mdx)("h2",{id:"450---august-14-2019"},"4.5.0 - (August 14, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update tests for dev-site v6"),(0,n.mdx)("li",{parentName:"ul"},"Updated package.json test scripts"),(0,n.mdx)("li",{parentName:"ul"},"Removed react legacy ",(0,n.mdx)("inlineCode",{parentName:"li"},"contexttypes"),". Updated to implement ",(0,n.mdx)("inlineCode",{parentName:"li"},"formatMessage")," to interface with ",(0,n.mdx)("inlineCode",{parentName:"li"},"injectIntl"),".")))),(0,n.mdx)("h2",{id:"440---july-16-2019"},"4.4.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 enumeration for valid age unit, granularity, precision, and precision set values")))),(0,n.mdx)("h2",{id:"430---june-11-2019"},"4.3.0 - (June 11, 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"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Documentation of violation scenarios."),(0,n.mdx)("li",{parentName:"ul"},"Indicate in site examples what birthdate is set to."),(0,n.mdx)("li",{parentName:"ul"},"Added legend and isLegendHidden prop to Onsetpicker field group."))),(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 spec to use Terra.describeViewports")))),(0,n.mdx)("h2",{id:"420---april-16-2019"},"4.2.0 - (April 16, 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"},"Regenerated failing jest snapshots due to select changes.")))),(0,n.mdx)("h2",{id:"410---march-26-2019"},"4.1.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"},"Changed react-intl to be a peerDependency instead of a devDependency"),(0,n.mdx)("li",{parentName:"ul"},"Updated lower bound for react-intl to ^2.8.0 to be consistent with changes in terra-core and terra-framework"))),(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:"400---march-8-2019"},"4.0.0 - (March 8, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Condensed onChange function props into a single prop that returns an Object for the onsetDate."),(0,n.mdx)("li",{parentName:"ul"},"Removed prop ",(0,n.mdx)("inlineCode",{parentName:"li"},"granularitySelectOnChange")),(0,n.mdx)("li",{parentName:"ul"},"Removed prop ",(0,n.mdx)("inlineCode",{parentName:"li"},"precisionSelectOnChange")),(0,n.mdx)("li",{parentName:"ul"},"Removed prop ",(0,n.mdx)("inlineCode",{parentName:"li"},"onsetDateInputOnChange")),(0,n.mdx)("li",{parentName:"ul"},"New prop ",(0,n.mdx)("inlineCode",{parentName:"li"},"ageUnit")),(0,n.mdx)("li",{parentName:"ul"},"New prop ",(0,n.mdx)("inlineCode",{parentName:"li"},"onsetOnChange"))))),(0,n.mdx)("h2",{id:"340---february-26-2019"},"3.4.0 - (February 26, 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 en-AU translations")))),(0,n.mdx)("h2",{id:"330---february-5-2019"},"3.3.0 - (February 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"320---january-22-2019"},"3.2.0 - (January 22, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Dependency updates")))),(0,n.mdx)("h2",{id:"310---january-17-2019"},"3.1.0 - (January 17, 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"},"Changelog dev site doc page")))),(0,n.mdx)("h2",{id:"300---january-2-2019"},"3.0.0 - (January 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use new form inputs and selects to support blank defaults - issue #256"),(0,n.mdx)("li",{parentName:"ul"},"Resolved crash from issue #396, now returns an empty string if date is blank"),(0,n.mdx)("li",{parentName:"ul"},"Condensed props for input/select id's to a shared base id value")))),(0,n.mdx)("h2",{id:"2150---november-21-2018"},"2.15.0 - (November 21, 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:"2140---october-2-2018"},"2.14.0 - (October 2, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,n.mdx)("h2",{id:"2130---september-5-2018"},"2.13.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)("li",{parentName:"ul"},"Updated test screenshots including the datepicker component")))),(0,n.mdx)("h2",{id:"2120---august-30-2018"},"2.12.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"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"2111---july-25-2018"},"2.11.1 - (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"},"Patch release")))),(0,n.mdx)("h2",{id:"2110---july-25-2018"},"2.11.0 - (July 25, 2018)"),(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 ",(0,n.mdx)("inlineCode",{parentName:"li"},"sv")," and ",(0,n.mdx)("inlineCode",{parentName:"li"},"sv-SE")," translations")))),(0,n.mdx)("h2",{id:"2100---july-3-2018"},"2.10.0 - (July 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 in doc page")))),(0,n.mdx)("h2",{id:"290---june-28-2018"},"2.9.0 - (June 28, 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:"280---june-19-2018"},"2.8.0 - (June 19, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Remove Base wrapper from test examples. Terra-dev-site wraps all test examples in Base.")))),(0,n.mdx)("h2",{id:"270---june-12-2018"},"2.7.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"},"Conform to eslint updates")))),(0,n.mdx)("h2",{id:"260---may-30-2018"},"2.6.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:"250---may-22-2018"},"2.5.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:"240---may-1-2018"},"2.4.0 - (May 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"},"Run tests once per screen-size.")))),(0,n.mdx)("h2",{id:"230---april-20-2018"},"2.3.0 - (April 20, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Translations for nl, nl-BE")))),(0,n.mdx)("h2",{id:"220---march-27-2018"},"2.2.0 - (March 27, 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"},"Converted nightwatch tests to wdio")))),(0,n.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"200---february-19-2018"},"2.0.0 - (February 19, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update to React 16")))),(0,n.mdx)("h2",{id:"110---february-19-2018"},"1.1.0 - (February 19, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"100---december-9-2017"},"1.0.0 - (December 9, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Initial stable release")))}p.isMDXComponent=!0;var x=["components"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(d[l]=e[l]);return d}(e,a);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(d[l]=e[l])}return d}var N={},c="wrapper";function h(e){var a=e.components,l=s(e,x);return(0,n.mdx)(c,o({},N,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)(d.C,{mdxType:"Badge"}),(0,n.mdx)(p,{mdxType:"ChangeLog"}))}h.isMDXComponent=!0},61812:function(e,a,l){l.d(a,{C:function(){return m}});var n=l(67294),d=l(22863),m=function(e){var a=e.url;return n.createElement(d.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-onset-picker",name:"terra-clinical-onset-picker",version:"4.35.0",url:a})}},17422: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"}}}]); \ No newline at end of file diff --git a/pull/916/641-62dda038c3a543b79a2c.css b/pull/916/641-fabd71bcfd9f214a85eb.css similarity index 100% rename from pull/916/641-62dda038c3a543b79a2c.css rename to pull/916/641-fabd71bcfd9f214a85eb.css diff --git a/pull/916/641-fabd71bcfd9f214a85eb.js b/pull/916/641-fabd71bcfd9f214a85eb.js new file mode 100644 index 000000000..b0af76544 --- /dev/null +++ b/pull/916/641-fabd71bcfd9f214a85eb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[641],{22863:function(e,a,l){var d=l(64836);a.Z=void 0;var n=d(l(67294)),m=d(l(45697)),t=d(l(47166)),r=d(l(17422)),i=t.default.bind(r.default),u={name:m.default.string.isRequired,src:m.default.string,url:m.default.string,version:m.default.string.isRequired},p=function(e){var a=e.src,l=e.name,d=e.url,m=e.version,t=n.default.createElement("a",{className:i("badge"),href:d||"https://www.npmjs.org/package/".concat(l,"/v/").concat(m)},n.default.createElement("span",{className:i("badge-name")},d?"package":"npm"),n.default.createElement("span",{className:i("badge-version")},"v".concat(m))),r=a?n.default.createElement("a",{className:i("badge"),href:a},n.default.createElement("span",{className:i("badge-name")},"github"),n.default.createElement("span",{className:i("badge-version")},"source")):void 0;return n.default.createElement("div",{className:i("badge-container")},t,r)};p.propTypes=u;var x=p;a.Z=x},641:function(e,a,l){l.r(a),l.d(a,{default:function(){return h}});l(67294);var d=l(81254),n=l(61812),m=["components"];function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(n[l]=e[l]);return n}(e,a);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}var i={},u="wrapper";function p(e){var a=e.components,l=r(e,m);return(0,d.mdx)(u,t({},i,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)("h1",{id:"changelog"},"Changelog"),(0,d.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,d.mdx)("h2",{id:"4360---september-21-2023"},"4.36.0 - (September 21, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added screenreader support to announce dynamic content."),(0,d.mdx)("li",{parentName:"ul"},"Added blurb about having visible labels for the form fields.")))),(0,d.mdx)("h2",{id:"4350---august-14-2023"},"4.35.0 - (August 14, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added screenreader support to announce state and chosen/selected item in the combo box."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Change labels to be shown for all fields.")))),(0,d.mdx)("h2",{id:"4340---august-2-2023"},"4.34.0 - (August 2, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,d.mdx)("h2",{id:"4330---may-15-2023"},"4.33.0 - (May 15, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated ",(0,d.mdx)("inlineCode",{parentName:"li"},"terra-form-field")," dependency to ",(0,d.mdx)("inlineCode",{parentName:"li"},"^4.25.0"),"."),(0,d.mdx)("li",{parentName:"ul"},"Updated ",(0,d.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," dependency to ",(0,d.mdx)("inlineCode",{parentName:"li"},"^4.22.0"),"."),(0,d.mdx)("li",{parentName:"ul"},"Updated ",(0,d.mdx)("inlineCode",{parentName:"li"},"terra-form-select")," dependency to ",(0,d.mdx)("inlineCode",{parentName:"li"},"^6.40.0"),".")))),(0,d.mdx)("h2",{id:"4320---march-29-2023"},"4.32.0 - (March 29, 2023)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots."),(0,d.mdx)("li",{parentName:"ul"},"Updated jest snapshots"),(0,d.mdx)("li",{parentName:"ul"},"Locking terra-form-fieldset due to a bug")))),(0,d.mdx)("h2",{id:"4311---april-19-2022"},"4.31.1 - (April 19, 2022)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bump terra-date-picker dependency to 4.73.1 to ensure onChangeRaw gets called when date is selected from calendar.")))),(0,d.mdx)("h2",{id:"4310---november-16-2021"},"4.31.0 - (November 16, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated so that onOnsetChange gets called when a complete invalid date is entered."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots.")))),(0,d.mdx)("h2",{id:"4300---september-21-2021"},"4.30.0 - (September 21, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated several translation files due to feedback from the translations team")))),(0,d.mdx)("h2",{id:"4290---july-21-2021"},"4.29.0 - (July 21, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated Jest command"),(0,d.mdx)("li",{parentName:"ul"},"Updated Jest Snapshots"),(0,d.mdx)("li",{parentName:"ul"},"Updated ",(0,d.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," from ",(0,d.mdx)("inlineCode",{parentName:"li"},"v3.0.0")," to ",(0,d.mdx)("inlineCode",{parentName:"li"},"v4.15.0"),".")))),(0,d.mdx)("h2",{id:"4280---march-25-2021"},"4.28.0 - (March 25, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Upgrade tests to terra-functional-testing and WebDriverIO v6")))),(0,d.mdx)("h2",{id:"4270---january-5-2021"},"4.27.0 - (January 5, 2021)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed reference to intlShape as it is no longer provided in later versions of react-intl"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,d.mdx)("h2",{id:"4260---december-8-2020"},"4.26.0 - (December 8, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,d.mdx)("h2",{id:"4250---november-10-2020"},"4.25.0 - (November 10, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fix new eslint rule error")))),(0,d.mdx)("h2",{id:"4240---september-29-2020"},"4.24.0 - (September 29, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated wdio screenshots to fix main build")))),(0,d.mdx)("h2",{id:"4230---august-4-2020"},"4.23.0 - (August 4, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update jest tests due to theme change in icon."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update changelog formatting")))),(0,d.mdx)("h2",{id:"4220---june-16-2020"},"4.22.0 - (June 16, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated terra form dependency to next major version."),(0,d.mdx)("li",{parentName:"ul"},"Disabled wdio axe color-contrast rule on placeholder examples for IE testing. This will be re-enabled when ",(0,d.mdx)("a",{parentName:"li",href:"https://github.com/cerner/terra-core/issues/2992"},"issue #2992")," is resolved.")))),(0,d.mdx)("h2",{id:"4210---june-9-2020"},"4.21.0 - (June 9, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,d.mdx)("h2",{id:"4200---april-28-2020"},"4.20.0 - (April 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,d.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,d.mdx)("h2",{id:"4190---april-14-2020"},"4.19.0 - (April 14, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config")))),(0,d.mdx)("h2",{id:"4180---march-31-2020"},"4.18.0 - (March 31, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added wdio screenshots for clinical-lowlight-theme")))),(0,d.mdx)("h2",{id:"4170---march-17-2020"},"4.17.0 - (March 17, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax.")))),(0,d.mdx)("h2",{id:"4160---february-18-2020"},"4.16.0 - (February 18, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added upgrade guide for ",(0,d.mdx)("inlineCode",{parentName:"li"},"v3")," to ",(0,d.mdx)("inlineCode",{parentName:"li"},"v4"),"."),(0,d.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme wdio config file")))),(0,d.mdx)("h2",{id:"4150---february-11-2020"},"4.15.0 - (February 11, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added logic to show default or ",(0,d.mdx)("inlineCode",{parentName:"li"},"date")," granularity initially."),(0,d.mdx)("li",{parentName:"ul"},"Clear existing data when granularity is changed."),(0,d.mdx)("li",{parentName:"ul"},"Set Onset date to first day of ",(0,d.mdx)("inlineCode",{parentName:"li"},"month")," or ",(0,d.mdx)("inlineCode",{parentName:"li"},"year")," as per chosen granularity."),(0,d.mdx)("li",{parentName:"ul"},"Calculation for leap year corrected.")))),(0,d.mdx)("h2",{id:"4140---january-28-2020"},"4.14.0 - (January 28, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,d.mdx)("h2",{id:"4130---january-22-2020"},"4.13.0 - (January 22, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,d.mdx)("h2",{id:"4120---january-7-2020"},"4.12.0 - (January 7, 2020)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Add upgrade guides to dev-site docs"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Fixed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Fixed ",(0,d.mdx)("inlineCode",{parentName:"li"},"age-field")," misalignment in IE.")))),(0,d.mdx)("h2",{id:"4110---december-10-2019"},"4.11.0 - (December 10, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Increased ",(0,d.mdx)("inlineCode",{parentName:"li"},"min-width")," of year dropdown to fit values and scrollbar."),(0,d.mdx)("li",{parentName:"ul"},"Mark ",(0,d.mdx)("inlineCode",{parentName:"li"},"intl")," prop as private since it is retrieved from the context automatically by injectIntl.")))),(0,d.mdx)("h2",{id:"4100---november-7-2019"},"4.10.0 - (November 7, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed age granularity from being populated for age less than a week.")))),(0,d.mdx)("h2",{id:"490---october-3-2019"},"4.9.0 - (October 3, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Unknown precision fixed to return blank onset date value.")))),(0,d.mdx)("h2",{id:"480---september-26-2019"},"4.8.0 - (September 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed terra-i18n as a dependency since it is not being used.")))),(0,d.mdx)("h2",{id:"470---september-19-2019"},"4.7.0 - (September 19, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bump terra-date-picker dependency to 4.0.0."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added en-CA translations.")))),(0,d.mdx)("h2",{id:"460---september-6-2019"},"4.6.0 - (September 6, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Blank Age granularity fixed to return a blank onset date value."),(0,d.mdx)("li",{parentName:"ul"},"Replaced Object.assign syntax with Object spread syntax"),(0,d.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,d.mdx)("h2",{id:"450---august-14-2019"},"4.5.0 - (August 14, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update tests for dev-site v6"),(0,d.mdx)("li",{parentName:"ul"},"Updated package.json test scripts"),(0,d.mdx)("li",{parentName:"ul"},"Removed react legacy ",(0,d.mdx)("inlineCode",{parentName:"li"},"contexttypes"),". Updated to implement ",(0,d.mdx)("inlineCode",{parentName:"li"},"formatMessage")," to interface with ",(0,d.mdx)("inlineCode",{parentName:"li"},"injectIntl"),".")))),(0,d.mdx)("h2",{id:"440---july-16-2019"},"4.4.0 - (July 16, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added enumeration for valid age unit, granularity, precision, and precision set values")))),(0,d.mdx)("h2",{id:"430---june-11-2019"},"4.3.0 - (June 11, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Added"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Documentation of violation scenarios."),(0,d.mdx)("li",{parentName:"ul"},"Indicate in site examples what birthdate is set to."),(0,d.mdx)("li",{parentName:"ul"},"Added legend and isLegendHidden prop to Onsetpicker field group."))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,d.mdx)("li",{parentName:"ul"},"Update wdio spec to use Terra.describeViewports")))),(0,d.mdx)("h2",{id:"420---april-16-2019"},"4.2.0 - (April 16, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Regenerated failing jest snapshots due to select changes.")))),(0,d.mdx)("h2",{id:"410---march-26-2019"},"4.1.0 - (March 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Changed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"),(0,d.mdx)("li",{parentName:"ul"},"Changed react-intl to be a peerDependency instead of a devDependency"),(0,d.mdx)("li",{parentName:"ul"},"Updated lower bound for react-intl to ^2.8.0 to be consistent with changes in terra-core and terra-framework"))),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("p",{parentName:"li"},"Removed"),(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,d.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,d.mdx)("h2",{id:"400---march-8-2019"},"4.0.0 - (March 8, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Breaking Change",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Condensed onChange function props into a single prop that returns an Object for the onsetDate."),(0,d.mdx)("li",{parentName:"ul"},"Removed prop ",(0,d.mdx)("inlineCode",{parentName:"li"},"granularitySelectOnChange")),(0,d.mdx)("li",{parentName:"ul"},"Removed prop ",(0,d.mdx)("inlineCode",{parentName:"li"},"precisionSelectOnChange")),(0,d.mdx)("li",{parentName:"ul"},"Removed prop ",(0,d.mdx)("inlineCode",{parentName:"li"},"onsetDateInputOnChange")),(0,d.mdx)("li",{parentName:"ul"},"New prop ",(0,d.mdx)("inlineCode",{parentName:"li"},"ageUnit")),(0,d.mdx)("li",{parentName:"ul"},"New prop ",(0,d.mdx)("inlineCode",{parentName:"li"},"onsetOnChange"))))),(0,d.mdx)("h2",{id:"340---february-26-2019"},"3.4.0 - (February 26, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added en-AU translations")))),(0,d.mdx)("h2",{id:"330---february-5-2019"},"3.3.0 - (February 5, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"320---january-22-2019"},"3.2.0 - (January 22, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Change",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Dependency updates")))),(0,d.mdx)("h2",{id:"310---january-17-2019"},"3.1.0 - (January 17, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Changelog dev site doc page")))),(0,d.mdx)("h2",{id:"300---january-2-2019"},"3.0.0 - (January 2, 2019)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Breaking Change",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Updated to use new form inputs and selects to support blank defaults - issue #256"),(0,d.mdx)("li",{parentName:"ul"},"Resolved crash from issue #396, now returns an empty string if date is blank"),(0,d.mdx)("li",{parentName:"ul"},"Condensed props for input/select id's to a shared base id value")))),(0,d.mdx)("h2",{id:"2150---november-21-2018"},"2.15.0 - (November 21, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2140---october-2-2018"},"2.14.0 - (October 2, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,d.mdx)("h2",{id:"2130---september-5-2018"},"2.13.0 - (September 5, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,d.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2"),(0,d.mdx)("li",{parentName:"ul"},"Updated test screenshots including the datepicker component")))),(0,d.mdx)("h2",{id:"2120---august-30-2018"},"2.12.0 - (August 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"2111---july-25-2018"},"2.11.1 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Patch release")))),(0,d.mdx)("h2",{id:"2110---july-25-2018"},"2.11.0 - (July 25, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Added",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Added ",(0,d.mdx)("inlineCode",{parentName:"li"},"sv")," and ",(0,d.mdx)("inlineCode",{parentName:"li"},"sv-SE")," translations")))),(0,d.mdx)("h2",{id:"2100---july-3-2018"},"2.10.0 - (July 3, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Fixed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Lint in doc page")))),(0,d.mdx)("h2",{id:"290---june-28-2018"},"2.9.0 - (June 28, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"280---june-19-2018"},"2.8.0 - (June 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Remove Base wrapper from test examples. Terra-dev-site wraps all test examples in Base.")))),(0,d.mdx)("h2",{id:"270---june-12-2018"},"2.7.0 - (June 12, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Conform to eslint updates")))),(0,d.mdx)("h2",{id:"260---may-30-2018"},"2.6.0 - (May 30, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,d.mdx)("h2",{id:"250---may-22-2018"},"2.5.0 - (May 22, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"240---may-1-2018"},"2.4.0 - (May 1, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Run tests once per screen-size.")))),(0,d.mdx)("h2",{id:"230---april-20-2018"},"2.3.0 - (April 20, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Translations for nl, nl-BE")))),(0,d.mdx)("h2",{id:"220---march-27-2018"},"2.2.0 - (March 27, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Converted nightwatch tests to wdio")))),(0,d.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"200---february-19-2018"},"2.0.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Update to React 16")))),(0,d.mdx)("h2",{id:"110---february-19-2018"},"1.1.0 - (February 19, 2018)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Changed",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,d.mdx)("h2",{id:"100---december-9-2017"},"1.0.0 - (December 9, 2017)"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Initial stable release")))}p.isMDXComponent=!0;var x=["components"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(n[l]=e[l]);return n}(e,a);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}var N={},c="wrapper";function h(e){var a=e.components,l=s(e,x);return(0,d.mdx)(c,o({},N,l,{components:a,mdxType:"MDXLayout"}),(0,d.mdx)(n.C,{mdxType:"Badge"}),(0,d.mdx)(p,{mdxType:"ChangeLog"}))}h.isMDXComponent=!0},61812:function(e,a,l){l.d(a,{C:function(){return m}});var d=l(67294),n=l(22863),m=function(e){var a=e.url;return d.createElement(n.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-onset-picker",name:"terra-clinical-onset-picker",version:"4.36.0",url:a})}},17422: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"}}}]); \ No newline at end of file diff --git a/pull/916/6608-7ff7052ffe033aba84a1.js b/pull/916/6608-7ff7052ffe033aba84a1.js deleted file mode 100644 index 4c1ce7ef4..000000000 --- a/pull/916/6608-7ff7052ffe033aba84a1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkterra_clinical=self.webpackChunkterra_clinical||[]).push([[6608,9815],{22863:function(e,t,n){var a=n(64836);t.Z=void 0;var i=a(n(67294)),l=a(n(45697)),r=a(n(47166)),o=a(n(17422)),s=r.default.bind(o.default),d={name:l.default.string.isRequired,src:l.default.string,url:l.default.string,version:l.default.string.isRequired},m=function(e){var t=e.src,n=e.name,a=e.url,l=e.version,r=i.default.createElement("a",{className:s("badge"),href:a||"https://www.npmjs.org/package/".concat(n,"/v/").concat(l)},i.default.createElement("span",{className:s("badge-name")},a?"package":"npm"),i.default.createElement("span",{className:s("badge-version")},"v".concat(l))),o=t?i.default.createElement("a",{className:s("badge"),href:t},i.default.createElement("span",{className:s("badge-name")},"github"),i.default.createElement("span",{className:s("badge-version")},"source")):void 0;return i.default.createElement("div",{className:s("badge-container")},r,o)};m.propTypes=d;var u=m;t.Z=u},49271:function(e,t,n){var a=n(64836),i=n(18698);t.Z=void 0;var l=a(n(27424)),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=l?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=e[r]}a.default=e,n&&n.set(e,a);return a}(n(67294)),o=a(n(45697)),s=a(n(47166)),d=n(21538),m=a(n(33864)),u=a(n(23399)),c=n(51051),p=a(n(53560));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 h=s.default.bind(p.default),y={example:o.default.element,exampleSrc:o.default.element,exampleCssSrc:o.default.element,title:o.default.string,description:o.default.node,isExpanded:o.default.bool},g=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},x=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},_=function(e){var t=e.example,n=e.exampleSrc,a=e.exampleCssSrc,i=e.title,o=e.description,s=e.isExpanded,p=(0,r.useState)(s),f=(0,l.default)(p,2),y=f[0],_=f[1],v=(0,r.useState)(!1),b=(0,l.default)(v,2),w=b[0],N=b[1],O=r.default.useContext(d.ThemeContext),I=void 0!==a,E=function(){N(!w),y&&_(!y)},T=function(){_(!y),w&&N(!w)},j=function(e,t){e.nativeEvent.keyCode!==c.KEY_SPACE&&e.nativeEvent.keyCode!==c.KEY_RETURN||(e.preventDefault(),t())};return r.default.createElement("div",{className:h("template",O.className)},r.default.createElement("div",{className:h("header")},i&&r.default.createElement("h2",{className:h("title")},i)),r.default.createElement("div",{className:h("content")},o&&r.default.createElement("div",{className:h("description")},o),t),r.default.createElement("div",{className:h("footer")},n?r.default.createElement("div",{className:h("button-container")},I&&r.default.createElement("button",{type:"button",className:h("css-toggle","item",{"is-selected":w}),onClick:E,onKeyDown:function(e){return j(e,E)},onBlur:g,onMouseDown:x,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(m.default,{className:h("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(u.default,{className:h("chevron")})),r.default.createElement("button",{type:"button",className:h("code-toggle","item",{"is-selected":y}),onClick:T,onKeyDown:function(e){return j(e,T)},onBlur:g,onMouseDown:x,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(m.default,{className:h("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(u.default,{className:h("chevron")}))):null,r.default.createElement("div",null,w&&r.default.createElement("div",{className:h("css")},a),y&&r.default.createElement("div",{className:h("code")},n))))};_.propTypes=y,_.defaultProps={isExpanded:!1};var v=_;t.Z=v},40996:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=d(n(67294)),i=d(n(45697)),l=d(n(47166)),r=d(n(50026)),o=d(n(66983)),s=["children"];function d(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=l.default.bind(o.default),p=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},f=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},h={children:i.default.string},y=function(e){var t=e.children,n=u(e,s),i=a.default.useContext(r.default),o=(0,l.default)(c(["button",i.className]),n.className);return a.default.createElement("button",m({},n,{type:"button",className:o,onBlur:p,onMouseDown:f,"data-focus-styles-enabled":!0}),t)};y.propTypes=h;var g=y;t.default=g},59278:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(n(67294)),i=s(n(45697)),l=s(n(47166)),r=s(n(50026)),o=s(n(30866));function s(e){return e&&e.__esModule?e:{default:e}}var d=l.default.bind(o.default),m={ariaLevel:i.default.oneOf(["2","3","4","5","6"]),children:i.default.node,variant:i.default.oneOf(["ux-recommendation","caution","deprecation","maintenance","important","not-supported"])},u=function(e){var t=e.ariaLevel,n=e.variant,i=e.children,l=a.default.useContext(r.default);return a.default.createElement("div",{className:d("notice",n,l.className)},a.default.createElement("div",{className:d("accessory"),"aria-hidden":"true",focusable:"false"}),a.default.createElement("div",{role:"heading",className:d("title"),"aria-level":t},a.default.createElement("span",null,function(e){return"ux-recommendation"===e?"UX Recommendation":"caution"===e?"Caution":"deprecation"===e?"Deprecation Notice":"maintenance"===e?"In Maintenance":"important"===e?"Important":"not-supported"===e?"Hazards for Incorrect Usage":"error"}(n))),a.default.createElement("div",{className:d("children")},function(e){return"not-supported"===e?a.default.createElement(a.default.Fragment,null,a.default.createElement("p",{className:d("paragraph")},"This component was designed and tested according to the documented implementation."),a.default.createElement("p",{className:d("paragraph")},"Using the component incorrectly:",a.default.createElement("ul",{className:d("list")},a.default.createElement("li",null,"will likely result in improper composition and create accessibility issues"),a.default.createElement("li",null,"may cause erratic or broken behaviors and styles"),a.default.createElement("li",null,a.default.createElement("strong",null,"will not be supported "),"or enhanced to allow for incorrect use")))):null}(n),a.default.Children.map(i,(function(e){return"string"==typeof e?a.default.createElement("p",null,e):e}))))};u.propTypes=m,u.defaultProps={ariaLevel:"2",variant:"important"};var c=u;t.default=c},47306:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=m(n(67294)),i=m(n(45697)),l=m(n(94184)),r=m(n(47166)),o=m(n(50026)),s=m(n(42620)),d=["title"];function m(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=r.default.bind(s.default),f={title:i.default.string},h=function(e){var t=e.title,n=c(e,d),i=a.default.useContext(o.default),r=(0,l.default)(p(["placeholder",i.className]),n.className),s=p(["inner"]);return a.default.createElement("div",u({},n,{className:r}),a.default.createElement("div",{className:s},a.default.createElement("p",{className:p("title")},t)))};h.propTypes=f,h.defaultProps={title:""};var y=h;t.default=y},34261:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return i.default}});var a=r(n(59278)),i=r(n(47306)),l=r(n(40996));function r(e){return e&&e.__esModule?e:{default:e}}},11378:function(e,t,n){n.r(t),n.d(t,{default:function(){return T}});var a=n(67294),i=n(81254),l=n(92686),r=n(34261),o=n(50347),s=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u={};function c(e){var t=e.components,n=m(e,s);return(0,i.mdx)("wrapper",d({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport Heading from \'terra-heading\';\nimport IconPerson from \'terra-icon/lib/icon/IconPerson\';\nimport ItemView from \'terra-clinical-item-view\';\n\nconst display1 = } iconAlignment="inline" text="Asif Khan" />;\nconst display2 = ;\nconst display3 = ;\nconst display4 = ;\nconst display5 = ;\nconst display6 = ;\nconst displays = [display1, display2, display3, display4, display5, display6];\n\nexport default () => (\n
\n Patient Information\n \n
\n);\n\n')))}c.isMDXComponent=!0;var p=n(49271),f=function(e){var t=e.title,n=e.description,i=e.isExpanded;return a.createElement(p.Z,{title:t||"Item View With Header",description:n,example:a.createElement(o.Z,null),exampleSrc:a.createElement(c,null),isExpanded:i})},h=n(1675),y=["components"];function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var _={};function v(e){var t=e.components,n=x(e,y);return(0,i.mdx)("wrapper",g({},_,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport Heading from \'terra-heading\';\nimport IconBriefcase from \'terra-icon/lib/icon/IconBriefcase\';\nimport IconPerson from \'terra-icon/lib/icon/IconPerson\';\nimport ItemView from \'terra-clinical-item-view\';\n\nconst display1 = } iconAlignment="inline" text="Asif Khan" />;\nconst display2 = } iconAlignment="inline" text="Care Position: Primary" />;\nconst display3 = ;\nconst display4 = ;\nconst display5 = ;\nconst display6 = ;\nconst displays = [display1, display2, display3, display4, display5, display6];\n\nexport default () => (\n
\n Patient Information\n \n
\n);\n\n')))}v.isMDXComponent=!0;var b=function(e){var t=e.title,n=e.description,i=e.isExpanded;return a.createElement(p.Z,{title:t||"Item View Two Column With Header",description:n,example:a.createElement(h.Z,null),exampleSrc:a.createElement(v,null),isExpanded:i})},w=["components"];function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var I={},E="wrapper";function T(e){var t=e.components,n=O(e,w);return(0,i.mdx)(E,N({},I,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(l.C,{mdxType:"Badge"}),(0,i.mdx)("h1",{id:"accessibility-guide-for-terra-clinical-item-view"},"Accessibility Guide for Terra Clinical Item View"),(0,i.mdx)("h2",{id:"why-is-this-important"},"Why is this important?"),(0,i.mdx)("p",null,"Terra Clinical Item View allows you to create a view filled with information in the form of Clinical Item Displays. Improper usage of this component may prevent end users from understanding content and necessary context to interact with the page. "),(0,i.mdx)("h2",{id:"accessibility-considerations"},"Accessibility Considerations"),(0,i.mdx)("h4",{id:"general-notes"},"General notes"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"Related information should be presented as close to each other as possible.")," It is best practice to keep related information above or below its related counterparts.",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"For example - presenting related information across from each other in the two column view can make it more difficult for users to understand that the information is related.\nReading by column from top to bottom is the more common way information is consumed visually, so when presenting this information by row between the two columns it might be confusing for both sighted and non-sighted users."))),(0,i.mdx)("li",{parentName:"ul"},"When passing in displays, keep in mind that only 8 can be used within a view at a time. Any additional displays passed in will be ignored."),(0,i.mdx)("li",{parentName:"ul"},"Displays are also split between two columns with every other display being moved to the right hand column.")),(0,i.mdx)("hr",null),(0,i.mdx)("h3",{id:"code-considerations"},"Code Considerations"),(0,i.mdx)("h4",{id:"headings"},"Headings"),(0,i.mdx)(r.Notice,{variant:"important",ariaLevel:"3",mdxType:"Notice"},(0,i.mdx)("p",null,"It is ",(0,i.mdx)("strong",{parentName:"p"},"strongly")," suggested that consumers add a heading element above their implementation of the Clinical Item View component. "),(0,i.mdx)("p",null,"The Clinical Item View structure consists of an unordered list filled with list items, it is vital we include a header to ensure that the list of displays have proper context within the webpage.\nFor example - if an Item View contains contact information for a patient, you should add a header above the Item View that says something like 'Contact Information' or 'Patient Contact Information'."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"A header not only acts as a label for the information being communicated to the end users, but also helps with visual and screenreader navigation throughout a page."),"\nTo best implement this header, consumers can use the Terra Core Heading component found ",(0,i.mdx)("a",{parentName:"p",href:"https://engineering.cerner.com/terra-ui/components/cerner-terra-core-docs/heading/about"},"here"),"\nor the Clincial Header component found ",(0,i.mdx)("a",{parentName:"p",href:"https://engineering.cerner.com/terra-clinical/components/terra-clinical-header/clinical-header/clinical-header"},"here"),"."),(0,i.mdx)("p",null,"Best practices for implementing headers are as follows:"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"Use one unique h1 per page that describes what that page is about. That h1 preferably starts just above the main content."),(0,i.mdx)("li",{parentName:"ul"},"Use headings to describe the content below. Do not use an HTML heading just to make the text appear bigger or stand out."),(0,i.mdx)("li",{parentName:"ul"},"Use heading levels like the index of a book: hierarchical."),(0,i.mdx)("li",{parentName:"ul"},"Do not choose a heading by its size, but by its level in the context of the content."),(0,i.mdx)("li",{parentName:"ul"},"Do not skip a heading level from the top down.")),(0,i.mdx)("p",null,"More information on heading standards can be found ",(0,i.mdx)("a",{parentName:"p",href:"https://www.a11yproject.com/posts/how-to-accessible-heading-structure/"},"here"),"."),(0,i.mdx)("p",null,"Below you can find a couple examples of implementing a Terra Core Heading element above the Item View.")),(0,i.mdx)("h5",{id:"code-examples"},"Code Examples"),(0,i.mdx)(f,{title:"ItemView - With Header",mdxType:"ItemViewWithHeader"}),(0,i.mdx)(b,{title:"ItemView - Two Column Layout With Header",mdxType:"ItemViewTwoColumnWithHeader"}),(0,i.mdx)("h4",{id:"true-columns-vs-by-row"},"True Columns vs By Row"),(0,i.mdx)("p",null,"The two column layout for the Clinical Item View has been updated to use true columns instead of rows formatted to look like columns. This affects not only the programmatic layout but also the screenreader's behavior in how these displays are read.\nThe implementation of this is accomplished behind the ",(0,i.mdx)("inlineCode",{parentName:"p"},"trueColumn")," prop which defaults to true."),(0,i.mdx)("p",null,"The screenreader now reads through the first column, top to bottom, before moving on to the second column and reading its displays from top to bottom.\nThis way of handling readout is better, as it is more natural for us to organize and read information in columns by reading them one at a time, top to bottom before reading through the next column."),(0,i.mdx)("p",null,"It is strongly recommended to utilize the true two column layout mentioned above, but if needed you can set the ",(0,i.mdx)("inlineCode",{parentName:"p"},"trueColumn")," prop to false which will revert to using the previous 'by row' logic."),(0,i.mdx)("p",null,"Some potential reasons you might do this:"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"When trueColumn is true, the spacing and truncation of elements are slightly different due to the fact that we are now splitting the displays into actual programmatic columns.\nWe can't resize on a row by row basis between the two columns since they are separate, so truncation may start a little earlier than it did before."),(0,i.mdx)("li",{parentName:"ul"},"When there is text wrapping/overflow for a display on one side - the 'by row' behavior adds blank newlines to the corresponding display in the opposite column.\nAlternatively, when we use the trueColumn layout and there is a display on one side with overflow, no blank lines are added below the display in the opposite column. The next display is rendered directly under the previous one with no blank lines.")),(0,i.mdx)("p",null,"All of that being said, the screenreader readout for the 'by row' formatting announces the first display from the first column and then jumps over to the first display in the second column.\nIt then jumps back to the first column and reads out the next display before moving back over to the second column and reading the next display. This pattern of reading displays by row continues until the last display is read."),(0,i.mdx)(r.Notice,{variant:"important",ariaLevel:"3",mdxType:"Notice"},(0,i.mdx)("p",null,"The primary reason this 'by row' formatting is not recommended is because visually when information is shown in a column it is natural to read all of the information in the first column and then the second.\nNon-sighted users should also have the opportunity to take in information this way.")),(0,i.mdx)("p",null,"How these views are used, what kind of information is being communicated, and how far apart the columns are - all of these contribute to how understandable the information is to both non-sighted and sighted users.\n",(0,i.mdx)("strong",{parentName:"p"},"It is always best practice in general to keep closely related information in the same column.")),(0,i.mdx)("h4",{id:"styling-override"},"Styling Override"),(0,i.mdx)("p",null,"Clincial Item View takes in Clinical Item Displays and by default the Item View has its own styling for these display elements.\nHowever, the Item Displays have several different types of styling that can be applied to each individual display. Sometimes this styling conveys important information, like a display with a strikethrough."),(0,i.mdx)("p",null,"To allow the usage of custom styling we have the ",(0,i.mdx)("inlineCode",{parentName:"p"},"overrideDefaultStyling")," prop."),(0,i.mdx)("p",null,"This prop allows the user to override the Item View default styling and instead use the styling directly applied to the Item Displays.\nIf the override prop is set to true but the displays have no specific styling set, the displays will end up with the default Item Display styling.\nMore information on these styling types can be found on the Clincial Item Display ",(0,i.mdx)("a",{parentName:"p",href:"https://engineering.cerner.com/terra-clinical/components/terra-clinical-item-display/clinical-item-display/clinical-item-display"},(0,i.mdx)("strong",{parentName:"a"},"page")),"."),(0,i.mdx)("h4",{id:"truncation-handling"},"Truncation Handling"),(0,i.mdx)("p",null,"There is an ",(0,i.mdx)("inlineCode",{parentName:"p"},"isTruncated")," prop for Clinical Item View, when this is set to true all displays and comments in the Item View can be truncated. Otherwise, the content wraps to a newline when truncation is false.\nThe actual Item Displays themselves also have an ",(0,i.mdx)("inlineCode",{parentName:"p"},"isTruncated")," prop. If the Item View has truncation set to false but some of the Item Displays have it set to true, only those specific displays will be truncated. The rest will have the word wrap behavior."),(0,i.mdx)(r.Notice,{variant:"important",ariaLevel:"3",mdxType:"Notice"},(0,i.mdx)("h5",{id:"truncated-text"},"Truncated Text"),(0,i.mdx)("p",null,"Truncation of text can pose an accessibility concern if no method of disclosing the full text is availableto the user.\nWhen using ",(0,i.mdx)("inlineCode",{parentName:"p"},"isTruncated"),", consumers are responsible for providing a progressive disclosure pattern to disclose the full Item Display text in order to ensure that it is accessible for keyboard navigation users."),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"There should always be a method of accessing the truncated information. If there is no way to progressively disclose the full content of the truncated information, then truncation should not be used.")),(0,i.mdx)("p",null,"Some examples of progressive disclosure patterns that may be used to disclose truncated information include:"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"Accordions"),(0,i.mdx)("li",{parentName:"ul"},"Dialogs"),(0,i.mdx)("li",{parentName:"ul"},"Popovers"),(0,i.mdx)("li",{parentName:"ul"},"Show/Hide"),(0,i.mdx)("li",{parentName:"ul"},"Split Views"),(0,i.mdx)("li",{parentName:"ul"},"Toasts")),(0,i.mdx)("p",null,"The method of disclosure ",(0,i.mdx)("strong",{parentName:"p"},"must")," be accessible via keyboard interactions."),(0,i.mdx)("p",null,"Truncation should be avoided where it is not necessary. Certain content should ",(0,i.mdx)("strong",{parentName:"p"},"never")," be truncated (i.e. medication names and dosages in menus where the user is selecting from a list of choices).")),(0,i.mdx)("h3",{id:"other-considerations"},"Other Considerations"),(0,i.mdx)("h4",{id:"clinical-item-view-unordered-list-structure"},"Clinical Item View Unordered List Structure"),(0,i.mdx)("p",null,"Displays in the Item View are rendered as list items inside a primary unordered list.\nThe structure is different for the different types of layouts - one column, two columns, and two columns by row. Their structure is as follows:"),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"For a one column layout with 8 displays")),(0,i.mdx)("p",null,"Primary Unordered List"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 1"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 2"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 3",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 3"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 4",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 4"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 5",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 5"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 6",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 6"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 7",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 7"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 8",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 8")))),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"For a true two column layout with 8 displays")),(0,i.mdx)("p",null,"Primary Unordered List"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Column 1 as an unordered list",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 1"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 3"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 3",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 5"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 4",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 7"))))))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Column 2 as an unordered list",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 2"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 4"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 3",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 6"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 4",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 8")))))))),(0,i.mdx)("p",null,(0,i.mdx)("strong",{parentName:"p"},"For a by row, two column layout with 8 displays")),(0,i.mdx)("p",null,"Primary Unordered List"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Row 1 as an unordered list",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 1"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 2"))))))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Row 2 as an unordered list",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 3"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 4"))))))),(0,i.mdx)("li",{parentName:"ul"},"List Item 3",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Row 3 as an unordered list",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 5"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 6"))))))),(0,i.mdx)("li",{parentName:"ul"},"List Item 4",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Row 4 as an unordered list",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"List Item 1",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 7"))),(0,i.mdx)("li",{parentName:"ul"},"List Item 2",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"Display 8")))))))),(0,i.mdx)("h2",{id:"support-compliance"},"Support Compliance"),(0,i.mdx)("p",null,"Terra is committed to ensuring its components provide maximum possible accessibility. However, simply using Terra components will not automatically make a product accessible."),(0,i.mdx)("p",null,"Final responsibility lies with the consumers of Terra components ","—"," ensuring proper usage, engineers following correct implementation patterns, and authors crafting content that follows best practice guidance ","—"," to make a product fully accessible."),(0,i.mdx)("h3",{id:"wcag-resources"},"WCAG Resources"),(0,i.mdx)("h4",{id:"success-criteria"},"Success Criteria"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("a",{parentName:"li",href:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content"},(0,i.mdx)("strong",{parentName:"a"},"1.1.1 Non-text Content"))," - All non-text content that is presented to the user has a text alternative that serves the equivalent purpose."),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("a",{parentName:"li",href:"https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships"},(0,i.mdx)("strong",{parentName:"a"},"1.3.1 Info and Relationships"))," - Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text. (Level A)"),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("a",{parentName:"li",href:"https://www.w3.org/WAI/WCAG21/Understanding/consistent-identification"},(0,i.mdx)("strong",{parentName:"a"},"3.2.4 Consistent Identification"))," - Components that have the same functionality within a set of Web pages are identified consistently."),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("a",{parentName:"li",href:"https://www.w3.org/WAI/WCAG21/Understanding/name-role-value"},(0,i.mdx)("strong",{parentName:"a"},"4.1.2 Name, Role, Value"))," - For all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.")),(0,i.mdx)("h3",{id:"partial-support--requiring-further-enhancement"},"Partial Support & Requiring Further Enhancement"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"None identified"),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("a",{parentName:"li",href:"https://github.com/cerner/terra-clinical/issues/new/choose"},"Report a problem with this component on ",(0,i.mdx)("strong",{parentName:"a"},"GitHub")))),(0,i.mdx)("p",null,(0,i.mdx)("em",{parentName:"p"},"For more information about Accessibility Support with Terra — go to ",(0,i.mdx)("a",{parentName:"em",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#accessibility-a11y"},"Component Standards: Accessibility (A11y)"),".")))}T.isMDXComponent=!0},92686:function(e,t,n){n.d(t,{C:function(){return l}});var a=n(67294),i=n(22863),l=function(e){var t=e.url;return a.createElement(i.Z,{src:"https://github.com/cerner/terra-clinical/tree/main/packages/terra-clinical-item-view",name:"terra-clinical-item-view",version:"4.10.0",url:t})}},1675:function(e,t,n){t.Z=void 0;var a=s(n(67294)),i=s(n(44027)),l=s(n(56468)),r=s(n(41086)),o=s(n(37856));function s(e){return e&&e.__esModule?e:{default:e}}var d=[a.default.createElement(o.default.Display,{icon:a.default.createElement(r.default,null),iconAlignment:"inline",text:"Asif Khan"}),a.default.createElement(o.default.Display,{icon:a.default.createElement(l.default,null),iconAlignment:"inline",text:"Care Position: Primary"}),a.default.createElement(o.default.Display,{text:"Room 100A"}),a.default.createElement(o.default.Display,{text:"Acuity: 5"}),a.default.createElement(o.default.Display,{text:"Start Time: 08-05-2016 12:00:00"}),a.default.createElement(o.default.Display,{text:"End Time: 08-05-2016 16:00:00"})];t.Z=function(){return a.default.createElement("div",null,a.default.createElement(i.default,{id:"heading",level:5},"Patient Information"),a.default.createElement(o.default,{displays:d,layout:"twoColumns"}))}},50347:function(e,t,n){t.Z=void 0;var a=o(n(67294)),i=o(n(44027)),l=o(n(41086)),r=o(n(37856));function o(e){return e&&e.__esModule?e:{default:e}}var s=[a.default.createElement(r.default.Display,{icon:a.default.createElement(l.default,null),iconAlignment:"inline",text:"Asif Khan"}),a.default.createElement(r.default.Display,{text:"Care Position: Primary"}),a.default.createElement(r.default.Display,{text:"Room 100A"}),a.default.createElement(r.default.Display,{text:"Acuity: 5"}),a.default.createElement(r.default.Display,{text:"Start Time: 08-05-2016 12:00:00"}),a.default.createElement(r.default.Display,{text:"End Time: 08-05-2016 16:00:00"})];t.Z=function(){return a.default.createElement("div",null,a.default.createElement(i.default,{id:"heading",level:5},"Patient Information"),a.default.createElement(r.default,{displays:s}))}},17422:function(e,t,n){n.r(t),t.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},53560:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},66983:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Button-module__clinical-lowlight-theme___TyZWB","orion-fusion-theme":"Button-module__orion-fusion-theme___q-FcQ",button:"Button-module__button___QuCn2","is-active":"Button-module__is-active___Z8AuK"}},30866:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Notice-module__clinical-lowlight-theme___aa5xV","orion-fusion-theme":"Notice-module__orion-fusion-theme___QAE-T",notice:"Notice-module__notice___GWkPA",children:"Notice-module__children___lDYsm",accessory:"Notice-module__accessory___wkLOG",title:"Notice-module__title___6H5tc","ux-recommendation":"Notice-module__ux-recommendation___N8BuK",caution:"Notice-module__caution___hPrVl",deprecation:"Notice-module__deprecation___g1drA",maintenance:"Notice-module__maintenance___kWLIZ",important:"Notice-module__important___p5DiF","not-supported":"Notice-module__not-supported___34bHd",paragraph:"Notice-module__paragraph___5h-w1",list:"Notice-module__list___M2Kxj"}},42620:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Placeholder-module__clinical-lowlight-theme___Obm9K","orion-fusion-theme":"Placeholder-module__orion-fusion-theme___svHY+",placeholder:"Placeholder-module__placeholder___ZZDXd",inner:"Placeholder-module__inner___fJq9o",title:"Placeholder-module__title___teBSo"}},42763:function(e,t,n){n.r(t),t.default={heading:"Heading-module__heading___v5+PO",italic:"Heading-module__italic___AZeOx","level-1":"Heading-module__level-1___Dzh7M","level-2":"Heading-module__level-2___Fn5NE","level-3":"Heading-module__level-3___HjC1Z","level-4":"Heading-module__level-4___gatwI","level-5":"Heading-module__level-5___-iiqy","level-6":"Heading-module__level-6___VXhR+","size-huge":"Heading-module__size-huge___0iP2D","size-large":"Heading-module__size-large___rZwu-","size-medium":"Heading-module__size-medium___Hk3pG","size-small":"Heading-module__size-small___OWyDY","size-tiny":"Heading-module__size-tiny___Z5Fm4","size-mini":"Heading-module__size-mini___Gd90U","weight-200":"Heading-module__weight-200___EQF-G","weight-400":"Heading-module__weight-400___cOGso","weight-700":"Heading-module__weight-700___SbBvg","visually-hidden":"Heading-module__visually-hidden___5i7ow"}},44027:function(e,t,n){function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HeadingWeight=t.HeadingSize=t.HeadingLevel=void 0;var i=d(n(67294)),l=d(n(45697)),r=d(n(47166)),o=d(n(42763)),s=["level","children","isVisuallyHidden","isItalic","size","weight","colorClass"];function d(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var f=r.default.bind(o.default);t.HeadingLevel={1:1,2:2,3:3,4:4,5:5,6:6};t.HeadingSize={MINI:"mini",TINY:"tiny",SMALL:"small",MEDIUM:"medium",LARGE:"large",HUGE:"huge"};t.HeadingWeight={200:200,400:400,700:700};var h={children:l.default.node.isRequired,level:l.default.oneOf([1,2,3,4,5,6]).isRequired,isItalic:l.default.bool,isVisuallyHidden:l.default.bool,size:l.default.oneOf(["mini","tiny","small","medium","large","huge"]),weight:l.default.oneOf([200,400,700]),colorClass:l.default.string},y=function(e){var t=e.level,n=e.children,a=e.isVisuallyHidden,l=e.isItalic,r=e.size,o=e.weight,d=e.colorClass,h=function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=l.default.bind(o.default),p=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},f=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},h={children:i.default.string},y=function(e){var t=e.children,n=u(e,s),i=a.default.useContext(r.default),o=(0,l.default)(c(["button",i.className]),n.className);return a.default.createElement("button",m({},n,{type:"button",className:o,onBlur:p,onMouseDown:f,"data-focus-styles-enabled":!0}),t)};y.propTypes=h;var g=y;t.default=g},59278:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(n(67294)),i=s(n(45697)),l=s(n(47166)),r=s(n(50026)),o=s(n(30866));function s(e){return e&&e.__esModule?e:{default:e}}var d=l.default.bind(o.default),m={ariaLevel:i.default.oneOf(["2","3","4","5","6"]),children:i.default.node,variant:i.default.oneOf(["ux-recommendation","caution","deprecation","maintenance","important","not-supported"])},u=function(e){var t=e.ariaLevel,n=e.variant,i=e.children,l=a.default.useContext(r.default);return a.default.createElement("div",{className:d("notice",n,l.className)},a.default.createElement("div",{className:d("accessory"),"aria-hidden":"true",focusable:"false"}),a.default.createElement("div",{role:"heading",className:d("title"),"aria-level":t},a.default.createElement("span",null,function(e){return"ux-recommendation"===e?"UX Recommendation":"caution"===e?"Caution":"deprecation"===e?"Deprecation Notice":"maintenance"===e?"In Maintenance":"important"===e?"Important":"not-supported"===e?"Hazards for Incorrect Usage":"error"}(n))),a.default.createElement("div",{className:d("children")},function(e){return"not-supported"===e?a.default.createElement(a.default.Fragment,null,a.default.createElement("p",{className:d("paragraph")},"This component was designed and tested according to the documented implementation."),a.default.createElement("p",{className:d("paragraph")},"Using the component incorrectly:",a.default.createElement("ul",{className:d("list")},a.default.createElement("li",null,"will likely result in improper composition and create accessibility issues"),a.default.createElement("li",null,"may cause erratic or broken behaviors and styles"),a.default.createElement("li",null,a.default.createElement("strong",null,"will not be supported "),"or enhanced to allow for incorrect use")))):null}(n),a.default.Children.map(i,(function(e){return"string"==typeof e?a.default.createElement("p",null,e):e}))))};u.propTypes=m,u.defaultProps={ariaLevel:"2",variant:"important"};var c=u;t.default=c},47306:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=m(n(67294)),i=m(n(45697)),l=m(n(94184)),r=m(n(47166)),o=m(n(50026)),s=m(n(42620)),d=["title"];function m(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=r.default.bind(s.default),f={title:i.default.string},h=function(e){var t=e.title,n=c(e,d),i=a.default.useContext(o.default),r=(0,l.default)(p(["placeholder",i.className]),n.className),s=p(["inner"]);return a.default.createElement("div",u({},n,{className:r}),a.default.createElement("div",{className:s},a.default.createElement("p",{className:p("title")},t)))};h.propTypes=f,h.defaultProps={title:""};var y=h;t.default=y},34261:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return i.default}});var a=r(n(59278)),i=r(n(47306)),l=r(n(40996));function r(e){return e&&e.__esModule?e:{default:e}}},11378:function(e,t,n){n.r(t),n.d(t,{default:function(){return T}});var a=n(67294),i=n(81254),l=n(92686),r=n(34261),o=n(50347),s=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u={};function c(e){var t=e.components,n=m(e,s);return(0,i.mdx)("wrapper",d({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport Heading from \'terra-heading\';\nimport IconPerson from \'terra-icon/lib/icon/IconPerson\';\nimport ItemView from \'terra-clinical-item-view\';\n\nconst display1 = } iconAlignment="inline" text="Asif Khan" />;\nconst display2 = ;\nconst display3 = ;\nconst display4 = ;\nconst display5 = ;\nconst display6 = ;\nconst displays = [display1, display2, display3, display4, display5, display6];\n\nexport default () => (\n
\n Patient Information\n \n
\n);\n\n')))}c.isMDXComponent=!0;var p=n(49271),f=function(e){var t=e.title,n=e.description,i=e.isExpanded;return a.createElement(p.Z,{title:t||"Item View With Header",description:n,example:a.createElement(o.Z,null),exampleSrc:a.createElement(c,null),isExpanded:i})},h=n(1675),y=["components"];function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var _={};function v(e){var t=e.components,n=x(e,y);return(0,i.mdx)("wrapper",g({},_,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)("pre",null,(0,i.mdx)("code",{parentName:"pre",className:"language-jsx"},'import React from \'react\';\nimport Heading from \'terra-heading\';\nimport IconBriefcase from \'terra-icon/lib/icon/IconBriefcase\';\nimport IconPerson from \'terra-icon/lib/icon/IconPerson\';\nimport ItemView from \'terra-clinical-item-view\';\n\nconst display1 = } iconAlignment="inline" text="Asif Khan" />;\nconst display2 = } iconAlignment="inline" text="Care Position: Primary" />;\nconst display3 = ;\nconst display4 = ;\nconst display5 = ;\nconst display6 = ;\nconst displays = [display1, display2, display3, display4, display5, display6];\n\nexport default () => (\n
\n Patient Information\n \n
\n);\n\n')))}v.isMDXComponent=!0;var b=function(e){var t=e.title,n=e.description,i=e.isExpanded;return a.createElement(p.Z,{title:t||"Item View Two Column With Header",description:n,example:a.createElement(h.Z,null),exampleSrc:a.createElement(v,null),isExpanded:i})},w=["components"];function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var I={},E="wrapper";function T(e){var t=e.components,n=O(e,w);return(0,i.mdx)(E,N({},I,n,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(l.C,{mdxType:"Badge"}),(0,i.mdx)("h1",{id:"accessibility-guide-for-terra-clinical-item-view"},"Accessibility Guide for Terra Clinical Item View"),(0,i.mdx)("h2",{id:"why-is-this-important"},"Why is this important?"),(0,i.mdx)("p",null,"Terra Clinical Item View allows you to create a view filled with information in the form of Clinical Item Displays. Improper usage of this component may prevent end users from understanding content and necessary context to interact with the page. "),(0,i.mdx)("h2",{id:"accessibility-considerations"},"Accessibility Considerations"),(0,i.mdx)("h4",{id:"general-notes"},"General notes"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"Related information should be presented as close to each other as possible.")," It is best practice to keep related information above or below its related counterparts.",(0,i.mdx)("ul",{parentName:"li"},(0,i.mdx)("li",{parentName:"ul"},"For example - presenting related information across from each other in the two column view can make it more difficult for users to understand that the information is related.\nReading by column from top to bottom is the more common way information is consumed visually, so when presenting this information by row between the two columns it might be confusing for assistive technology users and users in general."))),(0,i.mdx)("li",{parentName:"ul"},"When passing in Clinical Item Displays, keep in mind that only 8 can be used within a view at a time. Any additional displays passed in will be ignored."),(0,i.mdx)("li",{parentName:"ul"},"Displays are also split between two columns with every other display being moved to the right hand column.")),(0,i.mdx)("hr",null),(0,i.mdx)("h3",{id:"code-considerations"},"Code Considerations"),(0,i.mdx)("h4",{id:"headings"},"Headings"),(0,i.mdx)(r.Notice,{variant:"important",ariaLevel:"3",mdxType:"Notice"},(0,i.mdx)("p",null,"It is ",(0,i.mdx)("strong",{parentName:"p"},"strongly")," recommended to add a heading element above the implementation of the Clinical Item View component.\n",(0,i.mdx)("strong",{parentName:"p"},"A header not only acts as a label for the information being communicated to the end users, but also helps with visual and screenreader navigation throughout a page."),"\nThe recommended way to implement this header is to utilize ",(0,i.mdx)("a",{parentName:"p",href:"https://engineering.cerner.com/terra-ui/components/cerner-terra-core-docs/heading/about"},"Terra Heading"),"\nor the ",(0,i.mdx)("a",{parentName:"p",href:"https://engineering.cerner.com/terra-clinical/components/terra-clinical-header/clinical-header/clinical-header"},"Terra Clincial Header"),".")),(0,i.mdx)("p",null,"The Clinical Item View structure consists of an unordered list ",(0,i.mdx)("inlineCode",{parentName:"p"},"