import{b as c,a as l,r as i,W as m,j as e,F as d,A as p,bF as f}from"./index-vDL8KyrI.js";import{S as g}from"./SettingsList-D3Urvwh_.js";import"./CheckboxField-m1WCeVZk.js";import"./InputField-B5sOh_uD.js";import"./SelectField-apZm61cq.js";function _({group:s}){const{t:n}=c(["settings","common"]),o=l(t=>t.bridgeInfo),{sendMessage:r}=i.useContext(m),a=i.useCallback(async t=>{await r("bridge/request/group/options",{id:s.id.toString(),options:t})},[r,s.id]);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"alert alert-info alert-soft mb-3",role:"alert",children:[e.jsx(d,{icon:p,size:"2xl"}),e.jsx("a",{href:f,target:"_blank",rel:"noreferrer",className:"link link-hover",children:n("common:read_the_docs_info")})]}),e.jsx(g,{schema:o.config_schema.definitions.group??{properties:{}},data:o.config.groups[s.id]??{},set:a})]})}export{_ as default};
