"use strict";(globalThis.webpackChunkacadlix=globalThis.webpackChunkacadlix||[]).push([["admin_quiz_free_min_percent_options"],{"./src/free/admin/quiz/tabs/result/MinPercentOptions.js":(s,e,t)=>{t.r(e),t.d(e,{default:()=>d}),t("react");var i=t("./src/components/GridItem1.js"),a=t("./node_modules/@mui/material/esm/FormControlLabel/FormControlLabel.js"),n=t("./src/components/CustomSwitch.js"),l=t("./src/components/CustomTextField.js"),o=t("./src/components/CustomTypography.js"),r=t("@wordpress/i18n"),c=t("./src/components/CustomFeatureTooltip.js"),m=t("react/jsx-runtime");const d=s=>{var e;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.A,{size:{xs:12,sm:6,lg:3},children:(0,m.jsxs)(o.A,{children:[(0,r.__)("Show Status Based On Min % (Pass/Fail)","acadlix"),(0,m.jsx)(c.A,{plan:acadlixOptions?.isActive?"open":"closed",msg:(0,r.__)("This will display a Pass/Fail message based on the minimum score set by the admin.","acadlix"),placement:"right-start"})]})}),(0,m.jsx)(i.A,{size:{xs:12,sm:6,lg:3},children:(0,m.jsx)(a.A,{control:(0,m.jsx)(n.A,{}),disabled:!0,label:(0,r.__)("Activate","acadlix")})}),(0,m.jsx)(i.A,{size:{xs:12,sm:6,lg:3},children:(0,m.jsxs)(o.A,{children:[(0,r.__)("Minimum % to pass","acadlix"),(0,m.jsx)(c.A,{plan:acadlixOptions?.isActive?"open":"closed",msg:(0,r.__)("Define the minimum percentage required for a student to successfully pass the quiz.","acadlix"),placement:"right-start"})]})}),(0,m.jsx)(i.A,{size:{xs:12,sm:6,lg:3},children:(0,m.jsx)(l.A,{fullWidth:!0,size:"small",label:(0,r.__)("Minimum % to pass","acadlix"),type:"number",value:null!==(e=s?.watch("meta.quiz_settings.minimum_percent_to_pass"))&&void 0!==e?e:0,disabled:s?.watch("meta.quiz_settings.hide_result")||!s?.watch("meta.quiz_settings.show_status_based_on_min_percent"),sx:{"& input::-webkit-outer-spin-button, & input::-webkit-inner-spin-button":{display:"none"},"& input[type=number]":{MozAppearance:"textfield"}}})})]})}}}]);