"use strict";(globalThis.webpackChunkacadlix=globalThis.webpackChunkacadlix||[]).push([["admin_course_settings_general_start_date"],{"./src/free/admin/course_settings/StartDate.js":(e,s,t)=>{t.r(s),t.d(s,{default:()=>d}),t("react");var a=t("./node_modules/@mui/material/esm/Grid/Grid.js"),r=t("./node_modules/@mui/material/esm/Typography/Typography.js"),i=t("./node_modules/@mui/x-date-pickers/internals/demo/DemoContainer.js"),m=t("./node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker.js"),n=t("./src/helpers/util.js"),o=(t("@wordpress/i18n"),t("react/jsx-runtime"));const d=e=>(0,o.jsxs)(a.A,{size:{xs:12,sm:12},children:[(0,o.jsx)(i.j,{components:["DateTimePicker"],children:(0,o.jsx)(m.K,{format:"DD/MM/YYYY hh:mm:a",timeSteps:{minutes:1},sx:{".MuiInputBase-input":{padding:"8px 14px !important"},".MuiInputBase-input:focus":{padding:"8px 14px !important"}},disabled:!0,onChange:s=>{e?.setValue("meta.start_date",(0,n.VH)(s),{shouldDirty:!0})}})}),e?.formState?.errors?.meta?.start_date&&(0,o.jsx)(r.A,{component:"p",color:"error",children:e?.formState?.errors?.meta?.start_date?.message})]})}}]);