module.exports=[37047,a=>{"use strict";let b=(0,a.i(170106).default)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);a.s(["KeyRound",0,b],37047)},533577,a=>{"use strict";var b=a.i(187924),c=a.i(37047);let d=(0,a.i(170106).default)("plug-zap",[["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]]);var e=a.i(669520),f=a.i(114548),g=a.i(555211);a.s(["AnchorActionPanel",0,function({position:a,save:h,dirty:i,saving:j,loading:k,reconnect:l,reconnecting:m,testConnection:n,testing:o,openRevokeDialog:p,revoking:q,enabled:r,hasCredential:s,fleetUrl:t,viewOnly:u=!1}){let v="left"===a||"right"===a?"vertical":"horizontal";return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(g.AdaptiveBtn,{orientation:v,onClick:h,disabled:!i||j||k||u,variant:"primary",icon:(0,b.jsx)(f.Save,{className:"h-4 w-4"}),label:j?"Saving…":"Save",title:"Persist changes. Triggers tunnel reconnect if Fleet URL, credential, or trust setting changed."}),(0,b.jsx)(g.AdaptiveBtn,{orientation:v,onClick:l,disabled:m||!r||u,icon:(0,b.jsx)(e.RefreshCw,{className:`h-4 w-4${m?" animate-spin":""}`}),label:m?"Reconnecting…":"Reconnect",title:r?"Force-restart the tunnel without changing settings. Useful when stuck.":"Enable the plugin first"}),(0,b.jsx)(g.AdaptiveBtn,{orientation:v,onClick:n,disabled:o||!t,icon:(0,b.jsx)(d,{className:`h-4 w-4${o?" animate-pulse":""}`}),label:o?"Testing…":"Test connection",title:t?"Probe Fleet via GET /api/health. Side-effect-free; does not consume an enrollment key.":"Configure and save a Fleet URL first"}),(0,b.jsx)(g.AdaptiveBtn,{orientation:v,onClick:p,disabled:!s||q||u,variant:"destructive",icon:(0,b.jsx)(c.KeyRound,{className:"h-4 w-4"}),label:q?"Revoking…":"Revoke credential",title:s?"Clear the stored credential and stop the tunnel. Re-enrollment with a fresh key is required to reconnect.":"No credential to revoke"})]})}],533577)}];

//# sourceMappingURL=_1vuye43._.js.map