import{g as O,i as C,aH as S,a as h,j as y,_ as F,f as $,bG as x}from"./main-634.js";import{F as c}from"./bf-767-388.js";import{S as _}from"./bf-497-246.js";import"./bf-25-81.js";function H({className:d=""}){var s,a,i;const{fieldKey:t}=O(),[l,r]=C(S),{css:p}=h();if(!t)return null;const e=l[t],f=(a=(s=e==null?void 0:e.config)==null?void 0:s.selectedOptClearable)!=null?a:!1,b=(i=e==null?void 0:e.adminLbl)!=null?i:"",g=m=>{const{checked:n}=m.target,o=$(l,u=>{u[t].config.selectedOptClearable=n});r(o),x({event:`Selected Option Clearable ${n?"On":"Off"}: ${e.lbl||b||t}`,type:"selectedOptClearable_change",state:{fields:o,fldKey:t}})};return y.jsx(_,{id:"slctd-clrbl-stng",className:`${p(c.fieldSection,c.singleOption)} ${d}`,title:F("Selected Option Clearable:"),action:g,isChecked:f,tip:"By disabling this option, the field selected option clearable will be hidden"})}export{H as default};
