import{b as c,a as l,r as i,W as m,j as e,F as p,J as d,bL as f}from"./index-DtyjNqrf.js";import{S as g}from"./SettingsList-m7AYDAw4.js";import"./envs-DFlyG_dH.js";import"./CheckboxField-DKhAwA85.js";import"./InputField-CYbmpJqW.js";import"./NumberField-DVRroIAm.js";import"./SelectField-DfdnxD7O.js";function k({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(p,{icon:d,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{k as default};
