import{j as a,at as m}from"./vendor-mui-core-DnR6WYuU.js";import{C as p}from"./content-layout-DmSBGGVm.js";import{V as c,Q as s}from"./vendor-ux-DMZIE6wA.js";import{af as d,J as i}from"./index-DwyzCfdd.js";const u=m(p)`
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;

  .header {
    width: 100%;
    margin-bottom: 34px;
    ${e=>e.theme.breakpoints.up("md")} {
      margin-bottom: 64px;
    }
  }
  .container-main {
    position: relative;
    flex: 1;
    width: 100%;
  }
  .container-inner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    overflow-y: auto;
  }
`;function g({children:e,...r}){const{t:o}=c(),{ws:{useSubscription:n}}=d();return n(i.BlockletEvents.certIssued,t=>{s.success(o("setup.domain.genCertSuccess",{domain:t.domain}))}),n(i.BlockletEvents.certError,t=>{s.error(o("setup.domain.genCertFailed",{domain:t.domain,message:t.message}))}),a.jsx(u,{...r,children:e})}export{g as S};
