import{P as e,lt as t}from"./vscode-api-DjORcpSo.js";import{i as n}from"./command-keybindings-DSs_0e8Z.js";import{t as r}from"./use-hotkey-pv8kDDPO.js";var i=t();function a(t){let a=(0,i.c)(8),{commandId:o,enabled:s,onKeyDown:c,onKeyUp:l,capture:u,ignoreWithin:d,keyboardEventTarget:f}=t,p=s===void 0?!0:s,m=e(n,o),h=m??``,g=p&&m!=null,_;a[0]!==u||a[1]!==d||a[2]!==f||a[3]!==c||a[4]!==l||a[5]!==h||a[6]!==g?(_={accelerator:h,enabled:g,onKeyDown:c,onKeyUp:l,capture:u,ignoreWithin:d,keyboardEventTarget:f},a[0]=u,a[1]=d,a[2]=f,a[3]=c,a[4]=l,a[5]=h,a[6]=g,a[7]=_):_=a[7],r(_)}export{a as t};
//# sourceMappingURL=use-command-hotkey-DwUnGt-1.js.map