All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.a237067d2cf1a9f38281f7e715498f9e.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var x=(r,s)=>()=>(s||r((s={exports:{}}).exports,s),s.exports);var R=x((v,k)=>{ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(r,s,p){"use strict";var d=r("../lib/oop"),h=r("./text_highlight_rules").TextHighlightRules,a=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},a.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};d.inherits(a,h),a.getTagRule=function(c){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},a.getStartRule=function(c){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:c}},a.getEndRule=function(c){return{token:"comment.doc",regex:"\\*\\/",next:c}},s.DocCommentHighlightRules=a});ace.define("ace/mode/golang_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(r,s,p){var d=r("../lib/oop"),h=r("./doc_comment_highlight_rules").DocCommentHighlightRules,a=r("./text_highlight_rules").TextHighlightRules,c=function(){var t="else|break|case|return|goto|if|const|select|continue|struct|default|switch|for|range|func|import|package|chan|defer|fallthrough|go|interface|map|range|select|type|var",n="string|uint8|uint16|uint32|uint64|int8|int16|int32|int64|float32|float64|complex64|complex128|byte|rune|uint|int|uintptr|bool|error",e="new|close|cap|copy|panic|panicln|print|println|len|make|delete|real|recover|imag|append",i="nil|true|false|iota",o=this.createKeywordMapper({keyword:t,"constant.language":i,"support.function":e,"support.type":n},""),u=`\\\\(?:[0-7]{3}|x\\h{2}|u{4}|U\\h{6}|[abfnrtv'"\\\\])`.replace(/\\h/g,"[a-fA-F\\d]");this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},h.getStartRule("doc-start"),{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"string",regex:/"(?:[^"\\]|\\.)*?"/},{token:"string",regex:"`",next:"bqstring"},{token:"constant.numeric",regex:"'(?:[^\\'\uD800-\uDBFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|"+u.replace('"',"")+")'"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:["keyword","text","entity.name.function"],regex:"(func)(\\s+)([a-zA-Z_$][a-zA-Z0-9_$]*)\\b"},{token:function(g){return g[g.length-1]=="("?[{type:o(g.slice(0,-1))||"support.function",value:g.slice(0,-1)},{type:"paren.lparen",value:g.slice(-1)}]:o(g)||"identifier"},regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b\\(?"},{token:"keyword.operator",regex:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|==|=|!=|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^="},{token:"punctuation.operator",regex:"\\?|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],bqstring:[{token:"string",regex:"`",next:"start"},{defaultToken:"string"}]},this.embedRules(h,"doc-",[h.getEndRule("start")])};d.inherits(c,a),s.GolangHighlightRules=c});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(r,s,p){"use strict";var d=r("../range").Range,h=function(){};(function(){this.checkOutdent=function(a,c){return/^\s+$/.test(a)?/^\s*\}/.test(c):!1},this.autoOutdent=function(a,c){var t=a.getLine(c),n=t.match(/^(\s*\})/);if(!n)return 0;var e=n[1].length,i=a.findMatchingBracket({row:c,column:e});if(!i||i.row==c)return 0;var o=this.$getIndent(a.getLine(i.row));a.replace(new d(c,0,c,e-1),o)},this.$getIndent=function(a){return a.match(/^\s*/)[0]}}).call(h.prototype),s.MatchingBraceOutdent=h});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(r,s,p){"use strict";var d=r("../../lib/oop"),h=r("../../range").Range,a=r("./fold_mode").FoldMode,c=s.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};d.inherits(c,a),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(t,n,e){var i=t.getLine(e);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var o=this._getFoldWidgetBase(t,n,e);return!o&&this.startRegionRe.test(i)?"start":o},this.getFoldWidgetRange=function(t,n,e,i){var o=t.getLine(e);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(t,o,e);var l=o.match(this.foldingStartMarker);if(l){var u=l.index;if(l[1])return this.openingBracketBlock(t,l[1],e,u);var g=t.getCommentFoldRange(e,u+l[0].length,1);return g&&!g.isMultiLine()&&(i?g=this.getSectionRange(t,e):n!="all"&&(g=null)),g}if(n!=="markbegin"){var l=o.match(this.foldingStopMarker);if(l){var u=l.index+l[0].length;return l[1]?this.closingBracketBlock(t,l[1],e,u):t.getCommentFoldRange(e,u,-1)}}},this.getSectionRange=function(t,n){var e=t.getLine(n),i=e.search(/\S/),o=n,u=e.length;n=n+1;for(var g=n,l=t.getLength();++nf)break;var m=this.getFoldWidgetRange(t,"all",n);if(m){if(m.start.row<=o)break;if(m.isMultiLine())n=m.end.row;else if(i==f)break}g=n}}return new h(o,u,g,t.getLine(g).length)},this.getCommentRegionBlock=function(t,n,e){for(var i=n.search(/\s*$/),o=t.getLength(),u=e,g=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++eu)return new h(u,i,m,n.length)}}).call(c.prototype)});ace.define("ace/mode/golang",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/golang_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],function(r,s,p){var d=r("../lib/oop"),h=r("./text").Mode,a=r("./golang_highlight_rules").GolangHighlightRules,c=r("./matching_brace_outdent").MatchingBraceOutdent,t=r("./folding/cstyle").FoldMode,n=function(){this.HighlightRules=a,this.$outdent=new c,this.foldingRules=new t,this.$behaviour=this.$defaultBehaviour};d.inherits(n,h),(function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,i,o){var u=this.$getIndent(i),g=this.getTokenizer().getLineTokens(i,e),l=g.tokens,f=g.state;if(l.length&&l[l.length-1].type=="comment")return u;if(e=="start"){var m=i.match(/^.*[\{\(\[]\s*$/);m&&(u+=o)}return u},this.checkOutdent=function(e,i,o){return this.$outdent.checkOutdent(i,o)},this.autoOutdent=function(e,i,o){this.$outdent.autoOutdent(i,o)},this.$id="ace/mode/golang"}).call(n.prototype),s.Mode=n});(function(){ace.require(["ace/mode/golang"],function(r){typeof k=="object"&&typeof v=="object"&&k&&(k.exports=r)})})()});R();})();

//# sourceMappingURL=a237067d2cf1a9f38281f7e715498f9e.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy