PageSourceSearch

https://static.codingame.com/121.19b2cf19.js

js codingame.com collected 2026-10-01 08:44:01 UTC 31,912 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkcodingame=self.webpackChunkcodingame||[]).push([[121],{30121:function(t,e,n){n.r(e),n.d(e,{default:function(){return K},i:function(){return T}});var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function r(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if("function"==typeof e){var n=function t(){var n=!1;try{n=this instanceof t}catch{}return n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var i=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,i.get?i:{enumerable:!0,get:function(){return t[e]}})}),n}var s,u,a,c,l={},f={},p=r(n(55154));function d(){if(u)return s;u=1;var t="Expected a function",e=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,r=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof i&&i&&i.Object===Object&&i,l="object"==typeof self&&self&&self.Object===Object&&self,f=c||l||Function("return this")(),p=Object.prototype.toString,d=Math.max,h=Math.min,g=function(){return f.Date.now()};function v(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==p.call(t)}(t))return NaN;if(v(t)){var i="function"==typeof t.valueOf?t.valueOf():t;t=v(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var s=o.test(t);return s||r.test(t)?a(t.slice(2),s?2:8):n.test(t)?NaN:+t}return s=function(e,n,i){var o=!0,r=!0;if("function"!=typeof e)throw new TypeError(t);return v(i)&&(o="leading"in i?!!i.leading:o,r="trailing"in i?!!i.trailing:r),function(e,n,i){var o,r,s,u,a,c,l=0,f=!1,p=!1,_=!0;if("function"!=typeof e)throw new TypeError(t);function m(t){var n=o,i=r;return o=r=void 0,l=t,u=e.apply(i,n)}function C(t){var e=t-c;return void 0===c||e>=n||e<0||p&&t-l>=s}function b(){var t=g();if(C(t))return S(t);a=setTimeout(b,function(t){var e=n-(t-c);return p?h(e,s-(t-l)):e}(t))}function S(t){return a=void 0,_&&o?m(t):(o=r=void 0,u)}function M(){var t=g(),e=C(t);if(o=arguments,r=this,c=t,e){if(void 0===a)return function(t){return l=t,a=setTimeout(b,n),f?m(t):u}(c);if(p)return a=setTimeout(b,n),m(c)}return void 0===a&&(a=setTimeout(b,n)),u}return n=y(n)||0,v(i)&&(f=!!i.leading,s=(p="maxWait"in i)?d(y(i.maxWait)||0,n):s,_="trailing"in i?!!i.trailing:_),M.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=c=r=a=void 0},M.flush=function(){return void 0===a?u:S(g())},M}(e,n,{leading:o,maxWait:n,trailing:r})}}function h(){if(c)return a;c=1;var t,e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
17f]/g,o="\\ud800-\\udfff",r="\\u2700-\\u27bf",s="a-z\\xdf-\\xf6\\xf8-\\xff",u="A-Z\\xc0-\\xd6\\xd8-\\xde",l="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",f="["+l+"]",p="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",d="\\d+",h="["+r+"]",g="["+s+"]",v="[^"+o+l+d+r+s+u+"]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",_="[\\ud800-\\udbff][\\udc00-\\udfff]",m="["+u+"]",C="(?:"+g+"|"+v+")",b="(?:"+m+"|"+v+")",S="(?:['’](?:d|ll|m|re|s|t|ve))?",M="(?:['’](?:D|LL|M|RE|S|T|VE))?",E="(?:"+p+"|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?",P=x+E+"(?:\\u200d(?:"+["[^"+o+"]",y,_].join("|")+")"+x+E+")*",R="(?:"+[h,y,_].join("|")+")"+P,O=RegExp("['’]","g"),w=RegExp(p,"g"),A=RegExp([m+"?"+g+"+"+S+"(?="+[f,m,"$"].join("|")+")",b+"+"+M+"(?="+[f,m+C,"$"].join("|")+")",m+"?"+C+"+"+S,m+"+"+M,d,R].join("|"),"g"),L=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,K="object"==typeof i&&i&&i.Object===Object&&i,T="object"==typeof self&&self&&self.Object===Object&&self,k=K||T||Function("return this")(),D=(t={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==t?void 0:t[e]}),j=Object.prototype.toString,B=k.Symbol,I=B?B.prototype:void 0,U=I?I.toString:void 0;function N(t){return null==t?"":function(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==j.call(t)}(t))return U?U.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}var W,Y=(W=function(t,e,n){return t+(n?"-":"")+e.toLowerCase()},function(t){return function(t,e,n){for(var i=-1,o=t?t.length:0;++i<o;)n=e(n,t[i],i,t);return n}(function(t){return function(t){return L.test(t)}(t=N(t))?function(t){return t.match(A)||[]}(t):function(t){return t.match(e)||[]}(t)}(function(t){return(t=N(t))&&t.replace(n,D).replace(w,"")}(t).replace(O,"")),W,"")});return a=Y}var g,v,y={},_={};function m(){return g||(g=1,function(t){var e,n=_&&_.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)});
1Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteLines=t.SearchReplace=t.Search=t.InvertSelection=t.GotoLine=t.RotateCursorOnScreen=t.InsertTabs=t.RevealToBottomAction=t.RevealToCenterAction=t.RevealToTopAction=t.RevealEditorAction=t.YankRotate=t.YankSelectionToRing=t.Yank=t.RedoAction=t.UndoAction=t.KeyBoardQuit=t.MoveCursorTop=t.MoveCursorBottom=t.MoveCursorWordLeft=t.MoveCursorWordRight=t.MoveCursorToLineStart=t.MoveCursorToLineEnd=t.MoveCursorRight=t.MoveCursorLeft=t.MoveCursorDown=t.MoveCursorUp=t.SetMark=t.InsertLineAfter=t.InsertLineBelow=t.KillLines=t.KillSelection=t.BaseAction=t.SOURCE=void 0;var i=p;t.SOURCE="extension.emacs";var o=function(){this.description=""};t.BaseAction=o;var r=function(e){function i(t){var n=e.call(this)||this;return n.trigger=t,n}return n(i,e),i.prototype.run=function(e){e.trigger(t.SOURCE,this.trigger,{})},i}(o),s=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.run=function(e,n,i,o){var r=e.getSelections();r.length&&r.forEach(function(i){var o=e.getModel().getValueInRange(i);n.state.addToRing(o),e.executeEdits(t.SOURCE,[{range:i,text:""}])})},i}(o);t.KillSelection=s;var u=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return n(o,e),o.prototype.run=function(e,n,o,r){n.selectionMode=!1;var s,u=e.getModel(),a=n.getCursorAnchor();if(1===o){var c=u.getLineLength(a.lineNumber),l=a.column===c+1;if(!c||l)return r?n.state.growRingTop(u.getEOL()):n.state.addToRing(u.getEOL()),void e.trigger(t.SOURCE,"deleteAllRight",null);s=new i.Position(a.lineNumber,u.getLineLength(a.lineNumber)+1)}else{var f=u.getLineCount(),p=a.lineNumber+o>f?f:a.lineNumber+o;s=new i.Position(p,u.getLineLength(p)+1)}var d=i.Range.fromPositions(a,s);r?n.state.growRingTop(u.getValueInRange(d)):n.state.addToRing(u.getValueInRange(d)),e.executeEdits(t.SOURCE,[{range:d,text:""}]),e.setSelection(i.Selection.fromPositions(a,a))},o}(o);t.KillLines=u;var a=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.run=function(e,n,i,o){var r=e.getPosition();e.trigger(t.SOURCE,"editor.action.insertLineAfter",null),e.setPosition(r)},i}(o);t.InsertLineBelow=a;var c=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return n(o,e),o.prototype.run=function(e,n,o,r){for(var s="",u=0;u<o;u++)s+=e.getModel().getEOL();n.selectionMode=!1;var a=n.getCursorAnchor();e.executeEdits(t.SOURCE,[{range:i.Range.fromPositions(a),text:s,forceMoveMarkers:!0}])},o}(o);t.InsertLineAfter=c;var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.run=function(t,e,n,o){e.selectionMode;var r=t.getSelection(),s=r.isEmpty();s||(r.getDirection()===i.SelectionDirection.LTR?t.setSelection(i.Selection.fromPositions(r.getEndPosition(),r.getEndPosition())):t.setSelection(i.Selection.fromPositions(r.getStartPosition(),r.getStartPosition()))),s&&e.selectionMode?e.selectionMode=!1:e.selectionMode=!0},e}(o);t.SetMark=l;var f=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.unit="char",t}return n(i,e),i.prototype.run=function(e,n,i,o){!function(e,n,i,o,r){void 0===r&&(r=1);for(var s="cursor".concat("word"===o?"Word":"").concat(i).concat(n?"Select":""),u=0;u<r;u++)e.trigger(t.SOURCE,s,null)}(e,n.selectionMode,this.direction,this.unit,i)},i}(o),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.direction="Up",e}return n(e,t),e}(f);t.MoveCursorUp=d;var h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.direction="Down",e}return n(e,t),e}(f);t.MoveCursorDown=h;var g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.direction="Left",e}return n(e,t),e}(f);t.MoveCursorLeft=g;var v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.direction="Right",e}return n(e,t),e}(f);t.MoveCursorRight=v;var y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.direction="End",e}return n(e,t),e}(f);t.MoveCursorToLineEnd=y;var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.direction="Home",e}return n(e,t),e}(f);t.MoveCursorToLineStart=m;var C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.unit="word",e}return n(e,t),e}(v);t.MoveCursorWordRight=C;var b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.unit="word",e}return n(e,t),e}(g);t.MoveCursorWordLeft=b;var S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.direction="Bottom",e}return n(e,t),e}(f);t.MoveCursorBottom=S;var M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.direction="Top",e}return n(e,t),e}(f);t.MoveCursorTop=M;var E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.run=function(t,e,n,i){e.selectionMode=!1,e.clearState(),t.setPosition(t.getPosition())},e}(o);t.KeyBoardQuit=E;var x=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.run=function(e,n,i,o){for(var r=0;r<i;r++)e.trigger(t.SOURCE,this.action,null)},i}(o),P=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.action="undo",e}return n(e,t),e}(x);t.UndoAction=P;var R=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.action="redo",e}return n(e,t),e}(x);t.RedoAction=R;var O=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return n(o,e),o.prototype.run=function(e,n,o,r){var s=n.state.getFromRing(o);if(s){var u=e.getPosition();e.executeEdits(t.SOURCE,[{range:i.Range.fromPositions(u,u),text:s,forceMoveMarkers:!0}])}},o}(o);t.Yank=O;var w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.run=function(t,e,n,o){var r=t.getSelection();if(!r.isEmpty()){e.state.addToRing(t.getModel().getValueInRange(r)),e.selectionMode=!1;var s=e.getCursorAnchor();t.setSelection(i.Selection.fromPositions(s,s))}},e}(o);t.YankSelectionToRing=w;var A=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return n(o,e),o.prototype.run=function(e,n,o,r){var s=n.state.popFromRing();if(s){var u=n.getCursorAnchor();e.executeEdits(t.SOURCE,[{range:i.Range.fromPositions(u),text:s,forceMoveMarkers:!0}])}},o}(o);t.YankRotate=A;var L=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.run=function(e,n,i,o){var r=e.getSelection();"up"===this.revealFunction?e.trigger(t.SOURCE,"scrollPageUp",null):e[this.revealFunction](r)},i}(o);t.RevealEditorAction=L;var K=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.revealFunction="revealRangeAtTop",e}return n(e,t),e}(L);t.RevealToTopAction=K;var T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.revealFunction="revealRangeInCenter",e}return n(e,t),e}(L);t.RevealToCenterAction=T;var k=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.revealFunction="up",e}return n(e,t),e}(L);t.RevealToBottomAction=k;var D=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.run=function(e,n,i,o){for(var r=e.getModel().getOptions(),s=r.tabSize,u=r.insertSpaces,a="",c=0;c<i;c++){for(var l="",f=0;f<s;f++)l+=" ";a+=u?l:"\t"}e.executeEdits(t.SOURCE,[{range:e.getSelection(),text:a,forceMoveMarkers:!0}])},i}(o);t.InsertTabs=D;var j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.run=function(t,e,n,o){var r=t.getVisibleRanges();if(r.length){for(var s=[],u=0;u<r.length;u++)for(var a=r[u],c=a.startLineNumber;c<=a.endLineNumber;c++)s.push(c);var l,f=t.getPosition(),p=Math.ceil(s.length/2);l=f.lineNumber===s[p]?new i.Position(s[0],1):f.lineNumber===s[0]?new i.Position(s[s.length-1],1):new i.Position(s[p],1),t.setPosition(l)}},e}(o);t.RotateCursorOnScreen=j;var B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.run=function(t,e,n,o){e.getBasicInput("Goto Line: ").then(function(n){var o=parseInt(n)||0,r=t.getModel().getLineCount();t.focus(),o?o>r&&(o=r):o=1;var s,u=new i.Position(o,1);if(e.selectionMode){var a=t.getSelection();s=a.getDirection()===i.SelectionDirection.LTR?i.Selection.fromPositions(a.getStartPosition(),u):i.Selection.fromPositions(a.getEndPosition(),u)}else s=i.Selection.fromPositions(u);t.setSelection(s),t.revealRangeInCenter(s)}).catch(function(){t.focus()})},e}(o);t.GotoLine=B;var I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.run=function(t,e,n,o){var r,s=t.getSelection();s.isEmpty()||(r=s.getDirection()===i.SelectionDirection.LTR?i.Selection.fromPositions(s.getEndPosition(),s.getStartPosition()):i.Selection.fromPositions(s.getStartPosition(),s.getEndPosition()),t.setSelection(r))},e}(o);t.InvertSelection=I;var U=function(t){function e(){return t.call(this,"editor.actions.findWithArgs")||this}return n(e,t),e}(r);t.Search=U;var N=function(t){function e(){return t.call(this,"editor.action.startFindReplaceAction")||this}return n(e,t),e}(r);t.SearchReplace=N;var W=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.run=function(e,n,i,o){n.selectionMode=!1;for(var r=0;r<i;r++)e.trigger(t.SOURCE,"editor.action.deleteLines",null)},i}(o);t.DeleteLines=W}(_)),_}function C(){return v||(v=1,function(t){Object.defineProperty(t,"__esMo
1dule",{value:!0}),t.getAllMappings=t.unregisterKey=t.registerGlobalCommand=t.executeCommand=t.COMMANDS=t.prefixPreservingKeys=void 0;var e=m();t.prefixPreservingKeys={"M-g":!0,"C-x":!0,"C-q":!0,"C-u":!0};var n=new e.SetMark,i=new e.UndoAction,o=new e.MoveCursorDown,r=new e.MoveCursorUp,s=new e.MoveCursorRight,u=new e.MoveCursorLeft;t.COMMANDS={"M-/":{description:"",action:"editor.action.triggerSuggest"},"C-'":{description:"",action:"editor.action.triggerSuggest"},"M-;":{description:"",action:"editor.action.commentLine"},"C-t":{description:"",action:"editor.action.transposeLetters"},"C-x C-p":{description:"",action:"editor.action.selectAll"},Tab:{description:"",action:"editor.action.formatDocument"},"C-Backspace":{description:"",action:"deleteWordLeft"},"C-d":{description:"",action:"deleteRight"},"M-Backspace":{description:"",action:"deleteWordLeft"},"M-Delete":{description:"",action:"deleteWordLeft"},"C-x C-u":{description:"",action:"editor.action.transformToUppercase"},"C-x C-l":{description:"",action:"editor.action.transformToLowercase"},"C-v":{description:"",action:"cursorPageDown"},PageDown:{description:"",action:"cursorPageDown"},"M-v":{description:"",action:"cursorPageUp"},PageUp:{description:"",action:"cursorPageUp"},"M-g n":{description:"",action:"editor.action.marker.next"},"M-g p":{description:"",action:"editor.action.marker.prev"},"M-C-n":{description:"",action:"editor.action.addSelectionToNextFindMatch"},"C-h":{description:"",action:"deleteLeft"},"M-d":{description:"",action:"deleteWordRight"},"S-C-":{description:"",action:"editor.action.triggerParameterHints"},"C-SPC":n,"S-C-2":n,"C-/":i,"S-C--":i,"C-z":i,"C-x u":i,"C-n":o,"C-p":r,"C-f":s,"C-b":u,"S-C-Backspace":new e.DeleteLines,"M-f":new e.MoveCursorWordRight,"M-b":new e.MoveCursorWordLeft,"C-k":new e.KillLines,"C-m":new e.InsertLineAfter,"C-w":new e.KillSelection,"C-o":new e.InsertLineBelow,"C-g":new e.KeyBoardQuit,"C-e":new e.MoveCursorToLineEnd,"C-a":new e.MoveCursorToLineStart,"C-y":new e.Yank,"M-w":new e.YankSelectionToRing,"M-y":new e.YankRotate,"C-l":new e.RevealToCenterAction,"C-q Tab":new e.InsertTabs,"M-r":new e.RotateCursorOnScreen,"M-g g":new e.GotoLine,"M-g M-g":new e.GotoLine,"C-x C-x":new e.InvertSelection,"S-M-.":new e.MoveCursorBottom,"S-M-,":new e.MoveCursorTop,"C-s":new e.Search,"C-r":new e.Search,"S-M-5":new e.SearchReplace},t.executeCommand=function(t,n,i,o){var r=t.getEditor(),s=parseInt(i)||1;if(n.run)n.run(r,t,s,o);else if("string"==typeof n.action)for(var u=0;u<s;u++)r.trigger(e.SOURCE,n.action,null);else if(Array.isArray(n.action))for(u=0;u<s;u++)n.action.forEach(function(t){r.trigger(e.SOURCE,t,null)})},t.registerGlobalCommand=function(e,n){t.COMMANDS[e]=n},t.unregisterKey=function(e){t.COMMANDS[e]&&delete t.COMMANDS[e]},t.getAllMappings=function(){var e={};return Object.keys(t.COMMANDS).forEach(function(n){e[n]=t.COMMANDS[n].description}),e}}(y)),y}var b,S,M={},E={};var x,P,R,O={};function w(){if(P)return f;P=1,Object.defineProperty(f,"__esModule",{value:!0}),f.getConfiguration=f.EmacsExtension=void 0;var t=p,e=d(),n=h(),i=C(),o=(b||(b=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=t.monacoToEmacsKey=t.modifierKeys=void 0;var e=p;t.modifierKeys={Alt:"M",Control:"C",Ctrl:"C",Meta:"CMD",Shift:"S"};var n,i,o={Enter:"Return",Space:"SPC",Backslash:"\\",Slash:"/",Backquote:"`",BracketRight:"]",BracketLeft:"[",Comma:",",Period:".",Equal:"=",Minus:"-",Quote:"'",Semicolon:";"},r=["Key","Numpad"];t.monacoToEmacsKey=function(n){var i=e.KeyCode[n.keyCode];if(t.modifierKeys[i])return"";var s=r.some(function(t){return i.startsWith(t)})?i[i.length-1]:i;return i.endsWith("Arrow")?s=i.substring(0,i.length-5):o[i]&&(s=o[s]),1===s.length&&(s=s.toLowerCase()),n.altKey&&(s="".concat(t.modifierKeys.Alt,"-").concat(s)),n.ctrlKey&&(s="".concat(t.modifierKeys.Ctrl,"-").concat(s)),n.metaKey&&(s="".concat(t.modifierKeys.Meta,"-").concat(s)),n.shiftKey&&(s="".concat(t.modifierKeys.Shift,"-").concat(s)),s},n=t.Event||(t.Event={}),i={dispose:function(){}},n.None=function(){return i};var s=function(){function t(){this._listeners=[]}return Object.defineProperty(t.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(e){t._listeners.push(e);var n={dispose:function(){if(!t._disposed){var n=t._listeners.indexOf(e);n<0||t._listeners.splice(n,1)}}};return n}),this._event}
1,enumerable:!1,configurable:!0}),t.prototype.fire=function(t){this._listeners.length&&this._listeners.forEach(function(e){return e(t)})},t.prototype.dispose=function(){this._disposed||(this._listeners=void 0,this._disposed=!0)},t}();t.Emitter=s}(M)),M),r=function(){if(S)return E;S=1,Object.defineProperty(E,"__esModule",{value:!0}),E.BasicInputWidget=void 0;var t=p,e="ext-emacs-basic-input",n=function(){function n(){var t=this;this._pendingPromise=null,this.onKeyDown=function(e){(e.altKey||e.ctrlKey||e.metaKey)&&(e.preventDefault(),e.stopPropagation()),13===e.which?t._pendingPromise&&(e.preventDefault(),t._pendingPromise.resolve(e.target.value),t._pendingPromise=null):27===e.which&&t._pendingPromise&&(t._pendingPromise.reject(),t._pendingPromise=null)},this.onBlur=function(){t._pendingPromise&&(t._pendingPromise.reject(),t._pendingPromise=null)},this._dom=document.createElement("div"),this._messageDom=document.createElement("div");var n=document.createElement("div");this._dom.setAttribute("class",e),this._dom.setAttribute("aria-hidden","true"),this._input=document.createElement("input"),this._dom.appendChild(this._messageDom),n.appendChild(this._input),this._dom.appendChild(n),this.addListeners(),this._style=document.createElement("style"),this._style.type="text/css",this._style.textContent="\n  .".concat(e," {\n    color: #d4d4d4;\n    transition: top 200ms linear;\n    visibility: hidden;\n    width: 200px;\n    display: flex;\n    align-items: center;\n    padding: 5px;\n  }\n\n  .").concat(e,".").concat(e,"-visible {\n    visibility: visible;\n  }\n\n  .").concat(e," input {\n    color: rgb(97, 97, 97);\n    background-color: transparent;\n    display: inline-block;\n    box-sizing: border-box;\n    height: 100%;\n    line-height: inherit;\n    border: none;\n    font-family: inherit;\n    font-size: inherit;\n    resize: none;\n    padding-top: 2px;\n    padding-bottom: 2px;\n    margin-left: 5px;\n    max-width: 50px;\n  }\n\n  .").concat(e," input:focus {\n    outline: none;\n  }\n\n  .vs .").concat(e," {\n    color: rgb(97, 97, 97);\n    background-color: #efeff2;\n    box-shadow: 0 2px 8px #a8a8a8;\n  }\n\n  .vs-dark .").concat(e," {\n    background-color: #2d2d30;\n    box-shadow: 0 2px 8px #000000;\n  }\n\n  .vs-dark .").concat(e," input {\n    color: rgb(204, 204, 204);\n  }\n\n  .hc-black .").concat(e," {\n    border: 2px solid #6fc3df;\n    background-color: #0c141f;\n    color: #ffffff;\n  }\n\n  .hc-black .").concat(e," input {\n    color: #ffffff;\n  }\n"),(document.head||document.body).appendChild(this._style)}return n.prototype.getDomNode=function(){return this._dom},n.prototype.getId=function(){return"extension.emacs.basicinput"},n.prototype.getPosition=function(){return{preference:t.editor.OverlayWidgetPositionPreference.TOP_RIGHT_CORNER}},n.prototype.addListeners=function(){this._input.addEventListener("keydown",this.onKeyDown),this._input.addEventListener("blur",this.onBlur)},n.prototype.showWidgetAndFocus=function(t){this._dom.classList.add("".concat(e,"-visible")),this._dom.setAttribute("aria-hidden","false"),this._messageDom.textContent=t,this._input.focus()},n.prototype.cleanup=function(){this._dom.classList.remove("".concat(e,"-visible")),this._dom.setAttribute("aria-hidden","true"),this._messageDom.textContent="",this._input.placeholder="",this._input.value=""},n.prototype.getInput=function(t){var e=this;return this._pendingPromise&&(this._pendingPromise.reject(),this._pendingPromise=null),new Promise(function(n,i){e._pendingPromise={resolve:function(t){n(t),e.cleanup()},reject:function(){i(),e.cleanup()}},e.showWidgetAndFocus(t)})},n.prototype.dispose=function(){this.cleanup(),this._input.removeEventListener("keydown",this.onKeyDown),this._input.removeEventListener("blur",this.onBlur),(document.head||document.body).removeChild(this._style)},n}();return E.BasicInputWidget=n,E}(),s=(x||(x=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.State=t.EAT_UP_KEY=void 0;var e=C();t.EAT_UP_KEY="==-==";var n=function(){function n(){this._inargumentMode=!1,this._killRing=[]}
1return n.prototype.updateAndGetKey=function(n){return"C-g"===n&&(this._inargumentMode||this._prefixKey)?(this.resetState(),t.EAT_UP_KEY):this.updateCuMode(n)?t.EAT_UP_KEY:this._prefixKey?"".concat(this._prefixKey," ").concat(n):e.prefixPreservingKeys[n]?(this._prefixKey=n,t.EAT_UP_KEY):n},n.prototype.setLastCommandKey=function(t){this._lastCommandKey=t},n.prototype.isLastCommandKey=function(t){return this._lastCommandKey==t},n.prototype.resetState=function(t){void 0===t&&(t=!1),this._inargumentMode=t,this._prefixKey=null,this._lastInputBuffer=t?this._inputBuffer:null,this._inputBuffer=null},n.prototype.updateCuMode=function(t){if(this._inargumentMode){if("string"==typeof t&&/^\d$/.test(t))return this._inputBuffer=(this._inputBuffer||"")+t,!0;if(e.prefixPreservingKeys[t])return this.resetState(!0),!1}else if(!this._prefixKey&&"C-u"===t)return this._inargumentMode=!0,this._inputBuffer=null,this._lastInputBuffer=null,!0},n.prototype.updateStateOnExecution=function(t){void 0===t&&(t=!1),this.resetState(t)},n.prototype.getInputBuffer=function(){return this._lastInputBuffer||this._inputBuffer},n.prototype.addToRing=function(t){this._killRing.push(t),this._killRing.length>50&&this._killRing.shift()},n.prototype.growRingTop=function(t){this._killRing.length||this.addToRing(t),this._killRing[this._killRing.length-1]+=t},n.prototype.getFromRing=function(t){return this._killRing[this._killRing.length-(t?Math.min(t,1):1)]||""},n.prototype.popFromRing=function(){return this._killRing.length>1?this._killRing.pop():this.getFromRing()},n.prototype.getReadableState=function(){var t="";return this._inargumentMode&&(t+="C-u",this._inputBuffer?t+=" ".concat(this._inputBuffer):this._lastInputBuffer&&(t+=" ".concat(this._lastInputBuffer))),this._prefixKey&&(t+=" ".concat(this._prefixKey)),t},n}();t.State=n}(O)),O),u=t.editor,a=u.TextEditorCursorBlinkingStyle,c=u.TextEditorCursorStyle,l=function(){function u(t){this._disposables=[],this._inSelectionMode=!1,this._changeDisposable=null,this._state=new s.State,this._onDidMarkChange=new o.Emitter,this.onDidMarkChange=this._onDidMarkChange.event,this._onDidChangeKey=new o.Emitter,this.onDidChangeKey=this._onDidChangeKey.event,this._editor=t;var e=g(t);this._intialCursorType=e.cursorStyle,this._intialCursorBlinking=e.cursorBlinking,this._basicInputWidget=new r.BasicInputWidget}return u.prototype.start=function(){this._disposables.length||(this.addListeners(),this._editor.updateOptions({cursorStyle:n(c[c.Block]),cursorBlinking:n(a[a.Blink])}),this._editor.addOverlayWidget(this._basicInputWidget))},Object.defineProperty(u.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),u.prototype.getEditor=function(){return this._editor},u.prototype.addListeners=function(){this._disposables.push(this._editor.onKeyDown(this.onKeyDown.bind(this))),this._throttledScroll=e(this.onEditorScroll.bind(this),500),this._disposables.push(this._editor.onDidScrollChange(this._throttledScroll))},u.prototype.cancelKey=function(t){t.preventDefault(),t.stopPropagation()},u.prototype.onKeyDown=function(t){if(!t.browserEvent.defaultPrevented){var e=(0,o.monacoToEmacsKey)(t);if(e){if(e=this._state.updateAndGetKey(e),this._onDidChangeKey.fire(this._state.getReadableState()),e===s.EAT_UP_KEY)return this._onDidChangeKey.fire(this._state.getReadableState()),void this.cancelKey(t);var n=i.COMMANDS[e];if(!n)return this._onDidChangeKey.fire(this._state.getReadableState()),void this._state.setLastCommandKey(e);this.cancelKey(t);var r=this._state.isLastCommandKey(e);(0,i.executeCommand)(this,n,this._state.getInputBuffer(),r),this._state.setLastCommandKey(e),this._state.updateStateOnExecution()}}},u.prototype.onEditorScroll=function(){var e=this._editor.getLayoutInfo().height,n=this._editor.getScrolledVisiblePosition(this._editor.getPosition());if(!(n.top>=0&&n.top<=e)){var i=this._editor.getVisibleRanges();if(i.length){var o,r=this._editor.getSelection();n.top<0?o=new t.Position(i[0].getStartPosition().lineNumber,1):n.top>e&&(o=new t.Position(i[i.length-1].getEndPosition().lineNumber,1)),this._inSelectionMode?this._editor.setSelection(t.Selection.fromPositions(r.getStartPosition(),o)):this._editor.setPosition(o)}}},u.prototype.onContentChange=function(){this.selectionMode=!1},u.prototype.clearState=function(){this._state.updateStateOnExecution()},Object.defineProperty(u.prototype,"selectionMode",{get:function(){return this._inSelectionMode},set:function(t){t!==this._inSelectionMode&&(this._inSelectionMode=t,t?this._changeDisposable=this._editor.onDidChangeModelContent(this.onContentChange.bind(this)):this._changeDisposable&&(this._changeDisposable.dispose(),this._changeDisposable=null),this._onDidMarkChange.fire(t))}
1,enumerable:!1,configurable:!0}),u.prototype.getCursorAnchor=function(){var e=this._editor.getSelection();return e.getDirection()===t.SelectionDirection.LTR?e.getEndPosition():e.getStartPosition()},u.prototype.getBasicInput=function(t){return this._basicInputWidget.getInput(t)},u.prototype.dispose=function(){this._disposables.forEach(function(t){return t.dispose()}),this._disposables=void 0,this._changeDisposable&&(this._changeDisposable.dispose(),this._changeDisposable=null),this._editor.updateOptions({cursorStyle:this._intialCursorType,cursorBlinking:this._intialCursorBlinking}),this._editor.removeOverlayWidget(this._basicInputWidget),this._basicInputWidget.dispose(),this._throttledScroll.cancel(),this._state=null},u}();function g(e){var i=e.getOption(t.editor.EditorOption.cursorStyle),o=e.getOption(t.editor.EditorOption.cursorBlinking);return{cursorStyle:n(c[i]),cursorBlinking:n(a[o])}}return f.EmacsExtension=l,f.getConfiguration=g,f}function A(t,e){return e.forEach(function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach(function(n){if("default"!==n&&!(n in t)){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})}),Object.freeze(t)}var L=(R||(R=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Actions=t.EmacsExtension=t.unregisterKey=t.getAllMappings=t.registerGlobalCommand=void 0;var e=w();Object.defineProperty(t,"EmacsExtension",{enumerable:!0,get:function(){return e.EmacsExtension}});var n=C();Object.defineProperty(t,"registerGlobalCommand",{enumerable:!0,get:function(){return n.registerGlobalCommand}}),Object.defineProperty(t,"getAllMappings",{enumerable:!0,get:function(){return n.getAllMappings}}),Object.defineProperty(t,"unregisterKey",{enumerable:!0,get:function(){return n.unregisterKey}});var i=m();t.Actions=i,t.default=e.EmacsExtension}(l)),l),K=o(L),T=A({__proto__:null,default:K},[L])}}]);
2//# sourceMappingURL=121.19b2cf19.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.