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

2 lines
2.3 KiB
JavaScript

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[868],{868:function(s,x,g){s=g.nmd(s),ace.define("ace/mode/textile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,h,l){"use strict";var u=n("../lib/oop"),o=n("./text_highlight_rules").TextHighlightRules,e=function(){this.$rules={start:[{token:function(t){return t.charAt(0)=="h"?"markup.heading."+t.charAt(1):"markup.heading"},regex:"h1|h2|h3|h4|h5|h6|bq|p|bc|pre",next:"blocktag"},{token:"keyword",regex:"[\\*]+|[#]+"},{token:"text",regex:".+"}],blocktag:[{token:"keyword",regex:"\\. ",next:"start"},{token:"keyword",regex:"\\(",next:"blocktagproperties"}],blocktagproperties:[{token:"keyword",regex:"\\)",next:"blocktag"},{token:"string",regex:"[a-zA-Z0-9\\-_]+"},{token:"keyword",regex:"#"}]}};u.inherits(e,o),h.TextileHighlightRules=e}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(n,h,l){"use strict";var u=n("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var c=e.getLine(t),a=c.match(/^(\s*\})/);if(!a)return 0;var r=a[1].length,i=e.findMatchingBracket({row:t,column:r});if(!i||i.row==t)return 0;var d=this.$getIndent(e.getLine(i.row));e.replace(new u(t,0,t,r-1),d)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),h.MatchingBraceOutdent=o}),ace.define("ace/mode/textile",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/textile_highlight_rules","ace/mode/matching_brace_outdent"],function(n,h,l){"use strict";var u=n("../lib/oop"),o=n("./text").Mode,e=n("./textile_highlight_rules").TextileHighlightRules,t=n("./matching_brace_outdent").MatchingBraceOutdent,c=function(){this.HighlightRules=e,this.$outdent=new t,this.$behaviour=this.$defaultBehaviour};u.inherits(c,o),function(){this.type="text",this.getNextLineIndent=function(a,r,i){return a=="intag"?i:""},this.checkOutdent=function(a,r,i){return this.$outdent.checkOutdent(r,i)},this.autoOutdent=function(a,r,i){this.$outdent.autoOutdent(r,i)},this.$id="ace/mode/textile",this.snippetFileId="ace/snippets/textile"}.call(c.prototype),h.Mode=c}),function(){ace.require(["ace/mode/textile"],function(n){s&&(s.exports=n)})}()}}]);