import{g,i as y,aH as x,a as h,j as a,_,f as M,bG as w}from"./main-634.js";import{F as l}from"./bf-767-388.js";import{t as F}from"./bf-676-386.js";import{S as T}from"./bf-497-246.js";import"./bf-638-271.js";import"./bf-247-269.js";import"./bf-25-81.js";function H({cls:p}){const{fieldKey:t}=g(),[i,n]=y(x),r=i[t].inpType==="checkbox",{css:m}=h(),d=({target:c})=>{const{checked:s}=c,o=M(i,u=>{const e=u[t];s?e.inpType="checkbox":(e.inpType="radio",delete e.mn,delete e.mx)}),f=s?"on":"off";n(o),w({event:`Allow multiple image ${f}`,type:"allow_multiple_on_off",state:{fields:o,fldKey:t}})};return a.jsx("div",{className:`${m(l.fieldSection,l.hover_tip,l.singleOption)} ${p}`,children:a.jsx(T,{id:"allow-multiple-stng",tip:F.imageMultipleImage,title:_("Allow Multiple"),action:d,isChecked:r,proProperty:"hidden"})})}export{H as default};
