1 |
- import{g as $}from"./index-d7fba904.js";function k(m,b){for(var n=0;n<b.length;n++){const h=b[n];if(typeof h!="string"&&!Array.isArray(h)){for(const v in h)if(v!=="default"&&!(v in m)){const d=Object.getOwnPropertyDescriptor(h,v);d&&Object.defineProperty(m,v,d.get?d:{enumerable:!0,get:()=>h[v]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(m,b){ace.define("ace/mode/c9search_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(n,h,v){var d=n("../lib/oop"),x=n("../lib/lang"),s=n("./text_highlight_rules").TextHighlightRules;function c(g,o){try{return new RegExp(g,o)}catch{}}var p=function(){this.$rules={start:[{tokenNames:["c9searchresults.constant.numeric","c9searchresults.text","c9searchresults.text","c9searchresults.keyword"],regex:/(^\s+[0-9]+)(:)(\d*\s?)([^\r\n]+)/,onMatch:function(g,o,r){var e=this.splitRegex.exec(g),a=this.tokenNames,i=[{type:a[0],value:e[1]},{type:a[1],value:e[2]}];e[3]&&(e[3]==" "?i[1]={type:a[1],value:e[2]+" "}:i.push({type:a[1],value:e[3]}));var t=r[1],l=e[4],f,u=0;if(t&&t.exec)for(t.lastIndex=0;f=t.exec(l);){var y=l.substring(u,f.index);if(u=t.lastIndex,y&&i.push({type:a[2],value:y}),f[0])i.push({type:a[3],value:f[0]});else if(!y)break}return u<l.length&&i.push({type:a[2],value:l.substr(u)}),i}},{regex:"^Searching for [^\\r\\n]*$",onMatch:function(g,o,r){var e=g.split("");if(e.length<3)return"text";var a,i,t=0,l=[{value:e[t++]+"'",type:"text"},{value:i=e[t++],type:"text"},{value:"'"+e[t++],type:"text"}];for(e[2]!==" in"&&l.push({value:"'"+e[t++]+"'",type:"text"},{value:e[t++],type:"text"}),l.push({value:" "+e[t++]+" ",type:"text"}),e[t+1]?(a=e[t+1],l.push({value:"("+e[t+1]+")",type:"text"}),t+=1):t-=1;t++<e.length;)e[t]&&l.push({value:e[t],type:"text"});i&&(/regex/.test(a)||(i=x.escapeRegExp(i)),/whole/.test(a)&&(i="\\b"+i+"\\b"));var f=i&&c("("+i+")",/ sensitive/.test(a)?"g":"ig");return f&&(r[0]=o,r[1]=f),l}},{regex:"^(?=Found \\d+ matches)",token:"text",next:"numbers"},{token:"string",regex:"^\\S:?[^:]+",next:"numbers"}],numbers:[{regex:"\\d+",token:"constant.numeric"},{regex:"$",token:"text",next:"start"}]},this.normalizeRules()};d.inherits(p,s),h.C9SearchHighlightRules=p}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(n,h,v){var d=n("../range").Range,x=function(){};(function(){this.checkOutdent=function(s,c){return/^\s+$/.test(s)?/^\s*\}/.test(c):!1},this.autoOutdent=function(s,c){var p=s.getLine(c),g=p.match(/^(\s*\})/);if(!g)return 0;var o=g[1].length,r=s.findMatchingBracket({row:c,column:o});if(!r||r.row==c)return 0;var e=this.$getIndent(s.getLine(r.row));s.replace(new d(c,0,c,o-1),e)},this.$getIndent=function(s){return s.match(/^\s*/)[0]}}).call(x.prototype),h.MatchingBraceOutdent=x}),ace.define("ace/mode/folding/c9search",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,h,v){var d=n("../../lib/oop"),x=n("../../range").Range,s=n("./fold_mode").FoldMode,c=h.FoldMode=function(){};d.inherits(c,s),function(){this.foldingStartMarker=/^(\S.*:|Searching for.*)$/,this.foldingStopMarker=/^(\s+|Found.*)$/,this.getFoldWidgetRange=function(p,g,o){var r=p.doc.getAllLines(o),e=r[o],a=/^(Found.*|Searching for.*)$/,i=/^(\S.*:|\s*)$/,t=a.test(e)?a:i,l=o,f=o;if(this.foldingStartMarker.test(e)){for(var u=o+1,y=p.getLength();u<y&&!t.test(r[u]);u++);f=u}else if(this.foldingStopMarker.test(e)){for(var u=o-1;u>=0&&(e=r[u],!t.test(e));u--);l=u}if(l!=f){var _=e.length;return t===a&&(_=e.search(/\(Found[^)]+\)$|$/)),new x(l,_,f,0)}}}.call(c.prototype)}),ace.define("ace/mode/c9search",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c9search_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/c9search"],function(n,h,v){var d=n("../lib/oop"),x=n("./text").Mode,s=n("./c9search_highlight_rules").C9SearchHighlightRules,c=n("./matching_brace_outdent").MatchingBraceOutdent,p=n("./folding/c9search").FoldMode,g=function(){this.HighlightRules=s,this.$outdent=new c,this.foldingRules=new p};d.inherits(g,x),function(){this.getNextLineIndent=function(o,r,e){var a=this.$getIndent(r);return a},this.checkOutdent=function(o,r,e){return this.$outdent.checkOutdent(r,e)},this.autoOutdent=function(o,r,e){this.$outdent.autoOutdent(r,e)},this.$id="ace/mode/c9search"}.call(g.prototype),h.Mode=g}),function(){ace.require(["ace/mode/c9search"],function(n){m&&(m.exports=n)})}()})(M);var R=M.exports;const S=$(R),F=k({__proto__:null,default:S},[R]);export{F as m};
|