const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DLYSQdtC.js","./index--T1NVeYw.js","./iframe-Dl3Dde8j.js","./index-C__6K5js.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]);
import{_ as p}from"./iframe-Dl3Dde8j.js";import{h as E,r as a,H as d,A as R,i as v,R as n,D as f}from"./index--T1NVeYw.js";import"./index-C__6K5js.js";import"./index-DrFu-skq.js";var s={},m;function w(){if(m)return s;m=1;var e=E();return s.createRoot=e.createRoot,s.hydrateRoot=e.hydrateRoot,s}var _=w(),i=new Map;function y(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var x=({callback:e,children:t})=>{let r=a.useRef();return a.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var C=async(e,t,r)=>{let o=await g(t,r);if(y()){o.render(e);return}let{promise:u,resolve:c}=Promise.withResolvers();return o.render(a.createElement(x,{callback:c},e)),u},D=(e,t)=>{let r=i.get(e);r&&(r.unmount(),i.delete(e))},g=async(e,t)=>{let r=i.get(e);return r||(r=_.createRoot(e,t),i.set(e,r)),r},A={code:v,a:R,...d},M=class extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:n.createElement(n.Fragment,null,t)}},O=class{constructor(){this.render=async(e,t,r)=>{let o={...A,...t==null?void 0:t.components},u=f;return new Promise((c,h)=>{p(async()=>{const{MDXProvider:l}=await import("./index-DLYSQdtC.js");return{MDXProvider:l}},__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(({MDXProvider:l})=>C(n.createElement(M,{showException:h,key:Math.random()},n.createElement(l,{components:o},n.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>c())})},this.unmount=e=>{D(e)}}};export{O as DocsRenderer,A as defaultComponents};
