import{u as a,h as r}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{r as d}from"./index-NdkWRN8K.js";import{M as m}from"./Box-1mvP3NLW.js";import{b as p,a as x}from"./Typography-Cz6D417Y.js";import{j as e}from"./jsx-runtime-CnH95YSl.js";/*!
 * Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.
 * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
 *
 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *
 * See the License for the specific language governing permissions and limitations under the License.
 */const y=r("div",{shouldForwardProp:s=>s!=="odysseyDesignTokens"})(({odysseyDesignTokens:s})=>({display:"flex",flexDirection:"column",marginBlock:s.Spacing9,padding:s.Spacing5,textAlign:"center",width:"100%",alignItems:"center"})),c=r("div",{shouldForwardProp:s=>s!=="odysseyDesignTokens"})(({odysseyDesignTokens:s})=>({maxWidth:s.TypographyLineLengthMax})),g=({heading:s,description:n,PrimaryCallToActionComponent:o,SecondaryCallToActionComponent:t})=>{const i=a();return e.jsxs(y,{odysseyDesignTokens:i,children:[e.jsxs(c,{odysseyDesignTokens:i,children:[e.jsx(p,{children:s}),e.jsx(x,{children:n})]}),(o||t)&&e.jsxs(m,{sx:{marginBlockStart:5},children:[t,o]})]})},h=d.memo(g);h.displayName="EmptyState";export{h as M};
