{"version":3,"file":"InnerAppContainer.cjs","names":["_styled","_interopRequireDefault","require","_react","_uiShellSharedConstants","_jsxRuntime","e","__esModule","default","StyledAppContainerShadowShared","styled","left","pointerEvents","position","top","width","zIndex","UI_SHELL_BASE_Z_INDEX","StyledAppContainerShadow1","exports","background","height","StyledAppContainerShadow2","StyledAppContainerShadow3","InnerAppContainer","isContentScrolled","jsxs","Fragment","children","jsx","MemoizedInnerAppContainer","memo","displayName"],"sources":["../../../src/ui-shell/InnerAppContainer.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2025-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 styled from \"@emotion/styled\";\nimport { memo } from \"react\";\n\nimport { UI_SHELL_BASE_Z_INDEX } from \"./uiShellSharedConstants.js\";\n\n// Shared styles for fake inset shadow. Not rendered anywhere.\nconst StyledAppContainerShadowShared = styled(\"div\")({\n  left: 0,\n  pointerEvents: \"none\",\n  position: \"absolute\",\n  top: 0,\n  width: \"100%\",\n  zIndex: UI_SHELL_BASE_Z_INDEX,\n});\n\nexport const StyledAppContainerShadow1 = styled(StyledAppContainerShadowShared)(\n  {\n    background: `linear-gradient(\n      to bottom,\n      rgba(39, 39, 39, 0.08) 0%,\n      transparent 100%\n    )`,\n    height: \"4px\",\n  },\n);\n\nexport const StyledAppContainerShadow2 = styled(StyledAppContainerShadowShared)(\n  {\n    background: `linear-gradient(\n      to bottom,\n      rgba(39, 39, 39, 0.01) 0%,\n      transparent 100%\n    )`,\n    height: \"6px\",\n  },\n);\n\nexport const StyledAppContainerShadow3 = styled(StyledAppContainerShadowShared)(\n  {\n    background: `linear-gradient(\n      to bottom,\n      rgba(39, 39, 39, 0.05) 0%,\n      transparent 100%\n    )`,\n    height: \"15px\",\n  },\n);\n\nexport type InnerAppContainerProps = {\n  isContentScrolled: boolean;\n};\n\nconst InnerAppContainer = ({ isContentScrolled }: InnerAppContainerProps) =>\n  isContentScrolled ? (\n    <>\n      <StyledAppContainerShadow1 />\n      <StyledAppContainerShadow2 />\n      <StyledAppContainerShadow3 />\n    </>\n  ) : null;\n\nconst MemoizedInnerAppContainer = memo(InnerAppContainer);\nMemoizedInnerAppContainer.displayName = \"InnerAppContainer\";\n\nexport { MemoizedInnerAppContainer as InnerAppContainer };\n"],"mappings":";;;;;;AAYA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,uBAAA,GAAAF,OAAA;AAAoE,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAfpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAQA,MAAMG,8BAA8B,GAAG,IAAAC,eAAM,EAAC,KAAK,CAAC,CAAC;EACnDC,IAAI,EAAE,CAAC;EACPC,aAAa,EAAE,MAAM;EACrBC,QAAQ,EAAE,UAAU;EACpBC,GAAG,EAAE,CAAC;EACNC,KAAK,EAAE,MAAM;EACbC,MAAM,EAAEC;AACV,CAAC,CAAC;AAEK,MAAMC,yBAAyB,GAAAC,OAAA,CAAAD,yBAAA,GAAG,IAAAR,eAAM,EAACD,8BAA8B,CAAC,CAC7E;EACEW,UAAU,EAAE;AAChB;AACA;AACA;AACA,MAAM;EACFC,MAAM,EAAE;AACV,CACF,CAAC;AAEM,MAAMC,yBAAyB,GAAAH,OAAA,CAAAG,yBAAA,GAAG,IAAAZ,eAAM,EAACD,8BAA8B,CAAC,CAC7E;EACE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