filesbox/web/dist/44042.dfe6010c.async.js
2024-07-26 14:10:54 +08:00

2 lines
7.8 KiB
JavaScript

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[44042],{44042:function(p,b,x){p=x.nmd(p),ace.define("ace/mode/ion_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(r,g,k){"use strict";var h=r("../lib/oop"),s=r("./text_highlight_rules").TextHighlightRules,c=function(){var l="TRUE|FALSE",e=l,n="NULL.NULL|NULL.BOOL|NULL.INT|NULL.FLOAT|NULL.DECIMAL|NULL.TIMESTAMP|NULL.STRING|NULL.SYMBOL|NULL.BLOB|NULL.CLOB|NULL.STRUCT|NULL.LIST|NULL.SEXP|NULL",t=n,a=this.createKeywordMapper({"constant.language.bool.ion":e,"constant.language.null.ion":t},"constant.other.symbol.identifier.ion",!0),i={token:a,regex:"\\b\\w+(?:\\.\\w+)?\\b"};this.$rules={start:[{include:"value"}],value:[{include:"whitespace"},{include:"comment"},{include:"annotation"},{include:"string"},{include:"number"},{include:"keywords"},{include:"symbol"},{include:"clob"},{include:"blob"},{include:"struct"},{include:"list"},{include:"sexp"}],sexp:[{token:"punctuation.definition.sexp.begin.ion",regex:"\\(",push:[{token:"punctuation.definition.sexp.end.ion",regex:"\\)",next:"pop"},{include:"comment"},{include:"value"},{token:"storage.type.symbol.operator.ion",regex:"[\\!\\#\\%\\&\\*\\+\\-\\./\\;\\<\\=\\>\\?\\@\\^\\`\\|\\~]+"}]}],comment:[{token:"comment.line.ion",regex:"//[^\\n]*"},{token:"comment.block.ion",regex:"/\\*",push:[{token:"comment.block.ion",regex:"[*]/",next:"pop"},{token:"comment.block.ion",regex:"[^*/]+"},{token:"comment.block.ion",regex:"[*/]+"}]}],list:[{token:"punctuation.definition.list.begin.ion",regex:"\\[",push:[{token:"punctuation.definition.list.end.ion",regex:"\\]",next:"pop"},{include:"comment"},{include:"value"},{token:"punctuation.definition.list.separator.ion",regex:","}]}],struct:[{token:"punctuation.definition.struct.begin.ion",regex:"\\{",push:[{token:"punctuation.definition.struct.end.ion",regex:"\\}",next:"pop"},{include:"comment"},{include:"value"},{token:"punctuation.definition.struct.separator.ion",regex:",|:"}]}],blob:[{token:["punctuation.definition.blob.begin.ion","string.other.blob.ion","punctuation.definition.blob.end.ion"],regex:'(\\{\\{)([^"]*)(\\}\\})'}],clob:[{token:["punctuation.definition.clob.begin.ion","string.other.clob.ion","punctuation.definition.clob.end.ion"],regex:'(\\{\\{)("[^"]*")(\\}\\})'}],symbol:[{token:"storage.type.symbol.quoted.ion",regex:"(['])((?:(?:\\\\')|(?:[^']))*?)(['])"},{token:"storage.type.symbol.identifier.ion",regex:"[\\$_a-zA-Z][\\$_a-zA-Z0-9]*"}],number:[{token:"constant.numeric.timestamp.ion",regex:"\\d{4}(?:-\\d{2})?(?:-\\d{2})?T(?:\\d{2}:\\d{2})(?::\\d{2})?(?:\\.\\d+)?(?:Z|[-+]\\d{2}:\\d{2})?"},{token:"constant.numeric.timestamp.ion",regex:"\\d{4}-\\d{2}-\\d{2}T?"},{token:"constant.numeric.integer.binary.ion",regex:"-?0[bB][01](?:_?[01])*"},{token:"constant.numeric.integer.hex.ion",regex:"-?0[xX][0-9a-fA-F](?:_?[0-9a-fA-F])*"},{token:"constant.numeric.float.ion",regex:"-?(?:0|[1-9](?:_?\\d)*)(?:\\.(?:\\d(?:_?\\d)*)?)?(?:[eE][+-]?\\d+)"},{token:"constant.numeric.float.ion",regex:"(?:[-+]inf)|(?:nan)"},{token:"constant.numeric.decimal.ion",regex:"-?(?:0|[1-9](?:_?\\d)*)(?:(?:(?:\\.(?:\\d(?:_?\\d)*)?)(?:[dD][+-]?\\d+)|\\.(?:\\d(?:_?\\d)*)?)|(?:[dD][+-]?\\d+))"},{token:"constant.numeric.integer.ion",regex:"-?(?:0|[1-9](?:_?\\d)*)"}],string:[{token:["punctuation.definition.string.begin.ion","string.quoted.double.ion","punctuation.definition.string.end.ion"],regex:'(["])((?:(?:\\\\")|(?:[^"]))*?)(["])'},{token:"punctuation.definition.string.begin.ion",regex:"'{3}",push:[{token:"punctuation.definition.string.end.ion",regex:"'{3}",next:"pop"},{token:"string.quoted.triple.ion",regex:"(?:\\\\'|[^'])+"},{token:"string.quoted.triple.ion",regex:"'"}]}],annotation:[{token:["variable.language.annotation.ion","punctuation.definition.annotation.ion"],regex:"('(?:[^']|\\\\\\\\|\\\\')*')\\s*(::)"},{token:["variable.language.annotation.ion","punctuation.definition.annotation.ion"],regex:"([\\$_a-zA-Z][\\$_a-zA-Z0-9]*)\\s*(::)"}],whitespace:[{token:"text.ion",regex:"\\s+"}]},this.$rules.keywords=[i],this.normalizeRules()};h.inherits(c,s),g.IonHighlightRules=c}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(r,g,k){"use strict";var h=r("../range").Range,s=function(){};(function(){this.checkOutdent=function(c,l){return/^\s+$/.test(c)?/^\s*\}/.test(l):!1},this.autoOutdent=function(c,l){var e=c.getLine(l),n=e.match(/^(\s*\})/);if(!n)return 0;var t=n[1].length,a=c.findMatchingBracket({row:l,column:t});if(!a||a.row==l)return 0;var i=this.$getIndent(c.getLine(a.row));c.replace(new h(l,0,l,t-1),i)},this.$getIndent=function(c){return c.match(/^\s*/)[0]}}).call(s.prototype),g.MatchingBraceOutdent=s}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(r,g,k){"use strict";var h=r("../../lib/oop"),s=r("../../range").Range,c=r("./fold_mode").FoldMode,l=g.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(l,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 a=e.getLine(t);if(this.singleLineBlockCommentRe.test(a)&&!this.startRegionRe.test(a)&&!this.tripleStarBlockCommentRe.test(a))return"";var i=this._getFoldWidgetBase(e,n,t);return!i&&this.startRegionRe.test(a)?"start":i},this.getFoldWidgetRange=function(e,n,t,a){var i=e.getLine(t);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,t);var o=i.match(this.foldingStartMarker);if(o){var u=o.index;if(o[1])return this.openingBracketBlock(e,o[1],t,u);var d=e.getCommentFoldRange(t,u+o[0].length,1);return d&&!d.isMultiLine()&&(a?d=this.getSectionRange(e,t):n!="all"&&(d=null)),d}if(n!=="markbegin"){var o=i.match(this.foldingStopMarker);if(o){var u=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],t,u):e.getCommentFoldRange(t,u,-1)}}},this.getSectionRange=function(e,n){var t=e.getLine(n),a=t.search(/\S/),i=n,o=t.length;n=n+1;for(var u=n,d=e.getLength();++n<d;){t=e.getLine(n);var m=t.search(/\S/);if(m!==-1){if(a>m)break;var f=this.getFoldWidgetRange(e,"all",n);if(f){if(f.start.row<=i)break;if(f.isMultiLine())n=f.end.row;else if(a==m)break}u=n}}return new s(i,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,n,t){for(var a=n.search(/\s*$/),i=e.getLength(),o=t,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,d=1;++t<i;){n=e.getLine(t);var m=u.exec(n);if(!!m&&(m[1]?d--:d++,!d))break}var f=t;if(f>o)return new s(o,a,f,n.length)}}.call(l.prototype)}),ace.define("ace/mode/ion",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ion_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(r,g,k){"use strict";var h=r("../lib/oop"),s=r("./text").Mode,c=r("./ion_highlight_rules").IonHighlightRules,l=r("./matching_brace_outdent").MatchingBraceOutdent,e=r("./behaviour/cstyle").CstyleBehaviour,n=r("./folding/cstyle").FoldMode,t=function(){this.HighlightRules=c,this.$outdent=new l,this.$behaviour=new e,this.foldingRules=new n};h.inherits(t,s),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(a,i,o){var u=this.$getIndent(i);if(a=="start"){var d=i.match(/^.*[\{\(\[]\s*$/);d&&(u+=o)}return u},this.checkOutdent=function(a,i,o){return this.$outdent.checkOutdent(i,o)},this.autoOutdent=function(a,i,o){this.$outdent.autoOutdent(i,o)},this.$id="ace/mode/ion"}.call(t.prototype),g.Mode=t}),function(){ace.require(["ace/mode/ion"],function(r){p&&(p.exports=r)})}()}}]);