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

web-interface.assets.1c24a68cb472146022d0806ea2505cfb.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var b=(n,s)=>()=>(s||n((s={exports:{}}).exports,s),s.exports);var x=b((v,p)=>{ace.define("ace/mode/terraform_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,s,k){"use strict";var h=n("../lib/oop"),g=n("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:["storage.function.terraform"],regex:"\\b(output|resource|data|variable|module|export)\\b"},{token:"variable.terraform",regex:"\\$\\s",push:[{token:"keyword.terraform",regex:"(-var-file|-var)"},{token:"variable.terraform",regex:"\\n|$",next:"pop"},{include:"strings"},{include:"variables"},{include:"operators"},{defaultToken:"text"}]},{token:"language.support.class",regex:"\\b(timeouts|provider|connection|provisioner|lifecycleprovider|atlas)\\b"},{token:"singleline.comment.terraform",regex:"#.*$"},{token:"singleline.comment.terraform",regex:"//.*$"},{token:"multiline.comment.begin.terraform",regex:/\/\*/,push:"blockComment"},{token:"storage.function.terraform",regex:"^\\s*(locals|terraform)\\s*{"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{include:"constants"},{include:"strings"},{include:"operators"},{include:"variables"}],blockComment:[{regex:/\*\//,token:"multiline.comment.end.terraform",next:"pop"},{defaultToken:"comment"}],constants:[{token:"constant.language.terraform",regex:"\\b(true|false|yes|no|on|off|EOF)\\b"},{token:"constant.numeric.terraform",regex:"(\\b([0-9]+)([kKmMgG]b?)?\\b)|(\\b(0x[0-9A-Fa-f]+)([kKmMgG]b?)?\\b)"}],variables:[{token:["variable.assignment.terraform","keyword.operator"],regex:"\\b([a-zA-Z_]+)(\\s*=)"}],interpolated_variables:[{token:"variable.terraform",regex:"\\b(var|self|count|path|local)\\b(?:\\.*[a-zA-Z_-]*)?"}],strings:[{token:"punctuation.quote.terraform",regex:"'",push:[{token:"punctuation.quote.terraform",regex:"'",next:"pop"},{include:"escaped_chars"},{defaultToken:"string"}]},{token:"punctuation.quote.terraform",regex:'"',push:[{token:"punctuation.quote.terraform",regex:'"',next:"pop"},{include:"interpolation"},{include:"escaped_chars"},{defaultToken:"string"}]}],escaped_chars:[{token:"constant.escaped_char.terraform",regex:"\\\\."}],operators:[{token:"keyword.operator",regex:"\\?|:|==|!=|>|<|>=|<=|&&|\\|\\||!|%|&|\\*|\\+|\\-|/|="}],interpolation:[{token:"punctuation.interpolated.begin.terraform",regex:"\\$?\\$\\{",push:[{token:"punctuation.interpolated.end.terraform",regex:"\\}",next:"pop"},{include:"interpolated_variables"},{include:"operators"},{include:"constants"},{include:"strings"},{include:"functions"},{include:"parenthesis"},{defaultToken:"punctuation"}]}],functions:[{token:"keyword.function.terraform",regex:"\\b(abs|basename|base64decode|base64encode|base64gzip|base64sha256|base64sha512|bcrypt|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|coalesce|coalescelist|compact|concat|contains|dirname|distinct|element|file|floor|flatten|format|formatlist|indent|index|join|jsonencode|keys|length|list|log|lookup|lower|map|matchkeys|max|merge|min|md5|pathexpand|pow|replace|rsadecrypt|sha1|sha256|sha512|signum|slice|sort|split|substr|timestamp|timeadd|title|transpose|trimspace|upper|urlencode|uuid|values|zipmap)\\b"}],parenthesis:[{token:"paren.lparen",regex:"\\["},{token:"paren.rparen",regex:"\\]"}]},this.normalizeRules()};h.inherits(o,g),s.TerraformHighlightRules=o});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,s,k){"use strict";var h=n("../../lib/oop"),g=n("../../range").Range,o=n("./fold_mode").FoldMode,c=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)))};h.inherits(c,o),(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,r){var i=e.getLine(r);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var l=this._getFoldWidgetBase(e,t,r);return!l&&this.startRegionRe.test(i)?"start":l},this.getFoldWidgetRange=function(e,t,r,i){var l=e.getLine(r);if(this.startRegionRe.test(l))return this.getCommentRegionBlock(e,l,r);var a=l.match(this.foldingStartMarker);if(a){var d=a.index;if(a[1])return this.openingBracketBlock(e,a[1],r,d);var u=e.getCommentFoldRange(r,d+a[0].length,1);return u&&!u.isMultiLine()&&(i?u=this.getSectionRange(e,r):t!="all"&&(u=null)),u}if(t!=="markbegin"){var a=l.match(this.foldingStopMarker);if(a){var d=a.index+a[0].length;return a[1]?this.closingBracketBlock(e,a[1],r,d):e.getCommentFoldRange(r,d,-1)}}},this.getSectionRange=function(e,t){var r=e.getLine(t),i=r.search(/\S/),l=t,d=r.length;t=t+1;for(var u=t,a=e.getLength();++tf)break;var m=this.getFoldWidgetRange(e,"all",t);if(m){if(m.start.row<=l)break;if(m.isMultiLine())t=m.end.row;else if(i==f)break}u=t}}return new g(l,d,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,r){for(var i=t.search(/\s*$/),l=e.getLength(),d=r,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;++rd)return new g(d,i,m,t.length)}}).call(c.prototype)});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(n,s,k){"use strict";var h=n("../range").Range,g=function(){};(function(){this.checkOutdent=function(o,c){return/^\s+$/.test(o)?/^\s*\}/.test(c):!1},this.autoOutdent=function(o,c){var e=o.getLine(c),t=e.match(/^(\s*\})/);if(!t)return 0;var r=t[1].length,i=o.findMatchingBracket({row:c,column:r});if(!i||i.row==c)return 0;var l=this.$getIndent(o.getLine(i.row));o.replace(new h(c,0,c,r-1),l)},this.$getIndent=function(o){return o.match(/^\s*/)[0]}}).call(g.prototype),s.MatchingBraceOutdent=g});ace.define("ace/mode/terraform",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/terraform_highlight_rules","ace/mode/folding/cstyle","ace/mode/matching_brace_outdent"],function(n,s,k){"use strict";var h=n("../lib/oop"),g=n("./text").Mode,o=n("./terraform_highlight_rules").TerraformHighlightRules,c=n("./folding/cstyle").FoldMode,e=n("./matching_brace_outdent").MatchingBraceOutdent,t=function(){g.call(this),this.HighlightRules=o,this.$outdent=new e,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new c};h.inherits(t,g),(function(){this.lineCommentStart=["#","//"],this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/terraform"}).call(t.prototype),s.Mode=t});(function(){ace.require(["ace/mode/terraform"],function(n){typeof p=="object"&&typeof v=="object"&&p&&(p.exports=n)})})()});x();})();

//# sourceMappingURL=1c24a68cb472146022d0806ea2505cfb.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy