import{u as a,a as m,I as p,r as c,s as d,j as e,dn as f}from"./index-VJpwYvBU.js";import{I as l}from"./InfoAlert-5ZrJ0C3a.js";import{S as g}from"./SettingsList-dKrzLqZS.js";import"./envs-CRUy-_iG.js";import"./CheckboxField-CBqKSuiA.js";import"./InputField-B_6Ee4_m.js";import"./NumberField-DL6vGGqp.js";import"./SelectField-BkTP72p-.js";function k({sourceIdx:t,group:i}){const{t:r}=a(["settings","common"]),o=m(p(s=>s.bridgeInfo[t])),n=c.useCallback(async s=>{await d(t,"bridge/request/group/options",{id:i.id.toString(),options:s})},[t,i.id]);return e.jsxs(e.Fragment,{children:[e.jsx(l,{children:e.jsx("a",{href:f,target:"_blank",rel:"noreferrer",className:"link link-hover",children:r(s=>s.read_the_docs_info,{ns:"common"})})}),e.jsx(g,{schema:o.config_schema.definitions.group??{properties:{}},data:o.config.groups[i.id]??{},set:n,namespace:"definitions-group"})]})}export{k as default};
