PageSourceSearch

https://hiiian-lizpaw1.hf.space/assets/MCPAccessClientPanel-BbipD0DW.js

js hiiian-lizpaw1.hf.space collected 2026-10-03 16:56:40 UTC 1,394 bytes, 1 lines download raw bytes

1import{j as e}from"./react-vendor-DbzdS4FP.js";import{accessRuleIdentityKey as u}from"./accessPolicy-D5yKlKW-.js";import{s}from"./index.module-Cl1f8c8i.js";import{MCPAccessPolicySegmented as p}from"./MCPAccessPolicySegmented-BJjO0LlT.js";import{MCPAccessRuleRows as f}from"./MCPAccessRuleRows-CMvVLGsw.js";import{u as x}from"./i18n-vendor-BrUIoOSg.js";import{cX as C,d3 as R}from"./ui-vendor-DCtmHMLE.js";import"./markdown-vendor-DonjKQI4.js";const g=({policy:t,principalOptions:l,channelSourceValues:i,setDefaultEffect:n,addClientAccessRule:o,updateClientRule:r,setClientRuleEffect:m,deleteClientRule:d,effectLabel:a})=>{const{t:c}=x();return e.jsxs("div",{className:s.accessClientPanel,children:[e.jsxs("div",{className:s.accessClientControlRow,children:[e.jsx("div",{className:`${s.accessSectionTitle} ${s.accessClientTitle}`,children:c("mcp.access.clientSection")}),e.jsxs("div",{className:s.accessDefaultRow,children:[e.jsx("span",{className:s.accessDefaultLabel,children:c("mcp.access.default")}),e.jsx(p,{value:t.default_effect,onChange:n,effectLabel:a})]}),e.jsx(C,{className:s.accessClientAddButton,icon:e.jsx(R,{}),onClick:o,children:c("mcp.access.addRule")})]}),e.jsx(f,{rules:t.client_overrides,principalOptions:l,channelSourceValues:i,getKey:u,updateRule:r,setRuleEffect:m,deleteRule:d,emptyText:c("mcp.access.noClientRules"),effectLabel:a})]})};export{g as MCPAccessClientPanel};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.