define(“ace/keyboard/keybinding/emacs”,,function(a,b,c){var d=a(“../state_handler”).StateHandler,e=a(“../state_handler”).matchCharacterOnly,f={start:[{key:“ctrl-x”,then:“c-x”},{regex:[“(?:command-(*))*”,“(down|ctrl-n)”],exec:“golinedown”,params:},{regex:[“(?:command-(*))*”,“(right|ctrl-f)”],exec:“gotoright”,params:},{regex:[“(?:command-(*))*”,“(up|ctrl-p)”],exec:“golineup”,params:},{regex:[“(?:command-(*))*”,“(left|ctrl-b)”],exec:“gotoleft”,params:},{comment:“This binding matches all printable characters except numbers as long as they are no numbers and print them n times.”,regex:[“(?:command-(*))”,“([^0-9]+)*”],match:e,exec:“inserttext”,params:},{comment:“This binding matches numbers as long as there is no meta_number in the buffer.”,regex:[“(command-*)*”,“([0-9]+)”],match:e,disallowMatches:,exec:“inserttext”,params:},{regex:[“command-(*)”,“(command-|[0-9])”],comment:“Stops execution if the regex /meta_+/ matches to avoid resetting the buffer.”}],“c-x”:};b.Emacs=new d(f)}),define(“ace/keyboard/state_handler”,,function(a,b,c){function e(a){this.keymapping=this.$buildKeymappingRegex(a)}var d=!1;e.prototype={$buildKeymappingRegex:function(a){for(var b in a)this.$buildBindingsRegex(a);return a},$buildBindingsRegex:function(a){a.forEach(function(a){a.key?a.key=new RegExp(“^”a.key
“$”):Array.isArray(a.regex)?(“key”in a||(a.key=new RegExp(“^”a.regex[1]
“$”)),a.regex=new RegExp(a.regex.join(“”)+“$”)):a.regex&&(a.regex=new RegExp(a.regex+“$”))})},$composeBuffer:function(a,b,c,d){if(a.state==null||a.buffer==null)a.state=“start”,a.buffer=“”;var e=[];b&1&&e.push(“ctrl”),b&8&&e.push(“command”),b&2&&e.push(“option”),b&4&&e.push(“shift”),c&&e.push©;var f=e.join(“-”),g=a.buffer+f;b!=2&&(a.buffer=g);var h={bufferToUse:g,symbolicName:f};return d&&(h.keyIdentifier=d.keyIdentifier),h},$find:function(a,b,c,e,f,g){var h={};return this.keymapping.some(function(i){var j;if(i.key&&!i.key.test©)return!1;if(i.regex&&!(j=i.regex.exec(b)))return!1;if(i.match&&!i.match(b,e,f,c,g))return!1;if(i.disallowMatches)for(var k=0;k