import { a as e, n as t, r as n } from './chunk-BneVvdWh.js';
import { S as r } from './iframe-B-AKBcwT.js';
function i(e) {
    let t = o.useContext(c);
    return o.useMemo(
        function () {
            return typeof e == `function` ? e(t) : { ...t, ...e };
        },
        [t, e],
    );
}
function a(e) {
    let t;
    return (
        (t = e.disableParentContext
            ? typeof e.components == `function`
                ? e.components(s)
                : e.components || s
            : i(e.components)),
        o.createElement(c.Provider, { value: t }, e.children)
    );
}
var o,
    s,
    c,
    l = t(() => {
        ((o = e(r(), 1)), (s = {}), (c = o.createContext(s)));
    }),
    u = n({ MDXProvider: () => a }),
    d = t(() => {
        l();
    });
export { u as n, i as r, d as t };
