import{j as r,aT as m}from"./vendor-mui-core-CDEc-eG6.js";import{C as p}from"./content-layout-D49-hpq6.js";import{W as c,O as n}from"./vendor-ux-bFYdDLNG.js";import{a5 as d,F as i}from"./index-DGZk149v.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,...a}){const{t:o}=c(),{ws:{useSubscription:s}}=d();return s(i.BlockletEvents.certIssued,t=>{n.success(o("setup.domain.genCertSuccess",{domain:t.domain}))}),s(i.BlockletEvents.certError,t=>{n.error(o("setup.domain.genCertFailed",{domain:t.domain,message:t.message}))}),r.jsx(u,{...a,children:e})}export{g as S};
