web-interface.assets.32184b16d585b5aa9536a2dddbc0563e.js Maven / Gradle / Ivy
(()=>{var L=(s,c)=>()=>(c||s((c={exports:{}}).exports,c),c.exports);var F=L(($,b)=>{ace.define("ace/mode/crystal_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(s,c,y){"use strict";var m=s("../lib/oop"),f=s("./text_highlight_rules").TextHighlightRules,g=function(){var p="puts|initialize|previous_def|typeof|as|pointerof|sizeof|instance_sizeof",n="if|end|else|elsif|unless|case|when|break|while|next|until|def|return|class|new|getter|setter|property|lib|fun|do|struct|private|protected|public|module|super|abstract|include|extend|begin|enum|raise|yield|with|alias|rescue|ensure|macro|uninitialized|union|type|require",k="true|TRUE|false|FALSE|nil|NIL|__LINE__|__END_LINE__|__FILE__|__DIR__",t="$DEBUG|$defout|$FILENAME|$LOAD_PATH|$SAFE|$stdin|$stdout|$stderr|$VERBOSE|root_url|flash|session|cookies|params|request|response|logger|self",i=this.$keywords=this.createKeywordMapper({keyword:n,"constant.language":k,"variable.language":t,"support.function":p},"identifier"),e="(?:0[xX][\\dA-Fa-f]+)",r="(?:[0-9][\\d_]*)",l="(?:0o[0-7][0-7]*)",o="(?:0[bB][01]+)",d="(?:[+-]?)(?:"+e+"|"+r+"|"+l+"|"+o+")(?:_?[iIuU](?:8|16|32|64))?\\b",v=/\\(?:[nsrtvfbae'"\\]|[0-7]{3}|x[\da-fA-F]{2}|u[\da-fA-F]{4}|u{[\da-fA-F]{1,6}})/,a=/\\(?:[nsrtvfbae'"\\]|[0-7]{3}|x[\da-fA-F]{2}|u[\da-fA-F]{4}|u{[\da-fA-F]{1,6}}|u{(:?[\da-fA-F]{2}\s)*[\da-fA-F]{2}})/;this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string.regexp",regex:"[/]",push:[{token:"constant.language.escape",regex:a},{token:"string.regexp",regex:"[/][imx]*(?=[).,;\\s]|$)",next:"pop"},{defaultToken:"string.regexp"}]},[{regex:"[{}]",onMatch:function(u,x,h){return this.next=u=="{"?this.nextState:"",u=="{"&&h.length?(h.unshift("start",x),"paren.lparen"):u=="}"&&h.length&&(h.shift(),this.next=h.shift(),this.next.indexOf("string")!=-1)?"paren.end":u=="{"?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.start",regex:/"/,push:[{token:"constant.language.escape",regex:a},{token:"string",regex:/\\#{/},{token:"paren.start",regex:/#{/,push:"start"},{token:"string.end",regex:/"/,next:"pop"},{defaultToken:"string"}]},{token:"string.start",regex:/`/,push:[{token:"constant.language.escape",regex:a},{token:"string",regex:/\\#{/},{token:"paren.start",regex:/#{/,push:"start"},{token:"string.end",regex:/`/,next:"pop"},{defaultToken:"string"}]},{stateName:"rpstring",token:"string.start",regex:/%[Qx]?\(/,push:[{token:"constant.language.escape",regex:a},{token:"string.start",regex:/\(/,push:"rpstring"},{token:"string.end",regex:/\)/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"spstring",token:"string.start",regex:/%[Qx]?\[/,push:[{token:"constant.language.escape",regex:a},{token:"string.start",regex:/\[/,push:"spstring"},{token:"string.end",regex:/]/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"fpstring",token:"string.start",regex:/%[Qx]?{/,push:[{token:"constant.language.escape",regex:a},{token:"string.start",regex:/{/,push:"fpstring"},{token:"string.end",regex:/}/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"tpstring",token:"string.start",regex:/%[Qx]?,push:[{token:"constant.language.escape",regex:a},{token:"string.start",regex:/,push:"tpstring"},{token:"string.end",regex:/>/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"ppstring",token:"string.start",regex:/%[Qx]?\|/,push:[{token:"constant.language.escape",regex:a},{token:"string.end",regex:/\|/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"rpqstring",token:"string.start",regex:/%[qwir]\(/,push:[{token:"string.start",regex:/\(/,push:"rpqstring"},{token:"string.end",regex:/\)/,next:"pop"},{defaultToken:"string"}]},{stateName:"spqstring",token:"string.start",regex:/%[qwir]\[/,push:[{token:"string.start",regex:/\[/,push:"spqstring"},{token:"string.end",regex:/]/,next:"pop"},{defaultToken:"string"}]},{stateName:"fpqstring",token:"string.start",regex:/%[qwir]{/,push:[{token:"string.start",regex:/{/,push:"fpqstring"},{token:"string.end",regex:/}/,next:"pop"},{defaultToken:"string"}]},{stateName:"tpqstring",token:"string.start",regex:/%[qwir],push:[{token:"string.start",regex:/,push:"tpqstring"},{token:"string.end",regex:/>/,next:"pop"},{defaultToken:"string"}]},{stateName:"ppqstring",token:"string.start",regex:/%[qwir]\|/,push:[{token:"string.end",regex:/\|/,next:"pop"},{defaultToken:"string"}]},{token:"string.start",regex:/'/,push:[{token:"constant.language.escape",regex:v},{token:"string.end",regex:/'|$/,next:"pop"},{defaultToken:"string"}]}],{token:"text",regex:"::"},{token:"variable.instance",regex:"@{1,2}[a-zA-Z_\\d]+"},{token:"variable.fresh",regex:"%[a-zA-Z_\\d]+"},{token:"support.class",regex:"[A-Z][a-zA-Z_\\d]+"},{token:"constant.other.symbol",regex:"[:](?:(?:===|<=>|\\[]\\?|\\[]=|\\[]|>>|\\*\\*|<<|==|!=|>=|<=|!~|=~|<|\\+|-|\\*|\\/|%|&|\\||\\^|>|!|~)|(?:(?:[A-Za-z_]|[@$](?=[a-zA-Z0-9_]))[a-zA-Z0-9_]*[!=?]?))"},{token:"constant.numeric",regex:"[+-]?\\d(?:\\d|_(?=\\d))*(?:(?:\\.\\d(?:\\d|_(?=\\d))*)?(?:[eE][+-]?\\d+)?)?(?:_?[fF](?:32|64))?\\b"},{token:"constant.numeric",regex:d},{token:"constant.other.symbol",regex:':"',push:[{token:"constant.language.escape",regex:a},{token:"constant.other.symbol",regex:'"',next:"pop"},{defaultToken:"constant.other.symbol"}]},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"support.function",regex:"(?:is_a\\?|nil\\?|responds_to\\?|as\\?)"},{token:i,regex:"[a-zA-Z_$][a-zA-Z0-9_$!?]*\\b"},{token:"variable.system",regex:"\\$\\!|\\$\\?"},{token:"punctuation.separator.key-value",regex:"=>"},{stateName:"heredoc",onMatch:function(u,x,h){var A="heredoc",_=u.split(this.splitRegex);return h.push(A,_[3]),[{type:"constant",value:_[1]},{type:"string",value:_[2]},{type:"support.class",value:_[3]},{type:"string",value:_[4]}]},regex:"(<<-)([']?)([\\w]+)([']?)",rules:{heredoc:[{token:"string",regex:"^ +"},{onMatch:function(u,x,h){return u===h[1]?(h.shift(),h.shift(),this.next=h[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}]}},{regex:"$",token:"empty",next:function(u,x){return x[0]==="heredoc"?x[0]:u}},{token:"punctuation.operator",regex:/[.]\s*(?![.])/,push:[{token:"punctuation.operator",regex:/[.]\s*(?![.])/},{token:"support.function",regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{regex:"",token:"empty",next:"pop"}]},{token:"keyword.operator",regex:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|\\?|\\:|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\^|\\|"},{token:"punctuation.operator",regex:/[?:,;.]/},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};m.inherits(g,f),c.CrystalHighlightRules=g});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(s,c,y){"use strict";var m=s("../range").Range,f=function(){};(function(){this.checkOutdent=function(g,p){return/^\s+$/.test(g)?/^\s*\}/.test(p):!1},this.autoOutdent=function(g,p){var n=g.getLine(p),k=n.match(/^(\s*\})/);if(!k)return 0;var t=k[1].length,i=g.findMatchingBracket({row:p,column:t});if(!i||i.row==p)return 0;var e=this.$getIndent(g.getLine(i.row));g.replace(new m(p,0,p,t-1),e)},this.$getIndent=function(g){return g.match(/^\s*/)[0]}}).call(f.prototype),c.MatchingBraceOutdent=f});ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(s,c,y){"use strict";var m=s("../../lib/oop"),f=s("./fold_mode").FoldMode,g=s("../../range").Range,p=c.FoldMode=function(){};m.inherits(p,f),(function(){this.getFoldWidgetRange=function(n,k,t){var i=this.indentationBlock(n,t);if(i)return i;var e=/\S/,r=n.getLine(t),l=r.search(e);if(!(l==-1||r[l]!="#")){for(var o=r.length,d=n.getLength(),v=t,a=t;++tv){var x=n.getLine(a).length;return new g(v,o,a,x)}}},this.getFoldWidget=function(n,k,t){var i=n.getLine(t),e=i.search(/\S/),r=n.getLine(t+1),l=n.getLine(t-1),o=l.search(/\S/),d=r.search(/\S/);if(e==-1)return n.foldWidgets[t-1]=o!=-1&&o
© 2015 - 2024 Weber Informatics LLC | Privacy Policy