var e=new Map([[`Backquote`,"`"],[`Minus`,`-`],[`Equal`,`=`],[`BracketLeft`,`[`],[`BracketRight`,`]`],[`Backslash`,`\\`],[`Semicolon`,`;`],[`Quote`,`'`],[`Comma`,`,`],[`Period`,`.`],[`Slash`,`/`],[`Space`,` `],[`NumpadMultiply`,`*`],[`NumpadAdd`,`+`],[`NumpadSubtract`,`-`],[`NumpadDecimal`,`.`],[`NumpadDivide`,`/`]]),t=null;function n({altKey:e,code:n,key:r}){return!e||n==null?r:t?.[n]??i(n)??r}function r(e){t=e}function i(t){return/^Key[A-Z]$/.test(t)?t.slice(3).toLowerCase():/^Digit[0-9]$/.test(t)?t.slice(5):e.get(t)??null}export{r as n,n as t};
//# sourceMappingURL=keyboard-layout-map-CtWtIpu3.js.map