web-interface.assets.363d3bac8dcd9a83332c3758185ce080.js Maven / Gradle / Ivy
(()=>{var k=(r,h)=>()=>(h||r((h={exports:{}}).exports,h),h.exports);var x=k((R,u)=>{ace.define("ace/mode/graphqlschema_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(r,h,v){"use strict";var m=r("../lib/oop"),c=r("./text_highlight_rules").TextHighlightRules,d=function(){var f="type|interface|union|enum|schema|input|implements|extends|scalar",e="Int|Float|String|ID|Boolean",t=this.createKeywordMapper({keyword:f,"storage.type":e},"identifier");this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:t,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"}]},this.normalizeRules()};m.inherits(d,c),h.GraphQLSchemaHighlightRules=d});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(r,h,v){"use strict";var m=r("../../lib/oop"),c=r("../../range").Range,d=r("./fold_mode").FoldMode,f=h.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};m.inherits(f,d),(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(e,t,i){var o=e.getLine(i);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var n=this._getFoldWidgetBase(e,t,i);return!n&&this.startRegionRe.test(o)?"start":n},this.getFoldWidgetRange=function(e,t,i,o){var n=e.getLine(i);if(this.startRegionRe.test(n))return this.getCommentRegionBlock(e,n,i);var a=n.match(this.foldingStartMarker);if(a){var g=a.index;if(a[1])return this.openingBracketBlock(e,a[1],i,g);var l=e.getCommentFoldRange(i,g+a[0].length,1);return l&&!l.isMultiLine()&&(o?l=this.getSectionRange(e,i):t!="all"&&(l=null)),l}if(t!=="markbegin"){var a=n.match(this.foldingStopMarker);if(a){var g=a.index+a[0].length;return a[1]?this.closingBracketBlock(e,a[1],i,g):e.getCommentFoldRange(i,g,-1)}}},this.getSectionRange=function(e,t){var i=e.getLine(t),o=i.search(/\S/),n=t,g=i.length;t=t+1;for(var l=t,a=e.getLength();++tp)break;var s=this.getFoldWidgetRange(e,"all",t);if(s){if(s.start.row<=n)break;if(s.isMultiLine())t=s.end.row;else if(o==p)break}l=t}}return new c(n,g,l,e.getLine(l).length)},this.getCommentRegionBlock=function(e,t,i){for(var o=t.search(/\s*$/),n=e.getLength(),g=i,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;++ig)return new c(g,o,s,t.length)}}).call(f.prototype)});ace.define("ace/mode/graphqlschema",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/graphqlschema_highlight_rules","ace/mode/folding/cstyle"],function(r,h,v){"use strict";var m=r("../lib/oop"),c=r("./text").Mode,d=r("./graphqlschema_highlight_rules").GraphQLSchemaHighlightRules,f=r("./folding/cstyle").FoldMode,e=function(){this.HighlightRules=d,this.foldingRules=new f};m.inherits(e,c),(function(){this.lineCommentStart="#",this.$id="ace/mode/graphqlschema",this.snippetFileId="ace/snippets/graphqlschema"}).call(e.prototype),h.Mode=e});(function(){ace.require(["ace/mode/graphqlschema"],function(r){typeof u=="object"&&typeof R=="object"&&u&&(u.exports=r)})})()});x();})();
//# sourceMappingURL=363d3bac8dcd9a83332c3758185ce080.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy