import{g as x,i as j,aH as v,a as F,j as t,_ as a,f as y,bG as C}from"./main-634.js";import{F as o}from"./bf-767-388.js";import{S as $}from"./bf-982-242.js";import"./bf-25-81.js";import"./bf-497-246.js";import"./bf-641-107.js";import"./bf-400-72.js";import"./bf-438-114.js";function B({className:p=""}){var n,c,r;const{fieldKey:s}=x(),[l,u]=j(v),{css:i}=F();if(!s)return null;const e=l[s],h=(c=(n=e==null?void 0:e.config)==null?void 0:n.size)!=null?c:"normal",f=(r=e==null?void 0:e.adminLbl)!=null?r:"",z=S=>{const{value:d}=S.target,m=y(l,g=>{g[s].config.size=d});u(m),C({event:`Size changed to ${d} : ${f||s}`,type:"size_change",state:{fields:m,fldKey:s}})};return t.jsx($,{id:"siz-stng",title:a("Size"),className:`${i(o.fieldSection)} ${p}`,open:!0,children:t.jsx("div",{className:i(o.placeholder),children:t.jsxs("select",{"data-testid":"siz-slct",className:i(o.input),"aria-label":"Size for ReCaptcha Field",placeholder:"Select Size here...",value:h,onChange:z,children:[t.jsx("option",{value:"normal",children:a("Normal")}),t.jsx("option",{value:"compact",children:a("Compact")})]})})})}export{B as default};
