{"version":3,"file":"ChartContainer.cjs","names":["_createOdysseyStyledComponent","require","_chartTokens","ChartContainer","exports","createOdysseyStyledComponent","tag","height","minHeight","minWidth","transform","chartTokens","ChartLegendRectangleVerticalOffset"],"sources":["../../../../src/charts/components/ChartContainer.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { createOdysseyStyledComponent } from \"../../createOdysseyStyledComponent.js\";\nimport { chartTokens } from \"../utils/chartTokens.js\";\n\n/**\n * A full-height container for a Highcharts React chart. The container also corrects the optical alignment of rectangular legend symbols. Highcharts positions line and marker symbols with a separate rule.\n */\nexport const ChartContainer = createOdysseyStyledComponent({ tag: \"div\" })({\n  height: \"100%\",\n  minHeight: 0,\n  minWidth: 0,\n  \"& > div\": { height: \"100%\" },\n  \"& .highcharts-legend-item rect.highcharts-point\": {\n    transform: `translateY(${chartTokens.ChartLegendRectangleVerticalOffset}px)`,\n  },\n});\n"],"mappings":";;;;;;AAYA,IAAAA,6BAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAQO,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,0DAA4B,EAAC;EAAEC,GAAG,EAAE;AAAM,CAAC,CAAC,CAAC;EACzEC,MAAM,EAAE,MAAM;EACdC,SAAS,EAAE,CAAC;EACZC,QAAQ,EAAE,CAAC;EACX,SAAS,EAAE;IAAEF,MAAM,EAAE;EAAO,CAAC;EAC7B,iDAAiD,EAAE;IACjDG,SAAS,EAAE,cAAcC,wBAAW,CAACC,kCAAkC;EACzE;AACF,CAAC,CAAC","ignoreList":[]}