6 lines
31 KiB
JavaScript
6 lines
31 KiB
JavaScript
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[44077],{44077:function(y,T,w){y=w.nmd(y),ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(g,h,k){"use strict";var x=g("../lib/oop"),m=g("./text_highlight_rules").TextHighlightRules,d=function(a){var t="[_:a-zA-Z\xC0-\uFFFF][-_:.a-zA-Z0-9\xC0-\uFFFF]*";this.$rules={start:[{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\[",next:"cdata"},{token:["punctuation.instruction.xml","keyword.instruction.xml"],regex:"(<\\?)("+t+")",next:"processing_instruction"},{token:"comment.start.xml",regex:"<\\!--",next:"comment"},{token:["xml-pe.doctype.xml","xml-pe.doctype.xml"],regex:"(<\\!)(DOCTYPE)(?=[\\s])",next:"doctype",caseInsensitive:!0},{include:"tag"},{token:"text.end-tag-open.xml",regex:"</"},{token:"text.tag-open.xml",regex:"<"},{include:"reference"},{defaultToken:"text.xml"}],processing_instruction:[{token:"entity.other.attribute-name.decl-attribute-name.xml",regex:t},{token:"keyword.operator.decl-attribute-equals.xml",regex:"="},{include:"whitespace"},{include:"string"},{token:"punctuation.xml-decl.xml",regex:"\\?>",next:"start"}],doctype:[{include:"whitespace"},{include:"string"},{token:"xml-pe.doctype.xml",regex:">",next:"start"},{token:"xml-pe.xml",regex:"[-_a-zA-Z0-9:]+"},{token:"punctuation.int-subset",regex:"\\[",push:"int_subset"}],int_subset:[{token:"text.xml",regex:"\\s+"},{token:"punctuation.int-subset.xml",regex:"]",next:"pop"},{token:["punctuation.markup-decl.xml","keyword.markup-decl.xml"],regex:"(<\\!)("+t+")",push:[{token:"text",regex:"\\s+"},{token:"punctuation.markup-decl.xml",regex:">",next:"pop"},{include:"string"}]}],cdata:[{token:"string.cdata.xml",regex:"\\]\\]>",next:"start"},{token:"text.xml",regex:"\\s+"},{token:"text.xml",regex:"(?:[^\\]]|\\](?!\\]>))+"}],comment:[{token:"comment.end.xml",regex:"-->",next:"start"},{defaultToken:"comment.xml"}],reference:[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],attr_reference:[{token:"constant.language.escape.reference.attribute-value.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],tag:[{token:["meta.tag.punctuation.tag-open.xml","meta.tag.punctuation.end-tag-open.xml","meta.tag.tag-name.xml"],regex:"(?:(<)|(</))((?:"+t+":)?"+t+")",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start"}]}],tag_whitespace:[{token:"text.tag-whitespace.xml",regex:"\\s+"}],whitespace:[{token:"text.whitespace.xml",regex:"\\s+"}],string:[{token:"string.xml",regex:"'",push:[{token:"string.xml",regex:"'",next:"pop"},{defaultToken:"string.xml"}]},{token:"string.xml",regex:'"',push:[{token:"string.xml",regex:'"',next:"pop"},{defaultToken:"string.xml"}]}],attributes:[{token:"entity.other.attribute-name.xml",regex:t},{token:"keyword.operator.attribute-equals.xml",regex:"="},{include:"tag_whitespace"},{include:"attribute_value"}],attribute_value:[{token:"string.attribute-value.xml",regex:"'",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]}]},this.constructor===d&&this.normalizeRules()};(function(){this.embedTagRules=function(a,t,s){this.$rules.tag.unshift({token:["meta.tag.punctuation.tag-open.xml","meta.tag."+s+".tag-name.xml"],regex:"(<)("+s+"(?=\\s|>|$))",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:t+"start"}]}),this.$rules[s+"-end"]=[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start",onMatch:function(n,i,o){return o.splice(0),this.token}}],this.embedRules(a,t,[{token:["meta.tag.punctuation.end-tag-open.xml","meta.tag."+s+".tag-name.xml"],regex:"(</)("+s+"(?=\\s|>|$))",next:s+"-end"},{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\["},{token:"string.cdata.xml",regex:"\\]\\]>"}])}}).call(m.prototype),x.inherits(d,m),h.XmlHighlightRules=d}),ace.define("ace/mode/behaviour/xml",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(g,h,k){"use strict";var x=g("../../lib/oop"),m=g("../behaviour").Behaviour,d=g("../../token_iterator").TokenIterator,a=g("../../lib/lang");function t(n,i){return n&&n.type.lastIndexOf(i+".xml")>-1}var s=function(){this.add("string_dquotes","insertion",function(n,i,o,e,l){if(l=='"'||l=="'"){var r=l,c=e.doc.getTextRange(o.getSelectionRange());if(c!==""&&c!=="'"&&c!='"'&&o.getWrapBehavioursEnabled())return{text:r+c+r,selection:!1};var u=o.getCursorPosition(),p=e.doc.getLine(u.row),f=p.substring(u.column,u.column+1),_=new d(e,u.row,u.column),v=_.getCurrentToken();if(f==r&&(t(v,"attribute-value")||t(v,"string")))return{text:"",selection:[1,1]};if(v||(v=_.stepBackward()),!v)return;for(;t(v,"tag-whitespace")||t(v,"whitespace");)v=_.stepBackward();var b=!f||f.match(/\s/);if(t(v,"attribute-equals")&&(b||f==">")||t(v,"decl-attribute-equals")&&(b||f=="?"))return{text:r+r,selection:[1,1]}}}),this.add("string_dquotes","deletion",function(n,i,o,e,l){var r=e.doc.getTextRange(l);if(!l.isMultiLine()&&(r=='"'||r=="'")){var c=e.doc.getLine(l.start.row),u=c.substring(l.start.column+1,l.start.column+2);if(u==r)return l.end.column++,l}}),this.add("autoclosing","insertion",function(n,i,o,e,l){if(l==">"){var r=o.getSelectionRange().start,c=new d(e,r.row,r.column),u=c.getCurrentToken()||c.stepBackward();if(!u||!(t(u,"tag-name")||t(u,"tag-whitespace")||t(u,"attribute-name")||t(u,"attribute-equals")||t(u,"attribute-value"))||t(u,"reference.attribute-value"))return;if(t(u,"attribute-value")){var p=c.getCurrentTokenColumn()+u.value.length;if(r.column<p)return;if(r.column==p){var f=c.stepForward();if(f&&t(f,"attribute-value"))return;c.stepBackward()}}if(/^\s*>/.test(e.getLine(r.row).slice(r.column)))return;for(;!t(u,"tag-name");)if(u=c.stepBackward(),u.value=="<"){u=c.stepForward();break}var _=c.getCurrentTokenRow(),v=c.getCurrentTokenColumn();if(t(c.stepBackward(),"end-tag-open"))return;var b=u.value;return _==r.row&&(b=b.substring(0,r.column-v)),this.voidElements.hasOwnProperty(b.toLowerCase())?void 0:{text:"></"+b+">",selection:[1,1]}}}),this.add("autoindent","insertion",function(n,i,o,e,l){if(l==`
|
|
`){var r=o.getCursorPosition(),c=e.getLine(r.row),u=new d(e,r.row,r.column),p=u.getCurrentToken();if(p&&p.type.indexOf("tag-close")!==-1){if(p.value=="/>")return;for(;p&&p.type.indexOf("tag-name")===-1;)p=u.stepBackward();if(!p)return;var f=p.value,_=u.getCurrentTokenRow();if(p=u.stepBackward(),!p||p.type.indexOf("end-tag")!==-1)return;if(this.voidElements&&!this.voidElements[f]){var v=e.getTokenAt(r.row,r.column+1),c=e.getLine(_),b=this.$getIndent(c),R=b+e.getTabString();return v&&v.value==="</"?{text:`
|
|
`+R+`
|
|
`+b,selection:[1,R.length,1,R.length]}:{text:`
|
|
`+R}}}}})};x.inherits(s,m),h.XmlBehaviour=s}),ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(g,h,k){"use strict";var x=g("../../lib/oop"),m=g("../../range").Range,d=g("./fold_mode").FoldMode,a=h.FoldMode=function(n,i){d.call(this),this.voidElements=n||{},this.optionalEndTags=x.mixin({},this.voidElements),i&&x.mixin(this.optionalEndTags,i)};x.inherits(a,d);var t=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function s(n,i){return n.type.lastIndexOf(i+".xml")>-1}(function(){this.getFoldWidget=function(n,i,o){var e=this._getFirstTagInLine(n,o);return e?e.closing||!e.tagName&&e.selfClosing?i==="markbeginend"?"end":"":!e.tagName||e.selfClosing||this.voidElements.hasOwnProperty(e.tagName.toLowerCase())||this._findEndTagInLine(n,o,e.tagName,e.end.column)?"":"start":this.getCommentFoldWidget(n,o)},this.getCommentFoldWidget=function(n,i){return/comment/.test(n.getState(i))&&/<!-/.test(n.getLine(i))?"start":""},this._getFirstTagInLine=function(n,i){for(var o=n.getTokens(i),e=new t,l=0;l<o.length;l++){var r=o[l];if(s(r,"tag-open")){if(e.end.column=e.start.column+r.value.length,e.closing=s(r,"end-tag-open"),r=o[++l],!r)return null;for(e.tagName=r.value,e.end.column+=r.value.length,l++;l<o.length;l++)if(r=o[l],e.end.column+=r.value.length,s(r,"tag-close")){e.selfClosing=r.value=="/>";break}return e}else if(s(r,"tag-close"))return e.selfClosing=r.value=="/>",e;e.start.column+=r.value.length}return null},this._findEndTagInLine=function(n,i,o,e){for(var l=n.getTokens(i),r=0,c=0;c<l.length;c++){var u=l[c];if(r+=u.value.length,!(r<e)&&s(u,"end-tag-open")&&(u=l[c+1],u&&u.value==o))return!0}return!1},this.getFoldWidgetRange=function(n,i,o){var e=n.getMatchingTags({row:o,column:0});return e?new m(e.openTag.end.row,e.openTag.end.column,e.closeTag.start.row,e.closeTag.start.column):this.getCommentFoldWidget(n,o)&&n.getCommentFoldRange(o,n.getLine(o).length)}}).call(a.prototype)}),ace.define("ace/mode/xml",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/xml_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/xml","ace/worker/worker_client"],function(g,h,k){"use strict";var x=g("../lib/oop"),m=g("../lib/lang"),d=g("./text").Mode,a=g("./xml_highlight_rules").XmlHighlightRules,t=g("./behaviour/xml").XmlBehaviour,s=g("./folding/xml").FoldMode,n=g("../worker/worker_client").WorkerClient,i=function(){this.HighlightRules=a,this.$behaviour=new t,this.foldingRules=new s};x.inherits(i,d),function(){this.voidElements=m.arrayToMap([]),this.blockComment={start:"<!--",end:"-->"},this.createWorker=function(o){var e=new n(["ace"],"ace/mode/xml_worker","Worker");return e.attachToDocument(o.getDocument()),e.on("error",function(l){o.setAnnotations(l.data)}),e.on("terminate",function(){o.clearAnnotations()}),e},this.$id="ace/mode/xml"}.call(i.prototype),h.Mode=i}),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(g,h,k){"use strict";var x=g("../lib/oop"),m=g("./text_highlight_rules").TextHighlightRules,d=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},d.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};x.inherits(d,m),d.getTagRule=function(a){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},d.getStartRule=function(a){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:a}},d.getEndRule=function(a){return{token:"comment.doc",regex:"\\*\\/",next:a}},h.DocCommentHighlightRules=d}),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(g,h,k){"use strict";var x=g("../lib/oop"),m=g("./doc_comment_highlight_rules").DocCommentHighlightRules,d=g("./text_highlight_rules").TextHighlightRules,a="[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*",t=function(i){var o=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",l="\\\\(?: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:[m.getStartRule("doc-start"),n("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:"("+a+")(\\.)(prototype)(\\.)("+a+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\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:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function\\*?)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function\\*?)(\\s+)("+a+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:`from(?=\\s*('|"))`},{token:"keyword",regex:"(?:"+e+")\\b",next:"start"},{token:"support.constant",regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:o,regex:a},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function\\*?)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:a},{regex:"",token:"empty",next:"no_regex"}],start:[m.getStartRule("doc-start"),n("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],default_parameter:[{token:"string",regex:"'(?=.)",push:[{token:"string",regex:"'|$",next:"pop"},{include:"qstring"}]},{token:"string",regex:'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{include:"qqstring"}]},{token:"constant.language",regex:"null|Infinity|NaN|undefined"},{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:"punctuation.operator",regex:",",next:"function_arguments"},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],function_arguments:[n("function_arguments"),{token:"variable.parameter",regex:a},{token:"punctuation.operator",regex:","},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:l},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:l},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},(!i||!i.noES6)&&(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(r,c,u){if(this.next=r=="{"?this.nextState:"",r=="{"&&u.length)u.unshift("start",c);else if(r=="}"&&u.length&&(u.shift(),this.next=u.shift(),this.next.indexOf("string")!=-1||this.next.indexOf("jsx")!=-1))return"paren.quasi.end";return r=="{"?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:l},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]},{token:["variable.parameter","text"],regex:"("+a+")(\\s*)(?=\\=>)"},{token:"paren.lparen",regex:"(\\()(?=.+\\s*=>)",next:"function_arguments"},{token:"variable.language",regex:"(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"}),this.$rules.function_arguments.unshift({token:"keyword.operator",regex:"=",next:"default_parameter"},{token:"keyword.operator",regex:"\\.{3}"}),this.$rules.property.unshift({token:"support.function",regex:"(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"},{token:"constant.language",regex:"(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"}),(!i||i.jsx!=!1)&&s.call(this)),this.embedRules(m,"doc-",[m.getEndRule("no_regex")]),this.normalizeRules()};x.inherits(t,d);function s(){var i=a.replace("\\d","\\d\\-"),o={onMatch:function(l,r,c){var u=l.charAt(1)=="/"?2:1;return u==1?(r!=this.nextState?c.unshift(this.next,this.nextState,0):c.unshift(this.next),c[2]++):u==2&&r==this.nextState&&(c[1]--,(!c[1]||c[1]<0)&&(c.shift(),c.shift())),[{type:"meta.tag.punctuation."+(u==1?"":"end-")+"tag-open.xml",value:l.slice(0,u)},{type:"meta.tag.tag-name.xml",value:l.substr(u)}]},regex:"</?"+i+"",next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(o);var e={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[e,o,{include:"reference"},{defaultToken:"string"}],this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(l,r,c){return r==c[0]&&c.shift(),l.length==2&&(c[0]==this.nextState&&c[1]--,(!c[1]||c[1]<0)&&c.splice(0,2)),this.next=c[0]||"start",[{type:this.token,value:l}]},nextState:"jsx"},e,n("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:i},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},o],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function n(i){return[{token:"comment",regex:/\/\*/,next:[m.getTagRule(),{token:"comment",regex:"\\*\\/",next:i||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[m.getTagRule(),{token:"comment",regex:"$|^",next:i||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}h.JavaScriptHighlightRules=t}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(g,h,k){"use strict";var x=g("../range").Range,m=function(){};(function(){this.checkOutdent=function(d,a){return/^\s+$/.test(d)?/^\s*\}/.test(a):!1},this.autoOutdent=function(d,a){var t=d.getLine(a),s=t.match(/^(\s*\})/);if(!s)return 0;var n=s[1].length,i=d.findMatchingBracket({row:a,column:n});if(!i||i.row==a)return 0;var o=this.$getIndent(d.getLine(i.row));d.replace(new x(a,0,a,n-1),o)},this.$getIndent=function(d){return d.match(/^\s*/)[0]}}).call(m.prototype),h.MatchingBraceOutdent=m}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(g,h,k){"use strict";var x=g("../../lib/oop"),m=g("../../range").Range,d=g("./fold_mode").FoldMode,a=h.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};x.inherits(a,d),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(t,s,n){var i=t.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var o=this._getFoldWidgetBase(t,s,n);return!o&&this.startRegionRe.test(i)?"start":o},this.getFoldWidgetRange=function(t,s,n,i){var o=t.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(t,o,n);var e=o.match(this.foldingStartMarker);if(e){var l=e.index;if(e[1])return this.openingBracketBlock(t,e[1],n,l);var r=t.getCommentFoldRange(n,l+e[0].length,1);return r&&!r.isMultiLine()&&(i?r=this.getSectionRange(t,n):s!="all"&&(r=null)),r}if(s!=="markbegin"){var e=o.match(this.foldingStopMarker);if(e){var l=e.index+e[0].length;return e[1]?this.closingBracketBlock(t,e[1],n,l):t.getCommentFoldRange(n,l,-1)}}},this.getSectionRange=function(t,s){var n=t.getLine(s),i=n.search(/\S/),o=s,e=n.length;s=s+1;for(var l=s,r=t.getLength();++s<r;){n=t.getLine(s);var c=n.search(/\S/);if(c!==-1){if(i>c)break;var u=this.getFoldWidgetRange(t,"all",s);if(u){if(u.start.row<=o)break;if(u.isMultiLine())s=u.end.row;else if(i==c)break}l=s}}return new m(o,e,l,t.getLine(l).length)},this.getCommentRegionBlock=function(t,s,n){for(var i=s.search(/\s*$/),o=t.getLength(),e=n,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,r=1;++n<o;){s=t.getLine(n);var c=l.exec(s);if(!!c&&(c[1]?r--:r++,!r))break}var u=n;if(u>e)return new m(e,i,u,s.length)}}.call(a.prototype)}),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(g,h,k){"use strict";var x=g("../lib/oop"),m=g("./text").Mode,d=g("./javascript_highlight_rules").JavaScriptHighlightRules,a=g("./matching_brace_outdent").MatchingBraceOutdent,t=g("../worker/worker_client").WorkerClient,s=g("./behaviour/cstyle").CstyleBehaviour,n=g("./folding/cstyle").FoldMode,i=function(){this.HighlightRules=d,this.$outdent=new a,this.$behaviour=new s,this.foldingRules=new n};x.inherits(i,m),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.$pairQuotesAfter={"`":/\w/},this.getNextLineIndent=function(o,e,l){var r=this.$getIndent(e),c=this.getTokenizer().getLineTokens(e,o),u=c.tokens,p=c.state;if(u.length&&u[u.length-1].type=="comment")return r;if(o=="start"||o=="no_regex"){var f=e.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);f&&(r+=l)}else if(o=="doc-start"){if(p=="start"||p=="no_regex")return"";var f=e.match(/^\s*(\/?)\*/);f&&(f[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(o,e,l){return this.$outdent.checkOutdent(e,l)},this.autoOutdent=function(o,e,l){this.$outdent.autoOutdent(e,l)},this.createWorker=function(o){var e=new t(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return e.attachToDocument(o.getDocument()),e.on("annotate",function(l){o.setAnnotations(l.data)}),e.on("terminate",function(){o.clearAnnotations()}),e},this.$id="ace/mode/javascript",this.snippetFileId="ace/snippets/javascript"}.call(i.prototype),h.Mode=i}),ace.define("ace/mode/svg_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules"],function(g,h,k){"use strict";var x=g("../lib/oop"),m=g("./javascript_highlight_rules").JavaScriptHighlightRules,d=g("./xml_highlight_rules").XmlHighlightRules,a=function(){d.call(this),this.embedTagRules(m,"js-","script"),this.normalizeRules()};x.inherits(a,d),h.SvgHighlightRules=a}),ace.define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(g,h,k){"use strict";var x=g("../../lib/oop"),m=g("./fold_mode").FoldMode,d=h.FoldMode=function(a,t){this.defaultMode=a,this.subModes=t};x.inherits(d,m),function(){this.$getMode=function(a){typeof a!="string"&&(a=a[0]);for(var t in this.subModes)if(a.indexOf(t)===0)return this.subModes[t];return null},this.$tryMode=function(a,t,s,n){var i=this.$getMode(a);return i?i.getFoldWidget(t,s,n):""},this.getFoldWidget=function(a,t,s){return this.$tryMode(a.getState(s-1),a,t,s)||this.$tryMode(a.getState(s),a,t,s)||this.defaultMode.getFoldWidget(a,t,s)},this.getFoldWidgetRange=function(a,t,s){var n=this.$getMode(a.getState(s-1));return(!n||!n.getFoldWidget(a,t,s))&&(n=this.$getMode(a.getState(s))),(!n||!n.getFoldWidget(a,t,s))&&(n=this.defaultMode),n.getFoldWidgetRange(a,t,s)}}.call(d.prototype)}),ace.define("ace/mode/svg",["require","exports","module","ace/lib/oop","ace/mode/xml","ace/mode/javascript","ace/mode/svg_highlight_rules","ace/mode/folding/mixed","ace/mode/folding/xml","ace/mode/folding/cstyle"],function(g,h,k){"use strict";var x=g("../lib/oop"),m=g("./xml").Mode,d=g("./javascript").Mode,a=g("./svg_highlight_rules").SvgHighlightRules,t=g("./folding/mixed").FoldMode,s=g("./folding/xml").FoldMode,n=g("./folding/cstyle").FoldMode,i=function(){m.call(this),this.HighlightRules=a,this.createModeDelegates({"js-":d}),this.foldingRules=new t(new s,{"js-":new n})};x.inherits(i,m),function(){this.getNextLineIndent=function(o,e,l){return this.$getIndent(e)},this.$id="ace/mode/svg"}.call(i.prototype),h.Mode=i}),function(){ace.require(["ace/mode/svg"],function(g){y&&(y.exports=g)})}()}}]);
|