filesbox/web/dist/70172.c5e5eb8b.async.js

2 lines
5.2 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[70172],{70172:function(l,w,y){l=y.nmd(l),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(a,m,v){"use strict";var s=a("../range").Range,d=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var h=e.getLine(t),k=h.match(/^(\s*\})/);if(!k)return 0;var n=k[1].length,r=e.findMatchingBracket({row:t,column:n});if(!r||r.row==t)return 0;var o=this.$getIndent(e.getLine(r.row));e.replace(new s(t,0,t,n-1),o)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(d.prototype),m.MatchingBraceOutdent=d}),ace.define("ace/mode/livescript",["require","exports","module","ace/tokenizer","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/text"],function(a,m,v){var s,d,e,t;s="(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*",m.Mode=d=function(n){var r,o=h((k(u,n).displayName="LiveScriptMode",u),n).prototype,f=u;function u(){var g;this.$tokenizer=new(a("../tokenizer")).Tokenizer(u.Rules),(g=a("../mode/matching_brace_outdent"))&&(this.$outdent=new g.MatchingBraceOutdent),this.$id="ace/mode/livescript",this.$behaviour=new(a("./behaviour/cstyle")).CstyleBehaviour}return r=RegExp("(?:[({[=:]|[-~]>|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+s+")?))\\s*$"),o.getNextLineIndent=function(g,c,x){var i,p;return i=this.$getIndent(c),p=this.$tokenizer.getLineTokens(c,g).tokens,p.length&&p[p.length-1].type==="comment"||g==="start"&&r.test(c)&&(i+=x),i},o.lineCommentStart="#",o.blockComment={start:"###",end:"###"},o.checkOutdent=function(g,c,x){var i;return(i=this.$outdent)!=null?i.checkOutdent(c,x):void 0},o.autoOutdent=function(g,c,x){var i;return(i=this.$outdent)!=null?i.autoOutdent(c,x):void 0},u}(a("../mode/text").Mode),e="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",t={defaultToken:"string"},d.Rules={start:[{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+e},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+e},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+e},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+e},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+e},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+e},{token:"identifier",regex:s+"\\s*:(?![:=])"},{token:"variable",regex:s},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator"