/* mousetrap v1.6.3 craig.is/killing/mice */ (function(q,u,c){function v(a,b,g){a.addEventListener?a.addEventListener(b,g,!1):a.attachEvent(“on”+b,g)}function z(a){if(“keypress”==a.type){var b=String.fromCharCode(a.which);a.shiftKey||(b=b.toLowerCase());return b}return n?n:r?r:String.fromCharCode(a.which).toLowerCase()}function F(a){var b=[];a.shiftKey&&b.push(“shift”);a.altKey&&b.push(“alt”);a.ctrlKey&&b.push(“ctrl”);a.metaKey&&b.push(“meta”);return b}function w(a){return“shift”==a||“ctrl”==a||“alt”==a|| “meta”==a}function A(a,b){var g,d=[];var e=a;“+”===e?e=:(e=e.replace(/+{2}/g,“+plus”),e=e.split(“+”));for(g=0;g<e.length;++g){var m=e;B&&(m=B);b&&“keypress”!=b&&C&&(m=C,d.push(“shift”));w(m)&&d.push(m)}e=m;g=b;if(!g){if(!p){p={};for(var c in n)95b.className
” “).indexOf(” mousetrap “)||D(b,this.target))return!1;if(”composedPath“in a&&”function“===typeof a.composedPath){var c=a.composedPath();c!==a.target&&(b=c)}return”INPUT“==b.tagName||”SELECT“==b.tagName||”TEXTAREA“==b.tagName||b.isContentEditable};d.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};d.addKeycodes=function(a){for(var b in a)a.hasOwnProperty(b)&&(n=a);p=null}; d.init=function(){var a=d(u),b;for(b in a)”_“!==b.charAt(0)&&(d=function(b){return function(){return a.apply(a,arguments)}}(b))};d.init();q.Mousetrap=d;”undefined“!==typeof module&&module.exports&&(module.exports=d);”function“===typeof define&&define.amd&&define(function(){return d})}})(”undefined“!==typeof window?window:null,”undefined“!==typeof window?document:null);