filesbox/web/dist/56667.bc0a5438.async.js

6 lines
59 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[56667],{56667:function(w,T,C){w=C.nmd(w),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(c,h,v){"use strict";var f=c("../lib/oop"),p=c("./text_highlight_rules").TextHighlightRules,g=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},g.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};f.inherits(g,p),g.getTagRule=function(s){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},g.getStartRule=function(s){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:s}},g.getEndRule=function(s){return{token:"comment.doc",regex:"\\*\\/",next:s}},h.DocCommentHighlightRules=g}),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(c,h,v){"use strict";var f=c("../lib/oop"),p=c("./doc_comment_highlight_rules").DocCommentHighlightRules,g=c("./text_highlight_rules").TextHighlightRules,s="[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*",r=function(u){var l=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),e="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",n="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[p.getStartRule("doc-start"),a("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+s+")(\\.)(prototype)(\\.)("+s+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function\\*?)(\\s+)("+s+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\
`){var t=l.getCursorPosition(),i=e.getLine(t.row),o=new g(e,t.row,t.column),m=o.getCurrentToken();if(m&&m.type.indexOf("tag-close")!==-1){if(m.value=="/>")return;for(;m&&m.type.indexOf("tag-name")===-1;)m=o.stepBackward();if(!m)return;var x=m.value,k=o.getCurrentTokenRow();if(m=o.stepBackward(),!m||m.type.indexOf("end-tag")!==-1)return;if(this.voidElements&&!this.voidElements[x]){var b=e.getTokenAt(t.row,t.column+1),i=e.getLine(k),y=this.$getIndent(i),_=y+e.getTabString();return b&&b.value==="</"?{text:`
`+_+`
`+y,selection:[1,_.length,1,_.length]}:{text:`
`+_}}}}})};f.inherits(d,p),h.XmlBehaviour=d}),ace.define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(c,h,v){"use strict";var f=c("../../lib/oop"),p=c("./fold_mode").FoldMode,g=h.FoldMode=function(s,r){this.defaultMode=s,this.subModes=r};f.inherits(g,p),function(){this.$getMode=function(s){typeof s!="string"&&(s=s[0]);for(var r in this.subModes)if(s.indexOf(r)===0)return this.subModes[r];return null},this.$tryMode=function(s,r,d,a){var u=this.$getMode(s);return u?u.getFoldWidget(r,d,a):""},this.getFoldWidget=function(s,r,d){return this.$tryMode(s.getState(d-1),s,r,d)||this.$tryMode(s.getState(d),s,r,d)||this.defaultMode.getFoldWidget(s,r,d)},this.getFoldWidgetRange=function(s,r,d){var a=this.$getMode(s.getState(d-1));return(!a||!a.getFoldWidget(s,r,d))&&(a=this.$getMode(s.getState(d))),(!a||!a.getFoldWidget(s,r,d))&&(a=this.defaultMode),a.getFoldWidgetRange(s,r,d)}}.call(g.prototype)}),ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(c,h,v){"use strict";var f=c("../../lib/oop"),p=c("../../range").Range,g=c("./fold_mode").FoldMode,s=h.FoldMode=function(a,u){g.call(this),this.voidElements=a||{},this.optionalEndTags=f.mixin({},this.voidElements),u&&f.mixin(this.optionalEndTags,u)};f.inherits(s,g);var r=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function d(a,u){return a.type.lastIndexOf(u+".xml")>-1}(function(){this.getFoldWidget=function(a,u,l){var e=this._getFirstTagInLine(a,l);return e?e.closing||!e.tagName&&e.selfClosing?u==="markbeginend"?"end":"":!e.tagName||e.selfClosing||this.voidElements.hasOwnProperty(e.tagName.toLowerCase())||this._findEndTagInLine(a,l,e.tagName,e.end.column)?"":"start":this.getCommentFoldWidget(a,l)},this.getCommentFoldWidget=function(a,u){return/comment/.test(a.getState(u))&&/<!-/.test(a.getLine(u))?"start":""},this._getFirstTagInLine=function(a,u){for(var l=a.getTokens(u),e=new r,n=0;n<l.length;n++){var t=l[n];if(d(t,"tag-open")){if(e.end.column=e.start.column+t.value.length,e.closing=d(t,"end-tag-open"),t=l[++n],!t)return null;for(e.tagName=t.value,e.end.column+=t.value.length,n++;n<l.length;n++)if(t=l[n],e.end.column+=t.value.length,d(t,"tag-close")){e.selfClosing=t.value=="/>";break}return e}else if(d(t,"tag-close"))return e.selfClosing=t.value=="/>",e;e.start.column+=t.value.length}return null},this._findEndTagInLine=function(a,u,l,e){for(var n=a.getTokens(u),t=0,i=0;i<n.length;i++){var o=n[i];if(t+=o.value.length,!(t<e)&&d(o,"end-tag-open")&&(o=n[i+1],o&&o.value==l))return!0}return!1},this.getFoldWidgetRange=function(a,u,l){var e=a.getMatchingTags({row:l,column:0});return e?new p(e.openTag.end.row,e.openTag.end.column,e.closeTag.start.row,e.closeTag.start.column):this.getCommentFoldWidget(a,l)&&a.getCommentFoldRange(l,a.getLine(l).length)}}).call(s.prototype)}),ace.define("ace/mode/folding/html",["require","exports","module","ace/lib/oop","ace/mode/folding/mixed","ace/mode/folding/xml","ace/mode/folding/cstyle"],function(c,h,v){"use strict";var f=c("../../lib/oop"),p=c("./mixed").FoldMode,g=c("./xml").FoldMode,s=c("./cstyle").FoldMode,r=h.FoldMode=function(d,a){p.call(this,new g(d,a),{"js-":new s,"css-":new s})};f.inherits(r,p)}),ace.define("ace/mode/html_completions",["require","exports","module","ace/token_iterator"],function(c,h,v){"use strict";var f=c("../token_iterator").TokenIterator,p=["accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","inert","itemid","itemprop","itemref","itemscope","itemtype","lang","spellcheck","style","tabindex","title","translate"],g=["onabort","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncuechange","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmet