import{u as a,a as m,E as p,r as c,s as d,j as e,d5 as f}from"./index-ClCsMWbS.js";import{I as l}from"./InfoAlert-DaX4x_1T.js";import{S as g}from"./SettingsList-B14Dp6bl.js";import"./envs-CSqIi4cL.js";import"./CheckboxField-BxtT6ttj.js";import"./InputField-CqTVHKf8.js";import"./NumberField-Bv80Uoa9.js";import"./SelectField-WiB6Edsu.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};
