text: import React, { useMemo } from "react";
  import { DialogContext } from "./dialogContext";
  function DialogProvider(props) {
    const { children, position, zOffset } = props;
    const contextValue = useMemo(() => ({
      version: 0,
      position,
      zOffset
    }), [position, zOffset]);
    return /* @__PURE__ */ React.createElement(DialogContext.Provider, {
      value: contextValue
    }, children);
  }
  export {
    DialogProvider
  };
  