import{g as m,a as h,i as g,aH as y,H as x,j as a,_ as n,f as j,bG as A}from"./main-634.js";import{F as l}from"./bf-767-388.js";import{S as F}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 w(){const{fieldKey:t}=m(),{css:i}=h(),[r,p]=g(y),s=x(r[t]),{appearance:d}=s.config,f=(e,o)=>{s.config[e]=o;const c=j(r,u=>{u[t]=s});p(c),A({event:`${e[0].toUpperCase()+e.slice(1)} changed to ${o} : ${s.adminLbl||t}`,type:`${e}_change`,state:{fields:c,fldKey:t}})};return a.jsx(F,{id:"appearance-stng",title:n("Appearance"),className:i(l.fieldSection),open:!0,children:a.jsx("div",{className:i(l.placeholder),children:a.jsxs("select",{"data-testid":"turnstile-appearance",className:i(l.input),"aria-label":"Appearance for Turnstile Field",placeholder:"Select appearance here...",value:d,onChange:e=>f("appearance",e.target.value),children:[a.jsx("option",{value:"always",children:n("Always (default)")}),a.jsx("option",{value:"interaction-only",children:n("Interaction Only")})]})})})}export{w as default};
