import{g as Q}from"./index-15e3682d.js";function q(V,K){for(var v=0;vC[I]})}}}return Object.freeze(Object.defineProperty(V,Symbol.toStringTag,{value:"Module"}))}var Y={exports:{}};(function(V,K){ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],function(v,C,I){var R=v("./lib/dom"),E=v("./lib/oop"),L=v("./lib/event_emitter").EventEmitter,S=v("./lib/lang"),x=v("./range").Range,y=v("./range_list").RangeList,M=v("./keyboard/hash_handler").HashHandler,O=v("./tokenizer").Tokenizer,k=v("./clipboard"),P={CURRENT_WORD:function(o){return o.session.getTextRange(o.session.getWordRange())},SELECTION:function(o,n,e){var s=o.session.getTextRange();return e?s.replace(/\n\r?([ \t]*\S)/g,` `+e+"$1"):s},CURRENT_LINE:function(o){return o.session.getLine(o.getCursorPosition().row)},PREV_LINE:function(o){return o.session.getLine(o.getCursorPosition().row-1)},LINE_INDEX:function(o){return o.getCursorPosition().row},LINE_NUMBER:function(o){return o.getCursorPosition().row+1},SOFT_TABS:function(o){return o.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(o){return o.session.getTabSize()},CLIPBOARD:function(o){return k.getText&&k.getText()},FILENAME:function(o){return/[^/\\]*$/.exec(this.FILEPATH(o))[0]},FILENAME_BASE:function(o){return/[^/\\]*$/.exec(this.FILEPATH(o))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(o){return this.FILEPATH(o).replace(/[^/\\]*$/,"")},FILEPATH:function(o){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(o){var n=o.session.$mode||{};return n.blockComment&&n.blockComment.start||""},BLOCK_COMMENT_END:function(o){var n=o.session.$mode||{};return n.blockComment&&n.blockComment.end||""},LINE_COMMENT:function(o){var n=o.session.$mode||{};return n.lineCommentStart||""},CURRENT_YEAR:T.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:T.bind(null,{year:"2-digit"}),CURRENT_MONTH:T.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:T.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:T.bind(null,{month:"short"}),CURRENT_DATE:T.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:T.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:T.bind(null,{weekday:"short"}),CURRENT_HOUR:T.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:T.bind(null,{minute:"2-digit"}),CURRENT_SECOND:T.bind(null,{second:"2-digit"})};P.SELECTED_TEXT=P.SELECTION;function T(o){var n=new Date().toLocaleString("en-us",o);return n.length==1?"0"+n:n}var A=function(){function o(){this.snippetMap={},this.snippetNameMap={},this.variables=P}return o.prototype.getTokenizer=function(){return o.$tokenizer||this.createTokenizer()},o.prototype.createTokenizer=function(){function n(t){return t=t.substr(1),/^\d+$/.test(t)?[{tabstopId:parseInt(t,10)}]:[{text:t}]}function e(t){return"(?:[^\\\\"+t+"]|\\\\.)"}var s={regex:"/("+e("/")+"+)/",onMatch:function(t,r,l){var a=l[0];return a.fmtString=!0,a.guard=t.slice(1,-1),a.flag="",""},next:"formatString"};return o.$tokenizer=new O({start:[{regex:/\\./,onMatch:function(t,r,l){var a=t[1];return(a=="}"&&l.length||"`$\\".indexOf(a)!=-1)&&(t=a),[t]}},{regex:/}/,onMatch:function(t,r,l){return[l.length?l.shift():t]}},{regex:/\$(?:\d+|\w+)/,onMatch:n},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(t,r,l){var a=n(t.substr(1));return l.unshift(a[0]),a},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+e("\\|")+"*\\|",onMatch:function(t,r,l){var a=t.slice(1,-1).replace(/\\[,|\\]|,/g,function(f){return f.length==2?f[1]:"\0"}).split("\0").map(function(f){return{value:f}});return l[0].choices=a,[a[0]]},next:"start"},s,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(t,r,l){return l.length&&l[0].expectElse?(l[0].expectElse=!1,l[0].ifEnd={elseEnd:l[0]},[l[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(t,r,l){var a=t[1];return a=="}"&&l.length||"`$\\".indexOf(a)!=-1?t=a:a=="n"?t=` `:a=="t"?t=" ":"ulULE".indexOf(a)!=-1&&(t={changeCase:a,local:a>"a"}),[t]}},{regex:"/\\w*}",onMatch:function(t,r,l){var a=l.shift();return a&&(a.flag=t.slice(1,-1)),this.next=a&&a.tabstopId?"start":"",[a||t]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(t,r,l){return[{text:t.slice(1)}]}},{regex:/\${\w+/,onMatch:function(t,r,l){var a={text:t.slice(2)};return l.unshift(a),[a]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(t,r,l){var a=l.shift();return this.next=a&&a.tabstopId?"start":"",[a||t]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(t,r,l){var a=l[0];return a.formatFunction=t.slice(2,-1),[l.shift()]},next:"formatString"},s,{regex:/:[\?\-+]?/,onMatch:function(t,r,l){t[1]=="+"&&(l[0].ifEnd=l[0]),t[1]=="?"&&(l[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),o.$tokenizer},o.prototype.tokenizeTmSnippet=function(n,e){return this.getTokenizer().getLineTokens(n,e).tokens.map(function(s){return s.value||s})},o.prototype.getVariableValue=function(n,e,s){if(/^\d+$/.test(e))return(this.variables.__||{})[e]||"";if(/^[A-Z]\d+$/.test(e))return(this.variables[e[0]+"__"]||{})[e.substr(1)]||"";if(e=e.replace(/^TM_/,""),!this.variables.hasOwnProperty(e))return"";var t=this.variables[e];return typeof t=="function"&&(t=this.variables[e](n,e,s)),t??""},o.prototype.tmStrFormat=function(n,e,s){if(!e.fmt)return n;var t=e.flag||"",r=e.guard;r=new RegExp(r,t.replace(/[^gim]/g,""));var l=typeof e.fmt=="string"?this.tokenizeTmSnippet(e.fmt,"formatString"):e.fmt,a=this,f=n.replace(r,function(){var u=a.variables.__;a.variables.__=[].slice.call(arguments);for(var m=a.resolveVariables(l,s),d="E",b=0;b=0&&f.splice(u,1)}}n.content?r(n):Array.isArray(n)&&n.forEach(r)},o.prototype.parseSnippetFile=function(n){n=n.replace(/\r/g,"");for(var e=[],s={},t=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm,r;r=t.exec(n);){if(r[1])try{s=JSON.parse(r[1]),e.push(s)}catch{}if(r[4])s.content=r[4].replace(/^\t/gm,""),e.push(s),s={};else{var l=r[2],a=r[3];if(l=="regex"){var f=/\/((?:[^\/\\]|\\.)*)|$/g;s.guard=f.exec(a)[1],s.trigger=f.exec(a)[1],s.endTrigger=f.exec(a)[1],s.endGuard=f.exec(a)[1]}else l=="snippet"?(s.tabTrigger=a.match(/^\S*/)[0],s.name||(s.name=a)):l&&(s[l]=a)}}return e},o.prototype.getSnippetByName=function(n,e){var s=this.snippetNameMap,t;return this.getActiveScopes(e).some(function(r){var l=s[r];return l&&(t=l[n]),!!t},this),t},o}();E.implement(A.prototype,L);var $=function(o,n,e){e===void 0&&(e={});var s=o.getCursorPosition(),t=o.session.getLine(s.row),r=o.session.getTabString(),l=t.match(/^\s*/)[0];s.column1?(B=D[D.length-1].length,z+=D.length-1):B+=_.length,G+=_}else _&&(_.start?_.end={row:z,column:B}:_.start={row:z,column:B})}),{text:G,tabstops:f,tokens:a}},i=function(){function o(n){if(this.index=0,this.ranges=[],this.tabstops=[],n.tabstopManager)return n.tabstopManager;n.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=S.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(n)}return o.prototype.attach=function(n){this.$openTabstops=null,this.selectedTabstop=null,this.editor=n,this.session=n.session,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},o.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off("change",this.$onChange),this.editor.off("changeSelection",this.$onChangeSelection),this.editor.off("changeSession",this.$onChangeSession),this.editor.commands.off("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},o.prototype.onChange=function(n){for(var e=n.action[0]=="r",s=this.selectedTabstop||{},t=s.parents||{},r=this.tabstops.slice(),l=0;l2&&(this.tabstops.length&&a.push(a.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,a))},o.prototype.addTabstopMarkers=function(n){var e=this.session;n.forEach(function(s){s.markerId||(s.markerId=e.addMarker(s,"ace_snippet-marker","text"))})},o.prototype.removeTabstopMarkers=function(n){var e=this.session;n.forEach(function(s){e.removeMarker(s.markerId),s.markerId=null})},o.prototype.removeRange=function(n){var e=n.tabstop.indexOf(n);e!=-1&&n.tabstop.splice(e,1),e=this.ranges.indexOf(n),e!=-1&&this.ranges.splice(e,1),e=n.tabstop.rangeList.ranges.indexOf(n),e!=-1&&n.tabstop.splice(e,1),this.session.removeMarker(n.markerId),n.tabstop.length||(e=this.tabstops.indexOf(n.tabstop),e!=-1&&this.tabstops.splice(e,1),this.tabstops.length||this.detach())},o}();i.prototype.keyboardHandler=new M,i.prototype.keyboardHandler.bindKeys({Tab:function(o){C.snippetManager&&C.snippetManager.expandWithTab(o)||(o.tabstopManager.tabNext(1),o.renderer.scrollCursorIntoView())},"Shift-Tab":function(o){o.tabstopManager.tabNext(-1),o.renderer.scrollCursorIntoView()},Esc:function(o){o.tabstopManager.detach()}});var c=function(o,n){o.row==0&&(o.column+=n.column),o.row+=n.row},p=function(o,n){o.row==n.row&&(o.column-=n.column),o.row-=n.row};R.importCssString(` .ace_snippet-marker { -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(194, 193, 208, 0.09); border: 1px dotted rgba(211, 208, 235, 0.62); position: absolute; }`,"snippets.css",!1),C.snippetManager=new A;var h=v("./editor").Editor;(function(){this.insertSnippet=function(o,n){return C.snippetManager.insertSnippet(this,o,n)},this.expandSnippet=function(o){return C.snippetManager.expandWithTab(this,o)}}).call(h.prototype)}),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/config"],function(v,C,I){var R=v("../virtual_renderer").VirtualRenderer,E=v("../editor").Editor,L=v("../range").Range,S=v("../lib/event"),x=v("../lib/lang"),y=v("../lib/dom"),M=v("../config").nls,O=function(T){return"suggest-aria-id:".concat(T)},k=function(T){var A=new R(T);A.$maxLines=4;var $=new E(A);return $.setHighlightActiveLine(!1),$.setShowPrintMargin(!1),$.renderer.setShowGutter(!1),$.renderer.setHighlightGutterLine(!1),$.$mouseHandler.$focusTimeout=0,$.$highlightTagPending=!0,$},P=function(){function T(A){var $=y.createElement("div"),i=new k($);A&&A.appendChild($),$.style.display="none",i.renderer.content.style.cursor="default",i.renderer.setStyle("ace_autocomplete"),i.renderer.container.setAttribute("role","listbox"),i.renderer.container.setAttribute("aria-label",M("Autocomplete suggestions")),i.setOption("displayIndentGuides",!1),i.setOption("dragDelay",150);var c=function(){};i.focus=c,i.$isFocused=!0,i.renderer.$cursorLayer.restartTimer=c,i.renderer.$cursorLayer.element.style.opacity=0,i.renderer.$maxLines=8,i.renderer.$keepTextAreaAtCursor=!1,i.setHighlightActiveLine(!1),i.session.highlight(""),i.session.$searchHighlight.clazz="ace_highlight-marker",i.on("mousedown",function(t){var r=t.getDocumentPosition();i.selection.moveToPosition(r),o.start.row=o.end.row=r.row,t.stop()});var p,h=new L(-1,0,-1,1/0),o=new L(-1,0,-1,1/0);o.id=i.session.addMarker(o,"ace_active-line","fullLine"),i.setSelectOnHover=function(t){t?h.id&&(i.session.removeMarker(h.id),h.id=null):h.id=i.session.addMarker(h,"ace_line-hover","fullLine")},i.setSelectOnHover(!1),i.on("mousemove",function(t){if(!p){p=t;return}if(!(p.x==t.x&&p.y==t.y)){p=t,p.scrollTop=i.renderer.scrollTop;var r=p.getDocumentPosition().row;h.start.row!=r&&(h.id||i.setRow(r),e(r))}}),i.renderer.on("beforeRender",function(){if(p&&h.start.row!=-1){p.$pos=null;var t=p.getDocumentPosition().row;h.id||i.setRow(t),e(t,!0)}}),i.renderer.on("afterRender",function(){var t=i.getRow(),r=i.renderer.$textLayer,l=r.element.childNodes[t-r.config.firstRow],a=document.activeElement;if(l!==r.selectedNode&&r.selectedNode&&(y.removeCssClass(r.selectedNode,"ace_selected"),a.removeAttribute("aria-activedescendant"),r.selectedNode.removeAttribute("id")),r.selectedNode=l,l){y.addCssClass(l,"ace_selected");var f=O(t);l.id=f,i.renderer.container.setAttribute("aria-activedescendant",f),a.setAttribute("aria-activedescendant",f),l.setAttribute("role","option"),l.setAttribute("aria-label",i.getData(t).value),l.setAttribute("aria-setsize",i.data.length),l.setAttribute("aria-posinset",t),l.setAttribute("aria-describedby","doc-tooltip")}});var n=function(){e(-1)},e=function(t,r){t!==h.start.row&&(h.start.row=h.end.row=t,r||i.session._emit("changeBackMarker"),i._emit("changeHoverMarker"))};i.getHoveredRow=function(){return h.start.row},S.addListener(i.container,"mouseout",n),i.on("hide",n),i.on("changeSelection",n),i.session.doc.getLength=function(){return i.data.length},i.session.doc.getLine=function(t){var r=i.data[t];return typeof r=="string"?r:r&&r.value||""};var s=i.session.bgTokenizer;return s.$tokenizeRow=function(t){var r=i.data[t],l=[];if(!r)return l;typeof r=="string"&&(r={value:r});var a=r.caption||r.value||r.name;function f(F,z){F&&l.push({type:(r.className||"")+(z||""),value:F})}for(var u=a.toLowerCase(),m=(i.filterText||"").toLowerCase(),d=0,b=0,g=0;g<=m.length;g++)if(g!=b&&(r.matchMask&1<=b?l="bottom":l="top"),l==="top"?(g.bottom=t.top-this.$borderSize,g.top=g.bottom-b):l==="bottom"&&(g.top=t.top+r+this.$borderSize,g.bottom=g.top+b);var F=g.top>=0&&g.bottom<=u;if(!a&&!F)return!1;F?d.$maxPixelHeight=null:l==="top"?d.$maxPixelHeight=H:d.$maxPixelHeight=w,l==="top"?(f.style.top="",f.style.bottom=u-g.bottom+"px",i.isTopdown=!1):(f.style.top=g.top+"px",f.style.bottom="",i.isTopdown=!0),f.style.display="";var z=t.left;return z+f.offsetWidth>m&&(z=m-f.offsetWidth),f.style.left=z+"px",f.style.right="",i.isOpen||(i.isOpen=!0,this._signal("show"),p=null),i.anchorPos=t,i.anchor=l,!0},i.show=function(t,r,l){this.tryShow(t,r,l?"bottom":void 0,!0)},i.goTo=function(t){var r=this.getRow(),l=this.session.getLength()-1;switch(t){case"up":r=r<=0?l:r-1;break;case"down":r=r>=l?-1:r+1;break;case"start":r=0;break;case"end":r=l;break}this.setRow(r)},i.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},i.$imageSize=0,i.$borderSize=1,i}return T}();y.importCssString(` .ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; z-index: 1; } .ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #3a674e; } .ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid #abbffe; margin-top: -1px; background: rgba(233,233,253,0.4); position: absolute; z-index: 2; } .ace_dark.ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid rgba(109, 150, 13, 0.8); background: rgba(58, 103, 78, 0.62); } .ace_completion-meta { opacity: 0.5; margin-left: 0.9em; } .ace_completion-message { color: blue; } .ace_editor.ace_autocomplete .ace_completion-highlight{ color: #2d69c7; } .ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{ color: #93ca12; } .ace_editor.ace_autocomplete { width: 300px; z-index: 200000; border: 1px lightgray solid; position: fixed; box-shadow: 2px 3px 5px rgba(0,0,0,.2); line-height: 1.4; background: #fefefe; color: #111; } .ace_dark.ace_editor.ace_autocomplete { border: 1px #484747 solid; box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51); line-height: 1.4; background: #25282c; color: #c1c1c1; } .ace_autocomplete .ace_text-layer { width: calc(100% - 8px); } .ace_autocomplete .ace_line { display: flex; align-items: center; } .ace_autocomplete .ace_line > * { min-width: 0; flex: 0 0 auto; } .ace_autocomplete .ace_line .ace_ { flex: 0 1 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .ace_autocomplete .ace_completion-spacer { flex: 1; } `,"autocompletion.css",!1),C.AcePopup=P,C.$singleLineEditor=k,C.getAriaId=O}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets"],function(v,C,I){var R=v("../snippets").snippetManager,E=function(){function L(){this.editor=null}return L.prototype.show=function(S,x,y){if(y=y||"",S&&this.editor&&this.editor!==S&&(this.hide(),this.editor=null),!S||!x)return!1;var M=x.snippet?R.getDisplayTextForSnippet(S,x.snippet):x.value;return!M||!M.startsWith(y)?!1:(this.editor=S,M=M.slice(y.length),M===""?S.removeGhostText():S.setGhostText(M),!0)},L.prototype.isOpen=function(){return this.editor?!!this.editor.renderer.$ghostText:!1},L.prototype.hide=function(){return this.editor?(this.editor.removeGhostText(),!0):!1},L.prototype.destroy=function(){this.hide(),this.editor=null},L}();C.AceInline=E}),ace.define("ace/autocomplete/util",["require","exports","module"],function(v,C,I){C.parForEach=function(E,L,S){var x=0,y=E.length;y===0&&S();for(var M=0;M=0&&S.test(E[y]);y--)x.push(E[y]);return x.reverse().join("")},C.retrieveFollowingIdentifier=function(E,L,S){S=S||R;for(var x=[],y=L;ythis.filterText&&c.lastIndexOf(this.filterText,0)===0)var p=this.filtered;else var p=this.all;this.filterText=c,p=this.filterCompletions(p,this.filterText),p=p.sort(function(o,n){return n.exactMatch-o.exactMatch||n.$score-o.$score||(o.caption||o.value).localeCompare(n.caption||n.value)});var h=null;p=p.filter(function(o){var n=o.snippet||o.caption||o.value;return n===h?!1:(h=n,!0)}),this.filtered=p},i.prototype.filterCompletions=function(c,p){var h=[],o=p.toUpperCase(),n=p.toLowerCase();e:for(var e=0,s;s=c[e];e++){var t=!this.ignoreCaption&&s.caption||s.value||s.snippet;if(t){var r=-1,l=0,a=0,f,u;if(this.exactMatch){if(p!==t.substr(0,p.length))continue e}else{var m=t.toLowerCase().indexOf(n);if(m>-1)a=m;else for(var d=0;d=0&&(g<0||b0&&(r===-1&&(a+=10),a+=u,l=l|1<",S.escapeHTML(e.caption),"","
",S.escapeHTML(O(e.snippet))].join(""))},id:"snippetCompleter"},P=[k,y,M];C.setCompleters=function(e){P.length=0,e&&P.push.apply(P,e)},C.addCompleter=function(e){P.push(e)},C.textCompleter=y,C.keyWordCompleter=M,C.snippetCompleter=k;var T={name:"expandSnippet",exec:function(e){return R.expandWithTab(e)},bindKey:"Tab"},A=function(e,s){$(s.session.$mode)},$=function(e){typeof e=="string"&&(e=L.$modes[e]),e&&(R.files||(R.files={}),i(e.$id,e.snippetFileId),e.modes&&e.modes.forEach($))},i=function(e,s){!s||!e||R.files[e]||(R.files[e]={},L.loadModule(s,function(t){t&&(R.files[e]=t,!t.snippets&&t.snippetText&&(t.snippets=R.parseSnippetFile(t.snippetText)),R.register(t.snippets||[],t.scope),t.includeScopes&&(R.snippetMap[t.scope].includeScopes=t.includeScopes,t.includeScopes.forEach(function(r){$("ace/mode/"+r)})))}))},c=function(e){var s=e.editor,t=s.completer&&s.completer.activated;if(e.command.name==="backspace")t&&!x.getCompletionPrefix(s)&&s.completer.detach();else if(e.command.name==="insertstring"&&!t){p=e;var r=e.editor.$liveAutocompletionDelay;r?h.delay(r):o(e)}},p,h=S.delayedCall(function(){o(p)},0),o=function(e){var s=e.editor,t=x.getCompletionPrefix(s),r=x.triggerAutocomplete(s);if((t||r)&&t.length>=s.$liveAutocompletionThreshold){var l=E.for(s);l.autoShown=!0,l.showPopup(s)}},n=v("../editor").Editor;v("../config").defineOptions(n.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:P),this.commands.addCommand(E.startCommand)):this.commands.removeCommand(E.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:P),this.commands.on("afterExec",c)):this.commands.off("afterExec",c)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(e){e?(this.commands.addCommand(T),this.on("changeMode",A),A(null,this)):(this.commands.removeCommand(T),this.off("changeMode",A))},value:!1}})}),function(){ace.require(["ace/ext/language_tools"],function(v){V&&(V.exports=v)})}()})(Y);var Z=Y.exports;const ee=Q(Z),ne=q({__proto__:null,default:ee},[Z]);export{ne as e};