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

web-interface.assets.0f1f0f87ad7afd258956f34329de8643.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var v=(a,s)=>()=>(s||a((s={exports:{}}).exports,s),s.exports);var R=v((m,x)=>{ace.define("ace/mode/prql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,s,k){"use strict";var p=a("../lib/oop"),u=a("./text_highlight_rules").TextHighlightRules,c=function(){var h="min|max|sum|average|stddev|every|any|concat_array|count|lag|lead|first|last|rank|rank_dense|row_number|round|as|in|tuple_every|tuple_map|tuple_zip|_eq|_is_null|from_text|lower|upper|read_parquet|read_csv",e=["bool","int","int8","int16","int32","int64","float","text","set"].join("|"),n=this.createKeywordMapper({"constant.language":"null","constant.language.boolean":"true|false",keyword:"let|into|case|prql|type|module|internal","storage.type":"let|func","support.function":h,"support.type":e},"identifier"),t=/\\(\d+|['"\\&bfnrt]|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2})/,o=/[A-Za-z_][a-z_A-Z0-9]/.source,l=/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/.source,i="[\\u202A\\u202B\\u202D\\u202E\\u2066\\u2067\\u2068\\u202C\\u2069]";this.$rules={start:[{token:"string.start",regex:'s?"',next:"string"},{token:"string.start",regex:'f"',next:"fstring"},{token:"string.start",regex:'r"',next:"rstring"},{token:"string.single",start:"'",end:"'"},{token:"string.character",regex:"'(?:"+t.source+"|.)'?"},{token:"constant.language",regex:"^"+o+"*"},{token:["constant.numeric","keyword"],regex:"("+l+")(years|months|weeks|days|hours|minutes|seconds|milliseconds|microseconds)"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:l},{token:"comment.block.documentation",regex:"#!.*"},{token:"comment.line.number-sign",regex:"#.*"},{token:"keyword.operator",regex:/\|\s*/,next:"pipe"},{token:"keyword.operator",regex:/->|=>|==|!=|>=|<=|~=|&&|\|\||\?\?|\/\/|@/},{token:"invalid.illegal",regex:i},{token:"punctuation.operator",regex:/[,`]/},{token:n,regex:"[\\w\\xff-\\u218e\\u2455-\\uffff]+\\b"},{token:"paren.lparen",regex:/[\[({]/},{token:"paren.rparen",regex:/[\])}]/}],pipe:[{token:"constant.language",regex:o+"*",next:"pop"},{token:"error",regex:"",next:"pop"}],string:[{token:"constant.character.escape",regex:t},{token:"text",regex:/\\(\s|$)/,next:"stringGap"},{token:"string.end",regex:'"',next:"start"},{token:"invalid.illegal",regex:i},{defaultToken:"string.double"}],stringGap:[{token:"text",regex:/\\/,next:"string"},{token:"error",regex:"",next:"start"}],fstring:[{token:"constant.character.escape",regex:t},{token:"string.end",regex:'"',next:"start"},{token:"invalid.illegal",regex:i},{token:"paren.lparen",regex:"{",push:"fstringParenRules"},{token:"invalid.illegal",regex:i},{defaultToken:"string"}],fstringParenRules:[{token:"constant.language",regex:"^"+o+"*"},{token:"paren.rparen",regex:"}",next:"pop"}],rstring:[{token:"string.end",regex:'"',next:"start"},{token:"invalid.illegal",regex:i},{defaultToken:"string"}]},this.normalizeRules()};p.inherits(c,u),s.PrqlHighlightRules=c});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(a,s,k){"use strict";var p=a("../../lib/oop"),u=a("../../range").Range,c=a("./fold_mode").FoldMode,h=s.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};p.inherits(h,c),(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,n,t){var o=e.getLine(t);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var l=this._getFoldWidgetBase(e,n,t);return!l&&this.startRegionRe.test(o)?"start":l},this.getFoldWidgetRange=function(e,n,t,o){var l=e.getLine(t);if(this.startRegionRe.test(l))return this.getCommentRegionBlock(e,l,t);var r=l.match(this.foldingStartMarker);if(r){var i=r.index;if(r[1])return this.openingBracketBlock(e,r[1],t,i);var g=e.getCommentFoldRange(t,i+r[0].length,1);return g&&!g.isMultiLine()&&(o?g=this.getSectionRange(e,t):n!="all"&&(g=null)),g}if(n!=="markbegin"){var r=l.match(this.foldingStopMarker);if(r){var i=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],t,i):e.getCommentFoldRange(t,i,-1)}}},this.getSectionRange=function(e,n){var t=e.getLine(n),o=t.search(/\S/),l=n,i=t.length;n=n+1;for(var g=n,r=e.getLength();++nf)break;var d=this.getFoldWidgetRange(e,"all",n);if(d){if(d.start.row<=l)break;if(d.isMultiLine())n=d.end.row;else if(o==f)break}g=n}}return new u(l,i,g,e.getLine(g).length)},this.getCommentRegionBlock=function(e,n,t){for(var o=n.search(/\s*$/),l=e.getLength(),i=t,g=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,r=1;++ti)return new u(i,o,d,n.length)}}).call(h.prototype)});ace.define("ace/mode/prql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/prql_highlight_rules","ace/mode/folding/cstyle"],function(a,s,k){"use strict";var p=a("../lib/oop"),u=a("./text").Mode,c=a("./prql_highlight_rules").PrqlHighlightRules,h=a("./folding/cstyle").FoldMode,e=function(){this.HighlightRules=c,this.foldingRules=new h,this.$behaviour=this.$defaultBehaviour};p.inherits(e,u),(function(){this.lineCommentStart="#",this.$id="ace/mode/prql"}).call(e.prototype),s.Mode=e});(function(){ace.require(["ace/mode/prql"],function(a){typeof x=="object"&&typeof m=="object"&&x&&(x.exports=a)})})()});R();})();

//# sourceMappingURL=0f1f0f87ad7afd258956f34329de8643.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy