You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Shixuns__Edit__body__War...

110 lines
658 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[247,5,6,9,13],{"+QRC":function(xe,ye,u){"use strict";var we=u("E9nw"),Ee={"text/plain":"Text","text/html":"Url",default:"Text"},ze="Copy to clipboard: #{key}, Enter";function Oe(Ae){var ge=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return Ae.replace(/#{\s*key\s*}/g,ge)}function P(Ae,ge){var _e,he,M,w,E,s,h=!1;ge||(ge={}),_e=ge.debug||!1;try{M=we(),w=document.createRange(),E=document.getSelection(),s=document.createElement("span"),s.textContent=Ae,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(f){if(f.stopPropagation(),ge.format)if(f.preventDefault(),typeof f.clipboardData=="undefined"){_e&&console.warn("unable to use e.clipboardData"),_e&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var x=Ee[ge.format]||Ee.default;window.clipboardData.setData(x,Ae)}else f.clipboardData.clearData(),f.clipboardData.setData(ge.format,Ae);ge.onCopy&&(f.preventDefault(),ge.onCopy(f.clipboardData))}),document.body.appendChild(s),w.selectNodeContents(s),E.addRange(w);var l=document.execCommand("copy");if(!l)throw new Error("copy command was unsuccessful");h=!0}catch(f){_e&&console.error("unable to copy using execCommand: ",f),_e&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(ge.format||"text",Ae),ge.onCopy&&ge.onCopy(window.clipboardData),h=!0}catch(x){_e&&console.error("unable to copy using clipboardData: ",x),_e&&console.error("falling back to prompt"),he=Oe("message"in ge?ge.message:ze),window.prompt(he,Ae)}}finally{E&&(typeof E.removeRange=="function"?E.removeRange(w):E.removeAllRanges()),s&&document.body.removeChild(s),M()}return h}xe.exports=P},"+ua5":function(xe,ye,u){},"/GNS":function(xe,ye,u){xe.exports=u.p+"static/search1.c4136dd4.png"},"1ZF9":function(xe,ye,u){xe.exports=u.p+"static/Authorize.cc9c212f.png"},"4qgm":function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAwCAYAAABE1blzAAAIeUlEQVRoQ72aa2wU1xXHf2dm1jYEBClJGgofIFJLU0W04AdQWgJSW0UprZRIpB/aJBTxStIShWchJvbytA2lBCKKeajhQ5s2tGpFK1G1UowqKNjYBkraJCqqiCDEDZSncezdmTnVnd2FxaztmfWaa632w9459/7v75xzz71j4R61ssM6TkrYqMon3qesPjFNLt6LoWWgB5n1ttr/GcMCLKrE5qFgPJf3gRXN5XJgoMcfUIFlR/QxiqgVhyfVA/MxTWKgPuZvL51UtUyTjwdK6IAI/NLbWlQylhctWC0xPuN35Zi+gFUMfpIzoqxsLpffDoTIggssb9KvqLBJYnxD3dvUepq8OIAPquxzfCobJ8v5QgotmMAxDVoyYjAvi81KcRiWk1qPKm/RPIvHqy2T5FeFElkQgeVNWq42m8TmcU0G8ZVXC2ia5vOW47Lq2BQ5m5ehrIf6JbC0WQdbsMSH5ZbNED/R3+mYDHSL5kcqVLZOZB8imq/lvAWWHdWpOGySIqYEwvKk1mtsmtl5/M72WNk4Wf6dj8jIAqce1qGJEparsgSHQVoIar3M3GRadWnDp+rb5eyJi0RaykgCy47q9DS1srDUvLRzme+YFXhg5CY2YD4uf/RdVrROkffCGgk13vQTOrzdZZUKi8SmOCy1pMLUYfCDkfD7T+Cvl1PTckKNereENM1L6rFmaAc/PzRD3L6E9jlUabN+Swj2tfFB6o8Q7h0e/GQMPDcy9djBS7DjPJzthOJ+0lSPvzguyxonyz96E9mjwIpGHeGZ+lFYiEXMpP+ozQhcPgZmj7z95MUE1H8Ef7gIhnCszyXOPWqa5lWUDVcvsu3Mk5KrXsodEhUtOtNT6qwYj0allj2dXAIzvx+5CtvOwT9v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44T2IikiOP1Uqp7/IYDePeElFvXhwAY2nTqJCXkTiZ1XgBcT9jmplHxYEd4SR04kRER0ul0ur169dLWKVqYb7/IpVSjHB9IctSShzQWq9JQySMeyG/MI1ewhxYnqeYq2itnePYGPMmgO6iyAP4v5gTwBzl9Cta68RdnDHmWQAtz3WyOjRTTodZYSsRvZoRbLvWemeU7vDw8P2e532eETtSjZmf931/d31HtkguHdIWUw3oWmttm60NDQ1dVS6XZat6V8EOTMplitwpNJ5K7ALwQg5Da7XWszbnxphRAE/lwIxSnQnd5mMVGYWsZ///MvMK3/ePiFVjjFyADLSBvCyo0vuzj1VCo3J5kflgi5lPE9EKIprHzFIqtKO1PtiqWzLGyIb6oRyW5ZynBOCOHBhRqmNa61nHnhedjQZBcDsRycS7pg0E8kD+LZse3/d/agS5/I7XG0JpI4B9ebqsQN1NWuuWly2X7xVTvfestXfXarWDRHRTgT2aCMXMv3metzJp/5F4SymWhoaG5pfLZVlpL9k1a7VaVRs2bEi89HZyIOwu2b1tukQX3TL3OHGYsjw1GBwc7Oro6Kg7UthTA7mhn5yc3NfX1ycPQ5xbmhGYBSqPPYhINkMPAJDHHrJ4pWlTAOShx1FmvnSPPVoxbHxu43neAmauP7eRf2nTz2yI6FStViv0uc1/ndZCH8rgOooAAAAASUVORK5CYII="},"5VLF":function(xe,ye,u){"use strict";var we,Ee;function ze(Oe,P,Ae){var ge=function(_e,he){return Oe.js_beautify(_e,he)};return ge.js=Oe.js_beautify,ge.css=P.css_beautify,ge.html=Ae.html_beautify,ge.js_beautify=Oe.js_beautify,ge.css_beautify=P.css_beautify,ge.html_beautify=Ae.html_beautify,ge}!(we=[u("6UM0"),u("TXwP"),u("psGv")],Ee=function(Oe,P,Ae){return ze(Oe,P,Ae)}.apply(ye,we),Ee!==void 0&&(xe.exports=Ee))},"6UM0":function(xe,ye,u){var we,Ee;(function(){var ze;(function(){"use strict";var P=[function(he,M,w){var E=w(1).Beautifier,s=w(5).Options;function h(l,f){var x=new E(l,f);return x.beautify()}he.exports=h,he.exports.defaultOptions=function(){return new s}},function(he,M,w){var E=w(2).Output,s=w(3).Token,h=w(4),l=w(5).Options,f=w(7).Tokenizer,x=w(7).line_starters,K=w(7).positionable_operators,A=w(7).TOKEN;function D(c,O){return O.indexOf(c)!==-1}function ee(c){return c.replace(/^\s+/g,"")}function te(c){for(var O={},S=0;S<c.length;S++)O[c[S].replace(/-/g,"_")]=c[S];return O}function V(c,O){return c&&c.type===A.RESERVED&&c.text===O}function Y(c,O){return c&&c.type===A.RESERVED&&D(c.text,O)}var fe=["case","return","do","if","throw","else","await","break","continue","async"],N=["before-newline","after-newline","preserve-newline"],W=te(N),b=[W.before_newline,W.preserve_newline],ae={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function G(c,O){if(O.multiline_frame||O.mode===ae.ForInitializer||O.mode===ae.Conditional)return;c.remove_indent(O.start_line_index)}function C(c){c=c.replace(h.allLineBreaks,`
`);for(var O=[],S=c.indexOf(`
`);S!==-1;)O.push(c.substring(0,S)),c=c.substring(S+1),S=c.indexOf(`
`);return c.length&&O.push(c),O}function q(c){return c===ae.ArrayLiteral}function Le(c){return D(c,[ae.Expression,ae.ForInitializer,ae.Conditional])}function I(c,O){for(var S=0;S<c.length;S++){var oe=c[S].trim();if(oe.charAt(0)!==O)return!1}return!0}function Z(c,O){for(var S=0,oe=c.length,ue;S<oe;S++)if(ue=c[S],ue&&ue.indexOf(O)!==0)return!1;return!0}function L(c,O){O=O||{},this._source_text=c||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new l(O)}L.prototype.create_flags=function(c,O){var S=0;c&&(S=c.indentation_level,!this._output.just_added_newline()&&c.line_indent_level>S&&(S=c.line_indent_level));var oe={mode:O,parent:c,last_token:c?c.last_token:new s(A.START_BLOCK,""),last_word:c?c.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:S,alignment:0,line_indent_level:c?c.line_indent_level:S,start_line_index:this._output.get_line_number(),ternary_depth:0};return oe},L.prototype._reset=function(c){var O=c.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new E(this._options,O),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ae.BlockStatement);var S=new f(c,this._options);return this._tokens=S.tokenize(),c},L.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var c,O=this._reset(this._source_text),S=this._options.eol;this._options.eol==="auto"&&(S=`
`,O&&h.lineBreak.test(O||"")&&(S=O.match(h.lineBreak)[0]));for(var oe=this._tokens.next();oe;)this.handle_token(oe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=oe,oe=this._tokens.next();return c=this._output.get_code(S),c},L.prototype.handle_token=function(c,O){c.type===A.START_EXPR?this.handle_start_expr(c):c.type===A.END_EXPR?this.handle_end_expr(c):c.type===A.START_BLOCK?this.handle_start_block(c):c.type===A.END_BLOCK?this.handle_end_block(c):c.type===A.WORD?this.handle_word(c):c.type===A.RESERVED?this.handle_word(c):c.type===A.SEMICOLON?this.handle_semicolon(c):c.type===A.STRING?this.handle_string(c):c.type===A.EQUALS?this.handle_equals(c):c.type===A.OPERATOR?this.handle_operator(c):c.type===A.COMMA?this.handle_comma(c):c.type===A.BLOCK_COMMENT?this.handle_block_comment(c,O):c.type===A.COMMENT?this.handle_comment(c,O):c.type===A.DOT?this.handle_dot(c):c.type===A.EOF?this.handle_eof(c):c.type===A.UNKNOWN?this.handle_unknown(c,O):this.handle_unknown(c,O)},L.prototype.handle_whitespace_and_comments=function(c,O){var S=c.newlines,oe=this._options.keep_array_indentation&&q(this._flags.mode);if(c.comments_before)for(var ue=c.comments_before.next();ue;)this.handle_whitespace_and_comments(ue,O),this.handle_token(ue,O),ue=c.comments_before.next();if(oe)for(var pe=0;pe<S;pe+=1)this.print_newline(pe>0,O);else if(this._options.max_preserve_newlines&&S>this._options.max_preserve_newlines&&(S=this._options.max_preserve_newlines),this._options.preserve_newlines&&S>1){this.print_newline(!1,O);for(var re=1;re<S;re+=1)this.print_newline(!0,O)}};var y=["async","break","continue","return","throw","yield"];L.prototype.allow_wrap_or_preserved_newline=function(c,O){if(O=O===void 0?!1:O,this._output.just_added_newline())return;var S=this._options.preserve_newlines&&c.newlines||O,oe=D(this._flags.last_token.text,K)||D(c.text,K);if(oe){var ue=D(this._flags.last_token.text,K)&&D(this._options.operator_position,b)||D(c.text,K);S=S&&ue}if(S)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(Y(this._flags.last_token,y))return;this._output.set_wrap_point()}},L.prototype.print_newline=function(c,O){if(!O&&(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")))for(var S=this._tokens.peek();this._flags.mode===ae.Statement&&!(this._flags.if_block&&V(S,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(c)&&(this._flags.multiline_frame=!0)},L.prototype.print_token_line_indentation=function(c){this._output.just_added_newline()&&(this._options.keep_array_indentation&&c.newlines&&(c.text==="["||q(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(c.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},L.prototype.print_token=function(c){if(this._output.raw){this._output.add_raw_token(c);return}if(this._options.comma_first&&c.previous&&c.previous.type===A.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var O=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(O),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(c),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(c),this._output.non_breaking_space=!0,this._output.add_token(c.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},L.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},L.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},L.prototype.set_mode=function(c){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,c),this._flags=this.create_flags(this._previous_flags,c),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},L.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===ae.Statement&&G(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},L.prototype.start_of_object_property=function(){return this._flags.parent.mode===ae.ObjectLiteral&&this._flags.mode===ae.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Y(this._flags.last_token,["get","set"]))},L.prototype.start_of_statement=function(c){var O=!1;return O=O||Y(this._flags.last_token,["var","let","const"])&&c.type===A.WORD,O=O||V(this._flags.last_token,"do"),O=O||!(this._flags.parent.mode===ae.ObjectLiteral&&this._flags.mode===ae.Statement)&&Y(this._flags.last_token,y)&&!c.newlines,O=O||V(this._flags.last_token,"else")&&!(V(c,"if")&&!c.comments_before),O=O||this._flags.last_token.type===A.END_EXPR&&(this._previous_flags.mode===ae.ForInitializer||this._previous_flags.mode===ae.Conditional),O=O||this._flags.last_token.type===A.WORD&&this._flags.mode===ae.BlockStatement&&!this._flags.in_case&&!(c.text==="--"||c.text==="++")&&this._last_last_text!=="function"&&c.type!==A.WORD&&c.type!==A.RESERVED,O=O||this._flags.mode===ae.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Y(this._flags.last_token,["get","set"])),O?(this.set_mode(ae.Statement),this.indent(),this.handle_whitespace_and_comments(c,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(c,Y(c,["do","for","if","while"])),!0):!1},L.prototype.handle_start_expr=function(c){this.start_of_statement(c)||this.handle_whitespace_and_comments(c);var O=ae.Expression;if(c.text==="["){if(this._flags.last_token.type===A.WORD||this._flags.last_token.text===")"){Y(this._flags.last_token,x)&&(this._output.space_before_token=!0),this.print_token(c),this.set_mode(O),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}O=ae.ArrayLiteral,q(this._flags.mode)&&((this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline())),D(this._flags.last_token.type,[A.START_EXPR,A.END_EXPR,A.WORD,A.OPERATOR,A.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===A.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,O=ae.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,O=ae.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&c.whitespace_before===""?this._output.space_before_token=!1:(D(this._flags.last_token.text,x)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(c);else if(this._flags.last_token.type===A.WORD){this._output.space_before_token=!1;var S=this._tokens.peek(-3);if(this._options.space_after_named_function&&S){var oe=this._tokens.peek(-4);Y(S,["async","function"])||S.text==="*"&&Y(oe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ae.ObjectLiteral?(S.text==="{"||S.text===","||S.text==="*"&&(oe.text==="{"||oe.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(c);(this._flags.last_token.type===A.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ae.ObjectLiteral&&D(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===A.START_BLOCK?this.print_newline():(this._flags.last_token.type===A.END_EXPR||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===A.COMMA)&&this.allow_wrap_or_preserved_newline(c,c.newlines),this.print_token(c),this.set_mode(O),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},L.prototype.handle_end_expr=function(c){for(;this._flags.mode===ae.Statement;)this.restore_mode();this.handle_whitespace_and_comments(c),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(c,c.text==="]"&&q(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===A.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(c),this.restore_mode(),G(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ae.Conditional&&(this._previous_flags.mode=ae.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},L.prototype.handle_start_block=function(c){this.handle_whitespace_and_comments(c);var O=this._tokens.peek(),S=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===A.END_EXPR?(this.set_mode(ae.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ae.BlockStatement):S&&(D(S.text,[":",","])&&D(O.type,[A.STRING,A.WORD,A.RESERVED])||D(O.text,["get","set","..."])&&D(S.type,[A.WORD,A.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(S.text,[":",","])?this.set_mode(ae.BlockStatement):this.set_mode(ae.ObjectLiteral):this._flags.last_token.type===A.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ae.BlockStatement):D(this._flags.last_token.type,[A.EQUALS,A.START_EXPR,A.COMMA,A.OPERATOR])||Y(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ae.ObjectLiteral):this.set_mode(ae.BlockStatement),this._flags.last_token&&(Y(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0));var oe=!O.comments_before&&O.text==="}",ue=oe&&this._flags.last_word==="function"&&this._flags.last_token.type===A.END_EXPR;if(this._options.brace_preserve_inline){var pe=0,re=null;this._flags.inline_frame=!0;do if(pe+=1,re=this._tokens.peek(pe-1),re.newlines){this._flags.inline_frame=!1;break}while(re.type!==A.EOF&&!(re.type===A.END_BLOCK&&re.opened===c))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&c.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==A.OPERATOR&&(ue||this._flags.last_token.type===A.EQUALS||Y(this._flags.last_token,fe)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(q(this._previous_flags.mode)&&(this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.COMMA)&&((this._flags.last_token.type===A.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(c),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==A.OPERATOR&&this._flags.last_token.type!==A.START_EXPR&&(this._flags.last_token.type===A.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(c),this.indent(),!oe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},L.prototype.handle_end_block=function(c){for(this.handle_whitespace_and_comments(c);this._flags.mode===ae.Statement;)this.restore_mode();var O=this._flags.last_token.type===A.START_BLOCK;this._flags.inline_frame&&!O?this._output.space_before_token=!0:this._options.brace_style==="expand"?O||this.print_newline():O||(q(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(c)},L.prototype.handle_word=function(c){if(c.type===A.RESERVED){if(D(c.text,["set","get"])&&this._flags.mode!==ae.ObjectLiteral)c.type=A.WORD;else if(c.text==="import"&&D(this._tokens.peek().text,["(","."]))c.type=A.WORD;else if(D(c.text,["as","from"])&&!this._flags.import_block)c.type=A.WORD;else if(this._flags.mode===ae.ObjectLiteral){var O=this._tokens.peek();O.text===":"&&(c.type=A.WORD)}}if(this.start_of_statement(c)?Y(this._flags.last_token,["var","let","const"])&&c.type===A.WORD&&(this._flags.declaration_statement=!0):c.newlines&&!Le(this._flags.mode)&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==A.EQUALS&&(this._options.preserve_newlines||!Y(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(c),this.print_newline()):this.handle_whitespace_and_comments(c),this._flags.do_block&&!this._flags.do_while)if(V(c,"while")){this._output.space_before_token=!0,this.print_token(c),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&V(c,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ae.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&Y(c,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(c),this._flags.in_case=!0;return}if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(c)),V(c,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===A.OPERATOR))&&(!this._output.just_added_blankline()&&!c.comments_before&&(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD?Y(this._flags.last_token,["get","set","new","export"])||Y(this._flags.last_token,y)?this._output.space_before_token=!0:V(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===A.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(Le(this._flags.mode)||q(this._flags.mode))||this.print_newline(),this.print_token(c),this._flags.last_word=c.text;return}var S="NONE";if(this._flags.last_token.type===A.END_BLOCK?this._previous_flags.inline_frame?S="SPACE":Y(c,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&c.newlines?S="NEWLINE":(S="SPACE",this._output.space_before_token=!0):S="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&this._flags.mode===ae.BlockStatement?S="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&Le(this._flags.mode)?S="SPACE":this._flags.last_token.type===A.STRING?S="NEWLINE":this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ae.ObjectLiteral&&D(this._last_last_text,["{",","]))?S="SPACE":this._flags.last_token.type===A.START_BLOCK?this._flags.inline_frame?S="SPACE":S="NEWLINE":this._flags.last_token.type===A.END_EXPR&&(this._output.space_before_token=!0,S="NEWLINE"),Y(c,x)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?S="SPACE":S="NEWLINE"),Y(c,["else","catch","finally"]))if((!(this._flags.last_token.type===A.END_BLOCK&&this._previous_flags.mode===ae.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&c.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var oe=this._output.current_line;oe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else S==="NEWLINE"?Y(this._flags.last_token,fe)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&Y(c,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==A.END_EXPR?(this._flags.last_token.type!==A.START_EXPR||!Y(c,["var","let","const"]))&&this._flags.last_token.text!==":"&&(V(c,"if")&&V(c.previous,"else")?this._output.space_before_token=!0:this.print_newline()):Y(c,x)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&q(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():S==="SPACE"&&(this._output.space_before_token=!0);c.previous&&(c.previous.type===A.WORD||c.previous.type===A.RESERVED)&&(this._output.space_before_token=!0),this.print_token(c),this._flags.last_word=c.text,c.type===A.RESERVED&&(c.text==="do"?this._flags.do_block=!0:c.text==="if"?this._flags.if_block=!0:c.text==="import"?this._flags.import_block=!0:this._flags.import_block&&V(c,"from")&&(this._flags.import_block=!1))},L.prototype.handle_semicolon=function(c){this.start_of_statement(c)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(c);for(var O=this._tokens.peek();this._flags.mode===ae.Statement&&!(this._flags.if_block&&V(O,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(c)},L.prototype.handle_string=function(c){c.text.startsWith("`")&&c.newlines===0&&c.whitespace_before===""&&(c.previous.text===")"||this._flags.last_token.type===A.WORD)||(this.start_of_statement(c)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(c),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(c):c.text.startsWith("`")&&this._flags.last_token.type===A.END_EXPR&&(c.previous.text==="]"||c.previous.text===")")&&c.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(c)},L.prototype.handle_equals=function(c){this.start_of_statement(c)||this.handle_whitespace_and_comments(c),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(c),this._output.space_before_token=!0},L.prototype.handle_comma=function(c){this.handle_whitespace_and_comments(c,!0),this.print_token(c),this._output.space_before_token=!0,this._flags.declaration_statement?(Le(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(c)):this._flags.mode===ae.ObjectLiteral||this._flags.mode===ae.Statement&&this._flags.parent.mode===ae.ObjectLiteral?(this._flags.mode===ae.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(c)},L.prototype.handle_operator=function(c){var O=c.text==="*"&&(Y(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[A.START_BLOCK,A.COMMA,A.END_BLOCK,A.SEMICOLON])),S=D(c.text,["-","+"])&&(D(this._flags.last_token.type,[A.START_BLOCK,A.START_EXPR,A.EQUALS,A.OPERATOR])||D(this._flags.last_token.text,x)||this._flags.last_token.text===",");if(!this.start_of_statement(c)){var oe=!O;this.handle_whitespace_and_comments(c,oe)}if(c.text==="*"&&this._flags.last_token.type===A.DOT){this.print_token(c);return}if(c.text==="::"){this.print_token(c);return}if(this._flags.last_token.type===A.OPERATOR&&D(this._options.operator_position,b)&&this.allow_wrap_or_preserved_newline(c),c.text===":"&&this._flags.in_case){this.print_token(c),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==A.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var ue=!0,pe=!0,re=!1;if(c.text===":"?this._flags.ternary_depth===0?ue=!1:(this._flags.ternary_depth-=1,re=!0):c.text==="?"&&(this._flags.ternary_depth+=1),!S&&!O&&this._options.preserve_newlines&&D(c.text,K)){var H=c.text===":",z=H&&re,le=H&&!re;switch(this._options.operator_position){case W.before_newline:this._output.space_before_token=!le,this.print_token(c),(!H||z)&&this.allow_wrap_or_preserved_newline(c),this._output.space_before_token=!0;return;case W.after_newline:this._output.space_before_token=!0,!H||z?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(c):this._output.space_before_token=!1,this.print_token(c),this._output.space_before_token=!0;return;case W.preserve_newline:le||this.allow_wrap_or_preserved_newline(c),ue=!(this._output.just_added_newline()||le),this._output.space_before_token=ue,this.print_token(c),this._output.space_before_token=!0;return}}if(O){this.allow_wrap_or_preserved_newline(c),ue=!1;var X=this._tokens.peek();pe=X&&D(X.type,[A.WORD,A.RESERVED])}else if(c.text==="...")this.allow_wrap_or_preserved_newline(c),ue=this._flags.last_token.type===A.START_BLOCK,pe=!1;else if(D(c.text,["--","++","!","~"])||S){if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR)&&this.allow_wrap_or_preserved_newline(c),ue=!1,pe=!1,c.newlines&&(c.text==="--"||c.text==="++"||c.text==="~")){var ce=Y(this._flags.last_token,fe)&&c.newlines;ce&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ce,!0)}this._flags.last_token.text===";"&&Le(this._flags.mode)&&(ue=!0),this._flags.last_token.type===A.RESERVED?ue=!0:this._flags.last_token.type===A.END_EXPR?ue=!(this._flags.last_token.text==="]"&&(c.text==="--"||c.text==="++")):this._flags.last_token.type===A.OPERATOR&&(ue=D(c.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D(c.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(pe=!0)),(this._flags.mode===ae.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ae.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ue,this.print_token(c),this._output.space_before_token=pe},L.prototype.handle_block_comment=function(c,O){if(this._output.raw){this._output.add_raw_token(c),c.directives&&c.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(c.directives){this.print_newline(!1,O),this.print_token(c),c.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!h.newline.test(c.text)&&!c.newlines){this._output.space_before_token=!0,this.print_token(c),this._output.space_before_token=!0;return}else this.print_block_commment(c,O)},L.prototype.print_block_commment=function(c,O){var S=C(c.text),oe,ue=!1,pe=!1,re=c.whitespace_before,H=re.length;if(this.print_newline(!1,O),this.print_token_line_indentation(c),this._output.add_token(S[0]),this.print_newline(!1,O),S.length>1){for(S=S.slice(1),ue=I(S,"*"),pe=Z(S,re),ue&&(this._flags.alignment=1),oe=0;oe<S.length;oe++)ue?(this.print_token_line_indentation(c),this._output.add_token(ee(S[oe]))):pe&&S[oe]?(this.print_token_line_indentation(c),this._output.add_token(S[oe].substring(H))):(this._output.current_line.set_indent(-1),this._output.add_token(S[oe])),this.print_newline(!1,O);this._flags.alignment=0}},L.prototype.handle_comment=function(c,O){c.newlines?this.print_newline(!1,O):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(c),this.print_newline(!1,O)},L.prototype.handle_dot=function(c){this.start_of_statement(c)||this.handle_whitespace_and_comments(c,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),Y(this._flags.last_token,fe)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(c,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(c)},L.prototype.handle_unknown=function(c,O){this.print_token(c),c.text[c.text.length-1]===`
`&&this.print_newline(!1,O)},L.prototype.handle_eof=function(c){for(;this._flags.mode===ae.Statement;)this.restore_mode();this.handle_whitespace_and_comments(c)},he.exports.Beautifier=L},function(he){function M(s){this.__parent=s,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}M.prototype.clone_empty=function(){var s=new M(this.__parent);return s.set_indent(this.__indent_count,this.__alignment_count),s},M.prototype.item=function(s){return s<0?this.__items[this.__items.length+s]:this.__items[s]},M.prototype.has_match=function(s){for(var h=this.__items.length-1;h>=0;h--)if(this.__items[h].match(s))return!0;return!1},M.prototype.set_indent=function(s,h){this.is_empty()&&(this.__indent_count=s||0,this.__alignment_count=h||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},M.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},M.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},M.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var s=this.__parent.current_line;return s.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),s.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),s.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,s.__items[0]===" "&&(s.__items.splice(0,1),s.__character_count-=1),!0}return!1},M.prototype.is_empty=function(){return this.__items.length===0},M.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},M.prototype.push=function(s){this.__items.push(s);var h=s.lastIndexOf(`
`);h!==-1?this.__character_count=s.length-h:this.__character_count+=s.length},M.prototype.pop=function(){var s=null;return this.is_empty()||(s=this.__items.pop(),this.__character_count-=s.length),s},M.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},M.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},M.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},M.prototype.toString=function(){var s="";return this.is_empty()?this.__parent.indent_empty_lines&&(s=this.__parent.get_indent_string(this.__indent_count)):(s=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),s+=this.__items.join("")),s};function w(s,h){this.__cache=[""],this.__indent_size=s.indent_size,this.__indent_string=s.indent_char,s.indent_with_tabs||(this.__indent_string=new Array(s.indent_size+1).join(s.indent_char)),h=h||"",s.indent_level>0&&(h=new Array(s.indent_level+1).join(this.__indent_string)),this.__base_string=h,this.__base_string_length=h.length}w.prototype.get_indent_size=function(s,h){var l=this.__base_string_length;return h=h||0,s<0&&(l=0),l+=s*this.__indent_size,l+=h,l},w.prototype.get_indent_string=function(s,h){var l=this.__base_string;return h=h||0,s<0&&(s=0,l=""),h+=s*this.__indent_size,this.__ensure_cache(h),l+=this.__cache[h],l},w.prototype.__ensure_cache=function(s){for(;s>=this.__cache.length;)this.__add_column()},w.prototype.__add_column=function(){var s=this.__cache.length,h=0,l="";this.__indent_size&&s>=this.__indent_size&&(h=Math.floor(s/this.__indent_size),s-=h*this.__indent_size,l=new Array(h+1).join(this.__indent_string)),s&&(l+=new Array(s+1).join(" ")),this.__cache.push(l)};function E(s,h){this.__indent_cache=new w(s,h),this.raw=!1,this._end_with_newline=s.end_with_newline,this.indent_size=s.indent_size,this.wrap_line_length=s.wrap_line_length,this.indent_empty_lines=s.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new M(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}E.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},E.prototype.get_line_number=function(){return this.__lines.length},E.prototype.get_indent_string=function(s,h){return this.__indent_cache.get_indent_string(s,h)},E.prototype.get_indent_size=function(s,h){return this.__indent_cache.get_indent_size(s,h)},E.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},E.prototype.add_new_line=function(s){return this.is_empty()||!s&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},E.prototype.get_code=function(s){this.trim(!0);var h=this.current_line.pop();h&&(h[h.length-1]===`
`&&(h=h.replace(/\n+$/g,"")),this.current_line.push(h)),this._end_with_newline&&this.__add_outputline();var l=this.__lines.join(`
`);return s!==`
`&&(l=l.replace(/[\n]/g,s)),l},E.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},E.prototype.set_indent=function(s,h){return s=s||0,h=h||0,this.next_line.set_indent(s,h),this.__lines.length>1?(this.current_line.set_indent(s,h),!0):(this.current_line.set_indent(),!1)},E.prototype.add_raw_token=function(s){for(var h=0;h<s.newlines;h++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(s.whitespace_before),this.current_line.push(s.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},E.prototype.add_token=function(s){this.__add_space_before_token(),this.current_line.push(s),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},E.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},E.prototype.remove_indent=function(s){for(var h=this.__lines.length;s<h;)this.__lines[s]._remove_indent(),s++;this.current_line._remove_wrap_indent()},E.prototype.trim=function(s){for(s=s===void 0?!1:s,this.current_line.trim();s&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},E.prototype.just_added_newline=function(){return this.current_line.is_empty()},E.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},E.prototype.ensure_empty_line_above=function(s,h){for(var l=this.__lines.length-2;l>=0;){var f=this.__lines[l];if(f.is_empty())break;if(f.item(0).indexOf(s)!==0&&f.item(-1)!==h){this.__lines.splice(l+1,0,new M(this)),this.previous_line=this.__lines[this.__lines.length-2];break}l--}},he.exports.Output=E},function(he){function M(w,E,s,h){this.type=w,this.text=E,this.comments_before=null,this.newlines=s||0,this.whitespace_before=h||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}he.exports.Token=M},function(he,M){var w="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",E="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",s="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0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-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",h="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",l="(?:\\\\u[0-9a-fA-F]{4}|["+w+s+"])",f="(?:\\\\u[0-9a-fA-F]{4}|["+E+s+h+"])*";M.identifier=new RegExp(l+f,"g"),M.identifierStart=new RegExp(l),M.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+E+s+h+"])+");var x=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;M.newline=/[\n\r\u2028\u2029]/,M.lineBreak=new RegExp(`\r
|`+M.newline.source),M.allLineBreaks=new RegExp(M.lineBreak.source,"g")},function(he,M,w){var E=w(6).Options,s=["before-newline","after-newline","preserve-newline"];function h(l){E.call(this,l,"js");var f=this.raw_options.brace_style||null;f==="expand-strict"?this.raw_options.brace_style="expand":f==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var x=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var K=0;K<x.length;K++)x[K]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=x[K];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",s),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}h.prototype=new E,he.exports.Options=h},function(he){function M(s,h){this.raw_options=w(s,h),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}M.prototype._get_array=function(s,h){var l=this.raw_options[s],f=h||[];return typeof l=="object"?l!==null&&typeof l.concat=="function"&&(f=l.concat()):typeof l=="string"&&(f=l.split(/[^a-zA-Z0-9_\/\-]+/)),f},M.prototype._get_boolean=function(s,h){var l=this.raw_options[s],f=l===void 0?!!h:!!l;return f},M.prototype._get_characters=function(s,h){var l=this.raw_options[s],f=h||"";return typeof l=="string"&&(f=l.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),f},M.prototype._get_number=function(s,h){var l=this.raw_options[s];h=parseInt(h,10),isNaN(h)&&(h=0);var f=parseInt(l,10);return isNaN(f)&&(f=h),f},M.prototype._get_selection=function(s,h,l){var f=this._get_selection_list(s,h,l);if(f.length!==1)throw new Error("Invalid Option Value: The option '"+s+`' can only be one of the following values:
`+h+`
You passed in: '`+this.raw_options[s]+"'");return f[0]},M.prototype._get_selection_list=function(s,h,l){if(!h||h.length===0)throw new Error("Selection list cannot be empty.");if(l=l||[h[0]],!this._is_valid_selection(l,h))throw new Error("Invalid Default Value!");var f=this._get_array(s,l);if(!this._is_valid_selection(f,h))throw new Error("Invalid Option Value: The option '"+s+`' can contain only the following values:
`+h+`
You passed in: '`+this.raw_options[s]+"'");return f},M.prototype._is_valid_selection=function(s,h){return s.length&&h.length&&!s.some(function(l){return h.indexOf(l)===-1})};function w(s,h){var l={};s=E(s);var f;for(f in s)f!==h&&(l[f]=s[f]);if(h&&s[h])for(f in s[h])l[f]=s[h][f];return l}function E(s){var h={},l;for(l in s){var f=l.replace(/-/g,"_");h[f]=s[l]}return h}he.exports.Options=M,he.exports.normalizeOpts=E,he.exports.mergeOpts=w},function(he,M,w){var E=w(8).InputScanner,s=w(9).Tokenizer,h=w(9).TOKEN,l=w(13).Directives,f=w(4),x=w(12).Pattern,K=w(14).TemplatablePattern;function A(I,Z){return Z.indexOf(I)!==-1}var D={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:h.START,RAW:h.RAW,EOF:h.EOF},ee=new l(/\/\*/,/\*\//),te=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,V=/[0-9]/,Y=/[^\d\.]/,fe=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),N=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";N=N.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),N="\\?\\.(?!\\d) "+N,N=N.replace(/ /g,"|");var W=new RegExp(N),b="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ae=b.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),G=new RegExp("^(?:"+ae.join("|")+")$"),C,q=function(I,Z){s.call(this,I,Z),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var L=new x(this._input),y=new K(this._input).read_options(this._options);this.__patterns={template:y,identifier:y.starting_with(f.identifier).matching(f.identifierMatch),number:L.matching(te),punct:L.matching(W),comment:L.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:L.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:L.matching(/<!--/),html_comment_end:L.matching(/-->/),include:L.starting_with(/#include/).until_after(f.lineBreak),shebang:L.starting_with(/#!/).until_after(f.lineBreak),xml:L.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:y.until(/['\\\n\r\u2028\u2029]/),double_quote:y.until(/["\\\n\r\u2028\u2029]/),template_text:y.until(/[`\\$]/),template_expression:y.until(/[`}\\]/)}};q.prototype=new s,q.prototype._is_comment=function(I){return I.type===D.COMMENT||I.type===D.BLOCK_COMMENT||I.type===D.UNKNOWN},q.prototype._is_opening=function(I){return I.type===D.START_BLOCK||I.type===D.START_EXPR},q.prototype._is_closing=function(I,Z){return(I.type===D.END_BLOCK||I.type===D.END_EXPR)&&Z&&(I.text==="]"&&Z.text==="["||I.text===")"&&Z.text==="("||I.text==="}"&&Z.text==="{")},q.prototype._reset=function(){C=!1},q.prototype._get_next_token=function(I,Z){var L=null;this._readWhitespace();var y=this._input.peek();return y===null?this._create_token(D.EOF,""):(L=L||this._read_non_javascript(y),L=L||this._read_string(y),L=L||this._read_word(I),L=L||this._read_singles(y),L=L||this._read_comment(y),L=L||this._read_regexp(y,I),L=L||this._read_xml(y,I),L=L||this._read_punctuation(),L=L||this._create_token(D.UNKNOWN,this._input.next()),L)},q.prototype._read_word=function(I){var Z;if(Z=this.__patterns.identifier.read(),Z!=="")return Z=Z.replace(f.allLineBreaks,`
`),!(I.type===D.DOT||I.type===D.RESERVED&&(I.text==="set"||I.text==="get"))&&G.test(Z)?(Z==="in"||Z==="of")&&(I.type===D.WORD||I.type===D.STRING)?this._create_token(D.OPERATOR,Z):this._create_token(D.RESERVED,Z):this._create_token(D.WORD,Z);if(Z=this.__patterns.number.read(),Z!=="")return this._create_token(D.WORD,Z)},q.prototype._read_singles=function(I){var Z=null;return I==="("||I==="["?Z=this._create_token(D.START_EXPR,I):I===")"||I==="]"?Z=this._create_token(D.END_EXPR,I):I==="{"?Z=this._create_token(D.START_BLOCK,I):I==="}"?Z=this._create_token(D.END_BLOCK,I):I===";"?Z=this._create_token(D.SEMICOLON,I):I==="."&&Y.test(this._input.peek(1))?Z=this._create_token(D.DOT,I):I===","&&(Z=this._create_token(D.COMMA,I)),Z&&this._input.next(),Z},q.prototype._read_punctuation=function(){var I=this.__patterns.punct.read();if(I!=="")return I==="="?this._create_token(D.EQUALS,I):I==="?."?this._create_token(D.DOT,I):this._create_token(D.OPERATOR,I)},q.prototype._read_non_javascript=function(I){var Z="";if(I==="#"){if(this._is_first_token()&&(Z=this.__patterns.shebang.read(),Z))return this._create_token(D.UNKNOWN,Z.trim()+`
`);if(Z=this.__patterns.include.read(),Z)return this._create_token(D.UNKNOWN,Z.trim()+`
`);I=this._input.next();var L="#";if(this._input.hasNext()&&this._input.testChar(V)){do I=this._input.next(),L+=I;while(this._input.hasNext()&&I!=="#"&&I!=="=");return I==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(L+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(L+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,L)}this._input.back()}else if(I==="<"&&this._is_first_token()){if(Z=this.__patterns.html_comment_start.read(),Z){for(;this._input.hasNext()&&!this._input.testChar(f.newline);)Z+=this._input.next();return C=!0,this._create_token(D.COMMENT,Z)}}else if(C&&I==="-"&&(Z=this.__patterns.html_comment_end.read(),Z))return C=!1,this._create_token(D.COMMENT,Z);return null},q.prototype._read_comment=function(I){var Z=null;if(I==="/"){var L="";if(this._input.peek(1)==="*"){L=this.__patterns.block_comment.read();var y=ee.get_directives(L);y&&y.ignore==="start"&&(L+=ee.readIgnored(this._input)),L=L.replace(f.allLineBreaks,`
`),Z=this._create_token(D.BLOCK_COMMENT,L),Z.directives=y}else this._input.peek(1)==="/"&&(L=this.__patterns.comment.read(),Z=this._create_token(D.COMMENT,L))}return Z},q.prototype._read_string=function(I){if(I==="`"||I==="'"||I==='"'){var Z=this._input.next();return this.has_char_escapes=!1,I==="`"?Z+=this._read_string_recursive("`",!0,"${"):Z+=this._read_string_recursive(I),this.has_char_escapes&&this._options.unescape_strings&&(Z=Le(Z)),this._input.peek()===I&&(Z+=this._input.next()),Z=Z.replace(f.allLineBreaks,`
`),this._create_token(D.STRING,Z)}return null},q.prototype._allow_regexp_or_xml=function(I){return I.type===D.RESERVED&&A(I.text,["return","case","throw","else","do","typeof","yield"])||I.type===D.END_EXPR&&I.text===")"&&I.opened.previous.type===D.RESERVED&&A(I.opened.previous.text,["if","while","for"])||A(I.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},q.prototype._read_regexp=function(I,Z){if(I==="/"&&this._allow_regexp_or_xml(Z)){for(var L=this._input.next(),y=!1,c=!1;this._input.hasNext()&&(y||c||this._input.peek()!==I)&&!this._input.testChar(f.newline);)L+=this._input.peek(),y?y=!1:(y=this._input.peek()==="\\",this._input.peek()==="["?c=!0:this._input.peek()==="]"&&(c=!1)),this._input.next();return this._input.peek()===I&&(L+=this._input.next(),L+=this._input.read(f.identifier)),this._create_token(D.STRING,L)}return null},q.prototype._read_xml=function(I,Z){if(this._options.e4x&&I==="<"&&this._allow_regexp_or_xml(Z)){var L="",y=this.__patterns.xml.read_match();if(y){for(var c=y[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),O=c.indexOf("{")===0,S=0;y;){var oe=!!y[1],ue=y[2],pe=!!y[y.length-1]||ue.slice(0,8)==="![CDATA[";if(!pe&&(ue===c||O&&ue.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(oe?--S:++S),L+=y[0],S<=0)break;y=this.__patterns.xml.read_match()}return y||(L+=this._input.match(/[\s\S]*/g)[0]),L=L.replace(f.allLineBreaks,`
`),this._create_token(D.STRING,L)}}return null};function Le(I){for(var Z="",L=0,y=new E(I),c=null;y.hasNext();)if(c=y.match(/([\s]|[^\\]|\\\\)+/g),c&&(Z+=c[0]),y.peek()==="\\"){if(y.next(),y.peek()==="x")c=y.match(/x([0-9A-Fa-f]{2})/g);else if(y.peek()==="u")c=y.match(/u([0-9A-Fa-f]{4})/g);else{Z+="\\",y.hasNext()&&(Z+=y.next());continue}if(!c)return I;if(L=parseInt(c[1],16),L>126&&L<=255&&c[0].indexOf("x")===0)return I;if(L>=0&&L<32){Z+="\\"+c[0];continue}else L===34||L===39||L===92?Z+="\\"+String.fromCharCode(L):Z+=String.fromCharCode(L)}return Z}q.prototype._read_string_recursive=function(I,Z,L){var y,c;I==="'"?c=this.__patterns.single_quote:I==='"'?c=this.__patterns.double_quote:I==="`"?c=this.__patterns.template_text:I==="}"&&(c=this.__patterns.template_expression);for(var O=c.read(),S="";this._input.hasNext();){if(S=this._input.next(),S===I||!Z&&f.newline.test(S)){this._input.back();break}else S==="\\"&&this._input.hasNext()?(y=this._input.peek(),y==="x"||y==="u"?this.has_char_escapes=!0:y==="\r"&&this._input.peek(1)===`
`&&this._input.next(),S+=this._input.next()):L&&(L==="${"&&S==="$"&&this._input.peek()==="{"&&(S+=this._input.next()),L===S&&(I==="`"?S+=this._read_string_recursive("}",Z,"`"):S+=this._read_string_recursive("`",Z,"${"),this._input.hasNext()&&(S+=this._input.next())));S+=c.read(),O+=S}return O},he.exports.Tokenizer=q,he.exports.TOKEN=D,he.exports.positionable_operators=fe.slice(),he.exports.line_starters=b.slice()},function(he){var M=RegExp.prototype.hasOwnProperty("sticky");function w(E){this.__input=E||"",this.__input_length=this.__input.length,this.__position=0}w.prototype.restart=function(){this.__position=0},w.prototype.back=function(){this.__position>0&&(this.__position-=1)},w.prototype.hasNext=function(){return this.__position<this.__input_length},w.prototype.next=function(){var E=null;return this.hasNext()&&(E=this.__input.charAt(this.__position),this.__position+=1),E},w.prototype.peek=function(E){var s=null;return E=E||0,E+=this.__position,E>=0&&E<this.__input_length&&(s=this.__input.charAt(E)),s},w.prototype.__match=function(E,s){E.lastIndex=s;var h=E.exec(this.__input);return h&&!(M&&E.sticky)&&(h.index!==s&&(h=null)),h},w.prototype.test=function(E,s){return s=s||0,s+=this.__position,s>=0&&s<this.__input_length?!!this.__match(E,s):!1},w.prototype.testChar=function(E,s){var h=this.peek(s);return E.lastIndex=0,h!==null&&E.test(h)},w.prototype.match=function(E){var s=this.__match(E,this.__position);return s?this.__position+=s[0].length:s=null,s},w.prototype.read=function(E,s,h){var l="",f;return E&&(f=this.match(E),f&&(l+=f[0])),s&&(f||!E)&&(l+=this.readUntil(s,h)),l},w.prototype.readUntil=function(E,s){var h="",l=this.__position;E.lastIndex=this.__position;var f=E.exec(this.__input);return f?(l=f.index,s&&(l+=f[0].length)):l=this.__input_length,h=this.__input.substring(this.__position,l),this.__position=l,h},w.prototype.readUntilAfter=function(E){return this.readUntil(E,!0)},w.prototype.get_regexp=function(E,s){var h=null,l="g";return s&&M&&(l="y"),typeof E=="string"&&E!==""?h=new RegExp(E,l):E&&(h=new RegExp(E.source,l)),h},w.prototype.get_literal_regexp=function(E){return RegExp(E.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},w.prototype.peekUntilAfter=function(E){var s=this.__position,h=this.readUntilAfter(E);return this.__position=s,h},w.prototype.lookBack=function(E){var s=this.__position-1;return s>=E.length&&this.__input.substring(s-E.length,s).toLowerCase()===E},he.exports.InputScanner=w},function(he,M,w){var E=w(8).InputScanner,s=w(3).Token,h=w(10).TokenStream,l=w(11).WhitespacePattern,f={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},x=function(K,A){this._input=new E(K),this._options=A||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new l(this._input)};x.prototype.tokenize=function(){this._input.restart(),this.__tokens=new h,this._reset();for(var K,A=new s(f.START,""),D=null,ee=[],te=new h;A.type!==f.EOF;){for(K=this._get_next_token(A,D);this._is_comment(K);)te.add(K),K=this._get_next_token(A,D);te.isEmpty()||(K.comments_before=te,te=new h),K.parent=D,this._is_opening(K)?(ee.push(D),D=K):D&&this._is_closing(K,D)&&(K.opened=D,D.closed=K,D=ee.pop(),K.parent=D),K.previous=A,A.next=K,this.__tokens.add(K),A=K}return this.__tokens},x.prototype._is_first_token=function(){return this.__tokens.isEmpty()},x.prototype._reset=function(){},x.prototype._get_next_token=function(K,A){this._readWhitespace();var D=this._input.read(/.+/g);return D?this._create_token(f.RAW,D):this._create_token(f.EOF,"")},x.prototype._is_comment=function(K){return!1},x.prototype._is_opening=function(K){return!1},x.prototype._is_closing=function(K,A){return!1},x.prototype._create_token=function(K,A){var D=new s(K,A,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return D},x.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},he.exports.Tokenizer=x,he.exports.TOKEN=f},function(he){function M(w){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=w}M.prototype.restart=function(){this.__position=0},M.prototype.isEmpty=function(){return this.__tokens_length===0},M.prototype.hasNext=function(){return this.__position<this.__tokens_length},M.prototype.next=function(){var w=null;return this.hasNext()&&(w=this.__tokens[this.__position],this.__position+=1),w},M.prototype.peek=function(w){var E=null;return w=w||0,w+=this.__position,w>=0&&w<this.__tokens_length&&(E=this.__tokens[w]),E},M.prototype.add=function(w){this.__parent_token&&(w.parent=this.__parent_token),this.__tokens.push(w),this.__tokens_length+=1},he.exports.TokenStream=M},function(he,M,w){var E=w(12).Pattern;function s(h,l){E.call(this,h,l),l?this._line_regexp=this._input.get_regexp(l._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}s.prototype=new E,s.prototype.__set_whitespace_patterns=function(h,l){h+="\\t ",l+="\\n\\r",this._match_pattern=this._input.get_regexp("["+h+l+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+l+"]")},s.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var h=this._input.read(this._match_pattern);if(h===" ")this.whitespace_before_token=" ";else if(h){var l=this.__split(this._newline_regexp,h);this.newline_count=l.length-1,this.whitespace_before_token=l[this.newline_count]}return h},s.prototype.matching=function(h,l){var f=this._create();return f.__set_whitespace_patterns(h,l),f._update(),f},s.prototype._create=function(){return new s(this._input,this)},s.prototype.__split=function(h,l){h.lastIndex=0;for(var f=0,x=[],K=h.exec(l);K;)x.push(l.substring(f,K.index)),f=K.index+K[0].length,K=h.exec(l);return f<l.length?x.push(l.substring(f,l.length)):x.push(""),x},he.exports.WhitespacePattern=s},function(he){function M(w,E){this._input=w,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,E&&(this._starting_pattern=this._input.get_regexp(E._starting_pattern,!0),this._match_pattern=this._input.get_regexp(E._match_pattern,!0),this._until_pattern=this._input.get_regexp(E._until_pattern),this._until_after=E._until_after)}M.prototype.read=function(){var w=this._input.read(this._starting_pattern);return(!this._starting_pattern||w)&&(w+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),w},M.prototype.read_match=function(){return this._input.match(this._match_pattern)},M.prototype.until_after=function(w){var E=this._create();return E._until_after=!0,E._until_pattern=this._input.get_regexp(w),E._update(),E},M.prototype.until=function(w){var E=this._create();return E._until_after=!1,E._until_pattern=this._input.get_regexp(w),E._update(),E},M.prototype.starting_with=function(w){var E=this._create();return E._starting_pattern=this._input.get_regexp(w,!0),E._update(),E},M.prototype.matching=function(w){var E=this._create();return E._match_pattern=this._input.get_regexp(w,!0),E._update(),E},M.prototype._create=function(){return new M(this._input,this)},M.prototype._update=function(){},he.exports.Pattern=M},function(he){function M(w,E){w=typeof w=="string"?w:w.source,E=typeof E=="string"?E:E.source,this.__directives_block_pattern=new RegExp(w+/ beautify( \w+[:]\w+)+ /.source+E,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(w+/\sbeautify\signore:end\s/.source+E,"g")}M.prototype.get_directives=function(w){if(!w.match(this.__directives_block_pattern))return null;var E={};this.__directive_pattern.lastIndex=0;for(var s=this.__directive_pattern.exec(w);s;)E[s[1]]=s[2],s=this.__directive_pattern.exec(w);return E},M.prototype.readIgnored=function(w){return w.readUntilAfter(this.__directives_end_ignore_pattern)},he.exports.Directives=M},function(he,M,w){var E=w(12).Pattern,s={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function h(l,f){E.call(this,l,f),this.__template_pattern=null,this._disabled=Object.assign({},s),this._excluded=Object.assign({},s),f&&(this.__template_pattern=this._input.get_regexp(f.__template_pattern),this._excluded=Object.assign(this._excluded,f._excluded),this._disabled=Object.assign(this._disabled,f._disabled));var x=new E(l);this.__patterns={handlebars_comment:x.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:x.starting_with(/{{{/).until_after(/}}}/),handlebars:x.starting_with(/{{/).until_after(/}}/),php:x.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:x.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:x.starting_with(/{%/).until_after(/%}/),django_value:x.starting_with(/{{/).until_after(/}}/),django_comment:x.starting_with(/{#/).until_after(/#}/),smarty:x.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:x.starting_with(/{\*/).until_after(/\*}/),smarty_literal:x.starting_with(/{literal}/).until_after(/{\/literal}/)}}h.prototype=new E,h.prototype._create=function(){return new h(this._input,this)},h.prototype._update=function(){this.__set_templated_pattern()},h.prototype.disable=function(l){var f=this._create();return f._disabled[l]=!0,f._update(),f},h.prototype.read_options=function(l){var f=this._create();for(var x in s)f._disabled[x]=l.templating.indexOf(x)===-1;return f._update(),f},h.prototype.exclude=function(l){var f=this._create();return f._excluded[l]=!0,f._update(),f},h.prototype.read=function(){var l="";this._match_pattern?l=this._input.read(this._starting_pattern):l=this._input.read(this._starting_pattern,this.__template_pattern);for(var f=this._read_template();f;)this._match_pattern?f+=this._input.read(this._match_pattern):f+=this._input.readUntil(this.__template_pattern),l+=f,f=this._read_template();return this._until_after&&(l+=this._input.readUntilAfter(this._until_pattern)),l},h.prototype.__set_templated_pattern=function(){var l=[];this._disabled.php||l.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||l.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||l.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(l.push(this.__patterns.django._starting_pattern.source),l.push(this.__patterns.django_value._starting_pattern.source),l.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||l.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&l.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+l.join("|")+")")},h.prototype._read_template=function(){var l="",f=this._input.peek();if(f==="<"){var x=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&x==="?"&&(l=l||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&x==="%"&&(l=l||this.__patterns.erb.read())}else f==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(l=l||this.__patterns.handlebars_comment.read(),l=l||this.__patterns.handlebars_unescaped.read(),l=l||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(l=l||this.__patterns.django_value.read()),this._excluded.django||(l=l||this.__patterns.django_comment.read(),l=l||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(l=l||this.__patterns.smarty_comment.read(),l=l||this.__patterns.smarty_literal.read(),l=l||this.__patterns.smarty.read()));return l},he.exports.TemplatablePattern=h}],Ae={};function ge(he){var M=Ae[he];if(M!==void 0)return M.exports;var w=Ae[he]={exports:{}};return P[he](w,w.exports,ge),w.exports}var _e=ge(0);ze=_e})();var Oe=ze;!(we=[],Ee=function(){return{js_beautify:Oe}}.apply(ye,we),Ee!==void 0&&(xe.exports=Ee))})()},"7ZXX":function(xe,ye,u){xe.exports=u.p+"static/err.6e7c5817.png"},"7ahc":function(xe,ye,u){"use strict";u.d(ye,"a",function(){return ee});var we=u("k1fw"),Ee=u("0Owb"),ze=u("+L6B"),Oe=u("2/Rp"),P=u("y8nQ"),Ae=u("Vl3Y"),ge=u("tJVT"),_e=u("OaEy"),he=u("2fM7"),M=u("cDcd"),w=u.n(M),E=u("VrN/"),s=u.n(E),h=u("p77/"),l=u.n(h),f=u("c5Ni"),x=u.n(f),K=he.a.Option,A={labelCol:{span:4},wrapperCol:{span:20}},D={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ye.b=function(te){var V=te.callback,Y=te.onCancel,fe=Object(M.useState)("python"),N=Object(ge.a)(fe,2),W=N[0],b=N[1];function ae(C){b(D[C][1])}function G(C){V(C)}return w.a.createElement(Ae.a,Object(Ee.a)({},A,{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:G}),w.a.createElement(Ae.a.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},w.a.createElement(he.a,{onChange:ae},Object.keys(D).map(function(C){return w.a.createElement(K,{key:C,value:C},D[C][0])}))),w.a.createElement(Ae.a.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},w.a.createElement(ee,{mode:W})),w.a.createElement("div",{className:"flex-container flex-end"},w.a.createElement(Oe.a,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),w.a.createElement(Oe.a,{type:"ghost",onClick:Y},"\u53D6\u6D88")))};function ee(te){var V=te.value,Y=te.onChange,fe=te.mode,N=te.options,W=N===void 0?{}:N,b=Object(M.useRef)(),ae=Object(M.useState)(),G=Object(ge.a)(ae,2),C=G[0],q=G[1];return Object(M.useEffect)(function(){if(C){function Le(I){var Z=I.getValue();Y&&Y(Z)}return C.on("change",Le),function(){C.off("change",Le)}}},[C,Y]),Object(M.useEffect)(function(){C&&C.setOption("mode",fe)},[C,fe]),Object(M.useEffect)(function(){C&&((V!==C.getValue()||V==="")&&setTimeout(function(){C.setValue(V||" ")},300))},[C,V]),Object(M.useEffect)(function(){if(b.current&&!C){var Le=s.a.fromTextArea(b.current,Object(we.a)({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},W));q(Le)}},[b.current,C]),w.a.createElement("div",{className:"my-codemirror-container"},w.a.createElement("textarea",{ref:b}))}},"7v3h":function(xe,ye,u){xe.exports=u.p+"static/empty2.dd73f390.png"},"8/bI":function(xe,ye,u){xe.exports=u.p+"static/empty.8918e228.png"},"815F":function(xe,ye,u){"use strict";u.d(ye,"e",function(){return ge}),u.d(ye,"c",function(){return he}),u.d(ye,"d",function(){return M}),u.d(ye,"a",function(){return E}),u.d(ye,"f",function(){return s}),u.d(ye,"b",function(){return h});var we=u("KQm4"),Ee=u("VTBJ"),ze=u("Ff2n"),Oe=u("Zm9Q"),P=u("Kwbf"),Ae=u("OZM5");function ge(l,f){return l!=null?l:f}function _e(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],f=new Map;function x(K){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(K||[]).forEach(function(D){var ee=D.key,te=D.children;Object(P.a)(ee!=null,"Tree node must have a certain key: [".concat(A).concat(ee,"]"));var V=String(ee);Object(P.a)(!f.has(V)||ee===null||ee===void 0,"Same 'key' exist in the Tree: ".concat(V)),f.set(V,!0),x(te,"".concat(A).concat(V," > "))})}x(l)}function he(l){function f(x){var K=Object(Oe.a)(x);return K.map(function(A){if(!Object(Ae.i)(A))return Object(P.a)(!A,"Tree/TreeNode can only accept TreeNode as children."),null;var D=A.key,ee=A.props,te=ee.children,V=Object(ze.a)(ee,["children"]),Y=Object(Ee.a)({key:D},V),fe=f(te);return fe.length&&(Y.children=fe),Y}).filter(function(A){return A})}return f(l)}function M(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],x=new Set(f===!0?[]:f),K=[];function A(D){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return D.map(function(te,V){var Y=Object(Ae.h)(ee?ee.pos:"0",V),fe=ge(te.key,Y),N=Object(Ee.a)(Object(Ee.a)({},te),{},{parent:ee,pos:Y,children:null,data:te,isStart:[].concat(Object(we.a)(ee?ee.isStart:[]),[V===0]),isEnd:[].concat(Object(we.a)(ee?ee.isEnd:[]),[V===D.length-1])});return K.push(N),f===!0||x.has(fe)?N.children=A(te.children||[],N):N.children=[],N})}return A(l),K}function w(l,f,x){var K;x?typeof x=="string"?K=function(ee){return ee[x]}:typeof x=="function"&&(K=function(ee){return x(ee)}):K=function(ee,te){return ge(ee.key,te)};function A(D,ee,te){var V=D?D.children:l,Y=D?Object(Ae.h)(te.pos,ee):"0";if(D){var fe=K(D,Y),N={node:D,index:ee,pos:Y,key:fe,parentPos:te.node?te.pos:null,level:te.level+1};f(N)}V&&V.forEach(function(W,b){A(W,b,{node:D,pos:Y,level:te?te.level+1:-1})})}A(null)}function E(l){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=f.initWrapper,K=f.processEntity,A=f.onProcessFinished,D=arguments.length>2?arguments[2]:void 0,ee={},te={},V={posEntities:ee,keyEntities:te};return x&&(V=x(V)||V),w(l,function(Y){var fe=Y.node,N=Y.index,W=Y.pos,b=Y.key,ae=Y.parentPos,G=Y.level,C={node:fe,index:N,key:b,pos:W,level:G},q=ge(b,W);ee[W]=C,te[q]=C,C.parent=ee[ae],C.parent&&(C.parent.children=C.parent.children||[],C.parent.children.push(C)),K&&K(C,V)},D),A&&A(V),V}function s(l,f){var x=f.expandedKeys,K=f.selectedKeys,A=f.loadedKeys,D=f.loadingKeys,ee=f.checkedKeys,te=f.halfCheckedKeys,V=f.dragOverNodeKey,Y=f.dropPosition,fe=f.keyEntities,N=fe[l],W={eventKey:l,expanded:x.indexOf(l)!==-1,selected:K.indexOf(l)!==-1,loaded:A.indexOf(l)!==-1,loading:D.indexOf(l)!==-1,checked:ee.indexOf(l)!==-1,halfChecked:te.indexOf(l)!==-1,pos:String(N?N.pos:""),dragOver:V===l&&Y===0,dragOverGapTop:V===l&&Y===-1,dragOverGapBottom:V===l&&Y===1};return W}function h(l){var f=l.data,x=l.expanded,K=l.selected,A=l.checked,D=l.loaded,ee=l.loading,te=l.halfChecked,V=l.dragOver,Y=l.dragOverGapTop,fe=l.dragOverGapBottom,N=l.pos,W=l.active,b=Object(Ee.a)(Object(Ee.a)({},f),{},{expanded:x,selected:K,checked:A,loaded:D,loading:ee,halfChecked:te,dragOver:V,dragOverGapTop:Y,dragOverGapBottom:fe,pos:N,active:W});return"props"in b||Object.defineProperty(b,"props",{get:function(){return Object(P.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),l}}),b}},"8j3D":function(xe,ye,u){"use strict";var we=u("2qtc"),Ee=u("kLXV"),ze=u("5NDa"),Oe=u("5rEg"),P=u("miYZ"),Ae=u("tsqr"),ge=u("k1fw"),_e=u("9og8"),he=u("y8nQ"),M=u("Vl3Y"),w=u("tJVT"),E=u("WmNS"),s=u.n(E),h=u("cDcd"),l=u.n(h),f=u("Ty5D"),x=u("9kvl"),K=u("KVXO"),A=u.n(K),D=function(te){var V=te.shixunsDetail,Y=te.globalSetting,fe=te.loading,N=te.dispatch,W=te.title,b=te.pathList,ae=b===void 0?[]:b,G=te.showInputPath,C=G===void 0?!1:G,q=te.isMergeSelectFile,Le=q===void 0?!1:q,I=te.onFinish,Z=I===void 0?function(){}:I,L=M.a.useForm(),y=Object(w.a)(L,1),c=y[0],O=Object(f.i)(),S=Object(f.h)(),oe=Object(h.useRef)(),ue=Object(h.useState)(""),pe=Object(w.a)(ue,2),re=pe[0],H=pe[1],z=Object(h.useState)(""),le=Object(w.a)(z,2),X=le[0],ce=le[1],v=Object(h.useState)([]),k=Object(w.a)(v,2),T=k[0],ie=k[1],Te=Object(h.useState)([]),Ce=Object(w.a)(Te,2),Ie=Ce[0],ke=Ce[1];Object(h.useEffect)(function(){var it,dt;oe.current=((it=S.pathname)===null||it===void 0||((dt=it.split("/"))===null||dt===void 0)?void 0:dt[3])==="repository"},[]),Object(h.useEffect)(function(){if(V.actionTabs.key!=="Repository-SelectFilePath")return;var it=ae.join("/"),dt=[];ae.map(function(at,jt){jt===0?dt.push({val:"\u6839\u76EE\u5F55",path:""},{val:"/".concat(at),path:it}):dt.push({val:"/".concat(at),path:it})}),ie(dt),H(it),ce(it),We(it)},[V.actionTabs.key]);var We=function(){var it=Object(_e.a)(s.a.mark(function dt(at){var jt;return s.a.wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:return Ut.next=2,N({type:oe.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:O.id,path:at}});case 2:jt=Ut.sent,jt&&ke(jt.trees||[]);case 4:case"end":return Ut.stop()}},dt)}));return function(at){return it.apply(this,arguments)}}(),Ze=function(dt){var at=re;dt.type==="tree"&&(T.length?T.push({val:"/".concat(dt.name),path:dt.name}):T.push({val:"\u6839\u76EE\u5F55",path:""},{val:"/".concat(dt.name),path:dt.name}),ie(T),at=re?"".concat(re,"/").concat(dt.name):dt.name,H(at)),We(at)},qe=function(dt,at){var jt=T.filter(function(Ut,Ge){return Ge<=at});ie(jt);var Dt=jt.filter(function(Ut,Ge){return Ge!==0}).map(function(Ut){return Ut.val}).join("").substr(1);H(Dt),We(Dt)},tt=function(){var it=Object(_e.a)(s.a.mark(function dt(){var at,jt,Dt;return s.a.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(at=c==null?void 0:c.getFieldsValue(),jt=re?"".concat(re).concat(at!=null&&at.name?"/".concat(at==null?void 0:at.name):""):at==null?void 0:at.name,!Le){Ge.next=6;break}return Z(jt),ht(),Ge.abrupt("return");case 6:if(!C){Ge.next=16;break}return Ge.next=9,c.validateFields();case 9:return Ge.next=11,N({type:"shixunsDetail/uploadGitFolder",payload:Object(ge.a)(Object(ge.a)({},{id:O.id,path:jt}),oe.current?{}:{secret_repository:!0})});case 11:Dt=Ge.sent,Z(X),Dt.status===0&&Ae.b.info("\u65B0\u5EFA\u6210\u529F"),Ge.next=18;break;case 16:Z(jt),Ae.b.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");case 18:ht();case 19:case"end":return Ge.stop()}},dt)}));return function(){return it.apply(this,arguments)}}(),ht=function(){N({type:"shixunsDetail/setActionTabs",payload:{}}),c.resetFields()};return l.a.createElement(Ee.a,{centered:!0,title:W||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,visible:V.actionTabs.key==="Repository-SelectFilePath",onOk:tt,onCancel:ht},l.a.createElement("div",{className:A.a.wrap},l.a.createElement("div",{className:A.a.content},l.a.createElement("div",{className:A.a.mainPathWrap},!!(T!=null&&T.length)&&T.map(function(it,dt){return l.a.createElement("a",{key:dt,onClick:function(){return qe(it,dt)}},it.val)})),!!(Ie!=null&&Ie.length)&&Ie.map(function(it,dt){return it.type==="tree"&&l.a.createElement("a",{key:dt,onClick:function(){return Ze(it)}},l.a.createElement("i",{className:"iconfont icon-wenjianjia ".concat(A.a.colorBlue)}),it.name)})),l.a.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),l.a.createElement("div",{className:"mt5 mb5"},re),C&&l.a.createElement(M.a,{form:c,scrollToFirstError:!0,className:"mt20"},l.a.createElement(M.a.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},l.a.createElement(Oe.a,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))};ye.a=Object(x.a)(function(ee){var te=ee.shixunsDetail,V=ee.loading,Y=ee.globalSetting;return{shixunsDetail:te,globalSetting:Y,loading:V.models.index}})(D)},"A/g1":function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF92lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDMgNzkuMTY0NTI3LCAyMDIwLzEwLzE1LTE3OjQ4OjMyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIg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pQbb92M9uT7kdz+/HqfDB0EcF/ZRi1ggYFER/cYcMtMOO3jzlmVjXKDrkt5uv9are9ZLJ8L6UcJ+HplVotygVRlYLFwM4GWf2njl/ymq1fqrSgM3J1Sfz5Rnd15ulp/tiGtPV6h0aIwaCDxUPc/F8sfOQdqTKnbrvjMf9fOK7ZLCyv8Jom1s9qvsHANttQw4dhY++6BW+sKFlNJr7E9K6wOZEoT0YU3ogvXm5OSMK5KQ347v7oggZbr3j/+PWwUnoj9jyHCk+OP7p3Kry+6nL33uvazqbD+6+W35RDmrtGOPW8Va7JcjzemtC+frTKWfgJyCQmxI/GZ7x+warfdUKy/rj47UZXdnlHZXHprJWBcFKZsGX1k16t2spI7oqbr3iOTkdzGyz7z8tK5s4eAN4UiHxx5dO94Ka2jLd2Gq95TI/e9tXoqbBytZLJzwAUGdY+273nc6Y294z3p1sRW2ZhSt02Gsg+eDxknyl07FYWRY8I+aZptYx27B0Bw/Bp3faHRcs13EsCWiWpjZ8DEU+Ecxe7IKjVl5GMy8zAJMQSIwbH27rL+7FH2jUzTNfUwgMMAkFiFlf5MrstviA4PU61HIuo1KQRCdkGeJCDJoCQkkkzyOFVF4mOxyv9u8x8opnU6UeBF0wAAAABJRU5ErkJggg=="},B6bo:function(xe,ye,u){xe.exports={flex_box_center:"flex_box_center___1czbK",flex_space_between:"flex_space_between___NcbCS",flex_box_vertical_center:"flex_box_vertical_center___3bgyw",flex_box_center_end:"flex_box_center_end___1RYM-",flex_box_column:"flex_box_column___siFqq",menu:"menu___3LJ87",warehouse:"warehouse___1AVuS",header:"header___2hqXC",title:"title___2N2dQ",content:"content___252cM",left:"left___DCxzF",right:"right___3XU0c",loading:"loading___393Js",empty:"empty___-D3br",tabs:"tabs___1B5_7",line:"line___1qrlH",footer:"footer___1MBb_",commit:"commit___aa_yX",blueLight:"blueLight___oW1lR",filePathWrp:"filePathWrp___sw_To",filePath:"filePath___2Xa_Q",bottom0:"bottom0___3zeb-"}},BU3w:function(xe,ye,u){"use strict";u.d(ye,"a",function(){return Ae});var we=u("MNnm"),Ee="rc-util-key";function ze(ge){if(ge.attachTo)return ge.attachTo;var _e=document.querySelector("head");return _e||document.body}function Oe(ge){var _e,he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(we.a)())return null;var M=document.createElement("style");if((_e=he.csp)===null||_e===void 0?void 0:_e.nonce){var w;M.nonce=(w=he.csp)===null||w===void 0?void 0:w.nonce}M.innerHTML=ge;var E=ze(he),s=E.firstChild;return he.prepend&&E.prepend?E.prepend(M):he.prepend&&s?E.insertBefore(M,s):E.appendChild(M),M}var P=new Map;function Ae(ge,_e){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},M=ze(he);if(!P.has(M)){var w=Oe("",he),E=w.parentNode;P.set(M,E),E.removeChild(w)}var s=Array.from(P.get(M).children).find(function(K){return K.tagName==="STYLE"&&K[Ee]===_e});if(s){var h,l;if(((h=he.csp)===null||h===void 0?void 0:h.nonce)&&s.nonce!==((l=he.csp)===null||l===void 0?void 0:l.nonce)){var f;s.nonce=(f=he.csp)===null||f===void 0?void 0:f.nonce}return s.innerHTML!==ge&&(s.innerHTML=ge),s}var x=Oe(ge,he);return x[Ee]=_e,x}},Bbdw:function(xe,ye,u){xe.exports={flex_box_center:"flex_box_center___1d7HC",flex_space_between:"flex_space_between___2tGvG",flex_box_vertical_center:"flex_box_vertical_center___3lO4f",flex_box_center_end:"flex_box_center_end___22Avr",flex_box_column:"flex_box_column___3SksD",headLeft:"headLeft___9XMDS",colorBlue:"colorBlue___1Qpec",wrap:"wrap___1u-Va",nodata:"nodata___V_2Oo",nodataText:"nodataText___1G_zo",content:"content___314Bx",gitCode:"gitCode___2GwFG",ellipsis:"ellipsis___2M7s4",menu:"menu___3Tf01",overlayClass:"overlayClass___3ckGv",tips:"tips___-Fisb"}},E7E6:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADUCAYAAADZTGx+AAAgAElEQVR4Xu2dC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IqhwWQvb09HyVSH6LiL7Ivoqbze79vOK+Bf0fkXiypKTkudra2sR1Ry5VIW+A6OsXjUZre3t778DBmPAAAAI6SURBVO6DZb5LdedsvCmBdwCF3+9fV1dXF98slMfgCUCSumCNQsgvSymXSklLeF4lj9rhTtadQtAGIcR6KbWNS0fdydZYLp4DRF9snLQSjUZvjsViS4Wg26SUVi++NiYNjuWKBIQQR6Wkl30+3/q6urq3hBBXb+J3pSTZM/E0IMnFj0Qi10kp/4QotphILJJSjs1eRY6RbwkIIU4SyRYi32YhxBv19fUD9yLku3BZ8i8oQJLrcurUiWt6e8Wi3l7CyBiO8JvicXkXS/EOEokWv582+/2ypaZm3IFCrXhBA5Is9La2trqenp6biGi2lJhv0eZcxhVq4xRIuU8Qid1CCKyB31VSUrK1trY2WiBlz1rMQQVIqtpeuHBidEcHzZIy/iLSXtfyWrGsupEQIb7WiT4iot1CxF9Dh9LuESPGnTGXUmHFHvSApGoOzLm0tbU19vb2TpVSThGCphLJKVLSVCFoYrHCAwikpCNC0MdE4qCU9LEQ4qDf7/+4trb2aN/cRGFpeI6lLUpAMslMSulva2ub2NPT0+TzyUAsJup9PgpIKQNSinohtM/1RFRo5/1cFkJEpKSwEDIihAjHYhT2+WQkFhPhkpKSQ7W1tUdwsnmOOjWoHmdALDbn+fPnR3V2dgKW0ULEqmIxUSWlHCmErJJSVAlBVVIS3kcS4X9ULoQolVKWZnpHcaSU3UKI7szv1EUkzuNSKSEI7+eFkOelFOeFEOd8Pnz24fOZioqKcFVV1VmLVS3qx/4fQLyzKIIkCJoAAAAASUVORK5CYII="},E9nw:function(xe,ye){xe.exports=function(){var u=document.getSelection();if(!u.rangeCount)return function(){};for(var we=document.activeElement,Ee=[],ze=0;ze<u.rangeCount;ze++)Ee.push(u.getRangeAt(ze));switch(we.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":we.blur();break;default:we=null;break}return u.removeAllRanges(),function(){u.type==="Caret"&&u.removeAllRanges(),u.rangeCount||Ee.forEach(function(Oe){u.addRange(Oe)}),we&&we.focus()}}},FOrL:function(xe,ye,u){xe.exports=u.p+"static/nodata.a6b3f948.png"},FPkq:function(xe,ye,u){xe.exports=u.p+"static/qrCode.dd0fe9b2.png"},GABl:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAKi0lEQVRoQ71ae3BU1Rn//e7dzYuioNRsHlSqRiUB2eUx0hbaKAHEAMWxiQ6PTUAUGCuIQNVOZ0xnrHUE5GHHIqOwCag8BlQiQnnUokgt5AEIK5GnBpIFXwjkAdl7vs7dkJCETXLvEj3/5d7v9/u+337nfN8554bowBHo16+3YRh3K7IPBHcRSIDI9QJ0AWkA8h0E3xM8DWAvde5x6Pqe+D17jnVUGLxWogqPp78SGSeC3wP4ZUR8pJ+Ct50O7e344uKjEXFcBkUkSERY6e43RkE9JcCgawngaiw3O6A/l7CvaHckvLYFhTKi5B8C3B2JQ6sYEhvpcMxKKioqs4ox7SwLkvT0mFNnz82HqKkCaHacRGxL1gDybHJp6WKSYoXHkqBytzuF4FoR6WOFtKNtCP4b0c7s5N27v22Pu11B5e7+6ZTgBgE6t0f2Y74n8IUjOuo+1+7dx9vy06agcrf7fgjXARLzYwZrnZsB6BzevaRkf2uYVgWdcruHKnAjRJzWHf4ElmSl5nTcnbRnT3k4b2EFVfTt29NQ8l+zKf4EIUbi4kAnhz7ohuLiH1qCwwo62cf9ccf3l0jibh1DckPy3lKzmTcbYQWV9+k7HlArOjaEjmejRm9yaWmzOMMKMncCp9x9dwlkYEeEQUCBrO0IrqYcApx1xsV6XLt2nWl43kyQqyB38dQJPZ7MY56qdLsHGIL/iY3m24R0p2jc6BDZrkVHf3XTiBFfMy9PdbSgNotCYv6kDAPGVhCTT3vz3zCNT7o9PhHJsRoIwUJN518TS0qKrWI62q4xQ/H5uTsB+Q3I0521zrcfGf/KuTMDBrguXar7or2mSuCCRm1q4t6SN5sGOGZBTQ9DsRdgJEFpQeo8pRv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I0amhQk7gh4fen1YoYPhgQ/ss/NzxHtHGj2nHDYNi/Hk9/MTQka2CoiN9t3fNVkUDr0/hU5b5SK5Gnw7yyCiMcWL+GH5sxkz80nWsO1e9uftHJysqHqtoigpy3nLYxJLgt4fY+EsnMg41FAltriIzciyjm2tcy0WuXCOUnKf/xGg1VvishwW0Fc8XIhNoYpJ7J9gfpLRByGyM8tc5FzkTromXBrxlJRaM2ReW0sSi0QQTfLwZiG1P582rv876Hs+DNehpKZFvEnoWE2U7dbbrrtTrmWjhPfeqybEby0ECLjrARF8ETML9DzxD2+WikbdifqDHND2vb/PpDm5/oXcV3XRey+tsaKH1tTLhyh661H0xCsmyaQCW1dg1HTHwpMWLbmcpneBJH7Wg+QVdCwFKI/z7R/fWdHyDULaiCIL5jdScM3Y6X+m04/aXIPQGJnwJs/OCTm8yEjYSDMLSurQPkI5CrcoK2ja0vobBTpsD3l2nKU/mGe43DFiV5Ksb8SNUCj9lrlhOUl5r8JwG9evjMBhDmdjkJYBp2luLPHHrL+nq8jxv8BV2A7FHmr6w0AAAAASUVORK5CYII="},GfqC:function(xe,ye,u){"use strict";var we=u("cDcd"),Ee=u.n(we),ze=u("TSYQ"),Oe=u.n(ze);function P(L,y){var c="cannot "+L.method+" "+L.action+" "+y.status+"'",O=new Error(c);return O.status=y.status,O.method=L.method,O.url=L.action,O}function Ae(L){var y=L.responseText||L.response;if(!y)return y;try{return JSON.parse(y)}catch(c){return y}}function ge(L){var y=new XMLHttpRequest;L.onProgress&&y.upload&&(y.upload.onprogress=function(oe){oe.total>0&&(oe.percent=oe.loaded/oe.total*100),L.onProgress(oe)});var c=new FormData;L.data&&Object.keys(L.data).forEach(function(S){var oe=L.data[S];if(Array.isArray(oe)){oe.forEach(function(ue){c.append(S+"[]",ue)});return}c.append(S,L.data[S])}),L.file instanceof Blob?c.append(L.filename,L.file,L.file.name):c.append(L.filename,L.file),y.onerror=function(oe){L.onError(oe)},y.onload=function(){return y.status<200||y.status>=300?L.onError(P(L,y),Ae(y)):L.onSuccess(Ae(y),y)},y.open(L.method,L.action,!0),L.withCredentials&&"withCredentials"in y&&(y.withCredentials=!0);var O=L.headers||{};return O["X-Requested-With"]!==null&&y.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(O).forEach(function(S){O[S]!==null&&y.setRequestHeader(S,O[S])}),y.send(c),{abort:function(){y.abort()}}}var _e=+new Date,he=0;function M(){return"rc-upload-"+_e+"-"+ ++he}function w(L,y){return L.indexOf(y,L.length-y.length)!==-1}var E=function(L,y){if(L&&y){var c=Array.isArray(y)?y:y.split(","),O=L.name||"",S=L.type||"",oe=S.replace(/\/.*$/,"");return c.some(function(ue){var pe=ue.trim();return pe.charAt(0)==="."?w(O.toLowerCase(),pe.toLowerCase()):/\/\*$/.test(pe)?oe===pe.replace(/\/.*$/,""):S===pe})}return!0};function s(L,y){var c=L.createReader(),O=[];function S(){c.readEntries(function(oe){var ue=Array.prototype.slice.apply(oe);O=O.concat(ue);var pe=!ue.length;pe?y(O):S()})}S()}var h=function(y,c,O){var S=function oe(ue,pe){pe=pe||"",ue.isFile?ue.file(function(re){O(re)&&(ue.fullPath&&!re.webkitRelativePath&&(Object.defineProperties(re,{webkitRelativePath:{writable:!0}}),re.webkitRelativePath=ue.fullPath.replace(/^\//,""),Object.defineProperties(re,{webkitRelativePath:{writable:!1}})),c([re]))}):ue.isDirectory&&s(ue,function(re){re.forEach(function(H){oe(H,""+pe+ue.name+"/")})})};y.forEach(function(oe){S(oe.webkitGetAsEntry())})},l=h,f=Object.assign||function(L){for(var y=1;y<arguments.length;y++){var c=arguments[y];for(var O in c)Object.prototype.hasOwnProperty.call(c,O)&&(L[O]=c[O])}return L},x=function(){function L(y,c){var O=[],S=!0,oe=!1,ue=void 0;try{for(var pe=y[Symbol.iterator](),re;!(S=(re=pe.next()).done)&&!(O.push(re.value),c&&O.length===c);S=!0);}catch(H){oe=!0,ue=H}finally{try{!S&&pe.return&&pe.return()}finally{if(oe)throw ue}}return O}return function(y,c){if(Array.isArray(y))return y;if(Symbol.iterator in Object(y))return L(y,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),K=function(){function L(y,c){for(var O=0;O<c.length;O++){var S=c[O];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}return function(y,c,O){return c&&L(y.prototype,c),O&&L(y,O),y}}();function A(L,y,c){return y in L?Object.defineProperty(L,y,{value:c,enumerable:!0,configurable:!0,writable:!0}):L[y]=c,L}function D(L,y){var c={};for(var O in L){if(y.indexOf(O)>=0)continue;if(!Object.prototype.hasOwnProperty.call(L,O))continue;c[O]=L[O]}return c}function ee(L,y){if(!(L instanceof y))throw new TypeError("Cannot call a class as a function")}function te(L,y){if(!L)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:L}function V(L,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);L.prototype=Object.create(y&&y.prototype,{constructor:{value:L,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(L,y):L.__proto__=y)}var Y=function(y){return Object.keys(y).reduce(function(c,O){return(O.substr(0,5)==="data-"||O.substr(0,5)==="aria-"||O==="role")&&(c[O]=y[O]),c},{})},fe=function(L){V(y,L);function y(){var c,O,S,oe;ee(this,y);for(var ue=arguments.length,pe=Array(ue),re=0;re<ue;re++)pe[re]=arguments[re];return oe=(O=(S=te(this,(c=y.__proto__||Object.getPrototypeOf(y)).call.apply(c,[this].concat(pe))),S),S.state={uid:M()},S.reqs={},S.onChange=function(H){var z=H.target.files;S.uploadFiles(z),S.reset()},S.onClick=function(H){var z=S.fileInput;if(!z)return;var le=S.props,X=le.children,ce=le.onClick;X&&X.type==="button"&&(z.parentNode.focus(),z.parentNode.querySelector("button").blur()),z.click(),ce&&ce(H)},S.onKeyDown=function(H){H.key==="Enter"&&S.onClick()},S.onFileDrop=function(H){var z=S.props.multiple;if(H.preventDefault(),H.type==="dragover")return;if(S.props.directory)l(Array.prototype.slice.call(H.dataTransfer.items),S.uploadFiles,function(X){return E(X,S.props.accept)});else{var le=Array.prototype.slice.call(H.dataTransfer.files).filter(function(X){return E(X,S.props.accept)});z===!1&&(le=le.slice(0,1)),S.uploadFiles(le)}},S.uploadFiles=function(H){var z=Array.prototype.slice.call(H);z.map(function(le){return le.uid=M(),le}).forEach(function(le){S.upload(le,z)})},S.saveFileInput=function(H){S.fileInput=H},O),te(S,oe)}return K(y,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(O,S){var oe=this,ue=this.props;if(!ue.beforeUpload)return setTimeout(function(){return oe.post(O)},0);var pe=ue.beforeUpload(O,S);pe&&pe.then?pe.then(function(re){var H=Object.prototype.toString.call(re);return H==="[object File]"||H==="[object Blob]"?oe.post(re):oe.post(O)}).catch(function(re){console.log(re)}):pe!==!1&&setTimeout(function(){return oe.post(O)},0);return}},{key:"post",value:function(O){var S=this;if(!this._isMounted)return;var oe=this.props,ue=oe.onStart,pe=oe.onProgress,re=oe.transformFile,H=re===void 0?function(z){return z}:re;new Promise(function(z){var le=oe.action;return typeof le=="function"&&(le=le(O)),z(le)}).then(function(z){var le=O.uid,X=oe.customRequest||ge,ce=Promise.resolve(H(O)).then(function(v){var k=oe.data;return typeof k=="function"&&(k=k(v)),Promise.all([v,k])}).catch(function(v){console.error(v)});ce.then(function(v){var k=x(v,2),T=k[0],ie=k[1],Te={action:z,filename:oe.name,data:ie,file:T,headers:oe.headers,withCredentials:oe.withCredentials,method:oe.method||"post",onProgress:pe?function(Ce){pe(Ce,O)}:null,onSuccess:function(Ie,ke){delete S.reqs[le],oe.onSuccess(Ie,O,ke)},onError:function(Ie,ke){delete S.reqs[le],oe.onError(Ie,ke,O)}};ue(O),S.reqs[le]=X(Te)})})}},{key:"reset",value:function(){this.setState({uid:M()})}},{key:"abort",value:function(O){var S=this.reqs;if(O){var oe=O;O&&O.uid&&(oe=O.uid),S[oe]&&S[oe].abort&&S[oe].abort(),delete S[oe]}else Object.keys(S).forEach(function(ue){S[ue]&&S[ue].abort&&S[ue].abort(),delete S[ue]})}},{key:"render",value:function(){var O,S=this.props,oe=S.component,ue=S.prefixCls,pe=S.className,re=S.disabled,H=S.id,z=S.style,le=S.multiple,X=S.accept,ce=S.children,v=S.directory,k=S.openFileDialogOnClick,T=S.onMouseEnter,ie=S.onMouseLeave,Te=D(S,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Ce=Oe()((O={},A(O,ue,!0),A(O,ue+"-disabled",re),A(O,pe,pe),O)),Ie=re?{}:{onClick:k?this.onClick:function(){},onKeyDown:k?this.onKeyDown:function(){},onMouseEnter:T,onMouseLeave:ie,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Ee.a.createElement(oe,f({},Ie,{className:Ce,role:"button",style:z}),Ee.a.createElement("input",f({},Y(Te),{id:H,type:"file",ref:this.saveFileInput,onClick:function(We){return We.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:X,directory:v?"directory":null,webkitdirectory:v?"webkitdirectory":null,multiple:le,onChange:this.onChange})),ce)}}]),y}(we.Component),N=fe,W=Object.assign||function(L){for(var y=1;y<arguments.length;y++){var c=arguments[y];for(var O in c)Object.prototype.hasOwnProperty.call(c,O)&&(L[O]=c[O])}return L},b=function(){function L(y,c){for(var O=0;O<c.length;O++){var S=c[O];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}return function(y,c,O){return c&&L(y.prototype,c),O&&L(y,O),y}}();function ae(L,y){if(!(L instanceof y))throw new TypeError("Cannot call a class as a function")}function G(L,y){if(!L)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:L}function C(L,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);L.prototype=Object.create(y&&y.prototype,{constructor:{value:L,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(L,y):L.__proto__=y)}function q(){}var Le=function(L){C(y,L);function y(){var c,O,S,oe;ae(this,y);for(var ue=arguments.length,pe=Array(ue),re=0;re<ue;re++)pe[re]=arguments[re];return oe=(O=(S=G(this,(c=y.__proto__||Object.getPrototypeOf(y)).call.apply(c,[this].concat(pe))),S),S.saveUploader=function(H){S.uploader=H},O),G(S,oe)}return b(y,[{key:"abort",value:function(O){this.uploader.abort(O)}},{key:"render",value:function(){return Ee.a.createElement(N,W({},this.props,{ref:this.saveUploader}))}}]),y}(we.Component);Le.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:q,onError:q,onSuccess:q,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var I=Le,Z=ye.a=I},HpTS:function(xe,ye,u){xe.exports=u.p+"static/small_program.f74069ec.png"},HpfO:function(xe,ye,u){xe.exports={wrap:"wrap___r5XlG",content:"content___1KVgv",mainPathWrap:"mainPathWrap___256K2",colorBlue:"colorBlue___3S7DM"}},JWDV:function(xe,ye,u){xe.exports=u.p+"static/charpter-white.5fa14f93.svg"},JeFH:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAwCAYAAAD9wT87AAAe2UlEQVR4XtVcB5QUVbr+blV1T+ieGWaYBAwgOSgooJLjENeA6a2KCVfZNbum3VXXsG9VdFfc1TXtGlfXLCKgEiRnUAHJWRzAyTl3V9V957vV1dPTM+M4Hn2Pd8/xIHRV9f3vn77/+/9qgVaWlHIggHMB+AA8K4TIbe2ek/FzKWUmgLGw7THQtLlCiBUn4z6j9ySa26SUMg3A+ZDyaljBMTC87mXrAUwSQtT+fxBOSqmbpjnaMIyrYJnToRvtQ/sOAJgihFh1ssvRSEFSysEAroJ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CiLnQNL7Xs7W5g6mrq+sTExNDg6gM9eE5xFEM4HhLL4pJKYdwvg5msCsgg4AwFceueyptKZ/XNO3pkIdqkPaXVdAGjfwkt1FTzeXveCAN7QYNp/gMDEzxYFhaLAaneaH8xTY5hrvasu1/5ebmzuvcuXOTn8KRUpLZ5sQpWVD+EgvfAKEcBWQ1mjUK554XYFvnw7YEhAhCSr6pYULTv2R6aklBAwC5Y3uJief2VyqtEoHGG5rT/4nVVN+EPaCsBB0pkT0gyyyDpq+HEB8DWNTSa/PNbbgt/yal5NkxyzI90VRVdI3+HSFpmyuk0MeTeGXnkspgrE/0aGgfyxxqoJPPQGe/BxxcDYtiBiQ042to2mfsZwkheGA/ywr9NhJlIBekZBFqOrZ5kgCFhYUJqampbAWzp9LCsgDLrgB/t0foByDkdkB1UrdFv5j0s0j1Ax8qpfxdqP/U8h1mIABN5EEYhyHELgBUBv87IAS98/9utUhA19TUZMXFxc0AcCZbIqG5A+YFvhvEMEQXVm4s6Jon6VKzA053dTI46OH8hMARhbwa5OCbboU/9e8//BRH8j9mLdQoDqqNCwAAAABJRU5ErkJggg=="},Jq4h:function(xe,ye,u){xe.exports=u.p+"static/qrcode.2267e4d5.png"},KVXO:function(xe,ye,u){xe.exports={wrap:"wrap___1VfLE",content:"content___20B4M",mainPathWrap:"mainPathWrap___3qDeg",colorBlue:"colorBlue___2ZjUq"}},LdHM:function(xe,ye,u){"use strict";u.d(ye,"b",function(){return D}),u.d(ye,"a",function(){return te});var we=u("1OyB"),Ee=u("vuIU"),ze=u("Ji7U"),Oe=u("LK+K"),P=u("cDcd"),Ae=u("rePB"),ge=u("Ff2n"),_e=u("ODXe"),he=u("4IlW"),M=u("bX4T"),w=u("YrtM"),E=u("TSYQ"),s=u.n(E),h=u("+nKL"),l=u("8OUc"),f=function(O,S){var oe=O.prefixCls,ue=O.id,pe=O.flattenOptions,re=O.childrenAsData,H=O.values,z=O.searchValue,le=O.multiple,X=O.defaultActiveFirstOption,ce=O.height,v=O.itemHeight,k=O.notFoundContent,T=O.open,ie=O.menuItemSelectedIcon,Te=O.virtual,Ce=O.onSelect,Ie=O.onToggleOpen,ke=O.onActiveValue,We=O.onScroll,Ze=O.onMouseEnter,qe="".concat(oe,"-item"),tt=Object(w.a)(function(){return pe},[T,pe],function(At,Ft){return Ft[0]&&At[1]!==Ft[1]}),ht=P.useRef(null),it=function(Ft){Ft.preventDefault()},dt=function(Ft){ht.current&&ht.current.scrollTo({index:Ft})},at=function(Ft){for(var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,An=tt.length,cn=0;cn<An;cn+=1){var Zt=(Ft+cn*Ct+An)%An,ui=tt[Zt],Bn=ui.group,ei=ui.data;if(!Bn&&!ei.disabled)return Zt}return-1},jt=P.useState(function(){return at(0)}),Dt=Object(_e.a)(jt,2),Ut=Dt[0],Ge=Dt[1],In=function(Ft){Ge(Ft);var Ct=tt[Ft];if(!Ct){ke(null,-1);return}ke(Ct.data.value,Ft)};P.useEffect(function(){In(X!==!1?at(0):-1)},[tt.length,z]),P.useEffect(function(){var At=setTimeout(function(){if(!le&&T&&H.size===1){var Ft=Array.from(H)[0],Ct=tt.findIndex(function(An){var cn=An.data;return cn.value===Ft});In(Ct),dt(Ct)}});return function(){return clearTimeout(At)}},[T]);var mn=function(Ft){Ft!==void 0&&Ce(Ft,{selected:!H.has(Ft)}),le||Ie(!1)};if(P.useImperativeHandle(S,function(){return{onKeyDown:function(Ft){var Ct=Ft.which;switch(Ct){case he.a.UP:case he.a.DOWN:{var An=0;if(Ct===he.a.UP?An=-1:Ct===he.a.DOWN&&(An=1),An!==0){var cn=at(Ut+An,An);dt(cn),In(cn)}break}case he.a.ENTER:{var Zt=tt[Ut];Zt&&!Zt.data.disabled?mn(Zt.data.value):mn(void 0),T&&Ft.preventDefault();break}case he.a.ESC:Ie(!1)}},onKeyUp:function(){},scrollTo:function(Ft){dt(Ft)}}}),tt.length===0)return P.createElement("div",{role:"listbox",id:"".concat(ue,"_list"),className:"".concat(qe,"-empty"),onMouseDown:it},k);function ft(At){var Ft=tt[At];if(!Ft)return null;var Ct=Ft.data||{},An=Ct.value,cn=Ct.label,Zt=Ct.children,ui=Object(M.a)(Ct,!0),Bn=re?Zt:cn;return Ft?P.createElement("div",Object.assign({"aria-label":typeof Bn=="string"?Bn:null},ui,{key:At,role:"option",id:"".concat(ue,"_list_").concat(At),"aria-selected":H.has(An)}),An):null}return P.createElement(P.Fragment,null,P.createElement("div",{role:"listbox",id:"".concat(ue,"_list"),style:{height:0,width:0,overflow:"hidden"}},ft(Ut-1),ft(Ut),ft(Ut+1)),P.createElement(h.a,{itemKey:"key",ref:ht,data:tt,height:ce,itemHeight:v,fullHeight:!1,onMouseDown:it,onScroll:We,virtual:Te,onMouseEnter:Ze},function(At,Ft){var Ct,An=At.group,cn=At.groupOption,Zt=At.data,ui=Zt.label,Bn=Zt.key;if(An)return P.createElement("div",{className:s()(qe,"".concat(qe,"-group"))},ui!==void 0?ui:Bn);var ei=Zt.disabled,yi=Zt.value,qi=Zt.title,Ii=Zt.children,ji=Zt.style,ia=Zt.className,mt=Object(ge.a)(Zt,["disabled","value","title","children","style","className"]),Be=H.has(yi),Ot="".concat(qe,"-option"),tn=s()(qe,Ot,ia,(Ct={},Object(Ae.a)(Ct,"".concat(Ot,"-grouped"),cn),Object(Ae.a)(Ct,"".concat(Ot,"-active"),Ut===Ft&&!ei),Object(Ae.a)(Ct,"".concat(Ot,"-disabled"),ei),Object(Ae.a)(Ct,"".concat(Ot,"-selected"),Be),Ct)),qt=re?Ii:ui,Ln=!ie||typeof ie=="function"||Be;return P.createElement("div",Object.assign({},mt,{"aria-selected":Be,className:tn,title:qi,onMouseMove:function(){if(Ut===Ft||ei)return;In(Ft)},onClick:function(){ei||mn(yi)},style:ji}),P.createElement("div",{className:"".concat(Ot,"-content")},qt||yi),P.isValidElement(ie)||Be,Ln&&P.createElement(l.a,{className:"".concat(qe,"-option-state"),customizeIcon:ie,customizeIconProps:{isSelected:Be}},Be?"\u2713":null))}))},x=P.forwardRef(f);x.displayName="OptionList";var K=x,A=function(){return null};A.isSelectOption=!0;var D=A,ee=function(){return null};ee.isSelectOptGroup=!0;var te=ee,V=u("VTBJ"),Y=u("Zm9Q");function fe(c){var O=c.key,S=c.props,oe=S.children,ue=S.value,pe=Object(ge.a)(S,["children","value"]);return Object(V.a)({key:O,value:ue!==void 0?ue:O,children:oe},pe)}function N(c){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(Y.a)(c).map(function(S,oe){if(!P.isValidElement(S)||!S.type)return null;var ue=S.type.isSelectOptGroup,pe=S.key,re=S.props,H=re.children,z=Object(ge.a)(re,["children"]);return O||!ue?fe(S):Object(V.a)(Object(V.a)({key:"__RC_SELECT_GRP__".concat(pe===null?oe:pe,"__"),label:pe},z),{},{options:N(H)})}).filter(function(S){return S})}var W=u("2Qr1"),b=u("qNPg"),ae=u("U8pU"),G=u("Kwbf"),C=u("WKfj");function q(c){var O=c.mode,S=c.options,oe=c.children,ue=c.backfill,pe=c.allowClear,re=c.placeholder,H=c.getInputElement,z=c.showSearch,le=c.onSearch,X=c.defaultOpen,ce=c.autoFocus,v=c.labelInValue,k=c.value,T=c.inputValue,ie=c.optionLabelProp,Te=O==="multiple"||O==="tags",Ce=z!==void 0?z:Te||O==="combobox",Ie=S||N(oe);if(Object(G.a)(O!=="tags"||Ie.every(function(qe){return!qe.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),O==="tags"||O==="combobox"){var ke=Ie.some(function(qe){return qe.options?qe.options.some(function(tt){return typeof("value"in tt?tt.value:tt.key)=="number"}):typeof("value"in qe?qe.value:qe.key)=="number"});Object(G.a)(!ke,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(G.a)(O!=="combobox"||!ie,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(G.a)(O==="combobox"||!ue,"`backfill` only works with `combobox` mode."),Object(G.a)(O==="combobox"||!H,"`getInputElement` only work with `combobox` mode."),Object(G.b)(O!=="combobox"||!H||!pe||!re,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),le&&!Ce&&O!=="combobox"&&O!=="tags"&&Object(G.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(G.b)(!X||ce,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),k!=null){var We=Object(C.d)(k);Object(G.a)(!v||We.every(function(qe){return Object(ae.a)(qe)==="object"&&("key"in qe||"value"in qe)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(G.a)(!Te||Array.isArray(k),"`value` should be array when `mode` is `multiple` or `tags`")}if(oe){var Ze=null;Object(Y.a)(oe).some(function(qe){if(!P.isValidElement(qe)||!qe.type)return!1;var tt=qe.type;if(tt.isSelectOption)return!1;if(tt.isSelectOptGroup){var ht=Object(Y.a)(qe.props.children).every(function(it){return!P.isValidElement(it)||!qe.type||it.type.isSelectOption?!0:(Ze=it.type,!1)});return!ht}return Ze=tt,!0}),Ze&&Object(G.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ze.displayName||Ze.name||Ze,"`.")),Object(G.a)(T===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var Le=q,I=Object(b.a)({prefixCls:"rc-select",components:{optionList:K},convertChildrenToData:N,flattenOptions:W.d,getLabeledValue:W.e,filterOptions:W.b,isValueDisabled:W.g,findValueOption:W.c,warningProps:Le,fillOptionsWithMissingValue:W.a}),Z=function(c){Object(ze.a)(S,c);var O=Object(Oe.a)(S);function S(){var oe;return Object(we.a)(this,S),oe=O.apply(this,arguments),oe.selectRef=P.createRef(),oe.focus=function(){oe.selectRef.current.focus()},oe.blur=function(){oe.selectRef.current.blur()},oe}return Object(Ee.a)(S,[{key:"render",value:function(){return P.createElement(I,Object.assign({ref:this.selectRef},this.props))}}]),S}(P.Component);Z.Option=D,Z.OptGroup=te;var L=Z,y=ye.c=L},NLgs:function(xe,ye,u){"use strict";u.d(ye,"e",function(){return D}),u.d(ye,"f",function(){return ee}),u.d(ye,"d",function(){return V}),u.d(ye,"c",function(){return Y}),u.d(ye,"a",function(){return fe}),u.d(ye,"b",function(){return N});var we=u("miYZ"),Ee=u("tsqr"),ze=u("9og8"),Oe=u("2qtc"),P=u("kLXV"),Ae=u("WmNS"),ge=u.n(Ae),_e=u("cDcd"),he=u.n(_e),M=u("9kvl"),w=u("xKgJ"),E=u("1vsH"),s=u("RCxd"),h=u("mOS8"),l=u.n(h),f=u("1ZF9"),x=u.n(f),K=u("NoGO"),A=u.n(K),D=function(b){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!!(ee(b)&&te(ae))},ee=function(b){return Object(w.p)()?!0:(b({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1)},te=function(){var b,ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,G=Object(M.c)()._store.getState(),C=G.user;return(b=C.userInfo)!==null&&b!==void 0&&b.profile_completed?!0:(P.a.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:ae?"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801":"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){M.d.push("/account/profile/edit")}}),!1)},V=function(){var b,ae=Object(M.c)()._store.getState(),G=ae.user;return(b=G.userInfo)!==null&&b!==void 0&&b.professional_certification?!0:(P.a.confirm({title:"\u63D0\u793A",centered:!0,content:he.a.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){Object(E.U)("/account/certification")}}),!1)},Y=function(){return Object(w.a)()?!0:(P.a.warning({centered:!0,width:530,title:"\u63D0\u793A",content:he.a.createElement("div",{className:"tc",style:{marginLeft:-38}},he.a.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),he.a.createElement("img",{src:A.a,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1)},fe=function(b,ae){return b?!0:(P.a.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:he.a.createElement("div",null,he.a.createElement("p",null,ae||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),he.a.createElement("div",{style:{marginLeft:"110px"}},he.a.createElement("img",{src:x.a,width:200}),he.a.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:function(){Object(E.U)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1)},N=function(b){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",G=Object(M.c)()._store.getState(),C=G.shixunsDetail.detail;return(C==null?void 0:C.public)===2||(C==null?void 0:C.public)===1||(C==null?void 0:C.shixun_status)===3?(P.a.info({centered:!0,icon:he.a.createElement(s.a,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:he.a.createElement("div",{className:"tc",style:{marginLeft:-38}},he.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},he.a.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",(C==null?void 0:C.public)===2?"\u5DF2\u516C\u5F00":(C==null?void 0:C.public)===1?"\u5F85\u5BA1\u6838":"\u5DF2\u5173\u95ED","\uFF0C",ae,"\u3002"),he.a.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),he.a.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:l.a,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0):(C==null?void 0:C.shixun_status)===2?(P.a.confirm({centered:!0,icon:he.a.createElement(s.a,null),title:"\u63D0\u793A",content:he.a.createElement("div",null,he.a.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",ae,"\u3002"),he.a.createElement("br",null),he.a.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:function(){P.a.confirm({width:440,centered:!0,icon:he.a.createElement(s.a,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:function(){var Le=Object(ze.a)(ge.a.mark(function Z(){var L;return ge.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,b({type:"shixunsDetail/cancelRelease",payload:{id:C==null?void 0:C.identifier}});case 2:L=c.sent,L.status!==401&&(Ee.b.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),b({type:"shixunsDetail/getShixunsDetail",payload:{id:C==null?void 0:C.identifier}}),b({type:"practiceSetting/getCommonData",payload:{id:C==null?void 0:C.identifier}}));case 4:case"end":return c.stop()}},Z)}));function I(){return Le.apply(this,arguments)}return I}()})}}),!0):!1}},Nmxd:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAF4ElEQVRoQ91aW2wUVRj+/rPbSivURIgKjZcHjUYTgZ0lthgv3V0LSqB9IAQeNNEIaKKwZbcFnuQJoZ1piyYawJjIiwZDwiVBaHd28QItaWeLD4KJPgimiA+YCAZj6Z7fzPZiu7e57WriJE0f5v++//tm/j3nn3MOoQyXcmJ/LdfeCBOjEUA9EdUzUA9g0ST9VQJGmXkU5n/CAN2q043Vm295TU9uCRS9MwCiFWBqAmD++R1yjQNIgTgF5tNGuCPtEJ8Nd2xgWarzPil9UbBsA1G1m6R5GOYxkOgRItM71NRxzQmnIwMBvStKoCiAB50kcRB7mcG96XB7r12MLQNPJXrvzdD4QQZW2yX2EkfACR/7N56PRH+14rE0sDSpLRaM4wA/YEVW3vt0RRLWjIRi35biLWkgmOhaz0SflleYMzZi3jAcaf+sGKqoAUVX3wbwnrN0FYveYoTj7xdiL2ggqKsvMnCyYnJcEBPw0nA4/kUuNM9AINX9MMnMIEDzXeSpIISvs/A1pJu2/TgzSZ4BRVf7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3QPLXRpNqPzEiHpJfBOAD8KgHjoJQs3VIh+Kzlj3zDCzp63zEJ8QgCHeXW4AnPsZvGSkbLjR3/DCT5/+3vD7lTkl0bQHRPk9PrVxg5q1GpL3gZkvpLaZU93qW8r/dYhJiw3DTNudbTFMPb1lf5xIpxHEQ7i/XA7XFw/hZSLlmqLn094flLqWZzNzcZikO/JvbrCTkJjub3rYMZJ8YgwJJbSuBK7zRTb3pUGwfCGznTdk3MMm2tG/vIvL7tpJE1G3vlCeMMcYCvTye2TfSvP2qHeFTMY4NTI9Sek8AJFewlCGi7IEPc/JycmWYOUVCJMHitNmYOQF7NjAzmTK8v5Z/N4/biEYI1BN46riNeeTGvEazx21Ao5DmcRs5QHfV6UbQ+3GbvwHH7EQQahyMxwAAAABJRU5ErkJggg=="},NoGO:function(xe,ye,u){xe.exports=u.p+"static/newqrcode.9bae6615.png"},NvD2:function(xe,ye,u){"use strict";u.d(ye,"a",function(){return Ae});var we=u("Kwbf");function Ee(ge,_e){var he=new Set;return ge.forEach(function(M){_e.has(M)||he.add(M)}),he}function ze(ge){var _e=ge||{},he=_e.disabled,M=_e.disableCheckbox,w=_e.checkable;return!!(he||M)||w===!1}function Oe(ge,_e,he,M){for(var w=new Set(ge),E=new Set,s=0;s<=he;s+=1){var h=_e.get(s)||new Set;h.forEach(function(K){var A=K.key,D=K.node,ee=K.children,te=ee===void 0?[]:ee;w.has(A)&&!M(D)&&te.filter(function(V){return!M(V.node)}).forEach(function(V){w.add(V.key)})})}for(var l=new Set,f=he;f>=0;f-=1){var x=_e.get(f)||new Set;x.forEach(function(K){var A=K.parent,D=K.node;if(M(D)||!K.parent||l.has(K.parent.key))return;if(M(K.parent.node)){l.add(A.key);return}var ee=!0,te=!1;(A.children||[]).filter(function(V){return!M(V.node)}).forEach(function(V){var Y=V.key,fe=w.has(Y);ee&&!fe&&(ee=!1),!te&&(fe||E.has(Y))&&(te=!0)}),ee&&w.add(A.key),te&&E.add(A.key),l.add(A.key)})}return{checkedKeys:Array.from(w),halfCheckedKeys:Array.from(Ee(E,w))}}function P(ge,_e,he,M,w){for(var E=new Set(ge),s=new Set(_e),h=0;h<=M;h+=1){var l=he.get(h)||new Set;l.forEach(function(A){var D=A.key,ee=A.node,te=A.children,V=te===void 0?[]:te;!E.has(D)&&!s.has(D)&&!w(ee)&&V.filter(function(Y){return!w(Y.node)}).forEach(function(Y){E.delete(Y.key)})})}s=new Set;for(var f=new Set,x=M;x>=0;x-=1){var K=he.get(x)||new Set;K.forEach(function(A){var D=A.parent,ee=A.node;if(w(ee)||!A.parent||f.has(A.parent.key))return;if(w(A.parent.node)){f.add(D.key);return}var te=!0,V=!1;(D.children||[]).filter(function(Y){return!w(Y.node)}).forEach(function(Y){var fe=Y.key,N=E.has(fe);te&&!N&&(te=!1),!V&&(N||s.has(fe))&&(V=!0)}),te||E.delete(D.key),V&&s.add(D.key),f.add(D.key)})}return{checkedKeys:Array.from(E),halfCheckedKeys:Array.from(Ee(s,E))}}function Ae(ge,_e,he,M){var w=[],E;M?E=M:E=ze;var s=new Set(ge.filter(function(x){var K=!!he[x];return K||w.push(x),K})),h=new Map,l=0;Object.keys(he).forEach(function(x){var K=he[x],A=K.level,D=h.get(A);D||(D=new Set,h.set(A,D)),D.add(K),l=Math.max(l,A)}),Object(we.a)(!w.length,"Tree missing follow keys: ".concat(w.slice(0,100).map(function(x){return"'".concat(x,"'")}).join(", ")));var f;return _e===!0?f=Oe(s,h,l,E):f=P(s,_e.halfCheckedKeys,h,l,E),f}},OZM5:function(xe,ye,u){"use strict";u.d(ye,"b",function(){return M}),u.d(ye,"a",function(){return w}),u.d(ye,"k",function(){return E}),u.d(ye,"h",function(){return s}),u.d(ye,"i",function(){return h}),u.d(ye,"g",function(){return l}),u.d(ye,"c",function(){return f}),u.d(ye,"d",function(){return x}),u.d(ye,"j",function(){return D}),u.d(ye,"e",function(){return ee}),u.d(ye,"f",function(){return te});var we=u("KQm4"),Ee=u("U8pU"),ze=u("Ff2n"),Oe=u("cDcd"),P=u.n(Oe),Ae=u("Kwbf"),ge=u("WaYH"),_e=.25,he=2;function M(V,Y){var fe=V.slice(),N=fe.indexOf(Y);return N>=0&&fe.splice(N,1),fe}function w(V,Y){var fe=V.slice();return fe.indexOf(Y)===-1&&fe.push(Y),fe}function E(V){return V.split("-")}function s(V,Y){return"".concat(V,"-").concat(Y)}function h(V){return V&&V.type&&V.type.isTreeNode}function l(V,Y){var fe=[V],N=Y[V];function W(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];b.forEach(function(ae){var G=ae.key,C=ae.children;fe.push(G),W(C)})}return W(N.children),fe}function f(V,Y){var fe=V.clientY,N=Y.selectHandle.getBoundingClientRect(),W=N.top,b=N.bottom,ae=N.height,G=Math.max(ae*_e,he);return fe<=W+G?-1:fe>=b-G?1:0}function x(V,Y){if(!V)return;var fe=Y.multiple;return fe?V.slice():V.length?[V[0]]:V}var K=function(Y){return Y};function A(V,Y){if(!V)return[];var fe=Y||{},N=fe.processProps,W=N===void 0?K:N,b=Array.isArray(V)?V:[V];return b.map(function(ae){var G=ae.children,C=Object(ze.a)(ae,["children"]),q=A(G,Y);return P.a.createElement(ge.a,Object.assign({},W(C)),q)})}function D(V){if(!V)return null;var Y;if(Array.isArray(V))Y={checkedKeys:V,halfCheckedKeys:void 0};else if(Object(Ee.a)(V)==="object")Y={checkedKeys:V.checked||void 0,halfCheckedKeys:V.halfChecked||void 0};else return Object(Ae.a)(!1,"`checkedKeys` is not an array or an object"),null;return Y}function ee(V,Y){var fe=new Set;function N(W){if(fe.has(W))return;var b=Y[W];if(!b)return;fe.add(W);var ae=b.parent,G=b.node;if(G.disabled)return;ae&&N(ae.key)}return(V||[]).forEach(function(W){N(W)}),Object(we.a)(fe)}function te(V){var Y={};return Object.keys(V).forEach(function(fe){(fe.startsWith("data-")||fe.startsWith("aria-"))&&(Y[fe]=V[fe])}),Y}},Ohmc:function(xe,ye,u){xe.exports=u.p+"static/certificate.fc32dc1b.jpg"},P5Jw:function(xe,ye,u){"use strict";var we=u("rHrb"),Ee=we.CopyToClipboard;Ee.CopyToClipboard=Ee,xe.exports=Ee},RC3E:function(xe,ye,u){xe.exports={wrap:"wrap___2zh4E",title:"title___Os-Oa",path:"path___eUXXC",colorBlue:"colorBlue___2IORo"}},RMFE:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAAFyCAYAAADYqEAoAAAAAXNSR0IArs4c6QAADetJREFUeAHt1jFqXUEQRUHLaP9b/jZObmYU9MAJSlGDxNBUPw76+vz9+eWHAAECBHICv3MbWYgAAQIE/gkItA+BAAECUQGBjh7GWgQIEBBo3wABAgSiAgIdPYy1CBAgINC+AQIECEQFBDp6GGsRIEBAoH0DBAgQiAoIdPQw1iJAgIBA+wYIECAQFRDo6GGsRYAAAYH2DRAgQCAqINDRw1iLAAECAu0bIECAQFRAoKOHsRYBAgQE2jdAgACBqIBARw9jLQIECAi0b4AAAQJRAYGOHsZaBAgQEGjfAAECBKICAh09jLUIECAg0L4BAgQIRAUEOnoYaxEgQECgfQMECBCICgh09DDWIkCAgED7BggQIBAVEOjoYaxFgAABgfYNECBAICog0NHDWIsAAQIC7RsgQIBAVECgo4exFgECBATaN0CAAIGogEBHD2MtAgQICLRvgAABAlEBgY4exloECBAQaN8AAQIEogICHT2MtQgQICDQvgECBAhEBQQ6ehhrESBAQKB9AwQIEIgKCHT0MNYiQICAQPsGCBAgEBUQ6OhhrEWAAAGB9g0QIEAgKiDQ0cNYiwABAgLtGyBAgEBUQKCjh7EWAQIEBNo3QIAAgaiAQEcPYy0CBAh8/5Tg6+vrp3/q7wgQIEDgPwKfz+c/v92v/Ac9CxMBAgRSAgKdOodlCBAgMAGBnoWJAAECKQGBTp3DMgQIEJiAQM/CRIAAgZSAQKfOYRkCBAhMQKBnYSJAgEBKQKBT57AMAQIEJiDQszARIEAgJSDQqXNYhgABAhMQ6FmYCBAgkBIQ6NQ5LEOAAIEJCPQsTAQIEEgJCHTqHJYhQIDABAR6F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drm28G5JO1zQ0gN9pmA2QDZNM2GyCbtrnRNk8BcqNtNkA2QN7UNhsgTwKyaZsNkE3bvAnIjbb5VCeSJGmcSJKkcSJJksaJJEkaJ5IkaZxIkqRxIkmSBv2VFwH5m7XNk4Bs2uZJQJ7UNjeA3GibTwXkRttsgNxomw2QG22zAXKjbW4AeVLbbIDcaJsNkCe1zVtOJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJA36K5Ik6X9OJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ40SSJI0TSZI0TiRJ0jiRJEnjRJIkjRNJkjROJEnSOJEkSeNEkiSNE0mSNE4kSdI4kSRJ4/8ATrCgy9kbxW8AAAAASUVORK5CYII="},TGq3:function(xe,ye,u){xe.exports=u.p+"static/lockclose.365036e8.svg"},TXwP:function(xe,ye,u){var we,Ee;(function(){var ze;(function(){"use strict";var P=[,,function(he){function M(s){this.__parent=s,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}M.prototype.clone_empty=function(){var s=new M(this.__parent);return s.set_indent(this.__indent_count,this.__alignment_count),s},M.prototype.item=function(s){return s<0?this.__items[this.__items.length+s]:this.__items[s]},M.prototype.has_match=function(s){for(var h=this.__items.length-1;h>=0;h--)if(this.__items[h].match(s))return!0;return!1},M.prototype.set_indent=function(s,h){this.is_empty()&&(this.__indent_count=s||0,this.__alignment_count=h||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},M.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},M.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},M.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var s=this.__parent.current_line;return s.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),s.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),s.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,s.__items[0]===" "&&(s.__items.splice(0,1),s.__character_count-=1),!0}return!1},M.prototype.is_empty=function(){return this.__items.length===0},M.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},M.prototype.push=function(s){this.__items.push(s);var h=s.lastIndexOf(`
`);h!==-1?this.__character_count=s.length-h:this.__character_count+=s.length},M.prototype.pop=function(){var s=null;return this.is_empty()||(s=this.__items.pop(),this.__character_count-=s.length),s},M.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},M.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},M.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},M.prototype.toString=function(){var s="";return this.is_empty()?this.__parent.indent_empty_lines&&(s=this.__parent.get_indent_string(this.__indent_count)):(s=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),s+=this.__items.join("")),s};function w(s,h){this.__cache=[""],this.__indent_size=s.indent_size,this.__indent_string=s.indent_char,s.indent_with_tabs||(this.__indent_string=new Array(s.indent_size+1).join(s.indent_char)),h=h||"",s.indent_level>0&&(h=new Array(s.indent_level+1).join(this.__indent_string)),this.__base_string=h,this.__base_string_length=h.length}w.prototype.get_indent_size=function(s,h){var l=this.__base_string_length;return h=h||0,s<0&&(l=0),l+=s*this.__indent_size,l+=h,l},w.prototype.get_indent_string=function(s,h){var l=this.__base_string;return h=h||0,s<0&&(s=0,l=""),h+=s*this.__indent_size,this.__ensure_cache(h),l+=this.__cache[h],l},w.prototype.__ensure_cache=function(s){for(;s>=this.__cache.length;)this.__add_column()},w.prototype.__add_column=function(){var s=this.__cache.length,h=0,l="";this.__indent_size&&s>=this.__indent_size&&(h=Math.floor(s/this.__indent_size),s-=h*this.__indent_size,l=new Array(h+1).join(this.__indent_string)),s&&(l+=new Array(s+1).join(" ")),this.__cache.push(l)};function E(s,h){this.__indent_cache=new w(s,h),this.raw=!1,this._end_with_newline=s.end_with_newline,this.indent_size=s.indent_size,this.wrap_line_length=s.wrap_line_length,this.indent_empty_lines=s.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new M(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}E.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},E.prototype.get_line_number=function(){return this.__lines.length},E.prototype.get_indent_string=function(s,h){return this.__indent_cache.get_indent_string(s,h)},E.prototype.get_indent_size=function(s,h){return this.__indent_cache.get_indent_size(s,h)},E.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},E.prototype.add_new_line=function(s){return this.is_empty()||!s&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},E.prototype.get_code=function(s){this.trim(!0);var h=this.current_line.pop();h&&(h[h.length-1]===`
`&&(h=h.replace(/\n+$/g,"")),this.current_line.push(h)),this._end_with_newline&&this.__add_outputline();var l=this.__lines.join(`
`);return s!==`
`&&(l=l.replace(/[\n]/g,s)),l},E.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},E.prototype.set_indent=function(s,h){return s=s||0,h=h||0,this.next_line.set_indent(s,h),this.__lines.length>1?(this.current_line.set_indent(s,h),!0):(this.current_line.set_indent(),!1)},E.prototype.add_raw_token=function(s){for(var h=0;h<s.newlines;h++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(s.whitespace_before),this.current_line.push(s.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},E.prototype.add_token=function(s){this.__add_space_before_token(),this.current_line.push(s),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},E.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},E.prototype.remove_indent=function(s){for(var h=this.__lines.length;s<h;)this.__lines[s]._remove_indent(),s++;this.current_line._remove_wrap_indent()},E.prototype.trim=function(s){for(s=s===void 0?!1:s,this.current_line.trim();s&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},E.prototype.just_added_newline=function(){return this.current_line.is_empty()},E.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},E.prototype.ensure_empty_line_above=function(s,h){for(var l=this.__lines.length-2;l>=0;){var f=this.__lines[l];if(f.is_empty())break;if(f.item(0).indexOf(s)!==0&&f.item(-1)!==h){this.__lines.splice(l+1,0,new M(this)),this.previous_line=this.__lines[this.__lines.length-2];break}l--}},he.exports.Output=E},,,,function(he){function M(s,h){this.raw_options=w(s,h),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}M.prototype._get_array=function(s,h){var l=this.raw_options[s],f=h||[];return typeof l=="object"?l!==null&&typeof l.concat=="function"&&(f=l.concat()):typeof l=="string"&&(f=l.split(/[^a-zA-Z0-9_\/\-]+/)),f},M.prototype._get_boolean=function(s,h){var l=this.raw_options[s],f=l===void 0?!!h:!!l;return f},M.prototype._get_characters=function(s,h){var l=this.raw_options[s],f=h||"";return typeof l=="string"&&(f=l.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),f},M.prototype._get_number=function(s,h){var l=this.raw_options[s];h=parseInt(h,10),isNaN(h)&&(h=0);var f=parseInt(l,10);return isNaN(f)&&(f=h),f},M.prototype._get_selection=function(s,h,l){var f=this._get_selection_list(s,h,l);if(f.length!==1)throw new Error("Invalid Option Value: The option '"+s+`' can only be one of the following values:
`+h+`
You passed in: '`+this.raw_options[s]+"'");return f[0]},M.prototype._get_selection_list=function(s,h,l){if(!h||h.length===0)throw new Error("Selection list cannot be empty.");if(l=l||[h[0]],!this._is_valid_selection(l,h))throw new Error("Invalid Default Value!");var f=this._get_array(s,l);if(!this._is_valid_selection(f,h))throw new Error("Invalid Option Value: The option '"+s+`' can contain only the following values:
`+h+`
You passed in: '`+this.raw_options[s]+"'");return f},M.prototype._is_valid_selection=function(s,h){return s.length&&h.length&&!s.some(function(l){return h.indexOf(l)===-1})};function w(s,h){var l={};s=E(s);var f;for(f in s)f!==h&&(l[f]=s[f]);if(h&&s[h])for(f in s[h])l[f]=s[h][f];return l}function E(s){var h={},l;for(l in s){var f=l.replace(/-/g,"_");h[f]=s[l]}return h}he.exports.Options=M,he.exports.normalizeOpts=E,he.exports.mergeOpts=w},,function(he){var M=RegExp.prototype.hasOwnProperty("sticky");function w(E){this.__input=E||"",this.__input_length=this.__input.length,this.__position=0}w.prototype.restart=function(){this.__position=0},w.prototype.back=function(){this.__position>0&&(this.__position-=1)},w.prototype.hasNext=function(){return this.__position<this.__input_length},w.prototype.next=function(){var E=null;return this.hasNext()&&(E=this.__input.charAt(this.__position),this.__position+=1),E},w.prototype.peek=function(E){var s=null;return E=E||0,E+=this.__position,E>=0&&E<this.__input_length&&(s=this.__input.charAt(E)),s},w.prototype.__match=function(E,s){E.lastIndex=s;var h=E.exec(this.__input);return h&&!(M&&E.sticky)&&(h.index!==s&&(h=null)),h},w.prototype.test=function(E,s){return s=s||0,s+=this.__position,s>=0&&s<this.__input_length?!!this.__match(E,s):!1},w.prototype.testChar=function(E,s){var h=this.peek(s);return E.lastIndex=0,h!==null&&E.test(h)},w.prototype.match=function(E){var s=this.__match(E,this.__position);return s?this.__position+=s[0].length:s=null,s},w.prototype.read=function(E,s,h){var l="",f;return E&&(f=this.match(E),f&&(l+=f[0])),s&&(f||!E)&&(l+=this.readUntil(s,h)),l},w.prototype.readUntil=function(E,s){var h="",l=this.__position;E.lastIndex=this.__position;var f=E.exec(this.__input);return f?(l=f.index,s&&(l+=f[0].length)):l=this.__input_length,h=this.__input.substring(this.__position,l),this.__position=l,h},w.prototype.readUntilAfter=function(E){return this.readUntil(E,!0)},w.prototype.get_regexp=function(E,s){var h=null,l="g";return s&&M&&(l="y"),typeof E=="string"&&E!==""?h=new RegExp(E,l):E&&(h=new RegExp(E.source,l)),h},w.prototype.get_literal_regexp=function(E){return RegExp(E.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},w.prototype.peekUntilAfter=function(E){var s=this.__position,h=this.readUntilAfter(E);return this.__position=s,h},w.prototype.lookBack=function(E){var s=this.__position-1;return s>=E.length&&this.__input.substring(s-E.length,s).toLowerCase()===E},he.exports.InputScanner=w},,,,,function(he){function M(w,E){w=typeof w=="string"?w:w.source,E=typeof E=="string"?E:E.source,this.__directives_block_pattern=new RegExp(w+/ beautify( \w+[:]\w+)+ /.source+E,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(w+/\sbeautify\signore:end\s/.source+E,"g")}M.prototype.get_directives=function(w){if(!w.match(this.__directives_block_pattern))return null;var E={};this.__directive_pattern.lastIndex=0;for(var s=this.__directive_pattern.exec(w);s;)E[s[1]]=s[2],s=this.__directive_pattern.exec(w);return E},M.prototype.readIgnored=function(w){return w.readUntilAfter(this.__directives_end_ignore_pattern)},he.exports.Directives=M},,function(he,M,w){var E=w(16).Beautifier,s=w(17).Options;function h(l,f){var x=new E(l,f);return x.beautify()}he.exports=h,he.exports.defaultOptions=function(){return new s}},function(he,M,w){var E=w(17).Options,s=w(2).Output,h=w(8).InputScanner,l=w(13).Directives,f=new l(/\/\*/,/\*\//),x=/\r\n|[\r\n]/,K=/\r\n|[\r\n]/g,A=/\s/,D=/(?:\s|\n)+/g,ee=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,te=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function V(Y,fe){this._source_text=Y||"",this._options=new E(fe),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}V.prototype.eatString=function(Y){var fe="";for(this._ch=this._input.next();this._ch;){if(fe+=this._ch,this._ch==="\\")fe+=this._input.next();else if(Y.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return fe},V.prototype.eatWhitespace=function(Y){for(var fe=A.test(this._input.peek()),N=0;A.test(this._input.peek());)this._ch=this._input.next(),Y&&this._ch===`
`&&((N===0||N<this._options.max_preserve_newlines)&&(N++,this._output.add_new_line(!0)));return fe},V.prototype.foundNestedPseudoClass=function(){for(var Y=0,fe=1,N=this._input.peek(fe);N;){if(N==="{")return!0;if(N==="(")Y+=1;else if(N===")"){if(Y===0)return!1;Y-=1}else if(N===";"||N==="}")return!1;fe++,N=this._input.peek(fe)}return!1},V.prototype.print_string=function(Y){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(Y)},V.prototype.preserveSingleSpace=function(Y){Y&&(this._output.space_before_token=!0)},V.prototype.indent=function(){this._indentLevel++},V.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},V.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var Y=this._source_text,fe=this._options.eol;fe==="auto"&&(fe=`
`,Y&&x.test(Y||"")&&(fe=Y.match(x)[0])),Y=Y.replace(K,`
`);var N=Y.match(/^[\t ]*/)[0];this._output=new s(this._options,N),this._input=new h(Y),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var W=0,b=!1,ae=!1,G=!1,C=!1,q=!1,Le=!1,I=this._ch,Z=!1,L,y,c;L=this._input.read(D),y=L!=="",c=I,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),I=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var O=this._input.read(ee),S=f.get_directives(O);S&&S.ignore==="start"&&(O+=f.readIgnored(this._input)),this.print_string(O),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(te)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(y),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var oe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);oe.match(/[ :]$/)&&(oe=this.eatString(": ").replace(/\s$/,""),this.print_string(oe),this._output.space_before_token=!0),oe=oe.replace(/\s$/,""),oe==="extend"?C=!0:oe==="import"&&(q=!0),oe in this.NESTED_AT_RULE?(this._nestedLevel+=1,oe in this.CONDITIONAL_GROUP_RULE&&(G=!0)):!b&&W===0&&oe.indexOf(":")!==-1&&(ae=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(y),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ae&&(ae=!1,this.outdent()),G?(G=!1,b=this._indentLevel>=this._nestedLevel):b=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&b&&(this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",",")),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(c==="("?this._output.space_before_token=!1:c!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),c==="{"&&this._output.trim(!0),q=!1,C=!1,ae&&(this.outdent(),ae=!1),this.print_string(this._ch),b=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&(this._input.peek()!=="}"&&this._output.add_new_line(!0)),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var ue=0;ue<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ue++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ue])){Z=!0;break}(b||G)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!C&&W===0?(this.print_string(":"),ae||(ae=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var pe=c==='"'||c==="'";this.preserveSingleSpace(pe||y),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")Z=!1,W===0?(ae&&(this.outdent(),ae=!1),C=!1,q=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),W++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),W&&(W--,this.outdent()));else{var re=!1;this._input.lookBack("with")&&(re=!0),this.preserveSingleSpace(y||re),this.print_string(this._ch),ae&&c==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),Le=!0):(this.eatWhitespace(),W++,this.indent())}else if(this._ch===")")W&&(W--,this.outdent()),Le&&this._input.peek()===";"&&this._options.selector_separator_newline&&(Le=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!ae||Le)&&W===0&&!q&&!C?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ae&&W===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&A.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(y),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),A.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var H=c==='"'||c==="'";this.preserveSingleSpace(H||y),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&Z&&this._output.add_new_line()}var z=this._output.get_code(fe);return z},he.exports.Beautifier=V},function(he,M,w){var E=w(6).Options;function s(h){E.call(this,h,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var l=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||l;var f=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var x=0;x<f.length;x++)f[x]!=="expand"?this.brace_style="collapse":this.brace_style=f[x]}s.prototype=new E,he.exports.Options=s}],Ae={};function ge(he){var M=Ae[he];if(M!==void 0)return M.exports;var w=Ae[he]={exports:{}};return P[he](w,w.exports,ge),w.exports}var _e=ge(15);ze=_e})();var Oe=ze;!(we=[],Ee=function(){return{css_beautify:Oe}}.apply(ye,we),Ee!==void 0&&(xe.exports=Ee))})()},"VrN/":function(xe,ye,u){(function(we,Ee){xe.exports=Ee()})(this,function(){"use strict";var we=navigator.userAgent,Ee=navigator.platform,ze=/gecko\/\d/i.test(we),Oe=/MSIE \d/.test(we),P=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(we),Ae=/Edge\/(\d+)/.exec(we),ge=Oe||P||Ae,_e=ge&&(Oe?document.documentMode||6:+(Ae||P)[1]),he=!Ae&&/WebKit\//.test(we),M=he&&/Qt\/\d+\.\d+/.test(we),w=!Ae&&/Chrome\//.test(we),E=/Opera\//.test(we),s=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(we),l=/PhantomJS/.test(we),f=!Ae&&/AppleWebKit/.test(we)&&/Mobile\/\w+/.test(we),x=/Android/.test(we),K=f||x||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(we),A=f||/Mac/.test(Ee),D=/\bCrOS\b/.test(we),ee=/win/i.test(Ee),te=E&&we.match(/Version\/(\d*\.\d*)/);te&&(te=Number(te[1])),te&&te>=15&&(E=!1,he=!0);var V=A&&(M||E&&(te==null||te<12.11)),Y=ze||ge&&_e>=9;function fe(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var N=function(e,t){var i=e.className,n=fe(t).exec(i);if(n){var a=i.slice(n.index+n[0].length);e.className=i.slice(0,n.index)+(a?n[1]+a:"")}};function W(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function b(e,t){return W(e).appendChild(t)}function ae(e,t,i,n){var a=document.createElement(e);if(i&&(a.className=i),n&&(a.style.cssText=n),typeof t=="string")a.appendChild(document.createTextNode(t));else if(t)for(var r=0;r<t.length;++r)a.appendChild(t[r]);return a}function G(e,t,i,n){var a=ae(e,t,i,n);return a.setAttribute("role","presentation"),a}var C;document.createRange?C=function(e,t,i,n){var a=document.createRange();return a.setEnd(n||e,i),a.setStart(e,t),a}:C=function(e,t,i){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(a){return n}return n.collapse(!0),n.moveEnd("character",i),n.moveStart("character",t),n};function q(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function Le(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function I(e,t){var i=e.className;fe(t).test(i)||(e.className+=(i?" ":"")+t)}function Z(e,t){for(var i=e.split(" "),n=0;n<i.length;n++)i[n]&&!fe(i[n]).test(t)&&(t+=" "+i[n]);return t}var L=function(e){e.select()};f?L=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ge&&(L=function(e){try{e.select()}catch(t){}});function y(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function c(e,t,i){t||(t={});for(var n in e)e.hasOwnProperty(n)&&(i!==!1||!t.hasOwnProperty(n))&&(t[n]=e[n]);return t}function O(e,t,i,n,a){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var r=n||0,o=a||0;;){var d=e.indexOf(" ",r);if(d<0||d>=t)return o+(t-r);o+=d-r,o+=i-o%i,r=d+1}}var S=function(){this.id=null,this.f=null,this.time=0,this.handler=y(this.onTimeout,this)};S.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},S.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=i)};function oe(e,t){for(var i=0;i<e.length;++i)if(e[i]==t)return i;return-1}var ue=50,pe={toString:function(){return"CodeMirror.Pass"}},re={scroll:!1},H={origin:"*mouse"},z={origin:"+move"};function le(e,t,i){for(var n=0,a=0;;){var r=e.indexOf(" ",n);r==-1&&(r=e.length);var o=r-n;if(r==e.length||a+o>=t)return n+Math.min(o,t-a);if(a+=r-n,a+=i-a%i,n=r+1,a>=t)return n}}var X=[""];function ce(e){for(;X.length<=e;)X.push(v(X)+" ");return X[e]}function v(e){return e[e.length-1]}function k(e,t){for(var i=[],n=0;n<e.length;n++)i[n]=t(e[n],n);return i}function T(e,t,i){for(var n=0,a=i(t);n<e.length&&i(e[n])<=a;)n++;e.splice(n,0,t)}function ie(){}function Te(e,t){var i;return Object.create?i=Object.create(e):(ie.prototype=e,i=new ie),t&&c(t,i),i}var Ce=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Ie(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Ce.test(e))}function ke(e,t){return t?t.source.indexOf("\\w")>-1&&Ie(e)?!0:t.test(e):Ie(e)}function We(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Ze=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function qe(e){return e.charCodeAt(0)>=768&&Ze.test(e)}function tt(e,t,i){for(;(i<0?t>0:t<e.length)&&qe(e.charAt(t));)t+=i;return t}function ht(e,t,i){for(var n=t>i?-1:1;;){if(t==i)return t;var a=(t+i)/2,r=n<0?Math.ceil(a):Math.floor(a);if(r==t)return e(r)?t:i;e(r)?i=r:t=r+n}}function it(e,t,i,n){if(!e)return n(t,i,"ltr",0);for(var a=!1,r=0;r<e.length;++r){var o=e[r];(o.from<i&&o.to>t||t==i&&o.to==t)&&(n(Math.max(o.from,t),Math.min(o.to,i),o.level==1?"rtl":"ltr",r),a=!0)}a||n(t,i,"ltr")}var dt=null;function at(e,t,i){var n;dt=null;for(var a=0;a<e.length;++a){var r=e[a];if(r.from<t&&r.to>t)return a;r.to==t&&(r.from!=r.to&&i=="before"?n=a:dt=a),r.from==t&&(r.from!=r.to&&i!="before"?n=a:dt=a)}return n!=null?n:dt}var jt=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(g){return g<=247?e.charAt(g):1424<=g&&g<=1524?"R":1536<=g&&g<=1785?t.charAt(g-1536):1774<=g&&g<=2220?"r":8192<=g&&g<=8203?"w":g==8204?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,a=/[stwN]/,r=/[LRr]/,o=/[Lb1n]/,d=/[1n]/;function p(g,F,J){this.level=g,this.from=F,this.to=J}return function(g,F){var J=F=="ltr"?"L":"R";if(g.length==0||F=="ltr"&&!n.test(g))return!1;for(var be=g.length,me=[],Ne=0;Ne<be;++Ne)me.push(i(g.charCodeAt(Ne)));for(var De=0,Ke=J;De<be;++De){var Ve=me[De];Ve=="m"?me[De]=Ke:Ke=Ve}for(var et=0,Je=J;et<be;++et){var rt=me[et];rt=="1"&&Je=="r"?me[et]="n":r.test(rt)&&(Je=rt,rt=="r"&&(me[et]="R"))}for(var yt=1,vt=me[0];yt<be-1;++yt){var en=me[yt];en=="+"&&vt=="1"&&me[yt+1]=="1"?me[yt]="1":en==","&&vt==me[yt+1]&&(vt=="1"||vt=="n")&&(me[yt]=vt),vt=en}for(var Hn=0;Hn<be;++Hn){var Ci=me[Hn];if(Ci==",")me[Hn]="N";else if(Ci=="%"){var ni=void 0;for(ni=Hn+1;ni<be&&me[ni]=="%";++ni);for(var na=Hn&&me[Hn-1]=="!"||ni<be&&me[ni]=="1"?"1":"N",Ji=Hn;Ji<ni;++Ji)me[Ji]=na;Hn=ni-1}}for(var fi=0,Xi=J;fi<be;++fi){var Ni=me[fi];Xi=="L"&&Ni=="1"?me[fi]="L":r.test(Ni)&&(Xi=Ni)}for(var Ei=0;Ei<be;++Ei)if(a.test(me[Ei])){var pi=void 0;for(pi=Ei+1;pi<be&&a.test(me[pi]);++pi);for(var ri=(Ei?me[Ei-1]:J)=="L",Zi=(pi<be?me[pi]:J)=="L",zr=ri==Zi?ri?"L":"R":J,sr=Ei;sr<pi;++sr)me[sr]=zr;Ei=pi-1}for(var Pi=[],Ua,Si=0;Si<be;)if(o.test(me[Si])){var ps=Si;for(++Si;Si<be&&o.test(me[Si]);++Si);Pi.push(new p(0,ps,Si))}else{var Ya=Si,vr=Pi.length,_r=F=="rtl"?1:0;for(++Si;Si<be&&me[Si]!="L";++Si);for(var Gi=Ya;Gi<Si;)if(d.test(me[Gi])){Ya<Gi&&(Pi.splice(vr,0,new p(1,Ya,Gi)),vr+=_r);var Gr=Gi;for(++Gi;Gi<Si&&d.test(me[Gi]);++Gi);Pi.splice(vr,0,new p(2,Gr,Gi)),vr+=_r,Ya=Gi}else++Gi;Ya<Si&&Pi.splice(vr,0,new p(1,Ya,Si))}return F=="ltr"&&(Pi[0].level==1&&(Ua=g.match(/^\s+/))&&(Pi[0].from=Ua[0].length,Pi.unshift(new p(0,0,Ua[0].length))),v(Pi).level==1&&(Ua=g.match(/\s+$/))&&(v(Pi).to-=Ua[0].length,Pi.push(new p(0,be-Ua[0].length,be)))),F=="rtl"?Pi.reverse():Pi}}();function Dt(e,t){var i=e.order;return i==null&&(i=e.order=jt(e.text,t)),i}var Ut=[],Ge=function(e,t,i){if(e.addEventListener)e.addEventListener(t,i,!1);else if(e.attachEvent)e.attachEvent("on"+t,i);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||Ut).concat(i)}};function In(e,t){return e._handlers&&e._handlers[t]||Ut}function mn(e,t,i){if(e.removeEventListener)e.removeEventListener(t,i,!1);else if(e.detachEvent)e.detachEvent("on"+t,i);else{var n=e._handlers,a=n&&n[t];if(a){var r=oe(a,i);r>-1&&(n[t]=a.slice(0,r).concat(a.slice(r+1)))}}}function ft(e,t){var i=In(e,t);if(!i.length)return;for(var n=Array.prototype.slice.call(arguments,2),a=0;a<i.length;++a)i[a].apply(null,n)}function At(e,t,i){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ft(e,i||t.type,e,t),ui(t)||t.codemirrorIgnore}function Ft(e){var t=e._handlers&&e._handlers.cursorActivity;if(!t)return;for(var i=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)oe(i,t[n])==-1&&i.push(t[n])}function Ct(e,t){return In(e,t).length>0}function An(e){e.prototype.on=function(t,i){Ge(this,t,i)},e.prototype.off=function(t,i){mn(this,t,i)}}function cn(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Zt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ui(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Bn(e){cn(e),Zt(e)}function ei(e){return e.target||e.srcElement}function yi(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),A&&e.ctrlKey&&t==1&&(t=3),t}var qi=function(){if(ge&&_e<9)return!1;var e=ae("div");return"draggable"in e||"dragDrop"in e}(),Ii;function ji(e){if(Ii==null){var t=ae("span","\u200B");b(e,ae("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Ii=t.offsetWidth<=1&&t.offsetHeight>2&&!(ge&&_e<8))}var i=Ii?ae("span","\u200B"):ae("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var ia;function mt(e){if(ia!=null)return ia;var t=b(e,document.createTextNode("A\u062EA")),i=C(t,0,1).getBoundingClientRect(),n=C(t,1,2).getBoundingClientRect();return W(e),!i||i.left==i.right?!1:ia=n.right-i.right<3}var Be=`
b`.split(/\n/).length!=3?function(e){for(var t=0,i=[],n=e.length;t<=n;){var a=e.indexOf(`
`,t);a==-1&&(a=e.length);var r=e.slice(t,e.charAt(a-1)=="\r"?a-1:a),o=r.indexOf("\r");o!=-1?(i.push(r.slice(0,o)),t+=o+1):(i.push(r),t=a+1)}return i}:function(e){return e.split(/\r\n?|\n/)},Ot=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(i){}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},tn=function(){var e=ae("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),qt=null;function Ln(e){if(qt!=null)return qt;var t=b(e,ae("span","x")),i=t.getBoundingClientRect(),n=C(t,0,1).getBoundingClientRect();return qt=Math.abs(i.left-n.left)>1}var On={},Vt={};function nt(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),On[e]=t}function ut(e,t){Vt[e]=t}function st(e){if(typeof e=="string"&&Vt.hasOwnProperty(e))e=Vt[e];else if(e&&typeof e.name=="string"&&Vt.hasOwnProperty(e.name)){var t=Vt[e.name];typeof t=="string"&&(t={name:t}),e=Te(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return st("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return st("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function ct(e,t){t=st(t);var i=On[t.name];if(!i)return ct(e,"text/plain");var n=i(e,t);if(ot.hasOwnProperty(t.name)){var a=ot[t.name];for(var r in a){if(!a.hasOwnProperty(r))continue;n.hasOwnProperty(r)&&(n["_"+r]=n[r]),n[r]=a[r]}}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)n[o]=t.modeProps[o];return n}var ot={};function xt(e,t){var i=ot.hasOwnProperty(e)?ot[e]:ot[e]={};c(t,i)}function St(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var n in t){var a=t[n];a instanceof Array&&(a=a.concat([])),i[n]=a}return i}function Bt(e,t){for(var i;e.innerMode&&!(i=e.innerMode(t),!i||i.mode==e);)t=i.state,e=i.mode;return i||{mode:e,state:t}}function wt(e,t,i){return e.startState?e.startState(t,i):!0}var pt=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};pt.prototype.eol=function(){return this.pos>=this.string.length},pt.prototype.sol=function(){return this.pos==this.lineStart},pt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},pt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},pt.prototype.eat=function(e){var t=this.string.charAt(this.pos),i;if(typeof e=="string"?i=t==e:i=t&&(e.test?e.test(t):e(t)),i)return++this.pos,t},pt.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},pt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},pt.prototype.skipToEnd=function(){this.pos=this.string.length},pt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},pt.prototype.backUp=function(e){this.pos-=e},pt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=O(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?O(this.string,this.lineStart,this.tabSize):0)},pt.prototype.indentation=function(){return O(this.string,null,this.tabSize)-(this.lineStart?O(this.string,this.lineStart,this.tabSize):0)},pt.prototype.match=function(e,t,i){if(typeof e=="string"){var n=function(o){return i?o.toLowerCase():o},a=this.string.substr(this.pos,e.length);if(n(a)==n(e))return t!==!1&&(this.pos+=e.length),!0}else{var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&t!==!1&&(this.pos+=r[0].length),r)}},pt.prototype.current=function(){return this.string.slice(this.start,this.pos)},pt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},pt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},pt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Ue(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var i=e;!i.lines;)for(var n=0;;++n){var a=i.children[n],r=a.chunkSize();if(t<r){i=a;break}t-=r}return i.lines[t]}function gn(e,t,i){var n=[],a=t.line;return e.iter(t.line,i.line+1,function(r){var o=r.text;a==i.line&&(o=o.slice(0,i.ch)),a==t.line&&(o=o.slice(t.ch)),n.push(o),++a}),n}function nn(e,t,i){var n=[];return e.iter(t,i,function(a){n.push(a.text)}),n}function Cn(e,t){var i=t-e.height;if(i)for(var n=e;n;n=n.parent)n.height+=i}function Tt(e){if(e.parent==null)return null;for(var t=e.parent,i=oe(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var a=0;!(n.children[a]==t);++a)i+=n.children[a].chunkSize();return i+t.first}function bn(e,t){var i=e.first;e:do{for(var n=0;n<e.children.length;++n){var a=e.children[n],r=a.height;if(t<r){e=a;continue e}t-=r,i+=a.chunkSize()}return i}while(!e.lines);for(var o=0;o<e.lines.length;++o){var d=e.lines[o],p=d.height;if(t<p)break;t-=p}return i+o}function Rt(e,t){return t>=e.first&&t<e.first+e.size}function Me(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function Se(e,t,i){if(i===void 0&&(i=null),!(this instanceof Se))return new Se(e,t,i);this.line=e,this.ch=t,this.sticky=i}function He(e,t){return e.line-t.line||e.ch-t.ch}function ln(e,t){return e.sticky==t.sticky&&He(e,t)==0}function Wt(e){return Se(e.line,e.ch)}function Nt(e,t){return He(e,t)<0?t:e}function bt(e,t){return He(e,t)<0?e:t}function Sn(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function Xe(e,t){if(t.line<e.first)return Se(e.first,0);var i=e.first+e.size-1;return t.line>i?Se(i,Ue(e,i).text.length):Ht(t,Ue(e,t.line).text.length)}function Ht(e,t){var i=e.ch;return i==null||i>t?Se(e.line,t):i<0?Se(e.line,0):e}function an(e,t){for(var i=[],n=0;n<t.length;n++)i[n]=Xe(e,t[n]);return i}var Vn=function(e,t){this.state=e,this.lookAhead=t},Kt=function(e,t,i,n){this.state=t,this.doc=e,this.line=i,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};Kt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Kt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Kt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Kt.fromSaved=function(e,t,i){return t instanceof Vn?new Kt(e,St(e.mode,t.state),i,t.lookAhead):new Kt(e,St(e.mode,t),i)},Kt.prototype.save=function(e){var t=e!==!1?St(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Vn(t,this.maxLookAhead):t};function Jn(e,t,i,n){var a=[e.state.modeGen],r={};ci(e,t.text,e.doc.mode,i,function(g,F){return a.push(g,F)},r,n);for(var o=i.state,d=function(g){i.baseTokens=a;var F=e.state.overlays[g],J=1,be=0;i.state=!0,ci(e,t.text,F.mode,i,function(me,Ne){for(var De=J;be<me;){var Ke=a[J];Ke>me&&a.splice(J,1,me,a[J+1],Ke),J+=2,be=Math.min(me,Ke)}if(!Ne)return;if(F.opaque)a.splice(De,J-De,me,"overlay "+Ne),J=De+2;else for(;De<J;De+=2){var Ve=a[De+1];a[De+1]=(Ve?Ve+" ":"")+"overlay "+Ne}},r),i.state=o,i.baseTokens=null,i.baseTokenPos=1},p=0;p<e.state.overlays.length;++p)d(p);return{styles:a,classes:r.bgClass||r.textClass?r:null}}function Ai(e,t,i){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=Ui(e,Tt(t)),a=t.text.length>e.options.maxHighlightLength&&St(e.doc.mode,n.state),r=Jn(e,t,n);a&&(n.state=a),t.stateAfter=n.save(!a),t.styles=r.styles,r.classes?t.styleClasses=r.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Ui(e,t,i){var n=e.doc,a=e.display;if(!n.mode.startState)return new Kt(n,!0,t);var r=rn(e,t,i),o=r>n.first&&Ue(n,r-1).stateAfter,d=o?Kt.fromSaved(n,o,r):new Kt(n,wt(n.mode),r);return n.iter(r,t,function(p){Mi(e,p.text,d);var g=d.line;p.stateAfter=g==t-1||g%5==0||g>=a.viewFrom&&g<a.viewTo?d.save():null,d.nextLine()}),i&&(n.modeFrontier=d.line),d}function Mi(e,t,i,n){var a=e.doc.mode,r=new pt(t,e.options.tabSize,i);for(r.start=r.pos=n||0,t==""&&$t(a,i.state);!r.eol();)Qt(a,r,i.state),r.start=r.pos}function $t(e,t){if(e.blankLine)return e.blankLine(t);if(!e.innerMode)return;var i=Bt(e,t);if(i.mode.blankLine)return i.mode.blankLine(i.state)}function Qt(e,t,i,n){for(var a=0;a<10;a++){n&&(n[0]=Bt(e,i).mode);var r=e.token(t,i);if(t.pos>t.start)return r}throw new Error("Mode "+e.name+" failed to advance stream.")}var Lt=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function Xn(e,t,i,n){var a=e.doc,r=a.mode,o;t=Xe(a,t);var d=Ue(a,t.line),p=Ui(e,t.line,i),g=new pt(d.text,e.options.tabSize,p),F;for(n&&(F=[]);(n||g.pos<t.ch)&&!g.eol();)g.start=g.pos,o=Qt(r,g,p.state),n&&F.push(new Lt(g,o,St(a.mode,p.state)));return n?F:new Lt(g,o,p.state)}function Oi(e,t){if(e)for(;;){var i=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;e=e.slice(0,i.index)+e.slice(i.index+i[0].length);var n=i[1]?"bgClass":"textClass";t[n]==null?t[n]=i[2]:new RegExp("(?:^|\\s)"+i[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+i[2])}return e}function ci(e,t,i,n,a,r,o){var d=i.flattenSpans;d==null&&(d=e.options.flattenSpans);var p=0,g=null,F=new pt(t,e.options.tabSize,n),J,be=e.options.addModeClass&&[null];for(t==""&&Oi($t(i,n.state),r);!F.eol();){if(F.pos>e.options.maxHighlightLength?(d=!1,o&&Mi(e,t,n,F.pos),F.pos=t.length,J=null):J=Oi(Qt(i,F,n.state,be),r),be){var me=be[0].name;me&&(J="m-"+(J?me+" "+J:me))}if(!d||g!=J){for(;p<F.start;)p=Math.min(F.start,p+5e3),a(p,g);g=J}F.start=F.pos}for(;p<F.pos;){var Ne=Math.min(F.pos,p+5e3);a(Ne,g),p=Ne}}function rn(e,t,i){for(var n,a,r=e.doc,o=i?-1:t-(e.doc.mode.innerMode?1e3:100),d=t;d>o;--d){if(d<=r.first)return r.first;var p=Ue(r,d-1),g=p.stateAfter;if(g&&(!i||d+(g instanceof Vn?g.lookAhead:0)<=r.modeFrontier))return d;var F=O(p.text,null,e.options.tabSize);(a==null||n>F)&&(a=d-1,n=F)}return a}function wa(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),e.highlightFrontier<t-10)return;for(var i=e.first,n=t-1;n>i;n--){var a=Ue(e,n).stateAfter;if(a&&(!(a instanceof Vn)||n+a.lookAhead<t)){i=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,i)}var $i=!1,Di=!1;function fa(){$i=!0}function pa(){Di=!0}function ca(e,t,i){this.marker=e,this.from=t,this.to=i}function ea(e,t){if(e)for(var i=0;i<e.length;++i){var n=e[i];if(n.marker==t)return n}}function br(e,t){for(var i,n=0;n<e.length;++n)e[n]!=t&&(i||(i=[])).push(e[n]);return i}function lr(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function Rn(e,t,i){var n;if(e)for(var a=0;a<e.length;++a){var r=e[a],o=r.marker,d=r.from==null||(o.inclusiveLeft?r.from<=t:r.from<t);if(d||r.from==t&&o.type=="bookmark"&&(!i||!r.marker.insertLeft)){var p=r.to==null||(o.inclusiveRight?r.to>=t:r.to>t);(n||(n=[])).push(new ca(o,r.from,p?null:r.to))}}return n}function vn(e,t,i){var n;if(e)for(var a=0;a<e.length;++a){var r=e[a],o=r.marker,d=r.to==null||(o.inclusiveRight?r.to>=t:r.to>t);if(d||r.from==t&&o.type=="bookmark"&&(!i||r.marker.insertLeft)){var p=r.from==null||(o.inclusiveLeft?r.from<=t:r.from<t);(n||(n=[])).push(new ca(o,p?null:r.from-t,r.to==null?null:r.to-t))}}return n}function wn(e,t){if(t.full)return null;var i=Rt(e,t.from.line)&&Ue(e,t.from.line).markedSpans,n=Rt(e,t.to.line)&&Ue(e,t.to.line).markedSpans;if(!i&&!n)return null;var a=t.from.ch,r=t.to.ch,o=He(t.from,t.to)==0,d=Rn(i,a,o),p=vn(n,r,o),g=t.text.length==1,F=v(t.text).length+(g?a:0);if(d)for(var J=0;J<d.length;++J){var be=d[J];if(be.to==null){var me=ea(p,be.marker);me?g&&(be.to=me.to==null?null:me.to+F):be.to=a}}if(p)for(var Ne=0;Ne<p.length;++Ne){var De=p[Ne];if(De.to!=null&&(De.to+=F),De.from==null){var Ke=ea(d,De.marker);Ke||(De.from=F,g&&(d||(d=[])).push(De))}else De.from+=F,g&&(d||(d=[])).push(De)}d&&(d=ti(d)),p&&p!=d&&(p=ti(p));var Ve=[d];if(!g){var et=t.text.length-2,Je;if(et>0&&d)for(var rt=0;rt<d.length;++rt)d[rt].to==null&&(Je||(Je=[])).push(new ca(d[rt].marker,null,null));for(var yt=0;yt<et;++yt)Ve.push(Je);Ve.push(p)}return Ve}function ti(e){for(var t=0;t<e.length;++t){var i=e[t];i.from!=null&&i.from==i.to&&i.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function wi(e,t,i){var n=null;if(e.iter(t.line,i.line+1,function(me){if(me.markedSpans)for(var Ne=0;Ne<me.markedSpans.length;++Ne){var De=me.markedSpans[Ne].marker;De.readOnly&&(!n||oe(n,De)==-1)&&(n||(n=[])).push(De)}}),!n)return null;for(var a=[{from:t,to:i}],r=0;r<n.length;++r)for(var o=n[r],d=o.find(0),p=0;p<a.length;++p){var g=a[p];if(He(g.to,d.from)<0||He(g.from,d.to)>0)continue;var F=[p,1],J=He(g.from,d.from),be=He(g.to,d.to);(J<0||!o.inclusiveLeft&&!J)&&F.push({from:g.from,to:d.from}),(be>0||!o.inclusiveRight&&!be)&&F.push({from:d.to,to:g.to}),a.splice.apply(a,F),p+=F.length-3}return a}function Fi(e){var t=e.markedSpans;if(!t)return;for(var i=0;i<t.length;++i)t[i].marker.detachLine(e);e.markedSpans=null}function Ri(e,t){if(!t)return;for(var i=0;i<t.length;++i)t[i].marker.attachLine(e);e.markedSpans=t}function di(e){return e.inclusiveLeft?-1:0}function aa(e){return e.inclusiveRight?1:0}function ii(e,t){var i=e.lines.length-t.lines.length;if(i!=0)return i;var n=e.find(),a=t.find(),r=He(n.from,a.from)||di(e)-di(t);if(r)return-r;var o=He(n.to,a.to)||aa(e)-aa(t);return o||t.id-e.id}function Ta(e,t){var i=Di&&e.markedSpans,n;if(i)for(var a=void 0,r=0;r<i.length;++r)a=i[r],a.marker.collapsed&&(t?a.from:a.to)==null&&(!n||ii(n,a.marker)<0)&&(n=a.marker);return n}function ma(e){return Ta(e,!0)}function da(e){return Ta(e,!1)}function ga(e,t){var i=Di&&e.markedSpans,n;if(i)for(var a=0;a<i.length;++a){var r=i[a];r.marker.collapsed&&(r.from==null||r.from<t)&&(r.to==null||r.to>t)&&(!n||ii(n,r.marker)<0)&&(n=r.marker)}return n}function Fa(e,t,i,n,a){var r=Ue(e,t),o=Di&&r.markedSpans;if(o)for(var d=0;d<o.length;++d){var p=o[d];if(!p.marker.collapsed)continue;var g=p.marker.find(0),F=He(g.from,i)||di(p.marker)-di(a),J=He(g.to,n)||aa(p.marker)-aa(a);if(F>=0&&J<=0||F<=0&&J>=0)continue;if(F<=0&&(p.marker.inclusiveRight&&a.inclusiveLeft?He(g.to,i)>=0:He(g.to,i)>0)||F>=0&&(p.marker.inclusiveRight&&a.inclusiveLeft?He(g.from,n)<=0:He(g.from,n)<0))return!0}}function Ti(e){for(var t;t=ma(e);)e=t.find(-1,!0).line;return e}function Ba(e){for(var t;t=da(e);)e=t.find(1,!0).line;return e}function Ca(e){for(var t,i;t=da(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function Sa(e,t){var i=Ue(e,t),n=Ti(i);return i==n?t:Tt(n)}function va(e,t){if(t>e.lastLine())return t;var i=Ue(e,t),n;if(!Qi(e,i))return t;for(;n=da(i);)i=n.find(1,!0).line;return Tt(i)+1}function Qi(e,t){var i=Di&&t.markedSpans;if(i)for(var n=void 0,a=0;a<i.length;++a){if(n=i[a],!n.marker.collapsed)continue;if(n.from==null)return!0;if(n.marker.widgetNode)continue;if(n.from==0&&n.marker.inclusiveLeft&&Va(e,t,n))return!0}}function Va(e,t,i){if(i.to==null){var n=i.marker.find(1,!0);return Va(e,n.line,ea(n.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==t.text.length)return!0;for(var a=void 0,r=0;r<t.markedSpans.length;++r)if(a=t.markedSpans[r],a.marker.collapsed&&!a.marker.widgetNode&&a.from==i.to&&(a.to==null||a.to!=i.from)&&(a.marker.inclusiveLeft||i.marker.inclusiveRight)&&Va(e,t,a))return!0}function Yi(e){e=Ti(e);for(var t=0,i=e.parent,n=0;n<i.lines.length;++n){var a=i.lines[n];if(a==e)break;t+=a.height}for(var r=i.parent;r;i=r,r=i.parent)for(var o=0;o<r.children.length;++o){var d=r.children[o];if(d==i)break;t+=d.height}return t}function Ja(e){if(e.height==0)return 0;for(var t=e.text.length,i,n=e;i=ma(n);){var a=i.find(0,!0);n=a.from.line,t+=a.from.ch-a.to.ch}for(n=e;i=da(n);){var r=i.find(0,!0);t-=n.text.length-r.from.ch,n=r.to.line,t+=n.text.length-r.to.ch}return t}function Xa(e){var t=e.display,i=e.doc;t.maxLine=Ue(i,i.first),t.maxLineLength=Ja(t.maxLine),t.maxLineChanged=!0,i.iter(function(n){var a=Ja(n);a>t.maxLineLength&&(t.maxLineLength=a,t.maxLine=n)})}var _a=function(e,t,i){this.text=e,Ri(this,t),this.height=i?i(this):1};_a.prototype.lineNo=function(){return Tt(this)},An(_a);function Qr(e,t,i,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Fi(e),Ri(e,i);var a=n?n(e):1;a!=e.height&&Cn(e,a)}function Ra(e){e.parent=null,Fi(e)}var Er={},ur={};function cr(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?ur:Er;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function Bi(e,t){var i=G("span",null,null,he?"padding-right: .1px":null),n={pre:G("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var a=0;a<=(t.rest?t.rest.length:0);a++){var r=a?t.rest[a-1]:t.line,o=void 0;n.pos=0,n.addToken=Ao,mt(e.display.measure)&&(o=Dt(r,e.doc.direction))&&(n.addToken=Oo(n.addToken,o)),n.map=[];var d=t!=e.display.externalMeasured&&Tt(r);Or(r,n,Ai(e,r,d)),r.styleClasses&&(r.styleClasses.bgClass&&(n.bgClass=Z(r.styleClasses.bgClass,n.bgClass||"")),r.styleClasses.textClass&&(n.textClass=Z(r.styleClasses.textClass,n.textClass||""))),n.map.length==0&&n.map.push(0,0,n.content.appendChild(ji(e.display.measure))),a==0?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(he){var p=n.content.lastChild;(/\bcm-tab\b/.test(p.className)||p.querySelector&&p.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return ft(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=Z(n.pre.className,n.textClass||"")),n}function dr(e){var t=ae("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Ao(e,t,i,n,a,r,o){if(!t)return;var d=e.splitSpaces?yr(t,e.trailingSpace):t,p=e.cm.state.specialChars,g=!1,F;if(!p.test(t))e.col+=t.length,F=document.createTextNode(d),e.map.push(e.pos,e.pos+t.length,F),ge&&_e<9&&(g=!0),e.pos+=t.length;else{F=document.createDocumentFragment();for(var J=0;;){p.lastIndex=J;var be=p.exec(t),me=be?be.index-J:t.length-J;if(me){var Ne=document.createTextNode(d.slice(J,J+me));ge&&_e<9?F.appendChild(ae("span",[Ne])):F.appendChild(Ne),e.map.push(e.pos,e.pos+me,Ne),e.col+=me,e.pos+=me}if(!be)break;J+=me+1;var De=void 0;if(be[0]==" "){var Ke=e.cm.options.tabSize,Ve=Ke-e.col%Ke;De=F.appendChild(ae("span",ce(Ve),"cm-tab")),De.setAttribute("role","presentation"),De.setAttribute("cm-text"," "),e.col+=Ve}else be[0]=="\r"||be[0]==`
`?(De=F.appendChild(ae("span",be[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),De.setAttribute("cm-text",be[0]),e.col+=1):(De=e.cm.options.specialCharPlaceholder(be[0]),De.setAttribute("cm-text",be[0]),ge&&_e<9?F.appendChild(ae("span",[De])):F.appendChild(De),e.col+=1);e.map.push(e.pos,e.pos+1,De),e.pos++}}if(e.trailingSpace=d.charCodeAt(t.length-1)==32,i||n||a||g||r||o){var et=i||"";n&&(et+=n),a&&(et+=a);var Je=ae("span",[F],et,r);if(o)for(var rt in o)o.hasOwnProperty(rt)&&rt!="style"&&rt!="class"&&Je.setAttribute(rt,o[rt]);return e.content.appendChild(Je)}e.content.appendChild(F)}function yr(e,t){if(e.length>1&&!/ /.test(e))return e;for(var i=t,n="",a=0;a<e.length;a++){var r=e.charAt(a);r==" "&&i&&(a==e.length-1||e.charCodeAt(a+1)==32)&&(r="\xA0"),n+=r,i=r==" "}return n}function Oo(e,t){return function(i,n,a,r,o,d,p){a=a?a+" cm-force-border":"cm-force-border";for(var g=i.pos,F=g+n.length;;){for(var J=void 0,be=0;be<t.length&&!(J=t[be],J.to>g&&J.from<=g);be++);if(J.to>=F)return e(i,n,a,r,o,d,p);e(i,n.slice(0,J.to-g),a,r,null,d,p),r=null,n=n.slice(J.to-g),g=J.to}}}function Ar(e,t,i,n){var a=!n&&i.widgetNode;a&&e.map.push(e.pos,e.pos+t,a),!n&&e.cm.display.input.needsContentAttribute&&(a||(a=e.content.appendChild(document.createElement("span"))),a.setAttribute("cm-marker",i.id)),a&&(e.cm.display.input.setUneditable(a),e.content.appendChild(a)),e.pos+=t,e.trailingSpace=!1}function Or(e,t,i){var n=e.markedSpans,a=e.text,r=0;if(!n){for(var o=1;o<i.length;o+=2)t.addToken(t,a.slice(r,r=i[o]),cr(i[o+1],t.cm.options));return}for(var d=a.length,p=0,g=1,F="",J,be,me=0,Ne,De,Ke,Ve,et;;){if(me==p){Ne=De=Ke=be="",et=null,Ve=null,me=Infinity;for(var Je=[],rt=void 0,yt=0;yt<n.length;++yt){var vt=n[yt],en=vt.marker;if(en.type=="bookmark"&&vt.from==p&&en.widgetNode)Je.push(en);else if(vt.from<=p&&(vt.to==null||vt.to>p||en.collapsed&&vt.to==p&&vt.from==p)){if(vt.to!=null&&vt.to!=p&&me>vt.to&&(me=vt.to,De=""),en.className&&(Ne+=" "+en.className),en.css&&(be=(be?be+";":"")+en.css),en.startStyle&&vt.from==p&&(Ke+=" "+en.startStyle),en.endStyle&&vt.to==me&&(rt||(rt=[])).push(en.endStyle,vt.to),en.title&&((et||(et={})).title=en.title),en.attributes)for(var Hn in en.attributes)(et||(et={}))[Hn]=en.attributes[Hn];en.collapsed&&(!Ve||ii(Ve.marker,en)<0)&&(Ve=vt)}else vt.from>p&&me>vt.from&&(me=vt.from)}if(rt)for(var Ci=0;Ci<rt.length;Ci+=2)rt[Ci+1]==me&&(De+=" "+rt[Ci]);if(!Ve||Ve.from==p)for(var ni=0;ni<Je.length;++ni)Ar(t,0,Je[ni]);if(Ve&&(Ve.from||0)==p){if(Ar(t,(Ve.to==null?d+1:Ve.to)-p,Ve.marker,Ve.from==null),Ve.to==null)return;Ve.to==p&&(Ve=!1)}}if(p>=d)break;for(var na=Math.min(d,me);;){if(F){var Ji=p+F.length;if(!Ve){var fi=Ji>na?F.slice(0,na-p):F;t.addToken(t,fi,J?J+Ne:Ne,Ke,p+fi.length==me?De:"",be,et)}if(Ji>=na){F=F.slice(na-p),p=na;break}p=Ji,Ke=""}F=a.slice(r,r=i[g++]),J=cr(i[g++],t.cm.options)}}}function wr(e,t,i){this.line=t,this.rest=Ca(t),this.size=this.rest?Tt(v(this.rest))-i+1:1,this.node=this.text=null,this.hidden=Qi(e,t)}function xa(e,t,i){for(var n=[],a,r=t;r<i;r=a){var o=new wr(e.doc,Ue(e.doc,r),r);a=r+o.size,n.push(o)}return n}var Na=null;function Yr(e){Na?Na.ops.push(e):e.ownsGroup=Na={ops:[e],delayedCallbacks:[]}}function It(e){var t=e.delayedCallbacks,i=0;do{for(;i<t.length;i++)t[i].call(null);for(var n=0;n<e.ops.length;n++){var a=e.ops[n];if(a.cursorActivityHandlers)for(;a.cursorActivityCalled<a.cursorActivityHandlers.length;)a.cursorActivityHandlers[a.cursorActivityCalled++].call(null,a.cm)}}while(i<t.length)}function Qe(e,t){var i=e.ownsGroup;if(!i)return;try{It(i)}finally{Na=null,t(i)}}var $e=null;function Pe(e,t){var i=In(e,t);if(!i.length)return;var n=Array.prototype.slice.call(arguments,2),a;Na?a=Na.delayedCallbacks:$e?a=$e:(a=$e=[],setTimeout(kt,0));for(var r=function(d){a.push(function(){return i[d].apply(null,n)})},o=0;o<i.length;++o)r(o)}function kt(){var e=$e;$e=null;for(var t=0;t<e.length;++t)e[t]()}function Pt(e,t,i,n){for(var a=0;a<t.changes.length;a++){var r=t.changes[a];r=="text"?kn(e,t):r=="gutter"?Kn(e,t,i,n):r=="class"?ta(e,t):r=="widget"&&Vr(e,t,n)}t.changes=null}function En(e){return e.node==e.text&&(e.node=ae("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),ge&&_e<8&&(e.node.style.zIndex=2)),e.node}function _n(e,t){var i=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(i&&(i+=" CodeMirror-linebackground"),t.background)i?t.background.className=i:(t.background.parentNode.removeChild(t.background),t.background=null);else if(i){var n=En(t);t.background=n.insertBefore(ae("div",null,i),n.firstChild),e.display.input.setUneditable(t.background)}}function zn(e,t){var i=e.display.externalMeasured;return i&&i.line==t.line?(e.display.externalMeasured=null,t.measure=i.measure,i.built):Bi(e,t)}function kn(e,t){var i=t.text.className,n=zn(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,ta(e,t)):i&&(t.text.className=i)}function ta(e,t){_n(e,t),t.line.wrapClass?En(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var i=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=i||""}function Kn(e,t,i,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var a=En(t);t.gutterBackground=ae("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),a.insertBefore(t.gutterBackground,t.text)}var r=t.line.gutterMarkers;if(e.options.lineNumbers||r){var o=En(t),d=t.gutter=ae("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(d),o.insertBefore(d,t.text),t.line.gutterClass&&(d.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!r||!r["CodeMirror-linenumbers"])&&(t.lineNumber=d.appendChild(ae("div",Me(e.options,i),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),r)for(var p=0;p<e.display.gutterSpecs.length;++p){var g=e.display.gutterSpecs[p].className,F=r.hasOwnProperty(g)&&r[g];F&&d.appendChild(ae("div",[F],"CodeMirror-gutter-elt","left: "+n.gutterLeft[g]+"px; width: "+n.gutterWidth[g]+"px"))}}}function Vr(e,t,i){t.alignable&&(t.alignable=null);for(var n=fe("CodeMirror-linewidget"),a=t.node.firstChild,r=void 0;a;a=r)r=a.nextSibling,n.test(a.className)&&t.node.removeChild(a);Tr(e,t,i)}function Jr(e,t,i,n){var a=zn(e,t);return t.text=t.node=a.pre,a.bgClass&&(t.bgClass=a.bgClass),a.textClass&&(t.textClass=a.textClass),ta(e,t),Kn(e,t,i,n),Tr(e,t,n),t.node}function Tr(e,t,i){if(hi(e,t.line,t,i,!0),t.rest)for(var n=0;n<t.rest.length;n++)hi(e,t.rest[n],t,i,!1)}function hi(e,t,i,n,a){if(!t.widgets)return;for(var r=En(i),o=0,d=t.widgets;o<d.length;++o){var p=d[o],g=ae("div",[p.node],"CodeMirror-linewidget"+(p.className?" "+p.className:""));p.handleMouseEvents||g.setAttribute("cm-ignore-events","true"),Qo(p,g,i,n),e.display.input.setUneditable(g),a&&p.above?r.insertBefore(g,i.gutter||i.text):r.appendChild(g),Pe(p,"redraw")}}function Qo(e,t,i,n){if(e.noHScroll){(i.alignable||(i.alignable=[])).push(t);var a=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(a-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=a+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function Za(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!q(document.body,e.node)){var i="position: relative;";e.coverGutter&&(i+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(i+="width: "+t.display.wrapper.clientWidth+"px;"),b(t.display.measure,ae("div",[e.node],null,i))}return e.height=e.node.parentNode.offsetHeight}function ba(e,t){for(var i=ei(t);i!=e.wrapper;i=i.parentNode)if(!i||i.nodeType==1&&i.getAttribute("cm-ignore-events")=="true"||i.parentNode==e.sizer&&i!=e.mover)return!0}function Xr(e){return e.lineSpace.offsetTop}function j(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function $(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=b(e.measure,ae("pre","x","CodeMirror-line-like")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return!isNaN(n.left)&&!isNaN(n.right)&&(e.cachedPaddingH=n),n}function se(e){return ue-e.display.nativeBarWidth}function U(e){return e.display.scroller.clientWidth-se(e)-e.display.barWidth}function m(e){return e.display.scroller.clientHeight-se(e)-e.display.barHeight}function R(e,t,i){var n=e.options.lineWrapping,a=n&&U(e);if(!t.measure.heights||n&&t.measure.width!=a){var r=t.measure.heights=[];if(n){t.measure.width=a;for(var o=t.text.firstChild.getClientRects(),d=0;d<o.length-1;d++){var p=o[d],g=o[d+1];Math.abs(p.bottom-g.bottom)>2&&r.push((p.bottom+g.top)/2-i.top)}}r.push(i.bottom-i.top)}}function _(e,t,i){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var a=0;a<e.rest.length;a++)if(Tt(e.rest[a])>i)return{map:e.measure.maps[a],cache:e.measure.caches[a],before:!0}}function B(e,t){t=Ti(t);var i=Tt(t),n=e.display.externalMeasured=new wr(e.doc,t,i);n.lineN=i;var a=n.built=Bi(e,n);return n.text=a.pre,b(e.display.lineMeasure,a.pre),n}function Q(e,t,i,n){return ve(e,ne(e,t),i,n)}function de(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Wn(e,t)];var i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size)return i}function ne(e,t){var i=Tt(t),n=de(e,i);n&&!n.text?n=null:n&&n.changes&&(Pt(e,n,i,Zn(e)),e.curOp.forceUpdate=!0),n||(n=B(e,t));var a=_(n,t,i);return{line:t,view:n,rect:null,map:a.map,cache:a.cache,before:a.before,hasHeights:!1}}function ve(e,t,i,n,a){t.before&&(i=-1);var r=i+(n||""),o;return t.cache.hasOwnProperty(r)?o=t.cache[r]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(R(e,t.view,t.rect),t.hasHeights=!0),o=Ye(e,t,i,n),o.bogus||(t.cache[r]=o)),{left:o.left,right:o.right,top:a?o.rtop:o.top,bottom:a?o.rbottom:o.bottom}}var Re={left:0,right:0,top:0,bottom:0};function Fe(e,t,i){for(var n,a,r,o,d,p,g=0;g<e.length;g+=3)if(d=e[g],p=e[g+1],t<d?(a=0,r=1,o="left"):t<p?(a=t-d,r=a+1):(g==e.length-3||t==p&&e[g+3]>t)&&(r=p-d,a=r-1,t>=p&&(o="right")),a!=null){if(n=e[g+2],d==p&&i==(n.insertLeft?"left":"right")&&(o=i),i=="left"&&a==0)for(;g&&e[g-2]==e[g-3]&&e[g-1].insertLeft;)n=e[(g-=3)+2],o="left";if(i=="right"&&a==p-d)for(;g<e.length-3&&e[g+3]==e[g+4]&&!e[g+5].insertLeft;)n=e[(g+=3)+2],o="right";break}return{node:n,start:a,end:r,collapse:o,coverStart:d,coverEnd:p}}function je(e,t){var i=Re;if(t=="left")for(var n=0;n<e.length&&!((i=e[n]).left!=i.right);n++);else for(var a=e.length-1;a>=0&&!((i=e[a]).left!=i.right);a--);return i}function Ye(e,t,i,n){var a=Fe(t.map,i,n),r=a.node,o=a.start,d=a.end,p=a.collapse,g;if(r.nodeType==3){for(var F=0;F<4;F++){for(;o&&qe(t.line.text.charAt(a.coverStart+o));)--o;for(;a.coverStart+d<a.coverEnd&&qe(t.line.text.charAt(a.coverStart+d));)++d;if(ge&&_e<9&&o==0&&d==a.coverEnd-a.coverStart?g=r.parentNode.getBoundingClientRect():g=je(C(r,o,d).getClientRects(),n),g.left||g.right||o==0)break;d=o,o=o-1,p="right"}ge&&_e<11&&(g=Et(e.display.measure,g))}else{o>0&&(p=n="right");var J;e.options.lineWrapping&&(J=r.getClientRects()).length>1?g=J[n=="right"?J.length-1:0]:g=r.getBoundingClientRect()}if(ge&&_e<9&&!o&&(!g||!g.left&&!g.right)){var be=r.parentNode.getClientRects()[0];be?g={left:be.left,right:be.left+mi(e.display),top:be.top,bottom:be.bottom}:g=Re}for(var me=g.top-t.rect.top,Ne=g.bottom-t.rect.top,De=(me+Ne)/2,Ke=t.view.measure.heights,Ve=0;Ve<Ke.length-1&&!(De<Ke[Ve]);Ve++);var et=Ve?Ke[Ve-1]:0,Je=Ke[Ve],rt={left:(p=="right"?g.right:g.left)-t.rect.left,right:(p=="left"?g.left:g.right)-t.rect.left,top:et,bottom:Je};return!g.left&&!g.right&&(rt.bogus=!0),e.options.singleCursorHeightPerLine||(rt.rtop=me,rt.rbottom=Ne),rt}function Et(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ln(e))return t;var i=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*i,right:t.right*i,top:t.top*n,bottom:t.bottom*n}}function Jt(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Mt(e){e.display.externalMeasure=null,W(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Jt(e.display.view[t])}function zt(e){Mt(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Xt(){return w&&x?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Yt(){return w&&x?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Gt(e){var t=0;if(e.widgets)for(var i=0;i<e.widgets.length;++i)e.widgets[i].above&&(t+=Za(e.widgets[i]));return t}function hn(e,t,i,n,a){if(!a){var r=Gt(t);i.top+=r,i.bottom+=r}if(n=="line")return i;n||(n="local");var o=Yi(t);if(n=="local"?o+=Xr(e.display):o-=e.display.viewOffset,n=="page"||n=="window"){var d=e.display.lineSpace.getBoundingClientRect();o+=d.top+(n=="window"?0:Yt());var p=d.left+(n=="window"?0:Xt());i.left+=p,i.right+=p}return i.top+=o,i.bottom+=o,i}function on(e,t,i){if(i=="div")return t;var n=t.left,a=t.top;if(i=="page")n-=Xt(),a-=Yt();else if(i=="local"||!i){var r=e.display.sizer.getBoundingClientRect();n+=r.left,a+=r.top}var o=e.display.lineSpace.getBoundingClientRect();return{left:n-o.left,top:a-o.top}}function Gn(e,t,i,n,a){return n||(n=Ue(e.doc,t.line)),hn(e,n,Q(e,n,t.ch,a),i)}function sn(e,t,i,n,a,r){n=n||Ue(e.doc,t.line),a||(a=ne(e,n));function o(Ne,De){var Ke=ve(e,a,Ne,De?"right":"left",r);return De?Ke.left=Ke.right:Ke.right=Ke.left,hn(e,n,Ke,i)}var d=Dt(n,e.doc.direction),p=t.ch,g=t.sticky;if(p>=n.text.length?(p=n.text.length,g="before"):p<=0&&(p=0,g="after"),!d)return o(g=="before"?p-1:p,g=="before");function F(Ne,De,Ke){var Ve=d[De],et=Ve.level==1;return o(Ke?Ne-1:Ne,et!=Ke)}var J=at(d,p,g),be=dt,me=F(p,J,g=="before");return be!=null&&(me.other=F(p,be,g!="before")),me}function _t(e,t){var i=0;t=Xe(e.doc,t),e.options.lineWrapping||(i=mi(e.display)*t.ch);var n=Ue(e.doc,t.line),a=Yi(n)+Xr(e.display);return{left:i,right:i,top:a,bottom:a+n.height}}function gt(e,t,i,n,a){var r=Se(e,t,i);return r.xRel=a,n&&(r.outside=n),r}function un(e,t,i){var n=e.doc;if(i+=e.display.viewOffset,i<0)return gt(n.first,0,null,-1,-1);var a=bn(n,i),r=n.first+n.size-1;if(a>r)return gt(n.first+n.size-1,Ue(n,r).text.length,null,1,1);t<0&&(t=0);for(var o=Ue(n,a);;){var d=Qn(e,o,a,t,i),p=ga(o,d.ch+(d.xRel>0||d.outside>0?1:0));if(!p)return d;var g=p.find(1);if(g.line==a)return g;o=Ue(n,a=g.line)}}function fn(e,t,i,n){n-=Gt(t);var a=t.text.length,r=ht(function(o){return ve(e,i,o-1).bottom<=n},a,0);return a=ht(function(o){return ve(e,i,o).top>n},r,a),{begin:r,end:a}}function lt(e,t,i,n){i||(i=ne(e,t));var a=hn(e,t,ve(e,i,n),"line").top;return fn(e,t,i,a)}function pn(e,t,i,n){return e.bottom<=i?!1:e.top>i?!0:(n?e.left:e.right)>t}function Qn(e,t,i,n,a){a-=Yi(t);var r=ne(e,t),o=Gt(t),d=0,p=t.text.length,g=!0,F=Dt(t,e.doc.direction);if(F){var J=(e.options.lineWrapping?Pn:yn)(e,t,i,r,F,n,a);g=J.level!=1,d=g?J.from:J.to-1,p=g?J.to:J.from-1}var be=null,me=null,Ne=ht(function(yt){var vt=ve(e,r,yt);return vt.top+=o,vt.bottom+=o,pn(vt,n,a,!1)?(vt.top<=a&&vt.left<=n&&(be=yt,me=vt),!0):!1},d,p),De,Ke,Ve=!1;if(me){var et=n-me.left<me.right-n,Je=et==g;Ne=be+(Je?0:1),Ke=Je?"after":"before",De=et?me.left:me.right}else{!g&&(Ne==p||Ne==d)&&Ne++,Ke=Ne==0?"after":Ne==t.text.length?"before":ve(e,r,Ne-(g?1:0)).bottom+o<=a==g?"after":"before";var rt=sn(e,Se(i,Ne,Ke),"line",t,r);De=rt.left,Ve=a<rt.top?-1:a>=rt.bottom?1:0}return Ne=tt(t.text,Ne,1),gt(i,Ne,Ke,Ve,n-De)}function yn(e,t,i,n,a,r,o){var d=ht(function(J){var be=a[J],me=be.level!=1;return pn(sn(e,Se(i,me?be.to:be.from,me?"before":"after"),"line",t,n),r,o,!0)},0,a.length-1),p=a[d];if(d>0){var g=p.level!=1,F=sn(e,Se(i,g?p.from:p.to,g?"after":"before"),"line",t,n);pn(F,r,o,!0)&&F.top>o&&(p=a[d-1])}return p}function Pn(e,t,i,n,a,r,o){var d=fn(e,t,n,o),p=d.begin,g=d.end;/\s/.test(t.text.charAt(g-1))&&g--;for(var F=null,J=null,be=0;be<a.length;be++){var me=a[be];if(me.from>=g||me.to<=p)continue;var Ne=me.level!=1,De=ve(e,n,Ne?Math.min(g,me.to)-1:Math.max(p,me.from)).right,Ke=De<r?r-De+1e9:De-r;(!F||J>Ke)&&(F=me,J=Ke)}return F||(F=a[a.length-1]),F.from<p&&(F={from:p,to:F.to,level:F.level}),F.to>g&&(F={from:F.from,to:g,level:F.level}),F}var Mn;function ai(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(Mn==null){Mn=ae("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Mn.appendChild(document.createTextNode("x")),Mn.appendChild(ae("br"));Mn.appendChild(document.createTextNode("x"))}b(e.measure,Mn);var i=Mn.offsetHeight/50;return i>3&&(e.cachedTextHeight=i),W(e.measure),i||1}function mi(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=ae("span","xxxxxxxxxx"),i=ae("pre",[t],"CodeMirror-line-like");b(e.measure,i);var n=t.getBoundingClientRect(),a=(n.right-n.left)/10;return a>2&&(e.cachedCharWidth=a),a||10}function Zn(e){for(var t=e.display,i={},n={},a=t.gutters.clientLeft,r=t.gutters.firstChild,o=0;r;r=r.nextSibling,++o){var d=e.display.gutterSpecs[o].className;i[d]=r.offsetLeft+r.clientLeft+a,n[d]=r.clientWidth}return{fixedPos:Li(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:i,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function Li(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function ra(e){var t=ai(e.display),i=e.options.lineWrapping,n=i&&Math.max(5,e.display.scroller.clientWidth/mi(e.display)-3);return function(a){if(Qi(e.doc,a))return 0;var r=0;if(a.widgets)for(var o=0;o<a.widgets.length;o++)a.widgets[o].height&&(r+=a.widgets[o].height);return i?r+(Math.ceil(a.text.length/n)||1)*t:r+t}}function Wi(e){var t=e.doc,i=ra(e);t.iter(function(n){var a=i(n);a!=n.height&&Cn(n,a)})}function gi(e,t,i,n){var a=e.display;if(!i&&ei(t).getAttribute("cm-not-content")=="true")return null;var r,o,d=a.lineSpace.getBoundingClientRect();try{r=t.clientX-d.left,o=t.clientY-d.top}catch(J){return null}var p=un(e,r,o),g;if(n&&p.xRel>0&&(g=Ue(e.doc,p.line).text).length==p.ch){var F=O(g,g.length,e.options.tabSize)-g.length;p=Se(p.line,Math.max(0,Math.round((r-$(e.display).left)/mi(e.display))-F))}return p}function Wn(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var i=e.display.view,n=0;n<i.length;n++)if(t-=i[n].size,t<0)return n}function jn(e,t,i,n){t==null&&(t=e.doc.first),i==null&&(i=e.doc.first+e.doc.size),n||(n=0);var a=e.display;if(n&&i<a.viewTo&&(a.updateLineNumbers==null||a.updateLineNumbers>t)&&(a.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=a.viewTo)Di&&Sa(e.doc,t)<a.viewTo&&Yn(e);else if(i<=a.viewFrom)Di&&va(e.doc,i+n)>a.viewFrom?Yn(e):(a.viewFrom+=n,a.viewTo+=n);else if(t<=a.viewFrom&&i>=a.viewTo)Yn(e);else if(t<=a.viewFrom){var r=oa(e,i,i+n,1);r?(a.view=a.view.slice(r.index),a.viewFrom=r.lineN,a.viewTo+=n):Yn(e)}else if(i>=a.viewTo){var o=oa(e,t,t,-1);o?(a.view=a.view.slice(0,o.index),a.viewTo=o.lineN):Yn(e)}else{var d=oa(e,t,t,-1),p=oa(e,i,i+n,1);d&&p?(a.view=a.view.slice(0,d.index).concat(xa(e,d.lineN,p.lineN)).concat(a.view.slice(p.index)),a.viewTo+=n):Yn(e)}var g=a.externalMeasured;g&&(i<g.lineN?g.lineN+=n:t<g.lineN+g.size&&(a.externalMeasured=null))}function qn(e,t,i){e.curOp.viewChanged=!0;var n=e.display,a=e.display.externalMeasured;if(a&&t>=a.lineN&&t<a.lineN+a.size&&(n.externalMeasured=null),t<n.viewFrom||t>=n.viewTo)return;var r=n.view[Wn(e,t)];if(r.node==null)return;var o=r.changes||(r.changes=[]);oe(o,i)==-1&&o.push(i)}function Yn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function oa(e,t,i,n){var a=Wn(e,t),r,o=e.display.view;if(!Di||i==e.doc.first+e.doc.size)return{index:a,lineN:i};for(var d=e.display.viewFrom,p=0;p<a;p++)d+=o[p].size;if(d!=t){if(n>0){if(a==o.length-1)return null;r=d+o[a].size-t,a++}else r=d-t;t+=r,i+=r}for(;Sa(e.doc,i)!=i;){if(a==(n<0?0:o.length-1))return null;i+=n*o[a-(n<0?1:0)].size,a+=n}return{index:a,lineN:i}}function Ia(e,t,i){var n=e.display,a=n.view;a.length==0||t>=n.viewTo||i<=n.viewFrom?(n.view=xa(e,t,i),n.viewFrom=t):(n.viewFrom>t?n.view=xa(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(Wn(e,t))),n.viewFrom=t,n.viewTo<i?n.view=n.view.concat(xa(e,n.viewTo,i)):n.viewTo>i&&(n.view=n.view.slice(0,Wn(e,i)))),n.viewTo=i}function Ma(e){for(var t=e.display.view,i=0,n=0;n<t.length;n++){var a=t[n];!a.hidden&&(!a.node||a.changes)&&++i}return i}function Dn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function ha(e,t){t===void 0&&(t=!0);for(var i=e.doc,n={},a=n.cursors=document.createDocumentFragment(),r=n.selection=document.createDocumentFragment(),o=0;o<i.sel.ranges.length;o++){if(!t&&o==i.sel.primIndex)continue;var d=i.sel.ranges[o];if(d.from().line>=e.display.viewTo||d.to().line<e.display.viewFrom)continue;var p=d.empty();(p||e.options.showCursorWhenSelecting)&&Da(e,d.head,a),p||Nn(e,d,r)}return n}function Da(e,t,i){var n=sn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),a=i.appendChild(ae("div","\xA0","CodeMirror-cursor"));if(a.style.left=n.left+"px",a.style.top=n.top+"px",a.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var r=i.appendChild(ae("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));r.style.display="",r.style.left=n.other.left+"px",r.style.top=n.other.top+"px",r.style.height=(n.other.bottom-n.other.top)*.85+"px"}}function Fn(e,t){return e.top-t.top||e.left-t.left}function Nn(e,t,i){var n=e.display,a=e.doc,r=document.createDocumentFragment(),o=$(e.display),d=o.left,p=Math.max(n.sizerWidth,U(e)-n.sizer.offsetLeft)-o.right,g=a.direction=="ltr";function F(Je,rt,yt,vt){rt<0&&(rt=0),rt=Math.round(rt),vt=Math.round(vt),r.appendChild(ae("div",null,"CodeMirror-selected","position: absolute; left: "+Je+`px;
top: `+rt+"px; width: "+(yt==null?p-Je:yt)+`px;
height: `+(vt-rt)+"px"))}function J(Je,rt,yt){var vt=Ue(a,Je),en=vt.text.length,Hn,Ci;function ni(fi,Xi){return Gn(e,Se(Je,fi),"div",vt,Xi)}function na(fi,Xi,Ni){var Ei=lt(e,vt,null,fi),pi=Xi=="ltr"==(Ni=="after")?"left":"right",ri=Ni=="after"?Ei.begin:Ei.end-(/\s/.test(vt.text.charAt(Ei.end-1))?2:1);return ni(ri,pi)[pi]}var Ji=Dt(vt,a.direction);return it(Ji,rt||0,yt==null?en:yt,function(fi,Xi,Ni,Ei){var pi=Ni=="ltr",ri=ni(fi,pi?"left":"right"),Zi=ni(Xi-1,pi?"right":"left"),zr=rt==null&&fi==0,sr=yt==null&&Xi==en,Pi=Ei==0,Ua=!Ji||Ei==Ji.length-1;if(Zi.top-ri.top<=3){var Si=(g?zr:sr)&&Pi,ps=(g?sr:zr)&&Ua,Ya=Si?d:(pi?ri:Zi).left,vr=ps?p:(pi?Zi:ri).right;F(Ya,ri.top,vr-Ya,ri.bottom)}else{var _r,Gi,Gr,ms;pi?(_r=g&&zr&&Pi?d:ri.left,Gi=g?p:na(fi,Ni,"before"),Gr=g?d:na(Xi,Ni,"after"),ms=g&&sr&&Ua?p:Zi.right):(_r=g?na(fi,Ni,"before"):d,Gi=!g&&zr&&Pi?p:ri.right,Gr=!g&&sr&&Ua?d:Zi.left,ms=g?na(Xi,Ni,"after"):p),F(_r,ri.top,Gi-_r,ri.bottom),ri.bottom<Zi.top&&F(d,ri.bottom,null,Zi.top),F(Gr,Zi.top,ms-Gr,Zi.bottom)}(!Hn||Fn(ri,Hn)<0)&&(Hn=ri),Fn(Zi,Hn)<0&&(Hn=Zi),(!Ci||Fn(ri,Ci)<0)&&(Ci=ri),Fn(Zi,Ci)<0&&(Ci=Zi)}),{start:Hn,end:Ci}}var be=t.from(),me=t.to();if(be.line==me.line)J(be.line,be.ch,me.ch);else{var Ne=Ue(a,be.line),De=Ue(a,me.line),Ke=Ti(Ne)==Ti(De),Ve=J(be.line,be.ch,Ke?Ne.text.length+1:null).end,et=J(me.line,Ke?0:null,me.ch).start;Ke&&(Ve.top<et.top-2?(F(Ve.right,Ve.top,null,Ve.bottom),F(d,et.top,et.left,et.bottom)):F(Ve.right,Ve.top,et.left-Ve.right,Ve.bottom)),Ve.bottom<et.top&&F(d,Ve.bottom,null,et.top)}i.appendChild(r)}function vi(e){if(!e.state.focused)return;var t=e.display;clearInterval(t.blinker);var i=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||qa(e),t.cursorDiv.style.visibility=(i=!i)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}function wo(e){e.state.focused||(e.display.input.focus(),La(e))}function Zr(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,qa(e))},100)}function La(e,t){if(e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),e.options.readOnly=="nocursor")return;e.state.focused||(ft(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),he&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),vi(e)}function qa(e,t){if(e.state.delayingBlurEvent)return;e.state.focused&&(ft(e,"blur",e,t),e.state.focused=!1,N(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150)}function Cr(e){for(var t=e.display,i=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var a=t.view[n],r=e.options.lineWrapping,o=void 0,d=0;if(a.hidden)continue;if(ge&&_e<8){var p=a.node.offsetTop+a.node.offsetHeight;o=p-i,i=p}else{var g=a.node.getBoundingClientRect();o=g.bottom-g.top,!r&&a.text.firstChild&&(d=a.text.firstChild.getBoundingClientRect().right-g.left-1)}var F=a.line.height-o;if((F>.005||F<-.005)&&(Cn(a.line,o),qr(a.line),a.rest))for(var J=0;J<a.rest.length;J++)qr(a.rest[J]);if(d>e.display.sizerWidth){var be=Math.ceil(d/mi(e.display));be>e.display.maxLineLength&&(e.display.maxLineLength=be,e.display.maxLine=a.line,e.display.maxLineChanged=!0)}}}function qr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var i=e.widgets[t],n=i.node.parentNode;n&&(i.height=n.offsetHeight)}}function Sr(e,t,i){var n=i&&i.top!=null?Math.max(0,i.top):e.scroller.scrollTop;n=Math.floor(n-Xr(e));var a=i&&i.bottom!=null?i.bottom:n+e.wrapper.clientHeight,r=bn(t,n),o=bn(t,a);if(i&&i.ensure){var d=i.ensure.from.line,p=i.ensure.to.line;d<r?(r=d,o=bn(t,Yi(Ue(t,d))+e.wrapper.clientHeight)):Math.min(p,t.lastLine())>=o&&(r=bn(t,Yi(Ue(t,p))-e.wrapper.clientHeight),o=p)}return{from:r,to:Math.max(o,r+1)}}function Yo(e,t){if(At(e,"scrollCursorIntoView"))return;var i=e.display,n=i.sizer.getBoundingClientRect(),a=null;if(t.top+n.top<0?a=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(a=!1),a!=null&&!l){var r=ae("div","\u200B",null,`position: absolute;
top: `+(t.top-i.viewOffset-Xr(e.display))+`px;
height: `+(t.bottom-t.top+se(e)+i.barHeight)+`px;
left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(r),r.scrollIntoView(a),e.display.lineSpace.removeChild(r)}}function Vo(e,t,i,n){n==null&&(n=0);var a;!e.options.lineWrapping&&t==i&&(t=t.ch?Se(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t,i=t.sticky=="before"?Se(t.line,t.ch+1,"before"):t);for(var r=0;r<5;r++){var o=!1,d=sn(e,t),p=!i||i==t?d:sn(e,i);a={left:Math.min(d.left,p.left),top:Math.min(d.top,p.top)-n,right:Math.max(d.left,p.left),bottom:Math.max(d.bottom,p.bottom)+n};var g=$r(e,a),F=e.doc.scrollTop,J=e.doc.scrollLeft;if(g.scrollTop!=null&&(tr(e,g.scrollTop),Math.abs(e.doc.scrollTop-F)>1&&(o=!0)),g.scrollLeft!=null&&(sa(e,g.scrollLeft),Math.abs(e.doc.scrollLeft-J)>1&&(o=!0)),!o)break}return a}function To(e,t){var i=$r(e,t);i.scrollTop!=null&&tr(e,i.scrollTop),i.scrollLeft!=null&&sa(e,i.scrollLeft)}function $r(e,t){var i=e.display,n=ai(e.display);t.top<0&&(t.top=0);var a=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:i.scroller.scrollTop,r=m(e),o={};t.bottom-t.top>r&&(t.bottom=t.top+r);var d=e.doc.height+j(i),p=t.top<n,g=t.bottom>d-n;if(t.top<a)o.scrollTop=p?0:t.top;else if(t.bottom>a+r){var F=Math.min(t.top,(g?d:t.bottom)-r);F!=a&&(o.scrollTop=F)}var J=e.options.fixedGutter?0:i.gutters.offsetWidth,be=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:i.scroller.scrollLeft-J,me=U(e)-i.gutters.offsetWidth,Ne=t.right-t.left>me;return Ne&&(t.right=t.left+me),t.left<10?o.scrollLeft=0:t.left<be?o.scrollLeft=Math.max(0,t.left+J-(Ne?0:10)):t.right>me+be-3&&(o.scrollLeft=t.right+(Ne?0:10)-me),o}function eo(e,t){if(t==null)return;Rr(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t}function $a(e){Rr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function er(e,t,i){(t!=null||i!=null)&&Rr(e),t!=null&&(e.curOp.scrollLeft=t),i!=null&&(e.curOp.scrollTop=i)}function Jo(e,t){Rr(e),e.curOp.scrollToPos=t}function Rr(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var i=_t(e,t.from),n=_t(e,t.to);hr(e,i,n,t.margin)}}function hr(e,t,i,n){var a=$r(e,{left:Math.min(t.left,i.left),top:Math.min(t.top,i.top)-n,right:Math.max(t.right,i.right),bottom:Math.max(t.bottom,i.bottom)+n});er(e,a.scrollLeft,a.scrollTop)}function tr(e,t){if(Math.abs(e.doc.scrollTop-t)<2)return;ze||mr(e,{top:t}),nr(e,t,!0),ze&&mr(e),pr(e,100)}function nr(e,t,i){if(t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),e.display.scroller.scrollTop==t&&!i)return;e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t)}function sa(e,t,i,n){if(t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(i?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n)return;e.doc.scrollLeft=t,dn(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t)}function Wa(e){var t=e.display,i=t.gutters.offsetWidth,n=Math.round(e.doc.height+j(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?i:0,docHeight:n,scrollHeight:n+se(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:i}}var ka=function(e,t,i){this.cm=i;var n=this.vert=ae("div",[ae("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),a=this.horiz=ae("div",[ae("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=a.tabIndex=-1,e(n),e(a),Ge(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),Ge(a,"scroll",function(){a.clientWidth&&t(a.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ge&&_e<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ka.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(i){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var a=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+a)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=i?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var r=e.viewWidth-e.barLeft-(i?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+r)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(n==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:i?n:0,bottom:t?n:0}},ka.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ka.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ka.prototype.zeroWidthHack=function(){var e=A&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new S,this.disableVert=new S},ka.prototype.enableZeroWidthBar=function(e,t,i){e.style.pointerEvents="auto";function n(){var a=e.getBoundingClientRect(),r=i=="vert"?document.elementFromPoint(a.right-1,(a.top+a.bottom)/2):document.elementFromPoint((a.right+a.left)/2,a.bottom-1);r!=e?e.style.pointerEvents="none":t.set(1e3,n)}t.set(1e3,n)},ka.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var fr=function(){};fr.prototype.update=function(){return{bottom:0,right:0}},fr.prototype.setScrollLeft=function(){},fr.prototype.setScrollTop=function(){},fr.prototype.clear=function(){};function Ha(e,t){t||(t=Wa(e));var i=e.display.barWidth,n=e.display.barHeight;xr(e,t);for(var a=0;a<4&&i!=e.display.barWidth||n!=e.display.barHeight;a++)i!=e.display.barWidth&&e.options.lineWrapping&&Cr(e),xr(e,Wa(e)),i=e.display.barWidth,n=e.display.barHeight}function xr(e,t){var i=e.display,n=i.scrollbars.update(t);i.sizer.style.paddingRight=(i.barWidth=n.right)+"px",i.sizer.style.paddingBottom=(i.barHeight=n.bottom)+"px",i.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(i.scrollbarFiller.style.display="block",i.scrollbarFiller.style.height=n.bottom+"px",i.scrollbarFiller.style.width=n.right+"px"):i.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(i.gutterFiller.style.display="block",i.gutterFiller.style.height=n.bottom+"px",i.gutterFiller.style.width=t.gutterWidth+"px"):i.gutterFiller.style.display=""}var to={native:ka,null:fr};function Nr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&N(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new to[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Ge(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,i){i=="horizontal"?sa(e,t):tr(e,t)},e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass)}var no=0;function Pa(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++no},Yr(e.curOp)}function Ka(e){var t=e.curOp;t&&Qe(t,function(i){for(var n=0;n<i.ops.length;n++)i.ops[n].cm.curOp=null;Co(i)})}function Co(e){for(var t=e.ops,i=0;i<t.length;i++)Xo(t[i]);for(var n=0;n<t.length;n++)Zo(t[n]);for(var a=0;a<t.length;a++)qo(t[a]);for(var r=0;r<t.length;r++)io(t[r]);for(var o=0;o<t.length;o++)$o(t[o])}function Xo(e){var t=e.cm,i=t.display;So(t),e.updateMaxLine&&Xa(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<i.viewFrom||e.scrollToPos.to.line>=i.viewTo)||i.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new la(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Zo(e){e.updatedDisplay=e.mustUpdate&&za(e.cm,e.update)}function qo(e){var t=e.cm,i=t.display;e.updatedDisplay&&Cr(t),e.barMeasure=Wa(t),i.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Q(t,i.maxLine,i.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(i.scroller.clientWidth,i.sizer.offsetLeft+e.adjustWidthTo+se(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,i.sizer.offsetLeft+e.adjustWidthTo-U(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=i.input.prepareSelection())}function io(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&sa(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var i=e.focus&&e.focus==Le();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,i),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Ha(t,e.barMeasure),e.updatedDisplay&&xn(t,e.barMeasure),e.selectionChanged&&vi(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),i&&wo(e.cm)}function $o(e){var t=e.cm,i=t.display,n=t.doc;if(e.updatedDisplay&&Ir(t,e.update),i.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(i.wheelStartX=i.wheelStartY=null),e.scrollTop!=null&&nr(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&sa(t,e.scrollLeft,!0,!0),e.scrollToPos){var a=Vo(t,Xe(n,e.scrollToPos.from),Xe(n,e.scrollToPos.to),e.scrollToPos.margin);Yo(t,a)}var r=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(r)for(var d=0;d<r.length;++d)r[d].lines.length||ft(r[d],"hide");if(o)for(var p=0;p<o.length;++p)o[p].lines.length&&ft(o[p],"unhide");i.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ft(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Hi(e,t){if(e.curOp)return t();Pa(e);try{return t()}finally{Ka(e)}}function oi(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Pa(e);try{return t.apply(e,arguments)}finally{Ka(e)}}}function xi(e){return function(){if(this.curOp)return e.apply(this,arguments);Pa(this);try{return e.apply(this,arguments)}finally{Ka(this)}}}function si(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Pa(t);try{return e.apply(this,arguments)}finally{Ka(t)}}}function pr(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,y(es,e))}function es(e){var t=e.doc;if(t.highlightFrontier>=e.display.viewTo)return;var i=+new Date+e.options.workTime,n=Ui(e,t.highlightFrontier),a=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(r){if(n.line>=e.display.viewFrom){var o=r.styles,d=r.text.length>e.options.maxHighlightLength?St(t.mode,n.state):null,p=Jn(e,r,n,!0);d&&(n.state=d),r.styles=p.styles;var g=r.styleClasses,F=p.classes;F?r.styleClasses=F:g&&(r.styleClasses=null);for(var J=!o||o.length!=r.styles.length||g!=F&&(!g||!F||g.bgClass!=F.bgClass||g.textClass!=F.textClass),be=0;!J&&be<o.length;++be)J=o[be]!=r.styles[be];J&&a.push(n.line),r.stateAfter=n.save(),n.nextLine()}else r.text.length<=e.options.maxHighlightLength&&Mi(e,r.text,n),r.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>i)return pr(e,e.options.workDelay),!0}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),a.length&&Hi(e,function(){for(var r=0;r<a.length;r++)qn(e,a[r],"text")})}var la=function(e,t,i){var n=e.display;this.viewport=t,this.visible=Sr(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=U(e),this.force=i,this.dims=Zn(e),this.events=[]};la.prototype.signal=function(e,t){Ct(e,t)&&this.events.push(arguments)},la.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ft.apply(null,this.events[e])};function So(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=se(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=se(e)+"px",t.scrollbarsClipped=!0)}function Ro(e){if(e.hasFocus())return null;var t=Le();if(!t||!q(e.display.lineDiv,t))return null;var i={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&q(e.display.lineDiv,n.anchorNode)&&(i.anchorNode=n.anchorNode,i.anchorOffset=n.anchorOffset,i.focusNode=n.focusNode,i.focusOffset=n.focusOffset)}return i}function xo(e){if(!e||!e.activeElt||e.activeElt==Le())return;if(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&q(document.body,e.anchorNode)&&q(document.body,e.focusNode)){var t=window.getSelection(),i=document.createRange();i.setEnd(e.anchorNode,e.anchorOffset),i.collapse(!1),t.removeAllRanges(),t.addRange(i),t.extend(e.focusNode,e.focusOffset)}}function za(e,t){var i=e.display,n=e.doc;if(t.editorIsHidden)return Yn(e),!1;if(!t.force&&t.visible.from>=i.viewFrom&&t.visible.to<=i.viewTo&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&Ma(e)==0)return!1;_i(e)&&(Yn(e),t.dims=Zn(e));var a=n.first+n.size,r=Math.max(t.visible.from-e.options.viewportMargin,n.first),o=Math.min(a,t.visible.to+e.options.viewportMargin);i.viewFrom<r&&r-i.viewFrom<20&&(r=Math.max(n.first,i.viewFrom)),i.viewTo>o&&i.viewTo-o<20&&(o=Math.min(a,i.viewTo)),Di&&(r=Sa(e.doc,r),o=va(e.doc,o));var d=r!=i.viewFrom||o!=i.viewTo||i.lastWrapHeight!=t.wrapperHeight||i.lastWrapWidth!=t.wrapperWidth;Ia(e,r,o),i.viewOffset=Yi(Ue(e.doc,i.viewFrom)),e.display.mover.style.top=i.viewOffset+"px";var p=Ma(e);if(!d&&p==0&&!t.force&&i.renderedView==i.view&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo))return!1;var g=Ro(e);return p>4&&(i.lineDiv.style.display="none"),No(e,i.updateLineNumbers,t.dims),p>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,xo(g),W(i.cursorDiv),W(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,d&&(i.lastWrapHeight=t.wrapperHeight,i.lastWrapWidth=t.wrapperWidth,pr(e,400)),i.updateLineNumbers=null,!0}function Ir(e,t){for(var i=t.viewport,n=!0;;n=!1){if(!n||!e.options.lineWrapping||t.oldDisplayWidth==U(e)){if(i&&i.top!=null&&(i={top:Math.min(e.doc.height+j(e.display)-m(e),i.top)}),t.visible=Sr(e.display,e.doc,i),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else n&&(t.visible=Sr(e.display,e.doc,i));if(!za(e,t))break;Cr(e);var a=Wa(e);Dn(e),Ha(e,a),xn(e,a),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function mr(e,t){var i=new la(e,t);if(za(e,i)){Cr(e),Ir(e,i);var n=Wa(e);Dn(e),Ha(e,n),xn(e,n),i.finish()}}function No(e,t,i){var n=e.display,a=e.options.lineNumbers,r=n.lineDiv,o=r.firstChild;function d(Ne){var De=Ne.nextSibling;return he&&A&&e.display.currentWheelTarget==Ne?Ne.style.display="none":Ne.parentNode.removeChild(Ne),De}for(var p=n.view,g=n.viewFrom,F=0;F<p.length;F++){var J=p[F];if(!J.hidden)if(!J.node||J.node.parentNode!=r){var be=Jr(e,J,g,i);r.insertBefore(be,o)}else{for(;o!=J.node;)o=d(o);var me=a&&t!=null&&t<=g&&J.lineNumber;J.changes&&(oe(J.changes,"gutter")>-1&&(me=!1),Pt(e,J,g,i)),me&&(W(J.lineNumber),J.lineNumber.appendChild(document.createTextNode(Me(e.options,g)))),o=J.node.nextSibling}g+=J.size}for(;o;)o=d(o)}function Mr(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function xn(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+se(e)+"px"}function dn(e){var t=e.display,i=t.view;if(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))return;for(var n=Li(t)-t.scroller.scrollLeft+e.doc.scrollLeft,a=t.gutters.offsetWidth,r=n+"px",o=0;o<i.length;o++)if(!i[o].hidden){e.options.fixedGutter&&(i[o].gutter&&(i[o].gutter.style.left=r),i[o].gutterBackground&&(i[o].gutterBackground.style.left=r));var d=i[o].alignable;if(d)for(var p=0;p<d.length;p++)d[p].style.left=r}e.options.fixedGutter&&(t.gutters.style.left=n+a+"px")}function _i(e){if(!e.options.lineNumbers)return!1;var t=e.doc,i=Me(e.options,t.first+t.size-1),n=e.display;if(i.length!=n.lineNumChars){var a=n.measure.appendChild(ae("div",[ae("div",i)],"CodeMirror-linenumber CodeMirror-gutter-elt")),r=a.firstChild.offsetWidth,o=a.offsetWidth-r;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(r,n.lineGutter.offsetWidth-o)+1,n.lineNumWidth=n.lineNumInnerWidth+o,n.lineNumChars=n.lineNumInnerWidth?i.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",Mr(e.display),!0}return!1}function Ki(e,t){for(var i=[],n=!1,a=0;a<e.length;a++){var r=e[a],o=null;if(typeof r!="string"&&(o=r.style,r=r.className),r=="CodeMirror-linenumbers")if(t)n=!0;else continue;i.push({className:r,style:o})}return t&&!n&&i.push({className:"CodeMirror-linenumbers",style:null}),i}function ir(e){var t=e.gutters,i=e.gutterSpecs;W(t),e.lineGutter=null;for(var n=0;n<i.length;++n){var a=i[n],r=a.className,o=a.style,d=t.appendChild(ae("div",null,"CodeMirror-gutter "+r));o&&(d.style.cssText=o),r=="CodeMirror-linenumbers"&&(e.lineGutter=d,d.style.width=(e.lineNumWidth||1)+"px")}t.style.display=i.length?"":"none",Mr(e)}function Ea(e){ir(e.display),jn(e),dn(e)}function gr(e,t,i,n){var a=this;this.input=i,a.scrollbarFiller=ae("div",null,"CodeMirror-scrollbar-filler"),a.scrollbarFiller.setAttribute("cm-not-content","true"),a.gutterFiller=ae("div",null,"CodeMirror-gutter-filler"),a.gutterFiller.setAttribute("cm-not-content","true"),a.lineDiv=G("div",null,"CodeMirror-code"),a.selectionDiv=ae("div",null,null,"position: relative; z-index: 1"),a.cursorDiv=ae("div",null,"CodeMirror-cursors"),a.measure=ae("div",null,"CodeMirror-measure"),a.lineMeasure=ae("div",null,"CodeMirror-measure"),a.lineSpace=G("div",[a.measure,a.lineMeasure,a.selectionDiv,a.cursorDiv,a.lineDiv],null,"position: relative; outline: none");var r=G("div",[a.lineSpace],"CodeMirror-lines");a.mover=ae("div",[r],null,"position: relative"),a.sizer=ae("div",[a.mover],"CodeMirror-sizer"),a.sizerWidth=null,a.heightForcer=ae("div",null,null,"position: absolute; height: "+ue+"px; width: 1px;"),a.gutters=ae("div",null,"CodeMirror-gutters"),a.lineGutter=null,a.scroller=ae("div",[a.sizer,a.heightForcer,a.gutters],"CodeMirror-scroll"),a.scroller.setAttribute("tabIndex","-1"),a.wrapper=ae("div",[a.scrollbarFiller,a.gutterFiller,a.scroller],"CodeMirror"),ge&&_e<8&&(a.gutters.style.zIndex=-1,a.scroller.style.paddingRight=0),!he&&!(ze&&K)&&(a.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(a.wrapper):e(a.wrapper)),a.viewFrom=a.viewTo=t.first,a.reportedViewFrom=a.reportedViewTo=t.first,a.view=[],a.renderedView=null,a.externalMeasured=null,a.viewOffset=0,a.lastWrapHeight=a.lastWrapWidth=0,a.updateLineNumbers=null,a.nativeBarWidth=a.barHeight=a.barWidth=0,a.scrollbarsClipped=!1,a.lineNumWidth=a.lineNumInnerWidth=a.lineNumChars=null,a.alignWidgets=!1,a.cachedCharWidth=a.cachedTextHeight=a.cachedPaddingH=null,a.maxLine=null,a.maxLineLength=0,a.maxLineChanged=!1,a.wheelDX=a.wheelDY=a.wheelStartX=a.wheelStartY=null,a.shift=!1,a.selForContextMenu=null,a.activeTouch=null,a.gutterSpecs=Ki(n.gutters,n.lineNumbers),ir(a),i.init(a)}var ja=0,bi=null;ge?bi=-.53:ze?bi=15:w?bi=-.7:s&&(bi=-1/3);function Dr(e){var t=e.wheelDeltaX,i=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),i==null&&e.detail&&e.axis==e.VERTICAL_AXIS?i=e.detail:i==null&&(i=e.wheelDelta),{x:t,y:i}}function ao(e){var t=Dr(e);return t.x*=bi,t.y*=bi,t}function ro(e,t){var i=Dr(t),n=i.x,a=i.y,r=e.display,o=r.scroller,d=o.scrollWidth>o.clientWidth,p=o.scrollHeight>o.clientHeight;if(!(n&&d||a&&p))return;if(a&&A&&he){e:for(var g=t.target,F=r.view;g!=o;g=g.parentNode)for(var J=0;J<F.length;J++)if(F[J].node==g){e.display.currentWheelTarget=g;break e}}if(n&&!ze&&!E&&bi!=null){a&&p&&tr(e,Math.max(0,o.scrollTop+a*bi)),sa(e,Math.max(0,o.scrollLeft+n*bi)),(!a||a&&p)&&cn(t),r.wheelStartX=null;return}if(a&&bi!=null){var be=a*bi,me=e.doc.scrollTop,Ne=me+r.wrapper.clientHeight;be<0?me=Math.max(0,me+be-50):Ne=Math.min(e.doc.height,Ne+be+50),mr(e,{top:me,bottom:Ne})}ja<20&&(r.wheelStartX==null?(r.wheelStartX=o.scrollLeft,r.wheelStartY=o.scrollTop,r.wheelDX=n,r.wheelDY=a,setTimeout(function(){if(r.wheelStartX==null)return;var De=o.scrollLeft-r.wheelStartX,Ke=o.scrollTop-r.wheelStartY,Ve=Ke&&r.wheelDY&&Ke/r.wheelDY||De&&r.wheelDX&&De/r.wheelDX;if(r.wheelStartX=r.wheelStartY=null,!Ve)return;bi=(bi*ja+Ve)/(ja+1),++ja},200)):(r.wheelDX+=n,r.wheelDY+=a))}var zi=function(e,t){this.ranges=e,this.primIndex=t};zi.prototype.primary=function(){return this.ranges[this.primIndex]},zi.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var i=this.ranges[t],n=e.ranges[t];if(!ln(i.anchor,n.anchor)||!ln(i.head,n.head))return!1}return!0},zi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Tn(Wt(this.ranges[t].anchor),Wt(this.ranges[t].head));return new zi(e,this.primIndex)},zi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},zi.prototype.contains=function(e,t){t||(t=e);for(var i=0;i<this.ranges.length;i++){var n=this.ranges[i];if(He(t,n.from())>=0&&He(e,n.to())<=0)return i}return-1};var Tn=function(e,t){this.anchor=e,this.head=t};Tn.prototype.from=function(){return bt(this.anchor,this.head)},Tn.prototype.to=function(){return Nt(this.anchor,this.head)},Tn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ua(e,t,i){var n=e&&e.options.selectionsMayTouch,a=t[i];t.sort(function(be,me){return He(be.from(),me.from())}),i=oe(t,a);for(var r=1;r<t.length;r++){var o=t[r],d=t[r-1],p=He(d.to(),o.from());if(n&&!o.empty()?p>0:p>=0){var g=bt(d.from(),o.from()),F=Nt(d.to(),o.to()),J=d.empty()?o.from()==o.head:d.from()==d.head;r<=i&&--i,t.splice(--r,2,new Tn(J?F:g,J?g:F))}}return new zi(t,i)}function ya(e,t){return new zi([new Tn(e,t||e)],0)}function Aa(e){return e.text?Se(e.from.line+e.text.length-1,v(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function oo(e,t){if(He(e,t.from)<0)return e;if(He(e,t.to)<=0)return Aa(t);var i=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Aa(t).ch-t.to.ch),Se(i,n)}function Lr(e,t){for(var i=[],n=0;n<e.sel.ranges.length;n++){var a=e.sel.ranges[n];i.push(new Tn(oo(a.anchor,t),oo(a.head,t)))}return ua(e.cm,i,e.sel.primIndex)}function Io(e,t,i){return e.line==t.line?Se(i.line,e.ch-t.ch+i.ch):Se(i.line+(e.line-t.line),e.ch)}function Mo(e,t,i){for(var n=[],a=Se(e.first,0),r=a,o=0;o<t.length;o++){var d=t[o],p=Io(d.from,a,r),g=Io(Aa(d),a,r);if(a=d.to,r=g,i=="around"){var F=e.sel.ranges[o],J=He(F.head,F.anchor)<0;n[o]=new Tn(J?g:p,J?p:g)}else n[o]=new Tn(p,p)}return new zi(n,e.sel.primIndex)}function Ga(e){e.doc.mode=ct(e.options,e.doc.modeOption),so(e)}function so(e){e.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,pr(e,100),e.state.modeGen++,e.curOp&&jn(e)}function gs(e,t){return t.from.ch==0&&t.to.ch==0&&v(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function ts(e,t,i,n){function a(et){return i?i[et]:null}function r(et,Je,rt){Qr(et,Je,rt,n),Pe(et,"change",et,t)}function o(et,Je){for(var rt=[],yt=et;yt<Je;++yt)rt.push(new _a(g[yt],a(yt),n));return rt}var d=t.from,p=t.to,g=t.text,F=Ue(e,d.line),J=Ue(e,p.line),be=v(g),me=a(g.length-1),Ne=p.line-d.line;if(t.full)e.insert(0,o(0,g.length)),e.remove(g.length,e.size-g.length);else if(gs(e,t)){var De=o(0,g.length-1);r(J,J.text,me),Ne&&e.remove(d.line,Ne),De.length&&e.insert(d.line,De)}else if(F==J)if(g.length==1)r(F,F.text.slice(0,d.ch)+be+F.text.slice(p.ch),me);else{var Ke=o(1,g.length-1);Ke.push(new _a(be+F.text.slice(p.ch),me,n)),r(F,F.text.slice(0,d.ch)+g[0],a(0)),e.insert(d.line+1,Ke)}else if(g.length==1)r(F,F.text.slice(0,d.ch)+g[0]+J.text.slice(p.ch),a(0)),e.remove(d.line+1,Ne);else{r(F,F.text.slice(0,d.ch)+g[0],a(0)),r(J,be+J.text.slice(p.ch),me);var Ve=o(1,g.length-1);Ne>1&&e.remove(d.line+1,Ne-1),e.insert(d.line+1,Ve)}Pe(e,"change",e,t)}function ar(e,t,i){function n(a,r,o){if(a.linked)for(var d=0;d<a.linked.length;++d){var p=a.linked[d];if(p.doc==r)continue;var g=o&&p.sharedHist;if(i&&!g)continue;t(p.doc,g),n(p.doc,a,g)}}n(e,null,!0)}function vs(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Wi(e),Ga(e),_s(e),e.options.lineWrapping||Xa(e),e.options.mode=t.modeOption,jn(e)}function _s(e){(e.doc.direction=="rtl"?I:N)(e.display.lineDiv,"CodeMirror-rtl")}function fl(e){Hi(e,function(){_s(e),jn(e)})}function Do(e){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function ns(e,t){var i={from:Wt(t.from),to:Aa(t),text:gn(e,t.from,t.to)};return ys(e,i,t.from.line,t.to.line+1),ar(e,function(n){return ys(n,i,t.from.line,t.to.line+1)},!0),i}function bs(e){for(;e.length;){var t=v(e);if(t.ranges)e.pop();else break}}function pl(e,t){if(t)return bs(e.done),v(e.done);if(e.done.length&&!v(e.done).ranges)return v(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),v(e.done)}function Es(e,t,i,n){var a=e.history;a.undone.length=0;var r=+new Date,o,d;if((a.lastOp==n||a.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&a.lastModTime>r-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(o=pl(a,a.lastOp==n)))d=v(o.changes),He(t.from,t.to)==0&&He(t.from,d.to)==0?d.to=Aa(t):o.changes.push(ns(e,t));else{var p=v(a.done);for((!p||!p.ranges)&&Lo(e.sel,a.done),o={changes:[ns(e,t)],generation:a.generation},a.done.push(o);a.done.length>a.undoDepth;)a.done.shift(),a.done[0].ranges||a.done.shift()}a.done.push(i),a.generation=++a.maxGeneration,a.lastModTime=a.lastSelTime=r,a.lastOp=a.lastSelOp=n,a.lastOrigin=a.lastSelOrigin=t.origin,d||ft(e,"historyAdded")}function ml(e,t,i,n){var a=t.charAt(0);return a=="*"||a=="+"&&i.ranges.length==n.ranges.length&&i.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function gl(e,t,i,n){var a=e.history,r=n&&n.origin;i==a.lastSelOp||r&&a.lastSelOrigin==r&&(a.lastModTime==a.lastSelTime&&a.lastOrigin==r||ml(e,r,v(a.done),t))?a.done[a.done.length-1]=t:Lo(t,a.done),a.lastSelTime=+new Date,a.lastSelOrigin=r,a.lastSelOp=i,n&&n.clearRedo!==!1&&bs(a.undone)}function Lo(e,t){var i=v(t);i&&i.ranges&&i.equals(e)||t.push(e)}function ys(e,t,i,n){var a=t["spans_"+e.id],r=0;e.iter(Math.max(e.first,i),Math.min(e.first+e.size,n),function(o){o.markedSpans&&((a||(a=t["spans_"+e.id]={}))[r]=o.markedSpans),++r})}function vl(e){if(!e)return null;for(var t,i=0;i<e.length;++i)e[i].marker.explicitlyCleared?t||(t=e.slice(0,i)):t&&t.push(e[i]);return t?t.length?t:null:e}function _l(e,t){var i=t["spans_"+e.id];if(!i)return null;for(var n=[],a=0;a<t.text.length;++a)n.push(vl(i[a]));return n}function As(e,t){var i=_l(e,t),n=wn(e,t);if(!i)return n;if(!n)return i;for(var a=0;a<i.length;++a){var r=i[a],o=n[a];if(r&&o){e:for(var d=0;d<o.length;++d){for(var p=o[d],g=0;g<r.length;++g)if(r[g].marker==p.marker)continue e;r.push(p)}}else o&&(i[a]=o)}return i}function kr(e,t,i){for(var n=[],a=0;a<e.length;++a){var r=e[a];if(r.ranges){n.push(i?zi.prototype.deepCopy.call(r):r);continue}var o=r.changes,d=[];n.push({changes:d});for(var p=0;p<o.length;++p){var g=o[p],F=void 0;if(d.push({from:g.from,to:g.to,text:g.text}),t)for(var J in g)(F=J.match(/^spans_(\d+)$/))&&(oe(t,Number(F[1]))>-1&&(v(d)[J]=g[J],delete g[J]))}}return n}function is(e,t,i,n){if(n){var a=e.anchor;if(i){var r=He(t,a)<0;r!=He(i,a)<0?(a=t,t=i):r!=He(t,i)<0&&(t=i)}return new Tn(a,t)}else return new Tn(i||t,t)}function ko(e,t,i,n,a){a==null&&(a=e.cm&&(e.cm.display.shift||e.extend)),ki(e,new zi([is(e.sel.primary(),t,i,a)],0),n)}function Os(e,t,i){for(var n=[],a=e.cm&&(e.cm.display.shift||e.extend),r=0;r<e.sel.ranges.length;r++)n[r]=is(e.sel.ranges[r],t[r],null,a);var o=ua(e.cm,n,e.sel.primIndex);ki(e,o,i)}function as(e,t,i,n){var a=e.sel.ranges.slice(0);a[t]=i,ki(e,ua(e.cm,a,e.sel.primIndex),n)}function ws(e,t,i,n){ki(e,ya(t,i),n)}function bl(e,t,i){var n={ranges:t.ranges,update:function(a){this.ranges=[];for(var r=0;r<a.length;r++)this.ranges[r]=new Tn(Xe(e,a[r].anchor),Xe(e,a[r].head))},origin:i&&i.origin};return ft(e,"beforeSelectionChange",e,n),e.cm&&ft(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?ua(e.cm,n.ranges,n.ranges.length-1):t}function Ts(e,t,i){var n=e.history.done,a=v(n);a&&a.ranges?(n[n.length-1]=t,Po(e,t,i)):ki(e,t,i)}function ki(e,t,i){Po(e,t,i),gl(e,e.sel,e.cm?e.cm.curOp.id:NaN,i)}function Po(e,t,i){(Ct(e,"beforeSelectionChange")||e.cm&&Ct(e.cm,"beforeSelectionChange"))&&(t=bl(e,t,i));var n=i&&i.bias||(He(t.primary().head,e.sel.primary().head)<0?-1:1);Cs(e,Rs(e,t,n,!0)),!(i&&i.scroll===!1)&&e.cm&&$a(e.cm)}function Cs(e,t){if(t.equals(e.sel))return;e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Ft(e.cm)),Pe(e,"cursorActivity",e)}function Ss(e){Cs(e,Rs(e,e.sel,null,!1))}function Rs(e,t,i,n){for(var a,r=0;r<t.ranges.length;r++){var o=t.ranges[r],d=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[r],p=jo(e,o.anchor,d&&d.anchor,i,n),g=jo(e,o.head,d&&d.head,i,n);(a||p!=o.anchor||g!=o.head)&&(a||(a=t.ranges.slice(0,r)),a[r]=new Tn(p,g))}return a?ua(e.cm,a,t.primIndex):t}function Pr(e,t,i,n,a){var r=Ue(e,t.line);if(r.markedSpans)for(var o=0;o<r.markedSpans.length;++o){var d=r.markedSpans[o],p=d.marker,g="selectLeft"in p?!p.selectLeft:p.inclusiveLeft,F="selectRight"in p?!p.selectRight:p.inclusiveRight;if((d.from==null||(g?d.from<=t.ch:d.from<t.ch))&&(d.to==null||(F?d.to>=t.ch:d.to>t.ch))){if(a&&(ft(p,"beforeCursorEnter"),p.explicitlyCleared))if(r.markedSpans){--o;continue}else break;if(!p.atomic)continue;if(i){var J=p.find(n<0?1:-1),be=void 0;if((n<0?F:g)&&(J=xs(e,J,-n,J&&J.line==t.line?r:null)),J&&J.line==t.line&&(be=He(J,i))&&(n<0?be<0:be>0))return Pr(e,J,t,n,a)}var me=p.find(n<0?-1:1);return(n<0?g:F)&&(me=xs(e,me,n,me.line==t.line?r:null)),me?Pr(e,me,t,n,a):null}}return t}function jo(e,t,i,n,a){var r=n||1,o=Pr(e,t,i,r,a)||!a&&Pr(e,t,i,r,!0)||Pr(e,t,i,-r,a)||!a&&Pr(e,t,i,-r,!0);return o||(e.cantEdit=!0,Se(e.first,0))}function xs(e,t,i,n){return i<0&&t.ch==0?t.line>e.first?Xe(e,Se(t.line-1)):null:i>0&&t.ch==(n||Ue(e,t.line)).text.length?t.line<e.first+e.size-1?Se(t.line+1,0):null:new Se(t.line,t.ch+i)}function Ns(e){e.setSelection(Se(e.firstLine(),0),Se(e.lastLine()),re)}function Is(e,t,i){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return i&&(n.update=function(a,r,o,d){a&&(n.from=Xe(e,a)),r&&(n.to=Xe(e,r)),o&&(n.text=o),d!==void 0&&(n.origin=d)}),ft(e,"beforeChange",e,n),e.cm&&ft(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function jr(e,t,i){if(e.cm){if(!e.cm.curOp)return oi(e.cm,jr)(e,t,i);if(e.cm.state.suppressEdits)return}if((Ct(e,"beforeChange")||e.cm&&Ct(e.cm,"beforeChange"))&&(t=Is(e,t,!0),!t))return;var n=$i&&!i&&wi(e,t.from,t.to);if(n)for(var a=n.length-1;a>=0;--a)Ms(e,{from:n[a].from,to:n[a].to,text:a?[""]:t.text,origin:t.origin});else Ms(e,t)}function Ms(e,t){if(t.text.length==1&&t.text[0]==""&&He(t.from,t.to)==0)return;var i=Lr(e,t);Es(e,t,i,e.cm?e.cm.curOp.id:NaN),lo(e,t,i,wn(e,t));var n=[];ar(e,function(a,r){!r&&oe(n,a.history)==-1&&(Ps(a.history,t),n.push(a.history)),lo(a,t,null,wn(a,t))})}function Uo(e,t,i){var n=e.cm&&e.cm.state.suppressEdits;if(n&&!i)return;for(var a=e.history,r,o=e.sel,d=t=="undo"?a.done:a.undone,p=t=="undo"?a.undone:a.done,g=0;g<d.length&&!(r=d[g],i?r.ranges&&!r.equals(e.sel):!r.ranges);g++);if(g==d.length)return;for(a.lastOrigin=a.lastSelOrigin=null;;)if(r=d.pop(),r.ranges){if(Lo(r,p),i&&!r.equals(e.sel)){ki(e,r,{clearRedo:!1});return}o=r}else if(n){d.push(r);return}else break;var F=[];Lo(o,p),p.push({changes:F,generation:a.generation}),a.generation=r.generation||++a.maxGeneration;for(var J=Ct(e,"beforeChange")||e.cm&&Ct(e.cm,"beforeChange"),be=function(De){var Ke=r.changes[De];if(Ke.origin=t,J&&!Is(e,Ke,!1))return d.length=0,{};F.push(ns(e,Ke));var Ve=De?Lr(e,Ke):v(d);lo(e,Ke,Ve,As(e,Ke)),!De&&e.cm&&e.cm.scrollIntoView({from:Ke.from,to:Aa(Ke)});var et=[];ar(e,function(Je,rt){!rt&&oe(et,Je.history)==-1&&(Ps(Je.history,Ke),et.push(Je.history)),lo(Je,Ke,null,As(Je,Ke))})},me=r.changes.length-1;me>=0;--me){var Ne=be(me);if(Ne)return Ne.v}}function Ds(e,t){if(t==0)return;if(e.first+=t,e.sel=new zi(k(e.sel.ranges,function(a){return new Tn(Se(a.anchor.line+t,a.anchor.ch),Se(a.head.line+t,a.head.ch))}),e.sel.primIndex),e.cm){jn(e.cm,e.first,e.first-t,t);for(var i=e.cm.display,n=i.viewFrom;n<i.viewTo;n++)qn(e.cm,n,"gutter")}}function lo(e,t,i,n){if(e.cm&&!e.cm.curOp)return oi(e.cm,lo)(e,t,i,n);if(t.to.line<e.first){Ds(e,t.text.length-1-(t.to.line-t.from.line));return}if(t.from.line>e.lastLine())return;if(t.from.line<e.first){var a=t.text.length-1-(e.first-t.from.line);Ds(e,a),t={from:Se(e.first,0),to:Se(t.to.line+a,t.to.ch),text:[v(t.text)],origin:t.origin}}var r=e.lastLine();t.to.line>r&&(t={from:t.from,to:Se(r,Ue(e,r).text.length),text:[t.text[0]],origin:t.origin}),t.removed=gn(e,t.from,t.to),i||(i=Lr(e,t)),e.cm?El(e.cm,t,n):ts(e,t,n),Po(e,i,re),e.cantEdit&&jo(e,Se(e.firstLine(),0))&&(e.cantEdit=!1)}function El(e,t,i){var n=e.doc,a=e.display,r=t.from,o=t.to,d=!1,p=r.line;e.options.lineWrapping||(p=Tt(Ti(Ue(n,r.line))),n.iter(p,o.line+1,function(me){if(me==a.maxLine)return d=!0,!0})),n.sel.contains(t.from,t.to)>-1&&Ft(e),ts(n,t,i,ra(e)),e.options.lineWrapping||(n.iter(p,r.line+t.text.length,function(me){var Ne=Ja(me);Ne>a.maxLineLength&&(a.maxLine=me,a.maxLineLength=Ne,a.maxLineChanged=!0,d=!1)}),d&&(e.curOp.updateMaxLine=!0)),wa(n,r.line),pr(e,400);var g=t.text.length-(o.line-r.line)-1;t.full?jn(e):r.line==o.line&&t.text.length==1&&!gs(e.doc,t)?qn(e,r.line,"text"):jn(e,r.line,o.line+1,g);var F=Ct(e,"changes"),J=Ct(e,"change");if(J||F){var be={from:r,to:o,text:t.text,removed:t.removed,origin:t.origin};J&&Pe(e,"change",e,be),F&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(be)}e.display.selForContextMenu=null}function Ur(e,t,i,n,a){var r;n||(n=i),He(n,i)<0&&(r=[n,i],i=r[0],n=r[1]),typeof t=="string"&&(t=e.splitLines(t)),jr(e,{from:i,to:n,text:t,origin:a})}function Ls(e,t,i,n){i<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function ks(e,t,i,n){for(var a=0;a<e.length;++a){var r=e[a],o=!0;if(r.ranges){r.copied||(r=e[a]=r.deepCopy(),r.copied=!0);for(var d=0;d<r.ranges.length;d++)Ls(r.ranges[d].anchor,t,i,n),Ls(r.ranges[d].head,t,i,n);continue}for(var p=0;p<r.changes.length;++p){var g=r.changes[p];if(i<g.from.line)g.from=Se(g.from.line+n,g.from.ch),g.to=Se(g.to.line+n,g.to.ch);else if(t<=g.to.line){o=!1;break}}o||(e.splice(0,a+1),a=0)}}function Ps(e,t){var i=t.from.line,n=t.to.line,a=t.text.length-(n-i)-1;ks(e.done,i,n,a),ks(e.undone,i,n,a)}function uo(e,t,i,n){var a=t,r=t;return typeof t=="number"?r=Ue(e,Sn(e,t)):a=Tt(t),a==null?null:(n(r,a)&&e.cm&&qn(e.cm,a,i),r)}function co(e){this.lines=e,this.parent=null;for(var t=0,i=0;i<e.length;++i)e[i].parent=this,t+=e[i].height;this.height=t}co.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var i=e,n=e+t;i<n;++i){var a=this.lines[i];this.height-=a.height,Ra(a),Pe(a,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,i){this.height+=i,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,i){for(var n=e+t;e<n;++e)if(i(this.lines[e]))return!0}};function ho(e){this.children=e;for(var t=0,i=0,n=0;n<e.length;++n){var a=e[n];t+=a.chunkSize(),i+=a.height,a.parent=this}this.size=t,this.height=i,this.parent=null}ho.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var i=0;i<this.children.length;++i){var n=this.children[i],a=n.chunkSize();if(e<a){var r=Math.min(t,a-e),o=n.height;if(n.removeInner(e,r),this.height-=o-n.height,a==r&&(this.children.splice(i--,1),n.parent=null),(t-=r)==0)break;e=0}else e-=a}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof co))){var d=[];this.collapse(d),this.children=[new co(d)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,i){this.size+=t.length,this.height+=i;for(var n=0;n<this.children.length;++n){var a=this.children[n],r=a.chunkSize();if(e<=r){if(a.insertInner(e,t,i),a.lines&&a.lines.length>50){for(var o=a.lines.length%25+25,d=o;d<a.lines.length;){var p=new co(a.lines.slice(d,d+=25));a.height-=p.height,this.children.splice(++n,0,p),p.parent=this}a.lines=a.lines.slice(0,o),this.maybeSpill()}break}e-=r}},maybeSpill:function(){if(this.children.length<=10)return;var e=this;do{var t=e.children.splice(e.children.length-5,5),i=new ho(t);if(e.parent){e.size-=i.size,e.height-=i.height;var a=oe(e.parent.children,e);e.parent.children.splice(a+1,0,i)}else{var n=new ho(e.children);n.parent=e,e.children=[n,i],e=n}i.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()},iterN:function(e,t,i){for(var n=0;n<this.children.length;++n){var a=this.children[n],r=a.chunkSize();if(e<r){var o=Math.min(t,r-e);if(a.iterN(e,o,i))return!0;if((t-=o)==0)break;e=0}else e-=r}}};var fo=function(e,t,i){if(i)for(var n in i)i.hasOwnProperty(n)&&(this[n]=i[n]);this.doc=e,this.node=t};fo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,i=this.line,n=Tt(i);if(n==null||!t)return;for(var a=0;a<t.length;++a)t[a]==this&&t.splice(a--,1);t.length||(i.widgets=null);var r=Za(this);Cn(i,Math.max(0,i.height-r)),e&&(Hi(e,function(){js(e,i,-r),qn(e,n,"widget")}),Pe(e,"lineWidgetCleared",e,this,n))},fo.prototype.changed=function(){var e=this,t=this.height,i=this.doc.cm,n=this.line;this.height=null;var a=Za(this)-t;if(!a)return;Qi(this.doc,n)||Cn(n,n.height+a),i&&Hi(i,function(){i.curOp.forceUpdate=!0,js(i,n,a),Pe(i,"lineWidgetChanged",i,e,Tt(n))})},An(fo);function js(e,t,i){Yi(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&eo(e,i)}function yl(e,t,i,n){var a=new fo(e,i,n),r=e.cm;return r&&a.noHScroll&&(r.display.alignWidgets=!0),uo(e,t,"widget",function(o){var d=o.widgets||(o.widgets=[]);if(a.insertAt==null?d.push(a):d.splice(Math.min(d.length-1,Math.max(0,a.insertAt)),0,a),a.line=o,r&&!Qi(e,o)){var p=Yi(o)<e.scrollTop;Cn(o,o.height+Za(a)),p&&eo(r,a.height),r.curOp.forceUpdate=!0}return!0}),r&&Pe(r,"lineWidgetAdded",r,a,typeof t=="number"?t:Tt(t)),a}var Us=0,rr=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Us};rr.prototype.clear=function(){if(this.explicitlyCleared)return;var e=this.doc.cm,t=e&&!e.curOp;if(t&&Pa(e),Ct(this,"clear")){var i=this.find();i&&Pe(this,"clear",i.from,i.to)}for(var n=null,a=null,r=0;r<this.lines.length;++r){var o=this.lines[r],d=ea(o.markedSpans,this);e&&!this.collapsed?qn(e,Tt(o),"text"):e&&(d.to!=null&&(a=Tt(o)),d.from!=null&&(n=Tt(o))),o.markedSpans=br(o.markedSpans,d),d.from==null&&this.collapsed&&!Qi(this.doc,o)&&e&&Cn(o,ai(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var p=0;p<this.lines.length;++p){var g=Ti(this.lines[p]),F=Ja(g);F>e.display.maxLineLength&&(e.display.maxLine=g,e.display.maxLineLength=F,e.display.maxLineChanged=!0)}n!=null&&e&&this.collapsed&&jn(e,n,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ss(e.doc)),e&&Pe(e,"markerCleared",e,this,n,a),t&&Ka(e),this.parent&&this.parent.clear()},rr.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var i,n,a=0;a<this.lines.length;++a){var r=this.lines[a],o=ea(r.markedSpans,this);if(o.from!=null&&(i=Se(t?r:Tt(r),o.from),e==-1))return i;if(o.to!=null&&(n=Se(t?r:Tt(r),o.to),e==1))return n}return i&&{from:i,to:n}},rr.prototype.changed=function(){var e=this,t=this.find(-1,!0),i=this,n=this.doc.cm;if(!t||!n)return;Hi(n,function(){var a=t.line,r=Tt(t.line),o=de(n,r);if(o&&(Jt(o),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Qi(i.doc,a)&&i.height!=null){var d=i.height;i.height=null;var p=Za(i)-d;p&&Cn(a,a.height+p)}Pe(n,"markerChanged",n,e)})},rr.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||oe(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},rr.prototype.detachLine=function(e){if(this.lines.splice(oe(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},An(rr);function Fr(e,t,i,n,a){if(n&&n.shared)return Al(e,t,i,n,a);if(e.cm&&!e.cm.curOp)return oi(e.cm,Fr)(e,t,i,n,a);var r=new rr(e,a),o=He(t,i);if(n&&c(n,r,!1),o>0||o==0&&r.clearWhenEmpty!==!1)return r;if(r.replacedWith&&(r.collapsed=!0,r.widgetNode=G("span",[r.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||r.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(r.widgetNode.insertLeft=!0)),r.collapsed){if(Fa(e,t.line,t,i,r)||t.line!=i.line&&Fa(e,i.line,t,i,r))throw new Error("Inserting collapsed marker partially overlapping an existing one");pa()}r.addToHistory&&Es(e,{from:t,to:i,origin:"markText"},e.sel,NaN);var d=t.line,p=e.cm,g;if(e.iter(d,i.line+1,function(J){p&&r.collapsed&&!p.options.lineWrapping&&Ti(J)==p.display.maxLine&&(g=!0),r.collapsed&&d!=t.line&&Cn(J,0),lr(J,new ca(r,d==t.line?t.ch:null,d==i.line?i.ch:null)),++d}),r.collapsed&&e.iter(t.line,i.line+1,function(J){Qi(e,J)&&Cn(J,0)}),r.clearOnEnter&&Ge(r,"beforeCursorEnter",function(){return r.clear()}),r.readOnly&&(fa(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),r.collapsed&&(r.id=++Us,r.atomic=!0),p){if(g&&(p.curOp.updateMaxLine=!0),r.collapsed)jn(p,t.line,i.line+1);else if(r.className||r.startStyle||r.endStyle||r.css||r.attributes||r.title)for(var F=t.line;F<=i.line;F++)qn(p,F,"text");r.atomic&&Ss(p.doc),Pe(p,"markerAdded",p,r)}return r}var po=function(e,t){this.markers=e,this.primary=t;for(var i=0;i<e.length;++i)e[i].parent=this};po.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Pe(this,"clear")},po.prototype.find=function(e,t){return this.primary.find(e,t)},An(po);function Al(e,t,i,n,a){n=c(n),n.shared=!1;var r=[Fr(e,t,i,n,a)],o=r[0],d=n.widgetNode;return ar(e,function(p){d&&(n.widgetNode=d.cloneNode(!0)),r.push(Fr(p,Xe(p,t),Xe(p,i),n,a));for(var g=0;g<p.linked.length;++g)if(p.linked[g].isParent)return;o=v(r)}),new po(r,o)}function Fs(e){return e.findMarks(Se(e.first,0),e.clipPos(Se(e.lastLine())),function(t){return t.parent})}function Ol(e,t){for(var i=0;i<t.length;i++){var n=t[i],a=n.find(),r=e.clipPos(a.from),o=e.clipPos(a.to);if(He(r,o)){var d=Fr(e,r,o,n.primary,n.primary.type);n.markers.push(d),d.parent=n}}}function wl(e){for(var t=function(n){var a=e[n],r=[a.primary.doc];ar(a.primary.doc,function(p){return r.push(p)});for(var o=0;o<a.markers.length;o++){var d=a.markers[o];oe(r,d.doc)==-1&&(d.parent=null,a.markers.splice(o--,1))}},i=0;i<e.length;i++)t(i)}var Tl=0,Vi=function(e,t,i,n,a){if(!(this instanceof Vi))return new Vi(e,t,i,n,a);i==null&&(i=0),ho.call(this,[new co([new _a("",null)])]),this.first=i,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=i;var r=Se(i,0);this.sel=ya(r),this.history=new Do(null),this.id=++Tl,this.modeOption=t,this.lineSep=n,this.direction=a=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),ts(this,{from:r,to:r,text:e}),ki(this,ya(r),re)};Vi.prototype=Te(ho.prototype,{constructor:Vi,iter:function(e,t,i){i?this.iterN(e-this.first,t-e,i):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var i=0,n=0;n<t.length;++n)i+=t[n].height;this.insertInner(e-this.first,t,i)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=nn(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:si(function(e){var t=Se(this.first,0),i=this.first+this.size-1;jr(this,{from:t,to:Se(i,Ue(this,i).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&er(this.cm,0,0),ki(this,ya(t),re)}),replaceRange:function(e,t,i,n){t=Xe(this,t),i=i?Xe(this,i):t,Ur(this,e,t,i,n)},getRange:function(e,t,i){var n=gn(this,Xe(this,e),Xe(this,t));return i===!1?n:n.join(i||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Rt(this,e))return Ue(this,e)},getLineNumber:function(e){return Tt(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Ue(this,e)),Ti(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return Xe(this,e)},getCursor:function(e){var t=this.sel.primary(),i;return e==null||e=="head"?i=t.head:e=="anchor"?i=t.anchor:e=="end"||e=="to"||e===!1?i=t.to():i=t.from(),i},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:si(function(e,t,i){ws(this,Xe(this,typeof e=="number"?Se(e,t||0):e),null,i)}),setSelection:si(function(e,t,i){ws(this,Xe(this,e),Xe(this,t||e),i)}),extendSelection:si(function(e,t,i){ko(this,Xe(this,e),t&&Xe(this,t),i)}),extendSelections:si(function(e,t){Os(this,an(this,e),t)}),extendSelectionsBy:si(function(e,t){var i=k(this.sel.ranges,e);Os(this,an(this,i),t)}),setSelections:si(function(e,t,i){if(!e.length)return;for(var n=[],a=0;a<e.length;a++)n[a]=new Tn(Xe(this,e[a].anchor),Xe(this,e[a].head));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),ki(this,ua(this.cm,n,t),i)}),addSelection:si(function(e,t,i){var n=this.sel.ranges.slice(0);n.push(new Tn(Xe(this,e),Xe(this,t||e))),ki(this,ua(this.cm,n,n.length-1),i)}),getSelection:function(e){for(var t=this.sel.ranges,i,n=0;n<t.length;n++){var a=gn(this,t[n].from(),t[n].to());i=i?i.concat(a):a}return e===!1?i:i.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],i=this.sel.ranges,n=0;n<i.length;n++){var a=gn(this,i[n].from(),i[n].to());e!==!1&&(a=a.join(e||this.lineSeparator())),t[n]=a}return t},replaceSelection:function(e,t,i){for(var n=[],a=0;a<this.sel.ranges.length;a++)n[a]=e;this.replaceSelections(n,t,i||"+input")},replaceSelections:si(function(e,t,i){for(var n=[],a=this.sel,r=0;r<a.ranges.length;r++){var o=a.ranges[r];n[r]={from:o.from(),to:o.to(),text:this.splitLines(e[r]),origin:i}}for(var d=t&&t!="end"&&Mo(this,n,t),p=n.length-1;p>=0;p--)jr(this,n[p]);d?Ts(this,d):this.cm&&$a(this.cm)}),undo:si(function(){Uo(this,"undo")}),redo:si(function(){Uo(this,"redo")}),undoSelection:si(function(){Uo(this,"undo",!0)}),redoSelection:si(function(){Uo(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,i=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var a=0;a<e.undone.length;a++)e.undone[a].ranges||++i;return{undo:t,redo:i}},clearHistory:function(){var e=this;this.history=new Do(this.history.maxGeneration),ar(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:kr(this.history.done),undone:kr(this.history.undone)}},setHistory:function(e){var t=this.history=new Do(this.history.maxGeneration);t.done=kr(e.done.slice(0),null,!0),t.undone=kr(e.undone.slice(0),null,!0)},setGutterMarker:si(function(e,t,i){return uo(this,e,"gutter",function(n){var a=n.gutterMarkers||(n.gutterMarkers={});return a[t]=i,!i&&We(a)&&(n.gutterMarkers=null),!0})}),clearGutter:si(function(e){var t=this;this.iter(function(i){i.gutterMarkers&&i.gutterMarkers[e]&&uo(t,i,"gutter",function(){return i.gutterMarkers[e]=null,We(i.gutterMarkers)&&(i.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!Rt(this,e))return null;if(t=e,e=Ue(this,e),!e)return null}else if(t=Tt(e),t==null)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:si(function(e,t,i){return uo(this,e,t=="gutter"?"gutter":"class",function(n){var a=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!n[a])n[a]=i;else{if(fe(i).test(n[a]))return!1;n[a]+=" "+i}return!0})}),removeLineClass:si(function(e,t,i){return uo(this,e,t=="gutter"?"gutter":"class",function(n){var a=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",r=n[a];if(r)if(i==null)n[a]=null;else{var o=r.match(fe(i));if(!o)return!1;var d=o.index+o[0].length;n[a]=r.slice(0,o.index)+(!o.index||d==r.length?"":" ")+r.slice(d)||null}else return!1;return!0})}),addLineWidget:si(function(e,t,i){return yl(this,e,t,i)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,i){return Fr(this,Xe(this,e),Xe(this,t),i,i&&i.type||"range")},setBookmark:function(e,t){var i={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=Xe(this,e),Fr(this,e,e,i,"bookmark")},findMarksAt:function(e){e=Xe(this,e);var t=[],i=Ue(this,e.line).markedSpans;if(i)for(var n=0;n<i.length;++n){var a=i[n];(a.from==null||a.from<=e.ch)&&(a.to==null||a.to>=e.ch)&&t.push(a.marker.parent||a.marker)}return t},findMarks:function(e,t,i){e=Xe(this,e),t=Xe(this,t);var n=[],a=e.line;return this.iter(e.line,t.line+1,function(r){var o=r.markedSpans;if(o)for(var d=0;d<o.length;d++){var p=o[d];!(p.to!=null&&a==e.line&&e.ch>=p.to||p.from==null&&a!=e.line||p.from!=null&&a==t.line&&p.from>=t.ch)&&(!i||i(p.marker))&&n.push(p.marker.parent||p.marker)}++a}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var i=t.markedSpans;if(i)for(var n=0;n<i.length;++n)i[n].from!=null&&e.push(i[n].marker)}),e},posFromIndex:function(e){var t,i=this.first,n=this.lineSeparator().length;return this.iter(function(a){var r=a.text.length+n;if(r>e)return t=e,!0;e-=r,++i}),Xe(this,Se(i,t))},indexFromPos:function(e){e=Xe(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var i=this.lineSeparator().length;return this.iter(this.first,e.line,function(n){t+=n.text.length+i}),t},copy:function(e){var t=new Vi(nn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,i=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<i&&(i=e.to);var n=new Vi(nn(this,t,i),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Ol(n,Fs(this)),n},unlinkDoc:function(e){if(e instanceof $n&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var i=this.linked[t];if(i.doc!=e)continue;this.linked.splice(t,1),e.unlinkDoc(this),wl(Fs(this));break}if(e.history==this.history){var n=[e.id];ar(e,function(a){return n.push(a.id)},!0),e.history=new Do(null),e.history.done=kr(this.history.done,n),e.history.undone=kr(this.history.undone,n)}},iterLinkedDocs:function(e){ar(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Be(e)},lineSeparator:function(){return this.lineSep||`
`},setDirection:si(function(e){if(e!="rtl"&&(e="ltr"),e==this.direction)return;this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&fl(this.cm)})}),Vi.prototype.eachLine=Vi.prototype.iter;var Bs=0;function Cl(e){var t=this;if(Ws(t),At(t,e)||ba(t.display,e))return;cn(e),ge&&(Bs=+new Date);var i=gi(t,e,!0),n=e.dataTransfer.files;if(!i||t.isReadOnly())return;if(n&&n.length&&window.FileReader&&window.File)for(var a=n.length,r=Array(a),o=0,d=function(){++o==a&&oi(t,function(){i=Xe(t.doc,i);var me={from:i,to:i,text:t.doc.splitLines(r.filter(function(Ne){return Ne!=null}).join(t.doc.lineSeparator())),origin:"paste"};jr(t.doc,me),Ts(t.doc,ya(Xe(t.doc,i),Xe(t.doc,Aa(me))))})()},p=function(me,Ne){if(t.options.allowDropFileTypes&&oe(t.options.allowDropFileTypes,me.type)==-1){d();return}var De=new FileReader;De.onerror=function(){return d()},De.onload=function(){var Ke=De.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ke)){d();return}r[Ne]=Ke,d()},De.readAsText(me)},g=0;g<n.length;g++)p(n[g],g);else{if(t.state.draggingText&&t.doc.sel.contains(i)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var F=e.dataTransfer.getData("Text");if(F){var J;if(t.state.draggingText&&!t.state.draggingText.copy&&(J=t.listSelections()),Po(t.doc,ya(i,i)),J)for(var be=0;be<J.length;++be)Ur(t.doc,"",J[be].anchor,J[be].head,"drag");t.replaceSelection(F,"around","paste"),t.display.input.focus()}}catch(me){}}}function Sl(e,t){if(ge&&(!e.state.draggingText||+new Date-Bs<100)){Bn(t);return}if(At(e,t)||ba(e.display,t))return;if(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!s){var i=ae("img",null,null,"position: fixed; left: 0; top: 0;");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",E&&(i.width=i.height=1,e.display.wrapper.appendChild(i),i._top=i.offsetTop),t.dataTransfer.setDragImage(i,0,0),E&&i.parentNode.removeChild(i)}}function Rl(e,t){var i=gi(e,t);if(!i)return;var n=document.createDocumentFragment();Da(e,i,n),e.display.dragCursor||(e.display.dragCursor=ae("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),b(e.display.dragCursor,n)}function Ws(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Hs(e){if(!document.getElementsByClassName)return;for(var t=document.getElementsByClassName("CodeMirror"),i=[],n=0;n<t.length;n++){var a=t[n].CodeMirror;a&&i.push(a)}i.length&&i[0].operation(function(){for(var r=0;r<i.length;r++)e(i[r])})}var Ks=!1;function xl(){if(Ks)return;Nl(),Ks=!0}function Nl(){var e;Ge(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Hs(Il)},100))}),Ge(window,"blur",function(){return Hs(qa)})}function Il(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var or={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},mo=0;mo<10;mo++)or[mo+48]=or[mo+96]=String(mo);for(var Fo=65;Fo<=90;Fo++)or[Fo]=String.fromCharCode(Fo);for(var go=1;go<=12;go++)or[go+111]=or[go+63235]="F"+go;var Qa={};Qa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Qa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Qa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Qa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Qa.default=A?Qa.macDefault:Qa.pcDefault;function Ml(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var i,n,a,r,o=0;o<t.length-1;o++){var d=t[o];if(/^(cmd|meta|m)$/i.test(d))r=!0;else if(/^a(lt)?$/i.test(d))i=!0;else if(/^(c|ctrl|control)$/i.test(d))n=!0;else if(/^s(hift)?$/i.test(d))a=!0;else throw new Error("Unrecognized modifier name: "+d)}return i&&(e="Alt-"+e),n&&(e="Ctrl-"+e),r&&(e="Cmd-"+e),a&&(e="Shift-"+e),e}function Dl(e){var t={};for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];if(/^(name|fallthrough|(de|at)tach)$/.test(i))continue;if(n=="..."){delete e[i];continue}for(var a=k(i.split(" "),Ml),r=0;r<a.length;r++){var o=void 0,d=void 0;r==a.length-1?(d=a.join(" "),o=n):(d=a.slice(0,r+1).join(" "),o="...");var p=t[d];if(!p)t[d]=o;else if(p!=o)throw new Error("Inconsistent bindings for "+d)}delete e[i]}for(var g in t)e[g]=t[g];return e}function Br(e,t,i,n){t=Bo(t);var a=t.call?t.call(e,n):t[e];if(a===!1)return"nothing";if(a==="...")return"multi";if(a!=null&&i(a))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return Br(e,t.fallthrough,i,n);for(var r=0;r<t.fallthrough.length;r++){var o=Br(e,t.fallthrough[r],i,n);if(o)return o}}}function zs(e){var t=typeof e=="string"?e:or[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function Gs(e,t,i){var n=e;return t.altKey&&n!="Alt"&&(e="Alt-"+e),(V?t.metaKey:t.ctrlKey)&&n!="Ctrl"&&(e="Ctrl-"+e),(V?t.ctrlKey:t.metaKey)&&n!="Mod"&&(e="Cmd-"+e),!i&&t.shiftKey&&n!="Shift"&&(e="Shift-"+e),e}function Qs(e,t){if(E&&e.keyCode==34&&e.char)return!1;var i=or[e.keyCode];return i==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(i=e.code),Gs(i,e,t))}function Bo(e){return typeof e=="string"?Qa[e]:e}function Wr(e,t){for(var i=e.doc.sel.ranges,n=[],a=0;a<i.length;a++){for(var r=t(i[a]);n.length&&He(r.from,v(n).to)<=0;){var o=n.pop();if(He(o.from,r.from)<0){r.from=o.from;break}}n.push(r)}Hi(e,function(){for(var d=n.length-1;d>=0;d--)Ur(e.doc,"",n[d].from,n[d].to,"+delete");$a(e)})}function rs(e,t,i){var n=tt(e.text,t+i,i);return n<0||n>e.text.length?null:n}function os(e,t,i){var n=rs(e,t.ch,i);return n==null?null:new Se(t.line,n,i<0?"after":"before")}function ss(e,t,i,n,a){if(e){t.doc.direction=="rtl"&&(a=-a);var r=Dt(i,t.doc.direction);if(r){var o=a<0?v(r):r[0],d=a<0==(o.level==1),p=d?"after":"before",g;if(o.level>0||t.doc.direction=="rtl"){var F=ne(t,i);g=a<0?i.text.length-1:0;var J=ve(t,F,g).top;g=ht(function(be){return ve(t,F,be).top==J},a<0==(o.level==1)?o.from:o.to-1,g),p=="before"&&(g=rs(i,g,1))}else g=a<0?o.to:o.from;return new Se(n,g,p)}}return new Se(n,a<0?i.text.length:0,a<0?"before":"after")}function Ll(e,t,i,n){var a=Dt(t,e.doc.direction);if(!a)return os(t,i,n);i.ch>=t.text.length?(i.ch=t.text.length,i.sticky="before"):i.ch<=0&&(i.ch=0,i.sticky="after");var r=at(a,i.ch,i.sticky),o=a[r];if(e.doc.direction=="ltr"&&o.level%2==0&&(n>0?o.to>i.ch:o.from<i.ch))return os(t,i,n);var d=function(Ve,et){return rs(t,Ve instanceof Se?Ve.ch:Ve,et)},p,g=function(Ve){return e.options.lineWrapping?(p=p||ne(e,t),lt(e,t,p,Ve)):{begin:0,end:t.text.length}},F=g(i.sticky=="before"?d(i,-1):i.ch);if(e.doc.direction=="rtl"||o.level==1){var J=o.level==1==n<0,be=d(i,J?1:-1);if(be!=null&&(J?be<=o.to&&be<=F.end:be>=o.from&&be>=F.begin)){var me=J?"before":"after";return new Se(i.line,be,me)}}var Ne=function(Ve,et,Je){for(var rt=function(Hn,Ci){return Ci?new Se(i.line,d(Hn,1),"before"):new Se(i.line,Hn,"after")};Ve>=0&&Ve<a.length;Ve+=et){var yt=a[Ve],vt=et>0==(yt.level!=1),en=vt?Je.begin:d(Je.end,-1);if(yt.from<=en&&en<yt.to)return rt(en,vt);if(en=vt?yt.from:d(yt.to,-1),Je.begin<=en&&en<Je.end)return rt(en,vt)}},De=Ne(r+n,n,F);if(De)return De;var Ke=n>0?F.end:d(F.begin,-1);return Ke!=null&&!(n>0&&Ke==t.text.length)&&(De=Ne(n>0?0:a.length-1,n,g(Ke)),De)?De:null}var vo={selectAll:Ns,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),re)},killLine:function(e){return Wr(e,function(t){if(t.empty()){var i=Ue(e.doc,t.head.line).text.length;return t.head.ch==i&&t.head.line<e.lastLine()?{from:t.head,to:Se(t.head.line+1,0)}:{from:t.head,to:Se(t.head.line,i)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return Wr(e,function(t){return{from:Se(t.from().line,0),to:Xe(e.doc,Se(t.to().line+1,0))}})},delLineLeft:function(e){return Wr(e,function(t){return{from:Se(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return Wr(e,function(t){var i=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:i},"div");return{from:n,to:t.from()}})},delWrappedLineRight:function(e){return Wr(e,function(t){var i=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div");return{from:t.from(),to:n}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(Se(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(Se(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return Ys(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return Vs(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return kl(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div")},z)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:i},"div")},z)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:i},"div");return n.ch<e.getLine(n.line).search(/\S/)?Vs(e,t.head):n},z)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],i=e.listSelections(),n=e.options.tabSize,a=0;a<i.length;a++){var r=i[a].from(),o=O(e.getLine(r.line),r.ch,n);t.push(ce(n-o%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Hi(e,function(){for(var t=e.listSelections(),i=[],n=0;n<t.length;n++){if(!t[n].empty())continue;var a=t[n].head,r=Ue(e.doc,a.line).text;if(r){if(a.ch==r.length&&(a=new Se(a.line,a.ch-1)),a.ch>0)a=new Se(a.line,a.ch+1),e.replaceRange(r.charAt(a.ch-1)+r.charAt(a.ch-2),Se(a.line,a.ch-2),a,"+transpose");else if(a.line>e.doc.first){var o=Ue(e.doc,a.line-1).text;o&&(a=new Se(a.line,1),e.replaceRange(r.charAt(0)+e.doc.lineSeparator()+o.charAt(o.length-1),Se(a.line-1,o.length-1),a,"+transpose"))}}i.push(new Tn(a,a))}e.setSelections(i)})},newlineAndIndent:function(e){return Hi(e,function(){for(var t=e.listSelections(),i=t.length-1;i>=0;i--)e.replaceRange(e.doc.lineSeparator(),t[i].anchor,t[i].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);$a(e)})},openLine:function(e){return e.replaceSelection(`
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Ys(e,t){var i=Ue(e.doc,t),n=Ti(i);return n!=i&&(t=Tt(n)),ss(!0,e,n,t,1)}function kl(e,t){var i=Ue(e.doc,t),n=Ba(i);return n!=i&&(t=Tt(n)),ss(!0,e,i,t,-1)}function Vs(e,t){var i=Ys(e,t.line),n=Ue(e.doc,i.line),a=Dt(n,e.doc.direction);if(!a||a[0].level==0){var r=Math.max(i.ch,n.text.search(/\S/)),o=t.line==i.line&&t.ch<=r&&t.ch;return Se(i.line,o?0:r,i.sticky)}return i}function Wo(e,t,i){if(typeof t=="string"&&(t=vo[t],!t))return!1;e.display.input.ensurePolled();var n=e.display.shift,a=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),i&&(e.display.shift=!1),a=t(e)!=pe}finally{e.display.shift=n,e.state.suppressEdits=!1}return a}function Pl(e,t,i){for(var n=0;n<e.state.keyMaps.length;n++){var a=Br(t,e.state.keyMaps[n],i,e);if(a)return a}return e.options.extraKeys&&Br(t,e.options.extraKeys,i,e)||Br(t,e.options.keyMap,i,e)}var jl=new S;function _o(e,t,i,n){var a=e.state.keySeq;if(a){if(zs(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:jl.set(50,function(){e.state.keySeq==a&&(e.state.keySeq=null,e.display.input.reset())}),Js(e,a+" "+t,i,n))return!0}return Js(e,t,i,n)}function Js(e,t,i,n){var a=Pl(e,t,n);return a=="multi"&&(e.state.keySeq=t),a=="handled"&&Pe(e,"keyHandled",e,t,i),(a=="handled"||a=="multi")&&(cn(i),vi(e)),!!a}function Xs(e,t){var i=Qs(t,!0);return i?t.shiftKey&&!e.state.keySeq?_o(e,"Shift-"+i,t,function(n){return Wo(e,n,!0)})||_o(e,i,t,function(n){if(typeof n=="string"?/^go[A-Z]/.test(n):n.motion)return Wo(e,n)}):_o(e,i,t,function(n){return Wo(e,n)}):!1}function Ul(e,t,i){return _o(e,"'"+i+"'",t,function(n){return Wo(e,n,!0)})}var ls=null;function Zs(e){var t=this;if(e.target&&e.target!=t.display.input.getField())return;if(t.curOp.focus=Le(),At(t,e))return;ge&&_e<11&&e.keyCode==27&&(e.returnValue=!1);var i=e.keyCode;t.display.shift=i==16||e.shiftKey;var n=Xs(t,e);E&&(ls=n?i:null,!n&&i==88&&!tn&&(A?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),ze&&!A&&!n&&i==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),i==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&Fl(t)}function Fl(e){var t=e.display.lineDiv;I(t,"CodeMirror-crosshair");function i(n){(n.keyCode==18||!n.altKey)&&(N(t,"CodeMirror-crosshair"),mn(document,"keyup",i),mn(document,"mouseover",i))}Ge(document,"keyup",i),Ge(document,"mouseover",i)}function qs(e){e.keyCode==16&&(this.doc.sel.shift=!1),At(this,e)}function $s(e){var t=this;if(e.target&&e.target!=t.display.input.getField())return;if(ba(t.display,e)||At(t,e)||e.ctrlKey&&!e.altKey||A&&e.metaKey)return;var i=e.keyCode,n=e.charCode;if(E&&i==ls){ls=null,cn(e);return}if(E&&(!e.which||e.which<10)&&Xs(t,e))return;var a=String.fromCharCode(n==null?i:n);if(a=="\b")return;if(Ul(t,e,a))return;t.display.input.onKeyPress(e)}var Bl=400,us=function(e,t,i){this.time=e,this.pos=t,this.button=i};us.prototype.compare=function(e,t,i){return this.time+Bl>e&&He(t,this.pos)==0&&i==this.button};var bo,Eo;function Wl(e,t){var i=+new Date;return Eo&&Eo.compare(i,e,t)?(bo=Eo=null,"triple"):bo&&bo.compare(i,e,t)?(Eo=new us(i,e,t),bo=null,"double"):(bo=new us(i,e,t),Eo=null,"single")}function el(e){var t=this,i=t.display;if(At(t,e)||i.activeTouch&&i.input.supportsTouch())return;if(i.input.ensurePolled(),i.shift=e.shiftKey,ba(i,e)){he||(i.scroller.draggable=!1,setTimeout(function(){return i.scroller.draggable=!0},100));return}if(cs(t,e))return;var n=gi(t,e),a=yi(e),r=n?Wl(n,a):"single";if(window.focus(),a==1&&t.state.selectingText&&t.state.selectingText(e),n&&Hl(t,a,n,r,e))return;a==1?n?zl(t,n,r,e):ei(e)==i.scroller&&cn(e):a==2?(n&&ko(t.doc,n),setTimeout(function(){return i.input.focus()},20)):a==3&&(Y?t.display.input.onContextMenu(e):Zr(t))}function Hl(e,t,i,n,a){var r="Click";return n=="double"?r="Double"+r:n=="triple"&&(r="Triple"+r),r=(t==1?"Left":t==2?"Middle":"Right")+r,_o(e,Gs(r,a),a,function(o){if(typeof o=="string"&&(o=vo[o]),!o)return!1;var d=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),d=o(e,i)!=pe}finally{e.state.suppressEdits=!1}return d})}function Kl(e,t,i){var n=e.getOption("configureMouse"),a=n?n(e,t,i):{};if(a.unit==null){var r=D?i.shiftKey&&i.metaKey:i.altKey;a.unit=r?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(a.extend==null||e.doc.extend)&&(a.extend=e.doc.extend||i.shiftKey),a.addNew==null&&(a.addNew=A?i.metaKey:i.ctrlKey),a.moveOnDrag==null&&(a.moveOnDrag=!(A?i.altKey:i.ctrlKey)),a}function zl(e,t,i,n){ge?setTimeout(y(wo,e),0):e.curOp.focus=Le();var a=Kl(e,i,n),r=e.doc.sel,o;e.options.dragDrop&&qi&&!e.isReadOnly()&&i=="single"&&(o=r.contains(t))>-1&&(He((o=r.ranges[o]).from(),t)<0||t.xRel>0)&&(He(o.to(),t)>0||t.xRel<0)?Gl(e,n,t,a):Ql(e,n,t,a)}function Gl(e,t,i,n){var a=e.display,r=!1,o=oi(e,function(g){he&&(a.scroller.draggable=!1),e.state.draggingText=!1,mn(a.wrapper.ownerDocument,"mouseup",o),mn(a.wrapper.ownerDocument,"mousemove",d),mn(a.scroller,"dragstart",p),mn(a.scroller,"drop",o),r||(cn(g),n.addNew||ko(e.doc,i,null,null,n.extend),he&&!s||ge&&_e==9?setTimeout(function(){a.wrapper.ownerDocument.body.focus({preventScroll:!0}),a.input.focus()},20):a.input.focus())}),d=function(g){r=r||Math.abs(t.clientX-g.clientX)+Math.abs(t.clientY-g.clientY)>=10},p=function(){return r=!0};he&&(a.scroller.draggable=!0),e.state.draggingText=o,o.copy=!n.moveOnDrag,a.scroller.dragDrop&&a.scroller.dragDrop(),Ge(a.wrapper.ownerDocument,"mouseup",o),Ge(a.wrapper.ownerDocument,"mousemove",d),Ge(a.scroller,"dragstart",p),Ge(a.scroller,"drop",o),Zr(e),setTimeout(function(){return a.input.focus()},20)}function tl(e,t,i){if(i=="char")return new Tn(t,t);if(i=="word")return e.findWordAt(t);if(i=="line")return new Tn(Se(t.line,0),Xe(e.doc,Se(t.line+1,0)));var n=i(e,t);return new Tn(n.from,n.to)}function Ql(e,t,i,n){var a=e.display,r=e.doc;cn(t);var o,d,p=r.sel,g=p.ranges;if(n.addNew&&!n.extend?(d=r.sel.contains(i),d>-1?o=g[d]:o=new Tn(i,i)):(o=r.sel.primary(),d=r.sel.primIndex),n.unit=="rectangle")n.addNew||(o=new Tn(i,i)),i=gi(e,t,!0,!0),d=-1;else{var F=tl(e,i,n.unit);n.extend?o=is(o,F.anchor,F.head,n.extend):o=F}n.addNew?d==-1?(d=g.length,ki(r,ua(e,g.concat([o]),d),{scroll:!1,origin:"*mouse"})):g.length>1&&g[d].empty()&&n.unit=="char"&&!n.extend?(ki(r,ua(e,g.slice(0,d).concat(g.slice(d+1)),0),{scroll:!1,origin:"*mouse"}),p=r.sel):as(r,d,o,H):(d=0,ki(r,new zi([o],0),H),p=r.sel);var J=i;function be(Je){if(He(J,Je)==0)return;if(J=Je,n.unit=="rectangle"){for(var rt=[],yt=e.options.tabSize,vt=O(Ue(r,i.line).text,i.ch,yt),en=O(Ue(r,Je.line).text,Je.ch,yt),Hn=Math.min(vt,en),Ci=Math.max(vt,en),ni=Math.min(i.line,Je.line),na=Math.min(e.lastLine(),Math.max(i.line,Je.line));ni<=na;ni++){var Ji=Ue(r,ni).text,fi=le(Ji,Hn,yt);Hn==Ci?rt.push(new Tn(Se(ni,fi),Se(ni,fi))):Ji.length>fi&&rt.push(new Tn(Se(ni,fi),Se(ni,le(Ji,Ci,yt))))}rt.length||rt.push(new Tn(i,i)),ki(r,ua(e,p.ranges.slice(0,d).concat(rt),d),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Je)}else{var Xi=o,Ni=tl(e,Je,n.unit),Ei=Xi.anchor,pi;He(Ni.anchor,Ei)>0?(pi=Ni.head,Ei=bt(Xi.from(),Ni.anchor)):(pi=Ni.anchor,Ei=Nt(Xi.to(),Ni.head));var ri=p.ranges.slice(0);ri[d]=Yl(e,new Tn(Xe(r,Ei),pi)),ki(r,ua(e,ri,d),H)}}var me=a.wrapper.getBoundingClientRect(),Ne=0;function De(Je){var rt=++Ne,yt=gi(e,Je,!0,n.unit=="rectangle");if(!yt)return;if(He(yt,J)!=0){e.curOp.focus=Le(),be(yt);var vt=Sr(a,r);(yt.line>=vt.to||yt.line<vt.from)&&setTimeout(oi(e,function(){Ne==rt&&De(Je)}),150)}else{var en=Je.clientY<me.top?-20:Je.clientY>me.bottom?20:0;en&&setTimeout(oi(e,function(){if(Ne!=rt)return;a.scroller.scrollTop+=en,De(Je)}),50)}}function Ke(Je){e.state.selectingText=!1,Ne=Infinity,Je&&(cn(Je),a.input.focus()),mn(a.wrapper.ownerDocument,"mousemove",Ve),mn(a.wrapper.ownerDocument,"mouseup",et),r.history.lastSelOrigin=null}var Ve=oi(e,function(Je){Je.buttons===0||!yi(Je)?Ke(Je):De(Je)}),et=oi(e,Ke);e.state.selectingText=et,Ge(a.wrapper.ownerDocument,"mousemove",Ve),Ge(a.wrapper.ownerDocument,"mouseup",et)}function Yl(e,t){var i=t.anchor,n=t.head,a=Ue(e.doc,i.line);if(He(i,n)==0&&i.sticky==n.sticky)return t;var r=Dt(a);if(!r)return t;var o=at(r,i.ch,i.sticky),d=r[o];if(d.from!=i.ch&&d.to!=i.ch)return t;var p=o+(d.from==i.ch==(d.level!=1)?0:1);if(p==0||p==r.length)return t;var g;if(n.line!=i.line)g=(n.line-i.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var F=at(r,n.ch,n.sticky),J=F-o||(n.ch-i.ch)*(d.level==1?-1:1);F==p-1||F==p?g=J<0:g=J>0}var be=r[p+(g?-1:0)],me=g==(be.level==1),Ne=me?be.from:be.to,De=me?"after":"before";return i.ch==Ne&&i.sticky==De?t:new Tn(new Se(i.line,Ne,De),n)}function nl(e,t,i,n){var a,r;if(t.touches)a=t.touches[0].clientX,r=t.touches[0].clientY;else try{a=t.clientX,r=t.clientY}catch(be){return!1}if(a>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&cn(t);var o=e.display,d=o.lineDiv.getBoundingClientRect();if(r>d.bottom||!Ct(e,i))return ui(t);r-=d.top-o.viewOffset;for(var p=0;p<e.display.gutterSpecs.length;++p){var g=o.gutters.childNodes[p];if(g&&g.getBoundingClientRect().right>=a){var F=bn(e.doc,r),J=e.display.gutterSpecs[p];return ft(e,i,e,F,J.className,t),ui(t)}}}function cs(e,t){return nl(e,t,"gutterClick",!0)}function il(e,t){if(ba(e.display,t)||Vl(e,t))return;if(At(e,t,"contextmenu"))return;Y||e.display.input.onContextMenu(t)}function Vl(e,t){return Ct(e,"gutterContextMenu")?nl(e,t,"gutterContextMenu",!1):!1}function al(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zt(e)}var Hr={toString:function(){return"CodeMirror.Init"}},rl={},Ho={};function Jl(e){var t=e.optionHandlers;function i(n,a,r,o){e.defaults[n]=a,r&&(t[n]=o?function(d,p,g){g!=Hr&&r(d,p,g)}:r)}e.defineOption=i,e.Init=Hr,i("value","",function(n,a){return n.setValue(a)},!0),i("mode",null,function(n,a){n.doc.modeOption=a,Ga(n)},!0),i("indentUnit",2,Ga,!0),i("indentWithTabs",!1),i("smartIndent",!0),i("tabSize",4,function(n){so(n),zt(n),jn(n)},!0),i("lineSeparator",null,function(n,a){if(n.doc.lineSep=a,!a)return;var r=[],o=n.doc.first;n.doc.iter(function(p){for(var g=0;;){var F=p.text.indexOf(a,g);if(F==-1)break;g=F+a.length,r.push(Se(o,F))}o++});for(var d=r.length-1;d>=0;d--)Ur(n.doc,a,r[d],Se(r[d].line,r[d].ch+a.length))}),i("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(n,a,r){n.state.specialChars=new RegExp(a.source+(a.test(" ")?"":"| "),"g"),r!=Hr&&n.refresh()}),i("specialCharPlaceholder",dr,function(n){return n.refresh()},!0),i("electricChars",!0),i("inputStyle",K?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),i("spellcheck",!1,function(n,a){return n.getInputField().spellcheck=a},!0),i("autocorrect",!1,function(n,a){return n.getInputField().autocorrect=a},!0),i("autocapitalize",!1,function(n,a){return n.getInputField().autocapitalize=a},!0),i("rtlMoveVisually",!ee),i("wholeLineUpdateBefore",!0),i("theme","default",function(n){al(n),Ea(n)},!0),i("keyMap","default",function(n,a,r){var o=Bo(a),d=r!=Hr&&Bo(r);d&&d.detach&&d.detach(n,o),o.attach&&o.attach(n,d||null)}),i("extraKeys",null),i("configureMouse",null),i("lineWrapping",!1,Zl,!0),i("gutters",[],function(n,a){n.display.gutterSpecs=Ki(a,n.options.lineNumbers),Ea(n)},!0),i("fixedGutter",!0,function(n,a){n.display.gutters.style.left=a?Li(n.display)+"px":"0",n.refresh()},!0),i("coverGutterNextToScrollbar",!1,function(n){return Ha(n)},!0),i("scrollbarStyle","native",function(n){Nr(n),Ha(n),n.display.scrollbars.setScrollTop(n.doc.scrollTop),n.display.scrollbars.setScrollLeft(n.doc.scrollLeft)},!0),i("lineNumbers",!1,function(n,a){n.display.gutterSpecs=Ki(n.options.gutters,a),Ea(n)},!0),i("firstLineNumber",1,Ea,!0),i("lineNumberFormatter",function(n){return n},Ea,!0),i("showCursorWhenSelecting",!1,Dn,!0),i("resetSelectionOnContextMenu",!0),i("lineWiseCopyCut",!0),i("pasteLinesPerSelection",!0),i("selectionsMayTouch",!1),i("readOnly",!1,function(n,a){a=="nocursor"&&(qa(n),n.display.input.blur()),n.display.input.readOnlyChanged(a)}),i("screenReaderLabel",null,function(n,a){a=a===""?null:a,n.display.input.screenReaderLabelChanged(a)}),i("disableInput",!1,function(n,a){a||n.display.input.reset()},!0),i("dragDrop",!0,Xl),i("allowDropFileTypes",null),i("cursorBlinkRate",530),i("cursorScrollMargin",0),i("cursorHeight",1,Dn,!0),i("singleCursorHeightPerLine",!0,Dn,!0),i("workTime",100),i("workDelay",100),i("flattenSpans",!0,so,!0),i("addModeClass",!1,so,!0),i("pollInterval",100),i("undoDepth",200,function(n,a){return n.doc.history.undoDepth=a}),i("historyEventDelay",1250),i("viewportMargin",10,function(n){return n.refresh()},!0),i("maxHighlightLength",1e4,so,!0),i("moveInputWithCursor",!0,function(n,a){a||n.display.input.resetPosition()}),i("tabindex",null,function(n,a){return n.display.input.getField().tabIndex=a||""}),i("autofocus",null),i("direction","ltr",function(n,a){return n.doc.setDirection(a)},!0),i("phrases",null)}function Xl(e,t,i){var n=i&&i!=Hr;if(!t!=!n){var a=e.display.dragFunctions,r=t?Ge:mn;r(e.display.scroller,"dragstart",a.start),r(e.display.scroller,"dragenter",a.enter),r(e.display.scroller,"dragover",a.over),r(e.display.scroller,"dragleave",a.leave),r(e.display.scroller,"drop",a.drop)}}function Zl(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(N(e.display.wrapper,"CodeMirror-wrap"),Xa(e)),Wi(e),jn(e),zt(e),setTimeout(function(){return Ha(e)},100)}function $n(e,t){var i=this;if(!(this instanceof $n))return new $n(e,t);this.options=t=t?c(t):{},c(rl,t,!1);var n=t.value;typeof n=="string"?n=new Vi(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var a=new $n.inputStyles[t.inputStyle](this),r=this.display=new gr(e,n,a,t);r.wrapper.CodeMirror=this,al(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Nr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new S,keySeq:null,specialChars:null},t.autofocus&&!K&&r.input.focus(),ge&&_e<11&&setTimeout(function(){return i.display.input.reset(!0)},20),ql(this),xl(),Pa(this),this.curOp.forceUpdate=!0,vs(this,n),t.autofocus&&!K||this.hasFocus()?setTimeout(function(){i.hasFocus()&&!i.state.focused&&La(i)},20):qa(this);for(var o in Ho)Ho.hasOwnProperty(o)&&Ho[o](this,t[o],Hr);_i(this),t.finishInit&&t.finishInit(this);for(var d=0;d<ds.length;++d)ds[d](this);Ka(this),he&&t.lineWrapping&&getComputedStyle(r.lineDiv).textRendering=="optimizelegibility"&&(r.lineDiv.style.textRendering="auto")}$n.defaults=rl,$n.optionHandlers=Ho;function ql(e){var t=e.display;Ge(t.scroller,"mousedown",oi(e,el)),ge&&_e<11?Ge(t.scroller,"dblclick",oi(e,function(p){if(At(e,p))return;var g=gi(e,p);if(!g||cs(e,p)||ba(e.display,p))return;cn(p);var F=e.findWordAt(g);ko(e.doc,F.anchor,F.head)})):Ge(t.scroller,"dblclick",function(p){return At(e,p)||cn(p)}),Ge(t.scroller,"contextmenu",function(p){return il(e,p)}),Ge(t.input.getField(),"contextmenu",function(p){t.scroller.contains(p.target)||il(e,p)});var i,n={end:0};function a(){t.activeTouch&&(i=setTimeout(function(){return t.activeTouch=null},1e3),n=t.activeTouch,n.end=+new Date)}function r(p){if(p.touches.length!=1)return!1;var g=p.touches[0];return g.radiusX<=1&&g.radiusY<=1}function o(p,g){if(g.left==null)return!0;var F=g.left-p.left,J=g.top-p.top;return F*F+J*J>20*20}Ge(t.scroller,"touchstart",function(p){if(!At(e,p)&&!r(p)&&!cs(e,p)){t.input.ensurePolled(),clearTimeout(i);var g=+new Date;t.activeTouch={start:g,moved:!1,prev:g-n.end<=300?n:null},p.touches.length==1&&(t.activeTouch.left=p.touches[0].pageX,t.activeTouch.top=p.touches[0].pageY)}}),Ge(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),Ge(t.scroller,"touchend",function(p){var g=t.activeTouch;if(g&&!ba(t,p)&&g.left!=null&&!g.moved&&new Date-g.start<300){var F=e.coordsChar(t.activeTouch,"page"),J;!g.prev||o(g,g.prev)?J=new Tn(F,F):!g.prev.prev||o(g,g.prev.prev)?J=e.findWordAt(F):J=new Tn(Se(F.line,0),Xe(e.doc,Se(F.line+1,0))),e.setSelection(J.anchor,J.head),e.focus(),cn(p)}a()}),Ge(t.scroller,"touchcancel",a),Ge(t.scroller,"scroll",function(){t.scroller.clientHeight&&(tr(e,t.scroller.scrollTop),sa(e,t.scroller.scrollLeft,!0),ft(e,"scroll",e))}),Ge(t.scroller,"mousewheel",function(p){return ro(e,p)}),Ge(t.scroller,"DOMMouseScroll",function(p){return ro(e,p)}),Ge(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(p){At(e,p)||Bn(p)},over:function(p){At(e,p)||(Rl(e,p),Bn(p))},start:function(p){return Sl(e,p)},drop:oi(e,Cl),leave:function(p){At(e,p)||Ws(e)}};var d=t.input.getField();Ge(d,"keyup",function(p){return qs.call(e,p)}),Ge(d,"keydown",oi(e,Zs)),Ge(d,"keypress",oi(e,$s)),Ge(d,"focus",function(p){return La(e,p)}),Ge(d,"blur",function(p){return qa(e,p)})}var ds=[];$n.defineInitHook=function(e){return ds.push(e)};function yo(e,t,i,n){var a=e.doc,r;i==null&&(i="add"),i=="smart"&&(a.mode.indent?r=Ui(e,t).state:i="prev");var o=e.options.tabSize,d=Ue(a,t),p=O(d.text,null,o);d.stateAfter&&(d.stateAfter=null);var g=d.text.match(/^\s*/)[0],F;if(!n&&!/\S/.test(d.text))F=0,i="not";else if(i=="smart"&&(F=a.mode.indent(r,d.text.slice(g.length),d.text),F==pe||F>150)){if(!n)return;i="prev"}i=="prev"?t>a.first?F=O(Ue(a,t-1).text,null,o):F=0:i=="add"?F=p+e.options.indentUnit:i=="subtract"?F=p-e.options.indentUnit:typeof i=="number"&&(F=p+i),F=Math.max(0,F);var J="",be=0;if(e.options.indentWithTabs)for(var me=Math.floor(F/o);me;--me)be+=o,J+=" ";if(be<F&&(J+=ce(F-be)),J!=g)return Ur(a,J,Se(t,0),Se(t,g.length),"+input"),d.stateAfter=null,!0;for(var Ne=0;Ne<a.sel.ranges.length;Ne++){var De=a.sel.ranges[Ne];if(De.head.line==t&&De.head.ch<g.length){var Ke=Se(t,g.length);as(a,Ne,new Tn(Ke,Ke));break}}}var Oa=null;function Ko(e){Oa=e}function hs(e,t,i,n,a){var r=e.doc;e.display.shift=!1,n||(n=r.sel);var o=+new Date-200,d=a=="paste"||e.state.pasteIncoming>o,p=Be(t),g=null;if(d&&n.ranges.length>1)if(Oa&&Oa.text.join(`
`)==t){if(n.ranges.length%Oa.text.length==0){g=[];for(var F=0;F<Oa.text.length;F++)g.push(r.splitLines(Oa.text[F]))}}else p.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(g=k(p,function(Ve){return[Ve]}));for(var J=e.curOp.updateInput,be=n.ranges.length-1;be>=0;be--){var me=n.ranges[be],Ne=me.from(),De=me.to();me.empty()&&(i&&i>0?Ne=Se(Ne.line,Ne.ch-i):e.state.overwrite&&!d?De=Se(De.line,Math.min(Ue(r,De.line).text.length,De.ch+v(p).length)):d&&Oa&&Oa.lineWise&&Oa.text.join(`
`)==p.join(`
`)&&(Ne=De=Se(Ne.line,0)));var Ke={from:Ne,to:De,text:g?g[be%g.length]:p,origin:a||(d?"paste":e.state.cutIncoming>o?"cut":"+input")};jr(e.doc,Ke),Pe(e,"inputRead",e,Ke)}t&&!d&&sl(e,t),$a(e),e.curOp.updateInput<2&&(e.curOp.updateInput=J),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function ol(e,t){var i=e.clipboardData&&e.clipboardData.getData("Text");if(i)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&Hi(t,function(){return hs(t,i,0,null,"paste")}),!0}function sl(e,t){if(!e.options.electricChars||!e.options.smartIndent)return;for(var i=e.doc.sel,n=i.ranges.length-1;n>=0;n--){var a=i.ranges[n];if(a.head.ch>100||n&&i.ranges[n-1].head.line==a.head.line)continue;var r=e.getModeAt(a.head),o=!1;if(r.electricChars){for(var d=0;d<r.electricChars.length;d++)if(t.indexOf(r.electricChars.charAt(d))>-1){o=yo(e,a.head.line,"smart");break}}else r.electricInput&&(r.electricInput.test(Ue(e.doc,a.head.line).text.slice(0,a.head.ch))&&(o=yo(e,a.head.line,"smart")));o&&Pe(e,"electricInput",e,a.head.line)}}function ll(e){for(var t=[],i=[],n=0;n<e.doc.sel.ranges.length;n++){var a=e.doc.sel.ranges[n].head.line,r={anchor:Se(a,0),head:Se(a+1,0)};i.push(r),t.push(e.getRange(r.anchor,r.head))}return{text:t,ranges:i}}function ul(e,t,i,n){e.setAttribute("autocorrect",i?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function cl(){var e=ae("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=ae("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return he?e.style.width="1000px":e.setAttribute("wrap","off"),f&&(e.style.border="1px solid black"),ul(e),t}function $l(e){var t=e.optionHandlers,i=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(n,a){var r=this.options,o=r[n];if(r[n]==a&&n!="mode")return;r[n]=a,t.hasOwnProperty(n)&&oi(this,t[n])(this,a,o),ft(this,"optionChange",this,n)},getOption:function(n){return this.options[n]},getDoc:function(){return this.doc},addKeyMap:function(n,a){this.state.keyMaps[a?"push":"unshift"](Bo(n))},removeKeyMap:function(n){for(var a=this.state.keyMaps,r=0;r<a.length;++r)if(a[r]==n||a[r].name==n)return a.splice(r,1),!0},addOverlay:xi(function(n,a){var r=n.token?n:e.getMode(this.options,n);if(r.startState)throw new Error("Overlays may not be stateful.");T(this.state.overlays,{mode:r,modeSpec:n,opaque:a&&a.opaque,priority:a&&a.priority||0},function(o){return o.priority}),this.state.modeGen++,jn(this)}),removeOverlay:xi(function(n){for(var a=this.state.overlays,r=0;r<a.length;++r){var o=a[r].modeSpec;if(o==n||typeof n=="string"&&o.name==n){a.splice(r,1),this.state.modeGen++,jn(this);return}}}),indentLine:xi(function(n,a,r){typeof a!="string"&&typeof a!="number"&&(a==null?a=this.options.smartIndent?"smart":"prev":a=a?"add":"subtract"),Rt(this.doc,n)&&yo(this,n,a,r)}),indentSelection:xi(function(n){for(var a=this.doc.sel.ranges,r=-1,o=0;o<a.length;o++){var d=a[o];if(d.empty())d.head.line>r&&(yo(this,d.head.line,n,!0),r=d.head.line,o==this.doc.sel.primIndex&&$a(this));else{var p=d.from(),g=d.to(),F=Math.max(r,p.line);r=Math.min(this.lastLine(),g.line-(g.ch?0:1))+1;for(var J=F;J<r;++J)yo(this,J,n);var be=this.doc.sel.ranges;p.ch==0&&a.length==be.length&&be[o].from().ch>0&&as(this.doc,o,new Tn(p,be[o].to()),re)}}}),getTokenAt:function(n,a){return Xn(this,n,a)},getLineTokens:function(n,a){return Xn(this,Se(n),a,!0)},getTokenTypeAt:function(n){n=Xe(this.doc,n);var a=Ai(this,Ue(this.doc,n.line)),r=0,o=(a.length-1)/2,d=n.ch,p;if(d==0)p=a[2];else for(;;){var g=r+o>>1;if((g?a[g*2-1]:0)>=d)o=g;else if(a[g*2+1]<d)r=g+1;else{p=a[g*2+2];break}}var F=p?p.indexOf("overlay "):-1;return F<0?p:F==0?null:p.slice(0,F-1)},getModeAt:function(n){var a=this.doc.mode;return a.innerMode?e.innerMode(a,this.getTokenAt(n).state).mode:a},getHelper:function(n,a){return this.getHelpers(n,a)[0]},getHelpers:function(n,a){var r=[];if(!i.hasOwnProperty(a))return r;var o=i[a],d=this.getModeAt(n);if(typeof d[a]=="string")o[d[a]]&&r.push(o[d[a]]);else if(d[a])for(var p=0;p<d[a].length;p++){var g=o[d[a][p]];g&&r.push(g)}else d.helperType&&o[d.helperType]?r.push(o[d.helperType]):o[d.name]&&r.push(o[d.name]);for(var F=0;F<o._global.length;F++){var J=o._global[F];J.pred(d,this)&&oe(r,J.val)==-1&&r.push(J.val)}return r},getStateAfter:function(n,a){var r=this.doc;return n=Sn(r,n==null?r.first+r.size-1:n),Ui(this,n+1,a).state},cursorCoords:function(n,a){var r,o=this.doc.sel.primary();return n==null?r=o.head:typeof n=="object"?r=Xe(this.doc,n):r=n?o.from():o.to(),sn(this,r,a||"page")},charCoords:function(n,a){return Gn(this,Xe(this.doc,n),a||"page")},coordsChar:function(n,a){return n=on(this,n,a||"page"),un(this,n.left,n.top)},lineAtHeight:function(n,a){return n=on(this,{top:n,left:0},a||"page").top,bn(this.doc,n+this.display.viewOffset)},heightAtLine:function(n,a,r){var o=!1,d;if(typeof n=="number"){var p=this.doc.first+this.doc.size-1;n<this.doc.first?n=this.doc.first:n>p&&(n=p,o=!0),d=Ue(this.doc,n)}else d=n;return hn(this,d,{top:0,left:0},a||"page",r||o).top+(o?this.doc.height-Yi(d):0)},defaultTextHeight:function(){return ai(this.display)},defaultCharWidth:function(){return mi(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(n,a,r,o,d){var p=this.display;n=sn(this,Xe(this.doc,n));var g=n.bottom,F=n.left;if(a.style.position="absolute",a.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(a),p.sizer.appendChild(a),o=="over")g=n.top;else if(o=="above"||o=="near"){var J=Math.max(p.wrapper.clientHeight,this.doc.height),be=Math.max(p.sizer.clientWidth,p.lineSpace.clientWidth);(o=="above"||n.bottom+a.offsetHeight>J)&&n.top>a.offsetHeight?g=n.top-a.offsetHeight:n.bottom+a.offsetHeight<=J&&(g=n.bottom),F+a.offsetWidth>be&&(F=be-a.offsetWidth)}a.style.top=g+"px",a.style.left=a.style.right="",d=="right"?(F=p.sizer.clientWidth-a.offsetWidth,a.style.right="0px"):(d=="left"?F=0:d=="middle"&&(F=(p.sizer.clientWidth-a.offsetWidth)/2),a.style.left=F+"px"),r&&To(this,{left:F,top:g,right:F+a.offsetWidth,bottom:g+a.offsetHeight})},triggerOnKeyDown:xi(Zs),triggerOnKeyPress:xi($s),triggerOnKeyUp:qs,triggerOnMouseDown:xi(el),execCommand:function(n){if(vo.hasOwnProperty(n))return vo[n].call(null,this)},triggerElectric:xi(function(n){sl(this,n)}),findPosH:function(n,a,r,o){var d=1;a<0&&(d=-1,a=-a);for(var p=Xe(this.doc,n),g=0;g<a&&!(p=fs(this.doc,p,d,r,o),p.hitSide);++g);return p},moveH:xi(function(n,a){var r=this;this.extendSelectionsBy(function(o){return r.display.shift||r.doc.extend||o.empty()?fs(r.doc,o.head,n,a,r.options.rtlMoveVisually):n<0?o.from():o.to()},z)}),deleteH:xi(function(n,a){var r=this.doc.sel,o=this.doc;r.somethingSelected()?o.replaceSelection("",null,"+delete"):Wr(this,function(d){var p=fs(o,d.head,n,a,!1);return n<0?{from:p,to:d.head}:{from:d.head,to:p}})}),findPosV:function(n,a,r,o){var d=1,p=o;a<0&&(d=-1,a=-a);for(var g=Xe(this.doc,n),F=0;F<a;++F){var J=sn(this,g,"div");if(p==null?p=J.left:J.left=p,g=dl(this,J,d,r),g.hitSide)break}return g},moveV:xi(function(n,a){var r=this,o=this.doc,d=[],p=!this.display.shift&&!o.extend&&o.sel.somethingSelected();if(o.extendSelectionsBy(function(F){if(p)return n<0?F.from():F.to();var J=sn(r,F.head,"div");F.goalColumn!=null&&(J.left=F.goalColumn),d.push(J.left);var be=dl(r,J,n,a);return a=="page"&&F==o.sel.primary()&&eo(r,Gn(r,be,"div").top-J.top),be},z),d.length)for(var g=0;g<o.sel.ranges.length;g++)o.sel.ranges[g].goalColumn=d[g]}),findWordAt:function(n){var a=this.doc,r=Ue(a,n.line).text,o=n.ch,d=n.ch;if(r){var p=this.getHelper(n,"wordChars");(n.sticky=="before"||d==r.length)&&o?--o:++d;for(var g=r.charAt(o),F=ke(g,p)?function(J){return ke(J,p)}:/\s/.test(g)?function(J){return/\s/.test(J)}:function(J){return!/\s/.test(J)&&!ke(J)};o>0&&F(r.charAt(o-1));)--o;for(;d<r.length&&F(r.charAt(d));)++d}return new Tn(Se(n.line,o),Se(n.line,d))},toggleOverwrite:function(n){if(n!=null&&n==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?I(this.display.cursorDiv,"CodeMirror-overwrite"):N(this.display.cursorDiv,"CodeMirror-overwrite"),ft(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==Le()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:xi(function(n,a){er(this,n,a)}),getScrollInfo:function(){var n=this.display.scroller;return{left:n.scrollLeft,top:n.scrollTop,height:n.scrollHeight-se(this)-this.display.barHeight,width:n.scrollWidth-se(this)-this.display.barWidth,clientHeight:m(this),clientWidth:U(this)}},scrollIntoView:xi(function(n,a){n==null?(n={from:this.doc.sel.primary().head,to:null},a==null&&(a=this.options.cursorScrollMargin)):typeof n=="number"?n={from:Se(n,0),to:null}:n.from==null&&(n={from:n,to:null}),n.to||(n.to=n.from),n.margin=a||0,n.from.line!=null?Jo(this,n):hr(this,n.from,n.to,n.margin)}),setSize:xi(function(n,a){var r=this,o=function(p){return typeof p=="number"||/^\d+$/.test(String(p))?p+"px":p};n!=null&&(this.display.wrapper.style.width=o(n)),a!=null&&(this.display.wrapper.style.height=o(a)),this.options.lineWrapping&&Mt(this);var d=this.display.viewFrom;this.doc.iter(d,this.display.viewTo,function(p){if(p.widgets){for(var g=0;g<p.widgets.length;g++)if(p.widgets[g].noHScroll){qn(r,d,"widget");break}}++d}),this.curOp.forceUpdate=!0,ft(this,"refresh",this)}),operation:function(n){return Hi(this,n)},startOperation:function(){return Pa(this)},endOperation:function(){return Ka(this)},refresh:xi(function(){var n=this.display.cachedTextHeight;jn(this),this.curOp.forceUpdate=!0,zt(this),er(this,this.doc.scrollLeft,this.doc.scrollTop),Mr(this.display),(n==null||Math.abs(n-ai(this.display))>.5||this.options.lineWrapping)&&Wi(this),ft(this,"refresh",this)}),swapDoc:xi(function(n){var a=this.doc;return a.cm=null,this.state.selectingText&&this.state.selectingText(),vs(this,n),zt(this),this.display.input.reset(),er(this,n.scrollLeft,n.scrollTop),this.curOp.forceScroll=!0,Pe(this,"swapDoc",this,a),a}),phrase:function(n){var a=this.options.phrases;return a&&Object.prototype.hasOwnProperty.call(a,n)?a[n]:n},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},An(e),e.registerHelper=function(n,a,r){i.hasOwnProperty(n)||(i[n]=e[n]={_global:[]}),i[n][a]=r},e.registerGlobalHelper=function(n,a,r,o){e.registerHelper(n,a,o),i[n]._global.push({pred:r,val:o})}}function fs(e,t,i,n,a){var r=t,o=i,d=Ue(e,t.line),p=a&&e.direction=="rtl"?-i:i;function g(){var et=t.line+p;return et<e.first||et>=e.first+e.size?!1:(t=new Se(et,t.ch,t.sticky),d=Ue(e,et))}function F(et){var Je;if(n=="codepoint"){var rt=d.text.charCodeAt(t.ch+(n>0?0:-1));isNaN(rt)?Je=null:Je=new Se(t.line,Math.max(0,Math.min(d.text.length,t.ch+i*(rt>=55296&&rt<56320?2:1))),-i)}else a?Je=Ll(e.cm,d,t,i):Je=os(d,t,i);if(Je==null)if(!et&&g())t=ss(a,e.cm,d,t.line,p);else return!1;else t=Je;return!0}if(n=="char"||n=="codepoint")F();else if(n=="column")F(!0);else if(n=="word"||n=="group")for(var J=null,be=n=="group",me=e.cm&&e.cm.getHelper(t,"wordChars"),Ne=!0;!(i<0&&!F(!Ne));Ne=!1){var De=d.text.charAt(t.ch)||`
`,Ke=ke(De,me)?"w":be&&De==`
`?"n":!be||/\s/.test(De)?null:"p";if(be&&!Ne&&!Ke&&(Ke="s"),J&&J!=Ke){i<0&&(i=1,F(),t.sticky="after");break}if(Ke&&(J=Ke),i>0&&!F(!Ne))break}var Ve=jo(e,t,r,o,!0);return ln(r,Ve)&&(Ve.hitSide=!0),Ve}function dl(e,t,i,n){var a=e.doc,r=t.left,o;if(n=="page"){var d=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),p=Math.max(d-.5*ai(e.display),3);o=(i>0?t.bottom:t.top)+i*p}else n=="line"&&(o=i>0?t.bottom+3:t.top-3);for(var g;!(g=un(e,r,o),!g.outside);){if(i<0?o<=0:o>=a.height){g.hitSide=!0;break}o+=i*5}return g}var Un=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new S,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Un.prototype.init=function(e){var t=this,i=this,n=i.cm,a=i.div=e.lineDiv;ul(a,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize);function r(d){for(var p=d.target;p;p=p.parentNode){if(p==a)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(p.className))break}return!1}Ge(a,"paste",function(d){if(!r(d)||At(n,d)||ol(d,n))return;_e<=11&&setTimeout(oi(n,function(){return t.updateFromDOM()}),20)}),Ge(a,"compositionstart",function(d){t.composing={data:d.data,done:!1}}),Ge(a,"compositionupdate",function(d){t.composing||(t.composing={data:d.data,done:!1})}),Ge(a,"compositionend",function(d){t.composing&&(d.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),Ge(a,"touchstart",function(){return i.forceCompositionEnd()}),Ge(a,"input",function(){t.composing||t.readFromDOMSoon()});function o(d){if(!r(d)||At(n,d))return;if(n.somethingSelected())Ko({lineWise:!1,text:n.getSelections()}),d.type=="cut"&&n.replaceSelection("",null,"cut");else if(n.options.lineWiseCopyCut){var p=ll(n);Ko({lineWise:!0,text:p.text}),d.type=="cut"&&n.operation(function(){n.setSelections(p.ranges,0,re),n.replaceSelection("",null,"cut")})}else return;if(d.clipboardData){d.clipboardData.clearData();var g=Oa.text.join(`
`);if(d.clipboardData.setData("Text",g),d.clipboardData.getData("Text")==g){d.preventDefault();return}}var F=cl(),J=F.firstChild;n.display.lineSpace.insertBefore(F,n.display.lineSpace.firstChild),J.value=Oa.text.join(`
`);var be=document.activeElement;L(J),setTimeout(function(){n.display.lineSpace.removeChild(F),be.focus(),be==a&&i.showPrimarySelection()},50)}Ge(a,"copy",o),Ge(a,"cut",o)},Un.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Un.prototype.prepareSelection=function(){var e=ha(this.cm,!1);return e.focus=document.activeElement==this.div,e},Un.prototype.showSelection=function(e,t){if(!e||!this.cm.display.view.length)return;(e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e)},Un.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Un.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,i=t.doc.sel.primary(),n=i.from(),a=i.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||a.line<t.display.viewFrom){e.removeAllRanges();return}var r=zo(t,e.anchorNode,e.anchorOffset),o=zo(t,e.focusNode,e.focusOffset);if(r&&!r.bad&&o&&!o.bad&&He(bt(r,o),n)==0&&He(Nt(r,o),a)==0)return;var d=t.display.view,p=n.line>=t.display.viewFrom&&hl(t,n)||{node:d[0].measure.map[2],offset:0},g=a.line<t.display.viewTo&&hl(t,a);if(!g){var F=d[d.length-1].measure,J=F.maps?F.maps[F.maps.length-1]:F.map;g={node:J[J.length-1],offset:J[J.length-2]-J[J.length-3]}}if(!p||!g){e.removeAllRanges();return}var be=e.rangeCount&&e.getRangeAt(0),me;try{me=C(p.node,p.offset,g.offset,g.node)}catch(Ne){}me&&(!ze&&t.state.focused?(e.collapse(p.node,p.offset),me.collapsed||(e.removeAllRanges(),e.addRange(me))):(e.removeAllRanges(),e.addRange(me)),be&&e.anchorNode==null?e.addRange(be):ze&&this.startGracePeriod()),this.rememberSelection()},Un.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Un.prototype.showMultipleSelections=function(e){b(this.cm.display.cursorDiv,e.cursors),b(this.cm.display.selectionDiv,e.selection)},Un.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Un.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return q(this.div,t)},Un.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Un.prototype.blur=function(){this.div.blur()},Un.prototype.getField=function(){return this.div},Un.prototype.supportsTouch=function(){return!0},Un.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Hi(this.cm,function(){return e.cm.curOp.selectionChanged=!0});function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.polling.set(this.cm.options.pollInterval,t)},Un.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Un.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var e=this.getSelection(),t=this.cm;if(x&&w&&this.cm.display.gutterSpecs.length&&eu(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var i=zo(t,e.anchorNode,e.anchorOffset),n=zo(t,e.focusNode,e.focusOffset);i&&n&&Hi(t,function(){ki(t.doc,ya(i,n),re),(i.bad||n.bad)&&(t.curOp.selectionChanged=!0)})},Un.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,i=e.doc.sel.primary(),n=i.from(),a=i.to();if(n.ch==0&&n.line>e.firstLine()&&(n=Se(n.line-1,Ue(e.doc,n.line-1).length)),a.ch==Ue(e.doc,a.line).text.length&&a.line<e.lastLine()&&(a=Se(a.line+1,0)),n.line<t.viewFrom||a.line>t.viewTo-1)return!1;var r,o,d;n.line==t.viewFrom||(r=Wn(e,n.line))==0?(o=Tt(t.view[0].line),d=t.view[0].node):(o=Tt(t.view[r].line),d=t.view[r-1].node.nextSibling);var p=Wn(e,a.line),g,F;if(p==t.view.length-1?(g=t.viewTo-1,F=t.lineDiv.lastChild):(g=Tt(t.view[p+1].line)-1,F=t.view[p+1].node.previousSibling),!d)return!1;for(var J=e.doc.splitLines(tu(e,d,F,o,g)),be=gn(e.doc,Se(o,0),Se(g,Ue(e.doc,g).text.length));J.length>1&&be.length>1;)if(v(J)==v(be))J.pop(),be.pop(),g--;else if(J[0]==be[0])J.shift(),be.shift(),o++;else break;for(var me=0,Ne=0,De=J[0],Ke=be[0],Ve=Math.min(De.length,Ke.length);me<Ve&&De.charCodeAt(me)==Ke.charCodeAt(me);)++me;for(var et=v(J),Je=v(be),rt=Math.min(et.length-(J.length==1?me:0),Je.length-(be.length==1?me:0));Ne<rt&&et.charCodeAt(et.length-Ne-1)==Je.charCodeAt(Je.length-Ne-1);)++Ne;if(J.length==1&&be.length==1&&o==n.line)for(;me&&me>n.ch&&et.charCodeAt(et.length-Ne-1)==Je.charCodeAt(Je.length-Ne-1);)me--,Ne++;J[J.length-1]=et.slice(0,et.length-Ne).replace(/^\u200b+/,""),J[0]=J[0].slice(me).replace(/\u200b+$/,"");var yt=Se(o,me),vt=Se(g,be.length?v(be).length-Ne:0);if(J.length>1||J[0]||He(yt,vt))return Ur(e.doc,J,yt,vt,"+input"),!0},Un.prototype.ensurePolled=function(){this.forceCompositionEnd()},Un.prototype.reset=function(){this.forceCompositionEnd()},Un.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},Un.prototype.readFromDOMSoon=function(){var e=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80)},Un.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Hi(this.cm,function(){return jn(e.cm)})},Un.prototype.setUneditable=function(e){e.contentEditable="false"},Un.prototype.onKeyPress=function(e){if(e.charCode==0||this.composing)return;e.preventDefault(),this.cm.isReadOnly()||oi(this.cm,hs)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0)},Un.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Un.prototype.onContextMenu=function(){},Un.prototype.resetPosition=function(){},Un.prototype.needsContentAttribute=!0;function hl(e,t){var i=de(e,t.line);if(!i||i.hidden)return null;var n=Ue(e.doc,t.line),a=_(i,n,t.line),r=Dt(n,e.doc.direction),o="left";if(r){var d=at(r,t.ch);o=d%2?"right":"left"}var p=Fe(a.map,t.ch,o);return p.offset=p.collapse=="right"?p.end:p.start,p}function eu(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Kr(e,t){return t&&(e.bad=!0),e}function tu(e,t,i,n,a){var r="",o=!1,d=e.doc.lineSeparator(),p=!1;function g(me){return function(Ne){return Ne.id==me}}function F(){o&&(r+=d,p&&(r+=d),o=p=!1)}function J(me){me&&(F(),r+=me)}function be(me){if(me.nodeType==1){var Ne=me.getAttribute("cm-text");if(Ne){J(Ne);return}var De=me.getAttribute("cm-marker"),Ke;if(De){var Ve=e.findMarks(Se(n,0),Se(a+1,0),g(+De));Ve.length&&(Ke=Ve[0].find(0))&&J(gn(e.doc,Ke.from,Ke.to).join(d));return}if(me.getAttribute("contenteditable")=="false")return;var et=/^(pre|div|p|li|table|br)$/i.test(me.nodeName);if(!/^br$/i.test(me.nodeName)&&me.textContent.length==0)return;et&&F();for(var Je=0;Je<me.childNodes.length;Je++)be(me.childNodes[Je]);/^(pre|p)$/i.test(me.nodeName)&&(p=!0),et&&(o=!0)}else me.nodeType==3&&J(me.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(be(t),t==i);)t=t.nextSibling,p=!1;return r}function zo(e,t,i){var n;if(t==e.display.lineDiv){if(n=e.display.lineDiv.childNodes[i],!n)return Kr(e.clipPos(Se(e.display.viewTo-1)),!0);t=null,i=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var a=0;a<e.display.view.length;a++){var r=e.display.view[a];if(r.node==n)return nu(r,t,i)}}function nu(e,t,i){var n=e.text.firstChild,a=!1;if(!t||!q(n,t))return Kr(Se(Tt(e.line),0),!0);if(t==n&&(a=!0,t=n.childNodes[i],i=0,!t)){var r=e.rest?v(e.rest):e.line;return Kr(Se(Tt(r),r.text.length),a)}var o=t.nodeType==3?t:null,d=t;for(!o&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(o=t.firstChild,i&&(i=o.nodeValue.length));d.parentNode!=n;)d=d.parentNode;var p=e.measure,g=p.maps;function F(Ke,Ve,et){for(var Je=-1;Je<(g?g.length:0);Je++)for(var rt=Je<0?p.map:g[Je],yt=0;yt<rt.length;yt+=3){var vt=rt[yt+2];if(vt==Ke||vt==Ve){var en=Tt(Je<0?e.line:e.rest[Je]),Hn=rt[yt]+et;return(et<0||vt!=Ke)&&(Hn=rt[yt+(et?1:0)]),Se(en,Hn)}}}var J=F(o,d,i);if(J)return Kr(J,a);for(var be=d.nextSibling,me=o?o.nodeValue.length-i:0;be;be=be.nextSibling){if(J=F(be,be.firstChild,0),J)return Kr(Se(J.line,J.ch-me),a);me+=be.textContent.length}for(var Ne=d.previousSibling,De=i;Ne;Ne=Ne.previousSibling){if(J=F(Ne,Ne.firstChild,-1),J)return Kr(Se(J.line,J.ch+De),a);De+=Ne.textContent.length}}var li=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new S,this.hasSelection=!1,this.composing=null};li.prototype.init=function(e){var t=this,i=this,n=this.cm;this.createField(e);var a=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),f&&(a.style.width="0px"),Ge(a,"input",function(){ge&&_e>=9&&t.hasSelection&&(t.hasSelection=null),i.poll()}),Ge(a,"paste",function(o){if(At(n,o)||ol(o,n))return;n.state.pasteIncoming=+new Date,i.fastPoll()});function r(o){if(At(n,o))return;if(n.somethingSelected())Ko({lineWise:!1,text:n.getSelections()});else if(n.options.lineWiseCopyCut){var d=ll(n);Ko({lineWise:!0,text:d.text}),o.type=="cut"?n.setSelections(d.ranges,null,re):(i.prevInput="",a.value=d.text.join(`
`),L(a))}else return;o.type=="cut"&&(n.state.cutIncoming=+new Date)}Ge(a,"cut",r),Ge(a,"copy",r),Ge(e.scroller,"paste",function(o){if(ba(e,o)||At(n,o))return;if(!a.dispatchEvent){n.state.pasteIncoming=+new Date,i.focus();return}var d=new Event("paste");d.clipboardData=o.clipboardData,a.dispatchEvent(d)}),Ge(e.lineSpace,"selectstart",function(o){ba(e,o)||cn(o)}),Ge(a,"compositionstart",function(){var o=n.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:o,range:n.markText(o,n.getCursor("to"),{className:"CodeMirror-composing"})}}),Ge(a,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},li.prototype.createField=function(e){this.wrapper=cl(),this.textarea=this.wrapper.firstChild},li.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},li.prototype.prepareSelection=function(){var e=this.cm,t=e.display,i=e.doc,n=ha(e);if(e.options.moveInputWithCursor){var a=sn(e,i.sel.primary().head,"div"),r=t.wrapper.getBoundingClientRect(),o=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,a.top+o.top-r.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,a.left+o.left-r.left))}return n},li.prototype.showSelection=function(e){var t=this.cm,i=t.display;b(i.cursorDiv,e.cursors),b(i.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},li.prototype.reset=function(e){if(this.contextMenuPending||this.composing)return;var t=this.cm;if(t.somethingSelected()){this.prevInput="";var i=t.getSelection();this.textarea.value=i,t.state.focused&&L(this.textarea),ge&&_e>=9&&(this.hasSelection=i)}else e||(this.prevInput=this.textarea.value="",ge&&_e>=9&&(this.hasSelection=null))},li.prototype.getField=function(){return this.textarea},li.prototype.supportsTouch=function(){return!1},li.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!K||Le()!=this.textarea))try{this.textarea.focus()}catch(e){}},li.prototype.blur=function(){this.textarea.blur()},li.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},li.prototype.receivedFocus=function(){this.slowPoll()},li.prototype.slowPoll=function(){var e=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},li.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function i(){var n=t.poll();!n&&!e?(e=!0,t.polling.set(60,i)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,i)},li.prototype.poll=function(){var e=this,t=this.cm,i=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ot(i)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var a=i.value;if(a==n&&!t.somethingSelected())return!1;if(ge&&_e>=9&&this.hasSelection===a||A&&/[\uf700-\uf7ff]/.test(a))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var r=a.charCodeAt(0);if(r==8203&&!n&&(n="\u200B"),r==8666)return this.reset(),this.cm.execCommand("undo")}for(var o=0,d=Math.min(n.length,a.length);o<d&&n.charCodeAt(o)==a.charCodeAt(o);)++o;return Hi(t,function(){hs(t,a.slice(o),n.length-o,null,e.composing?"*compose":null),a.length>1e3||a.indexOf(`
`)>-1?i.value=e.prevInput="":e.prevInput=a,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},li.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},li.prototype.onKeyPress=function(){ge&&_e>=9&&(this.hasSelection=null),this.fastPoll()},li.prototype.onContextMenu=function(e){var t=this,i=t.cm,n=i.display,a=t.textarea;t.contextMenuPending&&t.contextMenuPending();var r=gi(i,e),o=n.scroller.scrollTop;if(!r||E)return;var d=i.options.resetSelectionOnContextMenu;d&&i.doc.sel.contains(r)==-1&&oi(i,ki)(i.doc,ya(r),re);var p=a.style.cssText,g=t.wrapper.style.cssText,F=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",a.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(e.clientY-F.top-5)+"px; left: "+(e.clientX-F.left-5)+`px;
z-index: 1000; background: `+(ge?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var J;he&&(J=window.scrollY),n.input.focus(),he&&window.scrollTo(null,J),n.input.reset(),i.somethingSelected()||(a.value=t.prevInput=" "),t.contextMenuPending=me,n.selForContextMenu=i.doc.sel,clearTimeout(n.detectingSelectAll);function be(){if(a.selectionStart!=null){var De=i.somethingSelected(),Ke="\u200B"+(De?a.value:"");a.value="\u21DA",a.value=Ke,t.prevInput=De?"":"\u200B",a.selectionStart=1,a.selectionEnd=Ke.length,n.selForContextMenu=i.doc.sel}}function me(){if(t.contextMenuPending!=me)return;if(t.contextMenuPending=!1,t.wrapper.style.cssText=g,a.style.cssText=p,ge&&_e<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=o),a.selectionStart!=null){(!ge||ge&&_e<9)&&be();var De=0,Ke=function(){n.selForContextMenu==i.doc.sel&&a.selectionStart==0&&a.selectionEnd>0&&t.prevInput=="\u200B"?oi(i,Ns)(i):De++<10?n.detectingSelectAll=setTimeout(Ke,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(Ke,200)}}if(ge&&_e>=9&&be(),Y){Bn(e);var Ne=function(){mn(window,"mouseup",Ne),setTimeout(me,20)};Ge(window,"mouseup",Ne)}else setTimeout(me,50)},li.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},li.prototype.setUneditable=function(){},li.prototype.needsContentAttribute=!1;function iu(e,t){if(t=t?c(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var i=Le();t.autofocus=i==e||e.getAttribute("autofocus")!=null&&i==document.body}function n(){e.value=d.getValue()}var a;if(e.form&&(Ge(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var r=e.form;a=r.submit;try{var o=r.submit=function(){n(),r.submit=a,r.submit(),r.submit=o}}catch(p){}}t.finishInit=function(p){p.save=n,p.getTextArea=function(){return e},p.toTextArea=function(){p.toTextArea=isNaN,n(),e.parentNode.removeChild(p.getWrapperElement()),e.style.display="",e.form&&(mn(e.form,"submit",n),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=a))}},e.style.display="none";var d=$n(function(p){return e.parentNode.insertBefore(p,e.nextSibling)},t);return d}function au(e){e.off=mn,e.on=Ge,e.wheelEventPixels=ao,e.Doc=Vi,e.splitLines=Be,e.countColumn=O,e.findColumn=le,e.isWordChar=Ie,e.Pass=pe,e.signal=ft,e.Line=_a,e.changeEnd=Aa,e.scrollbarModel=to,e.Pos=Se,e.cmpPos=He,e.modes=On,e.mimeModes=Vt,e.resolveMode=st,e.getMode=ct,e.modeExtensions=ot,e.extendMode=xt,e.copyState=St,e.startState=wt,e.innerMode=Bt,e.commands=vo,e.keyMap=Qa,e.keyName=Qs,e.isModifierKey=zs,e.lookupKey=Br,e.normalizeKeyMap=Dl,e.StringStream=pt,e.SharedTextMarker=po,e.TextMarker=rr,e.LineWidget=fo,e.e_preventDefault=cn,e.e_stopPropagation=Zt,e.e_stop=Bn,e.addClass=I,e.contains=q,e.rmClass=N,e.keyNames=or}Jl($n),$l($n);var ru="iter insert remove copy getEditor constructor".split(" ");for(var Go in Vi.prototype)Vi.prototype.hasOwnProperty(Go)&&oe(ru,Go)<0&&($n.prototype[Go]=function(e){return function(){return e.apply(this.doc,arguments)}}(Vi.prototype[Go]));return An(Vi),$n.inputStyles={textarea:li,contenteditable:Un},$n.defineMode=function(e){!$n.defaults.mode&&e!="null"&&($n.defaults.mode=e),nt.apply(this,arguments)},$n.defineMIME=ut,$n.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),$n.defineMIME("text/plain","null"),$n.defineExtension=function(e,t){$n.prototype[e]=t},$n.defineDocExtension=function(e,t){Vi.prototype[e]=t},$n.fromTextArea=iu,au($n),$n.version="5.58.2",$n})},W6BS:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAVs0lEQVRoQ+2aa6xlZ3nff++677Xv+9zPHM/YHo+xwQ4E14GKKESkiFsSM8bYQBIEkaBEAkqbRmo/9FulSoX2Qz9GVVQJqUJBhKKA1KRJCIlowwdDDDa+jOd65syc275f1v1d1fOufYYE2ZhJZKRWXjOjvffaa6/1/p//8/yfyzuqLMuS/48P9RrA/8fZfY3B2yXQBHQpf185tBUK+SvH8uV2H/eK1/+jGfwRIBC5ks/Vq/yplq2Wqz+B/ONg5LNlrlz+Qhnot373iih+wgX/YIAivrJgjTKA9BKcYa/Uy/MnUEpD0S2AyzdKkMslZYklbwVYWZpXQSygrSVoc+4fcPzUAKtsom4xpIGiLCkMZbJGs1LkvOHPfJbrhRX5/CM/NDwJZlXiqBKlc7AEjg1aI2iVDXZpoeS9AFXlkmV1W8z+VACLE7dbMiWLE2CFADLgqig6SakCSs4jizcvAvBHMVkqxxhKkePqAs8S1m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C1NR5BGCbF0CWVJEAQ0GnXanTb1sE69Xmdzc4uNjQ1ardZy4+dlN3fNF6+4R/9SP5eHJ0nMYhEh8TscDun3+0aoJuMJi8WCJMnRZgRZkJOR5FMKvWBz/QyN2gqqsEjTBE1q7iU5znZsfN83i2+32zSbTXq9HisrK6yurtJoNH4ympf49rYAvhzL1b5JSZqmZqGTyZT+4Jj+cd+4+mg4Yh7F5Kk0xqK4Jb7rVP87w1KGpU6nR6vVNMAEkPzrdDqGxX/McVsAb/dBsh0mKWgxnzMajxgOhhwf9+n3j5nNZ7RbbbrdrgElYE5Aua57u4962etfNYAvx7YISJIkxrXFxdvtlnFJW+Yiy+MnecrtIn/VAN7uQl6t618D+GpZ9md139cY/FlZ+tV6zmsMvlqW/Vnd9/8CAe3hZpCQX/4AAAAASUVORK5CYII="},WaYH:function(xe,ye,u){"use strict";var we=u("rePB"),Ee=u("Ff2n"),ze=u("VTBJ"),Oe=u("1OyB"),P=u("vuIU"),Ae=u("JX7q"),ge=u("Ji7U"),_e=u("LK+K"),he=u("cDcd"),M=u("TSYQ"),w=u.n(M),E=u("sboe"),s=u("OZM5"),h=function(Y){var fe=Y.prefixCls,N=Y.level,W=Y.isStart,b=Y.isEnd;if(!N)return null;for(var ae="".concat(fe,"-indent-unit"),G=[],C=0;C<N;C+=1){var q;G.push(he.createElement("span",{key:C,className:w()(ae,(q={},Object(we.a)(q,"".concat(ae,"-start"),W[C+1]),Object(we.a)(q,"".concat(ae,"-end"),b[C+1]),Object(we.a)(q,"".concat(ae,"-end-first-level"),!C&&b[0]),q))}))}return he.createElement("span",{"aria-hidden":"true",className:"".concat(fe,"-indent")},G)},l=h,f=u("815F"),x="open",K="close",A="---",D=function(V){Object(ge.a)(fe,V);var Y=Object(_e.a)(fe);function fe(){var N;return Object(Oe.a)(this,fe),N=Y.apply(this,arguments),N.state={dragNodeHighlight:!1},N.onSelectorClick=function(W){var b=N.props.context.onNodeClick;b(W,Object(f.b)(N.props)),N.isSelectable()?N.onSelect(W):N.onCheck(W)},N.onSelectorDoubleClick=function(W){var b=N.props.context.onNodeDoubleClick;b(W,Object(f.b)(N.props))},N.onSelect=function(W){if(N.isDisabled())return;var b=N.props.context.onNodeSelect;W.preventDefault(),b(W,Object(f.b)(N.props))},N.onCheck=function(W){if(N.isDisabled())return;var b=N.props,ae=b.disableCheckbox,G=b.checked,C=N.props.context.onNodeCheck;if(!N.isCheckable()||ae)return;W.preventDefault();var q=!G;C(W,Object(f.b)(N.props),q)},N.onMouseEnter=function(W){var b=N.props.context.onNodeMouseEnter;b(W,Object(f.b)(N.props))},N.onMouseLeave=function(W){var b=N.props.context.onNodeMouseLeave;b(W,Object(f.b)(N.props))},N.onContextMenu=function(W){var b=N.props.context.onNodeContextMenu;b(W,Object(f.b)(N.props))},N.onDragStart=function(W){var b=N.props.context.onNodeDragStart;W.stopPropagation(),N.setState({dragNodeHighlight:!0}),b(W,Object(Ae.a)(N));try{W.dataTransfer.setData("text/plain","")}catch(ae){}},N.onDragEnter=function(W){var b=N.props.context.onNodeDragEnter;W.preventDefault(),W.stopPropagation(),b(W,Object(Ae.a)(N))},N.onDragOver=function(W){var b=N.props.context.onNodeDragOver;W.preventDefault(),W.stopPropagation(),b(W,Object(Ae.a)(N))},N.onDragLeave=function(W){var b=N.props.context.onNodeDragLeave;W.stopPropagation(),b(W,Object(Ae.a)(N))},N.onDragEnd=function(W){var b=N.props.context.onNodeDragEnd;W.stopPropagation(),N.setState({dragNodeHighlight:!1}),b(W,Object(Ae.a)(N))},N.onDrop=function(W){var b=N.props.context.onNodeDrop;W.preventDefault(),W.stopPropagation(),N.setState({dragNodeHighlight:!1}),b(W,Object(Ae.a)(N))},N.onExpand=function(W){var b=N.props.context.onNodeExpand;b(W,Object(f.b)(N.props))},N.setSelectHandle=function(W){N.selectHandle=W},N.getNodeState=function(){var W=N.props.expanded;return N.isLeaf()?null:W?x:K},N.hasChildren=function(){var W=N.props.eventKey,b=N.props.context.keyEntities,ae=b[W]||{},G=ae.children;return!!(G||[]).length},N.isLeaf=function(){var W=N.props,b=W.isLeaf,ae=W.loaded,G=N.props.context.loadData,C=N.hasChildren();return b===!1?!1:b||!G&&!C||G&&ae&&!C},N.isDisabled=function(){var W=N.props.disabled,b=N.props.context.disabled;return!!(b||W)},N.isCheckable=function(){var W=N.props.checkable,b=N.props.context.checkable;return!b||W===!1?!1:b},N.syncLoadData=function(W){var b=W.expanded,ae=W.loading,G=W.loaded,C=N.props.context,q=C.loadData,Le=C.onNodeLoad;if(ae)return;q&&b&&!N.isLeaf()&&(!N.hasChildren()&&!G&&Le(Object(f.b)(N.props)))},N.renderSwitcher=function(){var W=N.props,b=W.expanded,ae=W.switcherIcon,G=N.props.context,C=G.prefixCls,q=G.switcherIcon,Le=ae||q;if(N.isLeaf())return he.createElement("span",{className:w()("".concat(C,"-switcher"),"".concat(C,"-switcher-noop"))},typeof Le=="function"?Le(Object(ze.a)(Object(ze.a)({},N.props),{},{isLeaf:!0})):Le);var I=w()("".concat(C,"-switcher"),"".concat(C,"-switcher_").concat(b?x:K));return he.createElement("span",{onClick:N.onExpand,className:I},typeof Le=="function"?Le(Object(ze.a)(Object(ze.a)({},N.props),{},{isLeaf:!1})):Le)},N.renderCheckbox=function(){var W=N.props,b=W.checked,ae=W.halfChecked,G=W.disableCheckbox,C=N.props.context.prefixCls,q=N.isDisabled(),Le=N.isCheckable();if(!Le)return null;var I=typeof Le!="boolean"?Le:null;return he.createElement("span",{className:w()("".concat(C,"-checkbox"),b&&"".concat(C,"-checkbox-checked"),!b&&ae&&"".concat(C,"-checkbox-indeterminate"),(q||G)&&"".concat(C,"-checkbox-disabled")),onClick:N.onCheck},I)},N.renderIcon=function(){var W=N.props.loading,b=N.props.context.prefixCls;return he.createElement("span",{className:w()("".concat(b,"-iconEle"),"".concat(b,"-icon__").concat(N.getNodeState()||"docu"),W&&"".concat(b,"-icon_loading"))})},N.renderSelector=function(){var W=N.state.dragNodeHighlight,b=N.props,ae=b.title,G=b.selected,C=b.icon,q=b.loading,Le=b.data,I=N.props.context,Z=I.prefixCls,L=I.showIcon,y=I.icon,c=I.draggable,O=I.loadData,S=I.titleRender,oe=N.isDisabled(),ue="".concat(Z,"-node-content-wrapper"),pe;if(L){var re=C||y;pe=re?he.createElement("span",{className:w()("".concat(Z,"-iconEle"),"".concat(Z,"-icon__customize"))},typeof re=="function"?re(N.props):re):N.renderIcon()}else O&&q&&(pe=N.renderIcon());var H;typeof ae=="function"?H=ae(Le):S?H=S(Le):H=ae;var z=he.createElement("span",{className:"".concat(Z,"-title")},H);return he.createElement("span",{ref:N.setSelectHandle,title:typeof ae=="string"?ae:"",className:w()("".concat(ue),"".concat(ue,"-").concat(N.getNodeState()||"normal"),!oe&&(G||W)&&"".concat(Z,"-node-selected"),!oe&&c&&"draggable"),draggable:!oe&&c||void 0,"aria-grabbed":!oe&&c||void 0,onMouseEnter:N.onMouseEnter,onMouseLeave:N.onMouseLeave,onContextMenu:N.onContextMenu,onClick:N.onSelectorClick,onDoubleClick:N.onSelectorDoubleClick,onDragStart:c?N.onDragStart:void 0},pe,z)},N}return Object(P.a)(fe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var W=this.props.selectable,b=this.props.context.selectable;return typeof W=="boolean"?W:b}},{key:"render",value:function(){var W,b=this.props,ae=b.eventKey,G=b.className,C=b.style,q=b.dragOver,Le=b.dragOverGapTop,I=b.dragOverGapBottom,Z=b.isLeaf,L=b.isStart,y=b.isEnd,c=b.expanded,O=b.selected,S=b.checked,oe=b.halfChecked,ue=b.loading,pe=b.domRef,re=b.active,H=b.onMouseMove,z=Object(Ee.a)(b,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),le=this.props.context,X=le.prefixCls,ce=le.filterTreeNode,v=le.draggable,k=le.keyEntities,T=this.isDisabled(),ie=Object(s.f)(z),Te=k[ae]||{},Ce=Te.level,Ie=y[y.length-1];return he.createElement("div",Object.assign({ref:pe,className:w()(G,"".concat(X,"-treenode"),(W={},Object(we.a)(W,"".concat(X,"-treenode-disabled"),T),Object(we.a)(W,"".concat(X,"-treenode-switcher-").concat(c?"open":"close"),!Z),Object(we.a)(W,"".concat(X,"-treenode-checkbox-checked"),S),Object(we.a)(W,"".concat(X,"-treenode-checkbox-indeterminate"),oe),Object(we.a)(W,"".concat(X,"-treenode-selected"),O),Object(we.a)(W,"".concat(X,"-treenode-loading"),ue),Object(we.a)(W,"".concat(X,"-treenode-active"),re),Object(we.a)(W,"".concat(X,"-treenode-leaf-last"),Ie),Object(we.a)(W,"drag-over",!T&&q),Object(we.a)(W,"drag-over-gap-top",!T&&Le),Object(we.a)(W,"drag-over-gap-bottom",!T&&I),Object(we.a)(W,"filter-node",ce&&ce(Object(f.b)(this.props))),W)),style:C,onDragEnter:v?this.onDragEnter:void 0,onDragOver:v?this.onDragOver:void 0,onDragLeave:v?this.onDragLeave:void 0,onDrop:v?this.onDrop:void 0,onDragEnd:v?this.onDragEnd:void 0,onMouseMove:H},ie),he.createElement(l,{prefixCls:X,level:Ce,isStart:L,isEnd:y}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),fe}(he.Component),ee=function(Y){return he.createElement(E.a.Consumer,null,function(fe){return he.createElement(D,Object.assign({},Y,{context:fe}))})};ee.displayName="TreeNode",ee.defaultProps={title:A},ee.isTreeNode=1;var te=ye.a=ee},XIdC:function(xe,ye,u){"use strict";var we=u("rePB"),Ee=u("ODXe"),ze=u("Ff2n"),Oe=u("cDcd"),P=u.n(Oe),Ae=u("TSYQ"),ge=u.n(Ae),_e=u("6cGi"),he=u("4IlW"),M=Oe.forwardRef(function(w,E){var s,h=w.prefixCls,l=h===void 0?"rc-switch":h,f=w.className,x=w.checked,K=w.defaultChecked,A=w.disabled,D=w.loadingIcon,ee=w.checkedChildren,te=w.unCheckedChildren,V=w.onClick,Y=w.onChange,fe=w.onKeyDown,N=Object(ze.a)(w,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),W=Object(_e.a)(!1,{value:x,defaultValue:K}),b=Object(Ee.a)(W,2),ae=b[0],G=b[1];function C(Z,L){var y=ae;return A||(y=Z,G(y),Y==null||Y(y,L)),y}function q(Z){Z.which===he.a.LEFT?C(!1,Z):Z.which===he.a.RIGHT&&C(!0,Z),fe==null||fe(Z)}function Le(Z){var L=C(!ae,Z);V==null||V(L,Z)}var I=ge()(l,f,(s={},Object(we.a)(s,"".concat(l,"-checked"),ae),Object(we.a)(s,"".concat(l,"-disabled"),A),s));return Oe.createElement("button",Object.assign({},N,{type:"button",role:"switch","aria-checked":ae,disabled:A,className:I,ref:E,onKeyDown:q,onClick:Le}),D,Oe.createElement("span",{className:"".concat(l,"-inner")},ae?ee:te))});M.displayName="Switch",ye.a=M},Xsq0:function(xe,ye,u){xe.exports=u.p+"static/mainbanner.0a951716.jpg"},Y1PL:function(xe,ye,u){"use strict";u.r(ye),u.d(ye,"ResizableTextArea",function(){return oe});var we=u("wx14"),Ee=u("1OyB"),ze=u("vuIU"),Oe=u("Ji7U"),P=u("LK+K"),Ae=u("cDcd"),ge=u("VTBJ"),_e=u("rePB"),he=u("Zm9Q"),M=u("Kwbf"),w=u("c+Xe"),E=u("m+aA"),s=u("bdgK"),h=new Map;function l(re){re.forEach(function(H){var z,le=H.target;(z=h.get(le))===null||z===void 0||z.forEach(function(X){return X(le)})})}var f=new s.default(l),x=null,K=null;function A(re,H){h.has(re)||(h.set(re,new Set),f.observe(re)),h.get(re).add(H)}function D(re,H){h.has(re)&&(h.get(re).delete(H),h.get(re).size||(f.unobserve(re),h.delete(re)))}var ee=function(re){Object(Oe.a)(z,re);var H=Object(P.a)(z);function z(){return Object(Ee.a)(this,z),H.apply(this,arguments)}return Object(ze.a)(z,[{key:"render",value:function(){return this.props.children}}]),z}(Ae.Component),te=Ae.createContext(null);function V(re){var H=re.children,z=re.onBatchResize,le=Ae.useRef(0),X=Ae.useRef([]),ce=Ae.useContext(te),v=Ae.useCallback(function(k,T,ie){le.current+=1;var Te=le.current;X.current.push({size:k,element:T,data:ie}),Promise.resolve().then(function(){Te===le.current&&(z==null||z(X.current),X.current=[])}),ce==null||ce(k,T,ie)},[z,ce]);return Ae.createElement(te.Provider,{value:v},H)}function Y(re){var H=re.children,z=re.disabled,le=Ae.useRef(null),X=Ae.useRef(null),ce=Ae.useContext(te),v=Ae.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),k=Ae.isValidElement(H)&&Object(w.c)(H),T=k?H.ref:null,ie=Ae.useMemo(function(){return Object(w.a)(T,le)},[T,le]),Te=Ae.useRef(re);Te.current=re;var Ce=Ae.useCallback(function(Ie){var ke=Te.current,We=ke.onResize,Ze=ke.data,qe=Ie.getBoundingClientRect(),tt=qe.width,ht=qe.height,it=Ie.offsetWidth,dt=Ie.offsetHeight,at=Math.floor(tt),jt=Math.floor(ht);if(v.current.width!==at||v.current.height!==jt||v.current.offsetWidth!==it||v.current.offsetHeight!==dt){var Dt={width:at,height:jt,offsetWidth:it,offsetHeight:dt};v.current=Dt;var Ut=it===Math.round(tt)?tt:it,Ge=dt===Math.round(ht)?ht:dt,In=Object(ge.a)(Object(ge.a)({},Dt),{},{offsetWidth:Ut,offsetHeight:Ge});ce==null||ce(In,Ie,Ze),We&&Promise.resolve().then(function(){We(In,Ie)})}},[]);return Ae.useEffect(function(){var Ie=Object(E.a)(le.current)||Object(E.a)(X.current);return Ie&&!z&&A(Ie,Ce),function(){return D(Ie,Ce)}},[le.current,z]),Ae.createElement(ee,{ref:X},k?Ae.cloneElement(H,{ref:ie}):H)}var fe="rc-observer-key";function N(re){var H=re.children,z=Object(he.a)(H);return z.map(function(le,X){var ce=(le==null?void 0:le.key)||"".concat(fe,"-").concat(X);return Ae.createElement(Y,Object(we.a)({},re,{key:ce}),le)})}N.Collection=V;var W=N,b=u("bT9E"),ae=u("TSYQ"),G=u.n(ae),C=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important
`,q=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],Le={},I;function Z(re){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,z=re.getAttribute("id")||re.getAttribute("data-reactid")||re.getAttribute("name");if(H&&Le[z])return Le[z];var le=window.getComputedStyle(re),X=le.getPropertyValue("box-sizing")||le.getPropertyValue("-moz-box-sizing")||le.getPropertyValue("-webkit-box-sizing"),ce=parseFloat(le.getPropertyValue("padding-bottom"))+parseFloat(le.getPropertyValue("padding-top")),v=parseFloat(le.getPropertyValue("border-bottom-width"))+parseFloat(le.getPropertyValue("border-top-width")),k=q.map(function(ie){return"".concat(ie,":").concat(le.getPropertyValue(ie))}).join(";"),T={sizingStyle:k,paddingSize:ce,borderSize:v,boxSizing:X};return H&&z&&(Le[z]=T),T}function L(re){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;I||(I=document.createElement("textarea"),I.setAttribute("tab-index","-1"),I.setAttribute("aria-hidden","true"),document.body.appendChild(I)),re.getAttribute("wrap")?I.setAttribute("wrap",re.getAttribute("wrap")):I.removeAttribute("wrap");var X=Z(re,H),ce=X.paddingSize,v=X.borderSize,k=X.boxSizing,T=X.sizingStyle;I.setAttribute("style","".concat(T,";").concat(C)),I.value=re.value||re.placeholder||"";var ie=Number.MIN_SAFE_INTEGER,Te=Number.MAX_SAFE_INTEGER,Ce=I.scrollHeight,Ie;if(k==="border-box"?Ce+=v:k==="content-box"&&(Ce-=ce),z!==null||le!==null){I.value=" ";var ke=I.scrollHeight-ce;z!==null&&(ie=ke*z,k==="border-box"&&(ie=ie+ce+v),Ce=Math.max(ie,Ce)),le!==null&&(Te=ke*le,k==="border-box"&&(Te=Te+ce+v),Ie=Ce>Te?"":"hidden",Ce=Math.min(Te,Ce))}return{height:Ce,minHeight:ie,maxHeight:Te,overflowY:Ie,resize:"none"}}var y=u("Gytx"),c=u.n(y),O;(function(re){re[re.NONE=0]="NONE",re[re.RESIZING=1]="RESIZING",re[re.RESIZED=2]="RESIZED"})(O||(O={}));var S=function(re){Object(Oe.a)(z,re);var H=Object(P.a)(z);function z(le){var X;return Object(Ee.a)(this,z),X=H.call(this,le),X.nextFrameActionId=void 0,X.resizeFrameId=void 0,X.textArea=void 0,X.saveTextArea=function(ce){X.textArea=ce},X.handleResize=function(ce){var v=X.state.resizeStatus,k=X.props,T=k.autoSize,ie=k.onResize;if(v!==O.NONE)return;typeof ie=="function"&&ie(ce),T&&X.resizeOnNextFrame()},X.resizeOnNextFrame=function(){cancelAnimationFrame(X.nextFrameActionId),X.nextFrameActionId=requestAnimationFrame(X.resizeTextarea)},X.resizeTextarea=function(){var ce=X.props.autoSize;if(!ce||!X.textArea)return;var v=ce.minRows,k=ce.maxRows,T=L(X.textArea,!1,v,k);X.setState({textareaStyles:T,resizeStatus:O.RESIZING},function(){cancelAnimationFrame(X.resizeFrameId),X.resizeFrameId=requestAnimationFrame(function(){X.setState({resizeStatus:O.RESIZED},function(){X.resizeFrameId=requestAnimationFrame(function(){X.setState({resizeStatus:O.NONE}),X.fixFirefoxAutoScroll()})})})})},X.renderTextArea=function(){var ce=X.props,v=ce.prefixCls,k=v===void 0?"rc-textarea":v,T=ce.autoSize,ie=ce.onResize,Te=ce.className,Ce=ce.disabled,Ie=X.state,ke=Ie.textareaStyles,We=Ie.resizeStatus,Ze=Object(b.a)(X.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),qe=G()(k,Te,Object(_e.a)({},"".concat(k,"-disabled"),Ce));"value"in Ze&&(Ze.value=Ze.value||"");var tt=Object(ge.a)(Object(ge.a)(Object(ge.a)({},X.props.style),ke),We===O.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return Ae.createElement(W,{onResize:X.handleResize,disabled:!(T||ie)},Ae.createElement("textarea",Object(we.a)({},Ze,{className:qe,style:tt,ref:X.saveTextArea})))},X.state={textareaStyles:{},resizeStatus:O.NONE},X}return Object(ze.a)(z,[{key:"componentDidUpdate",value:function(X){(X.value!==this.props.value||!c()(X.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var X=this.textArea.selectionStart,ce=this.textArea.selectionEnd;this.textArea.setSelectionRange(X,ce)}}catch(v){}}},{key:"render",value:function(){return this.renderTextArea()}}]),z}(Ae.Component),oe=S,ue=function(re){Object(Oe.a)(z,re);var H=Object(P.a)(z);function z(le){var X;Object(Ee.a)(this,z),X=H.call(this,le),X.resizableTextArea=void 0,X.focus=function(){X.resizableTextArea.textArea.focus()},X.saveTextArea=function(v){X.resizableTextArea=v},X.handleChange=function(v){var k=X.props.onChange;X.setValue(v.target.value,function(){X.resizableTextArea.resizeTextarea()}),k&&k(v)},X.handleKeyDown=function(v){var k=X.props,T=k.onPressEnter,ie=k.onKeyDown;v.keyCode===13&&T&&T(v),ie&&ie(v)};var ce=typeof le.value=="undefined"||le.value===null?le.defaultValue:le.value;return X.state={value:ce},X}return Object(ze.a)(z,[{key:"setValue",value:function(X,ce){"value"in this.props||this.setState({value:X},ce)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return Ae.createElement(oe,Object(we.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(X){return"value"in X?{value:X.value}:null}}]),z}(Ae.Component),pe=ye.default=ue},ZW9T:function(xe,ye,u){"use strict";u.d(ye,"a",function(){return L});var we=u("k1fw"),Ee=u("miYZ"),ze=u("tsqr"),Oe=u("rAM+"),P=u("tJVT"),Ae=u("PpiC"),ge=u("cDcd"),_e=u.n(ge),he=u("bdgK"),M=u("oBTY"),w=u("9og8"),E=u("WmNS"),s=u.n(E),h={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},l={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"#include",content:'include "$0"'},{label:"printf",content:"printf($0)"},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"for",content:["for( ; ; ){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"#include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"#include <vector>",content:["#include <vector>"].join(`
`)},{label:"#include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"#include <string>",content:["#include <string>"].join(`
`)},{label:"#include <cmath>",content:["#include <cmath>"].join(`
`)}]},x={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},K=u("5VLF"),A=u.n(K),D={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ee=function(c,O){return O.map(function(S){return{label:S,kind:c.languages.CompletionItemKind.Keyword,insertText:S}})},te=function(c){return Object.keys(D.tables).map(function(O){return{label:O,kind:c.languages.CompletionItemKind.Variable,insertText:O}})},V=function(c,O){var S=D.tables[c];return S?S.map(function(oe){return{label:oe,kind:O.languages.CompletionItemKind.Field,insertText:oe}}):[]};function Y(y,c,O,S,oe){var ue=c.getWordUntilPosition(O),pe={startLineNumber:O.lineNumber,endLineNumber:O.lineNumber,startColumn:ue.startColumn,endColumn:ue.endColumn},re=S.map(function(H){return{label:H,kind:y.languages.CompletionItemKind.Keyword,insertText:H,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:pe}});return oe.map(function(H){re.push(Object(we.a)(Object(we.a)({},H),{},{range:pe}))}),re}var fe=function(y){D.languages.map(function(oe){return y.languages.registerDocumentFormattingEditProvider(oe,{provideDocumentFormattingEdits:function(pe,re,H){return Object(w.a)(s.a.mark(function z(){var le;return s.a.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return le=A()(pe.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1}),ce.abrupt("return",[{range:pe.getFullModelRange(),text:le}]);case 2:case"end":return ce.stop()}},z)}))()}}),oe});var c=f.quickKey.map(function(oe){return{label:oe.label,kind:y.languages.CompletionItemKind.Method,insertText:oe.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),O=x.quickKey.map(function(oe){return{label:oe.label,kind:y.languages.CompletionItemKind.Method,insertText:oe.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),S=l.quickKey.map(function(oe){return{label:oe.label,kind:y.languages.CompletionItemKind.Method,insertText:oe.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet}});y.languages.registerCompletionItemProvider("cpp",{triggerCharacters:["."," ","#"].concat(Object(M.a)(f.keywords),Object(M.a)(f.quickKey.map(function(oe){return oe.label}))),provideCompletionItems:function(ue,pe){var re=ue.getValueInRange({startLineNumber:pe.lineNumber,startColumn:1,endLineNumber:pe.lineNumber,endColumn:pe.column}),H=re.match(/cu/gim);console.log("match:",H,pe,re,ue);var z=[],le=pe.lineNumber,X=pe.column,ce=ue.getValueInRange({startLineNumber:le,startColumn:0,endLineNumber:le,endColumn:X}),v=ce.trim().split(/\s+/),k=v[v.length-1];if(k.endsWith(".")){var T=k.slice(0,k.length-1);Object.keys(D.tables).includes(T)&&(z=Object(M.a)(V(T,y)))}else k==="."?z=[]:z=[].concat(Object(M.a)(te(y)),Object(M.a)(ee(y,f.keywords)),Object(M.a)(c));return{suggestions:z}}}),y.languages.registerCompletionItemProvider("c",{triggerCharacters:["."," ","#"].concat(Object(M.a)(h.keywords)),provideCompletionItems:function(ue,pe){var re=ue.getValueInRange({startLineNumber:pe.lineNumber,startColumn:1,endLineNumber:pe.lineNumber,endColumn:pe.column}),H=re.match(/cu/gim);console.log("match:",H,pe,re,ue);var z=[],le=pe.lineNumber,X=pe.column,ce=ue.getValueInRange({startLineNumber:le,startColumn:0,endLineNumber:le,endColumn:X}),v=ce.trim().split(/\s+/),k=v[v.length-1];if(k.endsWith(".")){var T=k.slice(0,k.length-1);Object.keys(D.tables).includes(T)&&(z=Object(M.a)(V(T,y)))}else k==="."?z=[]:z=[].concat(Object(M.a)(te(y)),Object(M.a)(ee(y,h.keywords)));return{suggestions:z}}}),y.languages.registerCompletionItemProvider("java",{triggerCharacters:["."," "].concat(Object(M.a)(l.keywords)),provideCompletionItems:function(ue,pe){var re=[],H=pe.lineNumber,z=pe.column,le=ue.getValueInRange({startLineNumber:H,startColumn:0,endLineNumber:H,endColumn:z}),X=le.trim().split(/\s+/),ce=X[X.length-1];if(ce.endsWith(".")){var v=ce.slice(0,ce.length-1);Object.keys(D.tables).includes(v)&&(re=Object(M.a)(V(v,y)))}else ce==="."?re=[]:re=[].concat(Object(M.a)(te(y)),Object(M.a)(ee(y,l.keywords)),Object(M.a)(S));return{suggestions:re}}}),y.languages.registerCompletionItemProvider("python",{triggerCharacters:["."," "].concat(Object(M.a)(x.keywords)),provideCompletionItems:function(ue,pe){var re=[],H=pe.lineNumber,z=pe.column,le=ue.getValueInRange({startLineNumber:H,startColumn:0,endLineNumber:H,endColumn:z}),X=le.trim().split(/\s+/),ce=X[X.length-1];if(ce.endsWith(".")){var v=ce.slice(0,ce.length-1);Object.keys(D.tables).includes(v)&&(re=Object(M.a)(V(v,y)))}else ce==="."?re=[]:re=[].concat(Object(M.a)(te(y)),Object(M.a)(ee(y,x.keywords)),Object(M.a)(O));return{suggestions:re}}})},N="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002",W=u("LvDl"),b=u("+ua5");function ae(y){return/^\d+$/.test(y)?"".concat(y,"px"):y}function G(){}var C=!1,q={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python"};function Le(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=y;if(Array.isArray(y)){for(var O=0;O<y.length;O++){var S=q[y[O]];if(S)return S}return c[0]}return q[c]||c}var I=null,Z=ye.b=function(y){var c=y.width,O=c===void 0?"100%":c,S=y.height,oe=S===void 0?"100%":S,ue=y.value,pe=y.language,re=pe===void 0?"javascript":pe,H=y.style,z=H===void 0?{}:H,le=y.options,X=le===void 0?{}:le,ce=y.overrideServices,v=ce===void 0?{}:ce,k=y.theme,T=k===void 0?"vs-dark":k,ie=y.onEditBlur,Te=y.onSave,Ce=y.autoHeight,Ie=Ce===void 0?!1:Ce,ke=y.forbidCopy,We=ke===void 0?!1:ke,Ze=y.onChange,qe=Ze===void 0?G:Ze,tt=y.editorDidMount,ht=tt===void 0?G:tt,it=y.onFocus,dt=it===void 0?G:it,at=y.filename,jt=at===void 0?"educoder.txt":at,Dt=y.errorLine,Ut=y.errorContent,Ge=Ut===void 0?"":Ut,In=Object(Ae.a)(y,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","filename","errorLine","errorContent"]),mn=Object(ge.useRef)(),ft=Object(ge.useRef)({}),At=Object(ge.useRef)(),Ft=Object(ge.useRef)(!1),Ct=Object(ge.useRef)(),An=Object(ge.useState)(!1),cn=Object(P.a)(An,2),Zt=cn[0],ui=cn[1];function Bn(){var st;return mn.current&&(st=new he.default(function(ct){var ot=Object(Oe.a)(ct),xt;try{for(ot.s();!(xt=ot.n()).done;){var St=xt.value;(St.target.offsetHeight>0||St.target.offsetWidth>0)&&ft.current.instance.layout()}}catch(Bt){ot.e(Bt)}finally{ot.f()}}),st.observe(mn.current)),st}function ei(){ze.b.warn(decodeURIComponent(N))}var yi=function(){var ct=ft.current.instance;if(ue!=null&&ct&&Zt){var ot=ct.getModel();ot&&ue!==ot.getValue()&&(C=!0,ot.setValue(ue),ct.layout(),C=!1)}};Object(ge.useEffect)(function(){At.current&&clearTimeout(At.current),At.current=setTimeout(function(){yi()},500)},[ue,Zt,ft.current]),Object(ge.useEffect)(function(){if(Dt&&ft.current&&ft.current.instance){var st=ft.current.instance;st.changeViewZones(function(ot){var xt=document.createElement("div");xt.style.padding="10px 20px",xt.style.width="calc(100% - 20px)",xt.className="my-error-line-wrp",xt.innerHTML=Ge,ot.addZone({afterLineNumber:Dt||11,heightInLines:3,domNode:xt})});var ct={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};st.addOverlayWidget(ct),st.revealPositionInCenter({lineNumber:20,column:1})}},[Dt,ft.current,Zt]);function qi(){var st=ft.current.instance;if(st){var ct=st.getSelection(),ot=ft.current.pastePos||{},xt=new I.Range(ot.startLineNumber||ct.endLineNumber,ot.startColumn||ct.endColumn,ot.endLineNumber||ct.endLineNumber,ot.endColumn||ct.endColumn);setTimeout(function(){st.executeEdits("",[{range:xt,text:""}])},300)}}function Ii(st){(window.navigator.platform.match("Mac")?st.metaKey:st.ctrlKey)&&st.keyCode==83&&(st.preventDefault(),Te())}var ji=function(){if(Ie&&ft.current.instance){var ct=ft.current.instance.getContentHeight();nt(ct<oe?oe:ct)}else nt(oe)};function ia(st){var ct=document.createEvent("MouseEvents");ct.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),st.dispatchEvent(ct)}function mt(st,ct){var ot=window.URL||window.webkitURL||window,xt=new Blob([ct]),St=document.createElementNS("http://www.w3.org/1999/xhtml","a");St.href=ot.createObjectURL(xt),St.download=st,ia(St)}Object(ge.useEffect)(function(){ji()},[ji]),Object(ge.useEffect)(function(){mn.current&&!Zt&&u.e(27).then(u.t.bind(null,"M/lh",7)).then(function(st){try{I=st,ft.current.instance=I.editor.create(mn.current,{value:ue,language:Le(re),theme:T,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0},v);var ct=ft.current.instance;if(ht(ct,I),setTimeout(function(){ji(),ft.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){mt(jt||"educoder.txt",ct.getValue())}})},500),ft.current.subscription=ct.onDidChangeModelContent(function(xt){Ft.current?clearTimeout(Ct.current):(ji(),qe(ct.getValue(),xt)),Ct.current=setTimeout(function(){Ft.current=!1},500)}),window.Monaco||fe(I),We&&(ct.addCommand(I.KeyMod.CtrlCmd|I.KeyMod.Shift|I.KeyCode.KEY_V,function(){return ei(),null}),ct.addCommand(I.KeyMod.CtrlCmd|I.KeyCode.KEY_C,function(){return ei(),null})),window.Monaco=I,ie&&ct.onDidBlurEditorWidget(function(){ie(ct.getValue())}),dt&&ct.onDidFocusEditorText(function(){dt(ct.getValue())}),We){ct.addCommand(I.KeyMod.CtrlCmd|I.KeyCode.KEY_V,function(){return ei(),null}),ct.onDidPaste(function(xt){ft.current.pastePos=xt});try{window.addEventListener("paste",qi)}catch(xt){}}var ot=Bn();return ui(!0),function(){var xt=ft.current.instance;xt.dispose();var St=xt.getModel();St&&St.dispose(),ft.current.subscription&&ft.current.subscription.dispose(),We&&window.removeEventListener("paste",qi),ot.unobserve(mn.current)}}catch(xt){}})},[]),Object(ge.useEffect)(function(){var st=ft.current.instance;if(st&&Zt)return document.addEventListener("keydown",Ii,!1),function(){document.removeEventListener("keydown",Ii)}},[Te,Zt]),Object(ge.useEffect)(function(){var st=ft.current.instance;if(st&&Zt){var ct=Le(re);I.editor.setModelLanguage(st.getModel(),ct),console.log("language:",re,st.getModel(),ct)}},[re,Zt]),Object(ge.useEffect)(function(){var st=ft.current.instance;st&&Zt&&I.editor.setTheme(T)},[T,Zt]),Object(ge.useEffect)(function(){var st=ft.current.instance;st&&Zt&&(st.updateOptions(Object(we.a)({},X)),setTimeout(function(){st.getModel().updateOptions(Object(we.a)({},X))},200))},[JSON.stringify(X),Zt]),Object(ge.useEffect)(function(){var st=ft.current.instance;st&&Zt&&st.layout()},[O,oe,Zt]);var Be=Object(ge.useState)(ae(O)),Ot=Object(P.a)(Be,2),tn=Ot[0],qt=Ot[1],Ln=Object(ge.useState)(ae(oe)),On=Object(P.a)(Ln,2),Vt=On[0],nt=On[1],ut=Object(we.a)(Object(we.a)({},z),{},{width:tn,height:Vt});return _e.a.createElement("div",{className:"my-monaco-editor",ref:mn,style:ut})};function L(y){var c=y.width,O=c===void 0?"100%":c,S=y.height,oe=S===void 0?"100%":S,ue=y.original,pe=y.modified,re=y.language,H=y.options,z=H===void 0?{}:H,le=Object(ge.useRef)(),X=Object(ge.useState)(null),ce=Object(P.a)(X,2),v=ce[0],k=ce[1];function T(Ie){var ke;return le.current&&(ke=new he.default(function(We){var Ze=Object(Oe.a)(We),qe;try{for(Ze.s();!(qe=Ze.n()).done;){var tt=qe.value;(tt.target.offsetHeight>0||tt.target.offsetWidth>0)&&Ie.layout()}}catch(ht){Ze.e(ht)}finally{Ze.f()}}),ke.observe(le.current)),ke}Object(ge.useEffect)(function(){le.current&&u.e(27).then(u.t.bind(null,"M/lh",7)).then(function(Ie){I=Ie;var ke=I.editor.createDiffEditor(le.current,Object(we.a)(Object(we.a)({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",ignoreTrimWhitespace:!1,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},z),{},{wordWrap:!0}));k(ke);var We=T(ke);return function(){ke.dispose();var Ze=ke.getModel();Ze&&Ze.dispose(),We.unobserve(le.current)}})},[]),Object(ge.useEffect)(function(){v&&v.setModel({original:I.editor.createModel(ue,re),modified:I.editor.createModel(pe,re)})},[ue,pe,re,v]);var ie=ae(O),Te=ae(oe),Ce={width:ie,height:Te};return _e.a.createElement("div",{className:"my-diff-editor",ref:le,style:Ce})}},ZpRC:function(xe,ye,u){"use strict";function we(w){return typeof w=="object"&&w!=null&&w.nodeType===1}function Ee(w,E){return(!E||w!=="hidden")&&w!=="visible"&&w!=="clip"}function ze(w,E){if(w.clientHeight<w.scrollHeight||w.clientWidth<w.scrollWidth){var s=getComputedStyle(w,null);return Ee(s.overflowY,E)||Ee(s.overflowX,E)||function(h){var l=function(f){if(!f.ownerDocument||!f.ownerDocument.defaultView)return null;try{return f.ownerDocument.defaultView.frameElement}catch(x){return null}}(h);return!!l&&(l.clientHeight<h.scrollHeight||l.clientWidth<h.scrollWidth)}(w)}return!1}function Oe(w,E,s,h,l,f,x,K){return f<w&&x>E||f>w&&x<E?0:f<=w&&K<=s||x>=E&&K>=s?f-w-h:x>E&&K<s||f<w&&K>s?x-E+l:0}var P=function(w,E){var s=window,h=E.scrollMode,l=E.block,f=E.inline,x=E.boundary,K=E.skipOverflowHiddenElements,A=typeof x=="function"?x:function(ke){return ke!==x};if(!we(w))throw new TypeError("Invalid target");for(var D=document.scrollingElement||document.documentElement,ee=[],te=w;we(te)&&A(te);){if((te=te.parentElement)===D){ee.push(te);break}te!=null&&te===document.body&&ze(te)&&!ze(document.documentElement)||te!=null&&ze(te,K)&&ee.push(te)}for(var V=s.visualViewport?s.visualViewport.width:innerWidth,Y=s.visualViewport?s.visualViewport.height:innerHeight,fe=window.scrollX||pageXOffset,N=window.scrollY||pageYOffset,W=w.getBoundingClientRect(),b=W.height,ae=W.width,G=W.top,C=W.right,q=W.bottom,Le=W.left,I=l==="start"||l==="nearest"?G:l==="end"?q:G+b/2,Z=f==="center"?Le+ae/2:f==="end"?C:Le,L=[],y=0;y<ee.length;y++){var c=ee[y],O=c.getBoundingClientRect(),S=O.height,oe=O.width,ue=O.top,pe=O.right,re=O.bottom,H=O.left;if(h==="if-needed"&&G>=0&&Le>=0&&q<=Y&&C<=V&&G>=ue&&q<=re&&Le>=H&&C<=pe)return L;var z=getComputedStyle(c),le=parseInt(z.borderLeftWidth,10),X=parseInt(z.borderTopWidth,10),ce=parseInt(z.borderRightWidth,10),v=parseInt(z.borderBottomWidth,10),k=0,T=0,ie="offsetWidth"in c?c.offsetWidth-c.clientWidth-le-ce:0,Te="offsetHeight"in c?c.offsetHeight-c.clientHeight-X-v:0;if(D===c)k=l==="start"?I:l==="end"?I-Y:l==="nearest"?Oe(N,N+Y,Y,X,v,N+I,N+I+b,b):I-Y/2,T=f==="start"?Z:f==="center"?Z-V/2:f==="end"?Z-V:Oe(fe,fe+V,V,le,ce,fe+Z,fe+Z+ae,ae),k=Math.max(0,k+N),T=Math.max(0,T+fe);else{k=l==="start"?I-ue-X:l==="end"?I-re+v+Te:l==="nearest"?Oe(ue,re,S,X,v+Te,I,I+b,b):I-(ue+S/2)+Te/2,T=f==="start"?Z-H-le:f==="center"?Z-(H+oe/2)+ie/2:f==="end"?Z-pe+ce+ie:Oe(H,pe,oe,le,ce+ie,Z,Z+ae,ae);var Ce=c.scrollLeft,Ie=c.scrollTop;I+=Ie-(k=Math.max(0,Math.min(Ie+k,c.scrollHeight-S+Te))),Z+=Ce-(T=Math.max(0,Math.min(Ce+T,c.scrollWidth-oe+ie)))}L.push({el:c,top:k,left:T})}return L};function Ae(w){return w===Object(w)&&Object.keys(w).length!==0}function ge(w,E){E===void 0&&(E="auto");var s="scrollBehavior"in document.body.style;w.forEach(function(h){var l=h.el,f=h.top,x=h.left;l.scroll&&s?l.scroll({top:f,left:x,behavior:E}):(l.scrollTop=f,l.scrollLeft=x)})}function _e(w){return w===!1?{block:"end",inline:"nearest"}:Ae(w)?w:{block:"start",inline:"nearest"}}function he(w,E){var s=!w.ownerDocument.documentElement.contains(w);if(Ae(E)&&typeof E.behavior=="function")return E.behavior(s?[]:P(w,E));if(s)return;var h=_e(E);return ge(P(w,h),h.behavior)}var M=ye.a=he},Zss7:function(xe,ye,u){var we;(function(Ee){var ze=/^\s+/,Oe=/\s+$/,P=0,Ae=Ee.round,ge=Ee.min,_e=Ee.max,he=Ee.random;function M(v,k){if(v=v||"",k=k||{},v instanceof M)return v;if(!(this instanceof M))return new M(v,k);var T=w(v);this._originalInput=v,this._r=T.r,this._g=T.g,this._b=T.b,this._a=T.a,this._roundA=Ae(100*this._a)/100,this._format=k.format||T.format,this._gradientType=k.gradientType,this._r<1&&(this._r=Ae(this._r)),this._g<1&&(this._g=Ae(this._g)),this._b<1&&(this._b=Ae(this._b)),this._ok=T.ok,this._tc_id=P++}M.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var v=this.toRgb();return(v.r*299+v.g*587+v.b*114)/1e3},getLuminance:function(){var v=this.toRgb(),k,T,ie,Te,Ce,Ie;return k=v.r/255,T=v.g/255,ie=v.b/255,k<=.03928?Te=k/12.92:Te=Ee.pow((k+.055)/1.055,2.4),T<=.03928?Ce=T/12.92:Ce=Ee.pow((T+.055)/1.055,2.4),ie<=.03928?Ie=ie/12.92:Ie=Ee.pow((ie+.055)/1.055,2.4),.2126*Te+.7152*Ce+.0722*Ie},setAlpha:function(v){return this._a=L(v),this._roundA=Ae(100*this._a)/100,this},toHsv:function(){var v=l(this._r,this._g,this._b);return{h:v.h*360,s:v.s,v:v.v,a:this._a}},toHsvString:function(){var v=l(this._r,this._g,this._b),k=Ae(v.h*360),T=Ae(v.s*100),ie=Ae(v.v*100);return this._a==1?"hsv("+k+", "+T+"%, "+ie+"%)":"hsva("+k+", "+T+"%, "+ie+"%, "+this._roundA+")"},toHsl:function(){var v=s(this._r,this._g,this._b);return{h:v.h*360,s:v.s,l:v.l,a:this._a}},toHslString:function(){var v=s(this._r,this._g,this._b),k=Ae(v.h*360),T=Ae(v.s*100),ie=Ae(v.l*100);return this._a==1?"hsl("+k+", "+T+"%, "+ie+"%)":"hsla("+k+", "+T+"%, "+ie+"%, "+this._roundA+")"},toHex:function(v){return x(this._r,this._g,this._b,v)},toHexString:function(v){return"#"+this.toHex(v)},toHex8:function(v){return K(this._r,this._g,this._b,this._a,v)},toHex8String:function(v){return"#"+this.toHex8(v)},toRgb:function(){return{r:Ae(this._r),g:Ae(this._g),b:Ae(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Ae(this._r)+", "+Ae(this._g)+", "+Ae(this._b)+")":"rgba("+Ae(this._r)+", "+Ae(this._g)+", "+Ae(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Ae(y(this._r,255)*100)+"%",g:Ae(y(this._g,255)*100)+"%",b:Ae(y(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Ae(y(this._r,255)*100)+"%, "+Ae(y(this._g,255)*100)+"%, "+Ae(y(this._b,255)*100)+"%)":"rgba("+Ae(y(this._r,255)*100)+"%, "+Ae(y(this._g,255)*100)+"%, "+Ae(y(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:I[x(this._r,this._g,this._b,!0)]||!1},toFilter:function(v){var k="#"+A(this._r,this._g,this._b,this._a),T=k,ie=this._gradientType?"GradientType = 1, ":"";if(v){var Te=M(v);T="#"+A(Te._r,Te._g,Te._b,Te._a)}return"progid:DXImageTransform.Microsoft.gradient("+ie+"startColorstr="+k+",endColorstr="+T+")"},toString:function(v){var k=!!v;v=v||this._format;var T=!1,ie=this._a<1&&this._a>=0,Te=!k&&ie&&(v==="hex"||v==="hex6"||v==="hex3"||v==="hex4"||v==="hex8"||v==="name");return Te?v==="name"&&this._a===0?this.toName():this.toRgbString():(v==="rgb"&&(T=this.toRgbString()),v==="prgb"&&(T=this.toPercentageRgbString()),(v==="hex"||v==="hex6")&&(T=this.toHexString()),v==="hex3"&&(T=this.toHexString(!0)),v==="hex4"&&(T=this.toHex8String(!0)),v==="hex8"&&(T=this.toHex8String()),v==="name"&&(T=this.toName()),v==="hsl"&&(T=this.toHslString()),v==="hsv"&&(T=this.toHsvString()),T||this.toHexString())},clone:function(){return M(this.toString())},_applyModification:function(v,k){var T=v.apply(null,[this].concat([].slice.call(k)));return this._r=T._r,this._g=T._g,this._b=T._b,this.setAlpha(T._a),this},lighten:function(){return this._applyModification(V,arguments)},brighten:function(){return this._applyModification(Y,arguments)},darken:function(){return this._applyModification(fe,arguments)},desaturate:function(){return this._applyModification(D,arguments)},saturate:function(){return this._applyModification(ee,arguments)},greyscale:function(){return this._applyModification(te,arguments)},spin:function(){return this._applyModification(N,arguments)},_applyCombination:function(v,k){return v.apply(null,[this].concat([].slice.call(k)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(W,arguments)},monochromatic:function(){return this._applyCombination(q,arguments)},splitcomplement:function(){return this._applyCombination(G,arguments)},triad:function(){return this._applyCombination(b,arguments)},tetrad:function(){return this._applyCombination(ae,arguments)}},M.fromRatio=function(v,k){if(typeof v=="object"){var T={};for(var ie in v)v.hasOwnProperty(ie)&&(ie==="a"?T[ie]=v[ie]:T[ie]=pe(v[ie]));v=T}return M(v,k)};function w(v){var k={r:0,g:0,b:0},T=1,ie=null,Te=null,Ce=null,Ie=!1,ke=!1;return typeof v=="string"&&(v=X(v)),typeof v=="object"&&(le(v.r)&&le(v.g)&&le(v.b)?(k=E(v.r,v.g,v.b),Ie=!0,ke=String(v.r).substr(-1)==="%"?"prgb":"rgb"):le(v.h)&&le(v.s)&&le(v.v)?(ie=pe(v.s),Te=pe(v.v),k=f(v.h,ie,Te),Ie=!0,ke="hsv"):le(v.h)&&le(v.s)&&le(v.l)&&(ie=pe(v.s),Ce=pe(v.l),k=h(v.h,ie,Ce),Ie=!0,ke="hsl"),v.hasOwnProperty("a")&&(T=v.a)),T=L(T),{ok:Ie,format:v.format||ke,r:ge(255,_e(k.r,0)),g:ge(255,_e(k.g,0)),b:ge(255,_e(k.b,0)),a:T}}function E(v,k,T){return{r:y(v,255)*255,g:y(k,255)*255,b:y(T,255)*255}}function s(v,k,T){v=y(v,255),k=y(k,255),T=y(T,255);var ie=_e(v,k,T),Te=ge(v,k,T),Ce,Ie,ke=(ie+Te)/2;if(ie==Te)Ce=Ie=0;else{var We=ie-Te;Ie=ke>.5?We/(2-ie-Te):We/(ie+Te);switch(ie){case v:Ce=(k-T)/We+(k<T?6:0);break;case k:Ce=(T-v)/We+2;break;case T:Ce=(v-k)/We+4;break}Ce/=6}return{h:Ce,s:Ie,l:ke}}function h(v,k,T){var ie,Te,Ce;v=y(v,360),k=y(k,100),T=y(T,100);function Ie(Ze,qe,tt){return tt<0&&(tt+=1),tt>1&&(tt-=1),tt<1/6?Ze+(qe-Ze)*6*tt:tt<1/2?qe:tt<2/3?Ze+(qe-Ze)*(2/3-tt)*6:Ze}if(k===0)ie=Te=Ce=T;else{var ke=T<.5?T*(1+k):T+k-T*k,We=2*T-ke;ie=Ie(We,ke,v+1/3),Te=Ie(We,ke,v),Ce=Ie(We,ke,v-1/3)}return{r:ie*255,g:Te*255,b:Ce*255}}function l(v,k,T){v=y(v,255),k=y(k,255),T=y(T,255);var ie=_e(v,k,T),Te=ge(v,k,T),Ce,Ie,ke=ie,We=ie-Te;if(Ie=ie===0?0:We/ie,ie==Te)Ce=0;else{switch(ie){case v:Ce=(k-T)/We+(k<T?6:0);break;case k:Ce=(T-v)/We+2;break;case T:Ce=(v-k)/We+4;break}Ce/=6}return{h:Ce,s:Ie,v:ke}}function f(v,k,T){v=y(v,360)*6,k=y(k,100),T=y(T,100);var ie=Ee.floor(v),Te=v-ie,Ce=T*(1-k),Ie=T*(1-Te*k),ke=T*(1-(1-Te)*k),We=ie%6,Ze=[T,Ie,Ce,Ce,ke,T][We],qe=[ke,T,T,Ie,Ce,Ce][We],tt=[Ce,Ce,ke,T,T,Ie][We];return{r:Ze*255,g:qe*255,b:tt*255}}function x(v,k,T,ie){var Te=[ue(Ae(v).toString(16)),ue(Ae(k).toString(16)),ue(Ae(T).toString(16))];return ie&&Te[0].charAt(0)==Te[0].charAt(1)&&Te[1].charAt(0)==Te[1].charAt(1)&&Te[2].charAt(0)==Te[2].charAt(1)?Te[0].charAt(0)+Te[1].charAt(0)+Te[2].charAt(0):Te.join("")}function K(v,k,T,ie,Te){var Ce=[ue(Ae(v).toString(16)),ue(Ae(k).toString(16)),ue(Ae(T).toString(16)),ue(re(ie))];return Te&&Ce[0].charAt(0)==Ce[0].charAt(1)&&Ce[1].charAt(0)==Ce[1].charAt(1)&&Ce[2].charAt(0)==Ce[2].charAt(1)&&Ce[3].charAt(0)==Ce[3].charAt(1)?Ce[0].charAt(0)+Ce[1].charAt(0)+Ce[2].charAt(0)+Ce[3].charAt(0):Ce.join("")}function A(v,k,T,ie){var Te=[ue(re(ie)),ue(Ae(v).toString(16)),ue(Ae(k).toString(16)),ue(Ae(T).toString(16))];return Te.join("")}M.equals=function(v,k){return!v||!k?!1:M(v).toRgbString()==M(k).toRgbString()},M.random=function(){return M.fromRatio({r:he(),g:he(),b:he()})};function D(v,k){k=k===0?0:k||10;var T=M(v).toHsl();return T.s-=k/100,T.s=c(T.s),M(T)}function ee(v,k){k=k===0?0:k||10;var T=M(v).toHsl();return T.s+=k/100,T.s=c(T.s),M(T)}function te(v){return M(v).desaturate(100)}function V(v,k){k=k===0?0:k||10;var T=M(v).toHsl();return T.l+=k/100,T.l=c(T.l),M(T)}function Y(v,k){k=k===0?0:k||10;var T=M(v).toRgb();return T.r=_e(0,ge(255,T.r-Ae(255*-(k/100)))),T.g=_e(0,ge(255,T.g-Ae(255*-(k/100)))),T.b=_e(0,ge(255,T.b-Ae(255*-(k/100)))),M(T)}function fe(v,k){k=k===0?0:k||10;var T=M(v).toHsl();return T.l-=k/100,T.l=c(T.l),M(T)}function N(v,k){var T=M(v).toHsl(),ie=(T.h+k)%360;return T.h=ie<0?360+ie:ie,M(T)}function W(v){var k=M(v).toHsl();return k.h=(k.h+180)%360,M(k)}function b(v){var k=M(v).toHsl(),T=k.h;return[M(v),M({h:(T+120)%360,s:k.s,l:k.l}),M({h:(T+240)%360,s:k.s,l:k.l})]}function ae(v){var k=M(v).toHsl(),T=k.h;return[M(v),M({h:(T+90)%360,s:k.s,l:k.l}),M({h:(T+180)%360,s:k.s,l:k.l}),M({h:(T+270)%360,s:k.s,l:k.l})]}function G(v){var k=M(v).toHsl(),T=k.h;return[M(v),M({h:(T+72)%360,s:k.s,l:k.l}),M({h:(T+216)%360,s:k.s,l:k.l})]}function C(v,k,T){k=k||6,T=T||30;var ie=M(v).toHsl(),Te=360/T,Ce=[M(v)];for(ie.h=(ie.h-(Te*k>>1)+720)%360;--k;)ie.h=(ie.h+Te)%360,Ce.push(M(ie));return Ce}function q(v,k){k=k||6;for(var T=M(v).toHsv(),ie=T.h,Te=T.s,Ce=T.v,Ie=[],ke=1/k;k--;)Ie.push(M({h:ie,s:Te,v:Ce})),Ce=(Ce+ke)%1;return Ie}M.mix=function(v,k,T){T=T===0?0:T||50;var ie=M(v).toRgb(),Te=M(k).toRgb(),Ce=T/100,Ie={r:(Te.r-ie.r)*Ce+ie.r,g:(Te.g-ie.g)*Ce+ie.g,b:(Te.b-ie.b)*Ce+ie.b,a:(Te.a-ie.a)*Ce+ie.a};return M(Ie)},M.readability=function(v,k){var T=M(v),ie=M(k);return(Ee.max(T.getLuminance(),ie.getLuminance())+.05)/(Ee.min(T.getLuminance(),ie.getLuminance())+.05)},M.isReadable=function(v,k,T){var ie=M.readability(v,k),Te,Ce;Ce=!1,Te=ce(T);switch(Te.level+Te.size){case"AAsmall":case"AAAlarge":Ce=ie>=4.5;break;case"AAlarge":Ce=ie>=3;break;case"AAAsmall":Ce=ie>=7;break}return Ce},M.mostReadable=function(v,k,T){var ie=null,Te=0,Ce,Ie,ke,We;T=T||{},Ie=T.includeFallbackColors,ke=T.level,We=T.size;for(var Ze=0;Ze<k.length;Ze++)Ce=M.readability(v,k[Ze]),Ce>Te&&(Te=Ce,ie=M(k[Ze]));return M.isReadable(v,ie,{level:ke,size:We})||!Ie?ie:(T.includeFallbackColors=!1,M.mostReadable(v,["#fff","#000"],T))};var Le=M.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},I=M.hexNames=Z(Le);function Z(v){var k={};for(var T in v)v.hasOwnProperty(T)&&(k[v[T]]=T);return k}function L(v){return v=parseFloat(v),(isNaN(v)||v<0||v>1)&&(v=1),v}function y(v,k){S(v)&&(v="100%");var T=oe(v);return v=ge(k,_e(0,parseFloat(v))),T&&(v=parseInt(v*k,10)/100),Ee.abs(v-k)<1e-6?1:v%k/parseFloat(k)}function c(v){return ge(1,_e(0,v))}function O(v){return parseInt(v,16)}function S(v){return typeof v=="string"&&v.indexOf(".")!=-1&&parseFloat(v)===1}function oe(v){return typeof v=="string"&&v.indexOf("%")!=-1}function ue(v){return v.length==1?"0"+v:""+v}function pe(v){return v<=1&&(v=v*100+"%"),v}function re(v){return Ee.round(parseFloat(v)*255).toString(16)}function H(v){return O(v)/255}var z=function(){var v="[-\\+]?\\d+%?",k="[-\\+]?\\d*\\.\\d+%?",T="(?:"+k+")|(?:"+v+")",ie="[\\s|\\(]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",Te="[\\s|\\(]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?";return{CSS_UNIT:new RegExp(T),rgb:new RegExp("rgb"+ie),rgba:new RegExp("rgba"+Te),hsl:new RegExp("hsl"+ie),hsla:new RegExp("hsla"+Te),hsv:new RegExp("hsv"+ie),hsva:new RegExp("hsva"+Te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function le(v){return!!z.CSS_UNIT.exec(v)}function X(v){v=v.replace(ze,"").replace(Oe,"").toLowerCase();var k=!1;if(Le[v])v=Le[v],k=!0;else if(v=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var T;return(T=z.rgb.exec(v))?{r:T[1],g:T[2],b:T[3]}:(T=z.rgba.exec(v))?{r:T[1],g:T[2],b:T[3],a:T[4]}:(T=z.hsl.exec(v))?{h:T[1],s:T[2],l:T[3]}:(T=z.hsla.exec(v))?{h:T[1],s:T[2],l:T[3],a:T[4]}:(T=z.hsv.exec(v))?{h:T[1],s:T[2],v:T[3]}:(T=z.hsva.exec(v))?{h:T[1],s:T[2],v:T[3],a:T[4]}:(T=z.hex8.exec(v))?{r:O(T[1]),g:O(T[2]),b:O(T[3]),a:H(T[4]),format:k?"name":"hex8"}:(T=z.hex6.exec(v))?{r:O(T[1]),g:O(T[2]),b:O(T[3]),format:k?"name":"hex"}:(T=z.hex4.exec(v))?{r:O(T[1]+""+T[1]),g:O(T[2]+""+T[2]),b:O(T[3]+""+T[3]),a:H(T[4]+""+T[4]),format:k?"name":"hex8"}:(T=z.hex3.exec(v))?{r:O(T[1]+""+T[1]),g:O(T[2]+""+T[2]),b:O(T[3]+""+T[3]),format:k?"name":"hex"}:!1}function ce(v){var k,T;return v=v||{level:"AA",size:"small"},k=(v.level||"AA").toUpperCase(),T=(v.size||"small").toLowerCase(),k!=="AA"&&k!=="AAA"&&(k="AA"),T!=="small"&&T!=="large"&&(T="small"),{level:k,size:T}}xe.exports?xe.exports=M:!(we=function(){return M}.call(ye,u,ye,xe),we!==void 0&&(xe.exports=we))})(Math)},aBPH:function(xe,ye,u){xe.exports={wrap:"wrap___1eujs",modal:"modal___3NBln",title:"title___26WI_",path:"path___HzdTG",colorBlue:"colorBlue___3sufs",width240:"width240___DJhZ8",filePath:"filePath___13aFg"}},bT9E:function(xe,ye,u){"use strict";u.d(ye,"a",function(){return Ee});var we=u("VTBJ");function Ee(ze,Oe){var P=Object(we.a)({},ze);return Array.isArray(Oe)&&Oe.forEach(function(Ae){delete P[Ae]}),P}},c5Ni:function(xe,ye,u){},cRFk:function(xe,ye,u){xe.exports=u.p+"static/RepositoryNoneData.828085a8.png"},ch0t:function(xe,ye,u){"use strict";u.r(ye);var we=u("+L6B"),Ee=u("2/Rp"),ze=u("T2oS"),Oe=u("W9HT"),P=u("14J3"),Ae=u("BMrR"),ge=u("2qtc"),_e=u("kLXV"),he=u("jCWc"),M=u("kPKH"),w=u("qVdP"),E=u("jsC+"),s=u("k1fw"),h=u("lUTK"),l=u("BvKs"),f=u("9og8"),x=u("miYZ"),K=u("tsqr"),A=u("5Dmo"),D=u("3S7+"),ee=u("tJVT"),te=u("PpiC"),V=u("Znn+"),Y=u("ZTPi"),fe=u("WmNS"),N=u.n(fe),W=u("cDcd"),b=u.n(W),ae=u("B6bo"),G=u.n(ae),C=u("Ty5D"),q=u("9kvl"),Le=u("BoS7"),I=u("Sdc0"),Z=u("oBTY"),L=u("ozfa"),y=u("MJZm"),c=u("P5Jw"),O=u("5NDa"),S=u("5rEg"),oe=u("y8nQ"),ue=u("Vl3Y"),pe=u("aBPH"),re=u.n(pe),H=function(Be){var Ot=Be.shixunsDetail,tn=Be.globalSetting,qt=Be.loading,Ln=Be.user,On=Be.dispatch,Vt=Be.isRepository,nt=Object(te.a)(Be,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]),ut=Object(C.h)(),st=Object(C.i)(),ct=Object(W.useState)({}),ot=Object(ee.a)(ct,2),xt=ot[0],St=ot[1],Bt=Object(W.useRef)(),wt=ue.a.useForm(),pt=Object(ee.a)(wt,1),Ue=pt[0],gn=Object(W.useState)(""),nn=Object(ee.a)(gn,2),Cn=nn[0],Tt=nn[1];Object(W.useEffect)(function(){nt.visible&&Ue.resetFields()},[nt.visible]),Object(W.useEffect)(function(){var Me=sessionStorage.getItem("pathArray");if(Me){var Se=Me.split(",").join("/"),He=Se.indexOf("/")===0?Se.substr(1):Se;Tt(He)}},[]),Object(W.useEffect)(function(){var Me,Se;Bt.current=(Me=ut.pathname)===null||Me===void 0||((Se=Me.split("/"))===null||Se===void 0)?void 0:Se[2]},[]);var bn=function(){var Me=Object(f.a)(N.a.mark(function Se(){var He,ln,Wt=arguments;return N.a.wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:return He=Wt.length>0&&Wt[0]!==void 0?Wt[0]:{},bt.next=3,On({type:"shixunsDetail/addRepositoryFile",payload:{id:st.id,message:He.commitMessage,content:"",path:(nt.defaultPath?nt.defaultPath+"/":"")+He.path+"/"+(He.file||".gitkeep"),secret_repository:Vt?void 0:!0}});case 3:ln=bt.sent,ln!=null&&ln.url&&(K.b.success("\u6DFB\u52A0\u6210\u529F"),nt.onOK({path:(nt.defaultPath?nt.defaultPath+"/":"")+He.path+"/"+(He.file||".gitkeep"),name:He.path.split("/")[He.path.split("/").length-1]}),nt.onClose());case 5:case"end":return bt.stop()}},Se)}));return function(){return Me.apply(this,arguments)}}(),Rt=function(){var Se,He;q.d.push("/shixuns/".concat(Bt.current,"/").concat((Se=ut.pathname)===null||Se===void 0||((He=Se.split("/"))===null||He===void 0)?void 0:He[3]).concat(Cn?"/master/shixun_show/".concat(Cn):""))};return b.a.createElement(_e.a,{width:"60%",centered:!0,visible:nt.visible,wrapClassName:re.a.modal,onOk:function(){Ue.submit()},onCancel:nt.onClose,title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},b.a.createElement("section",{className:re.a.bg},b.a.createElement("div",{className:re.a.wrap},b.a.createElement(ue.a,{className:"mt10",form:Ue,scrollToFirstError:!0,layout:"vertical",onFinish:bn,onChange:function(){var Se,He,ln,Wt,Nt=Object(s.a)({},Ue.getFieldsValue()),bt=Nt==null||((Se=Nt.path)===null||Se===void 0)?void 0:Se.split(""),Sn=Nt==null||((He=Nt.file)===null||He===void 0)?void 0:He.split("");bt!=null&&(ln=bt.filter(function(Xe){return Xe=="/"}))!==null&&ln!==void 0&&ln.length&&(Nt.path=Nt.path.substring(0,Nt.path.length-1)),Sn!=null&&(Wt=Sn.filter(function(Xe){return Xe=="/"}))!==null&&Wt!==void 0&&Wt.length&&(Nt.file=Nt.file.substring(0,Nt.path.length-1)),Ue.setFieldsValue(Object(s.a)({},Nt)),St(Nt)}},b.a.createElement(ue.a.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0\uFF1A",name:"path"},b.a.createElement(Ae.a,null,b.a.createElement(M.a,null,b.a.createElement("span",{className:re.a.filePath},nt.defaultPath+"/")),b.a.createElement(M.a,{flex:"1"},b.a.createElement(ue.a.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.a.createElement(S.a,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",size:"large"}))))),b.a.createElement(ue.a.Item,{label:"\u6587\u4EF6\u540D\u79F0\uFF1A",name:"file"},b.a.createElement(S.a,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0\uFF0C\u5982\u679C\u4E0D\u586B\u5199\u7CFB\u7EDF\u5C06\u5728\u6587\u4EF6\u5939\u4E0B\u521B\u5EFA.gitkeep\u7684\u9ED8\u8BA4\u6587\u4EF6",size:"large"})),b.a.createElement(ue.a.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.a.createElement(S.a,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"large"}))))))},z=Object(q.a)(function(mt){var Be=mt.shixunsDetail,Ot=mt.loading,tn=mt.globalSetting,qt=mt.user;return{shixunsDetail:Be,globalSetting:tn,user:qt,loading:Ot.models.index}})(H),le=u("7ahc"),X=function(Be){var Ot=Be.shixunsDetail,tn=Be.globalSetting,qt=Be.loading,Ln=Be.user,On=Be.dispatch,Vt=Be.isRepository,nt=Object(te.a)(Be,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]),ut=Object(C.h)(),st=Object(C.i)(),ct=Object(W.useState)({}),ot=Object(ee.a)(ct,2),xt=ot[0],St=ot[1],Bt=Object(W.useRef)(),wt=ue.a.useForm(),pt=Object(ee.a)(wt,1),Ue=pt[0],gn=Object(W.useState)(""),nn=Object(ee.a)(gn,2),Cn=nn[0],Tt=nn[1];Object(W.useEffect)(function(){nt.visible&&Ue.resetFields()},[nt.visible]),Object(W.useEffect)(function(){var Me=sessionStorage.getItem("pathArray");if(Me){var Se=Me.split(",").join("/"),He=Se.indexOf("/")===0?Se.substr(1):Se;Tt(He)}},[]),Object(W.useEffect)(function(){var Me,Se;Bt.current=(Me=ut.pathname)===null||Me===void 0||((Se=Me.split("/"))===null||Se===void 0)?void 0:Se[2]},[]);var bn=function(){var Me=Object(f.a)(N.a.mark(function Se(){var He,ln,Wt=arguments;return N.a.wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:return He=Wt.length>0&&Wt[0]!==void 0?Wt[0]:{},bt.next=3,On({type:"shixunsDetail/addRepositoryFile",payload:{id:st.id,message:He.commitMessage,content:He.codeMirror,path:(nt.defaultPath?nt.defaultPath+"/":"")+He.path,secret_repository:Vt?void 0:!0}});case 3:ln=bt.sent,ln!=null&&ln.url&&(K.b.success("\u6DFB\u52A0\u6210\u529F"),nt.onOK({path:(nt.defaultPath?nt.defaultPath+"/":"")+He.path,name:He.path.split("/")[He.path.split("/").length-1]}),nt.onClose());case 5:case"end":return bt.stop()}},Se)}));return function(){return Me.apply(this,arguments)}}(),Rt=function(){var Se,He;q.d.push("/shixuns/".concat(Bt.current,"/").concat((Se=ut.pathname)===null||Se===void 0||((He=Se.split("/"))===null||He===void 0)?void 0:He[3]).concat(Cn?"/master/shixun_show/".concat(Cn):""))};return b.a.createElement(_e.a,{width:"60%",visible:nt.visible,wrapClassName:re.a.modal,centered:!0,onOk:function(){Ue.submit()},onCancel:nt.onClose,title:"\u65B0\u5EFA\u6587\u4EF6"},b.a.createElement("section",{className:re.a.bg},b.a.createElement("div",{className:re.a.wrap},b.a.createElement(ue.a,{className:"mt10",form:Ue,scrollToFirstError:!0,layout:"vertical",onFinish:bn,onChange:function(){var Se,He,ln=Object(s.a)({},Ue.getFieldsValue()),Wt=ln==null||((Se=ln.path)===null||Se===void 0)?void 0:Se.split("");(Wt==null||((He=Wt.filter(function(Nt){return Nt=="/"}))===null||He===void 0)?void 0:He.length)>1&&(ln.path=ln.path.substring(0,ln.path.length-1)),Ue.setFieldsValue(Object(s.a)({},ln)),St(ln)}},b.a.createElement(ue.a.Item,{label:"\u6587\u4EF6\u540D\u79F0\u6216\u6587\u4EF6\u8DEF\u5F84\uFF1A",name:"path"},b.a.createElement(Ae.a,null,b.a.createElement(M.a,null,b.a.createElement("span",{className:re.a.filePath},nt.defaultPath+"/")),b.a.createElement(M.a,{flex:"1"},b.a.createElement(ue.a.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.a.createElement(S.a,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"large"}))))),b.a.createElement(ue.a.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.a.createElement(S.a,{placeholder:"\u8BF7\u8F93\u5165\u672C\u6B21\u63D0\u4EA4\u7684\u4E3B\u8981\u4FE1\u606F\uFF0C\u5408\u7406\u7684\u63CF\u8FF0\u4FE1\u606F\u6709\u5229\u4E8E\u4EE3\u7801\u5386\u53F2\u8BB0\u5F55\u7684\u7BA1\u7406",size:"large"})),b.a.createElement("div",{className:"mt10 mb20"},b.a.createElement(ue.a.Item,{name:"codeMirror",label:"\u6587\u4EF6\u5185\u5BB9\uFF1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5185\u5BB9"}]},b.a.createElement(le.a,{options:{modal:"javascript",lineNumbers:!0,theme:"railscasts",indentUnit:4,matchBrackets:!0,autoRefresh:!0,smartIndent:!0,extraKeys:{"Alt-/":"autocomplete"},autofocus:!0,styleActiveLine:!0,lint:!0,linkurl:"",gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]}})))))))},ce=Object(q.a)(function(mt){var Be=mt.shixunsDetail,Ot=mt.loading,tn=mt.globalSetting,qt=mt.user;return{shixunsDetail:Be,globalSetting:tn,user:qt,loading:Ot.models.index}})(X),v=function(Be){var Ot=Be.shixunsDetail,tn=Be.globalSetting,qt=Be.loading,Ln=Be.user,On=Be.dispatch,Vt=Be.isRepository,nt=Object(te.a)(Be,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]),ut=Object(C.h)(),st=Object(C.i)(),ct=Object(W.useState)({}),ot=Object(ee.a)(ct,2),xt=ot[0],St=ot[1],Bt=Object(W.useRef)(),wt=ue.a.useForm(),pt=Object(ee.a)(wt,1),Ue=pt[0],gn=Object(W.useState)(""),nn=Object(ee.a)(gn,2),Cn=nn[0],Tt=nn[1],bn=Object(W.useState)(""),Rt=Object(ee.a)(bn,2),Me=Rt[0],Se=Rt[1];Object(W.useEffect)(function(){nt.visible&&Ue.resetFields()},[nt.visible]),Object(W.useEffect)(function(){var Wt=nt.defaultPath.split("/");Wt.length===1?(Tt(""),Se(nt.defaultPath)):(Se(Wt.pop()),Tt(Wt.join("/")+"/"))},[nt.defaultPath]),Object(W.useEffect)(function(){var Wt,Nt;Bt.current=(Wt=ut.pathname)===null||Wt===void 0||((Nt=Wt.split("/"))===null||Nt===void 0)?void 0:Nt[2]},[]);var He=function(){var Wt=Object(f.a)(N.a.mark(function Nt(){var bt,Sn,Xe=arguments;return N.a.wrap(function(an){for(;;)switch(an.prev=an.next){case 0:return bt=Xe.length>0&&Xe[0]!==void 0?Xe[0]:{},an.next=3,On({type:"shixunsDetail/moveGitFile",payload:{id:st.id,from:nt.defaultPath,to:Cn+bt.path,message:bt.commitMessage||"".concat(nt.defaultPath," rename to ").concat(Cn).concat(bt.path," "),secret_repository:Vt}});case 3:Sn=an.sent,(Sn==null?void 0:Sn.status)===0&&(K.b.success("\u6DFB\u52A0\u6210\u529F"),nt.onOK({path:bt.path,name:bt.path}),nt.onClose());case 5:case"end":return an.stop()}},Nt)}));return function(){return Wt.apply(this,arguments)}}(),ln=function(){var Nt,bt;q.d.push("/shixuns/".concat(Bt.current,"/").concat((Nt=ut.pathname)===null||Nt===void 0||((bt=Nt.split("/"))===null||bt===void 0)?void 0:bt[3]).concat(Cn?"/master/shixun_show/".concat(Cn):""))};return b.a.createElement(_e.a,{width:"40%",visible:nt.visible,wrapClassName:re.a.modal,centered:!0,onOk:function(){Ue.submit()},onCancel:nt.onClose,title:"\u63D0\u4EA4\u8BF4\u660E"},b.a.createElement("section",{className:re.a.bg},b.a.createElement("div",{className:re.a.wrap},b.a.createElement(ue.a,{className:"mt10",form:Ue,scrollToFirstError:!0,layout:"vertical",onFinish:He,onChange:function(){var Nt,bt,Sn=Object(s.a)({},Ue.getFieldsValue()),Xe=Sn==null||((Nt=Sn.path)===null||Nt===void 0)?void 0:Nt.split("");(Xe==null||((bt=Xe.filter(function(Ht){return Ht=="/"}))===null||bt===void 0)?void 0:bt.length)>1&&(Sn.path=Sn.path.substring(0,Sn.path.length-1)),Ue.setFieldsValue(Object(s.a)({},Sn)),St(Sn)}},b.a.createElement(ue.a.Item,{label:"\u91CD\u547D\u540D\uFF1A",name:"path"},b.a.createElement(Ae.a,null,b.a.createElement(M.a,{flex:"1"},b.a.createElement(ue.a.Item,{name:"path",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.a.createElement(S.a,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D\u79F0",size:"large",defaultValue:Me}))))),b.a.createElement(ue.a.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage"},b.a.createElement(S.a,{placeholder:"\u5982\u4E0D\u586B\u5199\uFF0C\u9ED8\u8BA4\u63D0\u4EA4\u4FE1\u606F\u662F\uFF08".concat(nt.defaultPath," rename to \u65B0\u7684\u540D\u79F0 \uFF09"),size:"large"}))))))},k=Object(q.a)(function(mt){var Be=mt.shixunsDetail,Ot=mt.loading,tn=mt.globalSetting,qt=mt.user;return{shixunsDetail:Be,globalSetting:tn,user:qt,loading:Ot.models.index}})(v),T=u("DZo9"),ie=u("8z0m"),Te=u("m3rI"),Ce=u("8j3D"),Ie=u("RC3E"),ke=u.n(Ie),We=ie.a.Dragger,Ze=function(Be){var Ot=Be.shixunsDetail,tn=Be.globalSetting,qt=Be.loading,Ln=Be.user,On=Be.dispatch,Vt=Be.isRepository,nt=Object(te.a)(Be,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]),ut=Object(C.h)(),st=Object(C.i)(),ct=Object(W.useState)({}),ot=Object(ee.a)(ct,2),xt=ot[0],St=ot[1],Bt=Object(W.useRef)(),wt=ue.a.useForm(),pt=Object(ee.a)(wt,1),Ue=pt[0],gn=Object(W.useState)([]),nn=Object(ee.a)(gn,2),Cn=nn[0],Tt=nn[1],bn=Object(W.useState)(),Rt=Object(ee.a)(bn,2),Me=Rt[0],Se=Rt[1],He;Object(W.useEffect)(function(){nt.visible&&(Ue.resetFields(),Tt([]))},[nt.visible]),Object(W.useEffect)(function(){Bt.current=st.id},[]),Object(W.useEffect)(function(){var Xe=sessionStorage.getItem("pathArray");if(Xe){var Ht=Xe.split(",").join("/"),an=Ht.indexOf("/")===0?Ht.substr(1):Ht;Se(an)}},[]);var ln=function(Ht){if(He=Ht.file.name,Ht.file.status==="done"||Ht.file.status==="uploading"){var an,Vn,Kt;if(Tt(Ht.fileList),!Ht.file.response)return;if(((an=Ht.file.response)===null||an===void 0?void 0:an.status)===0){K.b.success("\u4E0A\u4F20\u6210\u529F\uFF01");return}Tt(Cn.filter(function(Jn){return Jn.uid!==Ht.file.uid})),((Vn=Ht.file.response)===null||Vn===void 0?void 0:Vn.message)&&K.b.info((Kt=Ht.file.response)===null||Kt===void 0?void 0:Kt.message)}},Wt=function(){var Xe=Object(f.a)(N.a.mark(function Ht(an){var Vn;return N.a.wrap(function(Jn){for(;;)switch(Jn.prev=Jn.next){case 0:if(an.response){Jn.next=3;break}return K.b.info("\u8FD8\u672A\u4E0A\u4F20\u5B8C\u6210\uFF0C\u65E0\u6CD5\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\uFF01"),Jn.abrupt("return");case 3:return Jn.next=5,On({type:"shixunsDetail/deleteGitFile",payload:{id:st.id,path:Me?"".concat(Me,"/").concat(an.name):an.name,message:Ue.getFieldValue("commitMessage")||"\u5220\u9664\u4E86".concat(Me?"".concat(Me,"/").concat(an.name):an.name),secret_repository:Vt?null:!0}});case 5:Vn=Jn.sent,Vn.status===0&&(Tt(Cn.filter(function(Ai){return Ai.uid!==an.uid})),K.b.info("\u5220\u9664\u6210\u529F"));case 7:case"end":return Jn.stop()}},Ht)}));return function(an){return Xe.apply(this,arguments)}}(),Nt={height:300,multiple:!0,withCredentials:!0,data:function(){var Xe=Object(f.a)(N.a.mark(function an(){return N.a.wrap(function(Kt){for(;;)switch(Kt.prev=Kt.next){case 0:return Kt.abrupt("return",new Promise(function(){var Jn=Object(f.a)(N.a.mark(function Ai(Ui,Mi){return N.a.wrap(function(Qt){for(;;)switch(Qt.prev=Qt.next){case 0:setTimeout(Object(f.a)(N.a.mark(function Lt(){var Xn,Oi;return N.a.wrap(function(rn){for(;;)switch(rn.prev=rn.next){case 0:return rn.next=2,Ue.getFieldsValue();case 2:Xn=rn.sent,Oi=Object(s.a)(Object(s.a)({},{path:nt.defaultPath?nt.defaultPath:"",message:xt.commitMessage||"\u4E0A\u4F20\u4E86".concat(He)}),Vt?{}:{secret_repository:!0}),Ui(Oi);case 5:case"end":return rn.stop()}},Lt)})),200);case 1:case"end":return Qt.stop()}},Ai)}));return function(Ai,Ui){return Jn.apply(this,arguments)}}()));case 1:case"end":return Kt.stop()}},an)}));function Ht(){return Xe.apply(this,arguments)}return Ht}(),fileList:Cn,method:"post",action:"".concat(Te.a.API_SERVER,"/api/shixuns/").concat(Bt.current,"/upload_git_file.json"),onChange:ln,onRemove:Wt,beforeUpload:function(Ht){He=Ht.name}},bt=function(){var Xe=Object(f.a)(N.a.mark(function Ht(an){return N.a.wrap(function(Kt){for(;;)switch(Kt.prev=Kt.next){case 0:return Kt.next=2,Ue.validateFields();case 2:nt.onClose(),nt.onOK({path:nt.defaultPath}),Sn();case 5:case"end":return Kt.stop()}},Ht)}));return function(an){return Xe.apply(this,arguments)}}(),Sn=function(){var Ht,an;q.d.push("/shixuns/".concat(Bt.current,"/").concat((Ht=ut.pathname)===null||Ht===void 0||((an=Ht.split("/"))===null||an===void 0)?void 0:an[3]).concat(Me?"/master/shixun_show/".concat(Me):""))};return b.a.createElement(_e.a,{visible:nt.visible,onOk:bt,centered:!0,onCancel:nt.onClose,width:"70%"},b.a.createElement("section",{className:ke.a.bg},b.a.createElement("div",{className:ke.a.wrap},b.a.createElement("div",{className:ke.a.title},"\u4E0A\u4F20\u6587\u4EF6"),b.a.createElement(ue.a,{className:"mt10",form:Ue,scrollToFirstError:!0,layout:"vertical",onFinish:bt,onValuesChange:function(){return St(Object(s.a)({},Ue.getFieldsValue()))}},b.a.createElement(ue.a.Item,{label:"\u63D0\u4EA4\u4FE1\u606F\uFF1A",name:"commitMessage",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4FE1\u606F"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.a.createElement(S.a,{placeholder:"\u5FC5\u586B\uFF0C\u63CF\u8FF0\u4E3B\u8981\u4FEE\u6539\u5185\u5BB9\uFF08\u76F8\u5F53\u4E8EGit Commit message\u7684Header\uFF09"})),b.a.createElement(ue.a.Item,{label:"\u9009\u62E9\u6587\u4EF6",name:"file",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}]},b.a.createElement(We,Nt,b.a.createElement("div",null,b.a.createElement("i",{className:"iconfont icon-shangchuan font50 ".concat(ke.a.colorBlue)})),b.a.createElement("div",{className:"font14 mt30"},"\u62D6\u62FD\u6587\u4EF6\u6216",b.a.createElement("span",{className:"".concat(ke.a.colorBlue," ml5")},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))))),b.a.createElement(Ce.a,{onFinish:function(Ht){return Se(Ht)}})))},qe=Object(q.a)(function(mt){var Be=mt.shixunsDetail,Ot=mt.loading,tn=mt.globalSetting,qt=mt.user;return{shixunsDetail:Be,globalSetting:tn,user:qt,loading:Ot.models.index}})(Ze),tt=u("Bbdw"),ht=u.n(tt),it=u("HpfO"),dt=u.n(it),at=function(Be){var Ot=Be.shixunsDetail,tn=Be.globalSetting,qt=Be.loading,Ln=Be.dispatch,On=Be.title,Vt=Be.pathList,nt=Vt===void 0?[]:Vt,ut=Be.showInputPath,st=ut===void 0?!1:ut,ct=Be.isMergeSelectFile,ot=ct===void 0?!1:ct,xt=Be.onFinish,St=xt===void 0?function(){}:xt,Bt=ue.a.useForm(),wt=Object(ee.a)(Bt,1),pt=wt[0],Ue=Object(C.i)(),gn=Object(C.h)(),nn=Object(W.useRef)(),Cn=Object(W.useState)(""),Tt=Object(ee.a)(Cn,2),bn=Tt[0],Rt=Tt[1],Me=Object(W.useState)(""),Se=Object(ee.a)(Me,2),He=Se[0],ln=Se[1],Wt=Object(W.useState)([]),Nt=Object(ee.a)(Wt,2),bt=Nt[0],Sn=Nt[1],Xe=Object(W.useState)([]),Ht=Object(ee.a)(Xe,2),an=Ht[0],Vn=Ht[1];Object(W.useEffect)(function(){var $t,Qt;nn.current=(($t=gn.pathname)===null||$t===void 0||((Qt=$t.split("/"))===null||Qt===void 0)?void 0:Qt[3])==="repository"},[]),Object(W.useEffect)(function(){if(Ot.actionTabs.key!=="Repository-SelectFilePath")return;var $t=nt.join("/"),Qt=[];nt.map(function(Lt,Xn){Xn===0?Qt.push({val:"\u6839\u76EE\u5F55",path:""},{val:"/".concat(Lt),path:$t}):Qt.push({val:"/".concat(Lt),path:$t})}),Sn(Qt),Rt($t),ln($t),Kt($t)},[Ot.actionTabs.key]);var Kt=function(){var $t=Object(f.a)(N.a.mark(function Qt(Lt){var Xn;return N.a.wrap(function(ci){for(;;)switch(ci.prev=ci.next){case 0:return ci.next=2,Ln({type:nn.current?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:Ue.id,path:Lt}});case 2:Xn=ci.sent,Xn&&Vn(Xn.trees||[]);case 4:case"end":return ci.stop()}},Qt)}));return function(Lt){return $t.apply(this,arguments)}}(),Jn=function(Qt){var Lt=bn;Qt.type==="tree"&&(bt.length?bt.push({val:"/".concat(Qt.name),path:Qt.name}):bt.push({val:"\u6839\u76EE\u5F55",path:""},{val:"/".concat(Qt.name),path:Qt.name}),Sn(bt),Lt=bn?"".concat(bn,"/").concat(Qt.name):Qt.name,Rt(Lt)),Kt(Lt)},Ai=function(Qt,Lt){var Xn=bt.filter(function(ci,rn){return rn<=Lt});Sn(Xn);var Oi=Xn.filter(function(ci,rn){return rn!==0}).map(function(ci){return ci.val}).join("").substr(1);Rt(Oi),Kt(Oi)},Ui=function(){var $t=Object(f.a)(N.a.mark(function Qt(){var Lt,Xn,Oi;return N.a.wrap(function(rn){for(;;)switch(rn.prev=rn.next){case 0:if(Lt=pt==null?void 0:pt.getFieldsValue(),Xn=bn?"".concat(bn).concat(Lt!=null&&Lt.name?"/".concat(Lt==null?void 0:Lt.name):""):Lt==null?void 0:Lt.name,!ot){rn.next=6;break}return St(Xn),Mi(),rn.abrupt("return");case 6:if(!st){rn.next=16;break}return rn.next=9,pt.validateFields();case 9:return rn.next=11,Ln({type:"shixunsDetail/uploadGitFolder",payload:Object(s.a)(Object(s.a)({},{id:Ue.id,path:Xn}),nn.current?{}:{secret_repository:!0})});case 11:Oi=rn.sent,St(He),Oi.status===0&&K.b.info("\u65B0\u5EFA\u6210\u529F"),rn.next=18;break;case 16:St(Xn),K.b.success("\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\u6210\u529F");case 18:Mi();case 19:case"end":return rn.stop()}},Qt)}));return function(){return $t.apply(this,arguments)}}(),Mi=function(){Ln({type:"shixunsDetail/setActionTabs",payload:{}}),pt.resetFields()};return b.a.createElement(_e.a,{centered:!0,title:On||"\u65B0\u5EFA\u6587\u4EF6\u5939",closable:!1,keyboard:!1,visible:Ot.actionTabs.key==="Repository-SelectFilePath",onOk:Ui,onCancel:Mi},b.a.createElement("div",{className:dt.a.wrap},b.a.createElement("div",{className:dt.a.content},b.a.createElement("div",{className:dt.a.mainPathWrap},!!(bt!=null&&bt.length)&&bt.map(function($t,Qt){return b.a.createElement("a",{key:Qt,onClick:function(){return Ai($t,Qt)}},$t.val)})),!!(an!=null&&an.length)&&an.map(function($t,Qt){return $t.type==="tree"&&b.a.createElement("a",{key:Qt,onClick:function(){return Jn($t)}},b.a.createElement("i",{className:"iconfont icon-wenjianjia ".concat(dt.a.colorBlue)}),$t.name)})),b.a.createElement("label",{className:"mt5"},"\u9009\u4E2D\u7684\u65B0\u5EFA\u6587\u4EF6\u5939\u76EE\u5F55\uFF1A"),b.a.createElement("div",{className:"mt5 mb5"},bn),st&&b.a.createElement(ue.a,{form:pt,scrollToFirstError:!0,className:"mt20"},b.a.createElement(ue.a.Item,{name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.a.createElement(S.a,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09"})))))},jt=Object(q.a)(function(mt){var Be=mt.shixunsDetail,Ot=mt.loading,tn=mt.globalSetting;return{shixunsDetail:Be,globalSetting:tn,loading:Ot.models.index}})(at),Dt=u("GZ0F"),Ut=u("8Skl"),Ge=u("HBuW"),In=u("1vsH"),mn=u("NLgs"),ft=u("lzim"),At=y.a.DirectoryTree,Ft=function(Be){var Ot,tn,qt,Ln,On,Vt,nt,ut=Be.shixunsDetail,st=Be.globalSetting,ct=Be.loading,ot=Be.user,xt=Be.activeKey,St=Be.dispatch,Bt=Be.practiceSetting,wt=Be.isRepository,pt=Be.treeData,Ue=Be.setTreeData,gn=Object(te.a)(Be,["shixunsDetail","globalSetting","loading","user","activeKey","dispatch","practiceSetting","isRepository","treeData","setTreeData"]),nn=Object(C.i)(),Cn=Object(C.h)(),Tt=Object(W.useState)(),bn=Object(ee.a)(Tt,2),Rt=bn[0],Me=bn[1],Se=Object(W.useState)(!1),He=Object(ee.a)(Se,2),ln=He[0],Wt=He[1],Nt=Object(W.useState)(!1),bt=Object(ee.a)(Nt,2),Sn=bt[0],Xe=bt[1],Ht=Object(W.useState)(!1),an=Object(ee.a)(Ht,2),Vn=an[0],Kt=an[1],Jn=Object(W.useState)(!1),Ai=Object(ee.a)(Jn,2),Ui=Ai[0],Mi=Ai[1],$t=Object(W.useState)(""),Qt=Object(ee.a)($t,2),Lt=Qt[0],Xn=Qt[1],Oi=Object(W.useState)([]),ci=Object(ee.a)(Oi,2),rn=ci[0],wa=ci[1],$i=Object(W.useState)([]),Di=Object(ee.a)($i,2),fa=Di[0],pa=Di[1],ca=Object(W.useState)([]),ea=Object(ee.a)(ca,2),br=ea[0],lr=ea[1],Rn=Object(W.useState)(!1),vn=Object(ee.a)(Rn,2),wn=vn[0],ti=vn[1],wi=Object(W.useState)(),Fi=Object(ee.a)(wi,2),Ri=Fi[0],di=Fi[1],aa=Object(W.useState)(),ii=Object(ee.a)(aa,2),Ta=ii[0],ma=ii[1],da=Object(W.useState)(""),ga=Object(ee.a)(da,2),Fa=ga[0],Ti=ga[1],Ba=Object(W.useState)(),Ca=Object(ee.a)(Ba,2),Sa=Ca[0],va=Ca[1],Qi=Object(W.useState)(!1),Va=Object(ee.a)(Qi,2),Yi=Va[0],Ja=Va[1];Object(W.useEffect)(function(){Ue([]),Bi(""),localStorage.warehouseHideTip||ti(!0)},[Cn.pathname,wt]);var Xa=function(){var It=Object(f.a)(N.a.mark(function Qe(){var $e,Pe,kt=arguments;return N.a.wrap(function(En){for(;;)switch(En.prev=En.next){case 0:return $e=kt.length>0&&kt[0]!==void 0?kt[0]:"",En.next=3,Object(Ge.Gb)({id:nn.id,secret_dir_path:$e});case 3:Pe=En.sent,Pe&&va($e);case 5:case"end":return En.stop()}},Qe)}));return function(){return It.apply(this,arguments)}}(),_a=function(Qe){var $e;return b.a.createElement(l.a,{className:ht.a.menu,onClick:function(kt){Xn(Qe.path||"");switch(kt.key){case"1":Object(In.eb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6"]),Wt(!0);break;case"2":Object(In.eb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u65B0\u5EFA\u6587\u4EF6\u5939"]),Kt(!0);break;case"3":Object(In.eb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u4E0A\u4F20"]),Mi(!0);break;case"4":Object(In.eb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u91CD\u547D\u540D"]),Xe(!0);break;case"5":Object(In.eb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u5220\u9664"]),yr(Qe.path,Qe.name,Qe);break;case"6":Object(In.eb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93","\u590D\u5236\u8DEF\u5F84"]),Oo(Qe);break}}},(Qe.type==="topTree"||Qe.type==="tree")&&b.a.createElement(l.a.Item,{key:"1"},"\u65B0\u5EFA\u6587\u4EF6"),(Qe.type==="topTree"||Qe.type==="tree")&&b.a.createElement(l.a.Item,{key:"2"},"\u65B0\u5EFA\u6587\u4EF6\u5939"),(Qe.type==="topTree"||Qe.type==="tree")&&b.a.createElement(l.a.Item,{key:"3"},"\u4E0A\u4F20"),Qe.type!=="topTree"&&Qe.type!=="tree"&&(ut==null||(($e=ut.detail)===null||$e===void 0)?void 0:$e.public)<2&&b.a.createElement(l.a.Item,{key:"4"},"\u91CD\u547D\u540D"),Qe.type!=="topTree"&&b.a.createElement(c.CopyToClipboard,{text:"/data/workspace/myshixun/".concat(wt?"":"secret/").concat(Qe==null?void 0:Qe.path),onCopy:function(){return K.b.success("\u590D\u5236\u6210\u529F")}},b.a.createElement(l.a.Item,{key:"6"},b.a.createElement(b.a.Fragment,null,"\u590D\u5236\u8DEF\u5F84"))),Qe.type!=="topTree"&&b.a.createElement(l.a.Item,{key:"5"},"\u5220\u9664"))},Qr=function(Qe,$e){return Qe.map(function(Pe){return $e==""?Pe.path=$e+Pe.name:Pe.path=$e+"/"+Pe.name,Pe.title=b.a.createElement(Ae.a,{className:"font14"},b.a.createElement(M.a,{flex:"1"},b.a.createElement(Ae.a,null,b.a.createElement(M.a,{flex:"20px"},Pe.type==="blob"&&b.a.createElement("span",{className:"iconfont icon-wenjian11 font12"})),b.a.createElement(M.a,{flex:"1"},b.a.createElement("span",{className:" multi_ellipsis1"},Pe.name)))),b.a.createElement(M.a,null,(Pe.type==="blob"||Pe.type==="tree")&&b.a.createElement(E.a,{overlay:_a(Pe),className:ht.a.ellipsis},b.a.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"})))),Pe.disableCheckbox=Rt&&Rt!==Pe.name,Pe.className=Pe.type==="tree"?ht.a.pl23:"",Pe.checkable=Pe.type!=="tree",Pe.isLeaf=Pe.type!=="tree",Pe.children=Pe.type==="tree"&&[],Pe.key=Pe.path,Pe})},Ra=function(Qe){St({type:"practiceSetting/setSideBarTabs",payload:{selectPath:Qe}})},Er=function(){var It=Object(f.a)(N.a.mark(function Qe($e,Pe){var kt;return N.a.wrap(function(En){for(;;)switch(En.prev=En.next){case 0:return kt=$e.split("/"),En.next=3,Bi(Lt);case 3:setTimeout(function(){Ra($e),rn=[kt[0]||""],fa=[$e],pa(Object(Z.a)(fa)),wa(Object(Z.a)(rn))},150);case 4:case"end":return En.stop()}},Qe)}));return function($e,Pe){return It.apply(this,arguments)}}(),ur=function(Qe,$e){if($e=="")pt=Object(Z.a)(Qe),Ue(Object(Z.a)(Qe));else{var Pe=cr(pt,$e,Qe);pt=Pe,Ue(Object(Z.a)(Pe))}};function cr(It,Qe,$e){return It.map(function(Pe){return Pe.key===Qe?(Pe.children=Object(Z.a)($e),Object(s.a)({},Pe)):Pe.children?Object(s.a)(Object(s.a)({},Pe),{},{children:cr(Pe.children,Qe,$e)}):Pe})}var Bi=function(){var It=Object(f.a)(N.a.mark(function Qe(){var $e,Pe,kt,Pt,En,_n=arguments;return N.a.wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:return $e=_n.length>0&&_n[0]!==void 0?_n[0]:"",kn.next=3,St({type:wt?"shixunsDetail/getRepository":"shixunsDetail/getSecretRepository",payload:{id:nn.id,path:$e}});case 3:return Pe=kn.sent,Pe&&((kt=Pe.trees)!==null&&kt!==void 0&&kt.length?(En=Qr(Object(Z.a)(Pe.trees),$e),ur(En,$e),lr(Pe.trees||[]),ma($e||""),console.log("handleGetRepository:",En,$e),setTimeout(function(){return console.log(pt,Pe.trees,$e,999999)},2e3)):$e==""&&Ue([]),di(((Pt=Pe.commits)===null||Pt===void 0?void 0:Pt[0])||{})),kn.abrupt("return",Pe);case 6:case"end":return kn.stop()}},Qe)}));return function(){return It.apply(this,arguments)}}(),dr=function(){var It=Object(f.a)(N.a.mark(function Qe($e){return N.a.wrap(function(kt){for(;;)switch(kt.prev=kt.next){case 0:return kt.abrupt("return",new Promise(function(){var Pt=Object(f.a)(N.a.mark(function En(_n,zn){return N.a.wrap(function(ta){for(;;)switch(ta.prev=ta.next){case 0:return $e.children.length&&_n(),Ti($e.path),ta.next=4,Bi($e.path);case 4:_n();case 5:case"end":return ta.stop()}},En)}));return function(En,_n){return Pt.apply(this,arguments)}}()));case 1:case"end":return kt.stop()}},Qe)}));return function($e){return It.apply(this,arguments)}}(),Ao=function(){var It=Object(f.a)(N.a.mark(function Qe($e,Pe){var kt,Pt;return N.a.wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:if(console.log("handleSelectTree",$e,Pe.nativeEvent.target.nodeName,Pe),kt=function(){Ra(Pe.node.path),$e=[Pe.node.path],pa(Object(Z.a)($e))},!(Pe.nativeEvent.target.nodeName==="svg"||Pe.nativeEvent.target.nodeName==="LI"||Pe.nativeEvent.target.nodeName==="I")){_n.next=4;break}return _n.abrupt("return");case 4:Pe.node.type==="blob"&&(Bt!=null&&(Pt=Bt.sideBar)!==null&&Pt!==void 0&&Pt.confirmLeave?_e.a.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:function(){kt(),St({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})}}):kt());case 5:case"end":return _n.stop()}},Qe)}));return function($e,Pe){return It.apply(this,arguments)}}(),yr=function(Qe,$e,Pe){_e.a.confirm({centered:!0,title:"\u786E\u8BA4\u9700\u8981\u5220\u9664\u8BE5\u6587\u4EF6".concat(Pe.children?"\u5939":"","?"),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:function(){var kt=Object(f.a)(N.a.mark(function En(){var _n,zn,kn;return N.a.wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:return Kn.next=2,St({type:"shixunsDetail/deleteGitFile",payload:{id:nn.id,path:Qe,message:"\u5220\u9664".concat(Qe),secret_repository:wt?null:!0}});case 2:if(_n=Kn.sent,zn=Qe.split("/"),!((_n==null?void 0:_n.status)===0)){Kn.next=20;break}return K.b.info("\u5220\u9664\u6210\u529F"),zn.splice(zn.length-1,1),Kn.next=9,Bi(zn.length>1?zn.join("/"):"");case 9:if(kn=Kn.sent,!(kn!=null&&kn.trees)){Kn.next=13;break}Kn.next=16;break;case 13:return zn.splice(zn.length-1,1),Kn.next=16,Bi(zn.length>1?zn.join("/"):"");case 16:return Ra(""),Kn.abrupt("return",!0);case 20:(_n==null?void 0:_n.status)===-3&&_e.a.confirm({title:"\u5220\u9664\u5931\u8D25",content:b.a.createElement("div",null,"\u8BE5\u6587\u4EF6\u201C",Qe,"\u201D\u5DF2\u7ECF\u88AB\u4EFB\u52A1\u5173\u5361\u7684\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u6216\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6\u4F7F\u7528\uFF0C\u8BF7\u5148\u4FEE\u6539\u4EFB\u52A1\u5173\u5361\u4E2D\u8BC4\u6D4B\u8BBE\u7F6E\u7684\u6587\u4EF6\u8DEF\u5F84\u540E\u518D\u5220\u9664\u3002"),okText:"\u524D\u5F80\u4FEE\u6539",cancelText:"\u53D6\u6D88",onOk:function(){window.location.href="/shixuns/".concat(nn.id,"/edit/").concat(_n==null?void 0:_n.message,"/tab=2")}});case 21:case"end":return Kn.stop()}},En)}));function Pt(){return kt.apply(this,arguments)}return Pt}()})},Oo=function(Qe){console.log(Qe,"item")},Ar=function(){var It=Object(f.a)(N.a.mark(function Qe($e,Pe){return N.a.wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:if(console.log("handleExpand",Pe),!(Pe.nativeEvent.target.nodeName==="svg"||Pe.nativeEvent.target.nodeName==="path"||Pe.nativeEvent.target.nodeName==="LI")){Pt.next=5;break}return Pt.abrupt("return",!0);case 5:return Pt.next=7,dr(Pe.node);case 7:rn.includes(Pe.node.path)?rn.splice(rn.indexOf(Pe.node.path),1):rn.push(Pe.node.path);case 8:wa(Object(Z.a)(rn));case 9:case"end":return Pt.stop()}},Qe)}));return function($e,Pe){return It.apply(this,arguments)}}(),Or=function(){ti(!1),localStorage.warehouseHideTip=!0},wr=function(){var It=Object(f.a)(N.a.mark(function Qe($e){var Pe,kt,Pt,En,_n;return N.a.wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:Pt="",kn.t0=wt,kn.next=kn.t0===!0?4:kn.t0===!1?9:11;break;case 4:return Pt="\u5F00\u542F\u7248\u672C\u5E93",En="\u5F00\u542F",_n="\u4E0D\u5F00\u542F",kt=b.a.createElement("div",null,"\u65B0\u5EFA\u5B9E\u8DF5\u9898\u5173\u5361\u65F6\uFF0C\u9700\u8981\u4F7F\u7528\u4EE3\u7801\u4ED3\u5E93\uFF1B\u5982\u679C\u53EA\u6709\u9009\u62E9\u9898\u5173\u5361\uFF0C\u5219\u4E0D\u9700\u8981\u4EE3\u7801\u4ED3\u5E93\u3002\u4EE3\u7801\u4ED3\u5E93\u542F\u7528\u540E\uFF0C\u5C06\u65E0\u6CD5\u5173\u95ED\u3002"),kn.abrupt("break",11);case 9:return ut!=null&&(Pe=ut.detail)!==null&&Pe!==void 0&&Pe.secret_repository?(Pt="\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",En="\u786E\u5B9A",_n="\u53D6\u6D88",kt=b.a.createElement("div",null,"\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u540E\uFF0C\u5DF2\u521B\u5EFA\u7684\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u53CA\u5176\u5185\u5BB9\uFF0C\u5C06\u88AB\u5220\u9664\u3002\u786E\u8BA4\u8981\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\uFF1F")):(Pt="\u5F00\u542F\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",En="\u4E0D\u4F7F\u7528",_n="\u4F7F\u7528",kt=b.a.createElement("div",null,"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002\u9002\u7528\u4E8E\u547D\u4EE4\u884C\u3001\u56FE\u5F62\u5316\u684C\u9762\u4E24\u7C7B\u5B9E\u8BAD\uFF0C\u5176\u4ED6\u7C7B\u578B\u5B9E\u8BAD\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u79C1\u5BC6\u7248\u672C\u5E93\u3002")),kn.abrupt("break",11);case 11:if(!(!wt&&Object(mn.b)(St,"\u4E0D\u80FD\u5F00\u542F/\u5173\u95ED\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"))){kn.next=13;break}return kn.abrupt("return");case 13:_e.a.confirm({title:Pt,okText:En,cancelText:_n,content:kt,onOk:function(){var Kn;Object(In.eb)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u4EE3\u7801\u4ED3\u5E93",Pt]),!wt&&!(ut!=null&&(Kn=ut.detail)!==null&&Kn!==void 0&&Kn.secret_repository)||xa($e)},onCancel:function(){var Kn;!wt&&!(ut!=null&&(Kn=ut.detail)!==null&&Kn!==void 0&&Kn.secret_repository)&&xa($e)}});case 14:case"end":return kn.stop()}},Qe)}));return function($e){return It.apply(this,arguments)}}(),xa=function(){var It=Object(f.a)(N.a.mark(function Qe($e){return N.a.wrap(function(kt){for(;;)switch(kt.prev=kt.next){case 0:if(!wt){kt.next=6;break}return kt.next=3,Object(Ge.r)(Object(s.a)({},nn));case 3:St({type:"practiceSetting/getCommonData",payload:Object(s.a)({},nn)}),kt.next=8;break;case 6:return kt.next=8,Object(Ge.t)(Object(s.a)(Object(s.a)({},nn),{},{is_secret_repository:$e}));case 8:Bi(),St({type:"shixunsDetail/getShixunsDetail",payload:{id:nn.id}});case 10:case"end":return kt.stop()}},Qe)}));return function($e){return It.apply(this,arguments)}}(),Na=function(Qe){console.log(Qe)},Yr=function(){var It=Object(f.a)(N.a.mark(function Qe($e){var Pe,kt,Pt,En,_n,zn,kn,ta,Kn,Vr,Jr;return N.a.wrap(function(hi){for(;;)switch(hi.prev=hi.next){case 0:if(console.log($e),Pe=$e.node.key,kt=$e.dragNode.key,Pt=$e.node.pos.split("-"),En=$e.dropPosition-Number(Pt[Pt.length-1]),!($e.dragNode.type==="tree")){hi.next=8;break}return K.b.warn("\u4E0D\u652F\u6301\u6587\u4EF6\u5939\u79FB\u52A8\u76EE\u5F55"),hi.abrupt("return");case 8:if(!($e.node.type!=="tree")){hi.next=11;break}return K.b.warn("\u672A\u79FB\u52A8\u6587\u4EF6\u76EE\u5F55\u4F4D\u7F6E"),hi.abrupt("return");case 11:return hi.next=13,St({type:"shixunsDetail/moveGitFile",payload:{id:nn.id,from:$e.dragNode.path,to:$e.node.path+"/"+$e.dragNode.name,message:"".concat($e.dragNode.path," move to ").concat($e.node.path+"/"+$e.dragNode.name," ")}});case 13:if(_n=hi.sent,!(_n.status===0)){hi.next=26;break}return Ra(""),hi.next=18,Bi("");case 18:zn=0;case 19:if(!(zn<rn.length)){hi.next=26;break}if(!(rn[zn]!="")){hi.next=23;break}return hi.next=23,Bi(rn[zn]);case 23:zn++,hi.next=19;break;case 26:return hi.abrupt("return");case 32:case"end":return hi.stop()}},Qe)}));return function($e){return It.apply(this,arguments)}}();return b.a.createElement("section",{className:ht.a.bg},b.a.createElement("div",{className:ht.a.contentbg},b.a.createElement("div",{className:ht.a.wrap},b.a.createElement(Ae.a,{className:ht.a.gitCode},b.a.createElement(M.a,{flex:"1"},b.a.createElement("span",{className:"iconfont icon-daimacangku2 mr8"}),wt?"\u4EE3\u7801\u4ED3\u5E93":"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",b.a.createElement(I.a,{className:wt&&ut!==null&&ut!==void 0&&(Ot=ut.detail)!==null&&Ot!==void 0&&Ot.init_repository?"hide":"ml10",checked:wt?ut==null||((qt=ut.detail)===null||qt===void 0)?void 0:qt.init_repository:ut==null||((tn=ut.detail)===null||tn===void 0)?void 0:tn.secret_repository,checkedChildren:"\u5F00\u542F",unCheckedChildren:"\u5173\u95ED",onChange:wr})),b.a.createElement(M.a,null,b.a.createElement(E.a,{overlay:_a({type:"topTree"}),className:"current"},b.a.createElement(D.a,{visible:wn,title:b.a.createElement("div",{className:"font16"},b.a.createElement(Dt.a,{style:{position:"relative",left:-35},onClick:function(){return Or()}}),"\u70B9\u51FB\u6B64\u5904\u65B0\u5EFA\u6587\u4EF6\u3001\u65B0\u5EFA\u6587\u4EF6\u5939\u3001\u4E0A\u4F20\u6587\u4EF6\u3002",b.a.createElement("span",{onClick:function(){return Or()},className:"iconfont icon-guanbi1 ml8 current font14"})),overlayClassName:ht.a.overlayClass,overlayStyle:{maxWidth:500},arrowPointAtCenter:!0,placement:"right",color:"#F7B500"},wt&&(ut==null||((Ln=ut.detail)===null||Ln===void 0)?void 0:Ln.init_repository)&&b.a.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}),!wt&&(ut==null||((On=ut.detail)===null||On===void 0)?void 0:On.secret_repository)&&b.a.createElement("i",{className:"iconfont icon-gengduo2 c-555a88"}))))),!!pt.length&&!wt&&b.a.createElement("div",{className:"mt20 pl20 pr20 font14 c-white"},b.a.createElement("div",null,"\u5B9E\u8BAD\u8BC4\u6D4B\u7684\u65F6\u5019\uFF0C\u7CFB\u7EDF\u4F1A\u4E34\u65F6\u5C06\u79C1\u5BC6\u4EE3\u7801\u5E93\u79FB\u52A8\u666E\u901A\u4EE3\u7801\u5E93\u7684secret\u76EE\u5F55\u4E0B\u9762\uFF0C\u8BC4\u6D4B\u7ED3\u675F\u4F1A\u6E05\u7A7Asecret\u76EE\u5F55\u5185\u5BB9\u3002\u5982\u679C\u79C1\u5BC6\u4EE3\u7801\u5E93\u4E2D\u5B58\u5728\u6587\u4EF6src/test.sh\uFF0C\u5728\u666E\u901A\u4EE3\u7801\u5E93\u8C03\u7528\u8BE5\u6587\u4EF6\u5219\u4F7F\u7528\u8DEF\u5F84\uFF1Asecret/src/test.sh")),pt.length?b.a.createElement(b.a.Fragment,null,b.a.createElement("div",{className:ht.a.content},xt==="1"&&b.a.createElement("div",{className:ht.a.tips},"\u63D0\u793A\uFF1A",b.a.createElement("br",null),'\u4EE3\u7801\u8FD0\u884C\u5728\u670D\u52A1\u5668/data/workspace/myshixun/\u4E0B\uFF0C\u5982\u679C\u4EE3\u7801 \u9700\u8981\u7528\u5230\u6587\u4EF6\u8DEF\u5F84\u65F6\uFF0C\u60A8\u5C06\u9F20\u6807\u79FB\u5165\u4ED3\u5E93\u6587\u4EF6\u6216\u76EE\u5F55\u53F3\u4FA7\u7684"..." \u56FE\u6807\uFF0C\u9009\u62E9\u590D\u5236\u8DEF\u5F84\u5F97\u5230\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84\u3002'),b.a.createElement(At,{disabled:!!ct.effects["shixunsDetail/getFileContent"],multiple:!0,showIcon:!1,treeData:pt,switcherIcon:b.a.createElement(Ut.a,{style:{fontWeight:"bold",fontSize:14,position:"relative",top:3,marginLeft:22}}),onExpand:Ar,expandedKeys:rn,selectedKeys:fa,onSelect:Ao,draggable:!0,onDragEnter:Na,onDrop:Yr,allowDrop:function(Qe){var $e=Qe.dropNode,Pe=Qe.dropPosition;return!1}}))):"",!pt.length&&wt&&(ut==null||((Vt=ut.detail)===null||Vt===void 0)?void 0:Vt.init_repository)&&b.a.createElement(Ct,null),!pt.length&&!wt&&(ut==null||((nt=ut.detail)===null||nt===void 0)?void 0:nt.secret_repository)&&b.a.createElement(Ct,null))),b.a.createElement(k,{visible:Sn,defaultPath:Lt,onClose:function(){return Xe(!1)},isRepository:!wt,onOK:function(){var It=Object(f.a)(N.a.mark(function Qe($e){var Pe;return N.a.wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:return Pe=Lt.split("/"),Pe.pop(),Pt.next=4,Bi(Pe.join("/"));case 4:Ra("");case 5:case"end":return Pt.stop()}},Qe)}));return function(Qe){return It.apply(this,arguments)}}()}),b.a.createElement(ce,{visible:ln,defaultPath:Lt,onClose:function(){return Wt(!1)},isRepository:wt,onOK:function(Qe){Er(Qe.path,Qe.name)}}),b.a.createElement(z,{visible:Vn,defaultPath:Lt,onClose:function(){return Kt(!1)},isRepository:wt,onOK:function(Qe){Er(Qe.path,Qe.name)}}),b.a.createElement(qe,{defaultPath:Lt,visible:Ui,isRepository:wt,onClose:function(){return Mi(!1)},onOK:function(){var It=Object(f.a)(N.a.mark(function Qe($e){var Pe;return N.a.wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:return Pe=Lt.split("/"),Pt.next=3,Bi(Lt);case 3:rn=[Pe[0]||""],fa=[Lt],pa(Object(Z.a)(fa)),wa(Object(Z.a)(rn));case 7:case"end":return Pt.stop()}},Qe)}));return function(Qe){return It.apply(this,arguments)}}()}),b.a.createElement(jt,{pathList:Lt==null?void 0:Lt.split("/"),showInputPath:!0,isMergeSelectFile:Yi,onFinish:function(Qe){Yi?Xa(Qe):Bi(Qe),Ja(!1)}}))},Ct=function(){return b.a.createElement("div",{className:"mt20 pb50 ".concat(ht.a.nodata)},b.a.createElement("div",{className:ht.a.headLeft},"\u63D0\u793A\uFF1A",b.a.createElement("br",null),"\u6B64\u5904\u5B58\u653E\u672C\u5B9E\u8BAD\u6240\u9700\u7684\u6240\u6709\u4EE3\u7801\u7B49\u76F8\u5173\u6587\u4EF6\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B",b.a.createElement("br",null),"\u4E24\u79CD\u65B9\u5F0F\u6765\u4F7F\u7528\uFF1A",b.a.createElement("br",null),"1\u3001",b.a.createElement("a",{href:"/forums/2784",target:"_blank"},"Git\u5BA2\u6237\u7AEF")," \u4E0A\u4F20\u5DF2\u6709\u6587\u4EF6\u6765\u5F00\u59CB\u4F7F\u7528\u3002",b.a.createElement("br",null),"2\u3001\u76F4\u63A5\u5728\u5E73\u53F0\u4E0A\u521B\u5EFA\u6587\u4EF6\u76EE\u5F55\u4EE5\u53CA\u76F8\u5173\u4EE3\u7801\u6587\u4EF6\u3002"),b.a.createElement("img",{width:"100%",src:ft.w}))},An=Object(q.a)(function(mt){var Be=mt.shixunsDetail,Ot=mt.loading,tn=mt.globalSetting,qt=mt.practiceSetting,Ln=mt.user;return{shixunsDetail:Be,globalSetting:tn,user:Ln,practiceSetting:qt,loading:Ot}})(Ft),cn=u("/zsF"),Zt=u("PArb"),ui=u("yDYP"),Bn=u.n(ui),ei=function(Be){var Ot=Be.shixunsDetail,tn=Be.globalSetting,qt=Be.loading,Ln=Be.user,On=Be.dispatch,Vt=Be.isRepository,nt=Object(te.a)(Be,["shixunsDetail","globalSetting","loading","user","dispatch","isRepository"]),ut=Object(C.i)(),st=Object(W.useState)([]),ct=Object(ee.a)(st,2),ot=ct[0],xt=ct[1];Object(W.useEffect)(function(){St()},[Vt]);var St=function(){var Bt=Object(f.a)(N.a.mark(function wt(){var pt;return N.a.wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:return gn.next=2,On({type:"shixunsDetail/getRepositoryCommit",payload:{id:ut.id,secret_repository:Vt?void 0:!0}});case 2:pt=gn.sent,pt&&xt(pt.commits||[]);case 4:case"end":return gn.stop()}},wt)}));return function(){return Bt.apply(this,arguments)}}();return b.a.createElement(b.a.Fragment,null,ot==""&&b.a.createElement("div",{className:Bn.a.empty},b.a.createElement("img",{src:ft.l,width:"258"}),b.a.createElement("br",null),b.a.createElement("span",{className:"c-grey-c font14"},"\u6682\u65E0\u63D0\u4EA4\u8BB0\u5F55")),ot!=""&&b.a.createElement("section",{className:Bn.a.bg},b.a.createElement("div",{className:Bn.a.wrap},b.a.createElement("div",{className:Bn.a.content},ot==null?void 0:ot.map(function(Bt){var wt,pt;return b.a.createElement("div",null,b.a.createElement(Ae.a,{align:"middle",className:"c-white font16"},b.a.createElement(M.a,null,Bt.title)),b.a.createElement(Ae.a,{align:"middle",className:"mt20 "},b.a.createElement(M.a,null,b.a.createElement("img",{className:Bn.a.imageUrl,src:Te.a.IMG_SERVER+"/"+((wt=Bt.author)===null||wt===void 0?void 0:wt.image_url)})),b.a.createElement(M.a,{className:Bn.a.blueLight},b.a.createElement("span",{className:"ml20"},(pt=Bt.author)===null||pt===void 0?void 0:pt.username)),b.a.createElement(M.a,null,b.a.createElement("span",{className:"ml20 ".concat(Bn.a.blueLight)},"\u63D0\u4EA4\u4E8E"),b.a.createElement("span",{className:"ml20 ".concat(Bn.a.blueLight)},Bt.time))),b.a.createElement(Zt.a,{className:Bn.a.divider}))})))))},yi=Object(q.a)(function(mt){var Be=mt.shixunsDetail,Ot=mt.loading,tn=mt.globalSetting,qt=mt.user;return{shixunsDetail:Be,globalSetting:tn,user:qt,loading:Ot.models.index}})(ei),qi=u("p5ED"),Ii=Y.a.TabPane,ji=function(Be){var Ot,tn,qt,Ln,On,Vt,nt,ut,st,ct,ot,xt,St,Bt,wt,pt,Ue,gn,nn,Cn=Be.globalSetting,Tt=Be.loading,bn=Be.dispatch,Rt=Be.practiceSetting,Me=Be.shixunsDetail,Se=Object(te.a)(Be,["globalSetting","loading","dispatch","practiceSetting","shixunsDetail"]),He=Object(W.useState)("1"),ln=Object(ee.a)(He,2),Wt=ln[0],Nt=ln[1],bt=Object(W.useState)("1"),Sn=Object(ee.a)(bt,2),Xe=Sn[0],Ht=Sn[1],an=Object(W.useState)(),Vn=Object(ee.a)(an,2),Kt=Vn[0],Jn=Vn[1],Ai=Object(W.useRef)(),Ui=Object(W.useState)(!0),Mi=Object(ee.a)(Ui,2),$t=Mi[0],Qt=Mi[1],Lt=Object(W.useState)(["2","1"]),Xn=Object(ee.a)(Lt,2),Oi=Xn[0],ci=Xn[1],rn=Object(W.useState)([]),wa=Object(ee.a)(rn,2),$i=wa[0],Di=wa[1],fa=Object(W.useRef)(),pa=Object(C.i)(),ca=[{id:"1",name:"\u4EE3\u7801\u4ED3\u5E93"},{id:"2",name:b.a.createElement("span",null,b.a.createElement("span",null,"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"),b.a.createElement(D.a,{title:"\u79C1\u5BC6\u7248\u672C\u5E93\u7684\u6587\u4EF6\u5BF9\u5B66\u5458\u59CB\u7EC8\u9690\u85CF\uFF0C\u65E0\u6CD5\u8BBF\u95EE\u67E5\u770B\u3002"},b.a.createElement("i",{className:"iconfont icon-xiaowenhao",style:{marginLeft:2,fontSize:14}})))}];Object(W.useEffect)(function(){try{var Rn,vn,wn,ti,wi;if(!!(Me!=null&&(Rn=Me.fileContent)!==null&&Rn!==void 0&&(vn=Rn.content)!==null&&vn!==void 0&&(wn=vn.content)!==null&&wn!==void 0&&wn.length)||(Me==null||((ti=Me.fileContent)===null||ti===void 0||((wi=ti.content)===null||wi===void 0))?void 0:wi.content)==""){var Fi;if((Me==null||((Fi=Me.fileContent)===null||Fi===void 0)?void 0:Fi.file_type)==="txt"){var Ri,di,aa,ii;Ai.current=window.decodeURIComponent(escape(window.atob(Me==null||((Ri=Me.fileContent)===null||Ri===void 0||((di=Ri.content)===null||di===void 0))?void 0:di.content))),Kt=window.decodeURIComponent(escape(window.atob(Me==null||((aa=Me.fileContent)===null||aa===void 0||((ii=aa.content)===null||ii===void 0))?void 0:ii.content))),Jn(Kt)}else{var Ta,ma,da,ga;Ai.current=Me==null||((Ta=Me.fileContent)===null||Ta===void 0||((ma=Ta.content)===null||ma===void 0))?void 0:ma.content,Kt=Me==null||((da=Me.fileContent)===null||da===void 0||((ga=da.content)===null||ga===void 0))?void 0:ga.content,Jn(Kt)}}}catch(Sa){var Fa,Ti,Ba,Ca;Ai.current=window.atob(Me==null||((Fa=Me.fileContent)===null||Fa===void 0||((Ti=Fa.content)===null||Ti===void 0))?void 0:Ti.content),Kt=window.atob(Me==null||((Ba=Me.fileContent)===null||Ba===void 0||((Ca=Ba.content)===null||Ca===void 0))?void 0:Ca.content),Jn(Kt),K.b.warn("\u8BF7\u786E\u8BA4\u6587\u4EF6\u5B57\u7B26\u96C6\u7F16\u7801\u662F\u5426\u4E3AUTF-8")}console.log("codeMirrorSourceValue1212:12",Me.fileContent.content)},[Me==null||((Ot=Me.fileContent)===null||Ot===void 0)?void 0:Ot.content]),Object(W.useEffect)(function(){var Rn,vn=Rt==null||((Rn=Rt.sideBar)===null||Rn===void 0)?void 0:Rn.selectPath.split("/");ci(vn)},[Rt==null||((tn=Rt.sideBar)===null||tn===void 0)?void 0:tn.selectPath]);var ea=function(vn){Jn(vn);var wn=-1;vn===Ai.current?wn=0:wn=1,wn!==-1,bn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!!wn}})};Object(W.useEffect)(function(){new Promise(function(){var Rn=Object(f.a)(N.a.mark(function vn(wn,ti){var wi,Fi,Ri,di;return N.a.wrap(function(ii){for(;;)switch(ii.prev=ii.next){case 0:if(!((Rt==null||((wi=Rt.sideBar)===null||wi===void 0)?void 0:wi.selectPath)!==""&&Rt!==null&&Rt!==void 0&&(Fi=Rt.sideBar)!==null&&Fi!==void 0&&Fi.selectPath)){ii.next=5;break}return ii.next=3,bn({type:"shixunsDetail/getFileContent",payload:{id:pa.id,path:Rt==null||((Ri=Rt.sideBar)===null||Ri===void 0)?void 0:Ri.selectPath,secret_repository:$t?null:!0}});case 3:di=ii.sent,di!=null&&di.content||(di==null?void 0:di.content)==""||bn({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}});case 5:case"end":return ii.stop()}},vn)}));return function(vn,wn){return Rn.apply(this,arguments)}}())},[Rt==null||((qt=Rt.sideBar)===null||qt===void 0)?void 0:qt.selectPath]);var br=b.a.createElement(l.a,{className:G.a.menu,onClick:function(vn){var wn;!(Me!=null&&(wn=Me.detail)!==null&&wn!==void 0&&wn.secret_repository)&&vn.key==="2"&&Ht("1"),Nt(vn.key),vn.key==="1"?Qt(!0):Qt(!1)}},b.a.createElement(l.a.Item,{disabled:!0,key:"0"},"\u5207\u6362\u4ED3\u5E93"),ca.filter(function(Rn){var vn,wn;return!(Me!=null&&(vn=Me.detail)!==null&&vn!==void 0&&vn.init_repository)||Me!=null&&(wn=Me.detail)!==null&&wn!==void 0&&wn.is_jupyter_lab?Rn.id!=="2":Rn}).map(function(Rn,vn){return b.a.createElement(l.a.Item,{className:"leaveClick",key:Rn.id},Rn.name)})),lr=function(){var Rn=Object(f.a)(N.a.mark(function vn(){var wn,ti,wi;return N.a.wrap(function(Ri){for(;;)switch(Ri.prev=Ri.next){case 0:return Ri.next=2,bn({type:"shixunsDetail/updateRepositoryFile",payload:{id:pa.id,path:Me==null||((wn=Me.fileContent)===null||wn===void 0||((ti=wn.params)===null||ti===void 0))?void 0:ti.path,content:Kt,secret_repository:$t?null:!0}});case 2:wi=Ri.sent,wi!=null&&wi.content&&(K.b.info("\u4FDD\u5B58\u6210\u529F"),bn({type:"practiceSetting/setSideBarTabs",payload:Object(s.a)(Object(s.a)({},Rt.sideBar),{},{confirmLeave:!1})}));case 4:case"end":return Ri.stop()}},vn)}));return function(){return Rn.apply(this,arguments)}}();return b.a.createElement("div",{className:G.a.warehouse},b.a.createElement("div",{className:G.a.header},b.a.createElement(Ae.a,{align:"middle",className:"w100 c-white",style:{height:60}},b.a.createElement(M.a,{flex:"1"},b.a.createElement(Ae.a,{align:"middle"},b.a.createElement(M.a,null,b.a.createElement(E.a,{overlay:br,className:G.a.menu},b.a.createElement("span",{className:"font16 c-white current ml20"},ca.find(function(Rn){return Rn.id===Wt}).name," ",b.a.createElement("span",{style:{color:"#B0B5D6"},className:"iconfont icon-sanjiaoxing font12"})))),b.a.createElement(M.a,{flex:"81px"},b.a.createElement("div",{className:G.a.line})),b.a.createElement(M.a,null,b.a.createElement(Y.a,{className:G.a.tabs,activeKey:Xe,onChange:function(vn){var wn;Rt!=null&&(wn=Rt.sideBar)!==null&&wn!==void 0&&wn.confirmLeave?_e.a.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:function(){Ht(vn),bn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}})}}):(Ht(vn),bn({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1,selectPath:""}}))}},b.a.createElement(Ii,{tab:b.a.createElement("span",{className:"leaveClick"},"\u4EE3\u7801\u6587\u4EF6"),key:"1"}),$t&&(Me==null||((Ln=Me.detail)===null||Ln===void 0)?void 0:Ln.init_repository)&&b.a.createElement(Ii,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}),!$t&&(Me==null||((On=Me.detail)===null||On===void 0)?void 0:On.secret_repository)&&b.a.createElement(Ii,{tab:"\u63D0\u4EA4\u8BB0\u5F55",key:"2",className:"leaveClick"}))))),($t&&(Me==null||((Vt=Me.repository)===null||Vt===void 0)?void 0:Vt.git_url)||!$t&&(Me==null||((nt=Me.secretRepository)===null||nt===void 0)?void 0:nt.git_url))&&b.a.createElement(b.a.Fragment,null,b.a.createElement(M.a,null,b.a.createElement("span",{className:G.a.title},"\u4ED3\u5E93\u5730\u5740:"),b.a.createElement("input",{value:$t?Me==null||((ut=Me.repository)===null||ut===void 0)?void 0:ut.git_url:Me==null||((st=Me.secretRepository)===null||st===void 0)?void 0:st.git_url}),b.a.createElement(c.CopyToClipboard,{text:$t?Me==null||((ct=Me.repository)===null||ct===void 0)?void 0:ct.git_url:Me==null||((ot=Me.secretRepository)===null||ot===void 0)?void 0:ot.git_url,onCopy:function(){return K.b.success("\u590D\u5236\u6210\u529F")}},b.a.createElement(D.a,{placement:"topLeft",title:"\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93"},b.a.createElement("i",{className:"iconfont icon-fuzhi2 current ml5 mr40"}))))))),b.a.createElement("div",{className:G.a.content,style:{overflow:"auto"}},Xe==="1"&&b.a.createElement(b.a.Fragment,null,b.a.createElement("aside",{className:G.a.left},b.a.createElement(Oe.a,{spinning:!!Tt.effects["shixunsDetail/getRepository"],wrapperClassName:"".concat(G.a.loading," ").concat(G.a.bottom0)},b.a.createElement(An,{setTreeData:Di,treeData:$i,activeKey:Wt,isRepository:$t}))),b.a.createElement("aside",{className:G.a.right,ref:fa},(Rt==null||((xt=Rt.sideBar)===null||xt===void 0)?void 0:xt.selectPath)!==""&&b.a.createElement(b.a.Fragment,null,b.a.createElement(Oe.a,{spinning:!!Tt.effects["shixunsDetail/getFileContent"],wrapperClassName:G.a.loading},b.a.createElement("div",{className:G.a.filePathWrp},b.a.createElement(Ae.a,{align:"middle",className:"w100"},b.a.createElement(M.a,null,b.a.createElement("span",{className:"iconfont icon-daimacangku2 c-white"})),b.a.createElement(M.a,{flex:"40px"},b.a.createElement("div",{className:G.a.line,style:{marginLeft:20}})),b.a.createElement(M.a,{className:G.a.filePath},Oi.map(function(Rn,vn){return b.a.createElement("span",{className:"c-blue"},Rn)})))),b.a.createElement("div",{className:Tt.effects["shixunsDetail/getFileContent"]?"hide":"show"},b.a.createElement(qi.a,{className:"darkBlue",style:{top:66,height:"calc(100% - 60px)",position:"absolute",zIndex:1},filename:Me==null||((St=Me.fileContent)===null||St===void 0)?void 0:St.filename,type:(Me==null||((Bt=Me.fileContent)===null||Bt===void 0)?void 0:Bt.file_type)==="office"?"download":Me==null||((wt=Me.fileContent)===null||wt===void 0)?void 0:wt.file_type,data:Kt,monacoEditor:{value:Kt,language:Me==null||((pt=Me.fileContent)===null||pt===void 0)?void 0:pt.language,onChange:function(vn){return ea(vn)},options:{fontSize:14}}}))),(Me==null||((Ue=Me.fileContent)===null||Ue===void 0)?void 0:Ue.file_type)==="txt"&&b.a.createElement(Ae.a,{align:"middle",justify:"center",className:G.a.footer},b.a.createElement(M.a,null,b.a.createElement(Ee.a,{type:"primary",size:"large",ghost:!0,onClick:function(){q.d.push("/shixuns/".concat(pa.id,"/challenges"))}},"\u53D6\u6D88"),b.a.createElement(Ee.a,{type:"primary",size:"large",className:"ml40",onClick:lr},"\u63D0\u4EA4")))),(Rt==null||((gn=Rt.sideBar)===null||gn===void 0)?void 0:gn.selectPath)==""&&(Me==null||((nn=Me.detail)===null||nn===void 0)?void 0:nn.init_repository)&&b.a.createElement("div",{className:G.a.empty},b.a.createElement("img",{src:ft.k,width:"258"}),b.a.createElement("br",null),b.a.createElement("span",{className:"c-grey-c"},!!($i!=null&&$i.length)&&"\u5728\u5DE6\u4FA7\u4EE3\u7801\u4ED3\u5E93\u533A\u57DF\u70B9\u51FB\u76EE\u5F55\u6253\u5F00\u6587\u4EF6",!($i!=null&&$i.length)&&"\u8BF7\u5148\u5728\u5DE6\u4FA7\u4E0A\u4F20\u6587\u4EF6\u6216\u65B0\u5EFA\u6587\u4EF6\uFF01")))),Xe==="2"&&b.a.createElement("div",{className:G.a.commit},b.a.createElement(yi,{isRepository:$t}))))},ia=ye.default=Object(q.a)(function(mt){var Be=mt.loading,Ot=mt.globalSetting,tn=mt.practiceSetting,qt=mt.shixunsDetail;return{globalSetting:Ot,loading:Be,practiceSetting:tn,shixunsDetail:qt}})(ji)},csWT:function(xe,ye,u){xe.exports=u.p+"static/choose.4ad1045f.svg"},djh8:function(xe,ye,u){xe.exports=u.p+"static/qrCode.42927872.png"},fAei:function(xe,ye,u){"use strict";u.d(ye,"a",function(){return D.a});var we=u("rePB"),Ee=u("VTBJ"),ze=u("KQm4"),Oe=u("1OyB"),P=u("vuIU"),Ae=u("Ji7U"),ge=u("LK+K"),_e=u("cDcd"),he=u("4IlW"),M=u("Kwbf"),w=u("TSYQ"),E=u.n(w),s=u("sboe"),h=u("OZM5"),l=u("815F"),f=u("ODXe"),x=u("Ff2n"),K=u("+nKL"),A=u("8XRh"),D=u("WaYH"),ee=function(pe,re){var H=pe.className,z=pe.style,le=pe.motion,X=pe.motionNodes,ce=pe.motionType,v=pe.onMotionStart,k=pe.onMotionEnd,T=pe.active,ie=pe.treeNodeRequiredProps,Te=Object(x.a)(pe,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),Ce=_e.useState(!0),Ie=Object(f.a)(Ce,2),ke=Ie[0],We=Ie[1],Ze=_e.useContext(s.a),qe=Ze.prefixCls,tt=_e.useRef(!1),ht=function(){tt.current||k(),tt.current=!0};return Object(_e.useEffect)(function(){X&&ce==="hide"&&ke&&We(!1)},[X]),Object(_e.useEffect)(function(){return X&&v(),function(){X&&ht()}},[]),X?_e.createElement(A.default,Object.assign({ref:re,visible:ke},le,{motionAppear:ce==="show",onAppearEnd:ht,onLeaveEnd:ht}),function(it,dt){var at=it.className,jt=it.style;return _e.createElement("div",{ref:dt,className:E()("".concat(qe,"-treenode-motion"),at),style:jt},X.map(function(Dt){var Ut=Dt.data,Ge=Ut.key,In=Object(x.a)(Ut,["key"]),mn=Dt.isStart,ft=Dt.isEnd;delete In.children;var At=Object(l.f)(Ge,ie);return _e.createElement(D.a,Object.assign({},In,At,{active:T,data:Dt.data,key:Ge,isStart:mn,isEnd:ft}))}))}):_e.createElement(D.a,Object.assign({domRef:re,className:H,style:z},Te,{active:T}))};ee.displayName="MotionTreeNode";var te=_e.forwardRef(ee),V=te;function Y(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=ue.length,H=pe.length;if(Math.abs(re-H)!==1)return{add:!1,key:null};function z(le,X){var ce=new Map;le.forEach(function(k){ce.set(k,!0)});var v=X.filter(function(k){return!ce.has(k)});return v.length===1?v[0]:null}return re<H?{add:!0,key:z(ue,pe)}:{add:!1,key:z(pe,ue)}}function fe(ue,pe,re){var H=ue.findIndex(function(ce){var v=ce.data;return v.key===re}),z=ue[H+1],le=pe.findIndex(function(ce){var v=ce.data;return v.key===re});if(z){var X=pe.findIndex(function(ce){var v=ce.data;return v.key===z.data.key});return pe.slice(le+1,X)}return pe.slice(le+1)}var N={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},W=function(){},b="RC_TREE_MOTION_".concat(Math.random()),ae={key:b},G={key:b,level:0,index:0,pos:"0",node:ae},C={parent:null,children:[],pos:G.pos,data:ae,isStart:[],isEnd:[]};function q(ue,pe,re,H){return pe===!1||!re?ue:ue.slice(0,Math.ceil(re/H)+1)}function Le(ue){var pe=ue.data.key,re=ue.pos;return Object(l.e)(pe,re)}function I(ue){for(var pe=String(ue.data.key),re=ue;re.parent;)re=re.parent,pe="".concat(re.data.key," > ").concat(pe);return pe}var Z=function(pe,re){var H=pe.prefixCls,z=pe.data,le=pe.selectable,X=pe.checkable,ce=pe.expandedKeys,v=pe.selectedKeys,k=pe.checkedKeys,T=pe.loadedKeys,ie=pe.loadingKeys,Te=pe.halfCheckedKeys,Ce=pe.keyEntities,Ie=pe.disabled,ke=pe.dragging,We=pe.dragOverNodeKey,Ze=pe.dropPosition,qe=pe.motion,tt=pe.height,ht=pe.itemHeight,it=pe.virtual,dt=pe.focusable,at=pe.activeItem,jt=pe.focused,Dt=pe.tabIndex,Ut=pe.onKeyDown,Ge=pe.onFocus,In=pe.onBlur,mn=pe.onActiveChange,ft=pe.onListChangeStart,At=pe.onListChangeEnd,Ft=Object(x.a)(pe,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),Ct=_e.useRef(null);_e.useImperativeHandle(re,function(){return{scrollTo:function(xt){Ct.current.scrollTo(xt)}}});var An=_e.useState(ce),cn=Object(f.a)(An,2),Zt=cn[0],ui=cn[1],Bn=_e.useState(z),ei=Object(f.a)(Bn,2),yi=ei[0],qi=ei[1],Ii=_e.useState(z),ji=Object(f.a)(Ii,2),ia=ji[0],mt=ji[1],Be=_e.useState([]),Ot=Object(f.a)(Be,2),tn=Ot[0],qt=Ot[1],Ln=_e.useState(null),On=Object(f.a)(Ln,2),Vt=On[0],nt=On[1];function ut(){qi(z),mt(z),qt([]),nt(null),At()}_e.useEffect(function(){ui(ce);var ot=Y(Zt,ce);if(ot.key!==null)if(ot.add){var xt=yi.findIndex(function(gn){var nn=gn.data.key;return nn===ot.key}),St=q(fe(yi,z,ot.key),it,tt,ht),Bt=yi.slice();Bt.splice(xt+1,0,C),mt(Bt),qt(St),nt("show")}else{var wt=z.findIndex(function(gn){var nn=gn.data.key;return nn===ot.key}),pt=q(fe(z,yi,ot.key),it,tt,ht),Ue=z.slice();Ue.splice(wt+1,0,C),mt(Ue),qt(pt),nt("hide")}else yi!==z&&(qi(z),mt(z))},[ce,z]),_e.useEffect(function(){ke||ut()},[ke]);var st=qe?ia:z,ct={expandedKeys:ce,selectedKeys:v,loadedKeys:T,loadingKeys:ie,checkedKeys:k,halfCheckedKeys:Te,dragOverNodeKey:We,dropPosition:Ze,keyEntities:Ce};return _e.createElement(_e.Fragment,null,jt&&at&&_e.createElement("span",{style:N,"aria-live":"assertive"},I(at)),_e.createElement("div",{role:"tree"},_e.createElement("input",{style:N,disabled:dt===!1||Ie,tabIndex:dt!==!1?Dt:null,onKeyDown:Ut,onFocus:Ge,onBlur:In,value:"",onChange:W})),_e.createElement(K.a,Object.assign({},Ft,{data:st,itemKey:Le,height:tt,fullHeight:!1,virtual:it,itemHeight:ht,prefixCls:"".concat(H,"-list"),ref:Ct}),function(ot){var xt=ot.pos,St=ot.data,Bt=St.key,wt=Object(x.a)(St,["key"]),pt=ot.isStart,Ue=ot.isEnd,gn=Object(l.e)(Bt,xt);delete wt.children;var nn=Object(l.f)(gn,ct);return _e.createElement(V,Object.assign({},wt,nn,{active:at&&Bt===at.data.key,pos:xt,data:ot.data,isStart:pt,isEnd:Ue,motion:qe,motionNodes:Bt===b?tn:null,motionType:Vt,onMotionStart:ft,onMotionEnd:ut,treeNodeRequiredProps:ct,onMouseMove:function(){mn(null)}}))}))},L=_e.forwardRef(Z);L.displayName="NodeList";var y=L,c=u("NvD2"),O=function(ue){Object(Ae.a)(re,ue);var pe=Object(ge.a)(re);function re(){var H;return Object(Oe.a)(this,re),H=pe.apply(this,arguments),H.destroyed=!1,H.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},H.listRef=_e.createRef(),H.onNodeDragStart=function(z,le){var X=H.state,ce=X.expandedKeys,v=X.keyEntities,k=H.props.onDragStart,T=le.props.eventKey;H.dragNode=le;var ie=Object(h.b)(ce,T);H.setState({dragging:!0,dragNodesKeys:Object(h.g)(T,v)}),H.setExpandedKeys(ie),k&&k({event:z,node:Object(l.b)(le.props)})},H.onNodeDragEnter=function(z,le){var X=H.state,ce=X.expandedKeys,v=X.keyEntities,k=X.dragNodesKeys,T=H.props.onDragEnter,ie=le.props,Te=ie.pos,Ce=ie.eventKey;if(!H.dragNode||k.indexOf(Ce)!==-1)return;var Ie=Object(h.c)(z,le);if(H.dragNode.props.eventKey===Ce&&Ie===0){H.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){H.setState({dragOverNodeKey:Ce,dropPosition:Ie}),H.delayedDragEnterLogic||(H.delayedDragEnterLogic={}),Object.keys(H.delayedDragEnterLogic).forEach(function(ke){clearTimeout(H.delayedDragEnterLogic[ke])}),H.delayedDragEnterLogic[Te]=window.setTimeout(function(){if(!H.state.dragging)return;var ke=Object(ze.a)(ce),We=v[Ce];We&&(We.children||[]).length&&(ke=Object(h.a)(ce,Ce)),"expandedKeys"in H.props||H.setExpandedKeys(ke),T&&T({event:z,node:Object(l.b)(le.props),expandedKeys:ke})},400)},0)},H.onNodeDragOver=function(z,le){var X=H.state.dragNodesKeys,ce=H.props.onDragOver,v=le.props.eventKey;if(X.indexOf(v)!==-1)return;if(H.dragNode&&v===H.state.dragOverNodeKey){var k=Object(h.c)(z,le);if(k===H.state.dropPosition)return;H.setState({dropPosition:k})}ce&&ce({event:z,node:Object(l.b)(le.props)})},H.onNodeDragLeave=function(z,le){var X=H.props.onDragLeave;H.setState({dragOverNodeKey:""}),X&&X({event:z,node:Object(l.b)(le.props)})},H.onNodeDragEnd=function(z,le){var X=H.props.onDragEnd;H.setState({dragOverNodeKey:""}),H.cleanDragState(),X&&X({event:z,node:Object(l.b)(le.props)}),H.dragNode=null},H.onNodeDrop=function(z,le){var X=H.state,ce=X.dragNodesKeys,v=ce===void 0?[]:ce,k=X.dropPosition,T=H.props.onDrop,ie=le.props,Te=ie.eventKey,Ce=ie.pos;if(H.setState({dragOverNodeKey:""}),H.cleanDragState(),v.indexOf(Te)!==-1){Object(M.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Ie=Object(h.k)(Ce),ke={event:z,node:Object(l.b)(le.props),dragNode:H.dragNode?Object(l.b)(H.dragNode.props):null,dragNodesKeys:v.slice(),dropPosition:k+Number(Ie[Ie.length-1]),dropToGap:!1};k!==0&&(ke.dropToGap=!0),T&&T(ke),H.dragNode=null},H.cleanDragState=function(){var z=H.state.dragging;z&&H.setState({dragging:!1})},H.onNodeClick=function(z,le){var X=H.props.onClick;X&&X(z,le)},H.onNodeDoubleClick=function(z,le){var X=H.props.onDoubleClick;X&&X(z,le)},H.onNodeSelect=function(z,le){var X=H.state.selectedKeys,ce=H.state.keyEntities,v=H.props,k=v.onSelect,T=v.multiple,ie=le.selected,Te=le.key,Ce=!ie;Ce?T?X=Object(h.a)(X,Te):X=[Te]:X=Object(h.b)(X,Te);var Ie=X.map(function(ke){var We=ce[ke];return We?We.node:null}).filter(function(ke){return ke});H.setUncontrolledState({selectedKeys:X}),k&&k(X,{event:"select",selected:Ce,node:le,selectedNodes:Ie,nativeEvent:z.nativeEvent})},H.onNodeCheck=function(z,le,X){var ce=H.state,v=ce.keyEntities,k=ce.checkedKeys,T=ce.halfCheckedKeys,ie=H.props,Te=ie.checkStrictly,Ce=ie.onCheck,Ie=le.key,ke,We={event:"check",node:le,checked:X,nativeEvent:z.nativeEvent};if(Te){var Ze=X?Object(h.a)(k,Ie):Object(h.b)(k,Ie),qe=Object(h.b)(T,Ie);ke={checked:Ze,halfChecked:qe},We.checkedNodes=Ze.map(function(jt){return v[jt]}).filter(function(jt){return jt}).map(function(jt){return jt.node}),H.setUncontrolledState({checkedKeys:Ze})}else{var tt=Object(c.a)([].concat(Object(ze.a)(k),[Ie]),!0,v),ht=tt.checkedKeys,it=tt.halfCheckedKeys;if(!X){var dt=new Set(ht);dt.delete(Ie);var at=Object(c.a)(Array.from(dt),{checked:!1,halfCheckedKeys:it},v);ht=at.checkedKeys,it=at.halfCheckedKeys}ke=ht,We.checkedNodes=[],We.checkedNodesPositions=[],We.halfCheckedKeys=it,ht.forEach(function(jt){var Dt=v[jt];if(!Dt)return;var Ut=Dt.node,Ge=Dt.pos;We.checkedNodes.push(Ut),We.checkedNodesPositions.push({node:Ut,pos:Ge})}),H.setUncontrolledState({checkedKeys:ht},!1,{halfCheckedKeys:it})}Ce&&Ce(ke,We)},H.onNodeLoad=function(z){return new Promise(function(le){H.setState(function(X){var ce=X.loadedKeys,v=ce===void 0?[]:ce,k=X.loadingKeys,T=k===void 0?[]:k,ie=H.props,Te=ie.loadData,Ce=ie.onLoad,Ie=z.key;if(!Te||v.indexOf(Ie)!==-1||T.indexOf(Ie)!==-1)return{};var ke=Te(z);return ke.then(function(){var We=H.state,Ze=We.loadedKeys,qe=We.loadingKeys,tt=Object(h.a)(Ze,Ie),ht=Object(h.b)(qe,Ie);Ce&&Ce(tt,{event:"load",node:z}),H.setUncontrolledState({loadedKeys:tt}),H.setState({loadingKeys:ht}),le()}),{loadingKeys:Object(h.a)(T,Ie)}})})},H.onNodeMouseEnter=function(z,le){var X=H.props.onMouseEnter;X&&X({event:z,node:le})},H.onNodeMouseLeave=function(z,le){var X=H.props.onMouseLeave;X&&X({event:z,node:le})},H.onNodeContextMenu=function(z,le){var X=H.props.onRightClick;X&&(z.preventDefault(),X({event:z,node:le}))},H.onFocus=function(){var z=H.props.onFocus;H.setState({focused:!0}),z&&z.apply(void 0,arguments)},H.onBlur=function(){var z=H.props.onBlur;H.setState({focused:!1}),H.onActiveChange(null),z&&z.apply(void 0,arguments)},H.getTreeNodeRequiredProps=function(){var z=H.state,le=z.expandedKeys,X=z.selectedKeys,ce=z.loadedKeys,v=z.loadingKeys,k=z.checkedKeys,T=z.halfCheckedKeys,ie=z.dragOverNodeKey,Te=z.dropPosition,Ce=z.keyEntities;return{expandedKeys:le||[],selectedKeys:X||[],loadedKeys:ce||[],loadingKeys:v||[],checkedKeys:k||[],halfCheckedKeys:T||[],dragOverNodeKey:ie,dropPosition:Te,keyEntities:Ce}},H.setExpandedKeys=function(z){var le=H.state.treeData,X=Object(l.d)(le,z);H.setUncontrolledState({expandedKeys:z,flattenNodes:X},!0)},H.onNodeExpand=function(z,le){var X=H.state.expandedKeys,ce=H.state.listChanging,v=H.props,k=v.onExpand,T=v.loadData,ie=le.key,Te=le.expanded;if(ce)return;var Ce=X.indexOf(ie),Ie=!Te;if(Object(M.a)(Te&&Ce!==-1||!Te&&Ce===-1,"Expand state not sync with index check"),Ie?X=Object(h.a)(X,ie):X=Object(h.b)(X,ie),H.setExpandedKeys(X),k&&k(X,{node:le,expanded:Ie,nativeEvent:z.nativeEvent}),Ie&&T){var ke=H.onNodeLoad(le);ke&&ke.then(function(){var We=Object(l.d)(H.state.treeData,X);H.setUncontrolledState({flattenNodes:We})})}},H.onListChangeStart=function(){H.setUncontrolledState({listChanging:!0})},H.onListChangeEnd=function(){setTimeout(function(){H.setUncontrolledState({listChanging:!1})})},H.onActiveChange=function(z){var le=H.state.activeKey,X=H.props.onActiveChange;if(le===z)return;H.setState({activeKey:z}),z!==null&&H.scrollTo({key:z}),X&&X(z)},H.getActiveItem=function(){var z=H.state,le=z.activeKey,X=z.flattenNodes;return le===null?null:X.find(function(ce){var v=ce.data.key;return v===le})||null},H.offsetActiveKey=function(z){var le=H.state,X=le.flattenNodes,ce=le.activeKey,v=X.findIndex(function(ie){var Te=ie.data.key;return Te===ce});v===-1&&z<0&&(v=X.length),v=(v+z+X.length)%X.length;var k=X[v];if(k){var T=k.data.key;H.onActiveChange(T)}else H.onActiveChange(null)},H.onKeyDown=function(z){var le=H.state,X=le.activeKey,ce=le.expandedKeys,v=le.checkedKeys,k=H.props,T=k.onKeyDown,ie=k.checkable,Te=k.selectable;switch(z.which){case he.a.UP:{H.offsetActiveKey(-1),z.preventDefault();break}case he.a.DOWN:{H.offsetActiveKey(1),z.preventDefault();break}}var Ce=H.getActiveItem();if(Ce&&Ce.data){var Ie=H.getTreeNodeRequiredProps(),ke=Ce.data.isLeaf===!1||!!(Ce.data.children||[]).length,We=Object(l.b)(Object(Ee.a)(Object(Ee.a)({},Object(l.f)(X,Ie)),{},{data:Ce.data,active:!0}));switch(z.which){case he.a.LEFT:{ke&&ce.includes(X)?H.onNodeExpand({},We):Ce.parent&&H.onActiveChange(Ce.parent.data.key),z.preventDefault();break}case he.a.RIGHT:{ke&&!ce.includes(X)?H.onNodeExpand({},We):Ce.children&&Ce.children.length&&H.onActiveChange(Ce.children[0].data.key),z.preventDefault();break}case he.a.ENTER:case he.a.SPACE:{ie&&!We.disabled&&We.checkable!==!1&&!We.disableCheckbox?H.onNodeCheck({},We,!v.includes(X)):!ie&&Te&&!We.disabled&&We.selectable!==!1&&H.onNodeSelect({},We);break}}}T&&T(z)},H.setUncontrolledState=function(z){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(H.destroyed)return;var ce=!1,v=!0,k={};Object.keys(z).forEach(function(T){if(T in H.props){v=!1;return}ce=!0,k[T]=z[T]}),ce&&(!le||v)&&H.setState(Object(Ee.a)(Object(Ee.a)({},k),X))},H.scrollTo=function(z){H.listRef.current.scrollTo(z)},H}return Object(P.a)(re,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var z,le=this.state,X=le.focused,ce=le.flattenNodes,v=le.keyEntities,k=le.dragging,T=le.activeKey,ie=this.props,Te=ie.prefixCls,Ce=ie.className,Ie=ie.style,ke=ie.showLine,We=ie.focusable,Ze=ie.tabIndex,qe=Ze===void 0?0:Ze,tt=ie.selectable,ht=ie.showIcon,it=ie.icon,dt=ie.switcherIcon,at=ie.draggable,jt=ie.checkable,Dt=ie.checkStrictly,Ut=ie.disabled,Ge=ie.motion,In=ie.loadData,mn=ie.filterTreeNode,ft=ie.height,At=ie.itemHeight,Ft=ie.virtual,Ct=ie.titleRender,An=ie.onContextMenu,cn=Object(h.f)(this.props);return _e.createElement(s.a.Provider,{value:{prefixCls:Te,selectable:tt,showIcon:ht,icon:it,switcherIcon:dt,draggable:at,checkable:jt,checkStrictly:Dt,disabled:Ut,keyEntities:v,loadData:In,filterTreeNode:mn,titleRender:Ct,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},_e.createElement("div",{className:E()(Te,Ce,(z={},Object(we.a)(z,"".concat(Te,"-show-line"),ke),Object(we.a)(z,"".concat(Te,"-focused"),X),Object(we.a)(z,"".concat(Te,"-active-focused"),T!==null),z))},_e.createElement(y,Object.assign({ref:this.listRef,prefixCls:Te,style:Ie,data:ce,disabled:Ut,selectable:tt,checkable:!!jt,motion:Ge,dragging:k,height:ft,itemHeight:At,virtual:Ft,focusable:We,focused:X,tabIndex:qe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:An},this.getTreeNodeRequiredProps(),cn))))}}],[{key:"getDerivedStateFromProps",value:function(z,le){var X=le.prevProps,ce={prevProps:z};function v(it){return!X&&it in z||X&&X[it]!==z[it]}var k;if(v("treeData")?k=z.treeData:v("children")&&(Object(M.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),k=Object(l.c)(z.children)),k){ce.treeData=k;var T=Object(l.a)(k);ce.keyEntities=Object(Ee.a)(Object(we.a)({},b,G),T.keyEntities)}var ie=ce.keyEntities||le.keyEntities;if(v("expandedKeys")||X&&v("autoExpandParent"))ce.expandedKeys=z.autoExpandParent||!X&&z.defaultExpandParent?Object(h.e)(z.expandedKeys,ie):z.expandedKeys;else if(!X&&z.defaultExpandAll){var Te=Object(Ee.a)({},ie);delete Te[b],ce.expandedKeys=Object.keys(Te).map(function(it){return Te[it].key})}else!X&&z.defaultExpandedKeys&&(ce.expandedKeys=z.autoExpandParent||z.defaultExpandParent?Object(h.e)(z.defaultExpandedKeys,ie):z.defaultExpandedKeys);if(ce.expandedKeys||delete ce.expandedKeys,k||ce.expandedKeys){var Ce=Object(l.d)(k||le.treeData,ce.expandedKeys||le.expandedKeys);ce.flattenNodes=Ce}if(z.selectable&&(v("selectedKeys")?ce.selectedKeys=Object(h.d)(z.selectedKeys,z):!X&&z.defaultSelectedKeys&&(ce.selectedKeys=Object(h.d)(z.defaultSelectedKeys,z))),z.checkable){var Ie;if(v("checkedKeys")?Ie=Object(h.j)(z.checkedKeys)||{}:!X&&z.defaultCheckedKeys?Ie=Object(h.j)(z.defaultCheckedKeys)||{}:k&&(Ie=Object(h.j)(z.checkedKeys)||{checkedKeys:le.checkedKeys,halfCheckedKeys:le.halfCheckedKeys}),Ie){var ke=Ie,We=ke.checkedKeys,Ze=We===void 0?[]:We,qe=ke.halfCheckedKeys,tt=qe===void 0?[]:qe;if(!z.checkStrictly){var ht=Object(c.a)(Ze,!0,ie);Ze=ht.checkedKeys,tt=ht.halfCheckedKeys}ce.checkedKeys=Ze,ce.halfCheckedKeys=tt}}return v("loadedKeys")&&(ce.loadedKeys=z.loadedKeys),ce}}]),re}(_e.Component);O.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},O.TreeNode=D.a;var S=O,oe=ye.b=S},h78n:function(xe,ye,u){"use strict";u.d(ye,"a",function(){return q});var we=u("cDcd"),Ee=u.n(we),ze=u("TSYQ"),Oe=u.n(ze),P={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Ae=function(Z){var L=Z.map(function(){return Object(we.useRef)()}),y=Object(we.useRef)();return Object(we.useEffect)(function(){var c=Date.now(),O=!1;Object.keys(L).forEach(function(S){var oe=L[S].current;if(!oe)return;O=!0;var ue=oe.style;ue.transitionDuration=".3s, .3s, .3s, .06s",y.current&&c-y.current<100&&(ue.transitionDuration="0s, 0s")}),O&&(y.current=Date.now())}),[L]};function ge(){return ge=Object.assign||function(I){for(var Z=1;Z<arguments.length;Z++){var L=arguments[Z];for(var y in L)Object.prototype.hasOwnProperty.call(L,y)&&(I[y]=L[y])}return I},ge.apply(this,arguments)}function _e(I,Z){return s(I)||E(I,Z)||M(I,Z)||he()}function he(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function M(I,Z){if(!I)return;if(typeof I=="string")return w(I,Z);var L=Object.prototype.toString.call(I).slice(8,-1);if(L==="Object"&&I.constructor&&(L=I.constructor.name),L==="Map"||L==="Set")return Array.from(I);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return w(I,Z)}function w(I,Z){(Z==null||Z>I.length)&&(Z=I.length);for(var L=0,y=new Array(Z);L<Z;L++)y[L]=I[L];return y}function E(I,Z){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(I)))return;var L=[],y=!0,c=!1,O=void 0;try{for(var S=I[Symbol.iterator](),oe;!(y=(oe=S.next()).done)&&!(L.push(oe.value),Z&&L.length===Z);y=!0);}catch(ue){c=!0,O=ue}finally{try{!y&&S.return!=null&&S.return()}finally{if(c)throw O}}return L}function s(I){if(Array.isArray(I))return I}function h(I,Z){if(I==null)return{};var L=l(I,Z),y,c;if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(I);for(c=0;c<O.length;c++){if(y=O[c],Z.indexOf(y)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(I,y))continue;L[y]=I[y]}}return L}function l(I,Z){if(I==null)return{};var L={},y=Object.keys(I),c,O;for(O=0;O<y.length;O++){if(c=y[O],Z.indexOf(c)>=0)continue;L[c]=I[c]}return L}var f=function(Z){var L=Z.className,y=Z.percent,c=Z.prefixCls,O=Z.strokeColor,S=Z.strokeLinecap,oe=Z.strokeWidth,ue=Z.style,pe=Z.trailColor,re=Z.trailWidth,H=Z.transition,z=h(Z,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete z.gapPosition;var le=Array.isArray(y)?y:[y],X=Array.isArray(O)?O:[O],ce=Ae(le),v=_e(ce,1),k=v[0],T=oe/2,ie=100-oe/2,Te="M ".concat(S==="round"?T:0,",").concat(T,`
L `).concat(S==="round"?ie:100,",").concat(T),Ce="0 0 100 ".concat(oe),Ie=0;return Ee.a.createElement("svg",ge({className:Oe()("".concat(c,"-line"),L),viewBox:Ce,preserveAspectRatio:"none",style:ue},z),Ee.a.createElement("path",{className:"".concat(c,"-line-trail"),d:Te,strokeLinecap:S,stroke:pe,strokeWidth:re||oe,fillOpacity:"0"}),le.map(function(ke,We){var Ze={strokeDasharray:"".concat(ke,"px, 100px"),strokeDashoffset:"-".concat(Ie,"px"),transition:H||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},qe=X[We]||X[X.length-1];return Ie+=ke,Ee.a.createElement("path",{key:We,className:"".concat(c,"-line-path"),d:Te,strokeLinecap:S,stroke:qe,strokeWidth:oe,fillOpacity:"0",ref:k[We],style:Ze})}))};f.defaultProps=P;var x=f;function K(){return K=Object.assign||function(I){for(var Z=1;Z<arguments.length;Z++){var L=arguments[Z];for(var y in L)Object.prototype.hasOwnProperty.call(L,y)&&(I[y]=L[y])}return I},K.apply(this,arguments)}function A(I,Z){return Y(I)||V(I,Z)||ee(I,Z)||D()}function D(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ee(I,Z){if(!I)return;if(typeof I=="string")return te(I,Z);var L=Object.prototype.toString.call(I).slice(8,-1);if(L==="Object"&&I.constructor&&(L=I.constructor.name),L==="Map"||L==="Set")return Array.from(I);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return te(I,Z)}function te(I,Z){(Z==null||Z>I.length)&&(Z=I.length);for(var L=0,y=new Array(Z);L<Z;L++)y[L]=I[L];return y}function V(I,Z){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(I)))return;var L=[],y=!0,c=!1,O=void 0;try{for(var S=I[Symbol.iterator](),oe;!(y=(oe=S.next()).done)&&!(L.push(oe.value),Z&&L.length===Z);y=!0);}catch(ue){c=!0,O=ue}finally{try{!y&&S.return!=null&&S.return()}finally{if(c)throw O}}return L}function Y(I){if(Array.isArray(I))return I}function fe(I,Z){if(I==null)return{};var L=N(I,Z),y,c;if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(I);for(c=0;c<O.length;c++){if(y=O[c],Z.indexOf(y)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(I,y))continue;L[y]=I[y]}}return L}function N(I,Z){if(I==null)return{};var L={},y=Object.keys(I),c,O;for(O=0;O<y.length;O++){if(c=y[O],Z.indexOf(c)>=0)continue;L[c]=I[c]}return L}var W=0;function b(I){return+I.replace("%","")}function ae(I){return Array.isArray(I)?I:[I]}function G(I,Z,L,y){var c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,O=arguments.length>5?arguments[5]:void 0,S=50-y/2,oe=0,ue=-S,pe=0,re=-2*S;switch(O){case"left":oe=-S,ue=0,pe=2*S,re=0;break;case"right":oe=S,ue=0,pe=-2*S,re=0;break;case"bottom":ue=S,re=2*S;break;default:}var H="M 50,50 m ".concat(oe,",").concat(ue,`
a `).concat(S,",").concat(S," 0 1 1 ").concat(pe,",").concat(-re,`
a `).concat(S,",").concat(S," 0 1 1 ").concat(-pe,",").concat(re),z=Math.PI*2*S,le={stroke:L,strokeDasharray:"".concat(Z/100*(z-c),"px ").concat(z,"px"),strokeDashoffset:"-".concat(c/2+I/100*(z-c),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:H,pathStyle:le}}var C=function(Z){var L=Z.prefixCls,y=Z.strokeWidth,c=Z.trailWidth,O=Z.gapDegree,S=Z.gapPosition,oe=Z.trailColor,ue=Z.strokeLinecap,pe=Z.style,re=Z.className,H=Z.strokeColor,z=Z.percent,le=fe(Z,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),X=Object(we.useMemo)(function(){return W+=1,W},[]),ce=G(0,100,oe,y,O,S),v=ce.pathString,k=ce.pathStyle,T=ae(z),ie=ae(H),Te=ie.find(function(Ze){return Object.prototype.toString.call(Ze)==="[object Object]"}),Ce=Ae(T),Ie=A(Ce,1),ke=Ie[0],We=function(){var qe=0;return T.map(function(tt,ht){var it=ie[ht]||ie[ie.length-1],dt=Object.prototype.toString.call(it)==="[object Object]"?"url(#".concat(L,"-gradient-").concat(X,")"):"",at=G(qe,tt,it,y,O,S);return qe+=tt,Ee.a.createElement("path",{key:ht,className:"".concat(L,"-circle-path"),d:at.pathString,stroke:dt,strokeLinecap:ue,strokeWidth:y,opacity:tt===0?0:1,fillOpacity:"0",style:at.pathStyle,ref:ke[ht]})})};return Ee.a.createElement("svg",K({className:Oe()("".concat(L,"-circle"),re),viewBox:"0 0 100 100",style:pe},le),Te&&Ee.a.createElement("defs",null,Ee.a.createElement("linearGradient",{id:"".concat(L,"-gradient-").concat(X),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Te).sort(function(Ze,qe){return b(Ze)-b(qe)}).map(function(Ze,qe){return Ee.a.createElement("stop",{key:qe,offset:Ze,stopColor:Te[Ze]})}))),Ee.a.createElement("path",{className:"".concat(L,"-circle-trail"),d:v,stroke:oe,strokeLinecap:ue,strokeWidth:c||y,fillOpacity:"0",style:k}),We().reverse())};C.defaultProps=P;var q=C,Le={Line:x,Circle:q}},ji0R:function(xe,ye,u){xe.exports=u.p+"static/douyu.3e6df9ee.jpg"},k3GJ:function(xe,ye,u){"use strict";u.d(ye,"a",function(){return Jr});var we=u("rePB"),Ee=u("ODXe"),ze=u("Ff2n"),Oe=u("VTBJ"),P=u("cDcd"),Ae=u("TSYQ"),ge=u.n(Ae),_e=u("Zm9Q"),he=u("6cGi"),M=u("KQm4"),w=u("xEkU"),E=u.n(w),s=u("t23M");function h(j){var $=Object(P.useRef)(),se=Object(P.useRef)(!1);function U(){for(var m=arguments.length,R=new Array(m),_=0;_<m;_++)R[_]=arguments[_];se.current||(E.a.cancel($.current),$.current=E()(function(){j.apply(void 0,R)}))}return Object(P.useEffect)(function(){return function(){se.current=!0,E.a.cancel($.current)}},[]),U}function l(j){var $=Object(P.useRef)([]),se=Object(P.useState)({}),U=Object(Ee.a)(se,2),m=U[1],R=Object(P.useRef)(typeof j=="function"?j():j),_=h(function(){var Q=R.current;$.current.forEach(function(de){Q=de(Q)}),$.current=[],R.current=Q,m({})});function B(Q){$.current.push(Q),_()}return[R.current,B]}var f=u("4IlW");function x(j,$){var se,U=j.prefixCls,m=j.id,R=j.active,_=j.rtl,B=j.tab,Q=B.key,de=B.tab,ne=B.disabled,ve=B.closeIcon,Re=j.tabBarGutter,Fe=j.tabPosition,je=j.closable,Ye=j.renderWrapper,Et=j.removeAriaLabel,Jt=j.editable,Mt=j.onClick,zt=j.onRemove,Xt=j.onFocus,Yt="".concat(U,"-tab");P.useEffect(function(){return zt},[]);var Gt={};Fe==="top"||Fe==="bottom"?Gt[_?"marginLeft":"marginRight"]=Re:Gt.marginBottom=Re;var hn=Jt&&je!==!1&&!ne;function on(_t){if(ne)return;Mt(_t)}function Gn(_t){_t.preventDefault(),_t.stopPropagation(),Jt.onEdit("remove",{key:Q,event:_t})}var sn=P.createElement("div",{key:Q,ref:$,className:ge()(Yt,(se={},Object(we.a)(se,"".concat(Yt,"-with-remove"),hn),Object(we.a)(se,"".concat(Yt,"-active"),R),Object(we.a)(se,"".concat(Yt,"-disabled"),ne),se)),style:Gt,onClick:on},P.createElement("div",{role:"tab","aria-selected":R,id:m&&"".concat(m,"-tab-").concat(Q),className:"".concat(Yt,"-btn"),"aria-controls":m&&"".concat(m,"-panel-").concat(Q),"aria-disabled":ne,tabIndex:ne?null:0,onClick:function(gt){gt.stopPropagation(),on(gt)},onKeyDown:function(gt){[f.a.SPACE,f.a.ENTER].includes(gt.which)&&(gt.preventDefault(),on(gt))},onFocus:Xt},de),hn&&P.createElement("button",{type:"button","aria-label":Et||"remove",tabIndex:0,className:"".concat(Yt,"-remove"),onClick:function(gt){gt.stopPropagation(),Gn(gt)}},ve||Jt.removeIcon||"\xD7"));return Ye&&(sn=Ye(sn)),sn}var K=P.forwardRef(x),A={width:0,height:0,left:0,top:0};function D(j,$,se){return Object(P.useMemo)(function(){for(var U,m=new Map,R=$.get((U=j[0])===null||U===void 0?void 0:U.key)||A,_=R.left+R.width,B=0;B<j.length;B+=1){var Q=j[B].key,de=$.get(Q);if(!de){var ne;de=$.get((ne=j[B-1])===null||ne===void 0?void 0:ne.key)||A}var ve=m.get(Q)||Object(Oe.a)({},de);ve.right=_-ve.left-ve.width,m.set(Q,ve)}return m},[j.map(function(U){return U.key}).join("_"),$,se])}var ee={width:0,height:0,left:0,top:0,right:0};function te(j,$,se,U,m){var R=m.tabs,_=m.tabPosition,B=m.rtl,Q,de,ne;["top","bottom"].includes(_)?(Q="width",de=B?"right":"left",ne=Math.abs($.left)):(Q="height",de="top",ne=-$.top);var ve=$[Q],Re=se[Q],Fe=U[Q],je=ve;return Re+Fe>ve&&(je=ve-Fe),Object(P.useMemo)(function(){if(!R.length)return[0,0];for(var Ye=R.length,Et=Ye,Jt=0;Jt<Ye;Jt+=1){var Mt=j.get(R[Jt].key)||ee;if(Mt[de]+Mt[Q]>ne+je){Et=Jt-1;break}}for(var zt=0,Xt=Ye-1;Xt>=0;Xt-=1){var Yt=j.get(R[Xt].key)||ee;if(Yt[de]<ne){zt=Xt+1;break}}return[zt,Et]},[j,ne,je,_,R.map(function(Ye){return Ye.key}).join("_"),B])}var V=u("wx14"),Y=u("1OyB"),fe=u("vuIU"),N=u("JX7q"),W=u("Ji7U"),b=u("LK+K"),ae=u("I8Z2"),G=u("bT9E"),C=u("2GS6"),q=u("Gytx"),Le=u.n(q),I=u("U8pU"),Z=/iPhone/i,L=/iPod/i,y=/iPad/i,c=/\bAndroid(?:.+)Mobile\b/i,O=/Android/i,S=/\bAndroid(?:.+)SD4930UR\b/i,oe=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,ue=/Windows Phone/i,pe=/\bWindows(?:.+)ARM\b/i,re=/BlackBerry/i,H=/BB10/i,z=/Opera Mini/i,le=/\b(CriOS|Chrome)(?:.+)Mobile/i,X=/Mobile(?:.+)Firefox\b/i;function ce(j,$){return j.test($)}function v(j){var $=j||(typeof navigator!="undefined"?navigator.userAgent:""),se=($||"").split("[FBAN");if(typeof se[1]!="undefined"){var U=se,m=Object(Ee.a)(U,1);$=m[0]}if(se=$.split("Twitter"),typeof se[1]!="undefined"){var R=se,_=Object(Ee.a)(R,1);$=_[0]}var B={apple:{phone:ce(Z,$)&&!ce(ue,$),ipod:ce(L,$),tablet:!ce(Z,$)&&ce(y,$)&&!ce(ue,$),device:(ce(Z,$)||ce(L,$)||ce(y,$))&&!ce(ue,$)},amazon:{phone:ce(S,$),tablet:!ce(S,$)&&ce(oe,$),device:ce(S,$)||ce(oe,$)},android:{phone:!ce(ue,$)&&ce(S,$)||!ce(ue,$)&&ce(c,$),tablet:!ce(ue,$)&&!ce(S,$)&&!ce(c,$)&&(ce(oe,$)||ce(O,$)),device:!ce(ue,$)&&(ce(S,$)||ce(oe,$)||ce(c,$)||ce(O,$))||ce(/\bokhttp\b/i,$)},windows:{phone:ce(ue,$),tablet:ce(pe,$),device:ce(ue,$)||ce(pe,$)},other:{blackberry:ce(re,$),blackberry10:ce(H,$),opera:ce(z,$),firefox:ce(X,$),chrome:ce(le,$),device:ce(re,$)||ce(H,$)||ce(z,$)||ce(X,$)||ce(le,$)},any:null,phone:null,tablet:null};return B.any=B.apple.device||B.android.device||B.windows.device||B.other.device,B.phone=B.apple.phone||B.android.phone||B.windows.phone,B.tablet=B.apple.tablet||B.android.tablet||B.windows.tablet,B}var k=Object(Oe.a)(Object(Oe.a)({},v()),{},{isMobile:v}),T=k;function ie(){}function Te(j,$,se){var U=$||"";return j.key||"".concat(U,"item_").concat(se)}function Ce(j){return"".concat(j,"-menu-")}function Ie(j,$){var se=-1;P.Children.forEach(j,function(U){se+=1,U&&U.type&&U.type.isMenuItemGroup?P.Children.forEach(U.props.children,function(m){se+=1,$(m,se)}):$(U,se)})}function ke(j,$,se){if(!j||se.find)return;P.Children.forEach(j,function(U){if(U){var m=U.type;if(!m||!(m.isSubMenu||m.isMenuItem||m.isMenuItemGroup))return;$.indexOf(U.key)!==-1?se.find=!0:U.props.children&&ke(U.props.children,$,se)}})}var We=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],Ze=function($){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,U=$&&typeof $.getBoundingClientRect=="function"&&$.getBoundingClientRect().width;if(U){if(se){var m=getComputedStyle($),R=m.marginLeft,_=m.marginRight;U+=+R.replace("px","")+ +_.replace("px","")}U=+U.toFixed(6)}return U||0},qe=function($,se,U){$&&Object(I.a)($.style)==="object"&&($.style[se]=U)},tt=function(){return T.any},ht=u("bdgK"),it=u("faye"),dt=u.n(it),at=u("wgJM"),jt=u("l4aY"),Dt=u("m+aA"),Ut=u("c+Xe"),Ge=u("zT1h"),In=u("QC+M");function mn(j,$,se){return se?j[0]===$[0]:j[0]===$[0]&&j[1]===$[1]}function ft(j,$,se){var U=j[$]||{};return Object(Oe.a)(Object(Oe.a)({},U),se)}function At(j,$,se,U){for(var m=se.points,R=Object.keys(j),_=0;_<R.length;_+=1){var B=R[_];if(mn(j[B].points,m,U))return"".concat($,"-placement-").concat(B)}return""}var Ft=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var j=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(j)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(j==null?void 0:j.substr(0,4)))},Ct=u("MNnm");function An(j,$){var se={};return se[j.toLowerCase()]=$.toLowerCase(),se["Webkit".concat(j)]="webkit".concat($),se["Moz".concat(j)]="moz".concat($),se["ms".concat(j)]="MS".concat($),se["O".concat(j)]="o".concat($.toLowerCase()),se}function cn(j,$){var se={animationend:An("Animation","AnimationEnd"),transitionend:An("Transition","TransitionEnd")};return j&&("AnimationEvent"in $||delete se.animationend.animation,"TransitionEvent"in $||delete se.transitionend.transition),se}var Zt=cn(Object(Ct.a)(),typeof window!="undefined"?window:{}),ui={};if(Object(Ct.a)()){var Bn=document.createElement("div");ui=Bn.style}var ei={};function yi(j){if(ei[j])return ei[j];var $=Zt[j];if($)for(var se=Object.keys($),U=se.length,m=0;m<U;m+=1){var R=se[m];if(Object.prototype.hasOwnProperty.call($,R)&&R in ui)return ei[j]=$[R],ei[j]}return""}var qi=yi("animationend"),Ii=yi("transitionend"),ji=!!(qi&&Ii),ia=qi||"animationend",mt=Ii||"transitionend";function Be(j,$){if(!j)return null;if(Object(I.a)(j)==="object"){var se=$.replace(/-\w/g,function(U){return U[1].toUpperCase()});return j[se]}return"".concat(j,"-").concat($)}var Ot="none",tn="appear",qt="enter",Ln="leave",On="none",Vt="prepare",nt="start",ut="active",st="end";function ct(j){var $=Object(P.useRef)(!1),se=Object(P.useState)(j),U=Object(Ee.a)(se,2),m=U[0],R=U[1];function _(B){$.current||R(B)}return Object(P.useEffect)(function(){return function(){$.current=!0}},[]),[m,_]}var ot=Object(Ct.a)()?P.useLayoutEffect:P.useEffect,xt=ot,St=function(){var j=P.useRef(null);function $(){at.a.cancel(j.current)}function se(U){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;$();var R=Object(at.a)(function(){m<=1?U({isCanceled:function(){return R!==j.current}}):se(U,m-1)});j.current=R}return P.useEffect(function(){return function(){$()}},[]),[se,$]},Bt=[Vt,nt,ut,st],wt=!1,pt=!0;function Ue(j){return j===ut||j===st}var gn=function(j,$){var se=P.useState(On),U=Object(Ee.a)(se,2),m=U[0],R=U[1],_=St(),B=Object(Ee.a)(_,2),Q=B[0],de=B[1];function ne(){R(Vt)}return xt(function(){if(m!==On&&m!==st){var ve=Bt.indexOf(m),Re=Bt[ve+1],Fe=$(m);Fe===wt?R(Re):Q(function(je){function Ye(){if(je.isCanceled())return;R(Re)}Fe===!0?Ye():Promise.resolve(Fe).then(Ye)})}},[j,m]),P.useEffect(function(){return function(){de()}},[]),[ne,m]},nn=function(j){var $=Object(P.useRef)(),se=Object(P.useRef)(j);se.current=j;var U=P.useCallback(function(_){se.current(_)},[]);function m(_){_&&(_.removeEventListener(mt,U),_.removeEventListener(ia,U))}function R(_){$.current&&$.current!==_&&m($.current),_&&_!==$.current&&(_.addEventListener(mt,U),_.addEventListener(ia,U),$.current=_)}return P.useEffect(function(){return function(){m($.current)}},[]),[R,m]};function Cn(j,$,se,U){var m=U.motionEnter,R=m===void 0?!0:m,_=U.motionAppear,B=_===void 0?!0:_,Q=U.motionLeave,de=Q===void 0?!0:Q,ne=U.motionDeadline,ve=U.motionLeaveImmediately,Re=U.onAppearPrepare,Fe=U.onEnterPrepare,je=U.onLeavePrepare,Ye=U.onAppearStart,Et=U.onEnterStart,Jt=U.onLeaveStart,Mt=U.onAppearActive,zt=U.onEnterActive,Xt=U.onLeaveActive,Yt=U.onAppearEnd,Gt=U.onEnterEnd,hn=U.onLeaveEnd,on=U.onVisibleChanged,Gn=ct(),sn=Object(Ee.a)(Gn,2),_t=sn[0],gt=sn[1],un=ct(Ot),fn=Object(Ee.a)(un,2),lt=fn[0],pn=fn[1],Qn=ct(null),yn=Object(Ee.a)(Qn,2),Pn=yn[0],Mn=yn[1],ai=Object(P.useRef)(!1),mi=Object(P.useRef)(null),Zn=Object(P.useRef)(!1),Li=Object(P.useRef)(null);function ra(){var Fn=se();return Fn||Li.current}var Wi=Object(P.useRef)(!1);function gi(Fn){var Nn=ra();if(Fn&&!Fn.deadline&&Fn.target!==Nn)return;var vi;lt===tn&&Wi.current?vi=Yt==null?void 0:Yt(Nn,Fn):lt===qt&&Wi.current?vi=Gt==null?void 0:Gt(Nn,Fn):lt===Ln&&Wi.current&&(vi=hn==null?void 0:hn(Nn,Fn)),vi!==!1&&!Zn.current&&(pn(Ot),Mn(null))}var Wn=nn(gi),jn=Object(Ee.a)(Wn,1),qn=jn[0],Yn=P.useMemo(function(){var Fn,Nn,vi;switch(lt){case"appear":return Fn={},Object(we.a)(Fn,Vt,Re),Object(we.a)(Fn,nt,Ye),Object(we.a)(Fn,ut,Mt),Fn;case"enter":return Nn={},Object(we.a)(Nn,Vt,Fe),Object(we.a)(Nn,nt,Et),Object(we.a)(Nn,ut,zt),Nn;case"leave":return vi={},Object(we.a)(vi,Vt,je),Object(we.a)(vi,nt,Jt),Object(we.a)(vi,ut,Xt),vi;default:return{}}},[lt]),oa=gn(lt,function(Fn){if(Fn===Vt){var Nn=Yn[Vt];return Nn?Nn(ra()):wt}if(Dn in Yn){var vi;Mn(((vi=Yn[Dn])===null||vi===void 0?void 0:vi.call(Yn,ra(),null))||null)}return Dn===ut&&(qn(ra()),ne>0&&(clearTimeout(mi.current),mi.current=setTimeout(function(){gi({deadline:!0})},ne))),pt}),Ia=Object(Ee.a)(oa,2),Ma=Ia[0],Dn=Ia[1],ha=Ue(Dn);Wi.current=ha,xt(function(){gt($);var Fn=ai.current;if(ai.current=!0,!j)return;var Nn;!Fn&&$&&B&&(Nn=tn),Fn&&$&&R&&(Nn=qt),(Fn&&!$&&de||!Fn&&ve&&!$&&de)&&(Nn=Ln),Nn&&(pn(Nn),Ma())},[$]),Object(P.useEffect)(function(){(lt===tn&&!B||lt===qt&&!R||lt===Ln&&!de)&&pn(Ot)},[B,R,de]),Object(P.useEffect)(function(){return function(){clearTimeout(mi.current),Zn.current=!0}},[]),Object(P.useEffect)(function(){_t!==void 0&&lt===Ot&&(on==null||on(_t))},[_t,lt]);var Da=Pn;return Yn[Vt]&&Dn===nt&&(Da=Object(Oe.a)({transition:"none"},Da)),[lt,Dn,Da,_t!=null?_t:$]}var Tt=function(j){Object(W.a)(se,j);var $=Object(b.a)(se);function se(){return Object(Y.a)(this,se),$.apply(this,arguments)}return Object(fe.a)(se,[{key:"render",value:function(){return this.props.children}}]),se}(P.Component),bn=Tt;function Rt(j){var $=j;Object(I.a)(j)==="object"&&($=j.transitionSupport);function se(m){return!!(m.motionName&&$)}var U=P.forwardRef(function(m,R){var _=m.visible,B=_===void 0?!0:_,Q=m.removeOnLeave,de=Q===void 0?!0:Q,ne=m.forceRender,ve=m.children,Re=m.motionName,Fe=m.leavedClassName,je=m.eventProps,Ye=se(m),Et=Object(P.useRef)(),Jt=Object(P.useRef)();function Mt(){try{return Object(Dt.a)(Et.current||Jt.current)}catch(pn){return null}}var zt=Cn(Ye,B,Mt,m),Xt=Object(Ee.a)(zt,4),Yt=Xt[0],Gt=Xt[1],hn=Xt[2],on=Xt[3],Gn=P.useRef(on);on&&(Gn.current=!0);var sn=Object(P.useRef)(R);sn.current=R;var _t=P.useCallback(function(pn){Et.current=pn,Object(Ut.b)(sn.current,pn)},[]),gt,un=Object(Oe.a)(Object(Oe.a)({},je),{},{visible:B});if(!ve)gt=null;else if(Yt===Ot||!se(m))on?gt=ve(Object(Oe.a)({},un),_t):!de&&Gn.current?gt=ve(Object(Oe.a)(Object(Oe.a)({},un),{},{className:Fe}),_t):ne?gt=ve(Object(Oe.a)(Object(Oe.a)({},un),{},{style:{display:"none"}}),_t):gt=null;else{var fn,lt;Gt===Vt?lt="prepare":Ue(Gt)?lt="active":Gt===nt&&(lt="start"),gt=ve(Object(Oe.a)(Object(Oe.a)({},un),{},{className:ge()(Be(Re,Yt),(fn={},Object(we.a)(fn,Be(Re,"".concat(Yt,"-").concat(lt)),lt),Object(we.a)(fn,Re,typeof Re=="string"),fn)),style:hn}),_t)}return P.createElement(bn,{ref:Jt},gt)});return U.displayName="CSSMotion",U}var Me=Rt(ji),Se="add",He="keep",ln="remove",Wt="removed";function Nt(j){var $;return j&&Object(I.a)(j)==="object"&&"key"in j?$=j:$={key:j},Object(Oe.a)(Object(Oe.a)({},$),{},{key:String($.key)})}function bt(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return j.map(Nt)}function Sn(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],$=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],se=[],U=0,m=$.length,R=bt(j),_=bt($);R.forEach(function(de){for(var ne=!1,ve=U;ve<m;ve+=1){var Re=_[ve];if(Re.key===de.key){U<ve&&(se=se.concat(_.slice(U,ve).map(function(Fe){return Object(Oe.a)(Object(Oe.a)({},Fe),{},{status:Se})})),U=ve),se.push(Object(Oe.a)(Object(Oe.a)({},Re),{},{status:He})),U+=1,ne=!0;break}}ne||se.push(Object(Oe.a)(Object(Oe.a)({},de),{},{status:ln}))}),U<m&&(se=se.concat(_.slice(U).map(function(de){return Object(Oe.a)(Object(Oe.a)({},de),{},{status:Se})})));var B={};se.forEach(function(de){var ne=de.key;B[ne]=(B[ne]||0)+1});var Q=Object.keys(B).filter(function(de){return B[de]>1});return Q.forEach(function(de){se=se.filter(function(ne){var ve=ne.key,Re=ne.status;return ve!==de||Re!==ln}),se.forEach(function(ne){ne.key===de&&(ne.status=He)})}),se}var Xe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ht(j){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Me,se=function(U){Object(W.a)(R,U);var m=Object(b.a)(R);function R(){var _;return Object(Y.a)(this,R),_=m.apply(this,arguments),_.state={keyEntities:[]},_.removeKey=function(B){_.setState(function(Q){var de=Q.keyEntities;return{keyEntities:de.map(function(ne){return ne.key!==B?ne:Object(Oe.a)(Object(Oe.a)({},ne),{},{status:Wt})})}})},_}return Object(fe.a)(R,[{key:"render",value:function(){var B=this,Q=this.state.keyEntities,de=this.props,ne=de.component,ve=de.children,Re=de.onVisibleChanged,Fe=Object(ze.a)(de,["component","children","onVisibleChanged"]),je=ne||P.Fragment,Ye={};return Xe.forEach(function(Et){Ye[Et]=Fe[Et],delete Fe[Et]}),delete Fe.keys,P.createElement(je,Fe,Q.map(function(Et){var Jt=Et.status,Mt=Object(ze.a)(Et,["status"]),zt=Jt===Se||Jt===He;return P.createElement($,Object(V.a)({},Ye,{key:Mt.key,visible:zt,eventProps:Mt,onVisibleChanged:function(Yt){Re==null||Re(Yt,{key:Mt.key}),Yt||B.removeKey(Mt.key)}}),ve)}))}}],[{key:"getDerivedStateFromProps",value:function(B,Q){var de=B.keys,ne=Q.keyEntities,ve=bt(de),Re=Sn(ne,ve);return{keyEntities:Re.filter(function(Fe){var je=ne.find(function(Ye){var Et=Ye.key;return Fe.key===Et});return!(je&&je.status===Wt&&Fe.status===ln)})}}}]),R}(P.Component);return se.defaultProps={component:"div"},se}var an=Ht(ji),Vn=Me;function Kt(j){var $=j.prefixCls,se=j.motion,U=j.animation,m=j.transitionName;return se||(U?{motionName:"".concat($,"-").concat(U)}:m?{motionName:m}:null)}function Jn(j){var $=j.prefixCls,se=j.visible,U=j.zIndex,m=j.mask,R=j.maskMotion,_=j.maskAnimation,B=j.maskTransitionName;if(!m)return null;var Q={};return(R||B||_)&&(Q=Object(Oe.a)({motionAppear:!0},Kt({motion:R,prefixCls:$,transitionName:B,animation:_}))),P.createElement(Vn,Object(V.a)({},Q,{visible:se,removeOnLeave:!0}),function(de){var ne=de.className;return P.createElement("div",{style:{zIndex:U},className:ge()("".concat($,"-mask"),ne)})})}var Ai=u("9mu1"),Ui=u("o0o1"),Mi=u.n(Ui),$t=u("HaE+"),Qt=["measure","align",null,"motion"],Lt=function(j,$){var se=Object(P.useState)(null),U=Object(Ee.a)(se,2),m=U[0],R=U[1],_=Object(P.useRef)(),B=Object(P.useRef)(!1);function Q(ve){B.current||R(ve)}function de(){at.a.cancel(_.current)}function ne(ve){de(),_.current=Object(at.a)(function(){Q(function(Re){switch(m){case"align":return"motion";case"motion":return"stable";default:}return Re}),ve==null||ve()})}return Object(P.useEffect)(function(){Q("measure")},[j]),Object(P.useEffect)(function(){switch(m){case"measure":$();break;default:}m&&(_.current=Object(at.a)(Object($t.a)(Mi.a.mark(function ve(){var Re,Fe;return Mi.a.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:Re=Qt.indexOf(m),Fe=Qt[Re+1],Fe&&Re!==-1&&Q(Fe);case 3:case"end":return Ye.stop()}},ve)}))))},[m]),Object(P.useEffect)(function(){return function(){B.current=!0,de()}},[]),[m,ne]},Xn=function(j){var $=P.useState({width:0,height:0}),se=Object(Ee.a)($,2),U=se[0],m=se[1];function R(B){m({width:B.offsetWidth,height:B.offsetHeight})}var _=P.useMemo(function(){var B={};if(j){var Q=U.width,de=U.height;j.indexOf("height")!==-1&&de?B.height=de:j.indexOf("minHeight")!==-1&&de&&(B.minHeight=de),j.indexOf("width")!==-1&&Q?B.width=Q:j.indexOf("minWidth")!==-1&&Q&&(B.minWidth=Q)}return B},[j,U]);return[_,R]},Oi=P.forwardRef(function(j,$){var se=j.visible,U=j.prefixCls,m=j.className,R=j.style,_=j.children,B=j.zIndex,Q=j.stretch,de=j.destroyPopupOnHide,ne=j.forceRender,ve=j.align,Re=j.point,Fe=j.getRootDomNode,je=j.getClassNameFromAlign,Ye=j.onAlign,Et=j.onMouseEnter,Jt=j.onMouseLeave,Mt=j.onMouseDown,zt=j.onTouchStart,Xt=Object(P.useRef)(),Yt=Object(P.useRef)(),Gt=Object(P.useState)(),hn=Object(Ee.a)(Gt,2),on=hn[0],Gn=hn[1],sn=Xn(Q),_t=Object(Ee.a)(sn,2),gt=_t[0],un=_t[1];function fn(){Q&&un(Fe())}var lt=Lt(se,fn),pn=Object(Ee.a)(lt,2),Qn=pn[0],yn=pn[1],Pn=Object(P.useRef)();function Mn(){return Re||Fe}function ai(){var Wn;(Wn=Xt.current)===null||Wn===void 0||Wn.forceAlign()}function mi(Wn,jn){var qn=je(jn);on!==qn&&Gn(qn),Qn==="align"&&(on!==qn?Promise.resolve().then(function(){ai()}):yn(function(){var Yn;(Yn=Pn.current)===null||Yn===void 0||Yn.call(Pn)}),Ye==null||Ye(Wn,jn))}var Zn=Object(Oe.a)({},Kt(j));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Wn){var jn=Zn[Wn];Zn[Wn]=function(qn,Yn){return yn(),jn==null?void 0:jn(qn,Yn)}});function Li(){return new Promise(function(Wn){Pn.current=Wn})}P.useEffect(function(){!Zn.motionName&&Qn==="motion"&&yn()},[Zn.motionName,Qn]),P.useImperativeHandle($,function(){return{forceAlign:ai,getElement:function(){return Yt.current}}});var ra=Object(Oe.a)(Object(Oe.a)({},gt),{},{zIndex:B,opacity:Qn==="motion"||Qn==="stable"||!se?void 0:0,pointerEvents:Qn==="stable"?void 0:"none"},R),Wi=!0;(ve==null?void 0:ve.points)&&(Qn==="align"||Qn==="stable")&&(Wi=!1);var gi=_;return P.Children.count(_)>1&&(gi=P.createElement("div",{className:"".concat(U,"-content")},_)),P.createElement(Vn,Object(V.a)({visible:se,ref:Yt,leavedClassName:"".concat(U,"-hidden")},Zn,{onAppearPrepare:Li,onEnterPrepare:Li,removeOnLeave:de,forceRender:ne}),function(Wn,jn){var qn=Wn.className,Yn=Wn.style,oa=ge()(U,m,on,qn);return P.createElement(Ai.a,{target:Mn(),key:"popup",ref:Xt,monitorWindowResize:!0,disabled:Wi,align:ve,onAlign:mi},P.createElement("div",{ref:jn,className:oa,onMouseEnter:Et,onMouseLeave:Jt,onMouseDownCapture:Mt,onTouchStartCapture:zt,style:Object(Oe.a)(Object(Oe.a)({},Yn),ra)},gi))})});Oi.displayName="PopupInner";var ci=Oi,rn=P.forwardRef(function(j,$){var se=j.prefixCls,U=j.visible,m=j.zIndex,R=j.children,_=j.mobile;_=_===void 0?{}:_;var B=_.popupClassName,Q=_.popupStyle,de=_.popupMotion,ne=de===void 0?{}:de,ve=_.popupRender,Re=P.useRef();P.useImperativeHandle($,function(){return{forceAlign:function(){},getElement:function(){return Re.current}}});var Fe=Object(Oe.a)({zIndex:m},Q),je=R;return P.Children.count(R)>1&&(je=P.createElement("div",{className:"".concat(se,"-content")},R)),ve&&(je=ve(je)),P.createElement(Vn,Object(V.a)({visible:U,ref:Re,removeOnLeave:!0},ne),function(Ye,Et){var Jt=Ye.className,Mt=Ye.style,zt=ge()(se,B,Jt);return P.createElement("div",{ref:Et,className:zt,style:Object(Oe.a)(Object(Oe.a)({},Mt),Fe)},je)})});rn.displayName="MobilePopupInner";var wa=rn,$i=["visible","mobile"],Di=P.forwardRef(function(j,$){var se=j.visible,U=j.mobile,m=Object(ze.a)(j,$i),R=Object(P.useState)(se),_=Object(Ee.a)(R,2),B=_[0],Q=_[1],de=Object(P.useState)(!1),ne=Object(Ee.a)(de,2),ve=ne[0],Re=ne[1],Fe=Object(Oe.a)(Object(Oe.a)({},m),{},{visible:B});Object(P.useEffect)(function(){Q(se),se&&U&&Re(Ft())},[se,U]);var je=ve?P.createElement(wa,Object(V.a)({},Fe,{mobile:U,ref:$})):P.createElement(ci,Object(V.a)({},Fe,{ref:$}));return P.createElement("div",null,P.createElement(Jn,Fe),je)});Di.displayName="Popup";var fa=Di,pa=P.createContext(null),ca=pa;function ea(){}function br(){return""}function lr(j){return j?j.ownerDocument:window.document}var Rn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function vn(j){var $=function(se){Object(W.a)(m,se);var U=Object(b.a)(m);function m(R){var _;Object(Y.a)(this,m),_=U.call(this,R),_.popupRef=P.createRef(),_.triggerRef=P.createRef(),_.attachId=void 0,_.clickOutsideHandler=void 0,_.touchOutsideHandler=void 0,_.contextMenuOutsideHandler1=void 0,_.contextMenuOutsideHandler2=void 0,_.mouseDownTimeout=void 0,_.focusTime=void 0,_.preClickTime=void 0,_.preTouchTime=void 0,_.delayTimer=void 0,_.hasPopupMouseDown=void 0,_.onMouseEnter=function(Q){var de=_.props.mouseEnterDelay;_.fireEvents("onMouseEnter",Q),_.delaySetPopupVisible(!0,de,de?null:Q)},_.onMouseMove=function(Q){_.fireEvents("onMouseMove",Q),_.setPoint(Q)},_.onMouseLeave=function(Q){_.fireEvents("onMouseLeave",Q),_.delaySetPopupVisible(!1,_.props.mouseLeaveDelay)},_.onPopupMouseEnter=function(){_.clearDelayTimer()},_.onPopupMouseLeave=function(Q){var de;if(Q.relatedTarget&&!Q.relatedTarget.setTimeout&&Object(jt.a)((de=_.popupRef.current)===null||de===void 0?void 0:de.getElement(),Q.relatedTarget))return;_.delaySetPopupVisible(!1,_.props.mouseLeaveDelay)},_.onFocus=function(Q){_.fireEvents("onFocus",Q),_.clearDelayTimer(),_.isFocusToShow()&&(_.focusTime=Date.now(),_.delaySetPopupVisible(!0,_.props.focusDelay))},_.onMouseDown=function(Q){_.fireEvents("onMouseDown",Q),_.preClickTime=Date.now()},_.onTouchStart=function(Q){_.fireEvents("onTouchStart",Q),_.preTouchTime=Date.now()},_.onBlur=function(Q){_.fireEvents("onBlur",Q),_.clearDelayTimer(),_.isBlurToHide()&&_.delaySetPopupVisible(!1,_.props.blurDelay)},_.onContextMenu=function(Q){Q.preventDefault(),_.fireEvents("onContextMenu",Q),_.setPopupVisible(!0,Q)},_.onContextMenuClose=function(){_.isContextMenuToShow()&&_.close()},_.onClick=function(Q){if(_.fireEvents("onClick",Q),_.focusTime){var de;if(_.preClickTime&&_.preTouchTime?de=Math.min(_.preClickTime,_.preTouchTime):_.preClickTime?de=_.preClickTime:_.preTouchTime&&(de=_.preTouchTime),Math.abs(de-_.focusTime)<20)return;_.focusTime=0}_.preClickTime=0,_.preTouchTime=0,_.isClickToShow()&&(_.isClickToHide()||_.isBlurToHide())&&Q&&Q.preventDefault&&Q.preventDefault();var ne=!_.state.popupVisible;(_.isClickToHide()&&!ne||ne&&_.isClickToShow())&&_.setPopupVisible(!_.state.popupVisible,Q)},_.onPopupMouseDown=function(){if(_.hasPopupMouseDown=!0,clearTimeout(_.mouseDownTimeout),_.mouseDownTimeout=window.setTimeout(function(){_.hasPopupMouseDown=!1},0),_.context){var Q;(Q=_.context).onPopupMouseDown.apply(Q,arguments)}},_.onDocumentClick=function(Q){if(_.props.mask&&!_.props.maskClosable)return;var de=Q.target,ne=_.getRootDomNode(),ve=_.getPopupDomNode();(!Object(jt.a)(ne,de)||_.isContextMenuOnly())&&!Object(jt.a)(ve,de)&&!_.hasPopupMouseDown&&_.close()},_.getRootDomNode=function(){var Q=_.props.getTriggerDOMNode;if(Q)return Q(_.triggerRef.current);try{var de=Object(Dt.a)(_.triggerRef.current);if(de)return de}catch(ne){}return dt.a.findDOMNode(Object(N.a)(_))},_.getPopupClassNameFromAlign=function(Q){var de=[],ne=_.props,ve=ne.popupPlacement,Re=ne.builtinPlacements,Fe=ne.prefixCls,je=ne.alignPoint,Ye=ne.getPopupClassNameFromAlign;return ve&&Re&&de.push(At(Re,Fe,Q,je)),Ye&&de.push(Ye(Q)),de.join(" ")},_.getComponent=function(){var Q=_.props,de=Q.prefixCls,ne=Q.destroyPopupOnHide,ve=Q.popupClassName,Re=Q.onPopupAlign,Fe=Q.popupMotion,je=Q.popupAnimation,Ye=Q.popupTransitionName,Et=Q.popupStyle,Jt=Q.mask,Mt=Q.maskAnimation,zt=Q.maskTransitionName,Xt=Q.maskMotion,Yt=Q.zIndex,Gt=Q.popup,hn=Q.stretch,on=Q.alignPoint,Gn=Q.mobile,sn=Q.forceRender,_t=_.state,gt=_t.popupVisible,un=_t.point,fn=_.getPopupAlign(),lt={};return _.isMouseEnterToShow()&&(lt.onMouseEnter=_.onPopupMouseEnter),_.isMouseLeaveToHide()&&(lt.onMouseLeave=_.onPopupMouseLeave),lt.onMouseDown=_.onPopupMouseDown,lt.onTouchStart=_.onPopupMouseDown,P.createElement(fa,Object(V.a)({prefixCls:de,destroyPopupOnHide:ne,visible:gt,point:on&&un,className:ve,align:fn,onAlign:Re,animation:je,getClassNameFromAlign:_.getPopupClassNameFromAlign},lt,{stretch:hn,getRootDomNode:_.getRootDomNode,style:Et,mask:Jt,zIndex:Yt,transitionName:Ye,maskAnimation:Mt,maskTransitionName:zt,maskMotion:Xt,ref:_.popupRef,motion:Fe,mobile:Gn,forceRender:sn}),typeof Gt=="function"?Gt():Gt)},_.attachParent=function(Q){at.a.cancel(_.attachId);var de=_.props,ne=de.getPopupContainer,ve=de.getDocument,Re=_.getRootDomNode(),Fe;ne?(Re||ne.length===0)&&(Fe=ne(Re)):Fe=ve(_.getRootDomNode()).body,Fe?Fe.appendChild(Q):_.attachId=Object(at.a)(function(){_.attachParent(Q)})},_.getContainer=function(){var Q=_.props.getDocument,de=Q(_.getRootDomNode()).createElement("div");return de.style.position="absolute",de.style.top="0",de.style.left="0",de.style.width="100%",_.attachParent(de),de},_.setPoint=function(Q){var de=_.props.alignPoint;if(!de||!Q)return;_.setState({point:{pageX:Q.pageX,pageY:Q.pageY}})},_.handlePortalUpdate=function(){_.state.prevPopupVisible!==_.state.popupVisible&&_.props.afterPopupVisibleChange(_.state.popupVisible)},_.triggerContextValue={onPopupMouseDown:_.onPopupMouseDown};var B;return"popupVisible"in R?B=!!R.popupVisible:B=!!R.defaultPopupVisible,_.state={prevPopupVisible:B,popupVisible:B},Rn.forEach(function(Q){_["fire".concat(Q)]=function(de){_.fireEvents(Q,de)}}),_}return Object(fe.a)(m,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var _=this.props,B=this.state;if(B.popupVisible){var Q;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Q=_.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(Ge.a)(Q,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Q=Q||_.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(Ge.a)(Q,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Q=Q||_.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(Ge.a)(Q,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(Ge.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),at.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var _;return((_=this.popupRef.current)===null||_===void 0?void 0:_.getElement())||null}},{key:"getPopupAlign",value:function(){var _=this.props,B=_.popupPlacement,Q=_.popupAlign,de=_.builtinPlacements;return B&&de?ft(de,B,Q):Q}},{key:"setPopupVisible",value:function(_,B){var Q=this.props.alignPoint,de=this.state.popupVisible;this.clearDelayTimer(),de!==_&&("popupVisible"in this.props||this.setState({popupVisible:_,prevPopupVisible:de}),this.props.onPopupVisibleChange(_)),Q&&B&&_&&this.setPoint(B)}},{key:"delaySetPopupVisible",value:function(_,B,Q){var de=this,ne=B*1e3;if(this.clearDelayTimer(),ne){var ve=Q?{pageX:Q.pageX,pageY:Q.pageY}:null;this.delayTimer=window.setTimeout(function(){de.setPopupVisible(_,ve),de.clearDelayTimer()},ne)}else this.setPopupVisible(_,Q)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(_){var B=this.props.children.props,Q=this.props;return B[_]&&Q[_]?this["fire".concat(_)]:B[_]||Q[_]}},{key:"isClickToShow",value:function(){var _=this.props,B=_.action,Q=_.showAction;return B.indexOf("click")!==-1||Q.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var _=this.props.action;return _==="contextMenu"||_.length===1&&_[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var _=this.props,B=_.action,Q=_.showAction;return B.indexOf("contextMenu")!==-1||Q.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var _=this.props,B=_.action,Q=_.hideAction;return B.indexOf("click")!==-1||Q.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var _=this.props,B=_.action,Q=_.showAction;return B.indexOf("hover")!==-1||Q.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var _=this.props,B=_.action,Q=_.hideAction;return B.indexOf("hover")!==-1||Q.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var _=this.props,B=_.action,Q=_.showAction;return B.indexOf("focus")!==-1||Q.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var _=this.props,B=_.action,Q=_.hideAction;return B.indexOf("focus")!==-1||Q.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var _;(_=this.popupRef.current)===null||_===void 0||_.forceAlign()}}},{key:"fireEvents",value:function(_,B){var Q=this.props.children.props[_];Q&&Q(B);var de=this.props[_];de&&de(B)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var _=this.state.popupVisible,B=this.props,Q=B.children,de=B.forceRender,ne=B.alignPoint,ve=B.className,Re=B.autoDestroy,Fe=P.Children.only(Q),je={key:"trigger"};this.isContextMenuToShow()?je.onContextMenu=this.onContextMenu:je.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(je.onClick=this.onClick,je.onMouseDown=this.onMouseDown,je.onTouchStart=this.onTouchStart):(je.onClick=this.createTwoChains("onClick"),je.onMouseDown=this.createTwoChains("onMouseDown"),je.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(je.onMouseEnter=this.onMouseEnter,ne&&(je.onMouseMove=this.onMouseMove)):je.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?je.onMouseLeave=this.onMouseLeave:je.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(je.onFocus=this.onFocus,je.onBlur=this.onBlur):(je.onFocus=this.createTwoChains("onFocus"),je.onBlur=this.createTwoChains("onBlur"));var Ye=ge()(Fe&&Fe.props&&Fe.props.className,ve);Ye&&(je.className=Ye);var Et=Object(Oe.a)({},je);Object(Ut.c)(Fe)&&(Et.ref=Object(Ut.a)(this.triggerRef,Fe.ref));var Jt=P.cloneElement(Fe,Et),Mt;return(_||this.popupRef.current||de)&&(Mt=P.createElement(j,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!_&&Re&&(Mt=null),P.createElement(ca.Provider,{value:this.triggerContextValue},Jt,Mt)}}],[{key:"getDerivedStateFromProps",value:function(_,B){var Q=_.popupVisible,de={};return Q!==void 0&&B.popupVisible!==Q&&(de.popupVisible=Q,de.prevPopupVisible=B.popupVisible),de}}]),m}(P.Component);return $.contextType=ca,$.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:br,getDocument:lr,onPopupVisibleChange:ea,afterPopupVisibleChange:ea,onPopupAlign:ea,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},$}var wn=vn(In.a),ti={adjustX:1,adjustY:1},wi={topLeft:{points:["bl","tl"],overflow:ti,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ti,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:ti,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:ti,offset:[4,0]}},Fi={topLeft:{points:["bl","tl"],overflow:ti,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ti,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:ti,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:ti,offset:[4,0]}},Ri=wi,di=0,aa={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ii=function($,se,U){var m=Ce(se),R=$.getState();$.setState({defaultActiveFirst:Object(Oe.a)(Object(Oe.a)({},R.defaultActiveFirst),{},Object(we.a)({},m,U))})},Ta=function(j){Object(W.a)(se,j);var $=Object(b.a)(se);function se(U){var m;Object(Y.a)(this,se),m=$.call(this,U),m.onDestroy=function(ne){m.props.onDestroy(ne)},m.onKeyDown=function(ne){var ve=ne.keyCode,Re=m.menuInstance,Fe=m.props.store,je=m.getVisible();if(ve===f.a.ENTER)return m.onTitleClick(ne),ii(Fe,m.props.eventKey,!0),!0;if(ve===f.a.RIGHT)return je?Re.onKeyDown(ne):(m.triggerOpenChange(!0),ii(Fe,m.props.eventKey,!0)),!0;if(ve===f.a.LEFT){var Ye;if(je)Ye=Re.onKeyDown(ne);else return;return Ye||(m.triggerOpenChange(!1),Ye=!0),Ye}return je&&(ve===f.a.UP||ve===f.a.DOWN)?Re.onKeyDown(ne):void 0},m.onOpenChange=function(ne){m.props.onOpenChange(ne)},m.onPopupVisibleChange=function(ne){m.triggerOpenChange(ne,ne?"mouseenter":"mouseleave")},m.onMouseEnter=function(ne){var ve=m.props,Re=ve.eventKey,Fe=ve.onMouseEnter,je=ve.store;ii(je,m.props.eventKey,!1),Fe({key:Re,domEvent:ne})},m.onMouseLeave=function(ne){var ve=m.props,Re=ve.parentMenu,Fe=ve.eventKey,je=ve.onMouseLeave;Re.subMenuInstance=Object(N.a)(m),je({key:Fe,domEvent:ne})},m.onTitleMouseEnter=function(ne){var ve=m.props,Re=ve.eventKey,Fe=ve.onItemHover,je=ve.onTitleMouseEnter;Fe({key:Re,hover:!0}),je({key:Re,domEvent:ne})},m.onTitleMouseLeave=function(ne){var ve=m.props,Re=ve.parentMenu,Fe=ve.eventKey,je=ve.onItemHover,Ye=ve.onTitleMouseLeave;Re.subMenuInstance=Object(N.a)(m),je({key:Fe,hover:!1}),Ye({key:Fe,domEvent:ne})},m.onTitleClick=function(ne){var ve=Object(N.a)(m),Re=ve.props;if(Re.onTitleClick({key:Re.eventKey,domEvent:ne}),Re.triggerSubMenuAction==="hover")return;m.triggerOpenChange(!m.getVisible(),"click"),ii(Re.store,m.props.eventKey,!1)},m.onSubMenuClick=function(ne){typeof m.props.onClick=="function"&&m.props.onClick(m.addKeyPath(ne))},m.onSelect=function(ne){m.props.onSelect(ne)},m.onDeselect=function(ne){m.props.onDeselect(ne)},m.getPrefixCls=function(){return"".concat(m.props.rootPrefixCls,"-submenu")},m.getActiveClassName=function(){return"".concat(m.getPrefixCls(),"-active")},m.getDisabledClassName=function(){return"".concat(m.getPrefixCls(),"-disabled")},m.getSelectedClassName=function(){return"".concat(m.getPrefixCls(),"-selected")},m.getOpenClassName=function(){return"".concat(m.props.rootPrefixCls,"-submenu-open")},m.getVisible=function(){return m.state.isOpen},m.getMode=function(){return m.state.mode},m.saveMenuInstance=function(ne){m.menuInstance=ne},m.addKeyPath=function(ne){return Object(Oe.a)(Object(Oe.a)({},ne),{},{keyPath:(ne.keyPath||[]).concat(m.props.eventKey)})},m.triggerOpenChange=function(ne,ve){var Re=m.props.eventKey,Fe=function(){m.onOpenChange({key:Re,item:Object(N.a)(m),trigger:ve,open:ne})};ve==="mouseenter"?m.mouseenterTimeout=setTimeout(function(){Fe()},0):Fe()},m.isChildrenSelected=function(){var ne={find:!1};return ke(m.props.children,m.props.selectedKeys,ne),ne.find},m.isInlineMode=function(){return m.getMode()==="inline"},m.adjustWidth=function(){if(!m.subMenuTitle||!m.menuInstance)return;var ne=it.findDOMNode(m.menuInstance);if(ne.offsetWidth>=m.subMenuTitle.offsetWidth)return;ne.style.minWidth="".concat(m.subMenuTitle.offsetWidth,"px")},m.saveSubMenuTitle=function(ne){m.subMenuTitle=ne},m.getBaseProps=function(){var ne=Object(N.a)(m),ve=ne.props,Re=m.getMode();return{mode:Re==="horizontal"?"vertical":Re,visible:m.getVisible(),level:ve.level+1,inlineIndent:ve.inlineIndent,focusable:!1,onClick:m.onSubMenuClick,onSelect:m.onSelect,onDeselect:m.onDeselect,onDestroy:m.onDestroy,selectedKeys:ve.selectedKeys,eventKey:"".concat(ve.eventKey,"-menu-"),openKeys:ve.openKeys,motion:ve.motion,onOpenChange:m.onOpenChange,subMenuOpenDelay:ve.subMenuOpenDelay,parentMenu:Object(N.a)(m),subMenuCloseDelay:ve.subMenuCloseDelay,forceSubMenuRender:ve.forceSubMenuRender,triggerSubMenuAction:ve.triggerSubMenuAction,builtinPlacements:ve.builtinPlacements,defaultActiveFirst:ve.store.getState().defaultActiveFirst[Ce(ve.eventKey)],multiple:ve.multiple,prefixCls:ve.rootPrefixCls,id:m.internalMenuId,manualRef:m.saveMenuInstance,itemIcon:ve.itemIcon,expandIcon:ve.expandIcon,direction:ve.direction}},m.getMotion=function(ne,ve){var Re=Object(N.a)(m),Fe=Re.haveRendered,je=m.props,Ye=je.motion,Et=je.rootPrefixCls,Jt=Object(Oe.a)(Object(Oe.a)({},Ye),{},{leavedClassName:"".concat(Et,"-hidden"),removeOnLeave:!1,motionAppear:Fe||!ve||ne!=="inline"});return Jt};var R=U.store,_=U.eventKey,B=R.getState(),Q=B.defaultActiveFirst;m.isRootMenu=!1;var de=!1;return Q&&(de=Q[_]),ii(R,_,de),m.state={mode:U.mode,isOpen:U.isOpen},m}return Object(fe.a)(se,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var m=this,R=this.props,_=R.mode,B=R.parentMenu,Q=R.manualRef,de=R.isOpen,ne=function(){m.setState({mode:_,isOpen:de})},ve=de!==this.state.isOpen,Re=_!==this.state.mode;if((Re||ve)&&(at.a.cancel(this.updateStateRaf),Re?this.updateStateRaf=Object(at.a)(ne):ne()),Q&&Q(this),_!=="horizontal"||!(B==null?void 0:B.isRootMenu)||!de)return;this.minWidthTimeout=setTimeout(function(){return m.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var m=this.props,R=m.onDestroy,_=m.eventKey;R&&R(_),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),at.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(m,R){var _=this.getBaseProps();return P.createElement(Xa,Object(V.a)({},_,{id:this.internalMenuId,className:m,style:R}),this.props.children)}},{key:"renderChildren",value:function(){var m=this,R=this.getBaseProps(),_=R.mode,B=R.visible,Q=R.forceSubMenuRender,de=R.direction,ne=this.getMotion(_,B);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||B||Q,!this.haveOpened)return P.createElement("div",null);var ve=ge()("".concat(R.prefixCls,"-sub"),Object(we.a)({},"".concat(R.prefixCls,"-rtl"),de==="rtl"));return this.isInlineMode()?P.createElement(Vn,Object(V.a)({visible:R.visible,forceRender:Q},ne),function(Re){var Fe=Re.className,je=Re.style,Ye=ge()(ve,Fe);return m.renderPopupMenu(Ye,je)}):this.renderPopupMenu(ve)}},{key:"render",value:function(){var m,R,_,B=Object(Oe.a)({},this.props),Q=this.getVisible(),de=this.getPrefixCls(),ne=this.isInlineMode(),ve=this.getMode(),Re=ge()(de,"".concat(de,"-").concat(ve),(m={},Object(we.a)(m,B.className,!!B.className),Object(we.a)(m,this.getOpenClassName(),Q),Object(we.a)(m,this.getActiveClassName(),B.active||Q&&!ne),Object(we.a)(m,this.getDisabledClassName(),B.disabled),Object(we.a)(m,this.getSelectedClassName(),this.isChildrenSelected()),m));this.internalMenuId||(B.eventKey?this.internalMenuId="".concat(B.eventKey,"$Menu"):(di+=1,this.internalMenuId="$__$".concat(di,"$Menu")));var Fe={},je={},Ye={};B.disabled||(Fe={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},je={onClick:this.onTitleClick},Ye={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Et={},Jt=B.direction,Mt=Jt==="rtl";ne&&(Mt?Et.paddingRight=B.inlineIndent*B.level:Et.paddingLeft=B.inlineIndent*B.level);var zt={};this.getVisible()&&(zt={"aria-owns":this.internalMenuId});var Xt=null;ve!=="horizontal"&&(Xt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Xt=P.createElement(this.props.expandIcon,Object(Oe.a)({},this.props))));var Yt=P.createElement("div",Object(V.a)({ref:this.saveSubMenuTitle,style:Et,className:"".concat(de,"-title"),role:"button"},Ye,je,{"aria-expanded":Q},zt,{"aria-haspopup":"true",title:typeof B.title=="string"?B.title:void 0}),B.title,Xt||P.createElement("i",{className:"".concat(de,"-arrow")})),Gt=this.renderChildren(),hn=((R=B.parentMenu)===null||R===void 0?void 0:R.isRootMenu)?B.parentMenu.props.getPopupContainer:function(Mn){return Mn.parentNode},on=aa[ve],Gn=B.popupOffset?{offset:B.popupOffset}:{},sn=ge()((_={},Object(we.a)(_,B.popupClassName,B.popupClassName&&!ne),Object(we.a)(_,"".concat(de,"-rtl"),Mt),_)),_t=B.disabled,gt=B.triggerSubMenuAction,un=B.subMenuOpenDelay,fn=B.forceSubMenuRender,lt=B.subMenuCloseDelay,pn=B.builtinPlacements;We.forEach(function(Mn){return delete B[Mn]}),delete B.onClick;var Qn=Mt?Object(Oe.a)(Object(Oe.a)({},Fi),pn):Object(Oe.a)(Object(Oe.a)({},wi),pn);delete B.direction;var yn=this.getBaseProps(),Pn=ne?null:this.getMotion(yn.mode,yn.visible);return P.createElement("li",Object(V.a)({},B,Fe,{className:Re,role:"menuitem"}),P.createElement(wn,{prefixCls:de,popupClassName:ge()("".concat(de,"-popup"),sn),getPopupContainer:hn,builtinPlacements:Qn,popupPlacement:on,popupVisible:ne?!1:Q,popupAlign:Gn,popup:ne?null:Gt,action:_t||ne?[]:[gt],mouseEnterDelay:un,mouseLeaveDelay:lt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:fn,popupMotion:Pn},Yt),ne?Gt:null)}}]),se}(P.Component);Ta.defaultProps={onMouseEnter:ie,onMouseLeave:ie,onTitleMouseEnter:ie,onTitleMouseLeave:ie,onTitleClick:ie,manualRef:ie,mode:"vertical",title:""};var ma=Object(ae.b)(function(j,$){var se=j.openKeys,U=j.activeKey,m=j.selectedKeys,R=$.eventKey,_=$.subMenuKey;return{isOpen:se.indexOf(R)>-1,active:U[_]===R,selectedKeys:m}})(Ta);ma.isSubMenu=!0;var da=ma,ga="menuitem-overflowed",Fa=.5,Ti=function(j){Object(W.a)(se,j);var $=Object(b.a)(se);function se(){var U;return Object(Y.a)(this,se),U=$.apply(this,arguments),U.resizeObserver=null,U.mutationObserver=null,U.originalTotalWidth=0,U.overflowedItems=[],U.menuItemSizes=[],U.cancelFrameId=null,U.state={lastVisibleIndex:void 0},U.childRef=P.createRef(),U.getMenuItemNodes=function(){var m=U.props.prefixCls,R=U.childRef.current;return R?[].slice.call(R.children).filter(function(_){return _.className.split(" ").indexOf("".concat(m,"-overflowed-submenu"))<0}):[]},U.getOverflowedSubMenuItem=function(m,R,_){var B=U.props,Q=B.overflowedIndicator,de=B.level,ne=B.mode,ve=B.prefixCls,Re=B.theme;if(de!==1||ne!=="horizontal")return null;var Fe=U.props.children[0],je=Fe.props,Ye=je.children,Et=je.title,Jt=je.style,Mt=Object(ze.a)(je,["children","title","style"]),zt=Object(Oe.a)({},Jt),Xt="".concat(m,"-overflowed-indicator"),Yt="".concat(m,"-overflowed-indicator");R.length===0&&_!==!0?zt=Object(Oe.a)(Object(Oe.a)({},zt),{},{display:"none"}):_&&(zt=Object(Oe.a)(Object(Oe.a)({},zt),{},{visibility:"hidden",position:"absolute"}),Xt="".concat(Xt,"-placeholder"),Yt="".concat(Yt,"-placeholder"));var Gt=Re?"".concat(ve,"-").concat(Re):"",hn={};return We.forEach(function(on){Mt[on]!==void 0&&(hn[on]=Mt[on])}),P.createElement(da,Object(V.a)({title:Q,className:"".concat(ve,"-overflowed-submenu"),popupClassName:Gt},hn,{key:Xt,eventKey:Yt,disabled:!1,style:zt}),R)},U.setChildrenWidthAndResize=function(){if(U.props.mode!=="horizontal")return;var m=U.childRef.current;if(!m)return;var R=m.children;if(!R||R.length===0)return;var _=m.children[R.length-1];qe(_,"display","inline-block");var B=U.getMenuItemNodes(),Q=B.filter(function(de){return de.className.split(" ").indexOf(ga)>=0});Q.forEach(function(de){qe(de,"display","inline-block")}),U.menuItemSizes=B.map(function(de){return Ze(de,!0)}),Q.forEach(function(de){qe(de,"display","none")}),U.overflowedIndicatorWidth=Ze(m.children[m.children.length-1],!0),U.originalTotalWidth=U.menuItemSizes.reduce(function(de,ne){return de+ne},0),U.handleResize(),qe(_,"display","none")},U.handleResize=function(){if(U.props.mode!=="horizontal")return;var m=U.childRef.current;if(!m)return;var R=Ze(m);U.overflowedItems=[];var _=0,B;U.originalTotalWidth>R+Fa&&(B=-1,U.menuItemSizes.forEach(function(Q){_+=Q,_+U.overflowedIndicatorWidth<=R&&(B+=1)})),U.setState({lastVisibleIndex:B})},U}return Object(fe.a)(se,[{key:"componentDidMount",value:function(){var m=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var R=this.childRef.current;if(!R)return;this.resizeObserver=new ht.default(function(_){_.forEach(function(){var B=m.cancelFrameId;cancelAnimationFrame(B),m.cancelFrameId=requestAnimationFrame(m.setChildrenWidthAndResize)})}),[].slice.call(R.children).concat(R).forEach(function(_){m.resizeObserver.observe(_)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){m.resizeObserver.disconnect(),[].slice.call(R.children).concat(R).forEach(function(_){m.resizeObserver.observe(_)}),m.setChildrenWidthAndResize()}),this.mutationObserver.observe(R,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(m){var R=this,_=this.state.lastVisibleIndex;return(m||[]).reduce(function(B,Q,de){var ne=Q;if(R.props.mode==="horizontal"){var ve=R.getOverflowedSubMenuItem(Q.props.eventKey,[]);_!==void 0&&R.props.className.indexOf("".concat(R.props.prefixCls,"-root"))!==-1&&(de>_&&(ne=P.cloneElement(Q,{style:{display:"none"},eventKey:"".concat(Q.props.eventKey,"-hidden"),className:"".concat(ga)})),de===_+1&&(R.overflowedItems=m.slice(_+1).map(function(Fe){return P.cloneElement(Fe,{key:Fe.props.eventKey,mode:"vertical-left"})}),ve=R.getOverflowedSubMenuItem(Q.props.eventKey,R.overflowedItems)));var Re=[].concat(Object(M.a)(B),[ve,ne]);return de===m.length-1&&Re.push(R.getOverflowedSubMenuItem(Q.props.eventKey,[],!0)),Re}return[].concat(Object(M.a)(B),[ne])},[])}},{key:"render",value:function(){var m=this.props,R=m.visible,_=m.prefixCls,B=m.overflowedIndicator,Q=m.mode,de=m.level,ne=m.tag,ve=m.children,Re=m.theme,Fe=Object(ze.a)(m,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),je=ne;return P.createElement(je,Object(V.a)({ref:this.childRef},Fe),this.renderChildren(ve))}}]),se}(P.Component);Ti.defaultProps={tag:"div",className:""};var Ba=Ti;function Ca(j){return j.length?j.every(function($){return!!$.props.disabled}):!0}function Sa(j,$,se){var U=j.getState();j.setState({activeKey:Object(Oe.a)(Object(Oe.a)({},U.activeKey),{},Object(we.a)({},$,se))})}function va(j){return j.eventKey||"0-menu-"}function Qi(j,$){var se=$,U=j.children,m=j.eventKey;if(se){var R;if(Ie(U,function(_,B){_&&_.props&&!_.props.disabled&&se===Te(_,m,B)&&(R=!0)}),R)return se}return se=null,j.defaultActiveFirst&&Ie(U,function(_,B){!se&&_&&!_.props.disabled&&(se=Te(_,m,B))}),se}function Va(j){if(!j)return;var $=this.instanceArray.indexOf(j);$!==-1?this.instanceArray[$]=j:this.instanceArray.push(j)}var Yi=function(j){Object(W.a)(se,j);var $=Object(b.a)(se);function se(U){var m;return Object(Y.a)(this,se),m=$.call(this,U),m.onKeyDown=function(R,_){var B=R.keyCode,Q;if(m.getFlatInstanceArray().forEach(function(ne){ne&&ne.props.active&&ne.onKeyDown&&(Q=ne.onKeyDown(R))}),Q)return 1;var de=null;return(B===f.a.UP||B===f.a.DOWN)&&(de=m.step(B===f.a.UP?-1:1)),de?(R.preventDefault(),Sa(m.props.store,va(m.props),de.props.eventKey),typeof _=="function"&&_(de),1):void 0},m.onItemHover=function(R){var _=R.key,B=R.hover;Sa(m.props.store,va(m.props),B?_:null)},m.onDeselect=function(R){m.props.onDeselect(R)},m.onSelect=function(R){m.props.onSelect(R)},m.onClick=function(R){m.props.onClick(R)},m.onOpenChange=function(R){m.props.onOpenChange(R)},m.onDestroy=function(R){m.props.onDestroy(R)},m.getFlatInstanceArray=function(){return m.instanceArray},m.step=function(R){var _=m.getFlatInstanceArray(),B=m.props.store.getState().activeKey[va(m.props)],Q=_.length;if(!Q)return null;R<0&&(_=_.concat().reverse());var de=-1;if(_.every(function(Fe,je){return Fe&&Fe.props.eventKey===B?(de=je,!1):!0}),!m.props.defaultActiveFirst&&de!==-1&&Ca(_.slice(de,Q-1)))return;var ne=(de+1)%Q,ve=ne;do{var Re=_[ve];if(!Re||Re.props.disabled)ve=(ve+1)%Q;else return Re}while(ve!==ne);return null},m.renderCommonMenuItem=function(R,_,B){var Q=m.props.store.getState(),de=Object(N.a)(m),ne=de.props,ve=Te(R,ne.eventKey,_),Re=R.props;if(!Re||typeof R.type=="string")return R;var Fe=ve===Q.activeKey,je=Object(Oe.a)(Object(Oe.a)({mode:Re.mode||ne.mode,level:ne.level,inlineIndent:ne.inlineIndent,renderMenuItem:m.renderMenuItem,rootPrefixCls:ne.prefixCls,index:_,parentMenu:ne.parentMenu,manualRef:Re.disabled?void 0:Object(C.a)(R.ref,Va.bind(Object(N.a)(m))),eventKey:ve,active:!Re.disabled&&Fe,multiple:ne.multiple,onClick:function(Et){(Re.onClick||ie)(Et),m.onClick(Et)},onItemHover:m.onItemHover,motion:ne.motion,subMenuOpenDelay:ne.subMenuOpenDelay,subMenuCloseDelay:ne.subMenuCloseDelay,forceSubMenuRender:ne.forceSubMenuRender,onOpenChange:m.onOpenChange,onDeselect:m.onDeselect,onSelect:m.onSelect,builtinPlacements:ne.builtinPlacements,itemIcon:Re.itemIcon||m.props.itemIcon,expandIcon:Re.expandIcon||m.props.expandIcon},B),{},{direction:ne.direction});return(ne.mode==="inline"||tt())&&(je.triggerSubMenuAction="click"),P.cloneElement(R,Object(Oe.a)(Object(Oe.a)({},je),{},{key:ve||_}))},m.renderMenuItem=function(R,_,B){if(!R)return null;var Q=m.props.store.getState(),de={openKeys:Q.openKeys,selectedKeys:Q.selectedKeys,triggerSubMenuAction:m.props.triggerSubMenuAction,subMenuKey:B};return m.renderCommonMenuItem(R,_,de)},U.store.setState({activeKey:Object(Oe.a)(Object(Oe.a)({},U.store.getState().activeKey),{},Object(we.a)({},U.eventKey,Qi(U,U.activeKey)))}),m.instanceArray=[],m}return Object(fe.a)(se,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(m){return this.props.visible||m.visible||this.props.className!==m.className||!Le()(this.props.style,m.style)}},{key:"componentDidUpdate",value:function(m){var R=this.props,_="activeKey"in R?R.activeKey:R.store.getState().activeKey[va(R)],B=Qi(R,_);if(B!==_)Sa(R.store,va(R),B);else if("activeKey"in m){var Q=Qi(m,m.activeKey);B!==Q&&Sa(R.store,va(R),B)}}},{key:"render",value:function(){var m=this,R=Object(V.a)({},this.props);this.instanceArray=[];var _=ge()(R.prefixCls,R.className,"".concat(R.prefixCls,"-").concat(R.mode)),B={className:_,role:R.role||"menu"};R.id&&(B.id=R.id),R.focusable&&(B.tabIndex=0,B.onKeyDown=this.onKeyDown);var Q=R.prefixCls,de=R.eventKey,ne=R.visible,ve=R.level,Re=R.mode,Fe=R.overflowedIndicator,je=R.theme;return We.forEach(function(Ye){return delete R[Ye]}),delete R.onClick,P.createElement(Ba,Object(V.a)({},R,{prefixCls:Q,mode:Re,tag:"ul",level:ve,theme:je,visible:ne,overflowedIndicator:Fe},B),Object(_e.a)(R.children).map(function(Ye,Et){return m.renderMenuItem(Ye,Et,de||"0-menu-")}))}}]),se}(P.Component);Yi.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ie};var Ja=Object(ae.b)()(Yi),Xa=Ja,_a=u("Kwbf");function Qr(j,$,se){var U=j.prefixCls,m=j.motion,R=j.defaultMotions,_=R===void 0?{}:R,B=j.openAnimation,Q=j.openTransitionName,de=$.switchingModeFromInline;if(m)return m;if(Object(I.a)(B)==="object"&&B)Object(_a.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof B=="string")return{motionName:"".concat(U,"-open-").concat(B)};if(Q)return{motionName:Q};var ne=_[se];return ne||(de?null:_.other)}var Ra=function(j){Object(W.a)(se,j);var $=Object(b.a)(se);function se(U){var m;Object(Y.a)(this,se),m=$.call(this,U),m.onSelect=function(B){var Q=Object(N.a)(m),de=Q.props;if(de.selectable){var ne=m.store.getState(),ve=ne.selectedKeys,Re=B.key;de.multiple?ve=ve.concat([Re]):ve=[Re],"selectedKeys"in de||m.store.setState({selectedKeys:ve}),de.onSelect(Object(Oe.a)(Object(Oe.a)({},B),{},{selectedKeys:ve}))}},m.onClick=function(B){var Q=m.getRealMenuMode(),de=Object(N.a)(m),ne=de.store,ve=de.props.onOpenChange;Q!=="inline"&&!("openKeys"in m.props)&&(ne.setState({openKeys:[]}),ve([])),m.props.onClick(B)},m.onKeyDown=function(B,Q){m.innerMenu.getWrappedInstance().onKeyDown(B,Q)},m.onOpenChange=function(B){var Q=Object(N.a)(m),de=Q.props,ne=m.store.getState().openKeys.concat(),ve=!1,Re=function(je){var Ye=!1;if(je.open)Ye=ne.indexOf(je.key)===-1,Ye&&ne.push(je.key);else{var Et=ne.indexOf(je.key);Ye=Et!==-1,Ye&&ne.splice(Et,1)}ve=ve||Ye};Array.isArray(B)?B.forEach(Re):Re(B),ve&&("openKeys"in m.props||m.store.setState({openKeys:ne}),de.onOpenChange(ne))},m.onDeselect=function(B){var Q=Object(N.a)(m),de=Q.props;if(de.selectable){var ne=m.store.getState().selectedKeys.concat(),ve=B.key,Re=ne.indexOf(ve);Re!==-1&&ne.splice(Re,1),"selectedKeys"in de||m.store.setState({selectedKeys:ne}),de.onDeselect(Object(Oe.a)(Object(Oe.a)({},B),{},{selectedKeys:ne}))}},m.onMouseEnter=function(B){m.restoreModeVerticalFromInline();var Q=m.props.onMouseEnter;Q&&Q(B)},m.onTransitionEnd=function(B){var Q=B.propertyName==="width"&&B.target===B.currentTarget,de=B.target.className,ne=Object.prototype.toString.call(de)==="[object SVGAnimatedString]"?de.animVal:de,ve=B.propertyName==="font-size"&&ne.indexOf("anticon")>=0;(Q||ve)&&m.restoreModeVerticalFromInline()},m.setInnerMenu=function(B){m.innerMenu=B},m.isRootMenu=!0;var R=U.defaultSelectedKeys,_=U.defaultOpenKeys;return"selectedKeys"in U&&(R=U.selectedKeys||[]),"openKeys"in U&&(_=U.openKeys||[]),m.store=Object(ae.c)({selectedKeys:R,openKeys:_,activeKey:{"0-menu-":Qi(U,U.activeKey)}}),m.state={switchingModeFromInline:!1,prevProps:U,inlineOpenKeys:[],store:m.store},m}return Object(fe.a)(se,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(m){var R=this.props,_=R.siderCollapsed,B=R.inlineCollapsed,Q=R.onOpenChange;(!m.inlineCollapsed&&B||!m.siderCollapsed&&_)&&Q([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var m=this.props.collapsedWidth,R=this.store,_=this.prevOpenKeys,B=this.getInlineCollapsed()&&(m===0||m==="0"||m==="0px");B?(this.prevOpenKeys=R.getState().openKeys.concat(),this.store.setState({openKeys:[]})):_&&(this.store.setState({openKeys:_}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var m=this.props.mode,R=this.state.switchingModeFromInline,_=this.getInlineCollapsed();return R&&_?"inline":_?"vertical":m}},{key:"getInlineCollapsed",value:function(){var m=this.props,R=m.inlineCollapsed,_=m.siderCollapsed;return _!==void 0?_:R}},{key:"restoreModeVerticalFromInline",value:function(){var m=this.state.switchingModeFromInline;m&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var m=Object(Oe.a)({},Object(G.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),R=this.getRealMenuMode();return m.className+=" ".concat(m.prefixCls,"-root"),m.direction==="rtl"&&(m.className+=" ".concat(m.prefixCls,"-rtl")),m=Object(Oe.a)(Object(Oe.a)({},m),{},{mode:R,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Qr(this.props,this.state,R)}),delete m.openAnimation,delete m.openTransitionName,P.createElement(ae.a,{store:this.store},P.createElement(Xa,Object(V.a)({},m,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(m,R){var _=R.prevProps,B=R.store,Q=B.getState(),de={},ne={prevProps:m};return _.mode==="inline"&&m.mode!=="inline"&&(ne.switchingModeFromInline=!0),"openKeys"in m?de.openKeys=m.openKeys||[]:((m.inlineCollapsed&&!_.inlineCollapsed||m.siderCollapsed&&!_.siderCollapsed)&&(ne.switchingModeFromInline=!0,ne.inlineOpenKeys=Q.openKeys,de.openKeys=[]),(!m.inlineCollapsed&&_.inlineCollapsed||!m.siderCollapsed&&_.siderCollapsed)&&(de.openKeys=R.inlineOpenKeys,ne.inlineOpenKeys=[])),Object.keys(de).length&&B.setState(de),ne}}]),se}(P.Component);Ra.defaultProps={selectable:!0,onClick:ie,onSelect:ie,onOpenChange:ie,onDeselect:ie,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:P.createElement("span",null,"\xB7\xB7\xB7")};var Er=Ra,ur=function(j){Object(W.a)(se,j);var $=Object(b.a)(se);function se(){var U;return Object(Y.a)(this,se),U=$.apply(this,arguments),U.onKeyDown=function(m){var R=m.keyCode;return R===f.a.ENTER?(U.onClick(m),!0):void 0},U.onMouseLeave=function(m){var R=U.props,_=R.eventKey,B=R.onItemHover,Q=R.onMouseLeave;B({key:_,hover:!1}),Q({key:_,domEvent:m})},U.onMouseEnter=function(m){var R=U.props,_=R.eventKey,B=R.onItemHover,Q=R.onMouseEnter;B({key:_,hover:!0}),Q({key:_,domEvent:m})},U.onClick=function(m){var R=U.props,_=R.eventKey,B=R.multiple,Q=R.onClick,de=R.onSelect,ne=R.onDeselect,ve=R.isSelected,Re={key:_,keyPath:[_],item:Object(N.a)(U),domEvent:m};Q(Re),B?ve?ne(Re):de(Re):ve||de(Re)},U.saveNode=function(m){U.node=m},U}return Object(fe.a)(se,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var m=this.props;m.onDestroy&&m.onDestroy(m.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var m,R=Object(Oe.a)({},this.props),_=ge()(this.getPrefixCls(),R.className,(m={},Object(we.a)(m,this.getActiveClassName(),!R.disabled&&R.active),Object(we.a)(m,this.getSelectedClassName(),R.isSelected),Object(we.a)(m,this.getDisabledClassName(),R.disabled),m)),B=Object(Oe.a)(Object(Oe.a)({},R.attribute),{},{title:typeof R.title=="string"?R.title:void 0,className:_,role:R.role||"menuitem","aria-disabled":R.disabled});R.role==="option"?B=Object(Oe.a)(Object(Oe.a)({},B),{},{role:"option","aria-selected":R.isSelected}):(R.role===null||R.role==="none")&&(B.role="none");var Q={onClick:R.disabled?null:this.onClick,onMouseLeave:R.disabled?null:this.onMouseLeave,onMouseEnter:R.disabled?null:this.onMouseEnter},de=Object(Oe.a)({},R.style);R.mode==="inline"&&(R.direction==="rtl"?de.paddingRight=R.inlineIndent*R.level:de.paddingLeft=R.inlineIndent*R.level),We.forEach(function(ve){return delete R[ve]}),delete R.direction;var ne=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(ne=P.createElement(this.props.itemIcon,this.props)),P.createElement("li",Object(V.a)({},Object(G.a)(R,["onClick","onMouseEnter","onMouseLeave","onSelect"]),B,Q,{style:de,ref:this.saveNode}),R.children,ne)}}]),se}(P.Component);ur.isMenuItem=!0,ur.defaultProps={onSelect:ie,onMouseEnter:ie,onMouseLeave:ie,manualRef:ie};var cr=Object(ae.b)(function(j,$){var se=j.activeKey,U=j.selectedKeys,m=$.eventKey,R=$.subMenuKey;return{active:se[R]===m,isSelected:Array.isArray(U)?U.indexOf(m)!==-1:U===m}})(ur),Bi=cr,dr=function(j){Object(W.a)(se,j);var $=Object(b.a)(se);function se(){var U;return Object(Y.a)(this,se),U=$.apply(this,arguments),U.renderInnerMenuItem=function(m){var R=U.props,_=R.renderMenuItem,B=R.index;return _(m,B,U.props.subMenuKey)},U}return Object(fe.a)(se,[{key:"render",value:function(){var m=Object(V.a)({},this.props),R=m.className,_=R===void 0?"":R,B=m.rootPrefixCls,Q="".concat(B,"-item-group-title"),de="".concat(B,"-item-group-list"),ne=m.title,ve=m.children;return We.forEach(function(Re){return delete m[Re]}),delete m.direction,P.createElement("li",Object(V.a)({},m,{onClick:function(Fe){return Fe.stopPropagation()},className:"".concat(_," ").concat(B,"-item-group")}),P.createElement("div",{className:Q,title:typeof ne=="string"?ne:void 0},ne),P.createElement("ul",{className:de},P.Children.map(ve,this.renderInnerMenuItem)))}}]),se}(P.Component);dr.isMenuItemGroup=!0,dr.defaultProps={disabled:!0};var Ao=dr,yr=function($){var se=$.className,U=$.rootPrefixCls,m=$.style;return P.createElement("li",{className:"".concat(se," ").concat(U,"-item-divider"),style:m})};yr.defaultProps={disabled:!0,className:"",style:{}};var Oo=yr,Ar=Er,Or=u("eDIo");function wr(j,$){var se=j.prefixCls,U=j.editable,m=j.locale,R=j.style;return!U||U.showAdd===!1?null:P.createElement("button",{ref:$,type:"button",className:"".concat(se,"-nav-add"),style:R,"aria-label":(m==null?void 0:m.addAriaLabel)||"Add tab",onClick:function(B){U.onEdit("add",{event:B})}},U.addIcon||"+")}var xa=P.forwardRef(wr);function Na(j,$){var se=j.prefixCls,U=j.id,m=j.tabs,R=j.locale,_=j.mobile,B=j.moreIcon,Q=B===void 0?"More":B,de=j.moreTransitionName,ne=j.style,ve=j.className,Re=j.editable,Fe=j.tabBarGutter,je=j.rtl,Ye=j.onTabClick,Et=Object(P.useState)(!1),Jt=Object(Ee.a)(Et,2),Mt=Jt[0],zt=Jt[1],Xt=Object(P.useState)(null),Yt=Object(Ee.a)(Xt,2),Gt=Yt[0],hn=Yt[1],on="".concat(U,"-more-popup"),Gn="".concat(se,"-dropdown"),sn=Gt!==null?"".concat(on,"-").concat(Gt):null,_t=R==null?void 0:R.dropdownAriaLabel,gt=P.createElement(Ar,{onClick:function(Pn){var Mn=Pn.key,ai=Pn.domEvent;Ye(Mn,ai),zt(!1)},id:on,tabIndex:-1,role:"listbox","aria-activedescendant":sn,selectedKeys:[Gt],"aria-label":_t!==void 0?_t:"expanded dropdown"},m.map(function(yn){return P.createElement(Bi,{key:yn.key,id:"".concat(on,"-").concat(yn.key),role:"option","aria-controls":U&&"".concat(U,"-panel-").concat(yn.key),disabled:yn.disabled},yn.tab)}));function un(yn){for(var Pn=m.filter(function(Li){return!Li.disabled}),Mn=Pn.findIndex(function(Li){return Li.key===Gt})||0,ai=Pn.length,mi=0;mi<ai;mi+=1){Mn=(Mn+yn+ai)%ai;var Zn=Pn[Mn];if(!Zn.disabled){hn(Zn.key);return}}}function fn(yn){var Pn=yn.which;if(!Mt){[f.a.DOWN,f.a.SPACE,f.a.ENTER].includes(Pn)&&(zt(!0),yn.preventDefault());return}switch(Pn){case f.a.UP:un(-1),yn.preventDefault();break;case f.a.DOWN:un(1),yn.preventDefault();break;case f.a.ESC:zt(!1);break;case f.a.SPACE:case f.a.ENTER:Gt!==null&&Ye(Gt,yn);break}}Object(P.useEffect)(function(){var yn=document.getElementById(sn);yn&&yn.scrollIntoView&&yn.scrollIntoView(!1)},[Gt]),Object(P.useEffect)(function(){Mt||hn(null)},[Mt]);var lt=Object(we.a)({},je?"marginLeft":"marginRight",Fe);m.length||(lt.visibility="hidden",lt.order=1);var pn=ge()(Object(we.a)({},"".concat(Gn,"-rtl"),je)),Qn=_?null:P.createElement(Or.a,{prefixCls:Gn,overlay:gt,trigger:["hover"],visible:Mt,transitionName:de,onVisibleChange:zt,overlayClassName:pn,mouseEnterDelay:.1,mouseLeaveDelay:.1},P.createElement("button",{type:"button",className:"".concat(se,"-nav-more"),style:lt,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":on,id:"".concat(U,"-more"),"aria-expanded":Mt,onKeyDown:fn},Q));return P.createElement("div",{className:ge()("".concat(se,"-nav-operations"),ve),style:ne,ref:$},Qn,P.createElement(xa,{prefixCls:se,locale:R,editable:Re}))}var Yr=P.forwardRef(Na),It=Object(P.createContext)(null),Qe=.1,$e=.01,Pe=20,kt=Math.pow(.995,Pe);function Pt(){var j=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(j)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(j.substr(0,4)))}function En(j,$){var se=Object(P.useState)(),U=Object(Ee.a)(se,2),m=U[0],R=U[1],_=Object(P.useState)(0),B=Object(Ee.a)(_,2),Q=B[0],de=B[1],ne=Object(P.useState)(0),ve=Object(Ee.a)(ne,2),Re=ve[0],Fe=ve[1],je=Object(P.useState)(),Ye=Object(Ee.a)(je,2),Et=Ye[0],Jt=Ye[1],Mt=Object(P.useRef)();function zt(_t){var gt=_t.touches[0],un=gt.screenX,fn=gt.screenY;R({x:un,y:fn}),window.clearInterval(Mt.current)}function Xt(_t){if(!m)return;_t.preventDefault();var gt=_t.touches[0],un=gt.screenX,fn=gt.screenY;R({x:un,y:fn});var lt=un-m.x,pn=fn-m.y;$(lt,pn);var Qn=Date.now();de(Qn),Fe(Qn-Q),Jt({x:lt,y:pn})}function Yt(){if(!m)return;if(R(null),Jt(null),Et){var _t=Et.x/Re,gt=Et.y/Re,un=Math.abs(_t),fn=Math.abs(gt);if(Math.max(un,fn)<Qe)return;var lt=_t,pn=gt;Mt.current=window.setInterval(function(){if(Math.abs(lt)<$e&&Math.abs(pn)<$e){window.clearInterval(Mt.current);return}lt*=kt,pn*=kt,$(lt*Pe,pn*Pe)},Pe)}}var Gt=Object(P.useRef)(0),hn=Object(P.useRef)(!1),on=Object(P.useRef)();function Gn(_t){var gt=_t.deltaX,un=_t.deltaY,fn=0,lt=Math.abs(gt),pn=Math.abs(un);lt===pn?fn=on.current==="x"?gt:un:lt>pn?(fn=gt,on.current="x"):(fn=un,on.current="y");var Qn=Date.now();Qn-Gt.current>100&&(hn.current=!1),($(-fn,-fn)||hn.current)&&(_t.preventDefault(),hn.current=!0),Gt.current=Qn}var sn=Object(P.useRef)(null);sn.current={onTouchStart:zt,onTouchMove:Xt,onTouchEnd:Yt,onWheel:Gn},P.useEffect(function(){function _t(lt){sn.current.onTouchStart(lt)}function gt(lt){sn.current.onTouchMove(lt)}function un(lt){sn.current.onTouchEnd(lt)}function fn(lt){sn.current.onWheel(lt)}return document.addEventListener("touchmove",gt,{passive:!1}),document.addEventListener("touchend",un,{passive:!1}),j.current.addEventListener("touchstart",_t,{passive:!1}),j.current.addEventListener("wheel",fn),function(){document.removeEventListener("touchmove",gt),document.removeEventListener("touchend",un)}},[])}function _n(){var j=Object(P.useRef)(new Map);function $(U){return j.current.has(U)||j.current.set(U,P.createRef()),j.current.get(U)}function se(U){j.current.delete(U)}return[$,se]}function zn(j,$){var se=P.useRef(j),U=P.useState({}),m=Object(Ee.a)(U,2),R=m[1];function _(B){var Q=typeof B=="function"?B(se.current):B;Q!==se.current&&$(Q,se.current),se.current=Q,R({})}return[se.current,_]}var kn=function($){var se=$.position,U=$.prefixCls,m=$.extra;if(!m)return null;var R,_=m;return se==="right"&&(R=_.right||!_.left&&_||null),se==="left"&&(R=_.left||null),R?P.createElement("div",{className:"".concat(U,"-extra-content")},R):null};function ta(j,$){var se,U=P.useContext(It),m=U.prefixCls,R=U.tabs,_=j.className,B=j.style,Q=j.id,de=j.animated,ne=j.activeKey,ve=j.rtl,Re=j.extra,Fe=j.editable,je=j.locale,Ye=j.tabPosition,Et=j.tabBarGutter,Jt=j.children,Mt=j.onTabClick,zt=j.onTabScroll,Xt=Object(P.useRef)(),Yt=Object(P.useRef)(),Gt=Object(P.useRef)(),hn=Object(P.useRef)(),on=_n(),Gn=Object(Ee.a)(on,2),sn=Gn[0],_t=Gn[1],gt=Ye==="top"||Ye==="bottom",un=zn(0,function(xn,dn){gt&&zt&&zt({direction:xn>dn?"left":"right"})}),fn=Object(Ee.a)(un,2),lt=fn[0],pn=fn[1],Qn=zn(0,function(xn,dn){!gt&&zt&&zt({direction:xn>dn?"top":"bottom"})}),yn=Object(Ee.a)(Qn,2),Pn=yn[0],Mn=yn[1],ai=Object(P.useState)(0),mi=Object(Ee.a)(ai,2),Zn=mi[0],Li=mi[1],ra=Object(P.useState)(0),Wi=Object(Ee.a)(ra,2),gi=Wi[0],Wn=Wi[1],jn=Object(P.useState)(0),qn=Object(Ee.a)(jn,2),Yn=qn[0],oa=qn[1],Ia=Object(P.useState)(0),Ma=Object(Ee.a)(Ia,2),Dn=Ma[0],ha=Ma[1],Da=Object(P.useState)(null),Fn=Object(Ee.a)(Da,2),Nn=Fn[0],vi=Fn[1],wo=Object(P.useState)(null),Zr=Object(Ee.a)(wo,2),La=Zr[0],qa=Zr[1],Cr=Object(P.useState)(0),qr=Object(Ee.a)(Cr,2),Sr=qr[0],Yo=qr[1],Vo=Object(P.useState)(0),To=Object(Ee.a)(Vo,2),$r=To[0],eo=To[1],$a=l(new Map),er=Object(Ee.a)($a,2),Jo=er[0],Rr=er[1],hr=D(R,Jo,Zn),tr="".concat(m,"-nav-operations-hidden"),nr=0,sa=0;gt?ve?(nr=0,sa=Math.max(0,Zn-Nn)):(nr=Math.min(0,Nn-Zn),sa=0):(nr=Math.min(0,La-gi),sa=0);function Wa(xn){return xn<nr?[nr,!1]:xn>sa?[sa,!1]:[xn,!0]}var ka=Object(P.useRef)(),fr=Object(P.useState)(),Ha=Object(Ee.a)(fr,2),xr=Ha[0],to=Ha[1];function Nr(){to(Date.now())}function no(){window.clearTimeout(ka.current)}En(Xt,function(xn,dn){var _i=!1;function Ki(ir,Ea){ir(function(gr){var ja=Wa(gr+Ea),bi=Object(Ee.a)(ja,2),Dr=bi[0],ao=bi[1];return _i=ao,Dr})}if(gt){if(Nn>=Zn)return _i;Ki(pn,xn)}else{if(La>=gi)return _i;Ki(Mn,dn)}return no(),Nr(),_i}),Object(P.useEffect)(function(){return no(),xr&&(ka.current=window.setTimeout(function(){to(0)},100)),no},[xr]);function Pa(){var xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ne,dn=hr.get(xn);if(!dn)return;if(gt){var _i=lt;ve?dn.right<lt?_i=dn.right:dn.right+dn.width>lt+Nn&&(_i=dn.right+dn.width-Nn):dn.left<-lt?_i=-dn.left:dn.left+dn.width>-lt+Nn&&(_i=-(dn.left+dn.width-Nn)),Mn(0),pn(Wa(_i)[0])}else{var Ki=Pn;dn.top<-Pn?Ki=-dn.top:dn.top+dn.height>-Pn+La&&(Ki=-(dn.top+dn.height-La)),pn(0),Mn(Wa(Ki)[0])}}var Ka=te(hr,{width:Nn,height:La,left:lt,top:Pn},{width:Yn,height:Dn},{width:Sr,height:$r},Object(Oe.a)(Object(Oe.a)({},j),{},{tabs:R})),Co=Object(Ee.a)(Ka,2),Xo=Co[0],Zo=Co[1],qo=R.map(function(xn){var dn=xn.key;return P.createElement(K,{id:Q,prefixCls:m,key:dn,rtl:ve,tab:xn,closable:xn.closable,editable:Fe,active:dn===ne,tabPosition:Ye,tabBarGutter:Et,renderWrapper:Jt,removeAriaLabel:je==null?void 0:je.removeAriaLabel,ref:sn(dn),onClick:function(Ki){Mt(dn,Ki)},onRemove:function(){_t(dn)},onFocus:function(){Pa(dn),Nr(),ve||(Xt.current.scrollLeft=0),Xt.current.scrollTop=0}})}),io=h(function(){var xn,dn,_i,Ki,ir,Ea,gr,ja,bi,Dr=((xn=Xt.current)===null||xn===void 0?void 0:xn.offsetWidth)||0,ao=((dn=Xt.current)===null||dn===void 0?void 0:dn.offsetHeight)||0,ro=((_i=hn.current)===null||_i===void 0?void 0:_i.offsetWidth)||0,zi=((Ki=hn.current)===null||Ki===void 0?void 0:Ki.offsetHeight)||0,Tn=((ir=Gt.current)===null||ir===void 0?void 0:ir.offsetWidth)||0,ua=((Ea=Gt.current)===null||Ea===void 0?void 0:Ea.offsetHeight)||0;vi(Dr),qa(ao),Yo(ro),eo(zi);var ya=(((gr=Yt.current)===null||gr===void 0?void 0:gr.offsetWidth)||0)-ro,Aa=(((ja=Yt.current)===null||ja===void 0?void 0:ja.offsetHeight)||0)-zi;Li(ya),Wn(Aa);var oo=(bi=Gt.current)===null||bi===void 0?void 0:bi.className.includes(tr);oa(ya-(oo?0:Tn)),ha(Aa-(oo?0:ua)),Rr(function(){var Lr=new Map;return R.forEach(function(Io){var Mo=Io.key,Ga=sn(Mo).current;Ga&&Lr.set(Mo,{width:Ga.offsetWidth,height:Ga.offsetHeight,left:Ga.offsetLeft,top:Ga.offsetTop})}),Lr})}),$o=R.slice(0,Xo),Hi=R.slice(Zo+1),oi=[].concat(Object(M.a)($o),Object(M.a)(Hi)),xi=Object(P.useState)(),si=Object(Ee.a)(xi,2),pr=si[0],es=si[1],la=hr.get(ne),So=Object(P.useRef)();function Ro(){E.a.cancel(So.current)}Object(P.useEffect)(function(){var xn={};return la&&(gt?(ve?xn.right=la.right:xn.left=la.left,xn.width=la.width):(xn.top=la.top,xn.height=la.height)),Ro(),So.current=E()(function(){es(xn)}),Ro},[la,gt,ve]),Object(P.useEffect)(function(){Pa()},[ne,la,hr,gt]),Object(P.useEffect)(function(){io()},[ve,Et,ne,R.map(function(xn){return xn.key}).join("_")]);var xo=!!oi.length,za="".concat(m,"-nav-wrap"),Ir,mr,No,Mr;return gt?ve?(mr=lt>0,Ir=lt+Nn<Zn):(Ir=lt<0,mr=-lt+Nn<Zn):(No=Pn<0,Mr=-Pn+La<gi),P.createElement("div",{ref:$,role:"tablist",className:ge()("".concat(m,"-nav"),_),style:B,onKeyDown:function(){Nr()}},P.createElement(kn,{position:"left",extra:Re,prefixCls:m}),P.createElement(s.a,{onResize:io},P.createElement("div",{className:ge()(za,(se={},Object(we.a)(se,"".concat(za,"-ping-left"),Ir),Object(we.a)(se,"".concat(za,"-ping-right"),mr),Object(we.a)(se,"".concat(za,"-ping-top"),No),Object(we.a)(se,"".concat(za,"-ping-bottom"),Mr),se)),ref:Xt},P.createElement(s.a,{onResize:io},P.createElement("div",{ref:Yt,className:"".concat(m,"-nav-list"),style:{transform:"translate(".concat(lt,"px, ").concat(Pn,"px)"),transition:xr?"none":void 0}},qo,P.createElement(xa,{ref:hn,prefixCls:m,locale:je,editable:Fe,style:{visibility:xo?"hidden":null}}),P.createElement("div",{className:ge()("".concat(m,"-ink-bar"),Object(we.a)({},"".concat(m,"-ink-bar-animated"),de.inkBar)),style:pr}))))),P.createElement(Yr,Object.assign({},j,{ref:Gt,prefixCls:m,tabs:oi,className:!xo&&tr})),P.createElement(kn,{position:"right",extra:Re,prefixCls:m}))}var Kn=P.forwardRef(ta);function Vr(j){var $=j.id,se=j.activeKey,U=j.animated,m=j.tabPosition,R=j.rtl,_=j.destroyInactiveTabPane,B=P.useContext(It),Q=B.prefixCls,de=B.tabs,ne=U.tabPane,ve=de.findIndex(function(Re){return Re.key===se});return P.createElement("div",{className:ge()("".concat(Q,"-content-holder"))},P.createElement("div",{className:ge()("".concat(Q,"-content"),"".concat(Q,"-content-").concat(m),Object(we.a)({},"".concat(Q,"-content-animated"),ne)),style:ve&&ne?Object(we.a)({},R?"marginRight":"marginLeft","-".concat(ve,"00%")):null},de.map(function(Re){return P.cloneElement(Re.node,{key:Re.key,prefixCls:Q,tabKey:Re.key,id:$,animated:ne,active:Re.key===se,destroyInactiveTabPane:_})})))}function Jr(j){var $=j.prefixCls,se=j.forceRender,U=j.className,m=j.style,R=j.id,_=j.active,B=j.animated,Q=j.destroyInactiveTabPane,de=j.tabKey,ne=j.children,ve=P.useState(se),Re=Object(Ee.a)(ve,2),Fe=Re[0],je=Re[1];P.useEffect(function(){_?je(!0):Q&&je(!1)},[_,Q]);var Ye={};return _||(B?(Ye.visibility="hidden",Ye.height=0,Ye.overflowY="hidden"):Ye.display="none"),P.createElement("div",{id:R&&"".concat(R,"-panel-").concat(de),role:"tabpanel",tabIndex:_?0:-1,"aria-labelledby":R&&"".concat(R,"-tab-").concat(de),"aria-hidden":!_,style:Object(Oe.a)(Object(Oe.a)({},Ye),m),className:ge()("".concat($,"-tabpane"),_&&"".concat($,"-tabpane-active"),U)},(_||Fe||se)&&ne)}var Tr=0;function hi(j){return Object(_e.a)(j).map(function($){if(P.isValidElement($)){var se=$.key!==void 0?String($.key):void 0;return Object(Oe.a)(Object(Oe.a)({key:se},$.props),{},{node:$})}return null}).filter(function($){return $})}function Qo(j,$){var se,U=j.id,m=j.prefixCls,R=m===void 0?"rc-tabs":m,_=j.className,B=j.children,Q=j.direction,de=j.activeKey,ne=j.defaultActiveKey,ve=j.editable,Re=j.animated,Fe=j.tabPosition,je=Fe===void 0?"top":Fe,Ye=j.tabBarGutter,Et=j.tabBarStyle,Jt=j.tabBarExtraContent,Mt=j.locale,zt=j.moreIcon,Xt=j.moreTransitionName,Yt=j.destroyInactiveTabPane,Gt=j.renderTabBar,hn=j.onChange,on=j.onTabClick,Gn=j.onTabScroll,sn=Object(ze.a)(j,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),_t=hi(B),gt=Q==="rtl",un;Re===!1?un={inkBar:!1,tabPane:!1}:un=Object(Oe.a)({inkBar:!0,tabPane:!1},Re!==!0?Re:null);var fn=Object(P.useState)(!1),lt=Object(Ee.a)(fn,2),pn=lt[0],Qn=lt[1];Object(P.useEffect)(function(){Qn(Pt())},[]);var yn=Object(he.a)(function(){var Dn;return(Dn=_t[0])===null||Dn===void 0?void 0:Dn.key},{value:de,defaultValue:ne}),Pn=Object(Ee.a)(yn,2),Mn=Pn[0],ai=Pn[1],mi=Object(P.useState)(function(){return _t.findIndex(function(Dn){return Dn.key===Mn})}),Zn=Object(Ee.a)(mi,2),Li=Zn[0],ra=Zn[1];Object(P.useEffect)(function(){var Dn=_t.findIndex(function(Da){return Da.key===Mn});if(Dn===-1){var ha;Dn=Math.max(0,Math.min(Li,_t.length-1)),ai((ha=_t[Dn])===null||ha===void 0?void 0:ha.key)}ra(Dn)},[_t.map(function(Dn){return Dn.key}).join("_"),Mn,Li]);var Wi=Object(he.a)(null,{value:U}),gi=Object(Ee.a)(Wi,2),Wn=gi[0],jn=gi[1],qn=je;pn&&!["left","right"].includes(je)&&(qn="top"),Object(P.useEffect)(function(){U||(jn("rc-tabs-".concat(Tr)),Tr+=1)},[]);function Yn(Dn,ha){on==null||on(Dn,ha),ai(Dn),hn==null||hn(Dn)}var oa={id:Wn,activeKey:Mn,animated:un,tabPosition:qn,rtl:gt,mobile:pn},Ia,Ma=Object(Oe.a)(Object(Oe.a)({},oa),{},{editable:ve,locale:Mt,moreIcon:zt,moreTransitionName:Xt,tabBarGutter:Ye,onTabClick:Yn,onTabScroll:Gn,extra:Jt,style:Et,panes:B});return Gt?Ia=Gt(Ma,Kn):Ia=P.createElement(Kn,Object.assign({},Ma)),P.createElement(It.Provider,{value:{tabs:_t,prefixCls:R}},P.createElement("div",Object.assign({ref:$,id:U,className:ge()(R,"".concat(R,"-").concat(qn),(se={},Object(we.a)(se,"".concat(R,"-mobile"),pn),Object(we.a)(se,"".concat(R,"-editable"),ve),Object(we.a)(se,"".concat(R,"-rtl"),gt),se),_)},sn),Ia,P.createElement(Vr,Object.assign({destroyInactiveTabPane:Yt},oa,{animated:un}))))}var Za=P.forwardRef(Qo);Za.TabPane=Jr;var ba=Za,Xr=ye.b=ba},kPWJ:function(xe,ye,u){xe.exports=u.p+"static/question.cb52bef9.gif"},kPYp:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAAAUCAYAAADr0+FaAAANEklEQVRYR8WZe5RX1XXHP/vce3/zHoaXgFp5DQyOQLRgUTEtDW1qYyVmZUGNklRdiRpKE3lHfPyc4TngIBgfC0wx1ixt1NRWal2kotbE2lbRiCIISBCGhzDAvGd+87v37K5z5zfDzMCM46pr9fw1a+45+5zz3fvs/d3fn4yr1F8Do0UIUb74UFR8Gm3IO/Wf8MThat7mOYnaDZUmNUF/htpWLlePK4xwCcoQICHQbOGoKDuM4U1p5r0Px1DNrDPrezzQs+qNPUh/o4xXj6tRJhlhGEqeQNrCCYXdGvGfFt5JNHLoozJp7WyvdI0OtR4LEK7CstUIWyJLTSRcLfCnvlAiUKSgCEfV8o6NeMVE/G53itOUiXX3Sxcx2ov4qhG+qjBWoFChWY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udEUPbGeFDsnJjsFvYzt9Bf9cbKe0Ui8DnlYY1z2sXcETzfSavdMKB0OI4/7C42EtD5tcLhef+w1c0U0DcpYcXXUauYOus8Mdns1W2eIpy3Y18FGXrjipZmzAMLIoM4ZZQqwmdh7Oaltv3E0id1lMlR1hRJnk8PK+H0mqu7DmHBDB4vw6HtneQ8N06YNalIp4HmF6X8EfV6ljRfk5EmNxJvIdn09ksdYIs7oV2d7h7uGrhUOEzP14ibzoNgXmC3wjQx3dbwZdwM6YcbHpNJFDKjxr4dHOunv3rcY9rANNC7dbR4WFkbhIP7ddFxSxTK3Cr0nzgFMz2+05Su37saTsWJRVS5VnuHnnAnmtp8vPnKne+1NY4jlZwtDfWpob6ijzhQ098fyLVmn/bJ97PMPtQJ5r8Dxck5VUMyqXP0wEzEHjNFHQR438rPPZtuyiKpTtmsdjrji7SGmJmBJrGYZSlIsyfYD7oaJVlVqEAwbejSJeafR5t6dOsfOGTuXMTTHeBExHmCzCaDTurLPEFWOlXqFKlI+s8prfwG92lnXVXkoq9HwTcD/KdSp8mGrmyVSaf+pJJmjff/gKHZaTxR3G8E1rKWyoY4MvbOwJfIdIcSUX+8Ic1yg6yT6Eb7Q1Wc4BORRk+RQZQ2DD3n8Y+Lwn4edT/cEcOd0xL6nmyn5knWghPzuL7JQQJMC0umjzafUbaG5J0XigjFSfeHuHYZXSJIH0Iz+VJtczBL6H58pLZAhTaVqKCmnYfoSWc4l6Tko/nscg8clvMtQPyOFUn/oRVCauJZcs+jeHJFLHOX1wFTW9MkEnyg0kP2EpitJ4+YVU/S8v1xqrW4H9MAAAAABJRU5ErkJggg=="},l2Kq:function(xe,ye,u){xe.exports=u.p+"static/match_ad.24dc22fd.jpg"},lzim:function(xe,ye,u){"use strict";var we=u("E7E6"),Ee=u.n(we);u.d(ye,"y",function(){return Ee.a});var ze=u("/GNS"),Oe=u.n(ze);u.d(ye,"x",function(){return Oe.a});var P=u("FOrL"),Ae=u.n(P);u.d(ye,"r",function(){return Ae.a});var ge=u("HpTS"),_e=u.n(ge);u.d(ye,"z",function(){return _e.a});var he=u("tWlo"),M=u.n(he);u.d(ye,"b",function(){return M.a});var w=u("7ZXX"),E=u.n(w);u.d(ye,"m",function(){return E.a});var s=u("GABl"),h=u.n(s);u.d(ye,"f",function(){return h.a});var l=u("onxn"),f=u.n(l);u.d(ye,"o",function(){return f.a});var x=u("nKGa"),K=u.n(x);u.d(ye,"n",function(){return K.a});var A=u("4qgm"),D=u.n(A);u.d(ye,"B",function(){return D.a});var ee=u("JeFH"),te=u.n(ee);u.d(ye,"c",function(){return te.a});var V=u("ji0R"),Y=u.n(V);u.d(ye,"j",function(){return Y.a});var fe=u("W6BS"),N=u.n(fe);u.d(ye,"C",function(){return N.a});var W=u("kPYp"),b=u.n(W);u.d(ye,"D",function(){return b.a});var ae=u("nukY"),G=u.n(ae),C=u("4u4S"),q=u.n(C),Le=u("yslc"),I=u.n(Le),Z=u("l2Kq"),L=u.n(Z),y=u("RMFE"),c=u.n(y);u.d(ye,"p",function(){return c.a});var O=u("TGq3"),S=u.n(O),oe=u("SMhR"),ue=u.n(oe);u.d(ye,"A",function(){return ue.a});var pe=u("8/bI"),re=u.n(pe);u.d(ye,"k",function(){return re.a});var H=u("JWDV"),z=u.n(H),le=u("Xsq0"),X=u.n(le);u.d(ye,"q",function(){return X.a});var ce=u("Ohmc"),v=u.n(ce);u.d(ye,"d",function(){return v.a});var k=u("csWT"),T=u.n(k);u.d(ye,"e",function(){return T.a});var ie=u("7v3h"),Te=u.n(ie);u.d(ye,"l",function(){return Te.a});var Ce=u("cRFk"),Ie=u.n(Ce);u.d(ye,"w",function(){return Ie.a});var ke=u("kPWJ"),We=u.n(ke);u.d(ye,"v",function(){return We.a});var Ze=u("qgvg"),qe=u.n(Ze);u.d(ye,"s",function(){return qe.a});var tt=u("FPkq"),ht=u.n(tt);u.d(ye,"u",function(){return ht.a});var it=u("A/g1"),dt=u.n(it);u.d(ye,"g",function(){return dt.a});var at=u("Nmxd"),jt=u.n(at);u.d(ye,"h",function(){return jt.a});var Dt=u("5D2P"),Ut=u.n(Dt);u.d(ye,"i",function(){return Ut.a});var Ge=u("djh8"),In=u.n(Ge);u.d(ye,"t",function(){return In.a});var mn=u("Jq4h"),ft=u.n(mn);u.d(ye,"a",function(){return ft.a})},mOS8:function(xe,ye,u){xe.exports=u.p+"static/403Qrcode.6c17b6f4.png"},nKGa:function(xe,ye,u){xe.exports=u.p+"static/export_exercise-template.f7655c19.png"},nukY:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALoAAABSCAYAAADjGc4eAAAMkklEQVR4Xu2dWWwcSRnHv7Yd577v+74vkgWEQCAEy6IVWuCB62GVICFIYkcsvMC+LW8LL7BIiTiEhCweInjgPrRCC2KBJTBVYzm24yRO4ty3kziJj9ie+tC/d9oaT2b67ume7irJsjdbVf19X/266quvjjaEEG8w8yukk7ZAii1gMHODEOK3RPRSivXUqmXcAgb07+jomDk2NvYPZn4u4/bQ6qfUAiboSEKI5cz8XyJanVJdtVoZtsAE6EXYdzPzv4hoToZtolVPoQUmgV6E/QVm/hMRNaVQX61SRi3wDOiwg5Tya0qpn2TUJlrtFFqgIujFnv27zPztFOqsVcqgBaqCzsyGlPJXzPy5DNpFq5wyC1QFHXr29fVN6+/v/zszfyBlemt1MmYBW9Bhi3w+v7hQKJwkog0Zs41WN0UWcAS96K9vI6J3mHl+inTXqmTIAq5Ahz1yudxHDcN4k5mbM2QfrWpKLOAa9CLsB4ioLSW6azUyZAFPoBdh/w4RvZYhG2lVU2ABz6AXYf8FEb2cAv21ChmxgC/Qu7q6moeHh/9KRB/JiJ20mnVuAV+gQ+fu7u4FQ0ND/yGiLXVuAy1+BizgG/Ri2HEjEZ1k5kUZsJVWsY4tEAh06N3e3v7B8fHxt4hoWh3bIRbRm5qaaHx83NOzDcMg/DCz+RNlamhoMKtXSkX5mJrUHRh0SCml/CIzn8D+mJpInYKHNDY20p49e2hoaIguX75MIyMjrrRatWoVLVu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ueEa6etz+M+OphwqlZtmnSUME1bjJyb6vOmm8tc3PvrCeMIJZTLt5zBb1i59tUxuvDeRm+14RscbD1IB9Uo6ZnHRfp2XsX4489Ujy8eT08YTAjSg6Plf333p9HDLpzPlpnEvg4kYH83TrZrxcugy7IkU4SnrdszlW6AS5iOzndzu2FAbexmKY2RCgDR5zVsfrFm2YSrc92cqveNe2xMF9pk4HZvFMmQwflxrqMZFXKub49R1+ZtOne5hJaZpwoAG1GpXjhf/YXuxTK37pyLFPZSGErM7JleYCPVGRN7kreaXsp45OnY7aAwN3xvQcH1b1y65VabMwzMU5zQ79bMKmLHLm2GCEXC0jUkVRSLUF6hdW62c8n7WyzXHfsianBVAg16rqGCOerYt+E4tuOIbviR3suK+cBp1Zdpp0GRVRfZl4/XHD7AzTpnYSFWB0vHlzS2TDiz/cPn4vx2YAML/AxiD3K8wfl5pAAAAAElFTkSuQmCC"},p5ED:function(xe,ye,u){"use strict";var we=u("+L6B"),Ee=u("2/Rp"),ze=u("5Dmo"),Oe=u("3S7+"),P=u("k1fw"),Ae=u("tJVT"),ge=u("cDcd"),_e=u.n(ge),he=u("vHTk"),M=u.n(he),w=u("yEEn"),E=u("ZW9T"),s=u("1vsH");ye.a=function(h){var l=h.name,f=h.data,x=h.theme,K=h.type,A=h.filename,D=h.monacoEditor,ee=h.className,te=h.style,V=h.close,Y=h.onClose,fe=h.hasMask,N=Object(ge.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),W=Object(Ae.a)(N,2),b=W[0],ae=W[1],G=Object(ge.useState)(""),C=Object(Ae.a)(G,2),q=C[0],Le=C[1],I,Z=1024*1024,L=10*Z,y=Object(ge.useRef)();K==="office"&&(I=Object(s.V)(f).filesize,I>L&&(K="other")),A&&(D.filename=A),Object(ge.useEffect)(function(){var S,oe,ue=(S=document.cookie)===null||S===void 0||((oe=S.replace(/\s/g,""))===null||oe===void 0)?void 0:oe.split(";");ue==null||ue.map(function(pe){var re=pe.split("=");re[0]==="_educoder_session"&&Le(re[1])})},[]);var c=function(){if(f.startsWith("http")||f.startsWith("/")){O();return}Object(s.z)(A||"educoder",f,A)},O=function(){Object(s.x)(A||l,f)};return console.log("data:",f,"fileanme:",A," name:",l),_e.a.createElement("div",{style:Object(P.a)({},te||{}),className:"".concat(fe&&M.a.bgBlack," ").concat(K?M.a.wrp:"hide")},V&&_e.a.createElement("div",{className:M.a.close,ref:y},_e.a.createElement(Oe.a,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:function(){return y.current}},_e.a.createElement("span",{onClick:O},_e.a.createElement("i",{className:"icon-quxiaozhiding"}))),_e.a.createElement(Oe.a,{title:"\u5173\u95ED",getPopupContainer:function(){return y.current}},_e.a.createElement("span",{className:"",onClick:Y},_e.a.createElement("i",{className:"icon-guanbi1"})))),_e.a.createElement("div",{className:"".concat(M.a[ee]," ").concat(ee," ").concat(M.a.monaco," ").concat(K==="txt"?"show":"hide")},K==="txt"&&_e.a.createElement(E.b,D)),K==="audio"&&_e.a.createElement("audio",{src:"".concat(f!=null&&f.startsWith("/")||(f==null?void 0:f.indexOf("https://"))>-1?f:"data:audio/mp3;base64,").concat(f),autoPlay:!0}),K==="video"&&_e.a.createElement(_e.a.Fragment,null,f!=null&&f.startsWith("/")?_e.a.createElement("video",{controls:!0,src:"".concat(f),autoPlay:!0}):_e.a.createElement("video",{controls:!0,src:"data:video/mp4;base64,".concat(f),autoPlay:!0})),K==="html"&&_e.a.createElement("iframe",{src:f+"&disposition=inline"}),K==="pdf"&&_e.a.createElement("embed",{className:M.a.embed,src:f}),K==="image"&&_e.a.createElement(_e.a.Fragment,null,_e.a.createElement("img",{src:"".concat(f!=null&&f.startsWith("/")||(f==null?void 0:f.indexOf("https://"))>-1?"":"data:image/png;base64,").concat(f)})),K==="other"&&_e.a.createElement("div",null,_e.a.createElement(Ee.a,{type:"primary",size:"large",onClick:c},_e.a.createElement(w.a,null),"\u70B9\u51FB\u4E0B\u8F7D")),(K==="download"||K==="office")&&_e.a.createElement(Ee.a,{type:"primary",size:"large",onClick:c},_e.a.createElement(w.a,null),"\u70B9\u51FB\u4E0B\u8F7D"))}},"p77/":function(xe,ye,u){},psGv:function(xe,ye,u){var we,Ee;(function(){var ze;(function(){"use strict";var ge=[,,function(w){function E(l){this.__parent=l,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}E.prototype.clone_empty=function(){var l=new E(this.__parent);return l.set_indent(this.__indent_count,this.__alignment_count),l},E.prototype.item=function(l){return l<0?this.__items[this.__items.length+l]:this.__items[l]},E.prototype.has_match=function(l){for(var f=this.__items.length-1;f>=0;f--)if(this.__items[f].match(l))return!0;return!1},E.prototype.set_indent=function(l,f){this.is_empty()&&(this.__indent_count=l||0,this.__alignment_count=f||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},E.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},E.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},E.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var l=this.__parent.current_line;return l.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),l.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),l.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,l.__items[0]===" "&&(l.__items.splice(0,1),l.__character_count-=1),!0}return!1},E.prototype.is_empty=function(){return this.__items.length===0},E.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},E.prototype.push=function(l){this.__items.push(l);var f=l.lastIndexOf(`
`);f!==-1?this.__character_count=l.length-f:this.__character_count+=l.length},E.prototype.pop=function(){var l=null;return this.is_empty()||(l=this.__items.pop(),this.__character_count-=l.length),l},E.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},E.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},E.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},E.prototype.toString=function(){var l="";return this.is_empty()?this.__parent.indent_empty_lines&&(l=this.__parent.get_indent_string(this.__indent_count)):(l=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),l+=this.__items.join("")),l};function s(l,f){this.__cache=[""],this.__indent_size=l.indent_size,this.__indent_string=l.indent_char,l.indent_with_tabs||(this.__indent_string=new Array(l.indent_size+1).join(l.indent_char)),f=f||"",l.indent_level>0&&(f=new Array(l.indent_level+1).join(this.__indent_string)),this.__base_string=f,this.__base_string_length=f.length}s.prototype.get_indent_size=function(l,f){var x=this.__base_string_length;return f=f||0,l<0&&(x=0),x+=l*this.__indent_size,x+=f,x},s.prototype.get_indent_string=function(l,f){var x=this.__base_string;return f=f||0,l<0&&(l=0,x=""),f+=l*this.__indent_size,this.__ensure_cache(f),x+=this.__cache[f],x},s.prototype.__ensure_cache=function(l){for(;l>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var l=this.__cache.length,f=0,x="";this.__indent_size&&l>=this.__indent_size&&(f=Math.floor(l/this.__indent_size),l-=f*this.__indent_size,x=new Array(f+1).join(this.__indent_string)),l&&(x+=new Array(l+1).join(" ")),this.__cache.push(x)};function h(l,f){this.__indent_cache=new s(l,f),this.raw=!1,this._end_with_newline=l.end_with_newline,this.indent_size=l.indent_size,this.wrap_line_length=l.wrap_line_length,this.indent_empty_lines=l.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new E(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}h.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},h.prototype.get_line_number=function(){return this.__lines.length},h.prototype.get_indent_string=function(l,f){return this.__indent_cache.get_indent_string(l,f)},h.prototype.get_indent_size=function(l,f){return this.__indent_cache.get_indent_size(l,f)},h.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},h.prototype.add_new_line=function(l){return this.is_empty()||!l&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},h.prototype.get_code=function(l){this.trim(!0);var f=this.current_line.pop();f&&(f[f.length-1]===`
`&&(f=f.replace(/\n+$/g,"")),this.current_line.push(f)),this._end_with_newline&&this.__add_outputline();var x=this.__lines.join(`
`);return l!==`
`&&(x=x.replace(/[\n]/g,l)),x},h.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},h.prototype.set_indent=function(l,f){return l=l||0,f=f||0,this.next_line.set_indent(l,f),this.__lines.length>1?(this.current_line.set_indent(l,f),!0):(this.current_line.set_indent(),!1)},h.prototype.add_raw_token=function(l){for(var f=0;f<l.newlines;f++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(l.whitespace_before),this.current_line.push(l.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},h.prototype.add_token=function(l){this.__add_space_before_token(),this.current_line.push(l),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},h.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},h.prototype.remove_indent=function(l){for(var f=this.__lines.length;l<f;)this.__lines[l]._remove_indent(),l++;this.current_line._remove_wrap_indent()},h.prototype.trim=function(l){for(l=l===void 0?!1:l,this.current_line.trim();l&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},h.prototype.just_added_newline=function(){return this.current_line.is_empty()},h.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},h.prototype.ensure_empty_line_above=function(l,f){for(var x=this.__lines.length-2;x>=0;){var K=this.__lines[x];if(K.is_empty())break;if(K.item(0).indexOf(l)!==0&&K.item(-1)!==f){this.__lines.splice(x+1,0,new E(this)),this.previous_line=this.__lines[this.__lines.length-2];break}x--}},w.exports.Output=h},function(w){function E(s,h,l,f){this.type=s,this.text=h,this.comments_before=null,this.newlines=l||0,this.whitespace_before=f||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}w.exports.Token=E},,,function(w){function E(l,f){this.raw_options=s(l,f),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}E.prototype._get_array=function(l,f){var x=this.raw_options[l],K=f||[];return typeof x=="object"?x!==null&&typeof x.concat=="function"&&(K=x.concat()):typeof x=="string"&&(K=x.split(/[^a-zA-Z0-9_\/\-]+/)),K},E.prototype._get_boolean=function(l,f){var x=this.raw_options[l],K=x===void 0?!!f:!!x;return K},E.prototype._get_characters=function(l,f){var x=this.raw_options[l],K=f||"";return typeof x=="string"&&(K=x.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),K},E.prototype._get_number=function(l,f){var x=this.raw_options[l];f=parseInt(f,10),isNaN(f)&&(f=0);var K=parseInt(x,10);return isNaN(K)&&(K=f),K},E.prototype._get_selection=function(l,f,x){var K=this._get_selection_list(l,f,x);if(K.length!==1)throw new Error("Invalid Option Value: The option '"+l+`' can only be one of the following values:
`+f+`
You passed in: '`+this.raw_options[l]+"'");return K[0]},E.prototype._get_selection_list=function(l,f,x){if(!f||f.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[f[0]],!this._is_valid_selection(x,f))throw new Error("Invalid Default Value!");var K=this._get_array(l,x);if(!this._is_valid_selection(K,f))throw new Error("Invalid Option Value: The option '"+l+`' can contain only the following values:
`+f+`
You passed in: '`+this.raw_options[l]+"'");return K},E.prototype._is_valid_selection=function(l,f){return l.length&&f.length&&!l.some(function(x){return f.indexOf(x)===-1})};function s(l,f){var x={};l=h(l);var K;for(K in l)K!==f&&(x[K]=l[K]);if(f&&l[f])for(K in l[f])x[K]=l[f][K];return x}function h(l){var f={},x;for(x in l){var K=x.replace(/-/g,"_");f[K]=l[x]}return f}w.exports.Options=E,w.exports.normalizeOpts=h,w.exports.mergeOpts=s},,function(w){var E=RegExp.prototype.hasOwnProperty("sticky");function s(h){this.__input=h||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position<this.__input_length},s.prototype.next=function(){var h=null;return this.hasNext()&&(h=this.__input.charAt(this.__position),this.__position+=1),h},s.prototype.peek=function(h){var l=null;return h=h||0,h+=this.__position,h>=0&&h<this.__input_length&&(l=this.__input.charAt(h)),l},s.prototype.__match=function(h,l){h.lastIndex=l;var f=h.exec(this.__input);return f&&!(E&&h.sticky)&&(f.index!==l&&(f=null)),f},s.prototype.test=function(h,l){return l=l||0,l+=this.__position,l>=0&&l<this.__input_length?!!this.__match(h,l):!1},s.prototype.testChar=function(h,l){var f=this.peek(l);return h.lastIndex=0,f!==null&&h.test(f)},s.prototype.match=function(h){var l=this.__match(h,this.__position);return l?this.__position+=l[0].length:l=null,l},s.prototype.read=function(h,l,f){var x="",K;return h&&(K=this.match(h),K&&(x+=K[0])),l&&(K||!h)&&(x+=this.readUntil(l,f)),x},s.prototype.readUntil=function(h,l){var f="",x=this.__position;h.lastIndex=this.__position;var K=h.exec(this.__input);return K?(x=K.index,l&&(x+=K[0].length)):x=this.__input_length,f=this.__input.substring(this.__position,x),this.__position=x,f},s.prototype.readUntilAfter=function(h){return this.readUntil(h,!0)},s.prototype.get_regexp=function(h,l){var f=null,x="g";return l&&E&&(x="y"),typeof h=="string"&&h!==""?f=new RegExp(h,x):h&&(f=new RegExp(h.source,x)),f},s.prototype.get_literal_regexp=function(h){return RegExp(h.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(h){var l=this.__position,f=this.readUntilAfter(h);return this.__position=l,f},s.prototype.lookBack=function(h){var l=this.__position-1;return l>=h.length&&this.__input.substring(l-h.length,l).toLowerCase()===h},w.exports.InputScanner=s},function(w,E,s){var h=s(8).InputScanner,l=s(3).Token,f=s(10).TokenStream,x=s(11).WhitespacePattern,K={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},A=function(D,ee){this._input=new h(D),this._options=ee||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new x(this._input)};A.prototype.tokenize=function(){this._input.restart(),this.__tokens=new f,this._reset();for(var D,ee=new l(K.START,""),te=null,V=[],Y=new f;ee.type!==K.EOF;){for(D=this._get_next_token(ee,te);this._is_comment(D);)Y.add(D),D=this._get_next_token(ee,te);Y.isEmpty()||(D.comments_before=Y,Y=new f),D.parent=te,this._is_opening(D)?(V.push(te),te=D):te&&this._is_closing(D,te)&&(D.opened=te,te.closed=D,te=V.pop(),D.parent=te),D.previous=ee,ee.next=D,this.__tokens.add(D),ee=D}return this.__tokens},A.prototype._is_first_token=function(){return this.__tokens.isEmpty()},A.prototype._reset=function(){},A.prototype._get_next_token=function(D,ee){this._readWhitespace();var te=this._input.read(/.+/g);return te?this._create_token(K.RAW,te):this._create_token(K.EOF,"")},A.prototype._is_comment=function(D){return!1},A.prototype._is_opening=function(D){return!1},A.prototype._is_closing=function(D,ee){return!1},A.prototype._create_token=function(D,ee){var te=new l(D,ee,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return te},A.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},w.exports.Tokenizer=A,w.exports.TOKEN=K},function(w){function E(s){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=s}E.prototype.restart=function(){this.__position=0},E.prototype.isEmpty=function(){return this.__tokens_length===0},E.prototype.hasNext=function(){return this.__position<this.__tokens_length},E.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__tokens[this.__position],this.__position+=1),s},E.prototype.peek=function(s){var h=null;return s=s||0,s+=this.__position,s>=0&&s<this.__tokens_length&&(h=this.__tokens[s]),h},E.prototype.add=function(s){this.__parent_token&&(s.parent=this.__parent_token),this.__tokens.push(s),this.__tokens_length+=1},w.exports.TokenStream=E},function(w,E,s){var h=s(12).Pattern;function l(f,x){h.call(this,f,x),x?this._line_regexp=this._input.get_regexp(x._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}l.prototype=new h,l.prototype.__set_whitespace_patterns=function(f,x){f+="\\t ",x+="\\n\\r",this._match_pattern=this._input.get_regexp("["+f+x+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+x+"]")},l.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var f=this._input.read(this._match_pattern);if(f===" ")this.whitespace_before_token=" ";else if(f){var x=this.__split(this._newline_regexp,f);this.newline_count=x.length-1,this.whitespace_before_token=x[this.newline_count]}return f},l.prototype.matching=function(f,x){var K=this._create();return K.__set_whitespace_patterns(f,x),K._update(),K},l.prototype._create=function(){return new l(this._input,this)},l.prototype.__split=function(f,x){f.lastIndex=0;for(var K=0,A=[],D=f.exec(x);D;)A.push(x.substring(K,D.index)),K=D.index+D[0].length,D=f.exec(x);return K<x.length?A.push(x.substring(K,x.length)):A.push(""),A},w.exports.WhitespacePattern=l},function(w){function E(s,h){this._input=s,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,h&&(this._starting_pattern=this._input.get_regexp(h._starting_pattern,!0),this._match_pattern=this._input.get_regexp(h._match_pattern,!0),this._until_pattern=this._input.get_regexp(h._until_pattern),this._until_after=h._until_after)}E.prototype.read=function(){var s=this._input.read(this._starting_pattern);return(!this._starting_pattern||s)&&(s+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),s},E.prototype.read_match=function(){return this._input.match(this._match_pattern)},E.prototype.until_after=function(s){var h=this._create();return h._until_after=!0,h._until_pattern=this._input.get_regexp(s),h._update(),h},E.prototype.until=function(s){var h=this._create();return h._until_after=!1,h._until_pattern=this._input.get_regexp(s),h._update(),h},E.prototype.starting_with=function(s){var h=this._create();return h._starting_pattern=this._input.get_regexp(s,!0),h._update(),h},E.prototype.matching=function(s){var h=this._create();return h._match_pattern=this._input.get_regexp(s,!0),h._update(),h},E.prototype._create=function(){return new E(this._input,this)},E.prototype._update=function(){},w.exports.Pattern=E},function(w){function E(s,h){s=typeof s=="string"?s:s.source,h=typeof h=="string"?h:h.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+h,"g")}E.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;for(var l=this.__directive_pattern.exec(s);l;)h[l[1]]=l[2],l=this.__directive_pattern.exec(s);return h},E.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},w.exports.Directives=E},function(w,E,s){var h=s(12).Pattern,l={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function f(x,K){h.call(this,x,K),this.__template_pattern=null,this._disabled=Object.assign({},l),this._excluded=Object.assign({},l),K&&(this.__template_pattern=this._input.get_regexp(K.__template_pattern),this._excluded=Object.assign(this._excluded,K._excluded),this._disabled=Object.assign(this._disabled,K._disabled));var A=new h(x);this.__patterns={handlebars_comment:A.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:A.starting_with(/{{{/).until_after(/}}}/),handlebars:A.starting_with(/{{/).until_after(/}}/),php:A.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:A.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:A.starting_with(/{%/).until_after(/%}/),django_value:A.starting_with(/{{/).until_after(/}}/),django_comment:A.starting_with(/{#/).until_after(/#}/),smarty:A.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:A.starting_with(/{\*/).until_after(/\*}/),smarty_literal:A.starting_with(/{literal}/).until_after(/{\/literal}/)}}f.prototype=new h,f.prototype._create=function(){return new f(this._input,this)},f.prototype._update=function(){this.__set_templated_pattern()},f.prototype.disable=function(x){var K=this._create();return K._disabled[x]=!0,K._update(),K},f.prototype.read_options=function(x){var K=this._create();for(var A in l)K._disabled[A]=x.templating.indexOf(A)===-1;return K._update(),K},f.prototype.exclude=function(x){var K=this._create();return K._excluded[x]=!0,K._update(),K},f.prototype.read=function(){var x="";this._match_pattern?x=this._input.read(this._starting_pattern):x=this._input.read(this._starting_pattern,this.__template_pattern);for(var K=this._read_template();K;)this._match_pattern?K+=this._input.read(this._match_pattern):K+=this._input.readUntil(this.__template_pattern),x+=K,K=this._read_template();return this._until_after&&(x+=this._input.readUntilAfter(this._until_pattern)),x},f.prototype.__set_templated_pattern=function(){var x=[];this._disabled.php||x.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||x.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(x.push(this.__patterns.django._starting_pattern.source),x.push(this.__patterns.django_value._starting_pattern.source),x.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||x.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&x.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+x.join("|")+")")},f.prototype._read_template=function(){var x="",K=this._input.peek();if(K==="<"){var A=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&A==="?"&&(x=x||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&A==="%"&&(x=x||this.__patterns.erb.read())}else K==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(x=x||this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars_unescaped.read(),x=x||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(x=x||this.__patterns.django_value.read()),this._excluded.django||(x=x||this.__patterns.django_comment.read(),x=x||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(x=x||this.__patterns.smarty_comment.read(),x=x||this.__patterns.smarty_literal.read(),x=x||this.__patterns.smarty.read()));return x},w.exports.TemplatablePattern=f},,,,function(w,E,s){var h=s(19).Beautifier,l=s(20).Options;function f(x,K,A,D){var ee=new h(x,K,A,D);return ee.beautify()}w.exports=f,w.exports.defaultOptions=function(){return new l}},function(w,E,s){var h=s(20).Options,l=s(2).Output,f=s(21).Tokenizer,x=s(21).TOKEN,K=/\r\n|[\r\n]/,A=/\r\n|[\r\n]/g,D=function(G,C){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=G.max_preserve_newlines,this.preserve_newlines=G.preserve_newlines,this._output=new l(G,C)};D.prototype.current_line_has_match=function(G){return this._output.current_line.has_match(G)},D.prototype.set_space_before_token=function(G,C){this._output.space_before_token=G,this._output.non_breaking_space=C},D.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},D.prototype.add_raw_token=function(G){this._output.add_raw_token(G)},D.prototype.print_preserved_newlines=function(G){var C=0;G.type!==x.TEXT&&G.previous.type!==x.TEXT&&(C=G.newlines?1:0),this.preserve_newlines&&(C=G.newlines<this.max_preserve_newlines+1?G.newlines:this.max_preserve_newlines+1);for(var q=0;q<C;q++)this.print_newline(q>0);return C!==0},D.prototype.traverse_whitespace=function(G){return G.whitespace_before||G.newlines?(this.print_preserved_newlines(G)||(this._output.space_before_token=!0),!0):!1},D.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},D.prototype.print_newline=function(G){this._output.add_new_line(G)},D.prototype.print_token=function(G){G.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(G.text))},D.prototype.indent=function(){this.indent_level++},D.prototype.get_full_indent=function(G){return G=this.indent_level+(G||0),G<1?"":this._output.get_indent_string(G)};var ee=function(G){for(var C=null,q=G.next;q.type!==x.EOF&&G.closed!==q;){if(q.type===x.ATTRIBUTE&&q.text==="type"){q.next&&q.next.type===x.EQUALS&&q.next.next&&q.next.next.type===x.VALUE&&(C=q.next.next.text);break}q=q.next}return C},te=function(G,C){var q=null,Le=null;return C.closed?(G==="script"?q="text/javascript":G==="style"&&(q="text/css"),q=ee(C)||q,q.search("text/css")>-1?Le="css":q.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?Le="javascript":q.search(/(text|application|dojo)\/(x-)?(html)/)>-1?Le="html":q.search(/test\/null/)>-1&&(Le="null"),Le):null};function V(G,C){return C.indexOf(G)!==-1}function Y(G,C,q){this.parent=G||null,this.tag=C?C.tag_name:"",this.indent_level=q||0,this.parser_token=C||null}function fe(G){this._printer=G,this._current_frame=null}fe.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},fe.prototype.record_tag=function(G){var C=new Y(this._current_frame,G,this._printer.indent_level);this._current_frame=C},fe.prototype._try_pop_frame=function(G){var C=null;return G&&(C=G.parser_token,this._printer.indent_level=G.indent_level,this._current_frame=G.parent),C},fe.prototype._get_frame=function(G,C){for(var q=this._current_frame;q&&!(G.indexOf(q.tag)!==-1);){if(C&&C.indexOf(q.tag)!==-1){q=null;break}q=q.parent}return q},fe.prototype.try_pop=function(G,C){var q=this._get_frame([G],C);return this._try_pop_frame(q)},fe.prototype.indent_to_tag=function(G){var C=this._get_frame(G);C&&(this._printer.indent_level=C.indent_level)};function N(G,C,q,Le){this._source_text=G||"",C=C||{},this._js_beautify=q,this._css_beautify=Le,this._tag_stack=null;var I=new h(C,"html");this._options=I,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}N.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var G=this._source_text,C=this._options.eol;this._options.eol==="auto"&&(C=`
`,G&&K.test(G)&&(C=G.match(K)[0])),G=G.replace(A,`
`);var q=G.match(/^[\t ]*/)[0],Le={text:"",type:""},I=new W,Z=new D(this._options,q),L=new f(G,this._options).tokenize();this._tag_stack=new fe(Z);for(var y=null,c=L.next();c.type!==x.EOF;)c.type===x.TAG_OPEN||c.type===x.COMMENT?(y=this._handle_tag_open(Z,c,I,Le),I=y):c.type===x.ATTRIBUTE||c.type===x.EQUALS||c.type===x.VALUE||c.type===x.TEXT&&!I.tag_complete?y=this._handle_inside_tag(Z,c,I,L):c.type===x.TAG_CLOSE?y=this._handle_tag_close(Z,c,I):c.type===x.TEXT?y=this._handle_text(Z,c,I):Z.add_raw_token(c),Le=y,c=L.next();var O=Z._output.get_code(C);return O},N.prototype._handle_tag_close=function(G,C,q){var Le={text:C.text,type:C.type};return G.alignment_size=0,q.tag_complete=!0,G.set_space_before_token(C.newlines||C.whitespace_before!=="",!0),q.is_unformatted?G.add_raw_token(C):(q.tag_start_char==="<"&&(G.set_space_before_token(C.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&q.has_wrapped_attrs&&G.print_newline(!1)),G.print_token(C)),q.indent_content&&!(q.is_unformatted||q.is_content_unformatted)&&(G.indent(),q.indent_content=!1),!q.is_inline_element&&!(q.is_unformatted||q.is_content_unformatted)&&G.set_wrap_point(),Le},N.prototype._handle_inside_tag=function(G,C,q,Le){var I=q.has_wrapped_attrs,Z={text:C.text,type:C.type};if(G.set_space_before_token(C.newlines||C.whitespace_before!=="",!0),q.is_unformatted)G.add_raw_token(C);else if(q.tag_start_char==="{"&&C.type===x.TEXT)G.print_preserved_newlines(C)?(C.newlines=0,G.add_raw_token(C)):G.print_token(C);else{if(C.type===x.ATTRIBUTE?(G.set_space_before_token(!0),q.attr_count+=1):(C.type===x.EQUALS||C.type===x.VALUE&&C.previous.type===x.EQUALS)&&G.set_space_before_token(!1),C.type===x.ATTRIBUTE&&q.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(G.traverse_whitespace(C),I=I||C.newlines!==0),this._is_wrap_attributes_force)){var L=q.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&q.attr_count===1){var y=!0,c=0,O;do{if(O=Le.peek(c),O.type===x.ATTRIBUTE){y=!1;break}c+=1}while(c<4&&O.type!==x.EOF&&O.type!==x.TAG_CLOSE);L=!y}L&&(G.print_newline(!1),I=!0)}G.print_token(C),I=I||G.previous_token_wrapped(),q.has_wrapped_attrs=I}return Z},N.prototype._handle_text=function(G,C,q){var Le={text:C.text,type:"TK_CONTENT"};return q.custom_beautifier_name?this._print_custom_beatifier_text(G,C,q):q.is_unformatted||q.is_content_unformatted?G.add_raw_token(C):(G.traverse_whitespace(C),G.print_token(C)),Le},N.prototype._print_custom_beatifier_text=function(G,C,q){var Le=this;if(C.text!==""){var I=C.text,Z,L=1,y="",c="";q.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?Z=this._js_beautify:q.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?Z=this._css_beautify:q.custom_beautifier_name==="html"&&(Z=function(re,H){var z=new N(re,H,Le._js_beautify,Le._css_beautify);return z.beautify()}),this._options.indent_scripts==="keep"?L=0:this._options.indent_scripts==="separate"&&(L=-G.indent_level);var O=G.get_full_indent(L);if(I=I.replace(/\n[ \t]*$/,""),q.custom_beautifier_name!=="html"&&I[0]==="<"&&I.match(/^(<!--|<!\[CDATA\[)/)){var S=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(I);if(!S){G.add_raw_token(C);return}y=O+S[1]+`
`,I=S[4],S[5]&&(c=O+S[5]),I=I.replace(/\n[ \t]*$/,""),(S[2]||S[3].indexOf(`
`)!==-1)&&(S=S[3].match(/[ \t]+$/),S&&(C.whitespace_before=S[0]))}if(I)if(Z){var oe=function(){this.eol=`
`};oe.prototype=this._options.raw_options;var ue=new oe;I=Z(O+I,ue)}else{var pe=C.whitespace_before;pe&&(I=I.replace(new RegExp(`
(`+pe+")?","g"),`
`)),I=O+I.replace(/\n/g,`
`+O)}y&&(I?I=y+I+`
`+c:I=y+c),G.print_newline(!1),I&&(C.text=I,C.whitespace_before="",C.newlines=0,G.add_raw_token(C),G.print_newline(!0))}},N.prototype._handle_tag_open=function(G,C,q,Le){var I=this._get_tag_open_token(C);return(q.is_unformatted||q.is_content_unformatted)&&!q.is_empty_element&&C.type===x.TAG_OPEN&&C.text.indexOf("</")===0?(G.add_raw_token(C),I.start_tag_token=this._tag_stack.try_pop(I.tag_name)):(G.traverse_whitespace(C),this._set_tag_position(G,C,I,q,Le),I.is_inline_element||G.set_wrap_point(),G.print_token(C)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(I.alignment_size=C.text.length+1),!I.tag_complete&&!I.is_unformatted&&(G.alignment_size=I.alignment_size),I};var W=function(G,C){if(this.parent=G||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!C)this.tag_complete=!0;else{var q;this.tag_start_char=C.text[0],this.text=C.text,this.tag_start_char==="<"?(q=C.text.match(/^<([^\s>]*)/),this.tag_check=q?q[1]:""):(q=C.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=q?q[1]:"",(C.text.startsWith("{{#>")||C.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&C.next!==null?this.tag_check=C.next.text.split(" ")[0]:this.tag_check=C.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),C.type===x.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||C.closed&&C.closed.text==="/>";var Le=2;this.tag_start_char==="{"&&this.text.length>=3&&(this.text.charAt(2)==="~"&&(Le=3)),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(Le)))}};N.prototype._get_tag_open_token=function(G){var C=new W(this._tag_stack.get_parser_token(),G);return C.alignment_size=this._options.wrap_attributes_indent_size,C.is_end_tag=C.is_end_tag||V(C.tag_check,this._options.void_elements),C.is_empty_element=C.tag_complete||C.is_start_tag&&C.is_end_tag,C.is_unformatted=!C.tag_complete&&V(C.tag_check,this._options.unformatted),C.is_content_unformatted=!C.is_empty_element&&V(C.tag_check,this._options.content_unformatted),C.is_inline_element=V(C.tag_name,this._options.inline)||C.tag_name.includes("-")||C.tag_start_char==="{",C},N.prototype._set_tag_position=function(G,C,q,Le,I){if(q.is_empty_element||(q.is_end_tag?q.start_tag_token=this._tag_stack.try_pop(q.tag_name):(this._do_optional_end_element(q)&&(q.is_inline_element||G.print_newline(!1)),this._tag_stack.record_tag(q),(q.tag_name==="script"||q.tag_name==="style")&&!(q.is_unformatted||q.is_content_unformatted)&&(q.custom_beautifier_name=te(q.tag_check,C)))),V(q.tag_check,this._options.extra_liners)&&(G.print_newline(!1),G._output.just_added_blankline()||G.print_newline(!0)),q.is_empty_element){if(q.tag_start_char==="{"&&q.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),q.indent_content=!0;var Z=G.current_line_has_match(/{{#if/);Z||G.print_newline(!1)}q.tag_name==="!--"&&I.type===x.TAG_CLOSE&&Le.is_end_tag&&q.text.indexOf(`
`)===-1||(q.is_inline_element||q.is_unformatted||G.print_newline(!1),this._calcluate_parent_multiline(G,q))}else if(q.is_end_tag){var L=!1;L=q.start_tag_token&&q.start_tag_token.multiline_content,L=L||!q.is_inline_element&&!(Le.is_inline_element||Le.is_unformatted)&&!(I.type===x.TAG_CLOSE&&q.start_tag_token===Le)&&I.type!=="TK_CONTENT",(q.is_content_unformatted||q.is_unformatted)&&(L=!1),L&&G.print_newline(!1)}else q.indent_content=!q.custom_beautifier_name,q.tag_start_char==="<"&&(q.tag_name==="html"?q.indent_content=this._options.indent_inner_html:q.tag_name==="head"?q.indent_content=this._options.indent_head_inner_html:q.tag_name==="body"&&(q.indent_content=this._options.indent_body_inner_html)),!(q.is_inline_element||q.is_unformatted)&&(I.type!=="TK_CONTENT"||q.is_content_unformatted)&&G.print_newline(!1),this._calcluate_parent_multiline(G,q)},N.prototype._calcluate_parent_multiline=function(G,C){C.parent&&G._output.just_added_newline()&&!((C.is_inline_element||C.is_unformatted)&&C.parent.is_inline_element)&&(C.parent.multiline_content=!0)};var b=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],ae=["a","audio","del","ins","map","noscript","video"];N.prototype._do_optional_end_element=function(G){var C=null;if(G.is_empty_element||!G.is_start_tag||!G.parent)return;if(G.tag_name==="body")C=C||this._tag_stack.try_pop("head");else if(G.tag_name==="li")C=C||this._tag_stack.try_pop("li",["ol","ul"]);else if(G.tag_name==="dd"||G.tag_name==="dt")C=C||this._tag_stack.try_pop("dt",["dl"]),C=C||this._tag_stack.try_pop("dd",["dl"]);else if(G.parent.tag_name==="p"&&b.indexOf(G.tag_name)!==-1){var q=G.parent.parent;(!q||ae.indexOf(q.tag_name)===-1)&&(C=C||this._tag_stack.try_pop("p"))}else G.tag_name==="rp"||G.tag_name==="rt"?(C=C||this._tag_stack.try_pop("rt",["ruby","rtc"]),C=C||this._tag_stack.try_pop("rp",["ruby","rtc"])):G.tag_name==="optgroup"?C=C||this._tag_stack.try_pop("optgroup",["select"]):G.tag_name==="option"?C=C||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):G.tag_name==="colgroup"?C=C||this._tag_stack.try_pop("caption",["table"]):G.tag_name==="thead"?(C=C||this._tag_stack.try_pop("caption",["table"]),C=C||this._tag_stack.try_pop("colgroup",["table"])):G.tag_name==="tbody"||G.tag_name==="tfoot"?(C=C||this._tag_stack.try_pop("caption",["table"]),C=C||this._tag_stack.try_pop("colgroup",["table"]),C=C||this._tag_stack.try_pop("thead",["table"]),C=C||this._tag_stack.try_pop("tbody",["table"])):G.tag_name==="tr"?(C=C||this._tag_stack.try_pop("caption",["table"]),C=C||this._tag_stack.try_pop("colgroup",["table"]),C=C||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(G.tag_name==="th"||G.tag_name==="td")&&(C=C||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),C=C||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return G.parent=this._tag_stack.get_parser_token(),C},w.exports.Beautifier=N},function(w,E,s){var h=s(6).Options;function l(f){h.call(this,f,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}l.prototype=new h,w.exports.Options=l},function(w,E,s){var h=s(9).Tokenizer,l=s(9).TOKEN,f=s(13).Directives,x=s(14).TemplatablePattern,K=s(12).Pattern,A={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:l.START,RAW:l.RAW,EOF:l.EOF},D=new f(/<\!--/,/-->/),ee=function(te,V){h.call(this,te,V),this._current_tag_name="";var Y=new x(this._input).read_options(this._options),fe=new K(this._input);if(this.__patterns={word:Y.until(/[\n\r\t <]/),single_quote:Y.until_after(/'/),double_quote:Y.until_after(/"/),attribute:Y.until(/[\n\r\t =>]|\/>/),element_name:Y.until(/[\n\r\t >\/]/),handlebars_comment:fe.starting_with(/{{!--/).until_after(/--}}/),handlebars:fe.starting_with(/{{/).until_after(/}}/),handlebars_open:fe.until(/[\n\r\t }]/),handlebars_raw_close:fe.until(/}}/),comment:fe.starting_with(/<!--/).until_after(/-->/),cdata:fe.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:fe.starting_with(/<!\[/).until_after(/]>/),processing:fe.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var N=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=fe.matching(N).until_after(N)}};ee.prototype=new h,ee.prototype._is_comment=function(te){return!1},ee.prototype._is_opening=function(te){return te.type===A.TAG_OPEN},ee.prototype._is_closing=function(te,V){return te.type===A.TAG_CLOSE&&V&&((te.text===">"||te.text==="/>")&&V.text[0]==="<"||te.text==="}}"&&V.text[0]==="{"&&V.text[1]==="{")},ee.prototype._reset=function(){this._current_tag_name=""},ee.prototype._get_next_token=function(te,V){var Y=null;this._readWhitespace();var fe=this._input.peek();return fe===null?this._create_token(A.EOF,""):(Y=Y||this._read_open_handlebars(fe,V),Y=Y||this._read_attribute(fe,te,V),Y=Y||this._read_close(fe,V),Y=Y||this._read_raw_content(fe,te,V),Y=Y||this._read_content_word(fe),Y=Y||this._read_comment_or_cdata(fe),Y=Y||this._read_processing(fe),Y=Y||this._read_open(fe,V),Y=Y||this._create_token(A.UNKNOWN,this._input.next()),Y)},ee.prototype._read_comment_or_cdata=function(te){var V=null,Y=null,fe=null;if(te==="<"){var N=this._input.peek(1);N==="!"&&(Y=this.__patterns.comment.read(),Y?(fe=D.get_directives(Y),fe&&fe.ignore==="start"&&(Y+=D.readIgnored(this._input))):Y=this.__patterns.cdata.read()),Y&&(V=this._create_token(A.COMMENT,Y),V.directives=fe)}return V},ee.prototype._read_processing=function(te){var V=null,Y=null,fe=null;if(te==="<"){var N=this._input.peek(1);(N==="!"||N==="?")&&(Y=this.__patterns.conditional_comment.read(),Y=Y||this.__patterns.processing.read()),Y&&(V=this._create_token(A.COMMENT,Y),V.directives=fe)}return V},ee.prototype._read_open=function(te,V){var Y=null,fe=null;return V||te==="<"&&(Y=this._input.next(),this._input.peek()==="/"&&(Y+=this._input.next()),Y+=this.__patterns.element_name.read(),fe=this._create_token(A.TAG_OPEN,Y)),fe},ee.prototype._read_open_handlebars=function(te,V){var Y=null,fe=null;return V||this._options.indent_handlebars&&te==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(Y=this.__patterns.handlebars_comment.read(),Y=Y||this.__patterns.handlebars.read(),fe=this._create_token(A.COMMENT,Y)):(Y=this.__patterns.handlebars_open.read(),fe=this._create_token(A.TAG_OPEN,Y))),fe},ee.prototype._read_close=function(te,V){var Y=null,fe=null;return V&&(V.text[0]==="<"&&(te===">"||te==="/"&&this._input.peek(1)===">")?(Y=this._input.next(),te==="/"&&(Y+=this._input.next()),fe=this._create_token(A.TAG_CLOSE,Y)):V.text[0]==="{"&&te==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),fe=this._create_token(A.TAG_CLOSE,"}}"))),fe},ee.prototype._read_attribute=function(te,V,Y){var fe=null,N="";if(Y&&Y.text[0]==="<")if(te==="=")fe=this._create_token(A.EQUALS,this._input.next());else if(te==='"'||te==="'"){var W=this._input.next();te==='"'?W+=this.__patterns.double_quote.read():W+=this.__patterns.single_quote.read(),fe=this._create_token(A.VALUE,W)}else N=this.__patterns.attribute.read(),N&&(V.type===A.EQUALS?fe=this._create_token(A.VALUE,N):fe=this._create_token(A.ATTRIBUTE,N));return fe},ee.prototype._is_content_unformatted=function(te){return this._options.void_elements.indexOf(te)===-1&&(this._options.content_unformatted.indexOf(te)!==-1||this._options.unformatted.indexOf(te)!==-1)},ee.prototype._read_raw_content=function(te,V,Y){var fe="";if(Y&&Y.text[0]==="{")fe=this.__patterns.handlebars_raw_close.read();else if(V.type===A.TAG_CLOSE&&V.opened.text[0]==="<"&&V.text[0]!=="/"){var N=V.opened.text.substr(1).toLowerCase();if(N==="script"||N==="style"){var W=this._read_comment_or_cdata(te);if(W)return W.type=A.TEXT,W;fe=this._input.readUntil(new RegExp("</"+N+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(N)&&(fe=this._input.readUntil(new RegExp("</"+N+"[\\n\\r\\t ]*?>","ig")))}return fe?this._create_token(A.TEXT,fe):null},ee.prototype._read_content_word=function(te){var V="";if(this._options.unformatted_content_delimiter&&(te===this._options.unformatted_content_delimiter[0]&&(V=this.__patterns.unformatted_content_delimiter.read())),V||(V=this.__patterns.word.read()),V)return this._create_token(A.TEXT,V)},w.exports.Tokenizer=ee,w.exports.TOKEN=A}],_e={};function he(w){var E=_e[w];if(E!==void 0)return E.exports;var s=_e[w]={exports:{}};return ge[w](s,s.exports,he),s.exports}var M=he(18);ze=M})();var Oe=ze;if(!0)!(we=[u,u("6UM0"),u("TXwP")],Ee=function(ge){var _e=u("6UM0"),he=u("TXwP");return{html_beautify:function(M,w){return Oe(M,w,_e.js_beautify,he.css_beautify)}}}.apply(ye,we),Ee!==void 0&&(xe.exports=Ee));else var P,Ae})()},qgvg:function(xe,ye){xe.exports="data:image/gif;base64,R0lGODlhFAAQAOZVAD6Q33p6ezZto2VnaW5vcDuCxiYvNysvM1tdXzNij5eXlyg0QTA0OExOUWZnaS8zN19hYzFYf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IidOVFQAggYCNAIGiTFRmJiaVQkCC4MzHxcXHhKkpYpVN7K3mbQFuLKmibu8s4rAwb4YpBjEvL6IyrjMhB3BwolBGxEROCq30LQsQ1CkpqiqtItNsRybAkpHoOY+PxqEQC+TgQA7"},"rAM+":function(xe,ye,u){"use strict";u.d(ye,"a",function(){return Ee});var we=u("Qw5x");function Ee(ze,Oe){var P;if(typeof Symbol=="undefined"||ze[Symbol.iterator]==null){if(Array.isArray(ze)||(P=Object(we.a)(ze))||Oe&&ze&&typeof ze.length=="number"){P&&(ze=P);var Ae=0,ge=function(){};return{s:ge,n:function(){return Ae>=ze.length?{done:!0}:{done:!1,value:ze[Ae++]}},e:function(E){throw E},f:ge}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _e=!0,he=!1,M;return{s:function(){P=ze[Symbol.iterator]()},n:function(){var E=P.next();return _e=E.done,E},e:function(E){he=!0,M=E},f:function(){try{!_e&&P.return!=null&&P.return()}finally{if(he)throw M}}}}},rHrb:function(xe,ye,u){"use strict";Object.defineProperty(ye,"__esModule",{value:!0}),ye.CopyToClipboard=void 0;var we=ze(u("cDcd")),Ee=ze(u("+QRC"));function ze(A){return A&&A.__esModule?A:{default:A}}function Oe(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Oe=function(ee){return typeof ee}:Oe=function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee},Oe(A)}function P(A,D){var ee=Object.keys(A);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(A);D&&(te=te.filter(function(V){return Object.getOwnPropertyDescriptor(A,V).enumerable})),ee.push.apply(ee,te)}return ee}function Ae(A){for(var D=1;D<arguments.length;D++){var ee=arguments[D]!=null?arguments[D]:{};D%2?P(ee,!0).forEach(function(te){x(A,te,ee[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(ee)):P(ee).forEach(function(te){Object.defineProperty(A,te,Object.getOwnPropertyDescriptor(ee,te))})}return A}function ge(A,D){if(A==null)return{};var ee=_e(A,D),te,V;if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(A);for(V=0;V<Y.length;V++){if(te=Y[V],D.indexOf(te)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(A,te))continue;ee[te]=A[te]}}return ee}function _e(A,D){if(A==null)return{};var ee={},te=Object.keys(A),V,Y;for(Y=0;Y<te.length;Y++){if(V=te[Y],D.indexOf(V)>=0)continue;ee[V]=A[V]}return ee}function he(A,D){if(!(A instanceof D))throw new TypeError("Cannot call a class as a function")}function M(A,D){for(var ee=0;ee<D.length;ee++){var te=D[ee];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(A,te.key,te)}}function w(A,D,ee){return D&&M(A.prototype,D),ee&&M(A,ee),A}function E(A,D){return D&&(Oe(D)==="object"||typeof D=="function")?D:h(A)}function s(A){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(ee){return ee.__proto__||Object.getPrototypeOf(ee)},s(A)}function h(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function l(A,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(D&&D.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),D&&f(A,D)}function f(A,D){return f=Object.setPrototypeOf||function(te,V){return te.__proto__=V,te},f(A,D)}function x(A,D,ee){return D in A?Object.defineProperty(A,D,{value:ee,enumerable:!0,configurable:!0,writable:!0}):A[D]=ee,A}var K=function(A){l(D,A);function D(){var ee,te;he(this,D);for(var V=arguments.length,Y=new Array(V),fe=0;fe<V;fe++)Y[fe]=arguments[fe];return te=E(this,(ee=s(D)).call.apply(ee,[this].concat(Y))),x(h(te),"onClick",function(N){var W=te.props,b=W.text,ae=W.onCopy,G=W.children,C=W.options,q=we.default.Children.only(G),Le=(0,Ee.default)(b,C);ae&&ae(b,Le),q&&q.props&&typeof q.props.onClick=="function"&&q.props.onClick(N)}),te}return w(D,[{key:"render",value:function(){var te=this.props,V=te.text,Y=te.onCopy,fe=te.options,N=te.children,W=ge(te,["text","onCopy","options","children"]),b=we.default.Children.only(N);return we.default.cloneElement(b,Ae({},W,{onClick:this.onClick}))}}]),D}(we.default.PureComponent);ye.CopyToClipboard=K,x(K,"defaultProps",{onCopy:void 0,options:void 0})},sboe:function(xe,ye,u){"use strict";u.d(ye,"a",function(){return ze});var we=u("cDcd"),Ee=u.n(we),ze=we.createContext(null)},t23M:function(xe,ye,u){"use strict";var we=u("VTBJ"),Ee=u("1OyB"),ze=u("vuIU"),Oe=u("Ji7U"),P=u("LK+K"),Ae=u("cDcd"),ge=u.n(Ae),_e=u("m+aA"),he=u("Zm9Q"),M=u("Kwbf"),w=u("c+Xe"),E=u("bdgK"),s="rc-observer-key",h=function(l){Object(Oe.a)(x,l);var f=Object(P.a)(x);function x(){var K;return Object(Ee.a)(this,x),K=f.apply(this,arguments),K.resizeObserver=null,K.childNode=null,K.currentElement=null,K.state={width:0,height:0,offsetHeight:0,offsetWidth:0},K.onResize=function(A){var D=K.props.onResize,ee=A[0].target,te=ee.getBoundingClientRect(),V=te.width,Y=te.height,fe=ee.offsetWidth,N=ee.offsetHeight,W=Math.floor(V),b=Math.floor(Y);if(K.state.width!==W||K.state.height!==b||K.state.offsetWidth!==fe||K.state.offsetHeight!==N){var ae={width:W,height:b,offsetWidth:fe,offsetHeight:N};K.setState(ae),D&&Promise.resolve().then(function(){D(Object(we.a)(Object(we.a)({},ae),{},{offsetWidth:fe,offsetHeight:N}))})}},K.setChildNode=function(A){K.childNode=A},K}return Object(ze.a)(x,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var A=this.props.disabled;if(A){this.destroyObserver();return}var D=Object(_e.a)(this.childNode||this),ee=D!==this.currentElement;ee&&(this.destroyObserver(),this.currentElement=D),!this.resizeObserver&&D&&(this.resizeObserver=new E.default(this.onResize),this.resizeObserver.observe(D))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var A=this.props.children,D=Object(he.a)(A);if(D.length>1)Object(M.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(D.length===0)return Object(M.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var ee=D[0];if(Ae.isValidElement(ee)&&Object(w.c)(ee)){var te=ee.ref;D[0]=Ae.cloneElement(ee,{ref:Object(w.a)(te,this.setChildNode)})}return D.length===1?D[0]:D.map(function(V,Y){return!Ae.isValidElement(V)||"key"in V&&V.key!==null?V:Ae.cloneElement(V,{key:"".concat(s,"-").concat(Y)})})}}]),x}(Ae.Component);h.displayName="ResizeObserver",ye.a=h},tWlo:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWR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W9fWLsGxTV6HqA8F6sMfR5z0qiDUKsjQpoEuPQ1SsSILVPDd1FJTrDA/Fwry9NDX1w9dxh7MSs2+ytTjcI+7gc0IkHwpMD+JnpbnZGdCXk4WPJSUKFlHzj0bGTrtGqhZNjJqgQHzIHRjWMbzhd7/MqLaZxqzxfjVFU+UjhcZCs+gp7f9nowcszMhfg17SoptSKDyym9N9cbePt8O2GrQ5pbrDRMTkwbe6MQpN6hfFRUVWa+Qb+7je23ideLAtPdGZ/cUZpw1iTsTFtFLJcBwEc2RIryHqELvW2q/qQPT4JA4AmupL5aP/Saza8A0eDU2Jvr0DrWaNkEe3L32kULmhXV+cHHR8cOvV5tcDd9f8qvm9ouAW2Zm5yhpm5uwWi9HRoRXq1UqC9zt08cDe391VUiJPyaPo+F1zddaZy80XFyLRv52v2ViPrehiJSvz6Z7rthQpZI+t6E+K91yuj+3UXnkL+7PbYxCFdiIKfgYdTcohHZ23QTnEntd8Y8AAwCTubpzlq2wWAAAAABJRU5ErkJggg=="},vHTk:function(xe,ye,u){xe.exports={wrp:"wrp___z2l1F",bgBlack:"bgBlack___3ezfX",monaco:"monaco___1ypjT",darkBlue:"darkBlue___2ViJc",close:"close___3q-z4",embed:"embed___3dQqc"}},yDYP:function(xe,ye,u){xe.exports={flex_box_center:"flex_box_center___1ns9C",flex_space_between:"flex_space_between___CtYWo",flex_box_vertical_center:"flex_box_vertical_center___1BY1r",flex_box_center_end:"flex_box_center_end___1f_qK",flex_box_column:"flex_box_column___vKDYT",commitWrap:"commitWrap___3D8wo",wrap:"wrap___3FqEy",colorGray:"colorGray___cRpZO",content:"content___3lBLc",itemTime:"itemTime___Tgw2b",imageUrl:"imageUrl___2Lb2n",blueLight:"blueLight___1hcIr",divider:"divider___3FYHo",empty:"empty___oYMsw"}},yslc:function(xe,ye){xe.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALoAAABSCAYAAADjGc4eAAAOHklEQVR4Xu1dCXQURRr+emZyTO6D3BCEgKCInCKe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