import D from "./index-extends.js";
import C from "./index-objectWithoutPropertiesLoose.js";
import "react";
import { WrapperVariantContext as f } from "./index-WrapperVariantContext.js";
import { PickersModalDialog as h } from "./index-PickersModalDialog.js";
import { jsxs as x, jsx as e } from "react/jsx-runtime";
const g = ["children", "DateInputProps", "DialogProps", "onAccept", "onClear", "onDismiss", "onCancel", "onSetToday", "open", "PureDateInputComponent", "components", "componentsProps"];
function T(o) {
  const {
    children: t,
    DateInputProps: r,
    DialogProps: p,
    onAccept: s,
    onClear: i,
    onDismiss: c,
    onCancel: m,
    onSetToday: a,
    open: l,
    PureDateInputComponent: P,
    components: n,
    componentsProps: d
  } = o, u = C(o, g);
  return /* @__PURE__ */ x(f.Provider, {
    value: "mobile",
    children: [/* @__PURE__ */ e(P, D({
      components: n
    }, u, r)), /* @__PURE__ */ e(h, {
      DialogProps: p,
      onAccept: s,
      onClear: i,
      onDismiss: c,
      onCancel: m,
      onSetToday: a,
      open: l,
      components: n,
      componentsProps: d,
      children: t
    })]
  });
}
export {
  T as MobileWrapper
};
