filesbox/web/dist/79516.19ccd9b6.async.js

15 lines
16 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[79516],{79516:function(m,w,b){m=b.nmd(m),ace.define("ace/mode/vala_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(i,h,k){"use strict";var v=i("../lib/oop"),p=i("./text_highlight_rules").TextHighlightRules,c=function(){this.$rules={start:[{token:["meta.using.vala","keyword.other.using.vala","meta.using.vala","storage.modifier.using.vala","meta.using.vala","punctuation.terminator.vala"],regex:"^(\\s*)(using)\\b(?:(\\s*)([^ ;$]+)(\\s*)((?:;)?))?"},{include:"#code"}],"#all-types":[{include:"#primitive-arrays"},{include:"#primitive-types"},{include:"#object-types"}],"#annotations":[{token:["storage.type.annotation.vala","punctuation.definition.annotation-arguments.begin.vala"],regex:"(@[^ (]+)(\\()",push:[{token:"punctuation.definition.annotation-arguments.end.vala",regex:"\\)",next:"pop"},{token:["constant.other.key.vala","text","keyword.operator.assignment.vala"],regex:"(\\w*)(\\s*)(=)"},{include:"#code"},{token:"punctuation.seperator.property.vala",regex:","},{defaultToken:"meta.declaration.annotation.vala"}]},{token:"storage.type.annotation.vala",regex:"@\\w*"}],"#anonymous-classes-and-new":[{token:"keyword.control.new.vala",regex:"\\bnew\\b",push_disabled:[{token:"text",regex:"(?<=\\)|\\])(?!\\s*{)|(?<=})|(?=;)",TODO:"FIXME: regexp doesn't have js equivalent",originalRegex:"(?<=\\)|\\])(?!\\s*{)|(?<=})|(?=;)",next:"pop"},{token:["storage.type.vala","text"],regex:"(\\w+)(\\s*)(?=\\[)",push:[{token:"text",regex:"}|(?=;|\\))",next:"pop"},{token:"text",regex:"\\[",push:[{token:"text",regex:"\\]",next:"pop"},{include:"#code"}]},{token:"text",regex:"{",push:[{token:"text",regex:"(?=})",next:"pop"},{include:"#code"}]}]},{token:"text",regex:"(?=\\w.*\\()",push:[{token:"text",regex:"(?<=\\))",TODO:"FIXME: regexp doesn't have js equivalent",originalRegex:"(?<=\\))",next:"pop"},{include:"#object-types"},{token:"text",regex:"\\(",push:[{token:"text",regex:"\\)",next:"pop"},{include:"#code"}]}]},{token:"meta.inner-class.vala",regex:"{",push:[{token:"meta.inner-class.vala",regex:"}",next:"pop"},{include:"#class-body"},{defaultToken:"meta.inner-class.vala"}]}]}],"#assertions":[{token:["keyword.control.assert.vala","meta.declaration.assertion.vala"],regex:"\\b(assert|requires|ensures)(\\s)",push:[{token:"meta.declaration.assertion.vala",regex:"$",next:"pop"},{token:"keyword.operator.assert.expression-seperator.vala",regex:":"},{include:"#code"},{defaultToken:"meta.declaration.assertion.vala"}]}],"#class":[{token:"meta.class.vala",regex:"(?=\\w?[\\w\\s]*(?:class|(?:@)?interface|enum|struct|namespace)\\s+\\w+)",push:[{token:"paren.vala",regex:"}",next:"pop"},{include:"#storage-modifiers"},{include:"#comments"},{token:["storage.modifier.vala","meta.class.identifier.vala","entity.name.type.class.vala"],regex:"(class|(?:@)?interface|enum|struct|namespace)(\\s+)([\\w\\.]+)"},{token:"storage.modifier.extends.vala",regex:":",push:[{token:"meta.definition.class.inherited.classes.vala",regex:"(?={|,)",next:"pop"},{include:"#object-types-inherited"},{include:"#comments"},{defaultToken:"meta.definition.class.inherited.classes.vala"}]},{token:["storage.modifier.implements.vala","meta.definition.class.implemented.interfaces.vala"],regex:"(,)(\\s)",push:[{token:"meta.definition.class.implemented.interfaces.vala",regex:"(?=\\{)",next:"pop"},{include:"#object-types-inherited"},{include:"#comments"},{defaultToken:"meta.definition.class.implemented.interfaces.vala"}]},{token:"paren.vala",regex:"{",push:[{token:"paren.vala",regex:"(?=})",next:"pop"},{include:"#class-body"},{defaultToken:"meta.class.body.vala"}]},{defaultToken:"meta.class.vala"}],comment:"attempting to put namespace in here."}],"#class-body":[{include:"#comments"},{include:"#class"},{include:"#enums"},{include:"#methods"},{include:"#annotations"},{include:"#storage-modifiers"},{include:"#code"}],"#code":[{include:"#comments"},{include:"#class"},{token:"text",regex:"{",push:[{token:"text",regex:"}",next:"pop"},{include:"#code"}]},{include:"#assertions"},{inclu
* Closures
* Delegates
* Properties: Better support for properties.
* Annotations
* Error domains
* Named arguments
* Array slicing, negative indexes, multidimensional
* construct blocks
* lock blocks?
* regex literals
* DocBlock syntax highlighting. (Currently importing javadoc)
* Folding rule for comments.
`,fileTypes:["vala"],foldingStartMarker:"(\\{\\s*(//.*)?$|^\\s*// \\{\\{\\{)",foldingStopMarker:"^\\s*(\\}|// \\}\\}\\}$)",name:"Vala",scopeName:"source.vala"},v.inherits(c,p),h.ValaHighlightRules=c}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(i,h,k){"use strict";var v=i("../../lib/oop"),p=i("../../range").Range,c=i("./fold_mode").FoldMode,d=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)))};v.inherits(d,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,t,a){var s=e.getLine(a);if(this.singleLineBlockCommentRe.test(s)&&!this.startRegionRe.test(s)&&!this.tripleStarBlockCommentRe.test(s))return"";var r=this._getFoldWidgetBase(e,t,a);return!r&&this.startRegionRe.test(s)?"start":r},this.getFoldWidgetRange=function(e,t,a,s){var r=e.getLine(a);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,a);var n=r.match(this.foldingStartMarker);if(n){var o=n.index;if(n[1])return this.openingBracketBlock(e,n[1],a,o);var l=e.getCommentFoldRange(a,o+n[0].length,1);return l&&!l.isMultiLine()&&(s?l=this.getSectionRange(e,a):t!="all"&&(l=null)),l}if(t!=="markbegin"){var n=r.match(this.foldingStopMarker);if(n){var o=n.index+n[0].length;return n[1]?this.closingBracketBlock(e,n[1],a,o):e.getCommentFoldRange(a,o,-1)}}},this.getSectionRange=function(e,t){var a=e.getLine(t),s=a.search(/\S/),r=t,n=a.length;t=t+1;for(var o=t,l=e.getLength();++t<l;){a=e.getLine(t);var u=a.search(/\S/);if(u!==-1){if(s>u)break;var g=this.getFoldWidgetRange(e,"all",t);if(g){if(g.start.row<=r)break;if(g.isMultiLine())t=g.end.row;else if(s==u)break}o=t}}return new p(r,n,o,e.getLine(o).length)},this.getCommentRegionBlock=function(e,t,a){for(var s=t.search(/\s*$/),r=e.getLength(),n=a,o=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++a<r;){t=e.getLine(a);var u=o.exec(t);if(!!u&&(u[1]?l--:l++,!l))break}var g=a;if(g>n)return new p(n,s,g,t.length)}}.call(d.prototype)}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(i,h,k){"use strict";var v=i("../range").Range,p=function(){};(function(){this.checkOutdent=function(c,d){return/^\s+$/.test(c)?/^\s*\}/.test(d):!1},this.autoOutdent=function(c,d){var e=c.getLine(d),t=e.match(/^(\s*\})/);if(!t)return 0;var a=t[1].length,s=c.findMatchingBracket({row:d,column:a});if(!s||s.row==d)return 0;var r=this.$getIndent(c.getLine(s.row));c.replace(new v(d,0,d,a-1),r)},this.$getIndent=function(c){return c.match(/^\s*/)[0]}}).call(p.prototype),h.MatchingBraceOutdent=p}),ace.define("ace/mode/vala",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/vala_highlight_rules","ace/mode/folding/cstyle","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/mode/matching_brace_outdent"],function(i,h,k){"use strict";var v=i("../lib/oop"),p=i("./text").Mode,c=i("../tokenizer").Tokenizer,d=i("./vala_highlight_rules").ValaHighlightRules,e=i("./folding/cstyle").FoldMode,t=i("./behaviour/cstyle").CstyleBehaviour,a=i("./folding/cstyle").FoldMode,s=i("./matching_brace_outdent").MatchingBraceOutdent,r=function(){this.HighlightRules=d,this.$outdent=new s,this.$behaviour=new t,this.foldingRules=new a};v.inherits(r,p),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(n,o,l){var u=this.$getIndent(o),g=this.getTokenizer().getLineTokens(o,n),f=g.tokens,y=g.state;if(f.length&&f[f.length-1].type=="comment")return u;if(n=="start"||n=="no_regex"){var x=o.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);x&&(u+=l)}else if(n=="doc-start"){if(y=="start"||y=="no_re