(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,465261,e=>{"use strict";let t=(0,e.i(475254).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"}]]);e.s(["KeyRound",0,t],465261)},382511,e=>{"use strict";var t=e.i(843476),n=e.i(465261);let i=(0,e.i(475254).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 a=e.i(16715),l=e.i(356909),s=e.i(669716);e.s(["AnchorActionPanel",0,function({position:e,save:o,dirty:r,saving:c,loading:d,reconnect:h,reconnecting:u,testConnection:g,testing:p,openRevokeDialog:v,revoking:k,enabled:m,hasCredential:f,fleetUrl:y,viewOnly:b=!1}){let R="left"===e||"right"===e?"vertical":"horizontal";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.AdaptiveBtn,{orientation:R,onClick:o,disabled:!r||c||d||b,variant:"primary",icon:(0,t.jsx)(l.Save,{className:"h-4 w-4"}),label:c?"Saving…":"Save",title:"Persist changes. Triggers tunnel reconnect if Fleet URL, credential, or trust setting changed."}),(0,t.jsx)(s.AdaptiveBtn,{orientation:R,onClick:h,disabled:u||!m||b,icon:(0,t.jsx)(a.RefreshCw,{className:`h-4 w-4${u?" animate-spin":""}`}),label:u?"Reconnecting…":"Reconnect",title:m?"Force-restart the tunnel without changing settings. Useful when stuck.":"Enable the plugin first"}),(0,t.jsx)(s.AdaptiveBtn,{orientation:R,onClick:g,disabled:p||!y,icon:(0,t.jsx)(i,{className:`h-4 w-4${p?" animate-pulse":""}`}),label:p?"Testing…":"Test connection",title:y?"Probe Fleet via GET /api/health. Side-effect-free; does not consume an enrollment key.":"Configure and save a Fleet URL first"}),(0,t.jsx)(s.AdaptiveBtn,{orientation:R,onClick:v,disabled:!f||k||b,variant:"destructive",icon:(0,t.jsx)(n.KeyRound,{className:"h-4 w-4"}),label:k?"Revoking…":"Revoke credential",title:f?"Clear the stored credential and stop the tunnel. Re-enrollment with a fresh key is required to reconnect.":"No credential to revoke"})]})}],382511)}]);