import{a as h,g as w,i as u,aH as b,H as v,j as a,_ as O,f as R,bG as y}from"./main-634.js";import{t as _}from"./bf-676-386.js";import{F as t}from"./bf-767-388.js";import{S as L}from"./bf-497-246.js";import"./bf-638-271.js";import"./bf-247-269.js";import"./bf-25-81.js";function $(){const{css:r}=h(),{fieldKey:e}=w(),[i,c]=u(b);if(!e)return null;const s=v(i[e]),d=s.adminLbl||"",p=(s==null?void 0:s.showReviewLblOnSelect)||!1,f=({target:m})=>{const{checked:l}=m,o=R(i,S=>{const n=S[e];l?n.showReviewLblOnSelect=!0:n.showReviewLblOnSelect=!1}),g=l?"show":"hide";c(o),y({event:`Rating message on select ${g}: ${s.lbl||d||e}`,type:"review_lbl_show_select_hide",state:{fields:o,fldKey:e}})};return a.jsx("div",{className:r(t.fieldSection,t.hover_tip,t.singleOption),children:a.jsx(L,{id:"fld-rating-lbl-select",tip:_.ratingSelectTip,title:O("Show Rating Message On Selected"),action:f,isChecked:p,isPro:!0,proProperty:"ratingMsgOnSelect"})})}export{$ as default};
