a.name===this.target.variable);if(n)return n.returnType}return await this.target.getJavaType(t)}}class st extends ce{constructor(t,n,a,s,i){super(t);this.target=n,this.optional=a,this.member=s,this.whole=i}isWhole(){return this.whole===!0}expressions(){return[this.target]}getTarget(){return this.target}async getJavaType(t){let n=await this.target.getJavaType(t),a=await Z.loadClass(n),s=a==null?void 0:a.attributes;const i=this.member.getText();if(s){const r=s.find(p=>p.name===i);if(r)return Z.getWrapperClass(r.type)}let o=a==null?void 0:a.enums;if(o){const r=o.find(p=>p.name===i);if(r)return Z.getWrapperClass(r.type)}let l=a==null?void 0:a.methods;if(l)for(let r=0,p=l.length;r=0&&!n;s--)n=Z.findClass(a[s]+this.variable)}return n||"java.lang.Object"}}class Qt extends ce{constructor(t,n,a){super(t);this.target=n,this.keyOrIndex=a}async getJavaType(t){return await this.target.getJavaType(t)==="db"?"db":super.getJavaType(t)}}class _a extends ce{constructor(t,n,a,s,i){super(t);this.condition=n,this.trueBlock=a||[],this.elseIfs=s||[],this.falseBlock=i||[]}expressions(){return[this.condition,...this.trueBlock,...this.elseIfs,...this.falseBlock]}}class ha extends Ae{constructor(t){super(t)}}class Rn extends ce{constructor(t,n,a){super(t);this.parameters=n,this.childNodes=a}expressions(){return[...this.childNodes]}async getJavaType(t){if(Array.isArray(this.childNodes)&&this.childNodes.length>0){for(let n=0,a=this.childNodes.length;n=0&&!n;s--)n=Z.findClass(a[s]+this.identifier)}return n||"java.lang.Object"}}class hi extends ce{constructor(t,n){super(t);this.expression=n}expressions(){return[this.expression]}async getJavaType(t){return"java.util.concurrent.Future"}}class An extends ce{constructor(t,n,a){super(new W(t.getSpan(),n.getSpan()));this.operand=n,this.operator=t,this.atAfter=a}async getJavaType(t){return await this.operand.getJavaType(t)}}class fi extends ce{constructor(t,n,a,s,i,o){super(t);this.exceptionVarNode=n,this.tryBlock=a,this.tryResources=s,this.catchBlock=i,this.finallyBlock=o}expressions(){return[...this.tryBlock,...this.tryResources,...this.catchBlock,...this.finallyBlock]}}class mi extends ce{constructor(t,n,a,s,i){super(t);this.indexOrKey=n,this.value=a,this.mapOrArray=s,this.body=i}expressions(){return[this.mapOrArray,...this.body]}}class gi extends ce{constructor(t,n,a){super(t);this.condition=n,this.trueBlock=a}expressions(){return[this.condition,...this.trueBlock]}}class vi extends ce{constructor(t,n,a,s){super(t);this.packageName=n,this.varName=a,this.module=s}async getJavaType(t){if(this.packageName.endsWith(".*"))t["@import"].push(this.packageName.substring(0,this.packageName.length-1));else if(this.module)t[this.packageName]=this.packageName;else if(this.varName)t[this.varName]=this.packageName;else{let n=this.packageName.lastIndexOf(".");n>-1&&(t[this.packageName.substring(n+1)]=this.packageName)}}}class Zt extends ce{constructor(t,n,a,s){super(t);this.varName=n,this.expression=a,this.defineType=s!=="var"&&s!=="const"&&s!=="let"&&s}getVarName(){return this.varName}expressions(){return this.expression==null?[]:[this.expression]}async getJavaType(t){let n="java.lang.Object";return this.defineType?n=t[this.defineType]||n:this.expression&&(n=await this.expression.getJavaType(t)),t[this.varName]=n,n}}class Ei extends Zt{constructor(t,n,a,s,i){super(t,null,a,s);this.expression=a,this.tokens=n,this.defineType=s!=="var"&&s!=="const"&&s!=="let"&&s,this.isMapAccess=i}expressions(){return this.expression==null?[]:[this.expression]}async getJavaType(t){let n="java.lang.Object";if(this.defineType)n=t[this.defineType]||n;else if(!this.isMapAccess)return n;for(const a of this.tokens)t[a.getText()]=await new st(this.span,this.expression,!0,a,!1).getJavaType(t);return n}}class fa extends ce{constructor(t,n,a){super(new W(t.getSpan(),a.getSpan()));this.condition=t,this.trueExpression=n,this.falseExpression=a}expressions(){return[this.condition,this.trueExpression,this.falseExpression]}}class bi extends ce{constructor(t,n){super(t);this.target=n}expressions(){return[this.target]}}class yt extends Ae{constructor(t,n,a){super(t,"java.util.LinkedHashMap");this.keys=n,this.values=a}expressions(){return this.values}}class Tt extends Ae{constructor(t,n){super(t,"java.util.ArrayList");this.values=n}expressions(){return this.values}}class yi extends ce{constructor(t){super(t)}async getJavaType(){return"java.util.function.Function"}expressions(){return[]}}class ma extends ce{constructor(t,n,a,s){super(new W(t.getSpan(),a.getSpan()));this.left=t,this.right=a,this.operator=n,this.linqLevel=s}getOperator(){return this.operator}setRightOperand(t){this.right=t}getRightOperand(){return this.right}expressions(){return[this.left,this.right]}async getJavaType(t){let n=await this.left.getJavaType(t),a=await this.right.getJavaType(t);return n=n.toLowerCase().substring(n.lastIndexOf(".")+1),a=a.toLowerCase().substring(a.lastIndexOf(".")+1),(this.operator.type===u.Plus||this.operator.type===u.PlusEqual)&&(n==="string"||a==="string")?"java.lang.String":this.operator.type===u.Equal||this.operator.type===u.Assignment&&this.linqLevel>0?"java.lang.Boolean":n==="bigdecimal"||a==="bigdecimal"?"java.math.BigDecimal":n==="double"||a==="double"?"java.lang.Double":n==="float"||a==="float"?"java.lang.Float":n==="long"||a==="long"?"java.lang.Long":n==="integer"||a==="integer"?"java.lang.Integer":n==="short"||a==="short"?"java.lang.Short":n==="byte"||a==="byte"?"java.lang.Byte":"java.lang.Object"}}class Dt extends bt{constructor(t,n,a){super(t);this.expression=n,this.alias=a}expressions(){return[this.expression]}}class Ti extends bt{constructor(t,n,a,s){super(t);this.leftJoin=n,this.target=a,this.condition=s}expressions(){return[this.target,this.condition]}}class Si extends bt{constructor(t,n,a,s){super(t);this.expression=n,this.alias=a,this.order=s}expressions(){return[this.expression]}}class ga extends bt{constructor(t,n,a,s){super(t);this.convert=n,this.target=a,this.args=s}expressions(){return[this.target,...this.args]}async getJavaType(){return this.convert=="double"?"java.lang.Double":this.convert=="float"?"java.lang.Float":this.convert=="long"?"java.lang.Long":this.convert=="int"?"java.lang.Integer":this.convert=="short"?"java.lang.Short":this.convert=="byte"?"java.lang.Byte":this.convert=="date"?"java.util.Date":"java.lang.Object"}}class va extends bt{constructor(t,n,a,s,i,o,l,r,p,d){super(t);this.fields=n,this.from=a,this.joins=s,this.where=i,this.groups=o,this.having=l,this.orders=r,this.limit=p,this.offset=d}expressions(){let t=[];return this.where&&t.push(this.where),this.having&&t.push(this.having),[...this.fields,this.from,...this.joins,...this.groups,...t,...this.orders,this.limit,this.offset]}async getJavaType(){return"java.util.List"}}const en={environmentFunction:()=>{},setEnvironment:e=>en.environmentFunction=e},Ea=["import","as","var","let","const","return","break","continue","if","for","in","new","true","false","null","else","try","catch","finally","async","while","exit","and","or","throw"],ba=["from","join","left","group","by","as","having","and","or","in","where","on","limit","offset"],xi=[[u.Assignment],[u.RShift2Equal,u.RShiftEqual,u.LShiftEqual,u.XorEqual,u.BitOrEqual,u.BitAndEqual,u.PercentEqual,u.ForwardSlashEqual,u.AsteriskEqual,u.MinusEqual,u.PlusEqual],[u.Or,u.SqlOr],[u.And,u.SqlAnd],[u.BitOr],[u.Xor],[u.BitAnd],[u.EqualEqualEqual,u.Equal,u.NotEqualEqual,u.NotEqual,u.SqlNotEqual],[u.Less,u.LessEqual,u.Greater,u.GreaterEqual,u.InstanceOf],[u.Plus,u.Minus],[u.LShift,u.RShift,u.RShift2],[u.Asterisk,u.ForwardSlash,u.Percentage]],Oi=[[u.RShift2Equal,u.RShiftEqual,u.LShiftEqual,u.XorEqual,u.BitOrEqual,u.BitAndEqual,u.PercentEqual,u.ForwardSlashEqual,u.AsteriskEqual,u.MinusEqual,u.PlusEqual],[u.Or,u.SqlOr],[u.And,u.SqlAnd],[u.BitOr],[u.Xor],[u.BitAnd],[u.Assignment,u.EqualEqualEqual,u.Equal,u.NotEqualEqual,u.Equal,u.NotEqual,u.SqlNotEqual],[u.Less,u.LessEqual,u.Greater,u.GreaterEqual,u.InstanceOf],[u.Plus,u.Minus],[u.LShift,u.RShift,u.RShift2],[u.Asterisk,u.ForwardSlash,u.Percentage]],Ri=[u.MinusMinus,u.PlusPlus,u.BitNot,u.Minus,u.Plus,u.Not];class tn{constructor(t){this.stream=t,this.linqLevel=0}parse(t){let n=[];try{for(;this.stream.hasMore();){let a=this.parseStatement();a!=null&&(this.validateNode(a),n.push(a))}}catch(a){if(t!==!0)throw a}return n}async parseBest(t){let n=this.parse(),a=await this.processEnv(n);return{best:this.findBestMatch(n[n.length-1],t),env:a}}async processEnv(t){let n=t.length,a=Ye(de(de(de({},en.environmentFunction()),Z.getAutoImportClass()),Z.getAutoImportModule()),{"@import":[]});for(let s=0;s-1)throw new _e("\u53D8\u91CF\u540D\u4E0D\u80FD\u5B9A\u4E49\u4E3A\u5173\u952E\u5B57",t)}parseThrow(){let t=this.stream.consume().getSpan(),n=this.parseExpression();return new di(new W(t,this.stream.getPrev().getSpan()),n)}parseExit(){let t=this.stream.expect("exit").getSpan(),n=[];do n.push(this.parseExpression());while(this.stream.match(u.Comma,!0));return new pi(new W(t,this.stream.getPrev().getSpan()),n)}parseAssert(){let t=this.stream.makeIndex();try{let n=this.stream.expect("assert").getSpan(),a=this.parseExpression();this.stream.expect(u.Colon);let s=[];do s.push(this.parseExpression());while(this.stream.match(u.Comma,!0));return new _i(new W(n,this.stream.getPrev().getSpan()),a,s)}catch{return this.stream.resetIndex(t),this.parseExpression()}}parseImport(){let t=this.stream.expect("import").getSpan();if(this.stream.hasMore()){let n=this.stream.consume(),a=null,s=n.getTokenType()===u.StringLiteral;if(s)a=this.createStringLiteral(n).getValue();else if(n.type===u.Identifier){let o=n.getSpan(),l=null;for(a=o.getText();this.stream.match(u.Period,!0);){if(s=!0,this.stream.match(u.Asterisk,!1)){n=this.stream.consume();break}n=this.stream.expect(u.Identifier)}s&&(l=n.getSpan(),a=new W(o,l).getText())}else throw new _e("Expected identifier or string, but got stream is "+n.getTokenType().error,this.stream.getPrev().getSpan());let i=a;if(s)if(this.stream.match("as",!0))n=this.stream.expect(u.Identifier),this.checkKeyword(n.getSpan()),i=n.getSpan().getText();else{let o=a;if(o.startsWith("@"))throw new _e("Expected as",this.stream.getPrev().getSpan());{let l=o.lastIndexOf(".");l!=-1&&(o=o.substring(l+1))}i=o}return new vi(new W(t,n.getSpan()),a,i,!s)}throw new _e("Expected identifier or string, but got stream is EOF",this.stream.getPrev().getSpan())}parseReturn(){let t=this.stream.expect("return").getSpan();if(this.stream.match(";",!1))return new wt(t,null);let n=this.parseExpression();return new wt(new W(t,n.getSpan()),n)}parseAsync(){let t=this.stream.expect("async").getSpan(),n=this.parseExpression();return new hi(new W(t,this.stream.getPrev().getSpan()),n)}parseIfStatement(){let t=this.stream.expect("if").getSpan(),n=this.parseExpression(),a=this.parseFunctionBody(),s=[],i=[];for(;this.stream.hasMore()&&this.stream.match("else",!0);)if(this.stream.hasMore()&&this.stream.match("if",!1)){let l=this.stream.expect("if").getSpan(),r=this.parseExpression(),p=this.parseFunctionBody(),d=new W(l,p.length>0?p[p.length-1].getSpan():l);s.push(new _a(d,r,p,[]))}else{i=i.concat(this.parseFunctionBody());break}let o=this.stream.getPrev().getSpan();return new _a(new W(t,o),n,a,s,i)}parseNewExpression(t){let n=this.parseAccessOrCall(u.Identifier,!0),a=new W(t.getSource(),t.getStart(),this.stream.getPrev().getSpan().getEnd());return n instanceof Jt?this.parseAccessOrCall(new kt(a,n.getMethod(),n.getArguments())):n instanceof On?this.parseAccessOrCall(new kt(a,n.getFunction(),n.getArguments())):this.parseAccessOrCall(new kt(a,n,[]))}parseArguments(){this.stream.expect(u.LeftParantheses);let t=[];for(;this.stream.hasMore()&&!this.stream.match(u.RightParantheses,!1);)t.push(this.parseExpression()),this.stream.match(u.RightParantheses,!1)||this.stream.expect(u.Comma);return t}parseForStatement(){let t=this.stream.expect("for").getSpan();this.stream.expect("(");let n=null,a=this.stream.expect(u.Identifier).getSpan();this.checkKeyword(a),this.stream.match(u.Comma,!0)&&(n=a,a=this.stream.expect(u.Identifier).getSpan(),this.checkKeyword(a)),this.stream.expect("in");let s=this.parseExpression();this.stream.expect(")");let i=this.parseFunctionBody();return new mi(new W(t,this.stream.getPrev().getSpan()),n&&n.getText(),a&&a.getText(),s,i)}parseVarDefine(){let t=this.stream.consume().getSpan(),n;if((n=this.stream.match(u.LeftCurly,!1))||this.stream.match(u.LeftBracket,!1)){this.stream.expect([u.LeftCurly,u.LeftBracket]);let i=[];do{let o=this.stream.expect(u.Identifier);i.push(o)}while(this.stream.match(u.Comma,!0));return n?this.stream.match(u.RightCurly,!0):this.stream.match(u.RightBracket,!0),this.stream.match(u.Assignment,!0),new Ei(new W(t,this.stream.getPrev().getSpan()),i,this.parseExpression(),t.getText(),n)}let a=this.stream.expect(u.Identifier);this.checkKeyword(a.getSpan());let s;return this.stream.match(u.Assignment,!0)?s=new Zt(new W(t,this.stream.getPrev().getSpan()),a.getText(),this.parseExpression(),t.getText()):s=new Zt(new W(t,this.stream.getPrev().getSpan()),a.getText(),null,t.getText()),s}parseTryStatement(){let t=this.stream.expect("try"),n=[];if(this.stream.match("(",!0)){if(!this.stream.match(")",!1))for(;!this.stream.match(")",!1);){if(this.stream.match(";",!0))continue;let l=null;if(this.matchVarDefine())l=this.parseVarDefine();else{if(this.stream.matchAny(Ea,!1))throw new _e("try \u62EC\u53F7\u4E2D\u53EA\u5141\u8BB8\u5199\u8D4B\u503C\u8BED\u53E5",this.stream.consume().getSpan());let r=this.stream.makeIndex();if(this.matchTypeDefine()&&(this.stream.resetIndex(r),l=this.parseVarDefine()),l==null)throw this.stream.resetIndex(r),new _e("try \u62EC\u53F7\u4E2D\u53EA\u5141\u8BB8\u5199\u8D4B\u503C\u8BED\u53E5",this.stream.consume().getSpan())}n.push(l)}this.stream.expect(")")}let a=this.parseFunctionBody(),s=[],i=[],o=null;return this.stream.match("catch",!0)&&(this.stream.match("(",!0)&&(o=this.stream.expect(u.Identifier).getText(),this.stream.expect(")")),s=s.concat(this.parseFunctionBody())),this.stream.match("finally",!0)&&(i=i.concat(this.parseFunctionBody())),new fi(new W(t.getSpan(),this.stream.getPrev().getSpan()),o,a,n,s,i)}parseWhileStatement(){let t=this.stream.expect("while").getSpan(),n=this.parseExpression(),a=this.parseFunctionBody(),s=this.stream.getPrev().getSpan();return new gi(new W(t,s),n,a)}parseFunctionBody(){this.stream.expect("{");let t=[];for(;this.stream.hasMore()&&!this.stream.match("}",!1);){let n=this.parseStatement(!0);n!=null&&(this.validateNode(n),t.push(n))}return this.expectCloseing(),t}expectCloseing(){return!this.stream.hasMore(),this.stream.expect("}").getSpan()}parseExpression(t){return this.parseTernaryOperator(t)}parseTernaryOperator(t){let n=this.parseBinaryOperator(0,t);if(this.stream.match(u.Questionmark,!0)){let a=this.parseTernaryOperator(t);this.stream.expect(u.Colon);let s=this.parseTernaryOperator(t);return n instanceof ma&&n.getOperator()===u.Assignment?(n.setRightOperand(new fa(n.getRightOperand(),a,s)),n):new fa(n,a,s)}else return n}parseBinaryOperator(t,n){let a=t+1,s=this.linqLevel>0?Oi:xi,i=a===s.length?this.parseUnaryOperator(n):this.parseBinaryOperator(a,n),o=s[t];for(;this.stream.hasMore()&&this.stream.match(o,!1);){let l=this.stream.consume();if(l.type.inLinq&&this.linqLevel===0)throw new _e(l.getText()+" \u53EA\u80FD\u5728Linq\u4E2D\u4F7F\u7528",this.stream.hasMore()?this.stream.consume().getSpan():this.stream.getPrev().getSpan());let r=a===s.length?this.parseUnaryOperator(n):this.parseBinaryOperator(a,n);i=new ma(i,l,r,this.linqLevel)}return i}parseUnaryOperator(t){if(this.stream.match(Ri,!1))return new An(this.stream.consume(),this.parseUnaryOperator(t));if(this.stream.match(u.LeftParantheses,!1)){let n=this.stream.expect(u.LeftParantheses).getSpan(),a=this.stream.makeIndex(),s=[];for(;this.stream.match(u.Identifier,!1);){let o=this.stream.expect(u.Identifier);if(s.push(o.getSpan().getText()),!this.stream.match(u.Comma,!0)&&this.stream.match(u.RightParantheses,!0)){if(this.stream.match(u.Lambda,!0))return this.parseLambdaBody(n,s);break}}if(this.stream.match(u.RightParantheses,!0)&&this.stream.match(u.Lambda,!0))return this.parseLambdaBody(n,s);this.stream.resetIndex(a);let i=this.parseExpression();return this.stream.expect(u.RightParantheses),this.parseAccessOrCall(i)}else{let n=this.parseAccessOrCallOrLiteral(t);return(n instanceof st||n instanceof Ke||n instanceof Qt)&&this.stream.match([u.PlusPlus,u.MinusMinus],!1)?new An(this.stream.consume(),n):n}}parseLambdaBody(t,n){let a=this.stream.makeIndex(),s=[];try{let i=this.parseExpression();return s.push(new wt(new W("return",0,6),i)),new Rn(new W(t,i.getSpan()),n,s)}catch{if(this.stream.resetIndex(a),this.stream.match(u.LeftCurly,!0)){for(;this.stream.hasMore()&&!this.stream.match("}",!1);){let l=this.parseStatement(!0);this.validateNode(l),s.push(l)}let o=this.expectCloseing();return new Rn(new W(t,o),n,s)}else{let o=this.parseStatement();return s.push(new wt(new W("return",0,6),o)),new Rn(new W(t,o.getSpan()),n,s)}}}parseSpreadAccess(t){t||(t=this.stream.expect(u.Spread));let n=this.parseExpression();return new bi(new W(t.getSpan(),n.getSpan()),n)}parseAccessOrCall(t,n){if(t===u.StringLiteral||t===u.Identifier){let a=this.stream.expect(t),s=a.getSpan();if(t===u.Identifier&&s.getText()==="new")return this.parseNewExpression(s);if(t===u.Identifier&&this.stream.match(u.Lambda,!0))return this.parseLambdaBody(s,[s.getText()]);let i=t===u.StringLiteral?this.createStringLiteral(a):new Ke(s,s.getText());return this.parseAccessOrCall(i,n)}else{for(;this.stream.hasMore()&&this.stream.match([u.LeftParantheses,u.LeftBracket,u.Period,u.QuestionPeriod,u.ColonColon],!1);)if(this.stream.match(u.ColonColon,!1)){let a=this.stream.consume().getSpan(),s=[],i=this.stream.expect(u.Identifier),o=i.getSpan();this.stream.match(u.LeftParantheses,!1)&&(s=this.parseArguments(),o=this.stream.expect(u.RightParantheses).getSpan()),t=new ga(new W(a,o),i.getText(),t,s)}else if(this.stream.match(u.LeftParantheses,!1)){let a=this.parseArguments(),s=this.stream.expect(u.RightParantheses).getSpan();if(t instanceof Ke||t instanceof Qt)t=new On(new W(t.getSpan(),s),t,a,this.linqLevel>0);else if(t instanceof st)t=new Jt(new W(t.getSpan(),s),t,a,this.linqLevel>0);else throw new _e("Expected a variable, field or method.",this.stream.hasMore()?this.stream.consume().getSpan():this.stream.getPrev().getSpan());if(n)break}else if(this.stream.match(u.LeftBracket,!0)){let a=this.parseExpression(),s=this.stream.expect(u.RightBracket).getSpan();t=new Qt(new W(t.getSpan(),s),t,a)}else if(this.stream.match([u.Period,u.QuestionPeriod],!1)){let a=this.stream.consume().getTokenType()===u.QuestionPeriod;if(this.linqLevel>0&&this.stream.match(u.Asterisk,!1))t=new st(t.getSpan(),a,this.stream.expect(u.Asterisk).getSpan(),!0);else{let s=this.stream.expect([u.Identifier,u.SqlAnd,u.SqlOr]).getSpan();t=new st(new W(t.getSpan(),s),t,a,s,!1)}}return t}}parseMapLiteral(){let t=this.stream.expect(u.LeftCurly).getSpan(),n=[],a=[];for(;this.stream.hasMore()&&!this.stream.match("}",!1);){let i;if(this.stream.hasPrev()){let o=this.stream.getPrev();if(this.stream.match(u.Spread,!1)&&(o.getTokenType()===u.LeftCurly||o.getTokenType()===u.Comma)){let l=this.stream.expect(u.Spread);n.push(l),a.push(this.parseSpreadAccess(l)),this.stream.match([u.Comma,u.RightCurly],!1)&&this.stream.match(u.Comma,!0);continue}}this.stream.match(u.StringLiteral,!1)?i=this.stream.expect(u.StringLiteral):this.stream.match(u.LeftBracket,!0)?(i=this.parseExpression(),this.stream.expect(u.RightBracket)):i=this.stream.expect(u.Identifier),n.push(i),this.stream.match([u.Comma,u.RightCurly],!1)?(this.stream.match(u.Comma,!0),i instanceof Ke?a.push(i):i.getTokenType()===u.Identifier?a.push(new Ke(i.getSpan(),i.getText())):a.push(new Ae(i.getSpan(),"java.lang.String"))):(this.stream.expect(":"),a.push(this.parseExpression()),this.stream.match("}",!1)||this.stream.expect(u.Comma))}let s=this.stream.expect("}").getSpan();return new yt(new W(t,s),n,a)}parseListLiteral(){let t=this.stream.expect(u.LeftBracket).getSpan(),n=[];for(;this.stream.hasMore()&&!this.stream.match(u.RightBracket,!1);)n.push(this.parseExpression()),this.stream.match(u.RightBracket,!1)||this.stream.expect(u.Comma);let a=this.stream.expect(u.RightBracket).getSpan();return new Tt(new W(t,a),n)}parseSelect(){let t=this.stream.expect("select",!0).getSpan();this.linqLevel++;let n=this.parseLinqFields();this.stream.expect("from",!0);let a=this.parseLinqField(),s=this.parseLinqJoins(),i;this.stream.match("where",!0,!0)&&(i=this.parseExpression());let o=this.parseGroup(),l;this.stream.match("having",!0,!0)&&(l=this.parseExpression());let r=this.parseLinqOrders();this.linqLevel--;let p,d;this.stream.match("limit",!0,!0)&&(p=this.parseExpression(),this.stream.match("offset",!0,!0)&&(d=this.parseExpression()));let g=this.stream.getPrev().getSpan();return new va(new W(t,g),n,a,s,i,o,l,r,p,d)}parseGroup(){let t=[];if(this.stream.match("group",!0,!0)){this.stream.expect("by",!0);do{let n=this.parseExpression();t.push(new Dt(n.getSpan(),n,null))}while(this.stream.match(u.Comma,!0))}return t}parseLinqOrders(){let t=[];if(this.stream.match("order",!0,!0)){this.stream.expect("by",!0);do{let n=this.parseExpression(),a=1;this.stream.match(["desc","asc"],!1,!0)&&this.stream.consume().getText()==="desc"&&(a=-1),t.push(new Si(new W(n.getSpan(),this.stream.getPrev().getSpan()),n,null,a))}while(this.stream.match(u.Comma,!0))}return t}parseLinqField(){let t=this.parseExpression();if(this.stream.match(u.Identifier,!1)&&!this.stream.match(ba,!1,!0)){let n=this.stream.expect(u.Identifier).getSpan();return new Dt(new W(t.getSpan(),n),t,n.getText())}return new Dt(t.getSpan(),t,null)}parseLinqFields(){let t=[];do{let n=this.parseExpression();if(this.stream.match(u.Identifier,!1)&&!this.stream.match(ba,!1,!0)){if(n instanceof ha)throw new _e("* \u540E\u8FB9\u4E0D\u80FD\u8DDF\u522B\u540D",this.stream.hasMore()?this.stream.consume().getSpan():this.stream.getPrev().getSpan());if(n instanceof st&&n.isWhole())throw new _e(n.getSpan().getText()+" \u540E\u8FB9\u4E0D\u80FD\u8DDF\u522B\u540D",this.stream.hasMore()?this.stream.consume().getSpan():this.stream.getPrev().getSpan());let a=this.stream.consume().getSpan();t.push(new Dt(new W(n.getSpan(),a),n,a.getText()))}else t.push(new Dt(n.getSpan(),n,null))}while(this.stream.match(u.Comma,!0));if(t.length===0)throw new _e("\u81F3\u5C11\u8981\u67E5\u8BE2\u4E00\u4E2A\u5B57\u6BB5",this.stream.hasMore()?this.stream.consume().getSpan():this.stream.getPrev().getSpan());return t}parseLinqJoins(){let t=[];do{let n=this.stream.match("left",!1),a=n?this.stream.consume().getSpan():null;if(this.stream.match("join",!0)){a=n?a:this.stream.getPrev().getSpan();let s=this.parseLinqField();this.stream.expect("on");let i=this.parseExpression();t.push(new Ti(new W(a,this.stream.getPrev().getSpan()),n,s,i))}}while(this.stream.match(["left","join"],!1));return t}parseAccessOrCallOrLiteral(t){let n;if(t&&this.stream.match("}",!1))return null;if(this.stream.match(u.Spread,!1))n=this.parseSpreadAccess();else if(this.stream.match(u.Identifier,!1))this.stream.match("async",!1)?n=this.parseAsync():this.stream.match("select",!1,!0)?n=this.parseSelect():n=this.parseAccessOrCall(u.Identifier);else if(this.stream.match(u.LeftCurly,!1))n=this.parseMapLiteral();else if(this.stream.match(u.LeftBracket,!1))n=this.parseListLiteral();else if(this.stream.match(u.StringLiteral,!1))n=this.createStringLiteral(this.stream.expect(u.StringLiteral));else if(this.stream.match(u.BooleanLiteral,!1))n=new Ae(this.stream.expect(u.BooleanLiteral).getSpan(),"java.lang.Boolean");else if(this.stream.match(u.DoubleLiteral,!1))n=new Ae(this.stream.expect(u.DoubleLiteral).getSpan(),"java.lang.Double");else if(this.stream.match(u.FloatLiteral,!1))n=new Ae(this.stream.expect(u.FloatLiteral).getSpan(),"java.lang.Float");else if(this.stream.match(u.ByteLiteral,!1))n=new Ae(this.stream.expect(u.ByteLiteral).getSpan(),"java.lang.Byte");else if(this.stream.match(u.ShortLiteral,!1))n=new Ae(this.stream.expect(u.ShortLiteral).getSpan(),"java.lang.Short");else if(this.stream.match(u.IntegerLiteral,!1))n=new Ae(this.stream.expect(u.IntegerLiteral).getSpan(),"java.lang.Integer");else if(this.stream.match(u.LongLiteral,!1))n=new Ae(this.stream.expect(u.LongLiteral).getSpan(),"java.lang.Long");else if(this.stream.match(u.DecimalLiteral,!1))n=new Ae(this.stream.expect(u.DecimalLiteral).getSpan(),"java.math.BigDecimal");else if(this.stream.match(u.RegexpLiteral,!1)){let a=this.stream.expect(u.RegexpLiteral);n=new Ae(a.getSpan(),"java.util.regex.Pattern")}else this.stream.match(u.NullLiteral,!1)?n=new Ae(this.stream.expect(u.NullLiteral).getSpan(),"null"):this.linqLevel>0&&this.stream.match(u.Asterisk,!1)?n=new ha(this.stream.expect(u.Asterisk).getSpan()):this.stream.match(u.Language,!1)&&(n=new yi(this.stream.consume().getSpan(),this.stream.consume().getSpan()));if(n==null)throw new _e("Expected a variable, field, map, array, function or method call, or literal.",this.stream.hasMore()?this.stream.consume().getSpan():this.stream.getPrev().getSpan());return this.parseAccessOrCall(n)}createStringLiteral(t){if(t.getTokenStream()==null)return new Ae(t.getSpan(),"java.lang.String");let n=this.stream;this.stream=t.getTokenStream();let a=[];for(;this.stream.hasMore();)a.push(this.parseExpression());return this.stream=n,new Ae(t.getSpan(),"java.lang.String",a)}findBestMatch(t,n){let a=t.expressions().filter(s=>s);for(let s in a){let i=this.findBestMatch(a[s],n);if(i)return i}return t.getSpan().inPosition(n)?t:null}}const ya=e=>{var n;const t={};return(n=e==null?void 0:e.children)==null||n.forEach(a=>t[a.name]=a),t};function In(e,t){let n=[],a={name:"",value:"",dataType:"",required:!1,validateType:"",expression:"",error:"",description:"",children:[]};if(e instanceof yt)e.keys.forEach((s,i)=>{var p,d,g,h,T;const o=s.span.getText().replace(/['"]/g,"");let l=e.values[i],r=Ye(de({},a),{description:((p=t[o])==null?void 0:p.description)||"",required:((d=t[o])==null?void 0:d.required)===!0,validateType:((g=t[o])==null?void 0:g.validateType)||"",expression:((h=t[o])==null?void 0:h.expression)||"",error:((T=t[o])==null?void 0:T.error)||"",name:o,value:Ta(l)?l.span.getText().trim():"",dataType:Cn(l)});(l instanceof yt||l instanceof Tt)&&(r.children=In(l,ya(t[o]))),n.push(r)});else if(e instanceof Tt&&e.values[0]){let s=e.values[0],i=Ye(de({},a),{value:Ta(s)?s.span.getText().trim():"",dataType:Cn(s)});(s instanceof yt||s instanceof Tt)&&(i.children=In(s,{})),n.push(i)}return n}function Ta(e){return!(e instanceof yt||e instanceof Tt)}function Cn(e){if(e instanceof yt)return"Object";if(e instanceof Tt)return"Array";e instanceof An&&(e=e.operand);let t=e.javaType.substring(e.javaType.lastIndexOf(".")+1);return t==="Integer"&&Number(e.span.getText())>2147483647||Number(e.span.getText())<-2147483648?"Long":t==="null"?"Object":t}function Sa(e,t){t=t||{};try{JSON.parse(e);let a=new tn(new Et(Xt(e))).parseExpression();return{name:"",value:"",dataType:Cn(a),required:t.required,validateType:t.validateType||"",expression:t.expression||"",error:t.error||"",description:t.description||"",children:In(a,ya(t))}}catch{}}const xa=(e,t,n,a)=>{let s=-1,i=Z.getImportClass();if(n!==0&&t&&(s=i.length)>0){t=t.toLowerCase(),Z.getDefineModules().filter(l=>l.toLowerCase().indexOf(t)>-1).forEach(l=>e.push({label:l,filterText:l,kind:K.CompletionItemKind.Module,detail:l,insertText:l,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet}));let o=new Set;for(let l=0;l-1){let d=r.substring(r.lastIndexOf(".")+1);if(p===0){let g=r.substring(t.length),h=g;if(g.startsWith("."))h=t+".",g=t.substring(t.lastIndexOf(".")+1)+".";else{if(g.indexOf(".")===-1){e.push({sortText:`2${d}`,label:d,kind:K.CompletionItemKind.Class,filterText:r,detail:r,insertText:d,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet});continue}let T=g.substring(0,g.indexOf(".")+1);h=t+T,g=t.substring(t.lastIndexOf(".")+1)+T}if(o.has(g))continue;o.add(g),e.push({sortText:`1${g}`,label:g,kind:K.CompletionItemKind.Folder,filterText:r,detail:h.replace(/\.$/,""),insertText:g,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet,command:{id:"editor.action.triggerSuggest"}})}else d.toLowerCase().indexOf(t)>-1&&e.push({sortText:`2${d}`,label:d,kind:K.CompletionItemKind.Class,filterText:d,detail:r,insertText:r,range:new nt(a.lineNumber,n+1,a.lineNumber,a.column)})}}}else Z.getDefineModules().forEach(o=>e.push({label:o,filterText:o,kind:K.CompletionItemKind.Module,detail:o,insertText:o,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet}))},Ai=(e,t,n,a)=>{let s=n.indexOf('"')+1;if(s===0&&(s=n.indexOf("'")+1),s===0){n=n.trim().replace("import","").trim(),xa(e,n,a+1,t);return}let i=n.substring(a).trim().replace(/['|"]/g,"");if(i.startsWith("@")){if(i.indexOf(" ")>-1)return;let o=Z.getApiFinder();(o&&o()||[]).forEach(l=>{let r="@"+l.method+":"+l.path;e.push({sortText:r,label:r,kind:K.CompletionItemKind.Reference,filterText:r,detail:l.name,insertText:r,range:new nt(t.lineNumber,s+1,t.lineNumber,t.column)})}),o=Z.getFunctionFinder(),(o&&o()||[]).forEach(l=>{let r="@"+l.path;e.push({sortText:r,label:r,kind:K.CompletionItemKind.Reference,filterText:r,detail:l.name,insertText:r,range:new nt(t.lineNumber,s+1,t.lineNumber,t.column)})});return}xa(e,i,s,t)},Mt=async(e,t,n,a,s)=>{if(n=n||{},a&&a instanceof Ke&&await a.getJavaType(n)==="java.lang.Object"){let p=Z.getImportClass();const d=a.variable;p.forEach(g=>{let h=g.substring(g.lastIndexOf(".")+1);h.indexOf(d)>-1&&e.push({sortText:`${h}`,label:h,kind:K.CompletionItemKind.Class,filterText:h,detail:g,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet,command:{id:"editor.action.scrollUp1Line"},insertText:h+(s?"()":""),additionalTextEdits:[{forceMoveMarkers:!0,text:`import ${g}\r
-`,range:new nt(1,0,1,0)}]})})}Z.findFunction().forEach(p=>{e.push({sortText:p.sortText||p.fullName,label:p.fullName,filterText:p.name,kind:K.CompletionItemKind.Method,detail:p.comment,insertText:p.insertText,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet})});let i=e.map(p=>p.detail),o=t.match(/[a-zA-Z_$]+/ig)||[],l=o.length,r=Object.keys(n);r.forEach(p=>{e.push({label:p,filterText:p,kind:K.CompletionItemKind.Variable,detail:n[p],insertText:p,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet})}),l>2&&Array.from(new Set(o)).filter((p,d)=>d+2{e.push({label:p,filterText:p,kind:K.CompletionItemKind.Text,detail:p,insertText:p,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet})})},Oa=async(e,t)=>{let n=await Z.loadClass(e),a=e.lastIndexOf("."),s=a>0?e.substring(a+1):e,i=Z.findEnums(n);if(i)for(let r=0;r({label:r[0],kind:K.CompletionItemKind.Struct,detail:r[2]||r[1],insertText:r[1],filterText:r[0],insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet,range:i}));return a.length>1&&a.trim().indexOf("import")===0?(Ai(l,t,a,a.indexOf("import")+6),o=!0):a.endsWith("::")?l=["int","long","date","string","short","byte","float","double","json","stringify","sql"].map(r=>({label:r,detail:`\u8F6C\u6362\u4E3A${r==="stringify"?"json\u5B57\u7B26\u4E32":r==="sql"?"sql\u53C2\u6570\u7C7B\u578B":r}`,insertText:r,kind:K.CompletionItemKind.TypeParameter,insertTextRules:K.CompletionItemInsertTextRule.InsertAsSnippet})):n.length>1?await Ii(l,n):await Mt(l,n,de(de(de({},en.environmentFunction()),Z.getAutoImportClass()),Z.getAutoImportModule())),{suggestions:l,incomplete:o}},triggerCharacters:[".",":"]};let Ra=function(e,t){for(var n=0,a=0,s=e.length;a16777215||n>16777215)){var s=this._length;this._startIndexes[s]=t,this._endIndexes[s]=n,this._length++,a<1e3&&(this._indentOccurrences[a]=(this._indentOccurrences[a]||0)+1)}}toIndentRanges(t){var n=[];if(this._length<=this._foldingRangesLimit){new Uint32Array(this._length),new Uint32Array(this._length);for(var a=this._length-1,s=0;a>=0;a--,s++)n.push({start:this._startIndexes[a],end:this._endIndexes[a]})}else{for(var i=0,o=this._indentOccurrences.length,a=0;athis._foldingRangesLimit){o=a;break}i+=l}}var r=t.getOptions().tabSize;new Uint32Array(this._foldingRangesLimit),new Uint32Array(this._foldingRangesLimit);for(var a=this._length-1,s=0;a>=0;a--){var p=this._startIndexes[a],d=t.getLineContent(p),g=Ra(d,r);(g{let n=e.getOptions().tabSize,a=new Ni(5e3),s=[],i=e.getLineCount()+1,o=-1,l=-1,r=[];s.push({indent:-1,endAbove:i,line:i});for(let d=e.getLineCount();d>0;d--){let g=e.getLineContent(d);g.startsWith("import")||g.trim().startsWith("import")?o==-1?o=d:l=d:(l>-1&&o>-1&&r.push({start:l,end:o,kind:K.FoldingRangeKind.Imports}),l=-1,o=-1);let h=Ra(g,n),T=s[s.length-1];if(h!==-1){if(T.indent>h){do s.pop(),T=s[s.length-1];while(T.indent>h);var p=T.endAbove-1;p-d>=1&&a.insertFirst(d,p,h)}T.indent===h?T.endAbove=d:s.push({indent:h,endAbove:d,line:d})}}return l>-1&&o>-1&&r.push({start:l,end:o,kind:K.FoldingRangeKind.Imports}),r.concat(a.toIndentRanges(e))}},ki={signatureHelpRetriggerCharacters:["(",","],signatureHelpTriggerCharacters:["(",","],provideSignatureHelp:async(e,t,n,a)=>{if(a.activeSignatureHelp){let i=a.activeSignatureHelp;return i.activeSignature+=1,i.activeSignature===i.signatures.length&&(i.activeSignature=0),{dispose:function(){},value:i}}let s=e.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:t.lineNumber,endColumn:t.column});try{let i=Xt(s),o=new tn(new Et(i));const{best:l,env:r}=await o.parseBest(s.length-1);if(l&&l instanceof Jt){let p=l.target,d=await p.getTarget().getJavaType(r),g=p.member.getText(),h=Z.findMethods(await Z.loadClass(d)),T=[];if(h.filter(R=>R.name===g).forEach(R=>{let D=[];for(let b=R.extension?1:0;b0)return{dispose:function(){},value:{activeParameter:0,activeSignature:0,signatures:T}}}}catch{}}},Ln=(e,t,n)=>{n.push({value:`${e}${t.fullName}`}),t.comment&&n.push({value:`${t.comment}`}),t.parameters.forEach((a,s)=>{(s>0||!t.extension)&&n.push({value:`${a.name}\uFF1A${a.comment||a.type}`})}),n.push({value:`\u8FD4\u56DE\u7C7B\u578B\uFF1A\`${t.returnType}\``})},Nn=(e,t,n,a)=>{let s=Z.findFunction().filter(i=>i.name===e);if(s.length>0)Ln("",s[0],n);else{let i=t[e];if(i&&i.indexOf("@")===0){let o=i.substring(1),l=Z.getOnlineFunction(o);if(l){let r=Array.isArray(l.parameter)?l.parameter:JSON.parse(l.parameter||"[]");r.forEach(p=>p.comment=p.description),Ln("",{fullName:e+" "+l.name,comment:l.description||"",parameters:r,returnType:l.returnType},n)}}else n.push({value:`${a?"\u521B\u5EFA\u5BF9\u8C61":"\u8BBF\u95EE\u53D8\u91CF"}\uFF1A${e}`}),n.push({value:`\u7C7B\u578B\uFF1A${i||"unknow"}`})}},Di={provideHover:async(e,t)=>{var p,d,g;let n=e.getValue(),a=Xt(n),s=new Et(a),i=new tn(s),o=i.parse(!0),r=e.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:t.lineNumber,endColumn:t.column}).length;for(let h=0,T=o.length;hI.name===O).forEach(I=>Ln(`${Z.getSimpleClass(x)}.`,I,b)),Z.findEnums(C).filter(I=>I===O).forEach(I=>{b.push({value:`\u8BBF\u95EE\u679A\u4E3E\uFF1A\`${x}.${O}\``})}),Z.findAttributes(C).filter(I=>I.name===O).forEach(I=>{b.push({value:`\u8BBF\u95EE\u5C5E\u6027\uFF1A\`${x}.${O}\``}),I.comment&&b.push({value:`${I.comment}`}),b.push({value:`\u5C5E\u6027\u7C7B\u578B\uFF1A\`${I.type}\``})}),m=R.member.getLine()}else if(R instanceof On){let x=R.target;Nn(x.variable,D,b)}else if(R instanceof kt){let x=R.identifier;x instanceof Ke&&Nn(x,D,b,!0)}else if(R instanceof Qt)b.push({value:"\u8BBF\u95EEMap\u6216\u6570\u7EC4"});else if(R instanceof va)b.push({value:"linq\u67E5\u8BE2"});else return;return{range:new nt(m.lineNumber,m.startCol,m.endLineNumber,m.endCol+1),contents:b}}}}},Mi=()=>{const e="mybatis";K.register({id:e}),K.setLanguageConfiguration(e,{comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]}),K.setMonarchTokensProvider(e,{defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/(<)(where|set|foreach|if|trim)/,["delimiter",{token:"tag",next:"@xml"}]],[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]],xml:[[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@xmlEmbedded",nextEmbedded:"mybatis"}],[/[ \t\r\n]+/],[/(<\/)(where|if|set|foreach|trim)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],xmlEmbedded:[[/<\/(where|if|set|foreach|trim)/,{token:"tag",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}})};function be(e){this.__parent=e,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=[]}be.prototype.clone_empty=function(){var e=new be(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e};be.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]};be.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1};be.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))};be.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)};be.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};be.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,e.__items[0]===" "&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1};be.prototype.is_empty=function(){return this.__items.length===0};be.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]};be.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf(`
-`);t!==-1?this.__character_count=e.length-t:this.__character_count+=e.length};be.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e};be.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)};be.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)};be.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1};be.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e};function Pt(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}Pt.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t,n};Pt.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t],n};Pt.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()};Pt.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(t=Math.floor(e/this.__indent_size),e-=t*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)};function ye(e,t){this.__indent_cache=new Pt(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new be(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}ye.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};ye.prototype.get_line_number=function(){return this.__lines.length};ye.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)};ye.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)};ye.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};ye.prototype.add_new_line=function(e){return this.is_empty()||!e&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)};ye.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&(t[t.length-1]===`
-`&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join(`
-`);return e===`\r
-`?n=n.replace(/([^\r])\n/g,`$1${e}`):e!==`
-`&&(n=n.replace(/[\n]/g,e)),n};ye.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};ye.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)};ye.prototype.add_raw_token=function(e){for(var t=0;t1&&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};ye.prototype.just_added_newline=function(){return this.current_line.is_empty()};ye.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};ye.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var a=this.__lines[n];if(a.is_empty())break;if(a.item(0).indexOf(e)!==0&&a.item(-1)!==t){this.__lines.splice(n+1,0,new be(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}};function wn(e,t,n,a){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=a||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}var Pi="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",Aa="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",kn="\\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-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\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",Ia="\\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",Ui="(?:\\\\u[0-9a-fA-F]{4}|["+Pi+kn+"])",$i="(?:\\\\u[0-9a-fA-F]{4}|["+Aa+kn+Ia+"])*";const Ca=new RegExp(Ui+$i,"g"),Bi=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+Aa+kn+Ia+"])+"),Ut=/[\n\r\u2028\u2029]/,$t=new RegExp(`\r
-|`+Ut.source),Bt=new RegExp($t.source,"g");function Qe(e,t){this.raw_options=Fi(e,t),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"])}Qe.prototype._get_array=function(e,t){var n=this.raw_options[e],a=t||[];return typeof n=="object"?n!==null&&typeof n.concat=="function"&&(a=n.concat()):typeof n=="string"&&(a=n.split(/[^a-zA-Z0-9_/-]+/)),a};Qe.prototype._get_boolean=function(e,t){var n=this.raw_options[e],a=n===void 0?!!t:!!n;return a};Qe.prototype._get_characters=function(e,t){var n=this.raw_options[e],a=t||"";return typeof n=="string"&&(a=n.replace(/\\r/,"\r").replace(/\\n/,`
-`).replace(/\\t/," ")),a};Qe.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var a=parseInt(n,10);return isNaN(a)&&(a=t),a};Qe.prototype._get_selection=function(e,t,n){var a=this._get_selection_list(e,t,n);if(a.length!==1)throw new Error("Invalid Option Value: The option '"+e+`' can only be one of the following values:
-`+t+`
-You passed in: '`+this.raw_options[e]+"'");return a[0]};Qe.prototype._get_selection_list=function(e,t,n){if(!t||t.length===0)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var a=this._get_array(e,n);if(!this._is_valid_selection(a,t))throw new Error("Invalid Option Value: The option '"+e+`' can contain only the following values:
-`+t+`
-You passed in: '`+this.raw_options[e]+"'");return a};Qe.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some(function(n){return t.indexOf(n)===-1})};function Fi(e,t){var n={};e=Hi(e);var a;for(a in e)a!==t&&(n[a]=e[a]);if(t&&e[t])for(a in e[t])n[a]=e[t][a];return n}function Hi(e){var t={},n;for(n in e){var a=n.replace(/-/g,"_");t[a]=e[n]}return t}var Vi=["before-newline","after-newline","preserve-newline"];function La(e){Qe.call(this,e,"js");var t=this.raw_options.brace_style||null;t==="expand-strict"?this.raw_options.brace_style="expand":t==="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 n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var a=0;a0&&(this.__position-=1)};Te.prototype.hasNext=function(){return this.__position=0&&e=0&&t=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e};function Ze(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}Ze.prototype.restart=function(){this.__position=0};Ze.prototype.isEmpty=function(){return this.__tokens_length===0};Ze.prototype.hasNext=function(){return this.__position=0&&e/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}ze.prototype=new Ne;ze.prototype._create=function(){return new ze(this._input,this)};ze.prototype._update=function(){this.__set_templated_pattern()};ze.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t};ze.prototype.read_options=function(e){var t=this._create();for(var n in Mn)t._disabled[n]=e.templating.indexOf(n)===-1;return t._update(),t};ze.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t};ze.prototype.read=function(){var e="";this._match_pattern?e=this._input.read(this._starting_pattern):e=this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e};ze.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||e.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")};ze.prototype._read_template=function(){var e="",t=this._input.peek();if(t==="<"){var n=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&n==="?"&&(e=e||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&n==="%"&&(e=e||this.__patterns.erb.read())}else t==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(e=e||this.__patterns.handlebars_comment.read(),e=e||this.__patterns.handlebars_unescaped.read(),e=e||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=e||this.__patterns.django_comment.read(),e=e||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=e||this.__patterns.smarty_comment.read(),e=e||this.__patterns.smarty_literal.read(),e=e||this.__patterns.smarty.read()));return e};function Pn(e,t){return t.indexOf(e)!==-1}const S={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:ut.START,RAW:ut.RAW,EOF:ut.EOF};var wa=new Dn(/\/\*/,/\*\//),Gi=/0[xX][0123456789abcdefABCDEF_]*[mMdDlLfFsSbB]?|0[oO][01234567_]*[mMdDlLfFsSbB]?|0[bB][01_]*[mMdDlLfFsSbB]?|\d[\d_]*[mMdDlLfFsSbB]|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,ji=/[0-9]/,zi=/[^\d.]/;const Ft=">>> === !== << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" ");var pt=">>>= ... >>= <<= === >>> !== **= => -> ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";pt=pt.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");pt="\\?\\.(?!\\d) "+pt;pt=pt.replace(/ /g,"|");var Yi=new RegExp(pt);const St="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var qi=St.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),Ki=new RegExp("^(?:"+qi.join("|")+")$"),nn;const Se=function(e,t){je.call(this,e,t),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new Ne(this._input),a=new ze(this._input).read_options(this._options);this.__patterns={template:a,identifier:a.starting_with(Ca).matching(Bi),number:n.matching(Gi),punct:n.matching(Yi),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(//),include:n.starting_with(/#include/).until_after($t),shebang:n.starting_with(/#!/).until_after($t),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\]|)(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/),single_quote:a.until(/['\\\n\r\u2028\u2029]/),double_quote:a.until(/["\\\n\r\u2028\u2029]/),template_text:a.until(/[`\\$]/),template_expression:a.until(/[`}\\]/)}};Se.prototype=new je;Se.prototype._is_comment=function(e){return e.type===S.COMMENT||e.type===S.BLOCK_COMMENT||e.type===S.UNKNOWN};Se.prototype._is_opening=function(e){return e.type===S.START_BLOCK||e.type===S.START_EXPR};Se.prototype._is_closing=function(e,t){return(e.type===S.END_BLOCK||e.type===S.END_EXPR)&&t&&(e.text==="]"&&t.text==="["||e.text===")"&&t.text==="("||e.text==="}"&&t.text==="{")};Se.prototype._reset=function(){nn=!1};Se.prototype._get_next_token=function(e){var t=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(S.EOF,""):(t=t||this._read_non_javascript(n),t=t||this._read_multi_string(n),t=t||this._read_string(n),t=t||this._read_word(e),t=t||this._read_singles(n),t=t||this._read_comment(n),t=t||this._read_regexp(n,e),t=t||this._read_xml(n,e),t=t||this._read_punctuation(),t=t||this._create_token(S.UNKNOWN,this._input.next()),t)};Se.prototype._read_word=function(e){var t;if(t=this.__patterns.identifier.read(),t!=="")return t=t.replace(Bt,`
-`),!(e.type===S.DOT||e.type===S.RESERVED&&(e.text==="set"||e.text==="get"))&&Ki.test(t)?t==="in"||t==="of"?this._create_token(S.OPERATOR,t):this._create_token(S.RESERVED,t):this._create_token(S.WORD,t);if(t=this.__patterns.number.read(),t!=="")return this._create_token(S.WORD,t)};Se.prototype._read_singles=function(e){var t=null;return e==="("||e==="["?t=this._create_token(S.START_EXPR,e):e===")"||e==="]"?t=this._create_token(S.END_EXPR,e):e==="{"?t=this._create_token(S.START_BLOCK,e):e==="}"?t=this._create_token(S.END_BLOCK,e):e===";"?t=this._create_token(S.SEMICOLON,e):e==="."&&zi.test(this._input.peek(1))?t=this._create_token(S.DOT,e):e===","&&(t=this._create_token(S.COMMA,e)),t&&this._input.next(),t};Se.prototype._read_punctuation=function(){var e=this.__patterns.punct.read();if(e!=="")return e==="="?this._create_token(S.EQUALS,e):e==="?."?this._create_token(S.DOT,e):this._create_token(S.OPERATOR,e)};Se.prototype._read_non_javascript=function(e){var t="";if(e==="#"){if(this._is_first_token()&&(t=this.__patterns.shebang.read(),t))return this._create_token(S.UNKNOWN,t.trim()+`
-`);if(t=this.__patterns.include.read(),t)return this._create_token(S.UNKNOWN,t.trim()+`
-`);e=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(ji)){do e=this._input.next(),n+=e;while(this._input.hasNext()&&e!=="#"&&e!=="=");return e==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(n+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(n+="{}",this._input.next(),this._input.next())),this._create_token(S.WORD,n)}this._input.back()}else if(e==="<"&&this._is_first_token()){if(t=this.__patterns.html_comment_start.read(),t){for(;this._input.hasNext()&&!this._input.testChar(Ut);)t+=this._input.next();return nn=!0,this._create_token(S.COMMENT,t)}}else if(nn&&e==="-"&&(t=this.__patterns.html_comment_end.read(),t))return nn=!1,this._create_token(S.COMMENT,t);return null};Se.prototype._read_comment=function(e){var t=null;if(e==="/"){var n="";if(this._input.peek(1)==="*"){n=this.__patterns.block_comment.read();var a=wa.get_directives(n);a&&a.ignore==="start"&&(n+=wa.readIgnored(this._input)),n=n.replace(Bt,`
-`),t=this._create_token(S.BLOCK_COMMENT,n),t.directives=a}else this._input.peek(1)==="/"&&(n=this.__patterns.comment.read(),t=this._create_token(S.COMMENT,n))}return t};Se.prototype._read_multi_string=function(){if(this._input.match(/"""/g)){let e=this._input.readUntilAfter(/"""/g);return this._create_token(S.STRING,'"""'+e)}return null};Se.prototype._read_string=function(e){if(e==="`"||e==="'"||e==='"'){var t=this._input.next();return this.has_char_escapes=!1,e==="`"?t+=this._read_string_recursive("`",!0,"${"):t+=this._read_string_recursive(e),this.has_char_escapes&&this._options.unescape_strings&&(t=Wi(t)),this._input.peek()===e&&(t+=this._input.next()),t=t.replace(Bt,`
-`),this._create_token(S.STRING,t)}return null};Se.prototype._allow_regexp_or_xml=function(e){return e.type===S.RESERVED&&Pn(e.text,["return","case","throw","else","do","typeof","yield"])||e.type===S.END_EXPR&&e.text===")"&&e.opened.previous.type===S.RESERVED&&Pn(e.opened.previous.text,["if","while","for"])||Pn(e.type,[S.COMMENT,S.START_EXPR,S.START_BLOCK,S.START,S.END_BLOCK,S.OPERATOR,S.EQUALS,S.EOF,S.SEMICOLON,S.COMMA])};Se.prototype._read_regexp=function(e,t){if(e==="/"&&this._allow_regexp_or_xml(t)){for(var n=this._input.next(),a=!1,s=!1;this._input.hasNext()&&(a||s||this._input.peek()!==e)&&!this._input.testChar(Ut);)n+=this._input.peek(),a?a=!1:(a=this._input.peek()==="\\",this._input.peek()==="["?s=!0:this._input.peek()==="]"&&(s=!1)),this._input.next();return this._input.peek()===e&&(n+=this._input.next(),n+=this._input.read(Ca)),this._create_token(S.STRING,n)}return null};Se.prototype._read_xml=function(e,t){if(this._options.e4x&&e==="<"&&this._allow_regexp_or_xml(t)){var n="",a=this.__patterns.xml.read_match();if(a){for(var s=a[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),i=s.indexOf("{")===0,o=0;a;){var l=!!a[1],r=a[2],p=!!a[a.length-1]||r.slice(0,8)==="![CDATA[";if(!p&&(r===s||i&&r.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(l?--o:++o),n+=a[0],o<=0)break;a=this.__patterns.xml.read_match()}return a||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(Bt,`
-`),this._create_token(S.STRING,n)}}return null};function Wi(e){for(var t="",n=0,a=new Te(e),s=null;a.hasNext();)if(s=a.match(/([\s]|[^\\]|\\\\)+/g),s&&(t+=s[0]),a.peek()==="\\"){if(a.next(),a.peek()==="x")s=a.match(/x([0-9A-Fa-f]{2})/g);else if(a.peek()==="u")s=a.match(/u([0-9A-Fa-f]{4})/g);else{t+="\\",a.hasNext()&&(t+=a.next());continue}if(!s||(n=parseInt(s[1],16),n>126&&n<=255&&s[0].indexOf("x")===0))return e;if(n>=0&&n<32){t+="\\"+s[0];continue}else n===34||n===39||n===92?t+="\\"+String.fromCharCode(n):t+=String.fromCharCode(n)}return t}Se.prototype._read_string_recursive=function(e,t,n){var a,s;e==="'"?s=this.__patterns.single_quote:e==='"'?s=this.__patterns.double_quote:e==="`"?s=this.__patterns.template_text:e==="}"&&(s=this.__patterns.template_expression);for(var i=s.read(),o="";this._input.hasNext();){if(o=this._input.next(),o===e||!t&&Ut.test(o)){this._input.back();break}else o==="\\"&&this._input.hasNext()?(a=this._input.peek(),a==="x"||a==="u"?this.has_char_escapes=!0:a==="\r"&&this._input.peek(1)===`
-`&&this._input.next(),o+=this._input.next()):n&&(n==="${"&&o==="$"&&this._input.peek()==="{"&&(o+=this._input.next()),n===o&&(e==="`"?o+=this._read_string_recursive("}",t,"`"):o+=this._read_string_recursive("`",t,"${"),this._input.hasNext()&&(o+=this._input.next())));o+=s.read(),i+=o}return i};function te(e,t){return t.indexOf(e)!==-1}function Xi(e){return e.replace(/^\s+/g,"")}function Ji(e){for(var t={},n=0;nn&&(n=e.line_indent_level));var a={mode:t,parent:e,last_token:e?e.last_token:new wn(S.START_BLOCK,""),last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_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:n,alignment:0,line_indent_level:e?e.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0};return a};se.prototype._reset=function(e){var t=e.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new ye(this._options,t),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(Y.BlockStatement);var n=new Se(e,this._options);return this._tokens=n.tokenize(),e};se.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e,t=this._reset(this._source_text),n=this._options.eol;this._options.eol==="auto"&&(n=`
-`,t&&$t.test(t||"")&&(n=t.match($t)[0]));for(var a=this._tokens.next();a;)this.handle_token(a),this._last_last_text=this._flags.last_token.text,this._flags.last_token=a,a=this._tokens.next();return e=this._output.get_code(n),e};se.prototype.handle_token=function(e,t){e.type===S.START_EXPR?this.handle_start_expr(e):e.type===S.END_EXPR?this.handle_end_expr(e):e.type===S.START_BLOCK?this.handle_start_block(e):e.type===S.END_BLOCK?this.handle_end_block(e):e.type===S.WORD?this.handle_word(e):e.type===S.RESERVED?this.handle_word(e):e.type===S.SEMICOLON?this.handle_semicolon(e):e.type===S.STRING?this.handle_string(e):e.type===S.EQUALS?this.handle_equals(e):e.type===S.OPERATOR?this.handle_operator(e):e.type===S.COMMA?this.handle_comma(e):e.type===S.BLOCK_COMMENT?this.handle_block_comment(e,t):e.type===S.COMMENT?this.handle_comment(e,t):e.type===S.DOT?this.handle_dot(e):e.type===S.EOF?this.handle_eof(e):e.type===S.UNKNOWN?this.handle_unknown(e,t):this.handle_unknown(e,t)};se.prototype.handle_whitespace_and_comments=function(e,t){var n=e.newlines,a=this._options.keep_array_indentation&&ot(this._flags.mode);if(e.comments_before)for(var s=e.comments_before.next();s;)this.handle_whitespace_and_comments(s,t),this.handle_token(s,t),s=e.comments_before.next();if(a)for(var i=0;i0,t);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,t);for(var o=1;o0&&(!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))};se.prototype.set_mode=function(e){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,e),this._flags=this.create_flags(this._previous_flags,e),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};se.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===Y.Statement&&Da(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))};se.prototype.start_of_object_property=function(){return this._flags.parent.mode===Y.ObjectLiteral&&this._flags.mode===Y.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||ue(this._flags.last_token,["get","set"]))};se.prototype.start_of_statement=function(e){var t=!1;return t=t||ue(this._flags.last_token,["var","let","const"])&&e.type===S.WORD,t=t||Ve(this._flags.last_token,"do"),t=t||!(this._flags.parent.mode===Y.ObjectLiteral&&this._flags.mode===Y.Statement)&&ue(this._flags.last_token,Un)&&!e.newlines,t=t||Ve(this._flags.last_token,"else")&&!(Ve(e,"if")&&!e.comments_before),t=t||this._flags.last_token.type===S.END_EXPR&&(this._previous_flags.mode===Y.ForInitializer||this._previous_flags.mode===Y.Conditional),t=t||this._flags.last_token.type===S.WORD&&this._flags.mode===Y.BlockStatement&&!this._flags.in_case&&!(e.text==="--"||e.text==="++")&&this._last_last_text!=="function"&&e.type!==S.WORD&&e.type!==S.RESERVED,t=t||this._flags.mode===Y.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||ue(this._flags.last_token,["get","set"])),t?(this.set_mode(Y.Statement),this.indent(),this.handle_whitespace_and_comments(e,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e,ue(e,["do","for","if","while"])),!0):!1};se.prototype.handle_start_expr=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e);var t=Y.Expression;if(e.text==="["){if(this._flags.last_token.type===S.WORD||this._flags.last_token.text===")"){ue(this._flags.last_token,St)&&(this._output.space_before_token=!0),this.print_token(e),this.set_mode(t),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}t=Y.ArrayLiteral,ot(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()),te(this._flags.last_token.type,[S.START_EXPR,S.END_EXPR,S.WORD,S.OPERATOR,S.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===S.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,t=Y.ForInitializer):te(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,t=Y.Conditional):te(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&e.whitespace_before===""?this._output.space_before_token=!1:(te(this._flags.last_token.text,St)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e);else if(this._flags.last_token.type===S.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var a=this._tokens.peek(-4);ue(n,["async","function"])||n.text==="*"&&ue(a,["async","function"])?this._output.space_before_token=!0:this._flags.mode===Y.ObjectLiteral&&(n.text==="{"||n.text===","||n.text==="*"&&(a.text==="{"||a.text===","))&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(e);(this._flags.last_token.type===S.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(te(this._last_last_text,["function","yield"])||this._flags.mode===Y.ObjectLiteral&&te(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===S.START_BLOCK?this.print_newline():(this._flags.last_token.type===S.END_EXPR||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===S.COMMA)&&this.allow_wrap_or_preserved_newline(e,e.newlines),this.print_token(e),this.set_mode(t),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()};se.prototype.handle_end_expr=function(e){for(;this._flags.mode===Y.Statement;)this.restore_mode();this.handle_whitespace_and_comments(e),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(e,e.text==="]"&&ot(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===S.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(e),this.restore_mode(),Da(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===Y.Conditional&&(this._previous_flags.mode=Y.Expression,this._flags.do_block=!1,this._flags.do_while=!1)};se.prototype.handle_start_block=function(e){this.handle_whitespace_and_comments(e);var t=this._tokens.peek(),n=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===S.END_EXPR?(this.set_mode(Y.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(Y.BlockStatement):n&&(te(n.text,[":",","])&&te(t.type,[S.STRING,S.WORD,S.RESERVED])||te(t.text,["get","set","..."])&&te(n.type,[S.WORD,S.RESERVED]))?te(this._last_last_text,["class","interface"])?this.set_mode(Y.BlockStatement):this.set_mode(Y.ObjectLiteral):this._flags.last_token.type===S.OPERATOR&&(this._flags.last_token.text==="=>"||this._flags.last_token.text==="->")?this.set_mode(Y.BlockStatement):te(this._flags.last_token.type,[S.EQUALS,S.START_EXPR,S.COMMA,S.OPERATOR])||ue(this._flags.last_token,["return","throw","import","default"])?this.set_mode(Y.ObjectLiteral):this.set_mode(Y.BlockStatement);var a=!t.comments_before&&t.text==="}",s=a&&this._flags.last_word==="function"&&this._flags.last_token.type===S.END_EXPR;if(this._options.brace_preserve_inline){var i=0,o=null;this._flags.inline_frame=!0;do if(i+=1,o=this._tokens.peek(i-1),o.newlines){this._flags.inline_frame=!1;break}while(o.type!==S.EOF&&!(o.type===S.END_BLOCK&&o.opened===e))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&e.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==S.OPERATOR&&(s||this._flags.last_token.type===S.EQUALS||ue(this._flags.last_token,an)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(ot(this._previous_flags.mode)&&(this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.COMMA)&&((this._flags.last_token.type===S.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(e),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==S.OPERATOR&&this._flags.last_token.type!==S.START_EXPR&&(this._flags.last_token.type===S.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(e),this.indent(),!a&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()};se.prototype.handle_end_block=function(e){for(this.handle_whitespace_and_comments(e);this._flags.mode===Y.Statement;)this.restore_mode();var t=this._flags.last_token.type===S.START_BLOCK;this._flags.inline_frame&&!t?this._output.space_before_token=!0:this._options.brace_style==="expand"?t||this.print_newline():t||(ot(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(e)};se.prototype.handle_word=function(e){if(e.type===S.RESERVED){if(te(e.text,["set","get"])&&this._flags.mode!==Y.ObjectLiteral)e.type=S.WORD;else if(e.text==="import"&&this._tokens.peek().text==="(")e.type=S.WORD;else if(te(e.text,["as","from"])&&!this._flags.import_block)e.type=S.WORD;else if(this._flags.mode===Y.ObjectLiteral){var t=this._tokens.peek();t.text===":"&&(e.type=S.WORD)}}if(this.start_of_statement(e)?ue(this._flags.last_token,["var","let","const"])&&e.type===S.WORD&&(this._flags.declaration_statement=!0):e.newlines&&!Vt(this._flags.mode)&&(this._flags.last_token.type!==S.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==S.EQUALS&&(this._options.preserve_newlines||!ue(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(e),this.print_newline()):this.handle_whitespace_and_comments(e),this._flags.do_block&&!this._flags.do_while)if(Ve(e,"while")){this._output.space_before_token=!0,this.print_token(e),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&&Ve(e,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===Y.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&ue(e,["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(e),this._flags.in_case=!0;return}if((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e)),Ve(e,"function")){(te(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(te(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===S.OPERATOR))&&!this._output.just_added_blankline()&&!e.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD?ue(this._flags.last_token,["get","set","new","export"])||ue(this._flags.last_token,Un)?this._output.space_before_token=!0:Ve(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===S.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(Vt(this._flags.mode)||ot(this._flags.mode))||this.print_newline(),this.print_token(e),this._flags.last_word=e.text;return}var n="NONE";if(this._flags.last_token.type===S.END_BLOCK?this._previous_flags.inline_frame?n="SPACE":ue(e,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&e.newlines?n="NEWLINE":(n="SPACE",this._output.space_before_token=!0):n="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&this._flags.mode===Y.BlockStatement?n="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&Vt(this._flags.mode)||this._flags.last_token.type===S.STRING||this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.last_token.text==="*"&&(te(this._last_last_text,["function","yield"])||this._flags.mode===Y.ObjectLiteral&&te(this._last_last_text,["{",","]))?n="SPACE":this._flags.last_token.type===S.START_BLOCK?this._flags.inline_frame?n="SPACE":n="NEWLINE":this._flags.last_token.type===S.END_EXPR&&(this._output.space_before_token=!0,n="NEWLINE"),ue(e,St)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?n="SPACE":n="NEWLINE"),ue(e,["else","catch","finally"]))if((!(this._flags.last_token.type===S.END_BLOCK&&this._previous_flags.mode===Y.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&e.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var a=this._output.current_line;a.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else n==="NEWLINE"?ue(this._flags.last_token,an)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&ue(e,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==S.END_EXPR?(this._flags.last_token.type!==S.START_EXPR||!ue(e,["var","let","const"]))&&this._flags.last_token.text!==":"&&(Ve(e,"if")&&Ve(e.previous,"else")?this._output.space_before_token=!0:this.print_newline()):ue(e,St)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&ot(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():n==="SPACE"&&(this._output.space_before_token=!0);e.previous&&(e.previous.type===S.WORD||e.previous.type===S.RESERVED)&&(this._output.space_before_token=!0),this.print_token(e),this._flags.last_word=e.text,e.type===S.RESERVED&&(e.text==="do"?this._flags.do_block=!0:e.text==="if"?this._flags.if_block=!0:e.text==="import"?this._flags.import_block=!0:this._flags.import_block&&Ve(e,"from")&&(this._flags.import_block=!1))};se.prototype.handle_semicolon=function(e){this.start_of_statement(e)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(e);for(var t=this._tokens.peek();this._flags.mode===Y.Statement&&!(this._flags.if_block&&Ve(t,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(e)};se.prototype.handle_string=function(e){e.text.startsWith("`")&&e.newlines===0&&e.whitespace_before===""&&(e.previous.text===")"||this._flags.last_token.type===S.WORD)||(this.start_of_statement(e)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(e),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e):e.text.startsWith("`")&&this._flags.last_token.type===S.END_EXPR&&(e.previous.text==="]"||e.previous.text===")")&&e.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(e)};se.prototype.handle_equals=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0};se.prototype.handle_comma=function(e){this.handle_whitespace_and_comments(e,!0),this.print_token(e),this._output.space_before_token=!0,this._flags.declaration_statement?(Vt(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(e)):this._flags.mode===Y.ObjectLiteral||this._flags.mode===Y.Statement&&this._flags.parent.mode===Y.ObjectLiteral?(this._flags.mode===Y.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(e)};se.prototype.handle_operator=function(e){var t=e.text==="*"&&(ue(this._flags.last_token,["function","yield"])||te(this._flags.last_token.type,[S.START_BLOCK,S.COMMA,S.END_BLOCK,S.SEMICOLON])),n=te(e.text,["-","+"])&&(te(this._flags.last_token.type,[S.START_BLOCK,S.START_EXPR,S.EQUALS,S.OPERATOR])||te(this._flags.last_token.text,St)||this._flags.last_token.text===",");if(!this.start_of_statement(e)){var a=!t;this.handle_whitespace_and_comments(e,a)}if(ue(this._flags.last_token,an)){this._output.space_before_token=!0,this.print_token(e);return}if(e.text==="*"&&this._flags.last_token.type===S.DOT){this.print_token(e);return}if(e.text==="::"){this.print_token(e);return}if(this._flags.last_token.type===S.OPERATOR&&te(this._options.operator_position,ka)&&this.allow_wrap_or_preserved_newline(e),e.text===":"&&this._flags.in_case){this.print_token(e),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==S.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 s=!0,i=!0,o=!1;if(e.text===":"?this._flags.ternary_depth===0?s=!1:(this._flags.ternary_depth-=1,o=!0):e.text==="?"&&(this._flags.ternary_depth+=1),!n&&!t&&this._options.preserve_newlines&&te(e.text,Ft)){var l=e.text===":",r=l&&o,p=l&&!o;switch(this._options.operator_position){case Ht.before_newline:this._output.space_before_token=!p,this.print_token(e),(!l||r)&&this.allow_wrap_or_preserved_newline(e),this._output.space_before_token=!0;return;case Ht.after_newline:this._output.space_before_token=!0,!l||r?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(e):this._output.space_before_token=!1,this.print_token(e),this._output.space_before_token=!0;return;case Ht.preserve_newline:p||this.allow_wrap_or_preserved_newline(e),s=!(this._output.just_added_newline()||p),this._output.space_before_token=s,this.print_token(e),this._output.space_before_token=!0;return}}if(t){this.allow_wrap_or_preserved_newline(e),s=!1;var d=this._tokens.peek();i=d&&te(d.type,[S.WORD,S.RESERVED])}else e.text==="..."?(this.allow_wrap_or_preserved_newline(e),s=this._flags.last_token.type===S.START_BLOCK,i=!1):(te(e.text,["--","++","!","~"])||n)&&((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR)&&this.allow_wrap_or_preserved_newline(e),s=!1,i=!1,e.newlines&&(e.text==="--"||e.text==="++"||e.text==="~")&&this.print_newline(!1,!0),this._flags.last_token.text===";"&&Vt(this._flags.mode)&&(s=!0),this._flags.last_token.type===S.RESERVED?s=!0:this._flags.last_token.type===S.END_EXPR?s=!(this._flags.last_token.text==="]"&&(e.text==="--"||e.text==="++")):this._flags.last_token.type===S.OPERATOR&&(s=te(e.text,["--","-","++","+"])&&te(this._flags.last_token.text,["--","-","++","+"]),te(e.text,["+","-"])&&te(this._flags.last_token.text,["--","++"])&&(i=!0)),(this._flags.mode===Y.BlockStatement&&!this._flags.inline_frame||this._flags.mode===Y.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline());this._output.space_before_token=this._output.space_before_token||s,this.print_token(e),this._output.space_before_token=i};se.prototype.handle_block_comment=function(e,t){if(this._output.raw){this._output.add_raw_token(e),e.directives&&e.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(e.directives){this.print_newline(!1,t),this.print_token(e),e.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!Ut.test(e.text)&&!e.newlines){this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0;return}else this.print_block_commment(e,t)};se.prototype.print_block_commment=function(e,t){var n=Zi(e.text),a,s=!1,i=!1,o=e.whitespace_before,l=o.length;if(this.print_newline(!1,t),this.print_token_line_indentation(e),this._output.add_token(n[0]),this.print_newline(!1,t),n.length>1){for(n=n.slice(1),s=eo(n,"*"),i=to(n,o),s&&(this._flags.alignment=1),a=0;a{Mi();const e="magicscript";K.register({id:e}),K.setLanguageConfiguration(e,{wordPattern:/(-?\d*\.\d\w*)|([^`~!#%^&*()\-=+[{\]}\\|;:'",.<>/?\s]+)/g,brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:K.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:K.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:K.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:K.IndentAction.None,removeText:1}}],comments:{lineComment:"//",blockComment:["/*","*/"]},operators:["<=",">=","==","!=","+","-","*","/","%","&","|","!","&&","||","?",":","++","--","+=","-=","*=","/="],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string.multi"]},{open:"",close:""},{open:"'},{open:"",close:""},{open:"'},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]},{open:"/**",close:" */",notIn:["string"]}]}),K.setMonarchTokensProvider(e,mn),K.registerCompletionItemProvider(e,Li),K.registerFoldingRangeProvider(e,wi),K.registerSignatureHelpProvider(e,ki),K.registerHoverProvider(e,Di),K.registerDocumentFormattingEditProvider(e,{provideDocumentFormattingEdits(t,n,a){return[{text:new se(t.getValue()).beautify(),range:t.getFullModelRange()}]}})};function xe(e,t,n){var a={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null,binaryType:"blob"};n||(n={});for(var s in a)typeof n[s]!="undefined"?this[s]=n[s]:this[s]=a[s];this.url=e,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var i=this,o,l=!1,r=!1,p=document.createElement("div");p.addEventListener("open",function(g){i.onopen(g)}),p.addEventListener("close",function(g){i.onclose(g)}),p.addEventListener("connecting",function(g){i.onconnecting(g)}),p.addEventListener("message",function(g){i.onmessage(g)}),p.addEventListener("error",function(g){i.onerror(g)}),this.addEventListener=p.addEventListener.bind(p),this.removeEventListener=p.removeEventListener.bind(p),this.dispatchEvent=p.dispatchEvent.bind(p);function d(g,h){var T=document.createEvent("CustomEvent");return T.initCustomEvent(g,!1,!1,h),T}this.open=function(g){if(o=new WebSocket(i.url,t||[]),o.binaryType=this.binaryType,g){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else p.dispatchEvent(d("connecting")),this.reconnectAttempts=0;(i.debug||xe.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",i.url);var h=o,T=setTimeout(function(){(i.debug||xe.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",i.url),r=!0,h.close(),r=!1},i.timeoutInterval);o.onopen=function(R){clearTimeout(T),(i.debug||xe.debugAll)&&console.debug("ReconnectingWebSocket","onopen",i.url),i.protocol=o.protocol,i.readyState=WebSocket.OPEN,i.reconnectAttempts=0;var D=d("open");D.isReconnect=g,g=!1,p.dispatchEvent(D)},o.onclose=function(R){if(clearTimeout(b),o=null,l)i.readyState=WebSocket.CLOSED,p.dispatchEvent(d("close"));else{i.readyState=WebSocket.CONNECTING;var D=d("connecting");D.code=R.code,D.reason=R.reason,D.wasClean=R.wasClean,p.dispatchEvent(D),!g&&!r&&((i.debug||xe.debugAll)&&console.debug("ReconnectingWebSocket","onclose",i.url),p.dispatchEvent(d("close")));var b=i.reconnectInterval*Math.pow(i.reconnectDecay,i.reconnectAttempts);setTimeout(function(){i.reconnectAttempts++,i.open(!0)},b>i.maxReconnectInterval?i.maxReconnectInterval:b)}},o.onmessage=function(R){(i.debug||xe.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",i.url,R.data);var D=d("message");D.data=R.data,p.dispatchEvent(D)},o.onerror=function(R){(i.debug||xe.debugAll)&&console.debug("ReconnectingWebSocket","onerror",i.url,R),p.dispatchEvent(d("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(g){if(o)return(i.debug||xe.debugAll)&&console.debug("ReconnectingWebSocket","send",i.url,g),o.send(g);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(g,h){typeof g=="undefined"&&(g=1e3),l=!0,o&&o.close(g,h)},this.refresh=function(){o&&o.close()}}xe.prototype.onopen=function(e){};xe.prototype.onclose=function(e){};xe.prototype.onconnecting=function(e){};xe.prototype.onmessage=function(e){};xe.prototype.onerror=function(e){};xe.debugAll=!1;xe.CONNECTING=WebSocket.CONNECTING;xe.OPEN=WebSocket.OPEN;xe.CLOSING=WebSocket.CLOSING;xe.CLOSED=WebSocket.CLOSED;let $n={};function Gt(e){if($n[e])try{$n[e].close()}catch{}this.listeners={},this.future=new Promise(t=>{this.socket=new xe(e),$n[e]=this,this.socket.onmessage=this.messageReceived,this.socket.onconnecting=()=>{E.status("message.connectDebugServer")},this.socket.onopen=()=>{E.status("message.connectDebugServerSuccess"),E.$emit("ws_open"),t()},this.socket.onclose=()=>{E.status("message.debugServerClose"),E.$emit("ws_close")}})}Gt.prototype.on=function(e,t){this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)};Gt.prototype.messageReceived=function(e){let t=e.data,n=t.indexOf(","),a=n===-1?t:t.substring(0,n),s=[];for(;n>-1;){if(t=t.substring(n+1),t.startsWith("[")||t.startsWith("{")){s.push(JSON.parse(t));break}n=t.indexOf(","),s.push(n===-1?t:t.substring(0,n))}E.$emit("ws_"+a,s)};Gt.prototype.send=function(e){this.future.then(()=>this.socket.send(e))};Gt.prototype.close=function(){this.socket.close()};var Ie={OPEN:"open",BREAKPOINT:"breakpoint",LOGIN:"login",RESUME_BREAKPOINT:"resume_breakpoint",LOGIN_RESPONSE:"login_response",LOG:"log",LOGS:"logs",EXCEPTION:"exception",USER_LOGIN:"user_login",USER_LOGOUT:"user_logout",ONLINE_USERS:"online_users",SET_FILE_ID:"set_file_id",INTO_FILE_ID:"into_file_id",PING:"ping"},U={DO_SAVE:"doSave",DO_TEST:"doTest",LOGINED:"logined",LOGOUT:"logout",DO_DOWNLOAD:"do-download",DO_UPLOAD:"do-upload",DO_PUSH:"do-push",DO_RECENT:"do-recent",OPEN:"open",SELECT_NAVBAR_BY_ITEM:"select-navbar-by-item",OPEN_WITH_ID:"open-with-id",OPEN_ITEM:"open-item",DELETE_FILE:"delete-file",DEBUG_CONTINUE:"debug-continue",DEBUG_SETPINTO:"debug-setpinto",SWITCH_THEME:"switch-theme",OPEN_GROUP:"open-group",SWITCH_TOOLBAR:"switch-toolbar",STATUS:"status",MESSAGE:"message",CLOSE:"close",OPEN_EMPTY:"open-empty",LOAD_RESOURCES:"load-resources",DO_SEARCH:"doSearch",NOTIFY:"notify",RELOAD_RESOURCES:"reload-resources",RELOAD_RESOURCES_FINISH:"reload-resources-finish",LOAD_RESOURCES_FINISH:"load-resources-finish"};const ao=A("div",{class:"magic-mounts"},null,-1),so={props:{config:{type:Object,required:!0}},setup(e){const t=e;no(),qe("bus",E),self.MonacoEnvironment={getWorker:function(L,$){return $==="json"?new ts:new ns}},t.config.header=t.config.header||{};const n=P(!1),a=P(null),s=P(null),i=P(!1),o=P(null);qe("ELEMENT_ROOT",s),qe("activateUserFiles",P({}));let l=null;const r=t.config;M.BASE_URL=r.baseURL||"",M.SERVER_URL=r.serverURL||"";let p=`${location.protocol}//${location.host}${location.pathname}`.replace("/index.html","");M.BASE_URL.startsWith("http")?p=M.BASE_URL:M.BASE_URL.startsWith("/")?p=`${location.protocol}/${location.host}${M.BASE_URL}`:p=p+"/"+M.BASE_URL,r.blockClose!==!1&&(window.onbeforeunload=()=>"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002");const d=r.request||{beforeSend:L=>L,onError:L=>Promise.reject(L)};z.getAxios().interceptors.request.use(L=>d.beforeSend&&d.beforeSend(L)||L,L=>d.onError&&d.onError(L)||Promise.reject(L));const g=r.response||{onSuccess:L=>L,onError:L=>Promise.reject(L)};z.getAxios().interceptors.response.use(L=>g.onSuccess&&g.onSuccess(L)||L,L=>g.onError&&g.onError(L)||Promise.reject(L)),z.setBaseURL(M.BASE_URL),M.AUTO_SAVE=r.autoSave!==!1,E.status("message.loadClass"),qe("i18n.format",c);const h=()=>new Promise(L=>{z.sendGet("/plugins").success($=>Promise.all(($||[]).filter(G=>G.javascriptFilename).map(G=>new Promise(oe=>{E.status("plugin.loading",!0,G.name),Ds(at(p+"/plugins/"+G.javascriptFilename)).then(()=>{M.PLUGINS.push(window[G.globalName]({i18n:{add:vs,format:c},request:z,constants:M,Message:U,bus:E,modal:ge,JavaClass:Z,monaco:as})),E.status("plugin.loaded",!0,G.name),oe()}).catch(ke=>{E.status("plugin.loadFailed",!1,G.name),oe()})}))).then(()=>L())).error(()=>L())}),T=_t().appContext.app;Promise.all([Z.initClasses(),Z.initImportClass(),h()]).then(()=>E.status("message.loadClassFinish")).catch(L=>{E.status("message.loadClassError")}).finally(()=>{M.PLUGINS.forEach(L=>{L.datasources&&L.datasources.filter($=>$.component).forEach($=>{T.component(`magic-datasource-${$.type}`,$.component)})}),i.value=!0});const R=t.config.options||[];qe("options",R),z.sendGet("/options").success(L=>{L.forEach($=>R.push($))});const D=()=>{M.LOGINED=!0,l=new Gt(at(p.replace(/^http/,"ws")+"/console")),Re(()=>a.value.loadResources())};E.$on(U.LOGINED,D);const b=()=>{fetch("https://console.ssssssss.org.cn/latest?group=org.ssssssss&artifactId=magic-api").then(L=>{L.status===200&&L.json().then($=>{$.version&&$.version!=="unknown"&&M.config.version!==$.version?(E.status("message.newVersionRelease",!0,$.version),$.value!==Pe.get(M.IGNORE_VERSION)&&E.$emit(U.NOTIFY,{title:c("message.tips"),icon:"warning",content:c("message.versionUpdate",$.version),buttons:[{title:c("message.changelog"),onClick:()=>{window.open("http://www.ssssssss.org/magic-api/changelog.html")}},{title:c("message.ignore"),onClick:()=>{Pe.set(M.IGNORE_VERSION,$.version)}}]})):E.status("message.versionLastest")})})},m=()=>new Promise(L=>{M.HEADER_MAGIC_TOKEN_VALUE=Pe.get(M.STORE.token)||M.HEADER_MAGIC_TOKEN_VALUE,E.status("message.tryAutoLogin"),z.sendPost("/login").success($=>{n.value=!$,$&&Re(()=>{E.status("message.autoLoginSuccess"),E.$emit(U.LOGINED)})}).end(L)}),x=()=>{typeof hideMaLoading=="function"&&hideMaLoading()},C=()=>{z.execute({url:"/config.json",method:"get"}).then(L=>{if(M.config=L.data,t.config.inJar&&location.href.indexOf(L.data.web)>-1){let $=location.href.substring(0,location.href.indexOf(L.data.web));M.SERVER_URL=at($+"/"+(L.data.prefix||""))}M.config.version&&M.config.version!==M.MAGIC_API_VERSION_TEXT&&(E.status("message.versionConflict",!1,M.MAGIC_API_VERSION_TEXT,M.config.version),E.$emit(U.NOTIFY,{icon:"error",title:c("message.versionCheck"),content:c("message.versionConflict",M.MAGIC_API_VERSION_TEXT,M.config.version)})),m().then(()=>{x(),t.config.checkUpdate!==!1&&b()})}).catch(L=>{console.error(L),x(),o.value=c("message.loadConfigError")})},O=()=>{const L=document.body;le.bind(L,le.Ctrl|le.S,()=>E.$emit(U.DO_SAVE,!0)),le.bind(L,le.Ctrl|le.Q,()=>E.$emit(U.DO_TEST)),le.bind(L,le.Ctrl|le.E,()=>E.$emit(U.DO_RECENT)),le.bind(L,le.F8,()=>E.$emit(U.DEBUG_CONTINUE)),le.bind(L,le.F6,()=>E.$emit(U.DEBUG_SETPINTO)),le.bind(L,le.Ctrl|le.Shift|le.F,()=>E.$emit(U.DO_SEARCH))};ht(()=>{O()}),Ka(()=>le.unbind());const I=We({});return hn("default",Is),hn("dark",Cs),Object.keys(r.themes||{}).forEach(L=>{hn(L,r.themes[L])}),M.THEME=r.theme||"default",M.DEFAULT_EXPAND=r.defaultExpand!==!1,M.JDBC_DRIVERS=r.jdbcDrivers||M.JDBC_DRIVERS,M.DATASOURCE_TYPES=r.datasourceTypes||M.DATASOURCE_TYPES,E.$on(U.MESSAGE,(L,$)=>{l&&($?l.send(`${L},${$}`):l.send(L))}),E.$event(Ie.OPEN,()=>{M.CLIENT_ID=Ls(16),Re(()=>E.send(Ie.LOGIN,[M.HEADER_MAGIC_TOKEN_VALUE,M.CLIENT_ID].join(",")))}),E.$event(Ie.LOGIN_RESPONSE,([L,$])=>{L==="1"&&(M.user=$)}),E.$on(U.LOGOUT,()=>{n.value=!0,l&&l.close(),l=null}),(L,$)=>{const G=y("magic-login"),oe=y("magic-header"),ke=y("magic-main"),Ce=y("magic-status-bar"),Q=y("magic-notify");return v(),N("div",{class:"magic-editor",style:Be(f(I)),onContextmenu:$[2]||($[2]=ve(()=>{},["prevent"])),ref_key:"root",ref:s},[Ot(_(G,{value:n.value,"onUpdate:value":$[0]||($[0]=fe=>n.value=fe),error:o.value,"onUpdate:error":$[1]||($[1]=fe=>o.value=fe)},null,8,["value","error"]),[[jt,n.value]]),i.value?(v(),F(oe,{key:0,themeStyle:f(I),header:f(r).header},null,8,["themeStyle","header"])):X("",!0),i.value?(v(),F(ke,{key:1,ref_key:"componentMain",ref:a,onOnLoad:C},null,512)):X("",!0),i.value?(v(),F(Ce,{key:2,config:f(r)},null,8,["config"])):X("",!0),i.value?(v(),F(Q,{key:3})):X("",!0),ao],36)}}};var io=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:so});var q=(e,t)=>{const n=e.__vccOpts||e;for(const[a,s]of t)n[a]=s;return n};const oo={props:{menus:Array,onDestory:Function,position:Object},data(){return{style:{left:this.position.x+"px",top:this.position.y+"px",element:P(null)}}},mounted(){document.addEventListener("click",this.onMouseup);const e=document.querySelector(".magic-editor").getBoundingClientRect(),t=e.x+e.width,n=e.y+e.height,a=this.$el.getBoundingClientRect();a.x+a.width>t&&(this.style.left=`${t-a.width}px`),a.y+a.height>n&&(this.style.top=`${n-a.height}px`)},unmounted(){document.removeEventListener("click",this.onMouseup)},methods:{onMouseup(){this.onDestory&&this.onDestory()}},computed:{hasIcon(){return this.menus.some(e=>e.icon)}}},lo=["onClick"],ro={key:0,class:"magic-context-menu-icon"};function co(e,t,n,a,s,i){const o=y("magic-icon");return v(),N("ul",{class:"magic-context-menu none-select",style:Be(s.style),ref:"element"},[(v(!0),N(ee,null,pe(n.menus,(l,r)=>(v(),N("li",{key:r,class:me({divided:l.divided}),onClick:ve(()=>{i.onMouseup(),l.onClick&&l.onClick()},["stop"])},[i.hasIcon?(v(),N("span",ro,[l.icon?(v(),F(o,{key:0,icon:l.icon,size:"12px"},null,8,["icon"])):X("",!0)])):X("",!0),A("label",null,B(l.label),1)],10,lo))),128))],4)}var Ma=q(oo,[["render",co],["__scopeId","data-v-63405f2a"]]),uo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ma});const po={class:"magic-empty"},_o={props:{text:{type:String,default:c("message.nodata")}},setup(e){return(t,n)=>(v(),N("div",po,[A("p",null,B(e.text),1)]))}};var ho=q(_o,[["__scopeId","data-v-70308d5a"]]),fo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ho});const mo={class:"icon"},go={props:{loading:Boolean,loadingText:{type:String,default:c("message.loading")},style:Object},setup(e){return(t,n)=>{const a=y("magic-icon");return e.loading?(v(),N("div",{key:0,class:"magic-loading",style:Be(e.style)},[A("p",null,[A("span",mo,[_(a,{icon:"refresh",size:"20px"})]),Ee(" "+B(e.loadingText),1)])],4)):ft(t.$slots,"default",{key:1},void 0,!0)}}};var vo=q(go,[["__scopeId","data-v-19c11c56"]]),Eo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:vo});const bo={props:{language:{type:String,required:!0},editorConfig:{type:Object,default:{}},value:Array},setup(){return{instance:null,instancePromise:null}},mounted(){this.instance=tt.createDiffEditor(this.$refs.editor,Ye(de({},this.editorConfig),{enableSplitViewResizing:!1,language:this.language,minimap:{enabled:!1},folding:!1,lineDecorationsWidth:20,wordWrap:"on",fixedOverflowWidgets:!1,fontFamily:M.EDITOR_FONT_FAMILY,fontSize:M.EDITOR_FONT_SIZE,fontLigatures:!0,renderWhitespace:"none",theme:M.THEME,readOnly:this.readonly===!0,value:this.value||"",automaticLayout:!0})),this.instance.setModel({original:tt.createModel(this.value[0],this.language),modified:tt.createModel(this.value[1],this.language)})},methods:{getEditorDom(){return this.$refs.editor},getInstance(){return this.instance}},watch:{value(e){this.instance.setModel({original:tt.createModel(e[0],this.language),modified:tt.createModel(e[1],this.language)})}}},yo={class:"magic-monaco-editor",ref:"editor"};function To(e,t,n,a,s,i){return v(),N("div",yo,null,512)}var So=q(bo,[["render",To],["__scopeId","data-v-7c84fbe0"]]),xo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:So});const Oo={props:{language:{type:String,required:!0},editorConfig:{type:Object,default:{}},value:String,decorations:Array,readonly:{type:Boolean,default:!1},supportBreakpoint:{type:Boolean,default:!1},matches:String},setup(){return{instance:null,instancePromise:null}},emits:["update:value","change","update:decorations"],mounted(){this.instance=tt.create(this.$refs.editor,Ye(de({},this.editorConfig),{language:this.language,minimap:{enabled:!1},folding:!0,lineDecorationsWidth:this.supportBreakpoint?35:void 0,wordWrap:"on",fontFamily:M.EDITOR_FONT_FAMILY,fontSize:M.EDITOR_FONT_SIZE,fontLigatures:!0,renderWhitespace:"none",theme:M.THEME,readOnly:this.readonly===!0,value:this.value||"",automaticLayout:!0})),this.instance.onDidChangeModelContent(e=>{this.$emit("update:value",this.instance.getValue()),this.$emit("change")}),this.instance.addAction({id:"editor.action.triggerSuggest.extension",label:c("editor.triggerSuggest"),precondition:"!suggestWidgetVisible && !markersNavigationVisible && !parameterHintsVisible && !findWidgetVisible",run:()=>{this.instance.trigger(null,"editor.action.triggerSuggest",{})}}),Xn.registerCommand("editor.action.scrollUp1Line",()=>{this.instance.setScrollTop(this.instance.getScrollTop()-22)}),this.instance.addCommand(ct.Alt|gt.US_SLASH,()=>{let e=this.instance.getAction("editor.action.triggerParameterHints"),t=this.instance.getAction("editor.action.triggerSuggest.extension");e.run().then(()=>{setTimeout(()=>{t.isSupported()&&t.run()},0)})},"!findWidgetVisible && !inreferenceSearchEditor && !editorHasSelection"),this.initKeys(),this.initDecorations()},methods:{getEditorDom(){return this.$refs.editor},match(){this.matches&&Re(()=>{let e=this.instance.getModel().findMatches(this.matches);e&&e.length>0&&this.instance.setSelections(e.map(({range:t})=>({positionColumn:t.endColumn,positionLineNumber:t.endLineNumber,selectionStartColumn:t.startColumn,selectionStartLineNumber:t.startLineNumber})))})},initKeys(){[["editor.action.triggerParameterHints",ct.Alt|gt.US_SLASH],["editor.action.triggerSuggest",ct.Alt|gt.US_SLASH],["toggleSuggestionDetails",ct.Alt|gt.US_SLASH,ss.deserialize("suggestWidgetVisible && textInputFocus")],["editor.action.formatDocument",ct.CtrlCmd|ct.Alt|gt.KEY_L],["editor.action.marker.nextInFiles",ct.CtrlCmd|gt.F8]].forEach(t=>{var i;let n=t[0];const{handler:a,when:s}=(i=Xn.getCommand(n))!=null?i:{};if(a){let o=un._coreKeybindings.findIndex(l=>l.command===n);o>0&&un._coreKeybindings.splice(o,1),this.instance._standaloneKeybindingService.addDynamicKeybinding(n,t[1],a,s||t[2])}}),un._cachedMergedKeybindings=null},getInstance(){return this.instance},initDecorations(){this.instance.onMouseDown(e=>{if(!e.target.element.classList.contains("codicon")&&e.target.detail&&e.target.detail.offsetX&&e.target.detail.offsetX>=0&&e.target.detail.offsetX<=65){var t=e.target.position.lineNumber;if(this.instance.getModel().getLineContent(t).trim()==="")return;let a=this.instance.getLineDecorations(t).filter(s=>s.options.linesDecorationsClassName==="breakpoints");a&&a.length>0?this.instance.getModel().deltaDecorations([a[0].id],[]):this.instance.getModel().deltaDecorations([],[{range:new nt(t,1,t,1),options:{isWholeLine:!0,linesDecorationsClassName:"breakpoints",className:"breakpoint-line"}}]),this.updateDecoration()}})},appendDecoration(e){const t=this.instance.deltaDecorations([],e);return this.updateDecoration(),t},removedDecorations(e){this.instance.deltaDecorations(e,[]),this.updateDecoration()},updateDecoration(){this.$emit("update:decorations",this.instance.getModel().getAllDecorations())}},watch:{value(e){e!==this.instance.getValue()&&(this.instance.setValue(e||""),this.match(),this.$emit("change"))},matches(){this.match()}}},Ro={class:"magic-monaco-editor",ref:"editor"};function Ao(e,t,n,a,s,i){return v(),N("div",Ro,null,512)}var Io=q(Oo,[["render",Ao],["__scopeId","data-v-faec04d2"]]),Co=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Io});const Lo={props:{max:Number,min:Number,direction:String,reverse:{type:Boolean,default:!1}},setup(e){return{style:P({[e.direction==="x"?"width":"height"]:e.min+"px"})}},mounted(){new ResizeObserver(this.updateCss).observe(this.$refs.resizer)},methods:{updateCss(){try{const e=this.$refs.resizer.parentElement;this.$refs.resizer.style.setProperty("--width",e.offsetWidth+"px"),this.$refs.resizer.style.setProperty("--height",e.offsetHeight+"px")}catch{}},mousedown(e){const t=this.direction==="x",n=t?e.clientX:e.clientY,a=e.target.parentElement.getBoundingClientRect();document.onmousemove=s=>{let i=t?a.width:a.height;t?this.reverse?i=n-s.clientX+a.width:i=s.clientX-n+a.width:this.reverse?i=s.clientY-n+a.height:i=n-s.clientY+a.height,i>=this.min&&i<=this.max&&(this.style[t?"width":"height"]=`${i}px`)},document.onmouseup=()=>{document.onmousemove=document.onmouseup=null},e.stopPropagation(),e.preventDefault()}}};function No(e,t,n,a,s,i){return v(),N("div",{class:me(`magic-resizer-${this.direction}`),style:Be(a.style)},[ft(e.$slots,"default",{},void 0,!0),A("div",{class:me(["magic-resizer-event",{reverse:n.reverse}]),onMousedown:t[0]||(t[0]=(...o)=>i.mousedown&&i.mousedown(...o)),ref:"resizer"},null,34)],6)}var wo=q(Lo,[["render",No],["__scopeId","data-v-7de8c22c"]]),ko=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:wo});const Do={class:"magic-navbar-item"},Mo={props:{title:String,style:Object,show:{type:Boolean,default:!0},to:HTMLElement},setup(e){return(t,n)=>(v(),N("div",Do,[ft(t.$slots,"default",{},void 0,!0)]))}};var Po=q(Mo,[["__scopeId","data-v-30388e35"]]),Uo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Po}),$o="",Bo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$o});const Fo={"aria-hidden":"true",class:"magic-icon"},Ho=["xlink:href"],Vo={props:{prefix:{type:String,default:"magic-icon"},icon:String,size:String},setup(e){const t=e,n=re(()=>t.icon&&t.icon.startsWith("#")?t.icon:`#${t.prefix}-${t.icon}`),a=re(()=>t.icon&&t.icon.startsWith("#")?t.icon.substring(1):`${t.prefix}-${t.icon}`);return(s,i)=>(v(),N("svg",Fo,[A("use",{"xlink:href":f(n),class:me(f(a))},null,10,Ho)]))}};var Bn=q(Vo,[["__scopeId","data-v-15383e92"]]),Go=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Bn}),jo={props:{direction:{type:String,default:""},reverse:{type:Boolean,default:!1},defaultSelect:{type:Number,default:0},allowClose:{type:Boolean,default:!0},spliter:Boolean,value:Array,to:HTMLElement},setup(e,t){const n=P(e.defaultSelect);return{slots:re(()=>t.slots.default()[0].children),navbars:re(()=>t.slots.default()[0].children.flatMap(a=>a.props)),selectIndex:n}},methods:{select(e){this.selectIndex=e}},render(){const e=a=>{const s=parseInt(Math.random()*1e8),i=a.length*6;return ie("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:22,height:i},[ie("defs",ie("path",{id:`path-text-${s}`,d:this.reverse?`M6,0 L6,${i}`:`M14,${i} L14,0`})),ie("text",{fill:"var(--main-color)"},ie("textPath",{"xlink:href":`#path-text-${s}`},a))])},t=a=>{if(this.spliter&&this.direction==="vertical"&&a.match(/\w/g)){const s=[];let i="",o=1,l;const r=a.split("");for(let p=0,d=r.length;p{const i=[ie("div",{class:"magic-navbar-title"},[...t(a.title)])];a.icon&&i.push(ie(Bn,{icon:a.icon}));const o=a.style||{};return a.show===!1&&(o.display="none"),ie("li",{class:this.selectIndex===s?"selected":"",style:o,onClick:()=>{this.selectIndex===s&&this.allowClose?this.selectIndex=-1:this.selectIndex=s}},i)}))];return this.slots.forEach((a,s)=>{const i=s!==this.selectIndex||a.props.show===!1?{display:"none"}:{};this.to?n.push(ie(qn,{to:this.to},ie("div",{class:"magic-navbar-body",style:i},a))):n.push(ie("div",{class:"magic-navbar-body",style:i},a))}),ie("div",{class:`magic-navbar magic-navbar__${this.direction}`+(this.reverse?" reverse":"")},n)}},zo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:jo}),Yo="",qo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Yo}),Ko={props:{tabs:Array,className:String,value:Object,allowClose:{type:Boolean}},emits:["update:value","change","close","item-contextmenu"],setup(e){const t=P({}),n=P({});function a(o,l,r){switch(r){case"dragstart":t.value=o,l.stopPropagation();break;case"dragenter":n.value=o,l.stopPropagation();break;case"dragend":if(t.value!==n.value){const p=e.tabs.indexOf(t.value),d=e.tabs.indexOf(n.value);e.tabs.splice(p,1),e.tabs.splice(d,0,t.value)}n.value={},l.stopPropagation();break;case"dragover":t.value!==n.value&&l.preventDefault();break}}const s=P({});function i(o){let l=o.wheelDelta||o.detail;s.value.value.el.scrollLeft+=l>0?-100:100}return{selectIndex:P(0),draggableItem:t,draggableTargetItem:n,tabDraggable:a,scrollbar:s,scrollbarHandler:i,scrollId:"",scrollItem:P(null)}},mounted(){Re(()=>{this.scrollbar.value.el.addEventListener("DOMMouseScroll",this.scrollbarHandler,!1),this.scrollbar.value.el.addEventListener("mousewheel",this.scrollbarHandler,!1)})},methods:{scrollIntoView(e){this.scrollId="s"+new Date().getTime()+""+parseInt(Math.random()*1e7),this.scrollItem=e,Re(()=>{const t=document.querySelector("#"+this.scrollId);t&&t.scrollIntoView(!0)})}},destroyed(){Re(()=>{this.scrollbar.value.el.removeEventListener("DOMMouseScroll",this.scrollbarHandler),this.scrollbar.value.el.removeEventListener("mousewheel",this.scrollbarHandler)})},render(){const e=this.tabs&&ie("ul",this.tabs.map((t,n)=>{const a=[this.$slots.default({tab:t})];return this.allowClose&&a.push(ie(Bn,{icon:"close",size:"12px",style:{marginLeft:"5px"},onClick:s=>{this.$emit("close",t),s.stopPropagation(),s.preventDefault()}})),ie("li",{class:[this.value===t?"selected":"",t===this.draggableTargetItem?"draggable-target-item":""],id:this.scrollItem===t||this.scrollItem===t.id?this.scrollId:void 0,onClick:s=>{this.value!==t&&(this.$emit("update:value",t),this.$emit("change",t)),s.stopPropagation(),s.preventDefault()},onMousedown:s=>{s.which===2&&this.allowClose&&this.$emit("close",t)},onContextmenu:s=>{this.$emit("item-contextmenu",s,t,n),s.preventDefault()},draggable:!0,onDragenter:s=>this.tabDraggable(t,s,"dragenter"),onDragstart:s=>this.tabDraggable(t,s,"dragstart"),onDragend:s=>this.tabDraggable(t,s,"dragend"),onDragover:s=>this.tabDraggable(t,s,"dragover")},a)}));return this.scrollbar.value=e,ie("div",{class:"magic-tab none-select"+(this.className?" "+this.className:"")},e)}},Wo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ko});const Xo={class:"magic-table-row"},Pa={props:{title:String,row:Object,flex:String,width:String,align:String},setup(e){return(t,n)=>(v(),N("div",Xo,[ft(t.$slots,"default",{row:e.row})]))}};var Jo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Pa}),Qo="",Zo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Qo}),el={props:{data:{type:Array,default:[]},width:String,border:{type:Boolean,default:!1},align:{type:String,default:"center"}},emits:["clickRow","contextmenu","loadNext"],render(){const e=this.$slots.default(),t=n=>{n=n||{};let a=[];if(n.width){let s=`width: ${n.width}`;!n.width.endsWith("%")&&!isNaN(n.width)&&(s+="px"),a.push(s),a.push("flex:none")}else n.flex&&a.push(`flex: ${n.flex}`);return(n.align||this.align)&&a.push(`justify-content: ${n.align||this.align};text-align: ${n.align||this.align}`),a.join(";")};return ie("div",{class:"magic-table"+(this.border?" magic-table__border":"")},[ie("div",{class:"magic-table-header none-select"},e.map(n=>ie("div",{class:"magic-table-column",title:n.props.title,style:t(n.props)},ie("span",n.props.title)))),ie("div",{class:"magic-table-body",onScroll:n=>{n.target.scrollTop+n.target.offsetHeight+40>=n.target.scrollHeight&&this.$emit("loadNext")}},this.data.map((n,a)=>ie(Pa,{row:n,onClick:()=>{this.$emit("clickRow",a)}},{default:()=>e.map(s=>ie("div",{class:"magic-table-column",onContextmenu:i=>{this.$emit("contextmenu",i,n),i.stopPropagation(),i.preventDefault()},style:t(s.props)},s.children.default({row:n})))})))])}},tl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:el}),nl="",al=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:nl}),sl={props:{data:Array,sort:Boolean,descending:Boolean,filter:String,filterText:Function,selected:Object,draggable:{type:Boolean,default:!1},onMove:{type:Function,defeault:()=>new Promise(e=>e(!0))}},emits:["drag","contextmenu","onMove","itemClick"],setup(e,t){const n=t.emit,a=We({item:{},itemParent:{},target:{},targetParent:{}});function s(i,o,l,r){function p(){return!(a.item===a.target||a.itemParent===a.target||!a.target.folder&&a.itemParent===a.targetParent)}switch(r){case"dragstart":a.item=o,a.itemParent=i,l.stopPropagation();break;case"dragenter":a.target=o,a.targetParent=i,l.stopPropagation();break;case"dragover":p()&&l.preventDefault();break;case"dragend":if(!p())break;e.onMove(o,a.target||a.targetParent).then(d=>{if(d){const g=a.itemParent||{children:e.data};g.children.splice(g.children.indexOf(o),1),a.target.folder?(a.target.children=a.target.children||[],a.target.children.push(a.item)):(a.targetParent.children=a.targetParent.children||[],a.targetParent.children.push(a.item)),e.sort&&It(a.target.folder?a.target.children:a.targetParent.children,e.descending,"name"),a.target={},a.targetParent={}}}),l.stopPropagation();break}n("drag",r,a,l)}return e.sort&&(It(e.data,e.descending,"name","children"),mt(()=>e.data,i=>{It(e.data,e.descending,"name","children")}),mt(()=>e.descending,i=>{It(e.data,e.descending,"name","children")})),{draggableItem:a,itemDraggable:s}},data(){return{scrollId:"",scrollItem:P(null)}},methods:{scrollIntoView(e){this.scrollId="s"+new Date().getTime()+""+parseInt(Math.random()*1e7),this.scrollItem=e;const t=n=>{let a=!1;for(const s in n){const i=n[s];if(a=i===e){i.opened!==void 0&&(i.opened=!0);break}else if(i.children&&i.children.length>0&&(a=t(i.children))){i.opened=!0;break}}return a};t(this.data)&&Re(()=>{const n=document.querySelector("#"+this.scrollId);n&&n.scrollIntoView(!0)})}},render(){const e=n=>this.filter?this.filterText(Fe(n)).indexOf(this.filter)>-1||n.children&&n.children.some(a=>e(a)):!0,t=(n,a,s)=>{const i=s>0?{paddingLeft:`${s*17}px`}:{};return e(a)&&ie("li",{onDblclick:o=>{a.folder&&(a.opened=!a.opened),o.stopPropagation(),o.preventDefault()},onClick:o=>{this.$emit("itemClick",a),o.stopPropagation(),o.preventDefault()},onContextmenu:o=>{this.$emit("contextmenu",a,o),o.stopPropagation(),o.preventDefault()},draggable:this.draggable,onDragenter:o=>this.itemDraggable(n,a,o,"dragenter"),onDragstart:o=>this.itemDraggable(n,a,o,"dragstart"),onDragend:o=>this.itemDraggable(n,a,o,"dragend"),onDragover:o=>this.itemDraggable(n,a,o,"dragover")},[ie("div",{class:["magic-tree-item",a===this.draggableItem.target?"draggable-target-item":"",a===this.selected?"selected":""],style:i,id:this.scrollItem===a||this.scrollItem===a.id?this.scrollId:void 0},a.folder?this.$slots.folder({item:a}):this.$slots.file({item:a})),a.folder&&a.opened&&ie("ul",{class:a.opened&&"opened"||"hide"},a.children&&a.children.map(o=>t(a,o,s+1)))])};return ie("div",{class:"magic-tree none-select"},ie("ul",{},this.data&&this.data.map(n=>t(null,n,0))))}},il=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:sl});const ol=["onMousedown"],ll={props:{value:{type:Boolean,default:!0},className:String,showClose:{type:Boolean,default:!0},shade:{type:Boolean,default:!0},padding:{type:String,default:"5px 10px"},height:{type:String,default:"auto"},width:{type:String,default:"auto"},moveable:{type:Boolean,default:!0},overflow:{type:String,default:"auto"},top:String,maxHeight:String,maxWidth:String,contentHeight:String,title:String,content:String,onClose:Function},emits:["update:value","onClose"],setup(e,{expose:t,emit:n}){const a=e,s=P(a.top||"auto"),i=P("auto"),o=P("relative"),l=P(null);function r(){n("update:value",!1)}const p=()=>{n("close"),typeof a.onClose=="function"&&a.onClose(),r()};let d,g=!1,h,T;function R(O){a.moveable&&(d=O,h=O.target.parentNode.getBoundingClientRect(),T=document.getElementsByClassName("magic-editor")[0].getBoundingClientRect(),g=!0)}function D(O){if(a.moveable&&g){let I=Math.min(Math.max(h.top+(O.pageY-d.pageY),T.y),T.y+T.height-h.height),L=Math.min(Math.max(h.left+(O.pageX-d.pageX),T.x),T.x+T.width-h.width);s.value=I+"px",i.value=L+"px",o.value="absolute"}}let b=!1;const m=()=>{!b&&l.value&&(o.value="absolute",i.value=l.value.getBoundingClientRect().x+"px"),b=!0};a.top&&Wa(m);const x=O=>{a.showClose&&O.keyCode===27&&p()};function C(O){g=!1}return t({close:p}),(O,I)=>{const L=y("magic-icon");return e.value?(v(),F(qn,{key:0,to:".magic-editor"},[A("div",{class:me(["magic-dialog",(e.shade?"magic-dialog__shade":"")+(e.className?" "+e.className:"")]),tabindex:"1",onMousemove:D,onMouseup:C,onKeydown:x},[A("div",{class:"magic-dialog-main",style:Be({position:o.value,top:s.value,left:i.value,width:e.width,height:e.height,"max-width":e.maxWidth}),ref_key:"dialog",ref:l},[A("div",{class:me(["magic-dialog-header none-select",{moveable:e.moveable}]),onMousedown:R},[Ee(B(e.title)+" ",1),e.showClose?(v(),N("span",{key:0,onMousedown:ve(p,["stop"])},[_(L,{icon:"close"})],40,ol)):X("",!0)],34),A("div",{class:"magic-dialog-body",style:Be({padding:e.padding,"max-height":e.maxHeight,height:e.contentHeight,overflow:e.overflow})},[e.content?(v(),N(ee,{key:0},[Ee(B(e.content),1)],64)):ft(O.$slots,"default",{key:1},void 0,!0)],4)],4)],34)])):X("",!0)}}};var rl=q(ll,[["__scopeId","data-v-3e8f0d71"]]),cl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:rl});const ul={class:"magic-notify"},pl=["onClick"],dl=["innerHTML"],_l=["innerHTML"],hl={setup(e){const t={error:'',warning:'',info:''},n=We([]),a=i=>{const o=n.findIndex(l=>i.id===l.id);return o>-1&&n.splice(o,1),!0},s=i=>{i.icon=t[i.icon]||t.info,i.id=parseInt(Math.random()*1e7),n.push(i),i.duration&&setTimeout(()=>a(i),parseInt(i.duration))};return E.$on(U.NOTIFY,s),(i,o)=>{const l=y("magic-icon"),r=y("magic-button"),p=y("magic-button-group");return v(),N("div",ul,[(v(!0),N(ee,null,pe(f(n),(d,g)=>(v(),N("div",{class:"magic-notify-item",key:g},[A("div",{class:"close",onClick:h=>a(d)},[_(l,{icon:"close"})],8,pl),A("h3",null,[(v(),N("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",innerHTML:d.icon},null,8,dl)),Ee(B(d.title),1)]),A("p",{innerHTML:d.content},null,8,_l),d.buttons?(v(),F(p,{key:0},{default:w(()=>[(v(!0),N(ee,null,pe(d.buttons,(h,T)=>(v(),F(r,{key:T,value:h.title,type:"link",onClick:()=>a(d)&&h.onClick()},null,8,["value","onClick"]))),128))]),_:2},1024)):X("",!0)]))),128))])}}};var fl=q(hl,[["__scopeId","data-v-11ebc230"]]),ml=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:fl});const gl={props:{align:{type:String,default:"left"}},setup(e){return(t,n)=>(v(),N("div",{class:me(["magic-button-group",e.align])},[ft(t.$slots,"default",{},void 0,!0)],2))}};var vl=q(gl,[["__scopeId","data-v-70c60ab6"]]),El=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:vl});const bl={props:{value:String,type:String},setup(e){return(t,n)=>(v(),N("button",{onClick:n[0]||(n[0]=ve(a=>t.$emit("onClick"),["stop"])),class:me(["magic-button",e.type]),type:"button"},B(e.value),3))}};var yl=q(bl,[["__scopeId","data-v-2e4c463a"]]),Tl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:yl});const Sl=["checked"],xl={props:{value:{type:[Number,Boolean],default:()=>!1},checkedHalf:{type:Boolean,default:!1}},setup(e){const t=new Date().getTime()+""+Math.floor(Math.random()*1e3);return(n,a)=>(v(),N("div",{class:"magic-checkbox",onClick:a[1]||(a[1]=ve(s=>n.$emit("click",s),["stop"]))},[A("input",{id:t,ref:"checkbox",type:"checkbox",onChange:a[0]||(a[0]=()=>{n.$emit("update:value",n.$refs.checkbox.checked),n.$emit("change",n.$refs.checkbox.checked)}),checked:e.value},null,40,Sl),A("label",{for:t,class:me({checkedHalf:e.checkedHalf&&e.value})},null,2)]))}};var Ol=q(xl,[["__scopeId","data-v-22b807f1"]]),Rl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ol});const Al={class:"magic-file"},Il=["accept","multiple"],Cl={props:{value:[Object,String],placeholder:{type:String,default:c("message.chooseFile")},accept:String,multiple:{type:Boolean,default:!1},border:{type:Boolean,default:!0}},emits:["update:value"],setup(e,{emit:t}){const n=e,a=P(null),s=P(null),i=()=>{a.value.files[0]&&(s.value=Array.from(a.value.files).map(o=>o.name).join(",")),t("update:value",n.multiple?a.value.files:a.value.files[0])};return(o,l)=>{const r=y("magic-input"),p=y("magic-icon");return v(),N("div",Al,[A("input",{type:"file",style:{display:"none"},ref_key:"file",ref:a,onChange:i,accept:e.accept,multiple:e.multiple},null,40,Il),_(r,{readonly:!0,style:{width:"100%"},placeholder:e.placeholder,onClick:()=>o.$refs.file.click(),value:s.value,border:e.border},null,8,["placeholder","onClick","value","border"]),_(p,{icon:"upload"})])}}};var Ll=q(Cl,[["__scopeId","data-v-62524fc2"]]),Nl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ll});const wl=["value","placeholder","readonly","type","autocomplete"],kl={props:{value:[String,Number,Object],placeholder:String,defaultValue:[String,Number,Object],readonly:{type:Boolean,default:!1},type:{type:String,default:"text"},width:{type:String,default:"100%"},border:{type:Boolean,default:!0},onEnter:{type:Function,default:()=>{}}},emits:["update:value"],setup(e,{emit:t}){const n=e,a=re(()=>n.type==="password"?"new-password":null);!n.value&&n.defaultValue&&t("update:value",n.defaultValue);const s={width:n.width};return(i,o)=>(v(),N("input",{class:me(["magic-input",{"magic-input__border":e.border}]),value:e.value,placeholder:e.placeholder,readonly:e.readonly,style:s,type:e.type,onInput:o[0]||(o[0]=l=>i.$emit("update:value",l.target.value)),autocomplete:f(a),onKeypress:o[1]||(o[1]=Xa(ve((...l)=>e.onEnter&&e.onEnter(...l),["stop"]),["enter"]))},null,42,wl))}};var Dl=q(kl,[["__scopeId","data-v-f43ad66a"]]),Ml=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Dl});const Pl={key:0},Ul=["placeholder"],$l=["onClick"],Bl={props:{value:[Object,String,Number],options:Array,defaultSelect:[Object,String,Number],width:String,border:{type:Boolean,default:!0},placeholder:String,inputable:{type:Boolean,default:!1}},emits:["update:value","select"],setup(e,{emit:t}){const n=e;document.body.addEventListener("click",()=>s.value=!1);const a=P("-2px"),s=P(!1),i=P("auto"),o=P("0px"),l=re(()=>{const h=n.options.find(T=>T.value===n.value)||n.options.find(T=>T.value===n.defaultSelect);return h&&h.text||""}),r=h=>{t("update:value",h),t("select",h),s.value=!1},p=ae("ELEMENT_ROOT"),d=(h,T)=>T+h.scrollTop>0?h.scrollTop:h.parentElement?d(h.parentElement,T+h.scrollTop):h.scrollTop,g=(h,T)=>{a.value=-d(h,0)-1+"px",s.value=!0,Re(()=>{o.value=-(window.pageXOffset+1)+"px",i.value=h.clientWidth+"px";let R=T.offsetHeight;T.offsetTop+R+20>p.value.offsetTop+p.value.offsetHeight&&(a.value=-(R+h.offsetHeight)+"px")})};return(h,T)=>{const R=y("magic-icon");return v(),N("div",{class:me([{inputable:e.inputable,border:e.border},"magic-select not-select"]),style:Be({width:e.width}),onClick:T[2]||(T[2]=ve(D=>g(h.$refs.container,h.$refs.selectList),["stop"])),ref:"container"},[e.inputable?X("",!0):(v(),N("span",Pl,B(f(l)),1)),e.inputable?Ot((v(),N("input",{key:1,ref:"input","onUpdate:modelValue":T[0]||(T[0]=D=>Kn(value)?value.value=D:null),autocomplete:"off",type:"text",onInput:T[1]||(T[1]=D=>r(D.target.value)),placeholder:e.placeholder},null,40,Ul)),[[Ja,e.value]]):X("",!0),Ot(A("ul",{style:Be({width:i.value,marginTop:a.value,marginLeft:o.value}),ref:"selectList"},[(v(!0),N(ee,null,pe(e.options,D=>(v(),N("li",{key:D.value,onClick:ve(b=>r(D.value),["stop"])},B(D.text),9,$l))),128))],4),[[jt,s.value]]),_(R,{icon:"arrow-bottom"})],6)}}};var Fl=q(Bl,[["__scopeId","data-v-249fb96c"]]),Hl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Fl});const Vl=["placeholder","value"],Gl={props:{value:String,placeholder:String},setup(e){return(t,n)=>(v(),N("textarea",{class:"magic-textarea",placeholder:e.placeholder,value:e.value,onInput:n[0]||(n[0]=a=>t.$emit("update:value",a.target.value))},null,40,Vl))}};var jl=q(Gl,[["__scopeId","data-v-ca6693f6"]]),zl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:jl});const Yl={props:{users:Array,max:Number,size:{type:Number,default:22}},setup(e){const t=e,n=re(()=>({height:t.size+"px",lineHeight:t.size+"px"})),a=re(()=>t.users.slice(0,t.max||t.users.length));return(s,i)=>{const o=y("magic-avatar");return t.users&&t.users.length>0?(v(),N("div",{key:0,class:"magic-avatar-group",style:Be(f(n))},[(v(!0),N(ee,null,pe(f(a),(l,r)=>(v(),F(o,{key:r,user:l,size:e.size},null,8,["user","size"]))),128)),t.users.length>f(a).length?(v(),F(o,{key:0,text:`${e.max}+`,size:e.size},null,8,["text","size"])):X("",!0)],4)):X("",!0)}}};var ql=q(Yl,[["__scopeId","data-v-511f7f80"]]),Kl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ql});const Wl=["title"],Xl={props:{user:Object,text:String,size:{type:Number,default:22}},setup(e){const t=e,n=["#1abc9c","#2ecc71","#3498db","#9b59b6","#16a085","#27ae60","#2980b9","#8e44ad","#f1c40f","#e67e22","#e74c3c","#eca0f1","#95a5a6","#f39c12","#d35400","#c0392b","#bdc3c7","#7f8c8d"],a=re(()=>({width:t.size+"px",height:t.size+"px",lineHeight:t.size+"px",borderRadius:t.size/2+"px",backgroundColor:t.text&&"#bdc3c7"||n[ks(`${t.user.cid}`)%n.length]})),s=re(()=>t.text||t.user.username.substring(0,1)),i=re(()=>t.user?`${c("message.username")}\uFF1A${t.user.username}
-IP\uFF1A${t.user.ip||"unknown"}`:void 0);return(o,l)=>(v(),N("div",{class:"magic-avatar",style:Be(f(a)),title:f(i)},B(f(s)),13,Wl))}};var Jl=q(Xl,[["__scopeId","data-v-73f02f44"]]),Ql=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Jl});const Zl=["width"],er=["x","fill"],tr={props:{icon:String|Array},setup(e){const t=e,n={GET:"#0cbb52",POST:"#FFB400",DELETE:["DEL","#EB2013"],PUT:"#097BED",function:["Fn","#9012FE"]},a=re(()=>{let s=t.icon,i=Array.isArray(s);i||(s=n[t.icon],i=s!==void 0&&Array.isArray(s));const o=i?s[0]:t.icon,l=o.length*9,r=i?s[1]:s||"var(--main-icon-color)";return{width:l,color:r,text:o}});return(s,i)=>(v(),N("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:f(a).width,height:"12","font-size":"10","font-weight":"bolder","font-family":"inherit"},[A("text",{x:f(a).width/2,y:"8",fill:f(a).color,style:{"dominant-baseline":"middle","text-anchor":"middle"}},B(f(a).text),9,er)],8,Zl))}};var nr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:tr});const ar={props:{opened:Object},setup(e){const t=[{title:"Json",icon:"json",component:ne("magic-api-request-body")},{title:c("message.view"),icon:"structure",component:ne("magic-api-request-structure")}];return(n,a)=>{const s=y("magic-navbar-item"),i=y("magic-navbar");return v(),F(i,{spliter:!0,direction:"vertical","allow-close":!1},{default:w(()=>[(v(),N(ee,null,pe(t,(o,l)=>_(s,rt({key:l},o),{default:w(()=>[(v(),F(ne(o.component)))]),_:2},1040)),64))]),_:1})}}};var sr=q(ar,[["__scopeId","data-v-41b9c04c"]]),ir=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:sr});const or={setup(e){const t=ae("info");return(n,a)=>{const s=y("magic-textarea");return v(),F(s,{value:f(t).description,"onUpdate:value":a[0]||(a[0]=i=>f(t).description=i)},null,8,["value"])}}};var lr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:or});const rr={class:"magic-api-group"},cr={setup(e){const t=ae("info"),n=[{title:c("api.navbars.path"),component:ne("magic-api-path")},{title:c("api.navbars.groupOption"),component:ne("magic-api-option")}],a=()=>{const s=t.value;z.sendJson("/resource/folder/save",{id:s.id,name:s.name,parentId:s.parentId,type:s.type,path:s.path,paths:s.paths,options:s.options})};return(s,i)=>{const o=y("magic-input"),l=y("magic-button"),r=y("magic-navbar-item"),p=y("magic-navbar");return v(),N(ee,null,[A("div",rr,[A("form",null,[A("label",null,B(f(c)("resource.form.groupName")),1),_(o,{value:f(t).name,"onUpdate:value":i[0]||(i[0]=d=>f(t).name=d),placeholder:f(c)("resource.form.placeholder.name",f(c)("api.name")),width:"250px"},null,8,["value","placeholder"]),A("label",null,B(f(c)("resource.form.groupPath")),1),_(o,{value:f(t).path,"onUpdate:value":i[1]||(i[1]=d=>f(t).path=d),placeholder:f(c)("resource.form.placeholder.path",f(c)("api.name")),width:"auto",style:{flex:"1"}},null,8,["value","placeholder"]),_(l,{value:f(c)("message.save"),onOnClick:a},null,8,["value"])])]),_(p,{direction:"horizontal",ref:"navbar",style:{flex:"1"},"allow-close":!1},{default:w(()=>[(v(),N(ee,null,pe(n,(d,g)=>_(r,rt({key:g},d),{default:w(()=>[(v(),F(ne(d.component)))]),_:2},1040)),64))]),_:1},512)],64)}}};var ur=q(cr,[["__scopeId","data-v-07a9bc9f"]]),pr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ur});const dr={class:"magic-panel-api"},_r={setup(e){const t=ae("info"),n=P(-1);return(a,s)=>{const i=y("magic-panel-common-toolbar"),o=y("magic-checkbox"),l=y("magic-table-column"),r=y("magic-input"),p=y("magic-select"),d=y("magic-table");return v(),N("div",dr,[_(i,{index:n.value,"onUpdate:index":s[0]||(s[0]=g=>n.value=g),value:f(t).headers},null,8,["index","value"]),_(d,{data:f(t).headers,border:"",onClickRow:s[1]||(s[1]=g=>n.value=g),align:"center"},{default:w(()=>[_(l,{title:f(c)("message.required"),width:"65"},{default:w(({row:g})=>[_(o,{value:g.required,"onUpdate:value":h=>g.required=h},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:"Key"},{default:w(({row:g})=>[_(r,{value:g.name,"onUpdate:value":h=>g.name=h,border:!1},null,8,["value","onUpdate:value"])]),_:1}),_(l,{title:"Value"},{default:w(({row:g})=>[_(r,{value:g.value,"onUpdate:value":h=>g.value=h,border:!1},null,8,["value","onUpdate:value"])]),_:1}),_(l,{title:f(c)("message.parameterType"),width:"135"},{default:w(({row:g})=>[_(p,{options:a.$REQUEST_SIMPLE_TYPES,value:g.dataType,"onUpdate:value":h=>g.dataType=h,"default-select":a.$DEFAULT_REQUEST_SIMPLE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1},8,["title"]),_(l,{title:f(c)("message.defaultValue")},{default:w(({row:g})=>[_(r,{value:g.defaultValue,"onUpdate:value":h=>g.defaultValue=h,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("api.validateType"),width:"115"},{default:w(({row:g})=>[_(p,{options:a.$VALIDATE_TYPES,value:g.validateType,"onUpdate:value":h=>g.validateType=h,"default-select":a.$DEFAULT_VALIDATE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1},8,["title"]),_(l,{title:f(c)("api.expression"),width:"220"},{default:w(({row:g})=>[_(r,{value:g.expression,"onUpdate:value":h=>g.expression=h,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("api.validate"),width:"165"},{default:w(({row:g})=>[_(r,{value:g.error,"onUpdate:value":h=>g.error=h,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("message.description"),flex:"2"},{default:w(({row:g})=>[_(r,{value:g.description,"onUpdate:value":h=>g.description=h,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"])]),_:1},8,["data"])])}}};var hr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:_r});const fr={class:"magic-api-info"},mr={setup(e){const t=ae("info"),n=[{title:c("api.navbars.parameter"),component:ne("magic-api-parameter")},{title:c("api.navbars.header"),component:ne("magic-api-header")},{title:c("api.navbars.path"),component:ne("magic-api-path")},{title:c("api.navbars.body"),component:ne("magic-api-body")},{title:c("api.navbars.option"),component:ne("magic-api-option")},{title:c("api.navbars.description"),component:ne("magic-api-description")}];return(a,s)=>{const i=y("magic-select"),o=y("magic-input"),l=y("magic-navbar-item"),r=y("magic-navbar");return v(),N(ee,null,[A("div",fr,[A("form",null,[A("label",null,B(f(c)("api.form.method")),1),_(i,{width:"100px",options:a.$REQUEST_METHODS,"default-select":a.$DEFAULT_REQUEST_METHOD,value:f(t).method,"onUpdate:value":s[0]||(s[0]=p=>f(t).method=p)},null,8,["options","default-select","value"]),A("label",null,B(f(c)("api.form.name")),1),_(o,{value:f(t).name,"onUpdate:value":s[1]||(s[1]=p=>f(t).name=p),placeholder:f(c)("api.form.placeholder.name"),width:"200px"},null,8,["value","placeholder"]),A("label",null,B(f(c)("api.form.path")),1),_(o,{value:f(t).path,"onUpdate:value":s[2]||(s[2]=p=>f(t).path=p),placeholder:f(c)("api.form.placeholder.path"),width:"auto",style:{flex:"1"}},null,8,["value","placeholder"])])]),_(r,{direction:"horizontal",ref:"navbar",style:{flex:"1"},"allow-close":!1},{default:w(()=>[(v(),N(ee,null,pe(n,(p,d)=>_(l,rt({key:d},p),{default:w(()=>[(v(),F(ne(p.component)))]),_:2},1040)),64))]),_:1},512)],64)}}};var gr=q(mr,[["__scopeId","data-v-8ed3340e"]]),vr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:gr});const Er={class:"magic-panel-api"},br={setup(e){const t=ae("info"),n=ae("options")||[],a=re(()=>n.map(o=>({text:o[0],value:o[0],description:o[1],defaultValue:o[2]}))),s=P(-1),i=(o,l)=>{const r=n.find(p=>p[0]===o);r&&(l.description=r[1]||"",l.value=r[2]||"")};return(o,l)=>{const r=y("magic-panel-common-toolbar"),p=y("magic-select"),d=y("magic-table-column"),g=y("magic-input"),h=y("magic-table");return v(),N("div",Er,[_(r,{index:s.value,"onUpdate:index":l[0]||(l[0]=T=>s.value=T),value:f(t).options},null,8,["index","value"]),_(h,{data:f(t).options,border:"",onClickRow:l[1]||(l[1]=T=>s.value=T)},{default:w(()=>[_(d,{title:"Key",width:"20%"},{default:w(({row:T})=>[_(p,{options:f(a),value:T.name,"onUpdate:value":R=>T.name=R,"default-select":o.$DEFAULT_REQUEST_SIMPLE_TYPE,border:!1,inputable:"",onSelect:R=>i(R,T)},null,8,["options","value","onUpdate:value","default-select","onSelect"])]),_:1}),_(d,{title:"Value",width:"60%"},{default:w(({row:T})=>[_(g,{value:T.value,"onUpdate:value":R=>T.value=R,border:!1},null,8,["value","onUpdate:value"])]),_:1}),_(d,{title:f(c)("message.description"),width:"20%"},{default:w(({row:T})=>[_(g,{value:T.description,"onUpdate:value":R=>T.description=R,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"])]),_:1},8,["data"])])}}};var yr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:br});const Tr={class:"magic-panel-api"},Sr={setup(e){const t=P(-1),n=ae("info");return(a,s)=>{const i=y("magic-panel-common-toolbar"),o=y("magic-checkbox"),l=y("magic-table-column"),r=y("magic-input"),p=y("magic-file"),d=y("magic-select"),g=y("magic-table");return v(),N("div",Tr,[_(i,{index:t.value,"onUpdate:index":s[0]||(s[0]=h=>t.value=h),value:f(n).parameters},null,8,["index","value"]),_(g,{data:f(n).parameters,border:"",onClickRow:s[1]||(s[1]=h=>t.value=h),align:"center"},{default:w(()=>[_(l,{title:f(c)("message.required"),width:"65"},{default:w(({row:h})=>[_(o,{value:h.required,"onUpdate:value":T=>h.required=T},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:"Key"},{default:w(({row:h})=>[_(r,{value:h.name,"onUpdate:value":T=>h.name=T,border:!1},null,8,["value","onUpdate:value"])]),_:1}),_(l,{title:"Value"},{default:w(({row:h})=>[h.dataType==="MultipartFile"?(v(),F(p,{key:0,value:h.value,"onUpdate:value":T=>h.value=T,border:!1},null,8,["value","onUpdate:value"])):h.dataType==="MultipartFiles"?(v(),F(p,{key:1,value:h.value,"onUpdate:value":T=>h.value=T,border:!1,multiple:""},null,8,["value","onUpdate:value"])):(v(),F(r,{key:2,value:h.value,"onUpdate:value":T=>h.value=T,border:!1},null,8,["value","onUpdate:value"]))]),_:1}),_(l,{title:f(c)("message.parameterType"),width:"135"},{default:w(({row:h})=>[_(d,{options:a.$REQUEST_PARAMETER_TYPES,value:h.dataType,"onUpdate:value":T=>h.dataType=T,"default-select":a.$DEFAULT_REQUEST_PARAMETER_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1},8,["title"]),_(l,{title:f(c)("message.defaultValue")},{default:w(({row:h})=>[_(r,{value:h.defaultValue,"onUpdate:value":T=>h.defaultValue=T,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("api.validateType"),width:"115"},{default:w(({row:h})=>[_(d,{options:a.$VALIDATE_TYPES,value:h.validateType,"onUpdate:value":T=>h.validateType=T,"default-select":a.$DEFAULT_VALIDATE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1},8,["title"]),_(l,{title:f(c)("api.expression"),width:"220"},{default:w(({row:h})=>[_(r,{value:h.expression,"onUpdate:value":T=>h.expression=T,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("api.validate"),width:"165"},{default:w(({row:h})=>[_(r,{value:h.error,"onUpdate:value":T=>h.error=T,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("message.description"),flex:"2"},{default:w(({row:h})=>[_(r,{value:h.description,"onUpdate:value":T=>h.description=T,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"])]),_:1},8,["data"])])}}};var xr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Sr});const Or={class:"magic-panel-api"},Rr={setup(e){const t=P(-1),n=ae("info");return(a,s)=>{const i=y("magic-panel-common-toolbar"),o=y("magic-input"),l=y("magic-table-column"),r=y("magic-select"),p=y("magic-table");return v(),N("div",Or,[_(i,{index:t.value,"onUpdate:index":s[0]||(s[0]=d=>t.value=d),value:f(n).paths},null,8,["index","value"]),_(p,{data:f(n).paths,border:"",onClickRow:s[1]||(s[1]=d=>t.value=d),align:"center"},{default:w(()=>[_(l,{title:"Key"},{default:w(({row:d})=>[_(o,{value:d.name,"onUpdate:value":g=>d.name=g,border:!1},null,8,["value","onUpdate:value"])]),_:1}),_(l,{title:"Value"},{default:w(({row:d})=>[_(o,{value:d.value,"onUpdate:value":g=>d.value=g,border:!1},null,8,["value","onUpdate:value"])]),_:1}),_(l,{title:f(c)("message.parameterType"),width:"135"},{default:w(({row:d})=>[_(r,{options:a.$REQUEST_SIMPLE_TYPES,value:d.dataType,"onUpdate:value":g=>d.dataType=g,"default-select":a.$DEFAULT_REQUEST_SIMPLE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1},8,["title"]),_(l,{title:f(c)("api.validateType"),width:"115"},{default:w(({row:d})=>[_(r,{options:a.$VALIDATE_TYPES,value:d.validateType,"onUpdate:value":g=>d.validateType=g,"default-select":a.$DEFAULT_VALIDATE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1},8,["title"]),_(l,{title:f(c)("api.expression"),width:"220"},{default:w(({row:d})=>[_(o,{value:d.expression,"onUpdate:value":g=>d.expression=g,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("api.validate"),width:"165"},{default:w(({row:d})=>[_(o,{value:d.error,"onUpdate:value":g=>d.error=g,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("message.description"),flex:"2"},{default:w(({row:d})=>[_(o,{value:d.description,"onUpdate:value":g=>d.description=g,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"])]),_:1},8,["data"])])}}};var Ar=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Rr});const Ir={setup(e){const t=ae("info"),n=ae("opened"),a=()=>{const s=Sa(t.value.requestBody,t.value.requestBodyDefinition);s&&(t.value.requestBodyDefinition=s,n.value.requestBodyTree=Kt(s))};return(s,i)=>{const o=y("magic-monaco-editor");return v(),F(o,{value:f(t).requestBody,"onUpdate:value":i[0]||(i[0]=l=>f(t).requestBody=l),language:"json",onChange:a},null,8,["value"])}}};var Cr=q(Ir,[["__scopeId","data-v-5ab7df51"]]),Lr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Cr});const Nr=["onClick"],wr=["title"],kr={key:0,align:"center",style:{flex:"1"}},Dr={key:1,align:"center",style:{flex:"1"}},Mr={setup(e){const t=ae("opened"),n=re(()=>{var s,i;return!t.value.requestBodyTree&&((i=(s=t.value)==null?void 0:s.item)==null?void 0:i.requestBodyDefinition)&&(t.value.requestBodyTree=Kt(t.value.item.requestBodyDefinition)),(t.value.requestBodyTree||[]).filter(o=>o.display)}),a=s=>{const i=t.value.requestBodyTree.findIndex(l=>l===s),o=s.level;s.expand=!s.expand;for(let l=i+1,r=t.value.requestBodyTree.length;lo)p.display=s.expand;else break}};return(s,i)=>{const o=y("magic-icon"),l=y("magic-table-column"),r=y("magic-checkbox"),p=y("magic-select"),d=y("magic-input"),g=y("magic-table");return v(),F(g,{data:f(n),border:""},{default:w(()=>[_(l,{title:f(c)("api.field")},{default:w(({row:h})=>[A("span",{style:Be({paddingLeft:`${(h.level+(h.folder?0:1))*16}px`}),onClick:T=>a(h)},[h.folder?(v(),F(o,{key:0,icon:h.expand?"arrow-bottom":"arrow-right"},null,8,["icon"])):X("",!0)],12,Nr),A("span",{title:h.name||"-"},B(h.name||"-"),9,wr)]),_:1},8,["title"]),_(l,{title:f(c)("message.required"),width:"65"},{default:w(({row:h})=>[_(r,{value:h.node.required,"onUpdate:value":T=>h.node.required=T},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("message.type"),width:"80"},{default:w(({row:h})=>[_(p,{options:s.$BODY_DATA_TYPES,value:h.node.dataType,"onUpdate:value":T=>h.node.dataType=T,border:!1},null,8,["options","value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:"Value",flex:"2"},{default:w(({row:h})=>{var T;return[h.folder?(v(),N("p",kr,"-")):(v(),N("span",{key:1,class:me(["magic-data-type",(T=h.node.dataType)==null?void 0:T.toLowerCase()])},B(h.node.value),3))]}),_:1}),_(l,{title:f(c)("message.defaultValue")},{default:w(({row:h})=>[_(d,{value:h.node.defaultValue,"onUpdate:value":T=>h.node.defaultValue=T,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("api.validateType"),width:"115"},{default:w(({row:h})=>[_(p,{options:s.$VALIDATE_TYPES,value:h.node.validateType,"onUpdate:value":T=>h.node.validateType=T,"default-select":s.$DEFAULT_VALIDATE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1},8,["title"]),_(l,{title:f(c)("api.expression")},{default:w(({row:h})=>[_(d,{value:h.node.expression,"onUpdate:value":T=>h.node.expression=T,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("api.validate")},{default:w(({row:h})=>[_(d,{value:h.node.error,"onUpdate:value":T=>h.node.error=T,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("message.description")},{default:w(({row:h})=>[h.name?(v(),F(d,{key:0,value:h.node.description,"onUpdate:value":T=>h.node.description=T,border:!1},null,8,["value","onUpdate:value"])):(v(),N("p",Dr,"-"))]),_:1},8,["title"])]),_:1},8,["data"])}}};var Pr=q(Mr,[["__scopeId","data-v-bda6618c"]]),Ur=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Pr});const $r=["src"],Br={setup(e){const t=ae("info"),n=ae("opened"),a=P(null),s=ae("ELEMENT_ROOT"),i=re(()=>new se(t.value.responseBody||"").beautify()),o=re(()=>{if(n.value.responseBlob){const r=n.value.responseHeaders["content-disposition"];if(r){const p=r.replace(/.*filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/,"$1");fn(n.value.responseBlobValue,p);return}return URL.createObjectURL(n.value.responseBlobValue)}}),l=r=>{const p=getComputedStyle(s.value),d=a.value.contentWindow.document.body.style;d.color=p.getPropertyValue("--main-color"),d.backgroundColor=p.getPropertyValue("--main-background-color")};return(r,p)=>{const d=y("magic-monaco-editor"),g=y("magic-empty");return f(n).responseBlob?f(o)?(v(),N("iframe",{key:1,src:f(o),onLoad:l,ref_key:"iframe",ref:a},null,40,$r)):(v(),F(g,{key:2,text:f(c)("message.empty",f(c)("message.responseBody"))},null,8,["text"])):(v(),F(d,{key:0,value:f(i),"onUpdate:value":p[0]||(p[0]=h=>Kn(i)?i.value=h:null),language:"json",readonly:!0},null,8,["value"]))}}};var Fr=q(Br,[["__scopeId","data-v-bbc94624"]]),Hr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Fr});const Vr=["title"],Gr=["title"],jr={setup(e){const t=ae("opened"),n=re(()=>Object.keys(t.value.responseHeaders||{}).map(a=>({key:a,value:t.value.responseHeaders[a]})));return(a,s)=>{const i=y("magic-table-column"),o=y("magic-table");return v(),F(o,{data:f(n),border:""},{default:w(()=>[_(i,{title:"Key"},{default:w(({row:l})=>[A("span",{title:l.key},B(l.key),9,Vr)]),_:1}),_(i,{title:"Value"},{default:w(({row:l})=>[A("span",{title:l.value},B(l.value),9,Gr)]),_:1})]),_:1},8,["data"])}}};var zr=q(jr,[["__scopeId","data-v-76813707"]]),Yr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:zr});const qr=["onClick"],Kr={key:0,align:"center",style:{flex:"1"}},Wr={key:1,align:"center",style:{flex:"1"}},Xr={setup(e){const t=ae("opened"),n=s=>{const i=t.value.responseBodyTree.findIndex(l=>l===s),o=s.level;s.expand=!s.expand;for(let l=i+1,r=t.value.responseBodyTree.length;lo)p.display=s.expand;else break}},a=re(()=>{var s,i;return!t.value.responseBodyTree&&((i=(s=t.value)==null?void 0:s.item)==null?void 0:i.responseBodyDefinition)&&(t.value.responseBodyTree=Kt(t.value.item.responseBodyDefinition)),(t.value.responseBodyTree||[]).filter(o=>o.display)});return(s,i)=>{const o=y("magic-icon"),l=y("magic-table-column"),r=y("magic-select"),p=y("magic-input"),d=y("magic-table"),g=y("magic-empty");return f(a).length?(v(),F(d,{key:0,data:f(a),border:""},{default:w(()=>[_(l,{title:f(c)("api.field")},{default:w(({row:h})=>[A("span",{style:Be({paddingLeft:`${(h.level+(h.folder?0:1))*16}px`}),onClick:T=>n(h)},[h.folder?(v(),F(o,{key:0,icon:h.expand?"arrow-bottom":"arrow-right"},null,8,["icon"])):X("",!0)],12,qr),A("span",null,B(h.name||"-"),1)]),_:1},8,["title"]),_(l,{title:f(c)("message.type"),width:"80"},{default:w(({row:h})=>[_(r,{options:s.$BODY_DATA_TYPES,value:h.node.dataType,"onUpdate:value":T=>h.node.dataType=T,border:!1},null,8,["options","value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:"Value",flex:"3"},{default:w(({row:h})=>{var T;return[h.folder?(v(),N("p",Kr,"-")):(v(),N("span",{key:1,class:me(["magic-data-type",(T=h.node.dataType)==null?void 0:T.toLowerCase()])},B(h.node.value),3))]}),_:1}),_(l,{title:f(c)("message.description")},{default:w(({row:h})=>[h.name?(v(),F(p,{key:0,value:h.node.description,"onUpdate:value":T=>h.node.description=T,border:!1},null,8,["value","onUpdate:value"])):(v(),N("p",Wr,"-"))]),_:1},8,["title"])]),_:1},8,["data"])):(v(),F(g,{key:1,text:f(c)("message.empty",f(c)("message.responseBody"))},null,8,["text"]))}}};var Jr=q(Xr,[["__scopeId","data-v-051e4f5a"]]),Qr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Jr});const Zr={class:"magic-panel-api-response"},ec={props:{opened:Object},setup(e){const t=[{title:c("message.responseBody"),component:ne("magic-api-response-body")},{title:c("message.responseHeader"),component:ne("magic-api-response-header")},{title:c("message.responseStructure"),component:ne("magic-api-response-structure")}];return(n,a)=>{const s=y("magic-navbar-item"),i=y("magic-navbar");return v(),N("div",Zr,[_(i,{direction:"horizontal",ref:"navbar",style:{flex:"1"},"allow-close":!1},{default:w(()=>[(v(),N(ee,null,pe(t,(o,l)=>_(s,{key:l,title:o.title},{default:w(()=>[(v(),F(Qa,null,[(v(),F(ne(o.component),{opened:e.opened},null,8,["opened"]))],1024))]),_:2},1032,["title"])),64))]),_:1},512)])}}};var tc=q(ec,[["__scopeId","data-v-a23b6466"]]),nc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:tc});const ac={class:"magic-panel-global"},sc={setup(e){const t=P(M.GLOBAL),n=P(-1);return(a,s)=>{const i=y("magic-panel-common-toolbar"),o=y("magic-input"),l=y("magic-table-column"),r=y("magic-table");return v(),N("div",ac,[_(i,{index:n.value,"onUpdate:index":s[0]||(s[0]=p=>n.value=p),value:t.value.headers},null,8,["index","value"]),_(r,{data:t.value.headers,border:"",onClickRow:s[1]||(s[1]=p=>n.value=p)},{default:w(()=>[_(l,{title:"Key"},{default:w(({row:p})=>[_(o,{value:p.name,"onUpdate:value":d=>p.name=d,border:!1},null,8,["value","onUpdate:value"])]),_:1}),_(l,{title:"Value"},{default:w(({row:p})=>[_(o,{value:p.value,"onUpdate:value":d=>p.value=d,border:!1},null,8,["value","onUpdate:value"])]),_:1})]),_:1},8,["data"])])}}};var ic=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:sc});const oc={class:"magic-panel-global"},lc={setup(e){const t=P(-1),n=P(M.GLOBAL);return(a,s)=>{const i=y("magic-panel-common-toolbar"),o=y("magic-input"),l=y("magic-table-column"),r=y("magic-file"),p=y("magic-table");return v(),N("div",oc,[_(i,{index:t.value,"onUpdate:index":s[0]||(s[0]=d=>t.value=d),value:n.value.parameters},null,8,["index","value"]),_(p,{data:n.value.parameters,border:"",onClickRow:s[1]||(s[1]=d=>t.value=d)},{default:w(()=>[_(l,{title:"Key"},{default:w(({row:d})=>[_(o,{value:d.name,"onUpdate:value":g=>d.name=g,border:!1},null,8,["value","onUpdate:value"])]),_:1}),_(l,{title:"Value"},{default:w(({row:d})=>[d.dataType==="MultipartFile"?(v(),F(r,{key:0,value:d.value,"onUpdate:value":g=>d.value=g,border:!1},null,8,["value","onUpdate:value"])):d.dataType==="MultipartFiles"?(v(),F(r,{key:1,value:d.value,"onUpdate:value":g=>d.value=g,border:!1,multiple:""},null,8,["value","onUpdate:value"])):(v(),F(o,{key:2,value:d.value,"onUpdate:value":g=>d.value=g,border:!1},null,8,["value","onUpdate:value"]))]),_:1})]),_:1},8,["data"])])}}};var rc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:lc});const cc={class:"magic-global"},uc={setup(e){const t=[{title:"\u5168\u5C40\u8BF7\u6C42\u53C2\u6570",component:ne("magic-global-parameter")},{title:"\u5168\u5C40\u8BF7\u6C42Header",component:ne("magic-global-header")}];return(n,a)=>{const s=y("magic-navbar-item"),i=y("magic-navbar");return v(),N("div",cc,[_(i,{direction:"horizontal",ref:"navbar",style:{flex:"1"},"allow-close":!1},{default:w(()=>[(v(),N(ee,null,pe(t,(o,l)=>_(s,rt({key:l},o),{default:w(()=>[(v(),F(ne(o.component)))]),_:2},1040)),64))]),_:1},512)])}}};var pc=q(uc,[["__scopeId","data-v-03e7bbcc"]]),dc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:pc});const _c={props:{value:Array,index:Number},emits:["update:index"],setup(e,{emit:t}){const n=e,a=[{title:c("message.addRow"),icon:"plus",onClick(){n.value.push({}),t("update:index",n.value.length-1)}},{title:c("message.removeRow"),icon:"minus",onClick(){n.value.length>0&&(n.value.splice(n.index==-1?n.value.length-1:n.index,1),t("update:index",-1))}}];return(s,i)=>{const o=y("magic-panel-toolbar");return v(),F(o,{toolbars:a})}}};var hc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:_c});const fc={class:"magic-panel-toolbar"},mc=["title","onClick"],gc={props:{toolbars:Array},setup(e){return(t,n)=>{const a=y("magic-icon");return v(),N("ul",fc,[(v(!0),N(ee,null,pe(e.toolbars,(s,i)=>(v(),N("li",{key:i,title:s.title,onClick:ve(o=>s.disabled!==!0&&s.onClick(),["stop"]),class:me({disabled:s.disabled})},[_(a,{icon:s.icon},null,8,["icon"])],10,mc))),128))])}}};var vc=q(gc,[["__scopeId","data-v-334c3387"]]),Ec=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:vc});const bc={class:"magic-resource-choose"},yc={key:1},Tc={key:2},Sc={props:{value:[Array,Object],type:String,single:{type:Boolean,default:()=>!1},file:{type:Boolean,default:()=>!0}},emits:["update:value"],setup(e,{expose:t,emit:n}){const a=e,s=ae("resources"),i=ae("service"),o=P([]),l=()=>{let R=[],D=b=>{b.id.endsWith("-root")?R.push({type:"root",id:b.type}):R.push({type:b.folder?"group":b.type,id:b.id}),b.children&&b.children.filter(m=>m.selected).forEach(m=>D(m))};o.value.filter(b=>b.selected).forEach(b=>D(b)),n("update:value",a.single?R[0]:R)},r=(R,D)=>{let b=[];return R&&R.forEach(m=>{var x;if(m.folder||a.file){if(m.folder)m.icon="list";else{const C=(x=i[D.type])==null?void 0:x.getIcon;m.icon=C&&C(m)||D.icon,m.textIcon=C!==void 0,m.type=D.type}b.push(m)}m.folder&&m.children&&(m.children=r(m.children,D))}),b},p=R=>{let D=R,b=[],m=x=>{x.forEach(C=>{C.id===D?(b.push(C),D=C.parentId||C.groupId,m(o.value)):C.children&&C.children.length>0&&m(C.children)})};return m(o.value),b},d=(R,D)=>{D!==void 0&&(R.selected=D);let b=m=>{m.selected=a.single?!1:R.selected,m.checkedHalf=a.single?!1:!R.selected,m.children&&m.children.forEach(x=>b(x))};R.children&&R.children.forEach(m=>b(m)),R.folder&&(R.checkedHalf=!1),p(R.folder?R.parentId:R.groupId).forEach(m=>{m.selected=a.single?!1:m.children.some(x=>x.selected),m.checkedHalf=a.single?!1:m.children.some(x=>!x.selected||x.checkedHalf)}),a.single?n("update:value",R.selected?R:void 0):l()},g=R=>d(R,!R.selected);return s().filter(R=>!a.type||a.type===R.navbar.type).forEach(R=>{const D=R.navbar.type,b=r(R.tree,R.navbar);b.forEach(m=>{m.folder?m.parentId=D+"-root":m.groupId=D+"-root"}),o.value.push({icon:R.navbar.icon,name:R.navbar.title,iconClass:"root",folder:!0,opened:!0,type:R.navbar.type,id:D+"-root",children:b})}),t({selectAll:R=>Xe(o.value,D=>{D.checkedHalf=!1,D.selected=R,D.children&&D.children.forEach(b=>b.selected=R),l()}),expand:R=>Xe(o.value,D=>{D.folder&&(D.opened=R)})}),(R,D)=>{const b=y("magic-checkbox"),m=y("magic-icon"),x=y("magic-text-icon"),C=y("magic-tree");return v(),N("div",bc,[_(C,{data:o.value,sort:!1,onItemClick:g},{folder:w(({item:O})=>[_(b,{value:O.selected,"onUpdate:value":I=>O.selected=I,"checked-half":O.checkedHalf,onChange:I=>d(O)},null,8,["value","onUpdate:value","checked-half","onChange"]),O.children&&O.children.length>0?(v(),F(m,{key:0,icon:O.opened?"arrow-bottom":"arrow-right",onClick:ve(I=>O.opened=!O.opened,["stop"])},null,8,["icon","onClick"])):X("",!0),_(m,{icon:O.icon,class:me(O.iconClass)},null,8,["icon","class"]),A("label",null,B(O.name),1),O.path?(v(),N("span",yc,"("+B(O.path)+")",1)):X("",!0)]),file:w(({item:O})=>[_(b,{value:O.selected,"onUpdate:value":I=>O.selected=I,"checked-half":O.checkedHalf,onChange:I=>d(O)},null,8,["value","onUpdate:value","checked-half","onChange"]),O.textIcon?(v(),F(x,{key:0,icon:O.icon},null,8,["icon"])):(v(),F(m,{key:1,icon:O.icon},null,8,["icon"])),A("label",null,B(O.name),1),O.path?(v(),N("span",Tc,"("+B(O.path)+")",1)):X("",!0)]),_:1},8,["data"])])}}};var xc=q(Sc,[["__scopeId","data-v-7eb90c29"]]),Oc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:xc});const Rc={class:"magic-form-row"},Ac={class:"magic-form-row"},Ic=A("label",null,"Key",-1),Cc={class:"magic-form-row"},Lc=A("label",null,"URL",-1),Nc={class:"magic-form-row"},wc={class:"magic-form-row"},kc={class:"magic-form-row"},Dc={class:"magic-form-row"},Mc={class:"magic-form-row"},Pc=A("label",null,"maxRows",-1),Uc={class:"magic-form-row"},$c={props:{info:Object},setup(e){const{info:t}=e,n=P(JSON.stringify(t.properties||{}));return mt(n,a=>{try{t.properties=JSON.parse(a)}catch{t.properties={}}}),(a,s)=>{const i=y("magic-input"),o=y("magic-select"),l=y("magic-monaco-editor");return v(),N(ee,null,[A("div",Rc,[A("label",null,B(f(c)("message.name")),1),_(i,{value:e.info.name,"onUpdate:value":s[0]||(s[0]=r=>e.info.name=r),placeholder:f(c)("datasource.form.placeholder.name")},null,8,["value","placeholder"])]),A("div",Ac,[Ic,_(i,{value:e.info.key,"onUpdate:value":s[1]||(s[1]=r=>e.info.key=r),placeholder:f(c)("datasource.form.placeholder.key")},null,8,["value","placeholder"])]),A("div",Cc,[Lc,_(i,{value:e.info.url,"onUpdate:value":s[2]||(s[2]=r=>e.info.url=r),placeholder:f(c)("datasource.form.placeholder.url")},null,8,["value","placeholder"])]),A("div",Nc,[A("label",null,B(f(c)("message.username")),1),_(i,{value:e.info.username,"onUpdate:value":s[3]||(s[3]=r=>e.info.username=r),placeholder:f(c)("datasource.form.placeholder.username")},null,8,["value","placeholder"])]),A("div",wc,[A("label",null,B(f(c)("message.password")),1),_(i,{value:e.info.password,"onUpdate:value":s[4]||(s[4]=r=>e.info.password=r),type:"password",placeholder:f(c)("datasource.form.placeholder.password")},null,8,["value","placeholder"])]),A("div",kc,[A("label",null,B(f(c)("datasource.form.driver")),1),_(o,{inputable:"",value:e.info.driverClassName,"onUpdate:value":s[5]||(s[5]=r=>e.info.driverClassName=r),width:"100%",options:f(M).JDBC_DRIVERS.map(r=>({text:r,value:r})),placeholder:f(c)("datasource.form.placeholder.driver")},null,8,["value","options","placeholder"])]),A("div",Dc,[A("label",null,B(f(c)("datasource.form.type")),1),_(o,{inputable:"",value:e.info.type,"onUpdate:value":s[6]||(s[6]=r=>e.info.type=r),width:"100%",options:f(M).DATASOURCE_TYPES.map(r=>({text:r,value:r})),placeholder:f(c)("datasource.form.placeholder.type")},null,8,["value","options","placeholder"])]),A("div",Mc,[Pc,_(i,{value:e.info.maxRows,"onUpdate:value":s[7]||(s[7]=r=>e.info.maxRows=r),placeholder:f(c)("datasource.form.placeholder.maxRows"),"default-value":-1,type:"number"},null,8,["value","placeholder"])]),A("div",Uc,[A("label",null,B(f(c)("datasource.form.other")),1),_(l,{language:"json",value:n.value,"onUpdate:value":s[8]||(s[8]=r=>n.value=r),style:{height:"150px"}},null,8,["value"])])],64)}}};var Bc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$c});const Fc={class:"magic-backup"},Hc={class:"magic-backup-diff-container"},Vc={class:"magic-backup-diff-header"},Gc={setup(e){const t=P(!0),n=[{icon:"refresh",title:c("message.refresh"),onClick(){h()}},{icon:"copy",title:c("backup.full"),onClick(){z.sendPost("/backup/full").success(()=>{E.status("backup.backupSuccess"),h()})}}],a=P([]),s=P([]),i=P(!1),o=P(!0),l=P(""),r=P({});let p=!1,d=!1,g;const h=O=>{t.value=!0,z.sendGet("/backups",{timestamp:O}).success(I=>{O?s.value.push(...I):s.value=I,(d=I.length>=100)&&(g=I[I.length-1].createDate),t.value=!1})},T=ae("service"),R=O=>{var I,L;return O.endsWith("-group")?c("message.group",((I=T[O.replace("-group","")])==null?void 0:I.name)||"Unknown"):O==="full"?c("backup.full"):((L=T[O])==null?void 0:L.name)||O};let D=!1;E.$on(U.LOAD_RESOURCES_FINISH,O=>O||h());const b=()=>{d&&!p&&h(g)};ht(()=>{!D&&M.LOGINED&&h(),D=!0});const{proxy:m}=_t(),x=(O,I)=>{const L=[];I.id!=="full"&&!I.id.endsWith("-group")&&L.push({icon:"difference",label:c("backup.difference"),onClick(){l.value=Ct(I.createDate),i.value=!0,o.value=!0,Promise.all([new Promise($=>z.sendGet("/backup",{id:I.id,timestamp:I.createDate}).success(G=>$(G))),new Promise($=>z.sendGet("/resource/file/"+I.id).success(G=>$((G==null?void 0:G.script)||"")))]).then($=>{r.value=I,o.value=!1,a.value=$}).catch($=>{console.error($),i.value=!1})}}),(I.id==="full"||!I.id.endsWith("-group"))&&L.push({icon:"rollback",label:c("backup.rollback"),onClick(){const $=`${I.name}(${Ct(I.createDate)})`;ge.confirm(c("backup.rollback"),c("backup.rollbackConfirm"),()=>{z.sendPost("/backup/rollback",{id:I.id,timestamp:I.createDate}).success(G=>{G?(E.report("resource-rollback-full"),E.status("backup.rollbackSuccess",!0,$),E.$emit(U.LOAD_RESOURCES)):(ge.alert(c("backup.rollbackFailed",$)),E.status("backup.rollbackFailed",!1,$))})})}}),L.length>0&&m.$contextmenu({event:O,menus:L})},C=()=>{i.value=!1;const O=`${r.value.name}(${Ct(r.value.createDate)})`;z.sendPost("/backup/rollback",{id:r.value.id,timestamp:r.value.createDate}).success(I=>{I?(E.report("resource-rollback"),ge.alert(c("backup.rollbackSuccess",O)),E.status("backup.rollbackSuccess",!0,O),E.$emit(U.LOAD_RESOURCES,r.value.type)):(ge.alert(c("backup.rollbackFailed",O)),E.status("backup.rollbackFailed",!1,O))})};return(O,I)=>{const L=y("magic-panel-toolbar"),$=y("magic-loading"),G=y("magic-table-column"),oe=y("magic-table"),ke=y("magic-empty"),Ce=y("magic-monaco-diff-editor"),Q=y("magic-button"),fe=y("magic-button-group"),$e=y("magic-dialog");return v(),N(ee,null,[A("div",Fc,[_(L,{toolbars:n}),A("div",null,[_($,{loading:t.value},null,8,["loading"]),s.value.length>0?(v(),F(oe,{key:0,data:s.value,border:!0,onContextmenu:x,onLoadNext:b},{default:w(()=>[_(G,{title:f(c)("message.date"),width:"160"},{default:w(({row:Le})=>[Ee(B(f(Ct)(Le.createDate)),1)]),_:1},8,["title"]),_(G,{title:f(c)("message.type"),width:"90"},{default:w(({row:Le})=>[A("span",null,B(R(Le.type)),1)]),_:1},8,["title"]),_(G,{title:f(c)("history.operator"),width:"100"},{default:w(({row:Le})=>[Ee(B(Le.createBy||"guest"),1)]),_:1},8,["title"]),_(G,{title:f(c)("message.name"),align:"left"},{default:w(({row:Le})=>[Ee(B(Le.name),1)]),_:1},8,["title"])]),_:1},8,["data"])):(v(),F(ke,{key:1,text:f(c)("message.empty",f(c)("history.name"))},null,8,["text"]))])]),_($e,{value:i.value,"onUpdate:value":I[1]||(I[1]=Le=>i.value=Le),title:f(c)("history.name"),width:"80%",maxWidth:"100%",top:"60px",height:"80%",className:"magic-dialog-diff"},{default:w(()=>[A("div",Hc,[A("div",Vc,[A("div",null,B(l.value),1),A("div",null,B(f(c)("backup.current")),1)]),o.value?(v(),F($,{key:1,loading:o.value},null,8,["loading"])):(v(),F(Ce,{key:0,value:a.value,"onUpdate:value":I[0]||(I[0]=Le=>a.value=Le),language:"magicscript"},null,8,["value"]))]),_(fe,{align:"right"},{default:w(()=>[_(Q,{value:f(c)("backup.rollback"),type:"active",onClick:C},null,8,["value"])]),_:1})]),_:1},8,["value","title"])],64)}}};var jc=q(Gc,[["__scopeId","data-v-cb15f9da"]]),zc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:jc});const lt=e=>(rn("data-v-71b796dc"),e=e(),cn(),e),Yc={class:"magic-debug"},qc={class:"magic-debug-variables"},Kc={key:0,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Wc=lt(()=>A("path",{d:"M201.472 320h-49.6V129.408l-59.2 18.368v-40.32L196.16 70.4h5.312V320z m50.816 320.128H81.024v-33.92l80.832-86.208c6.016-6.656 11.136-12.672 15.36-18.176a133.76 133.76 0 0 0 10.112-15.104 57.728 57.728 0 0 0 5.504-12.8 42.88 42.88 0 0 0 1.6-11.392c0-11.136-2.816-19.84-8.384-26.24-5.632-6.272-13.632-9.472-24.064-9.472a36.224 36.224 0 0 0-15.488 3.2 31.808 31.808 0 0 0-11.328 8.704 39.232 39.232 0 0 0-6.976 13.312 56.32 56.32 0 0 0-2.368 16.832h-49.792c0-11.2 1.984-21.76 6.016-31.744 3.968-9.984 9.792-18.624 17.28-26.112 7.616-7.424 16.704-13.312 27.392-17.664 10.688-4.352 22.784-6.528 36.16-6.528 13.12 0 24.768 1.664 34.88 4.928 10.176 3.2 18.624 7.872 25.536 13.952 6.848 6.08 12.032 13.504 15.616 22.336 3.52 8.768 5.312 18.688 5.312 29.696 0 8.32-1.28 16.384-3.968 24.192-2.56 7.744-6.336 15.552-11.136 23.296a190.08 190.08 0 0 1-17.408 23.68 528.64 528.64 0 0 1-22.784 24.768l-44.096 46.464h107.456v40zM131.456 812.8h26.432c12.608 0 21.888-3.136 27.968-9.408a34.56 34.56 0 0 0 9.088-25.088 38.656 38.656 0 0 0-2.048-12.8 26.304 26.304 0 0 0-16.832-16.704 42.112 42.112 0 0 0-14.912-2.432 41.792 41.792 0 0 0-12.928 1.984 33.664 33.664 0 0 0-10.688 5.568 25.6 25.6 0 0 0-9.856 20.608H78.08a60.8 60.8 0 0 1 6.4-28.032c4.352-8.448 10.176-15.552 17.536-21.44 7.424-5.888 16-10.496 25.984-13.76 9.984-3.2 20.608-4.864 32-4.864 12.544 0 24 1.472 34.368 4.48 10.368 3.072 19.2 7.616 26.688 13.632 7.424 5.952 13.184 13.44 17.28 22.272 4.16 8.896 6.208 19.2 6.208 30.848a52.8 52.8 0 0 1-9.856 30.72 67.968 67.968 0 0 1-28.032 22.976 62.08 62.08 0 0 1 31.488 22.656 61.44 61.44 0 0 1 10.368 35.712 66.56 66.56 0 0 1-25.408 54.336c-7.872 6.208-17.28 10.88-28.032 14.208a121.024 121.024 0 0 1-66.368 0.64 81.92 81.92 0 0 1-27.2-13.248 68.032 68.032 0 0 1-19.2-22.4 66.304 66.304 0 0 1-7.296-32h49.6a29.824 29.824 0 0 0 10.368 22.912 36.48 36.48 0 0 0 11.584 6.592 48.64 48.64 0 0 0 30.4 0 30.336 30.336 0 0 0 19.392-17.792 46.208 46.208 0 0 0-0.256-31.04 28.544 28.544 0 0 0-8.192-11.584 34.304 34.304 0 0 0-12.928-6.592 63.104 63.104 0 0 0-17.088-2.176h-26.432V812.8z",fill:"#9AA7B0"},null,-1)),Xc=lt(()=>A("path",{d:"M384 128h512v192H384zM384 768h512v192H384zM384 448h512v192H384z",fill:"#40B6E0","fill-opacity":".7"},null,-1)),Jc=[Wc,Xc],Qc={key:1,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Zc=lt(()=>A("path",{d:"M192 128h640v192H192zM192 384h640v192H192zM192 640h640v192H192z",fill:"#F4AF3D","fill-opacity":".6"},null,-1)),eu=[Zc],tu={class:"key"},nu=lt(()=>A("label",{class:"separator"},"=",-1)),au={key:2,class:"object-type"},su={key:3,class:"object-type"},iu={key:0,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},ou=lt(()=>A("path",{d:"M128 128h768v768H128z",fill:"#40B6E0","fill-opacity":".6","p-id":"8251"},null,-1)),lu=lt(()=>A("path",{d:"M691.968 704V422.912l-62.464 15.36L613.12 373.76l102.912-30.72h53.76V704h-77.824z m-284.288 6.144c-95.744 0-158.72-80.384-158.72-184.32V524.8c0-103.936 64.512-185.344 159.744-185.344 94.72 0 158.72 80.384 158.72 184.32V524.8c0 103.936-64 185.344-159.744 185.344z m1.408-71.168c47.616 0 77.824-48.128 77.824-113.152V524.8c0-65.024-31.744-114.176-78.848-114.176S330.24 458.24 330.24 523.776V524.8c0 65.536 31.232 114.176 78.848 114.176z",fill:"#231F20","fill-opacity":".7","p-id":"8252"},null,-1)),ru=[ou,lu],cu={key:1,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},uu=lt(()=>A("path",{d:"M192 128h640v192H192zM192 384h640v192H192zM192 640h640v192H192z",fill:"#F4AF3D","fill-opacity":".6"},null,-1)),pu=[uu],du={class:"key"},_u=lt(()=>A("label",{class:"separator"},"=",-1)),hu={key:2,class:"object-type"},fu={setup(e){const t=ae("opened"),n=re(()=>!t.value.variables),a=P([{title:c("editor.tooltip.resume")+"(F8)",icon:"continue",disabled:n,onClick(){E.$emit(U.DEBUG_CONTINUE)}},{title:c("editor.tooltip.stepInto")+"(F6)",icon:"step-over",disabled:n,onClick(){E.$emit(U.DEBUG_SETPINTO)}},{title:c("resource.header.expand"),icon:"expand-all",disabled:n,onClick:()=>Xe(t.value.variables,s=>s.opened=!0)},{title:c("resource.header.collapse"),icon:"collapse-all",disabled:n,onClick:()=>Xe(t.value.variables,s=>s.opened=!1)}]);return(s,i)=>{const o=y("magic-panel-toolbar"),l=y("magic-icon"),r=y("magic-tree"),p=y("magic-empty");return v(),N("div",Yc,[_(o,{toolbars:a.value},null,8,["toolbars"]),A("div",qc,[f(t).variables?(v(),F(r,{key:0,data:f(t).variables},{folder:w(({item:d})=>[_(l,{icon:d.opened?"arrow-bottom":"arrow-right",onClick:ve(g=>d.opened=!d.opened,["stop"])},null,8,["icon","onClick"]),d.dataType==="array"?(v(),N("svg",Kc,Jc)):(v(),N("svg",Qc,eu)),A("label",tu,B(d.name),1),nu,d.size?(v(),N("span",au,"("+B(d.size)+")",1)):X("",!0),d.type?(v(),N("span",su,B(`{${d.type}}`),1)):X("",!0)]),file:w(({item:d})=>[_(l,{icon:"empty"}),d.dataType==="number"?(v(),N("svg",iu,ru)):(v(),N("svg",cu,pu)),A("label",du,B(d.name),1),_u,A("span",{class:me(["magic-data-type",d.dataType])},B(d.value),3),d.type&&!d.isNull?(v(),N("span",hu," ("+B(d.type)+")",1)):X("",!0)]),_:1},8,["data"])):(v(),F(p,{key:1,text:f(c)("message.empty",f(c)("message.variable"))},null,8,["text"]))])])}}};var mu=q(fu,[["__scopeId","data-v-71b796dc"]]),gu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:mu});const vu={class:"magic-event"},Eu=["innerHTML"],bu={setup(e){const t=E.getStatusLog(),n=[{title:c("message.clear"),icon:"clear",onClick:()=>{E.clearStatusLog()}}];return(a,s)=>{const i=y("magic-panel-toolbar"),o=y("magic-table-column"),l=y("magic-table");return v(),N("div",vu,[_(i,{toolbars:n}),A("div",null,[_(l,{data:f(t),border:"",align:"left"},{default:w(()=>[_(o,{title:f(c)("message.date"),width:"180"},{default:w(({row:r})=>[Ee(B(r.timestamp),1)]),_:1},8,["title"]),_(o,{title:f(c)("event.message")},{default:w(({row:r})=>[A("div",{innerHTML:r.content},null,8,Eu)]),_:1},8,["title"])]),_:1},8,["data"])])])}}};var yu=q(bu,[["__scopeId","data-v-06d5ba36"]]),Tu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:yu});const Su=["innerHTML"],xu=["onClick"],Ou={setup(e){const t=P([]),n=P(null),{proxy:a}=_t(),s=o=>{a.$contextmenu({event:o,menus:[{icon:"delete",label:c("message.clear"),onClick:()=>t.value.splice(0)},{icon:"expand-all",label:c("resource.header.expand"),onClick:()=>t.value.forEach(l=>l.showMore=!0)},{icon:"collapse-all",label:c("resource.header.collapse"),onClick:()=>t.value.forEach(l=>l.showMore=!1)}]})},i=o=>{const l=o.map(r=>{let p=r.replace(/[&<>]/gm,function(g){return g==="&"?"&":g==="<"?"<":g===">"?">":""});p=p.replace(/(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{3}\s+)([^\s]+)( --- \[)(.{15})(] )(.{40})/gm,'$1 $2$3$4$5$6'),p=p.replace(/(https?:\/\/[^\s]+)/gm,'$1'),p=p.replace(/(\tat .*\()(.*?:\d+)(\).*?[\r\n])/g,'$1$2$3');let d=r.split(`
-`).length;return{html:p,multiple:d>3,lines:d-4,showMore:!1}});l&&(t.value.push(...l),Re(()=>{n.value&&(n.value.scrollTop=n.value.scrollHeight)}))};return E.$event(Ie.LOGS,([o])=>i(o)),E.$event(Ie.LOG,([o])=>i(o)),(o,l)=>{const r=y("magic-empty");return v(),N("div",{class:"magic-log-wrapper",onContextmenu:l[0]||(l[0]=ve(p=>s(p),["prevent"]))},[!t.value||t.value.length===0?(v(),F(r,{key:0,text:f(c)("message.empty",f(c)("message.log"))},null,8,["text"])):(v(),N("div",{key:1,class:"magic-log",ref_key:"element",ref:n},[(v(!0),N(ee,null,pe(t.value,(p,d)=>(v(),N("div",{class:me({multiple:p.multiple,more:p.showMore}),key:"run_log_"+d},[A("pre",{innerHTML:p.html},null,8,Su),p.multiple?(v(),N("span",{key:0,class:"multiple",onClick:g=>p.showMore=!p.showMore},B(p.showMore?f(c)("log.hide"):f(c)("log.show",p.lines)),9,xu)):X("",!0)],2))),128))],512))],32)}}};var Ru=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ou});const Au={class:"magic-online"},Iu={setup(e){const t=We([]),n=ae("activateUserFiles"),a=(o,l)=>{const r=t.find(p=>p.cid===o);r&&(Object.values(n.value).forEach(p=>{const d=p.findIndex(g=>g.cid===o);d>-1&&p.splice(d,1)}),n.value[l]=n.value[l]||[],n.value[l].push(r))},s=o=>{t.some(l=>l.cid===o.cid)||t.push(o)};let i=null;return E.$event(Ie.LOGIN_RESPONSE,([o,l])=>{n.value={},t.splice(0,t.length),i!==null&&clearInterval(i),o==="1"&&(i=setInterval(()=>E.send(Ie.PING,new Date().getTime()),1e4),s(l))}),E.$event(Ie.USER_LOGIN,([o])=>{M.CLIENT_ID!==o.cid&&(E.$emit(U.NOTIFY,{title:c("online.login"),content:c("online.loginTips",o.username,o.ip),duration:3e3}),E.status("online.loginTips",!0,o.username,o.ip)),s(o)}),E.$event(Ie.USER_LOGOUT,([o])=>{M.CLIENT_ID!==o.cid&&(E.$emit(U.NOTIFY,{title:c("online.logout"),content:c("online.logoutTips",o.username,o.ip),duration:3e3}),E.status("online.logoutTips",!0,o.username,o.ip));const l=t.findIndex(r=>r.cid===o.cid);a(o.cid,"0"),l>-1&&t.splice(l,1)}),E.$event(Ie.ONLINE_USERS,([o])=>{o.forEach(l=>{M.CLIENT_ID!==l.cid&&(s(l),l.fileId&&a(l.cid,l.fileId))})}),E.$event(Ie.INTO_FILE_ID,([o,l])=>a(o,l)),(o,l)=>{const r=y("magic-avatar-group");return v(),N("div",Au,[_(r,{users:f(t),max:9},null,8,["users"]),A("span",null,B(f(c)("online.onlines",f(t).length)),1)])}}};var Cu=q(Iu,[["__scopeId","data-v-5861c8dc"]]),Lu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Cu});const Nu={class:"magic-status-bar"},wu=["innerHTML"],ku=["title","onClick"],Du={props:{config:Object},setup(e){const t=e,n=P(null),a=[{icon:"gitee",title:"Gitee",displayKey:"repo",onClick:()=>window.open("https://gitee.com/ssssssss-team/magic-api")},{icon:"git",title:"Github",displayKey:"repo",onClick:()=>window.open("https://github.com/ssssssss-team/magic-api")},{icon:"qq",title:c("message.joinGroup"),displayKey:"qqGroup",onClick:()=>window.open("https://qm.qq.com/cgi-bin/qm/qr?k=Q6dLmVS8cHwoaaP18A3tteK_o0244e6B&jump_from=webapi")},{icon:"help",title:c("message.document"),displayKey:"document",onClick:()=>window.open("https://ssssssss.org/magic-api")}],s=re(()=>{const o=a.filter(l=>t.config.header[l.displayKey]!==!1);return n.value&&n.value.id&&n.value.username&&o.push({icon:"logout",title:n.value.username,onClick:()=>ge.confirm(c("message.logout"),c("message.logoutConfirm",n.value.username),()=>z.sendPost("/logout").success(()=>{n.value=null,M.HEADER_MAGIC_TOKEN_VALUE="unauthorization",M.LOGINED=!1,Pe.remove(M.STORE.token),E.$emit(U.LOGOUT),E.status("message.logoutSuccess")}))}),o}),i=P("");return E.$on(U.LOGINED,()=>{E.status("message.getCurrentLoginUser"),z.send("/user").success(o=>n.value=o)}),E.$on(U.STATUS,o=>i.value=o),(o,l)=>{const r=y("magic-online"),p=y("magic-icon");return v(),N("div",Nu,[A("div",{class:"message",innerHTML:i.value},null,8,wu),_(r),A("ul",null,[(v(!0),N(ee,null,pe(f(s),(d,g)=>(v(),N("li",{title:d.title,key:g,onClick:ve(d.onClick,["stop"])},[_(p,{icon:d.icon},null,8,["icon"])],8,ku))),128))])])}}};var Mu=q(Du,[["__scopeId","data-v-49bc4fc3"]]),Pu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Mu});const Uu={class:"magic-todo"},$u={key:3},Bu={class:"todo"},Fu={setup(e){const t=P(!0),n=[{icon:"refresh",title:c("message.refresh"),onClick(){d()}},{icon:"expand-all",title:c("message.expand"),onClick:()=>Xe(a.value,h=>h.opened=!0)},{icon:"collapse-all",title:c("message.collapse"),onClick:()=>Xe(a.value,h=>h.opened=!1)}],a=P([]),s=ae("resources"),i={},o=h=>{(h.groupId||h.line)&&E.$emit(U.OPEN_WITH_ID,h.id)},l=(h,T)=>{let R=h.find(D=>D.id===T);if(!R)for(let D=0;D{let T=[];return h.forEach(R=>{R.line>0?T.push(R):R.folder&&R.children&&(R.children=r(R.children),R.children.length&&T.push(R))}),T},p=ae("service"),d=()=>{a.value=[],t.value=!0,z.sendGet("/todo").success(h=>{const T=s();T.forEach(D=>i[D.navbar.type]=D.navbar);let R=!1;h.forEach(D=>{for(let b=0;bD.display).map(D=>({folder:!0,icon:D.navbar.icon,name:D.navbar.title,children:D.tree,root:!0}))),Xe(a.value,D=>D.opened=!0)),t.value=!1})};let g=!1;return E.$on(U.LOAD_RESOURCES_FINISH,d),ht(()=>{!g&&M.LOGINED&&d(),g=!0}),(h,T)=>{const R=y("magic-panel-toolbar"),D=y("magic-loading"),b=y("magic-icon"),m=y("magic-text-icon"),x=y("magic-tree"),C=y("magic-empty");return v(),N("div",Uu,[_(R,{toolbars:n}),A("div",null,[_(D,{loading:t.value},null,8,["loading"]),a.value.length>0?(v(),F(x,{key:0,data:a.value,onItemClick:o},{folder:w(({item:O})=>[_(b,{icon:O.opened?"arrow-bottom":"arrow-right",onClick:ve(I=>O.opened=!O.opened,["stop"])},null,8,["icon","onClick"]),O.root?(v(),F(b,{key:0,icon:O.icon},null,8,["icon"])):O.icon?(v(),F(m,{key:1,icon:O.icon},null,8,["icon"])):(v(),F(b,{key:2,icon:"list"})),A("label",null,B(O.name),1),O.path?(v(),N("span",$u,"("+B(O.path)+")",1)):X("",!0)]),file:w(({item:O})=>[_(b),_(b,{icon:"todo"}),A("label",Bu,B(O.text),1)]),_:1},8,["data"])):(v(),F(C,{key:1,text:f(c)("message.empty","TODO")},null,8,["text"]))])])}}};var Hu=q(Fu,[["__scopeId","data-v-29308d9b"]]),Vu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Hu});const Gu={class:"magic-toolbar"},ju={class:"magic-toolbar-header"},zu={class:"magic-toolbar-header-buttons"},Yu={setup(e){const t=P(null),n=We([{type:"api",title:c("api.title"),icon:"parameter",component:Ge(ne("magic-api-info"))},{id:"response",type:"api",title:c("toolbars.response"),icon:"run",component:Ge(ne("magic-api-response"))},{type:"function",title:c("fn.title"),icon:"parameter",component:Ge(ne("magic-function-info"))},{type:"group-api",title:c("message.group",c("api.name")),icon:"parameter",component:Ge(ne("magic-api-group"))},{id:"debug",type:["api","task"],title:c("toolbars.debug"),icon:"debug-info",component:Ge(ne("magic-debug"))},{id:"log",title:c("toolbars.log"),icon:"log",component:Ge(ne("magic-log"))},{type:"api",title:c("toolbars.global"),icon:"settings",component:Ge(ne("magic-global"))},{id:"todo",title:"TODO",icon:"todo",component:Ge(ne("magic-todo"))},{id:"history",title:c("toolbars.history"),icon:"history",component:Ge(ne("magic-backup"))},{id:"event",title:c("toolbars.event"),icon:"event",component:Ge(ne("magic-event")),style:{float:"right"}}]);M.PLUGINS.filter(o=>o.toolbars&&o.toolbars.length>0).map(o=>o.toolbars).forEach(o=>o.forEach(l=>{n.unshift({id:l.id,type:l.type,icon:l.icon,title:c(l.title),component:Ge(l.component)})}));const a=P({}),s=P({});qe("opened",a),qe("info",s);const i=o=>{n.forEach(l=>l.show=l.type===void 0||(Array.isArray(l.type)?l.type.find(r=>r.type===o):l.type===o)),t.value&&t.value.select(n.findIndex(l=>l.show))};return i(""),E.$on(U.OPEN_EMPTY,()=>i("")),E.$on(U.OPEN,o=>{o.responseBlobValue=null,a.value=o,s.value=o.item,i(o.type)}),E.$on(U.OPEN_GROUP,o=>{i("group-"+o.type),s.value=o}),E.$on(U.SWITCH_TOOLBAR,o=>{const l=n.findIndex(r=>r.id===o);l>-1&&t.value.select(l)}),(o,l)=>{const r=y("magic-icon"),p=y("magic-resizer"),d=y("magic-navbar-item"),g=y("magic-navbar");return v(),N("div",Gu,[_(g,{direction:"horizontal",ref_key:"navbar",ref:t},{default:w(()=>[(v(!0),N(ee,null,pe(f(n),(h,T)=>(v(),F(d,rt({key:T},h),{default:w(()=>[_(p,{direction:"y",max:600,min:250},{default:w(()=>[A("div",ju,[A("label",null,B(h.title),1),A("div",zu,[_(r,{icon:"minimize",size:"14px",title:f(c)("message.hide"),onClick:l[0]||(l[0]=R=>t.value.select(-1))},null,8,["title"])])]),(v(),F(ne(h.component)))]),_:2},1024)]),_:2},1040))),128))]),_:1},512)])}}};var qu=q(Yu,[["__scopeId","data-v-6995d9c9"]]),Ku=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:qu});const Wu={class:"magic-function-info"},Xu={setup(e){const t=ae("info"),n=[{title:c("fn.parameter"),component:ne("magic-function-parameter")},{title:c("fn.description"),component:ne("magic-api-description")}];return(a,s)=>{const i=y("magic-select"),o=y("magic-input"),l=y("magic-navbar-item"),r=y("magic-navbar");return v(),N(ee,null,[A("div",Wu,[A("form",null,[A("label",null,B(f(c)("fn.returnValue")),1),_(i,{width:"100px",options:a.$FUNCTION_RETURN_TYPES,"default-select":a.$DEFAULT_FUNCTION_RETURN_TYPE,value:f(t).method,"onUpdate:value":s[0]||(s[0]=p=>f(t).method=p)},null,8,["options","default-select","value"]),A("label",null,B(f(c)("fn.form.name")),1),_(o,{value:f(t).name,"onUpdate:value":s[1]||(s[1]=p=>f(t).name=p),placeholder:f(c)("fn.form.placeholder.name"),width:"200px"},null,8,["value","placeholder"]),A("label",null,B(f(c)("fn.form.path")),1),_(o,{value:f(t).path,"onUpdate:value":s[2]||(s[2]=p=>f(t).path=p),placeholder:f(c)("fn.form.placeholder.path"),width:"auto",style:{flex:"1"}},null,8,["value","placeholder"])])]),_(r,{direction:"horizontal",ref:"navbar",style:{flex:"1"},"allow-close":!1},{default:w(()=>[(v(),N(ee,null,pe(n,(p,d)=>_(l,{key:d,title:p.title},{default:w(()=>[(v(),F(ne(p.component),{info:f(t)},null,8,["info"]))]),_:2},1032,["title"])),64))]),_:1},512)],64)}}};var Ju=q(Xu,[["__scopeId","data-v-bc8654ec"]]),Qu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ju});const Zu={class:"magic-panel-function"},e1={setup(e){const t=ae("info"),n=P(-1);return(a,s)=>{const i=y("magic-panel-common-toolbar"),o=y("magic-input"),l=y("magic-table-column"),r=y("magic-select"),p=y("magic-table");return v(),N("div",Zu,[_(i,{index:n.value,"onUpdate:index":s[0]||(s[0]=d=>n.value=d),value:f(t).parameters},null,8,["index","value"]),_(p,{data:f(t).parameters,border:"",onClickRow:s[1]||(s[1]=d=>n.value=d)},{default:w(()=>[_(l,{title:f(c)("message.name"),width:"20%"},{default:w(({row:d})=>[_(o,{value:d.name,"onUpdate:value":g=>d.name=g,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"]),_(l,{title:f(c)("message.parameterType"),width:"20%"},{default:w(({row:d})=>[_(r,{options:a.$FUNCTION_RETURN_TYPES,value:d.type,"onUpdate:value":g=>d.type=g,"default-select":a.$DEFAULT_FUNCTION_RETURN_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1},8,["title"]),_(l,{title:f(c)("message.description"),flex:"1"},{default:w(({row:d})=>[_(o,{value:d.description,"onUpdate:value":g=>d.description=g,border:!1},null,8,["value","onUpdate:value"])]),_:1},8,["title"])]),_:1},8,["data"])])}}};var t1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:e1});const n1={setup(e){const t=P(!1),n=P([]);E.$on(U.DO_DOWNLOAD,()=>t.value=!0);const a=()=>{n.value.length?z.sendJson("/download",n.value,{method:"post",headers:{"Content-Type":"application/json"},transformRequest:[],responseType:"blob"}).success(s=>{fn(s,"magic-api.zip"),E.status("message.exported"),t.value=!1,E.report("resource-export")}):ge.alert(c("message.exportNoneSelect"))};return(s,i)=>{const o=y("magic-resource-choose"),l=y("magic-button"),r=y("magic-button-group"),p=y("magic-dialog");return v(),F(p,{title:f(c)("message.export"),value:t.value,"onUpdate:value":i[5]||(i[5]=d=>t.value=d),shade:!1,padding:"0",width:"480px",top:"60px",overflow:"hidden"},{default:w(()=>[_(o,{ref:"resource",value:n.value,"onUpdate:value":i[0]||(i[0]=d=>n.value=d)},null,8,["value"]),_(r,{align:"right",style:{margin:"5px 0","margin-right":"5px"}},{default:w(()=>[_(l,{value:f(c)("message.expand"),onOnClick:i[1]||(i[1]=d=>s.$refs.resource.expand(!0))},null,8,["value"]),_(l,{value:f(c)("message.collapse"),onOnClick:i[2]||(i[2]=d=>s.$refs.resource.expand(!1))},null,8,["value"]),_(l,{value:f(c)("message.selectAll"),onOnClick:i[3]||(i[3]=d=>s.$refs.resource.selectAll(!0))},null,8,["value"]),_(l,{value:f(c)("message.deselectAll"),onOnClick:i[4]||(i[4]=d=>s.$refs.resource.selectAll(!1))},null,8,["value"]),_(l,{type:"active",value:f(c)("message.export"),onOnClick:a},null,8,["value"])]),_:1})]),_:1},8,["title","value"])}}};var a1=q(n1,[["__scopeId","data-v-4d59cdd8"]]),s1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:a1});const i1="modulepreload",Ua={},o1="./",$a=function(t,n){return!n||n.length===0?t():Promise.all(n.map(a=>{if(a=`${o1}${a}`,a in Ua)return;Ua[a]=!0;const s=a.endsWith(".css"),i=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${i}`))return;const o=document.createElement("link");if(o.rel=s?"stylesheet":i1,s||(o.as="script",o.crossOrigin=""),o.href=a,document.head.appendChild(o),s)return new Promise((l,r)=>{o.addEventListener("load",l),o.addEventListener("error",r)})})).then(()=>t())};const l1={class:"magic-header"},r1={class:"magic-logo"},c1=["title"],u1=["title"],p1={class:"magic-header-title"},d1=["title","onClick"],_1={class:"magic-skin-selector"},h1=["onClick"],f1={class:"magic-locale-selector"},m1=["onClick"],g1={props:{title:{type:String,default:"magic-api"},themeStyle:Object,header:Object},setup(e){const t=e,n={"../../../scripts/i18n/en.js":()=>$a(()=>Promise.resolve().then(function(){return fs}),void 0),"../../../scripts/i18n/zh-cn.js":()=>$a(()=>Promise.resolve().then(function(){return ms}),void 0)},a=We([]);for(let T in n)n[T]().then(R=>{a.push({id:T.replace(/(.*?i18n\/)(.*)(\.js)/g,"$2"),name:R.default.name})});const s=M.MAGIC_API_VERSION_TEXT,i=P(!1),o=P(!1),l=P({}),r=P("");E.$on(U.OPEN_EMPTY,()=>{r.value="",l.value={}}),E.$on(U.OPEN,T=>{l.value=T,r.value=T.path(),mt(T,()=>{l.value===T&&(r.value=T.path())})});const p=re(()=>[{name:`${c("message.run")}(Ctrl + Q)`,icon:"run",disabled:re(()=>l.value.runnable!==!0||l.value.running===!0),onClick:()=>E.$emit(U.DO_TEST)},{name:`${c("message.save")}(Ctrl + S)`,icon:"save",onClick:()=>E.$emit(U.DO_SAVE,!0)},{name:`${c("message.search")}(Ctrl + Shift + F)`,icon:"search",onClick:()=>E.$emit(U.DO_SEARCH)},{name:c("message.upload"),icon:"upload",onClick:()=>E.$emit(U.DO_UPLOAD)},{name:c("message.export"),icon:"download",onClick:()=>E.$emit(U.DO_DOWNLOAD)},{name:c("message.push"),icon:"push",onClick:()=>E.$emit(U.DO_PUSH)},{name:c("message.skin"),displayKey:"skin",icon:"skin",onClick:()=>{i.value=!i.value,o.value=!1}},{name:c("message.i18n"),icon:"i18n",onClick:()=>{o.value=!o.value,i.value=!1}},{name:c("message.reload"),icon:"refresh",onClick:()=>E.$emit(U.RELOAD_RESOURCES)}].filter(T=>t.header[T.displayKey]!==!1)),d=T=>{M.THEME=T,E.$emit(U.SWITCH_THEME,T),E.status("message.switchSkin",!0,T),tt.setTheme(T),Object.keys(t.themeStyle).forEach(D=>t.themeStyle[D]=void 0);let R=qt[T];Pe.set(M.STORE.theme,T),Object.keys(R).forEach(D=>t.themeStyle[`--${D}`]=R[D]),i.value=!1},g=Pe.get(M.STORE.theme);qt[g]?d(g):d(M.THEME);const h=({id:T,name:R})=>{o.value=!1,Pe.set("locale",T),ge.confirm(c("message.tips"),c("message.switchLocale",R),()=>{location.reload()})};return(T,R)=>{const D=y("magic-icon");return v(),N(ee,null,[A("div",l1,[A("div",r1,[A("label",{title:e.title},B(e.title),9,c1),A("label",{title:f(s)},B(f(s)),9,u1)]),A("div",p1,B(r.value),1),A("ul",null,[(v(!0),N(ee,null,pe(f(p),(b,m)=>(v(),N("li",{key:m,title:b.name,onClick:ve(x=>b.disabled!==!0&&b.onClick(),["stop"]),class:me({disabled:b.disabled===!0})},[_(D,{icon:b.icon},null,8,["icon"])],10,d1))),128))])]),Ot(A("div",_1,[A("ul",null,[(v(!0),N(ee,null,pe(Object.keys(f(qt)),b=>(v(),N("li",{key:"theme_"+b,onClick:m=>d(b)},B(b),9,h1))),128))])],512),[[jt,i.value]]),Ot(A("div",f1,[A("ul",null,[(v(!0),N(ee,null,pe(f(a),b=>(v(),N("li",{key:"locale_"+b.id,onClick:m=>h(b)},B(b.name),9,m1))),128))])],512),[[jt,o.value]])],64)}}};var v1=q(g1,[["__scopeId","data-v-ee02284c"]]),E1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:v1});const b1={class:"magic-push-form"},y1={setup(e){const t=P(!1),n=P([]),a=P("http://host:port/_magic-api-sync"),s=P("123456789");E.$on(U.DO_PUSH,()=>t.value=!0);const i=l=>{z.sendJson("/push",n.value,{method:"post",headers:{"magic-push-target":a.value,"magic-push-secret-key":s.value,"magic-push-mode":l,"Content-Type":"application/json"},transformRequest:[]}).success(()=>{const r=c(l==="full"?"push.full":"push.increment");E.status("push.success",!0,r),t.value=!1,E.$emit(U.LOAD_RESOURCES),E.report("resource-push")})},o=l=>{n.value.length?l==="full"?ge.confirm(c("message.push"),c("message.pushWarning"),()=>i(l)):i(l):ge.alert(c("message.pushNoneSelect"))};return(l,r)=>{const p=y("magic-resource-choose"),d=y("magic-input"),g=y("magic-button"),h=y("magic-button-group"),T=y("magic-dialog");return v(),F(T,{title:f(c)("message.push"),value:t.value,"onUpdate:value":r[7]||(r[7]=R=>t.value=R),shade:!1,padding:"0",width:"450px",top:"60px",overflow:"hidden"},{default:w(()=>[_(p,{ref:"resource",value:n.value,"onUpdate:value":r[0]||(r[0]=R=>n.value=R)},null,8,["value"]),A("div",b1,[A("div",null,[A("label",null,B(f(c)("message.remote"))+"\uFF1A",1),_(d,{value:a.value,"onUpdate:value":r[1]||(r[1]=R=>a.value=R)},null,8,["value"])]),A("div",null,[A("label",null,B(f(c)("message.secret"))+"\uFF1A",1),_(d,{value:s.value,"onUpdate:value":r[2]||(r[2]=R=>s.value=R),type:"password"},null,8,["value"])])]),_(h,{align:"right",style:{margin:"5px 0","margin-right":"5px"}},{default:w(()=>[_(g,{value:f(c)("message.selectAll"),onOnClick:r[3]||(r[3]=R=>l.$refs.resource.selectAll(!0))},null,8,["value"]),_(g,{value:f(c)("message.deselectAll"),onOnClick:r[4]||(r[4]=R=>l.$refs.resource.selectAll(!1))},null,8,["value"]),_(g,{value:f(c)("push.increment"),onOnClick:r[5]||(r[5]=R=>o("increment")),type:"active"},null,8,["value"]),_(g,{value:f(c)("push.full"),onOnClick:r[6]||(r[6]=R=>o("full"))},null,8,["value"])]),_:1})]),_:1},8,["title","value"])}}};var T1=q(y1,[["__scopeId","data-v-2fa44b82"]]),S1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:T1});const x1={class:"magic-search-result"},O1=["onClick"],R1=["innerHTML"],A1={class:"name"},I1=["textContent"],C1={class:"display-text"},L1={setup(e){const t=P(""),n=P(!1),a=ae("findResource"),s=ae("service"),i=P([]),o=P({}),l=re(()=>o.value.name+(o.value.path?`(${o.value.path})`:"")),r=b=>{b.script||z.sendGet(`/resource/file/${b.id}`).success(m=>{b.script=m.script})},p=b=>{o.value=b,r(b),E.$emit(U.OPEN_WITH_ID,b.id),n.value=!1,i.value=[],t.value=""};E.$on(U.DO_SEARCH,()=>{i.value=[],t.value="",n.value=!n.value});let d=null;const g=b=>{const m=[...b.childNodes],x=[];for(;m.length;){const C=m.shift();C.nodeType===C.TEXT_NODE?x.push(C):m.unshift(...C.childNodes)}return x},h=b=>{let m=0;return b.map(x=>{let C=m,O=m+x.wholeText.length;return m=O,{text:x.wholeText,startIdx:C,endIdx:O}})},T=(b,m)=>{const x=[..."[]()?.+*^${}:"].reduce((O,I)=>(O[I]=!0,O),{});m=m.split("").map(O=>x[O]?`\\${O}`:O).join("[\\s\\n]*");const C=new RegExp(m,"gmi");return[...b.matchAll(C)]},R=(b,m,x)=>{for(let C=x.length-1;C>=0;C--){const O=x[C],I=O.index,L=I+O[0].length;for(let $=0;$=L)break;let Ce=b[$];const Q=Math.max(0,I-oe),fe=Math.min(ke,L)-oe-Q;Q>0&&(Ce=Ce.splitText(Q)),fe{if(!m)return b;const x=document.createElement("div");x.innerHTML=b;const C=g(x),O=h(C),I=O.map(({text:$})=>$).join(""),L=T(I,m);return R(C,O,L),x.innerHTML};return mt(t,b=>{const m=b.trim();clearTimeout(d),m&&(d=setTimeout(()=>{z.send("/search",{keyword:m},{method:"POST"}).success(async x=>{const C=[];for(let O=0;O0&&(o.value=C[0],r(o.value)),i.value=C})},600))}),(b,m)=>{const x=y("magic-input"),C=y("magic-monaco-editor"),O=y("magic-dialog");return v(),F(O,{title:f(c)("message.search"),value:n.value,"onUpdate:value":m[1]||(m[1]=I=>n.value=I),shade:!1,padding:"0",width:"700px",top:"60px"},{default:w(()=>[_(x,{value:t.value,"onUpdate:value":m[0]||(m[0]=I=>t.value=I),placeholder:f(c)("message.searchText")},null,8,["value","placeholder"]),i.value.length>0?(v(),N(ee,{key:0},[A("div",x1,[(v(!0),N(ee,null,pe(i.value,(I,L)=>(v(),N("div",{key:L,class:me(["magic-search-result-item",{selected:o.value===I}]),onClick:$=>p(I)},[A("div",{class:"label",innerHTML:I.text},null,8,R1),A("div",A1,B(I.name),1),A("div",{class:"line",textContent:B(I.line)},null,8,I1)],10,O1))),128))]),A("div",C1,B(f(l)),1),_(C,{readonly:"",value:o.value.script,language:"magicscript",style:{width:"100%",height:"300px"},matches:t.value},null,8,["value","matches"])],64)):X("",!0)]),_:1},8,["title","value"])}}};var N1=q(L1,[["__scopeId","data-v-05e528dc"]]),w1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:N1});const k1={setup(e){const t=P(!1),n=P(null),a=s=>{if(n.value){const i=new FormData;i.append("file",n.value,n.value.name),i.append("mode",s);const o=()=>{z.send("/upload",i,{method:"post",headers:{"Content-Type":"multipart/form-data"}}).success(l=>{const r=c(s==="full"?"upload.full":"upload.increment");l?(E.status("upload.success",!0,r),t.value=!1,E.$emit(U.LOAD_RESOURCES),E.report(`upload-${s}`)):(E.status("upload.failed",!1,r),E.report(`upload-${s}-error`))})};s==="full"?ge.confirm(c("message.upload"),c("message.uploadWarning"),o):o()}};return E.$on(U.DO_UPLOAD,()=>t.value=!0),(s,i)=>{const o=y("magic-file"),l=y("magic-button"),r=y("magic-button-group"),p=y("magic-dialog");return v(),F(p,{title:f(c)("message.upload"),value:t.value,"onUpdate:value":i[3]||(i[3]=d=>t.value=d)},{default:w(()=>[_(o,{value:n.value,"onUpdate:value":i[0]||(i[0]=d=>n.value=d),accept:"application/x-zip-compressed"},null,8,["value"]),_(r,{align:"right",style:{"margin-top":"5px"}},{default:w(()=>[_(l,{value:f(c)("upload.increment"),type:"active",onClick:i[1]||(i[1]=d=>a("increment"))},null,8,["value"]),_(l,{value:f(c)("upload.full"),onClick:i[2]||(i[2]=d=>a("full"))},null,8,["value"])]),_:1})]),_:1},8,["title","value"])}}};var D1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:k1});const M1={class:"magic-data-resource"},P1={class:"magic-data-resource-header"},U1=["title","onClick"],$1={key:1},B1=["onContextmenu"],F1={props:{type:String,title:String,data:Array},setup(e){const t=e,n=ne(`magic-datasource-${t.type}`),a=P(!1),s=P(""),i=P({}),o=P(""),l=P(""),r=P(!0),p=re(()=>t.data&&t.data.length>0&&t.data[0].children&&t.data[0].children.filter(C=>C.name.indexOf(o.value)>-1||C.key.indexOf(o.value)>-1)||[]),d=ae("service")[t.type],g=[{name:c("message.createDataSource",t.title),icon:"plus",onClick:()=>{s.value=c("message.createDataSource",t.title),l.value=c("message.create"),i.value={},a.value=!0,r.value=!1}}],h=()=>{d.doTest(i.value)},{proxy:T}=_t(),R=(C,O,I)=>{C.groupId=`${t.type}:0`,z.sendJson(`/resource/file/${t.type}/save`,C).success(L=>{if(L){C.id===L?E.report("datasource-save"):E.report("datasource-add"),C.id=L,E.status(O+"Success",!0,I),t.data[0].children=t.data[0].children||[];const $=t.data[0].children.find(G=>G.id===C.id);$?Object.keys(C).forEach(G=>$[G]=C[G]):t.data[0].children.push(C),a.value=!1}else E.status(O+"Failed",!1,I),T.$alert(c(O+"Failed",I))})},D=()=>{const C=de({},i.value);R(C,"message.save",`${t.title}\u300C${b(C)}\u300D`)},b=C=>`${C.name}(${C.key})`,m=C=>{const O=t.data[0].children.findIndex(I=>I===C);O>-1&&t.data[0].children.splice(O,1)},x=(C,O)=>{const I=[{label:c("message.update"),icon:"update",divided:!0,onClick:()=>{r.value=!0,s.value=c("message.updateTips",t.title),l.value=c("message.update"),a.value=!0,E.status("message.getDetail",`${t.title}\u300C${b(C)}\u300D`),z.sendGet(`/resource/file/${C.id}`).success(L=>i.value=L).end(()=>{r.value=!1})}},{label:c("resource.contextmenu.delete"),icon:"delete",onClick:()=>{const L=`${t.title}\u300C${b(C)}\u300D`;T.$confirm(c("message.deleteTips",t.title),c("message.deleteConfirm",L),()=>{z.send("/resource/delete",{id:C.id}).success($=>{E.status($?"message.deleteSuccess":"message.deleteFailed",$,L),$?(E.report("datasource-delete"),m(C)):T.$alert($?"message.deleteSuccess":"message.deleteFailed",L)})})}},{label:c("message.copy"),icon:"copy",divided:!0,onClick:()=>{z.send(`/resource/file/${C.id}`).success(L=>{L.id=void 0,L.name=L.name+`(${c("message.copy")})`,L.key=L.key+"_copy",R(L,"datasource.copy",`${t.title}\u300C${b(L)}\u300D`)})}}];C.lock===M.LOCKED?I.push({label:c("resource.contextmenu.unlock"),icon:"unlock",onClick:()=>z.sendPost("/resource/unlock",{id:C.id}).success(L=>{E.status(L?"message.unlockSuccess":"message.unlockFailed",L,`${t.title}\u300C${b(C)}\u300D`),L&&(C.lock=M.UNLOCK,E.report("resource-unlock"))})}):I.push({label:c("resource.contextmenu.lock"),icon:"lock",onClick:()=>z.sendPost("/resource/lock",{id:C.id}).success(L=>{E.status(L?"message.lockSuccess":"message.lockFailed",L,`${t.title}\u300C${b(C)}\u300D`),L&&(C.lock=M.LOCKED,E.report("resource-lock"))})}),T.$contextmenu({menus:I,event:O})};return(C,O)=>{const I=y("magic-icon"),L=y("magic-input"),$=y("magic-empty"),G=y("magic-button"),oe=y("magic-button-group"),ke=y("magic-loading"),Ce=y("magic-dialog");return v(),N(ee,null,[A("div",M1,[A("div",P1,[A("ul",null,[(v(),N(ee,null,pe(g,(Q,fe)=>(v(),N(ee,{key:fe},[!Q.show||Q.show()?(v(),N("li",{key:0,title:Q.name||"",onClick:$e=>Q.onClick&&Q.onClick(),class:me({separator:Q.separator})},[Q.separator?X("",!0):(v(),F(I,{key:0,icon:Q.icon},null,8,["icon"]))],10,U1)):X("",!0)],64))),64))]),_(L,{value:o.value,"onUpdate:value":O[0]||(O[0]=Q=>o.value=Q),placeholder:f(c)("message.searchText"),width:"auto"},null,8,["value","placeholder"]),_(I,{icon:"search",size:"14px"})]),f(p).length===0?(v(),F($,{key:0,text:f(c)("message.empty",e.title)},null,8,["text"])):(v(),N("ul",$1,[(v(!0),N(ee,null,pe(f(p),(Q,fe)=>(v(),N("li",{key:fe,onContextmenu:ve($e=>x(Q,$e),["prevent"])},[_(I,{icon:"datasource"}),A("label",null,B(Q.name||f(c)("datasource.primary")),1),A("span",null,"("+B(Q.key||"default")+")",1),Q.lock==="1"?(v(),F(I,{key:0,icon:"lock"})):X("",!0)],40,B1))),128))]))]),_(Ce,{value:a.value,"onUpdate:value":O[4]||(O[4]=Q=>a.value=Q),title:s.value,width:"550px"},{default:w(()=>[_(ke,{loading:r.value,style:{"min-height":"200px"}},{default:w(()=>[(v(),F(ne(f(n)),{info:i.value},null,8,["info"])),_(oe,{align:"right",style:{padding:"5px 0"}},{default:w(()=>[_(G,{value:l.value,type:"active",onOnClick:O[1]||(O[1]=Q=>D())},null,8,["value"]),_(G,{value:f(c)("datasource.test"),onOnClick:O[2]||(O[2]=Q=>h())},null,8,["value"]),_(G,{value:f(c)("message.cancel"),onOnClick:O[3]||(O[3]=Q=>a.value=!1)},null,8,["value"])]),_:1})]),_:1},8,["loading"])]),_:1},8,["value","title"])],64)}}};var H1=q(F1,[["__scopeId","data-v-a4686c7c"]]),V1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:H1});const Ba=e=>(rn("data-v-f15aae88"),e=e(),cn(),e),G1={class:"magic-login"},j1={class:"magic-login-box"},z1=Ba(()=>A("div",{class:"magic-login-logo"},null,-1)),Y1={class:"magic-login-text"},q1=Ee("Magic-API "),K1={key:0},W1={key:0,class:"magic-login-row error"},X1={class:"magic-login-row"},J1={class:"magic-login-row"},Q1={class:"magic-login-row"},Z1={class:"magic-login-copyright"},ep=Ba(()=>A("a",{href:"https://ssssssss.org.cn",target:"_blank"},"ssssssss.org.cn",-1)),tp=Ee(" All rights reserved."),np={props:{value:Boolean,error:String},emits:["update:value","update:error"],setup(e,{emit:t}){const n=P(""),a=P("");E.$on();const s=()=>{n.value&&a.value&&(t("update:error",null),z.sendPost("/login",{username:n.value,password:a.value}).success((i,o)=>{i&&(t("update:value",!1),M.HEADER_MAGIC_TOKEN_VALUE=o.headers[M.HEADER_MAGIC_TOKEN],Pe.set(M.STORE.token,M.HEADER_MAGIC_TOKEN_VALUE),E.$emit(U.LOGINED),n.value="",a.value="")}).exception((i,o)=>{i!=401&&(o=translateCode(i,o)),t("update:error",o)}).error((i,o,l)=>{if(l){let r="";l.response?r=JSON.stringify(l.response.data||"")||c("code.invalid",l.response.status):r=l.message,t("update:error",r)}}))};return(i,o)=>{const l=y("magic-icon"),r=y("magic-input"),p=y("magic-button");return v(),N("div",G1,[A("div",j1,[z1,A("div",Y1,[q1,f(M).MAGIC_API_VERSION_TEXT?(v(),N("span",K1,"v"+B(f(M).MAGIC_API_VERSION_TEXT),1)):X("",!0)]),e.error?(v(),N("div",W1,[_(l,{icon:"error"}),A("span",null,B(e.error),1)])):X("",!0),A("div",X1,[_(l,{icon:"user"}),_(r,{onEnter:s,value:n.value,"onUpdate:value":o[0]||(o[0]=d=>n.value=d),placeholder:f(c)("message.username")},null,8,["value","placeholder"])]),A("div",J1,[_(l,{icon:"password"}),_(r,{onEnter:s,value:a.value,"onUpdate:value":o[1]||(o[1]=d=>a.value=d),type:"password",placeholder:f(c)("message.password")},null,8,["value","placeholder"])]),A("div",Q1,[_(p,{value:f(c)("message.login"),onOnClick:s},null,8,["value"])])]),A("div",Z1,[Ee("Copyright \xA9 2020-"+B(new Date().getYear()+1900)+" ",1),ep,tp])])}}};var ap=q(np,[["__scopeId","data-v-f15aae88"]]),sp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ap});function ip(e,t){E.$emit(U.SWITCH_TOOLBAR,"log"),t.headers[M.HEADER_REQUEST_CLIENT_ID]=M.CLIENT_ID,t.headers[M.HEADER_REQUEST_SCRIPT_ID]=e.item.id,t.headers[M.HEADER_MAGIC_TOKEN]=M.HEADER_MAGIC_TOKEN_VALUE,t.headers[M.HEADER_REQUEST_BREAKPOINTS]=(e.decorations||[]).filter(i=>i.options.linesDecorationsClassName==="breakpoints").map(i=>i.range.startLineNumber).join(","),t.responseType="blob",t.validateStatus=()=>!0;let n=0;t.transformResponse=[function(i,o){return n=i.size,o["content-disposition"]?new Promise(l=>l(i)):new Promise(l=>{const r=new FileReader;r.readAsText(i),r.onload=function(){try{l(JSON.parse(this.result))}catch{l(i)}}})}];const a=e.path();E.status("api.test.begin",!0,a);const s=new Date().getTime();z.execute(t).then(i=>i.data.then(o=>{if(E.status("api.test.success",!0,a,i.status,ws(n),new Date().getTime()-s),e.running=!1,e.responseBlob=o instanceof Blob)e.responseBlobValue=o,e.item.responseBody=null,e.item.responseBodyDefinition=null,e.responseBodyTree=null;else{e.item.responseBody=JSON.stringify(o);let l=Sa(e.item.responseBody,e.item.responseBodyDefinition);e.item.responseBodyDefinition=l,e.responseBodyTree=Kt(l)}e.responseHeaders=i.headers,Re(()=>E.$emit(U.SWITCH_TOOLBAR,"response"))})).catch(i=>{E.status("api.test.requestError",!1,a),e.running=!1,z.processError(i)}),E.report("api-run")}function op(e){e.running=!0;const t=e.item,n={baseURL:M.SERVER_URL,url:e.requestPath(),method:t.method,headers:{},responseType:"json",withCredentials:!0},a=i=>i.filter(o=>o.value&&o.value.trim()).forEach(o=>n.url=n.url.replace(new RegExp(`\\{${o.name}}`,"g"),o.value.trim()));if(e.getGroups().filter(i=>i.paths&&i.paths.length>0).map(i=>i.paths).forEach(i=>a(i)),a(t.paths||[]),n.url.indexOf("{")>-1){ge.alert(c("api.test.missPath")),e.running=!1;return}M.GLOBAL.headers.filter(i=>i.name).forEach(i=>n.headers[i.name]=i.value),t.headers.filter(i=>i.name).forEach(i=>n.headers[i.name]=i.value);const s={};if(M.GLOBAL.parameters.filter(i=>i.name).forEach(i=>s[i.name]=i.value),t.parameters.filter(i=>i.name).forEach(i=>s[i.name]=i.value),Object.values(s).some(i=>i instanceof FileList||i instanceof File)){n.headers["Content-Type"]="multipart/form-data";const i=new FormData;Object.keys(s).forEach(o=>{let l=s[o];l instanceof FileList?Array.from(l).forEach(r=>i.append(o,r,r.name)):l instanceof File?i.append(o,l,l.name):i.append(o,l)}),n.data=i}else{n.headers["Content-Type"]="application/x-www-form-urlencoded",n.method!=="POST"||t.requestBody?n.params=s:n.data=s;try{if(t.requestBody){const i=JSON.parse(t.requestBody);(Array.isArray(i)&&i.length>0||typeof i=="object"&&Object.keys(i).length>0)&&(n.params=s,n.data=t.requestBody,n.headers["Content-Type"]="application/json",n.transformRequest=[])}}catch{e.running=!1,ge.alert(c("api.test.requestBodyError"))}}ip(e,n)}var lp={doTest:op,getIcon:e=>e.method||"GET",runnable:!0,requirePath:!0,name:c("api.name"),merge:e=>(e.method=e.method||M.DEFAULT_REQUEST_METHOD,e.parameters=e.parameters||[],e.headers=e.headers||[],e.paths=e.paths||[],e.options=e.options||[],e),processSave:e=>({id:e.id,name:e.name,path:e.path,groupId:e.groupId,lock:e.lock,method:e.method,description:e.description,createBy:e.createBy,createDate:e.createDate,properties:e.properties,script:e.script,responseBody:e.responseBody,responseBodyDefinition:e.responseBodyDefinition,requestBody:e.requestBody,requestBodyDefinition:e.requestBodyDefinition,parameters:e.parameters.filter(t=>t.name),headers:e.headers.filter(t=>t.name),paths:e.paths.filter(t=>t.name),options:e.options.filter(t=>t.name)})},rp={getIcon:e=>"function",name:c("fn.name"),runnable:!1,requirePath:!0,merge:e=>(e.parameters=e.parameters||[],e)};let Fn;Z.setExtensionAttribute("org.ssssssss.magicapi.modules.db.SQLModule",()=>{var e;return Fn&&(((e=Fn("datasource")[0])==null?void 0:e.children)||[]).filter(t=>t.key).map(t=>({name:t.key,type:"org.ssssssss.magicapi.modules.db.SQLModule",comment:t.name}))||[]});var cp={injectResources:e=>Fn=e,doTest:e=>{z.sendJson("/datasource/jdbc/test",e).success(t=>{t==="ok"?ge.alert(c("datasource.connected"),c("datasource.test")):ge.alert(c("datasource.connectFailed",t),c("datasource.test"))})}};const up={class:"magic-main"},pp={class:"magic-main-body-wrapper"},dp={class:"magic-main-body"},_p={ref:"mrl",class:"magic-navbar magic-navbar__vertical"},hp={ref:"mrr",class:"magic-navbar magic-navbar__vertical reverse"},fp={emits:["onLoad"],setup(e,{expose:t,emit:n}){const a=P(!1),s=P({}),i=P(!0),o=P(null),l=(m,x,C)=>{for(let O=0,I=m.length;O{const x=Object.entries(s.value);for(let C=0,O=x.length;C0)return{item:I[0],type:L[0],name:at("/"+I.reverse().map($=>$.name).join("/")),path:at("/"+I.reverse().map($=>$.path||"").join("/"))}}});const r=[{type:"api",title:c("api.name"),icon:"api"},{type:"function",title:c("fn.name"),icon:"function"}],p={api:lp,function:rp,datasource:cp};M.PLUGINS.filter(m=>m.resource&&m.resource.length>0).map(m=>m.resource).forEach(m=>m.forEach(x=>{r.push({type:x.type,icon:x.icon,title:c(x.title)}),x.service&&(p[x.type]=x.service)})),qe("service",p),r.map(m=>m.type).forEach(m=>s.value[m]=[]);const d=[{type:"datasource",title:c("datasource.title"),icon:"datasource",name:c("datasource.name")}];M.PLUGINS.filter(m=>m.datasources&&m.datasources.length>0).map(m=>m.datasources).forEach(m=>m.forEach(x=>{d.push({type:x.type,icon:x.icon,title:x.title,name:x.name})})),d.map(m=>m.type).forEach(m=>s.value[m]=[]),qe("resources",()=>{const m=[...r,...d],x=C=>C.length===1&&C[0].id.endsWith(":0")?C[0].children:C;return m.map(C=>({key:C.type,navbar:C,tree:x(JSON.parse(JSON.stringify(s.value[C.type]||[])))}))}),Object.values(p).forEach(m=>m.injectResources&&m.injectResources(x=>s.value[x])),Re(()=>a.value=!0);const g=m=>Ye(de({},m.node),{folder:m.node.parentId!==void 0,opened:m.node.parentId!==void 0&&M.DEFAULT_EXPAND===!0,children:m.children&&m.children.length?m.children.map(x=>g(x)):void 0}),h=(m,x)=>{var O;i.value=!0,s.value={};const C=m?((O=r.find(I=>I.type===m)||d.find(I=>I.type===m))==null?void 0:O.title)||"":c("message.all");E.status("message.getResource",!0,C),z.send("/resource").success(I=>{[...r,...d].filter(L=>!m||L.type===m).forEach(L=>{var $,G;s.value[L.type]=((G=($=I[L.type])==null?void 0:$.children)==null?void 0:G.map(oe=>g(oe)))||[]}),i.value=!1,E.status("message.getResourceFinish",!0,C),Re(()=>x())})};E.$on(U.RELOAD_RESOURCES,()=>{i.value=!0,z.sendGet("/reload").success(()=>{E.status("message.reloadResourceSuccess"),h(null,()=>E.$emit(U.RELOAD_RESOURCES_FINISH))}).end(()=>i.value=!1)});const T=m=>h(m,()=>E.$emit(U.LOAD_RESOURCES_FINISH,m));E.$on(U.LOAD_RESOURCES,T),E.$on(U.RELOAD_RESOURCES_FINISH,T);const R=m=>{let x;return Object.values(s.value).some(C=>{const O=[];if(l(C,m,O)){x=O[0];const I=r.findIndex(L=>L.type===O[O.length-1].type);return o.value&&o.value.select(I),!0}return!1}),x};E.$on(U.SELECT_NAVBAR_BY_ITEM,R),E.$on(U.OPEN_WITH_ID,m=>{const x=R(m);x&&E.$emit(U.OPEN_ITEM,x)}),E.$on(U.LOGOUT,()=>s.value={}),t({loadResources:T}),ht(()=>n("onLoad"));let D=0;const b=()=>{if(++D%r.length==0)try{JSON.parse(Pe.get(M.RECENT_OPENED_TAB)||"[]").forEach(m=>{E.$emit(U.OPEN_WITH_ID,m)})}catch(m){console.error(m)}};return(m,x)=>{const C=y("magic-resource"),O=y("magic-loading"),I=y("magic-resizer"),L=y("magic-navbar-item"),$=y("magic-navbar"),G=y("magic-script-editor"),oe=y("magic-toolbar"),ke=y("magic-data-resource"),Ce=y("magic-search"),Q=y("magic-export"),fe=y("magic-upload"),$e=y("magic-push"),Le=y("magic-recent-opened");return v(),N("div",up,[a.value?(v(),F($,{key:0,direction:"vertical",to:m.$refs.mrl,ref_key:"mnl",ref:o,spliter:!0},{default:w(()=>[(v(),N(ee,null,pe(r,(De,xt)=>_(L,rt({key:xt},De),{default:w(()=>[_(I,{max:600,min:370,direction:"x"},{default:w(()=>[_(O,{loading:i.value},{default:w(()=>[_(C,rt(De,{data:s.value[De.type],onClose:x[0]||(x[0]=Vn=>m.$refs.mnl.select(-1)),onOnLoad:b}),null,16,["data"])]),_:2},1032,["loading"])]),_:2},1024)]),_:2},1040)),64))]),_:1},8,["to"])):X("",!0),A("div",pp,[A("div",dp,[A("div",_p,null,512),_(G),A("div",hp,null,512)]),_(oe)]),_($,{reverse:!0,"default-select":-1,direction:"vertical",to:m.$refs.mrr,spliter:!0},{default:w(()=>[(v(),N(ee,null,pe(d,(De,xt)=>_(L,{key:xt,title:De.title,icon:De.icon},{default:w(()=>[a.value?(v(),F(I,{key:0,max:320,min:240,direction:"x",reverse:!0},{default:w(()=>[_(O,{loading:i.value},{default:w(()=>[_(ke,{type:De.type,title:De.name,data:s.value[De.type]},null,8,["type","title","data"])]),_:2},1032,["loading"])]),_:2},1024)):X("",!0)]),_:2},1032,["title","icon"])),64))]),_:1},8,["to"]),_(Ce),_(Q),_(fe),_($e),_(Le)])}}};var mp=q(fp,[["__scopeId","data-v-27561660"]]),gp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:mp});const vp={class:"magic-recent-opened"},Ep=["onClick"],bp={key:1},yp={key:0,style:{width:"100%",height:"100px"}},Tp={setup(e){const t=We([]),n=P(!1),a=ae("findResource"),s=ae("service");try{JSON.parse(Pe.get(M.RECENT_OPENED)||"[]").forEach(l=>t.push(l))}catch{}const i=re(()=>t.map(l=>a(l)).filter(l=>l&&s[l.type])),o=l=>{E.$emit(U.OPEN_WITH_ID,l),n.value=!1};return E.$on(U.DO_RECENT,()=>n.value=!n.value),E.$on(U.CLOSE,l=>{if(l.id){const r=t.findIndex(p=>p===l.id);r>-1&&t.splice(r,1),t.unshift(l.id),t.length>20&&t.splice(t.length-1,1),Pe.set(M.RECENT_OPENED,Fe(t))}}),(l,r)=>{const p=y("magic-text-icon"),d=y("magic-empty"),g=y("magic-dialog");return v(),F(g,{value:n.value,"onUpdate:value":r[0]||(r[0]=h=>n.value=h),title:f(c)("editor.tooltip.recent"),padding:"0",shade:!1},{default:w(()=>[A("ul",vp,[(v(!0),N(ee,null,pe(f(i),(h,T)=>(v(),N("li",{key:T,onClick:ve(R=>o(h.item.id),["stop"])},[f(s)[h.type]&&f(s)[h.type].getIcon?(v(),F(p,{key:0,icon:f(s)[h.type].getIcon(h.item)},null,8,["icon"])):X("",!0),A("label",null,B(h.name),1),f(s)[h.type].requirePath&&h.path?(v(),N("span",bp,"("+B(h.path)+")",1)):X("",!0)],8,Ep))),128))]),f(i).length===0?(v(),N("div",yp,[_(d,{text:"empty."})])):X("",!0)]),_:1},8,["value","title"])}}};var Sp=q(Tp,[["__scopeId","data-v-44903aa6"]]),xp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Sp});const Op={class:"magic-resource-header"},Rp=["title","onClick"],Ap={key:0},Ip={key:0},Cp={class:"magic-create-group"},Lp={key:0},Np={props:{type:String,title:String,data:Array},emits:["close","onLoad"],setup(e,{emit:t}){const n=e,a=ae("service")[n.type],s=a.requirePath,i=a.getIcon,o=P(""),l=P(!0),r=P(!1),p=P(""),d=P(null),g=ae("activateUserFiles"),h=re(()=>l.value?c("resource.createGroup"):c("resource.updateGroup")),T=P(!0),R=P({}),D=P({}),b=P(!1),m=P({type:n.type}),x=re(()=>n.data),C=P([{name:c("resource.createGroup"),icon:"group-add",onClick:()=>{m.value={type:n.type,parentId:"0"},l.value=!0,b.value=!0}},{name:c("resource.header.expand"),icon:"expand-all",onClick:()=>Xe(x.value,k=>k.opened=!0)},{name:c("resource.header.collapse"),icon:"collapse-all",onClick:()=>Xe(x.value,k=>k.opened=!1)},{name:c("resource.header.desc"),icon:"descending",show:()=>T.value,onClick:()=>T.value=!1},{name:c("resource.header.asc"),icon:"ascending",show:()=>!T.value,onClick:()=>T.value=!0},{separator:!0},{name:c("resource.header.position"),icon:"position",onClick:()=>{D.value&&R.value&&(E.$emit(U.SELECT_NAVBAR_BY_ITEM,R.value),D.value.scrollIntoView(R.value))}},{name:c("message.hide"),icon:"minimize",onClick:()=>t("close")}]),O=(k,H,j,V,he)=>{he=he||[],H=H||[];let Oe=H.find(et=>et===k||et.id===k);if(Oe)return j.push(Oe.name),he.push(Oe),a.requirePath&&Oe.path&&V.push(Oe.path),Oe;for(let et=0,sn=H.length;et{const j=[],V=[];O(Fe(k),Fe(x.value),j,V);const he=V.length>0?at(`/${V.join("/")}`):"";return H?he:`/${j.join("/")}${a.requirePath?`(${he})`:""}`},L=k=>I(k),$=[],G=k=>{if(k)if(k.folder)E.$emit(U.OPEN_GROUP,k);else{let H=$.find(j=>j.item==k);H||(H=We({type:n.type,title:n.title,language:a.language||"magicscript",item:a.merge(k),path:()=>I(k),requestPath:()=>{const j=[];return O(Fe(k),Fe(x.value),[],j),at(`/${j.join("/")}`)},getGroups:()=>{const j=[];return O(Fe(k),Fe(x.value),[],[],j),j},getIcon:a.getIcon,runnable:a.runnable,doTest:a.doTest,processSave:a.processSave||(j=>j)}),$.push(H)),E.$emit(U.OPEN,H)}};E.$on(U.OPEN,k=>R.value=k.item),E.$on(U.OPEN_EMPTY,()=>R.value=null);const{proxy:oe}=_t(),ke=()=>{l.value;const k=de({},m.value);delete k.children,delete k.opened,delete k.folder,z.sendJson("/resource/folder/save",k).success(H=>{const j=I(k);H?(fe(Ye(de({},Fe(m.value)),{folder:!0,id:H})),E.status("resource.saveGroupSuccess",!0,n.title,j),b.value=!1,E.report("group-save")):(E.status("resource.saveGroupFailed",!1,n.title,j),oe.$alert(c("resource.saveGroupFailed",n.title,j)))})},Ce=(k,H)=>new Promise(j=>z.send("/resource/move",{src:k.id,groupId:H.groupId||H.id}).success(V=>{const he=k.folder?"resource.moveGroup":"resource.moveResource",Oe=I(k);V?(k.folder?E.status(he+"Success",!0,n.title,Oe):E.status(he+"Success",!0,Oe),k[k.folder?"parentId":"groupId"]=H.groupId||H.id):k.folder?(E.status(he+"Failed",!1,n.title,Oe),oe.$alert(c(he+"Failed",n.title,Oe))):(E.status(he+"Failed",!1,Oe),oe.$alert(c(he+"Failed",Oe))),j(V)})),Q=(k,H)=>{H=H||x.value;const j=H.findIndex(V=>V===k||V.id===k.id);j>-1?H.splice(j,1):H.forEach(V=>Q(k,V.children||[]))},fe=(k,H)=>{H=H||x.value||[];const j=H.find(V=>V.id===k.id||k.groupId===V.id);if(j)return j.children=j.children||[],j.opened=!0,j.id===k.id?(j.name=k.name,j.path=k.path,j.parentId=k.parentId):j.children.push(k),!0;if(k.parentId==="0")return H.push(k),!0;{if(H.some(he=>fe(k,he.children||[])))return!0;const V=k.parentId!==void 0&&H.find(he=>he.id===k.parentId);if(V)return V.children.push(k),!0}return!1};E.$on(U.OPEN_ITEM,k=>{const H=Fe(x.value);H&&G(O(Fe(k),H,[],[]))});const $e=(k,H)=>{if(k&&H){const j=[];k.folder?(j.push.apply(j,[{label:c("resource.contextmenu.newFile",n.title),icon:"plus",onClick(){const V={groupId:k.id,name:c("message.untitled"),script:"return 'Hello magic-api'",path:a.requirePath?"":void 0};fe(V),G(V)}},{label:c("resource.createGroup"),icon:"group-add",onClick(){l.value=!0,m.value={parentId:k.id,type:n.type},b.value=!0}},{label:c("resource.updateGroup"),icon:"update",onClick(){l.value=!1,m.value=de({},k),b.value=!0}},{label:c("resource.copyGroup"),icon:"copy",onClick(){p.value=k.id,r.value=!0}},{label:c("resource.contextmenu.deleteGroup"),icon:"delete",onClick(){oe.$confirm(c("resource.contextmenu.deleteGroup"),c("resource.deleteGroupConfirm",n.title,I(k)),()=>{k.id?z.send("/resource/delete",{id:k.id}).success(V=>{V?(E.status("resource.deleteGroupSuccess",!0,n.title,I(k)),Q(k)):(oe.$alert("resource.deleteGroupFailed",n.title,I(k)),E.status("resource.deleteGroupFailed",!1,n.title,I(k)),E.report("group-delete"))}):Q(k)})}},{label:c("resource.contextmenu.exportGroup"),icon:"download",onClick(){z.send(`/download?groupId=${k.id}`,null,{headers:{"Content-Type":"application/json"},responseType:"blob"}).success(V=>{fn(V,`${k.name}.zip`),E.status("resource.groupExport",!0,k.name,n.title),E.report("group-export")})}}]),k.parentId!=="0"&&j.push({label:c("resource.contextmenu.moveToRoot"),icon:"move",onClick(){oe.$confirm(c("resource.moveGroup"),c("resource.moveRootGroupConfirm",I(k)),()=>{z.send("/resource/move",{src:k.id,groupId:"0"}).success(V=>{V?(E.status("resource.moveRootSuccess",!0,n.title,I(k)),k.parentId="0",Q(k),fe(k),E.report("group-move")):(oe.$alert(c("resource.moveRootFailed",n.title,I(k))),E.status("resource.moveRootFailed",!1,n.title,I(k)))})})}})):(j.push.apply(j,[{label:c("resource.contextmenu.copy",n.title),icon:"copy",divided:!0,onClick:()=>{z.send(`/resource/file/${k.id}`).success(V=>{V.id=`copy${parseInt(Math.random()*1e10)}`,V.name=V.name+`(${c("message.copy")})`,a.requirePath&&(V.path=V.path+"_copy"),fe(V),G(V)})}}]),a.requirePath&&(n.type==="api"&&j.push({label:c("resource.contextmenu.copyWithPath"),icon:"copy",onClick:()=>{let V=I(k,!0);V&&(V=at(M.SERVER_URL+"/"+V),sa(V)?E.status("resource.copyPathSuccess",!0,n.title,V):E.status("resource.copyPathFailed",!1,n.title,V))}}),j.push.apply(j,[{label:c("resource.contextmenu.copyRelativePath"),icon:"copy",divided:!0,onClick:()=>{const V=I(k,!0);V&&(sa(V)?E.status("resource.copyRelativePathSuccess",!0,n.title,V):E.status("resource.copyRelativePathFailed",!1,n.title,V))}}]),k.lock===M.LOCKED?j.push({label:c("resource.contextmenu.unlock"),icon:"unlock",onClick:()=>z.sendPost("/resource/unlock",{id:k.id}).success(V=>{E.status(V?"message.unlockSuccess":"message.unlockFailed",V,I(k)),V&&(k.lock=M.UNLOCK,E.report("resource-unlock"))})}):j.push({label:c("resource.contextmenu.lock"),icon:"lock",onClick:()=>z.sendPost("/resource/lock",{id:k.id}).success(V=>{E.status(V?"message.lockSuccess":"message.lockFailed",V,I(k)),V&&(k.lock=M.LOCKED,E.report("resource-lock"))})})),j.push.apply(j,[{label:c("message.refresh"),icon:"refresh"},{label:c("resource.contextmenu.delete"),icon:"delete",onClick:()=>{const V=`${n.title}\u300C${I(k)}\u300D`;oe.$confirm(c("message.deleteTips",n.title),c("message.deleteConfirm",V),()=>{k.id&&!k.id.startsWith("copy")?z.send("/resource/delete",{id:k.id}).success(he=>{he?(E.status("message.deleteSuccess",!0,V),Q(k),E.$emit(U.DELETE_FILE,k),E.report("resource-delete")):(E.status("message.deleteFailed",!1,V),oe.$alert(c("message.deleteFailed",V)))}):(E.status("message.deleteSuccess",!0,V),Q(k),E.$emit(U.DELETE_FILE,k))})}}])),oe.$contextmenu({menus:j,event:H})}},Le=k=>{oe.$contextmenu({event:k,menus:C.value.slice(0,5).filter(H=>!H.show||H.show()).map(H=>({icon:H.icon,label:H.name,onClick:H.onClick}))})};let De=null;const xt=()=>{d.value&&z.sendPost("/resource/folder/copy",{src:p.value,target:d.value.id.endsWith("-root")?"0":d.value.id}).success(k=>{De=k,r.value=!1,E.$emit(U.LOAD_RESOURCES)})},Vn=ae("findResource");return E.$on(U.LOAD_RESOURCES_FINISH,()=>{De&&Re(()=>{const k=Vn(De);E.$emit(U.SELECT_NAVBAR_BY_ITEM,k.item),E.$emit(U.OPEN_GROUP,k.item)})}),ht(()=>t("onLoad")),(k,H)=>{const j=y("magic-icon"),V=y("magic-input"),he=y("magic-empty"),Oe=y("magic-text-icon"),et=y("magic-avatar-group"),sn=y("magic-tree"),Me=y("magic-button"),Gn=y("magic-button-group"),jn=y("magic-dialog"),Va=y("magic-resource-choose");return v(),N("div",{class:"magic-resource",onContextmenu:H[10]||(H[10]=ve(J=>Le(J),["prevent"]))},[A("div",Op,[_(j,{icon:"search",size:"14px"}),_(V,{value:o.value,"onUpdate:value":H[0]||(H[0]=J=>o.value=J),placeholder:f(c)("message.searchText"),width:"auto"},null,8,["value","placeholder"]),A("ul",null,[(v(!0),N(ee,null,pe(C.value,(J,zn)=>(v(),N(ee,{key:zn},[!J.show||J.show()?(v(),N("li",{key:0,title:J.name||"",onClick:td=>J.onClick&&J.onClick(),class:me({separator:J.separator})},[J.separator?X("",!0):(v(),F(j,{key:0,icon:J.icon},null,8,["icon"]))],10,Rp)):X("",!0)],64))),128))])]),!e.data||e.data.length===0?(v(),F(he,{key:0,text:f(c)("message.empty",e.title)},null,8,["text"])):(v(),F(sn,{key:1,ref_key:"treeObj",ref:D,data:f(x),onItemClick:G,onContextmenu:$e,draggable:!0,sort:!0,descending:T.value,onMove:Ce,filter:o.value,"filter-text":L,selected:R.value},{folder:w(({item:J})=>[_(j,{icon:J.opened?"arrow-bottom":"arrow-right",onClick:ve(zn=>J.opened=!J.opened,["stop"])},null,8,["icon","onClick"]),_(j,{icon:"list"}),A("label",null,B(J.name),1),f(s)&&J.path?(v(),N("span",Ap,"("+B(J.path)+")",1)):X("",!0)]),file:w(({item:J})=>[_(Oe,{icon:f(i)(J)},null,8,["icon"]),A("label",null,B(J.name),1),f(s)&&J.path?(v(),N("span",Ip,"("+B(J.path)+")",1)):X("",!0),J.lock==="1"?(v(),F(j,{key:1,icon:"lock"})):X("",!0),_(et,{users:f(g)[J.id]||[],max:3,size:20},null,8,["users"])]),_:1},8,["data","descending","filter","selected"])),_(jn,{title:f(h),value:b.value,"onUpdate:value":H[5]||(H[5]=J=>b.value=J),width:"350px"},{default:w(()=>[A("ul",Cp,[A("li",null,[A("label",null,B(f(c)("resource.form.groupName"))+"\uFF1A",1),_(V,{value:m.value.name,"onUpdate:value":H[1]||(H[1]=J=>m.value.name=J),placeholder:f(c)("resource.form.placeholder.name",e.title)},null,8,["value","placeholder"])]),f(s)?(v(),N("li",Lp,[A("label",null,B(f(c)("resource.form.groupPath"))+"\uFF1A",1),_(V,{value:m.value.path,"onUpdate:value":H[2]||(H[2]=J=>m.value.path=J),placeholder:f(c)("resource.form.placeholder.path",e.title)},null,8,["value","placeholder"])])):X("",!0)]),_(Gn,{align:"right",style:{padding:"5px 0"}},{default:w(()=>[_(Me,{value:f(h),type:"active",onOnClick:H[3]||(H[3]=J=>ke())},null,8,["value"]),_(Me,{value:f(c)("message.cancel"),onOnClick:H[4]||(H[4]=J=>b.value=!1)},null,8,["value"])]),_:1})]),_:1},8,["title","value"]),_(jn,{value:r.value,"onUpdate:value":H[9]||(H[9]=J=>r.value=J),title:f(c)("resource.copyGroup"),shade:!1,padding:"0",width:"400px",overflow:"hidden"},{default:w(()=>[_(Va,{ref:"chooseGroup",value:d.value,"onUpdate:value":H[6]||(H[6]=J=>d.value=J),file:!1,type:e.type,single:!0},null,8,["value","type"]),_(Gn,{align:"right",style:{"margin-right":"5px","margin-bottom":"5px"}},{default:w(()=>[_(Me,{value:f(c)("message.expand"),onOnClick:H[7]||(H[7]=J=>k.$refs.chooseGroup.expand(!0))},null,8,["value"]),_(Me,{value:f(c)("message.collapse"),onOnClick:H[8]||(H[8]=J=>k.$refs.chooseGroup.expand(!1))},null,8,["value"]),_(Me,{type:"active",value:f(c)("message.copy"),onOnClick:xt},null,8,["value"])]),_:1})]),_:1},8,["value","title"])],32)}}};var wp=q(Np,[["__scopeId","data-v-615c15e4"]]),kp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:wp});const Ue=e=>(rn("data-v-441a96bb"),e=e(),cn(),e),Dp={class:"magic-script-editor"},Mp={key:0,class:"magic-empty-container"},Pp={class:"magic-hot-key"},Up=Ue(()=>A("em",null,"Ctrl + S",-1)),$p=Ue(()=>A("br",null,null,-1)),Bp=Ue(()=>A("em",null,"Ctrl + Q",-1)),Fp=Ue(()=>A("br",null,null,-1)),Hp=Ue(()=>A("em",null,"Alt + /",-1)),Vp=Ue(()=>A("br",null,null,-1)),Gp=Ue(()=>A("em",null,"F8",-1)),jp=Ue(()=>A("br",null,null,-1)),zp=Ue(()=>A("em",null,"F6",-1)),Yp=Ue(()=>A("br",null,null,-1)),qp=Ue(()=>A("em",null,"Ctrl + Alt + L",-1)),Kp=Ue(()=>A("br",null,null,-1)),Wp=Ue(()=>A("em",null,"Ctrl + E",-1)),Xp={key:0},Jp={class:"magic-monaco-editor-wrapper"},Qp={emits:["onLoad"],setup(e,{emit:t}){const{proxy:n}=_t(),a=We([]),s=P({}),i=P(!0),o=P(null),l=P(null),r=ae("activateUserFiles"),p={String:"java.lang.String",Integer:"java.lang.Integer",Double:"java.lang.Double",Long:"java.lang.Long",Byte:"java.lang.Byte",Short:"java.lang.Short",Float:"java.lang.Float",MultipartFile:"org.springframework.web.multipart.MultipartFile",MultipartFiles:"java.util.List"};en.setEnvironment(()=>{var C;const b={},m=(C=s.value)==null?void 0:C.item,x=O=>O&&Array.isArray(O)&&O.forEach(I=>{I&&typeof I.name=="string"&&I.dataType&&(b[I.name]=p[I.dataType]||"java.lang.Object")});return m&&(x(m==null?void 0:m.parameters),x(m==null?void 0:m.paths)),b});const d=b=>{let m=a.findIndex(x=>x===b);if(a.splice(m,1),b===s.value){let x=a.length;m0&&E.$emit(U.OPEN,a[m-1])}E.$emit(U.CLOSE,b.item),a.length===0&&(E.$emit(U.OPEN_EMPTY),s.value={})};mt(a,b=>{Pe.set(M.RECENT_OPENED_TAB,b.filter(m=>{var x;return(x=m.item)==null?void 0:x.id}).map(m=>m.item.id))});const g=b=>{const m=s.value;if(m&&m.item){const x=s.value.processSave(m.item);return Object.keys(x).forEach(C=>m.item[C]=x[C]),z.sendJson(`/resource/file/${s.value.type}/save?auto=${b?0:1}`,x).success(C=>{const O=`${m.title}\u300C${m.path()}\u300D`;C?(E.status("message.saveSuccess",!0,O),m.tmpObject=JSON.parse(JSON.stringify(x)),m.item.id!==C&&E.report("script-add"),m.item.id=C):(E.status("message.saveFailed",!1,O),n.$alert(c("message.saveFailed",O)))})}},h=()=>s.value.doTest(s.value),T=b=>{if(s.value.debuging){o.value.removedDecorations(s.value.debugDecorations),s.value.debuging=!1,s.value.variables=null;const m=(s.value.decorations||[]).filter(x=>x.options.linesDecorationsClassName==="breakpoints").map(x=>x.range.startLineNumber).join("|");E.send(Ie.RESUME_BREAKPOINT,[s.value.item.id,b===!0?"1":"0",m].join(","))}},R=(b,m,x)=>{const C=[{label:c("editor.tab.close"),divided:!0,onClick(){d(m)}},{label:c("editor.tab.closeOther"),divided:!0,onClick(){[...a].forEach((O,I)=>I!=x&&d(O))}},{label:c("editor.tab.closeLeft"),onClick(){[...a].forEach((O,I)=>II>x&&d(O))}},{label:c("editor.tab.closeAll"),onClick(){[...a].forEach(O=>d(O))}}];n.$contextmenu({menus:C,event:b})},D=b=>Object.keys(b.tmpObject||{}).some(m=>{const x=b.tmpObject[m],C=b.item[m];return x===C||m==="properties"||m==="responseBody"||m==="responseBodyDefinition"?!1:typeof x=="object"||typeof C=="object"?JSON.stringify(x)!==JSON.stringify(C):x!==C});return E.$on(U.LOGOUT,()=>[...a].forEach(b=>d(b))),E.$on(U.DELETE_FILE,b=>{const m=a.findIndex(x=>x.item===b);m>-1&&d(a[m])}),E.$on(U.RELOAD_RESOURCES_FINISH,()=>{a.filter(b=>b.item&&b.item.id).forEach(b=>z.sendGet(`/resource/file/${b.item.id}`).success(m=>{E.status("message.getDetailSuccess",!0,`${b.title}\u300C${b.path()}\u300D`),Object.keys(m).forEach(x=>b.item[x]=m[x])}))}),E.$event(Ie.LOGIN_RESPONSE,()=>{var b;s.value&&E.send(Ie.SET_FILE_ID,((b=s.value.item)==null?void 0:b.id)||"0")}),E.$on(U.OPEN,b=>{let m=a.find(x=>x.item===b.item||x.item.id&&x.item.id===b.item.id);E.send(Ie.SET_FILE_ID,b.item.id||"0"),m?(s.value=m,i.value=!1):(a.push(b),s.value=b,b.item.id&&!b.item.script?(i.value=!0,z.sendGet(`/resource/file/${b.item.id}`).success(x=>{E.status("message.getDetail",!0,`${b.title}\u300C${b.path()}\u300D`),Object.keys(x).forEach(C=>b.item[C]=x[C]),b.tmpObject=JSON.parse(JSON.stringify(b.processSave(x))),i.value=!1})):(b.tmpObject=JSON.parse(JSON.stringify(b.processSave(b.item))),i.value=!1)),s.value.decorations&&s.value.decorations.length>0&&Re(()=>{const x=Fe(s.value.decorations);s.value.debugDecorations=o.value.appendDecoration(x).map((C,O)=>{var I;return((I=x[O].options)==null?void 0:I.className)==="debug-line"?C:null}).filter(C=>C!==null)||[]}),Re(()=>l.value&&l.value.scrollIntoView(b))}),E.$on(U.DO_SAVE,g),E.$on(U.DO_TEST,()=>{const b=s.value;b&&b.item&&b.runnable&&b.doTest&&b.running!==!0&&(M.AUTO_SAVE&&b.item.lock!=="1"?g().end(m=>m&&h()):h())}),E.$event(Ie.BREAKPOINT,([b,{range:m,variables:x}])=>{var C,O;if(((O=(C=s.value)==null?void 0:C.item)==null?void 0:O.id)!==b){const I=a.find(L=>L.item.id===b);I&&E.$emit(U.OPEN,I)}Re(()=>{s.value.variables=Ns(x),s.value.debuging=!0,s.value.debugDecorations=[o.value.appendDecoration([{range:new nt(m[0],1,m[0],1),options:{isWholeLine:!0,inlineClassName:"debug-line",className:"debug-line"}}])],E.$emit(U.SWITCH_TOOLBAR,"debug")}),E.report("debug-in")}),E.$on(U.DEBUG_CONTINUE,T),E.$on(U.DEBUG_SETPINTO,()=>T(!0)),E.$event(Ie.EXCEPTION,([[b,m,x]])=>{var C,O;if(((O=(C=s.value)==null?void 0:C.item)==null?void 0:O.id)===b){const I=new nt(x[0],x[2],x[1],x[3]+1),L=o.value.getInstance(),$=L.deltaDecorations([],[{range:I,options:{hoverMessage:{value:m},inlineClassName:"squiggly-error"}}]);L.revealRangeInCenter(I),L.focus(),M.DECORATION_TIMEOUT>=0&&setTimeout(()=>L.deltaDecorations($,[]),M.DECORATION_TIMEOUT)}}),ht(()=>t("onLoad")),(b,m)=>{const x=y("magic-text-icon"),C=y("magic-icon"),O=y("magic-avatar-group"),I=y("magic-tab"),L=y("magic-monaco-editor"),$=y("magic-loading");return v(),N("div",Dp,[f(a).length===0?(v(),N("div",Mp,[A("div",Pp,[A("p",null,[Ee(B(f(c)("message.save")),1),Up,$p,Ee(" "+B(f(c)("message.run")),1),Bp,Fp,Ee(" "+B(f(c)("editor.tooltip.complection")),1),Hp,Vp,Ee(" "+B(f(c)("editor.tooltip.resume")),1),Gp,jp,Ee(" "+B(f(c)("editor.tooltip.stepInto")),1),zp,Yp,Ee(" "+B(f(c)("editor.tooltip.format")),1),qp,Kp,Ee(" "+B(f(c)("editor.tooltip.recent")),1),Wp])])])):(v(),N(ee,{key:1},[_(I,{value:s.value,"onUpdate:value":m[0]||(m[0]=G=>s.value=G),tabs:f(a),className:"magic-script-tab",ref_key:"tab",ref:l,"allow-close":!0,onClose:d,onChange:m[1]||(m[1]=G=>f(E).$emit("open",G)),onItemContextmenu:R},{default:w(({tab:G})=>[_(x,{icon:G.getIcon(G.item)},null,8,["icon"]),Ee(B(G.item.name),1),D(G)?(v(),N("span",Xp,"*")):X("",!0),G.item.lock===b.$LOCKED?(v(),F(C,{key:1,icon:"lock"})):X("",!0),_(O,{users:f(r)[G.item.id]||[],max:3,size:20},null,8,["users"])]),_:1},8,["value","tabs"]),_($,{loading:i.value},{default:w(()=>[A("div",Jp,[_(L,{ref_key:"editor",ref:o,value:s.value.item.script,"onUpdate:value":m[2]||(m[2]=G=>s.value.item.script=G),decorations:s.value.decorations,"onUpdate:decorations":m[3]||(m[3]=G=>s.value.decorations=G),language:s.value.language,"support-breakpoint":!0},null,8,["value","decorations","language"])])]),_:1},8,["loading"])],64))])}}};var Zp=q(Qp,[["__scopeId","data-v-441a96bb"]]),ed=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Zp});const Fa={};Object.entries({"./components/magic-editor.vue":io,"./components/common/magic-context-menu.vue":uo,"./components/common/magic-empty.vue":fo,"./components/common/magic-loading.vue":Eo,"./components/common/magic-monaco-diff-editor.vue":xo,"./components/common/magic-monaco-editor.vue":Co,"./components/common/magic-resizer.vue":ko,"./components/common/data/magic-navbar-item.vue":Uo,"./components/common/data/magic-navbar.css":Bo,"./components/common/data/magic-navbar.js":zo,"./components/common/data/magic-tab.css":qo,"./components/common/data/magic-tab.js":Wo,"./components/common/data/magic-table-column.vue":Jo,"./components/common/data/magic-table.css":Zo,"./components/common/data/magic-table.js":tl,"./components/common/data/magic-tree.css":al,"./components/common/data/magic-tree.js":il,"./components/common/dialog/magic-alert.vue":Ts,"./components/common/dialog/magic-confirm.vue":xs,"./components/common/dialog/magic-dialog.vue":cl,"./components/common/dialog/magic-modal.js":Os,"./components/common/dialog/magic-notify.vue":ml,"./components/common/form/magic-button-group.vue":El,"./components/common/form/magic-button.vue":Tl,"./components/common/form/magic-checkbox.vue":Rl,"./components/common/form/magic-file.vue":Nl,"./components/common/form/magic-input.vue":Ml,"./components/common/form/magic-select.vue":Hl,"./components/common/form/magic-textarea.vue":zl,"./components/common/icon/magic-avatar-group.vue":Kl,"./components/common/icon/magic-avatar.vue":Ql,"./components/common/icon/magic-icon.vue":Go,"./components/common/icon/magic-text-icon.vue":nr,"./components/panel/api/magic-api-body.vue":ir,"./components/panel/api/magic-api-description.vue":lr,"./components/panel/api/magic-api-group.vue":pr,"./components/panel/api/magic-api-header.vue":hr,"./components/panel/api/magic-api-info.vue":vr,"./components/panel/api/magic-api-option.vue":yr,"./components/panel/api/magic-api-parameter.vue":xr,"./components/panel/api/magic-api-path.vue":Ar,"./components/panel/api/magic-api-request-body.vue":Lr,"./components/panel/api/magic-api-request-structure.vue":Ur,"./components/panel/api/magic-api-response-body.vue":Hr,"./components/panel/api/magic-api-response-header.vue":Yr,"./components/panel/api/magic-api-response-structure.vue":Qr,"./components/panel/api/magic-api-response.vue":nc,"./components/panel/api/magic-global-header.vue":ic,"./components/panel/api/magic-global-parameter.vue":rc,"./components/panel/api/magic-global.vue":dc,"./components/panel/common/magic-panel-common-toolbar.vue":hc,"./components/panel/common/magic-panel-toolbar.vue":Ec,"./components/panel/common/magic-resource-choose.vue":Oc,"./components/panel/datasource/magic-datasource-datasource.vue":Bc,"./components/panel/footer/magic-backup.vue":zc,"./components/panel/footer/magic-debug.vue":gu,"./components/panel/footer/magic-event.vue":Tu,"./components/panel/footer/magic-log.vue":Ru,"./components/panel/footer/magic-online.vue":Lu,"./components/panel/footer/magic-status-bar.vue":Pu,"./components/panel/footer/magic-todo.vue":Vu,"./components/panel/footer/magic-toolbar.vue":Ku,"./components/panel/function/magic-function-info.vue":Qu,"./components/panel/function/magic-function-parameter.vue":t1,"./components/panel/header/magic-export.vue":s1,"./components/panel/header/magic-header.vue":E1,"./components/panel/header/magic-push.vue":S1,"./components/panel/header/magic-search.vue":w1,"./components/panel/header/magic-upload.vue":D1,"./components/panel/main/magic-data-resource.vue":V1,"./components/panel/main/magic-login.vue":sp,"./components/panel/main/magic-main.vue":gp,"./components/panel/main/magic-recent-opened.vue":xp,"./components/panel/main/magic-resource.vue":kp,"./components/panel/main/magic-script-editor.vue":ed}).forEach(([e,t])=>Fa[e.substring(e.lastIndexOf("/")+1,e.lastIndexOf("."))]=t.default);const Hn=e=>{let t;Object.entries(Fa).forEach(([n,a])=>{e.component(n,a)}),e.config.globalProperties.$contextmenu=n=>{t!=null&&t.unmount(),t=ln(Ma,{menus:n.menus,position:{x:n.event.clientX,y:n.event.clientY},onDestory:()=>{t&&t.unmount(),t=null}}),Hn(t),t.mount(".magic-editor .magic-mounts")},Object.keys(M).forEach(n=>e.config.globalProperties[`$${n}`]=M[n]),na(e,Hn)};if(typeof window!="undefined"){let e=function(){var t=document.body,n=document.getElementById("__svg__icons__dom__1645963663198__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__1645963663198__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='',t.insertBefore(n,t.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}window.Vue=Za;const Ha=ln(ls);Ha.use(Hn);Ha.mount("#app");
diff --git a/magic-editor/src/console/dist/assets/index.418c1075.js b/magic-editor/src/console/dist/assets/index.615d380c.js
similarity index 92%
rename from magic-editor/src/console/dist/assets/index.418c1075.js
rename to magic-editor/src/console/dist/assets/index.615d380c.js
index 3a936ec0..5baaef80 100644
--- a/magic-editor/src/console/dist/assets/index.418c1075.js
+++ b/magic-editor/src/console/dist/assets/index.615d380c.js
@@ -1 +1 @@
-import"./app.f8103fb2.js";import"./vue.d2568fdd.js";import"./axios.23e7b955.js";import"./vendor.95bdc8f2.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};s();
+import"./app.973401e1.js";import"./vue.d2568fdd.js";import"./axios.23e7b955.js";import"./vendor.95bdc8f2.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};s();
diff --git a/magic-editor/src/console/dist/assets/index.70f5c308.js b/magic-editor/src/console/dist/assets/index.70f5c308.js
deleted file mode 100644
index 4d041629..00000000
--- a/magic-editor/src/console/dist/assets/index.70f5c308.js
+++ /dev/null
@@ -1 +0,0 @@
-import"./app.0a1e5dea.js";import"./vue.d2568fdd.js";import"./axios.23e7b955.js";import"./vendor.95bdc8f2.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};s();
diff --git a/magic-editor/src/console/dist/assets/index.735b3f00.js b/magic-editor/src/console/dist/assets/index.735b3f00.js
deleted file mode 100644
index d8837797..00000000
--- a/magic-editor/src/console/dist/assets/index.735b3f00.js
+++ /dev/null
@@ -1 +0,0 @@
-import"./app.bcc429a3.js";import"./vue.d2568fdd.js";import"./axios.23e7b955.js";import"./vendor.95bdc8f2.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};s();
diff --git a/magic-editor/src/console/dist/assets/index.cfbf6a02.js b/magic-editor/src/console/dist/assets/index.cfbf6a02.js
deleted file mode 100644
index 8302fc1c..00000000
--- a/magic-editor/src/console/dist/assets/index.cfbf6a02.js
+++ /dev/null
@@ -1 +0,0 @@
-import"./app.2bde6f23.js";import"./vue.d2568fdd.js";import"./axios.23e7b955.js";import"./vendor.95bdc8f2.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};s();
diff --git a/magic-editor/src/console/dist/assets/style.ebd2c6d3.css b/magic-editor/src/console/dist/assets/style.7e91d39e.css
similarity index 99%
rename from magic-editor/src/console/dist/assets/style.ebd2c6d3.css
rename to magic-editor/src/console/dist/assets/style.7e91d39e.css
index d342b06f..a2039f85 100644
--- a/magic-editor/src/console/dist/assets/style.ebd2c6d3.css
+++ b/magic-editor/src/console/dist/assets/style.7e91d39e.css
@@ -1 +1 @@
-html,body,#app{width:100%;height:100%;margin:0!important}@font-face{font-family:JetBrainsMono;src:url(./JetBrainsMono-Regular.bceff071.woff2) format("woff2");font-weight:100;font-style:normal}@font-face{font-family:PoetsenOne;src:url(./PoetsenOne.14047964.woff2) format("woff2");font-weight:100;font-style:normal}.magic-editor{width:100%;height:100%;overflow:auto;display:flex;flex-direction:column;position:relative;min-width:1200px;min-height:600px;font-size:12px;letter-spacing:0px;background-color:var(--main-background-color);cursor:default;color:var(--main-color);outline:0;--main-color: #000;--main-background-color: #f2f2f2;--main-border-color: #cdcdcd;--main-hover-background-color: #d9d9d9;--main-hover-icon-background-color: #d9d9d9;--main-selected-background-color: #bdbdbd;--main-selected-color: #000;--main-icon-color: #6e6e6e;--navbar-body-background-color: #fff;--navbar-body-border-color: #c0c0c0;--header-title-color: #000;--header-default-color: #6e6e6e;--empty-background-color: #b6b6b6;--empty-color: #505050;--empty-key-color: #5263a0;--tree-hover-background-color: #d4d4d4;--tree-icon-color: #aeb9c0;--table-border-color: #bdbdbd;--input-border-color: #bdbdbd;--input-background-color: #fff;--input-focus-color: #0784de;--dialog-border-color: #707070;--dialog-shadow-color: #cfcfcf;--button-border-color: #adadad;--button-background-color: #e3e3e3;--button-hover-border-color: #99a0a5;--button-hover-background-color: #e3f1fa;--button-disabled-color: #bdbdbd;--select-background-color: #e3e3e3;--select-hover-background-color: #e3f1fa;--select-option-background-color: #fff;--select-option-border-color: #808080;--select-option-hover-background-color: #1a7dc4;--select-option-hover-color: #fff;--select-inputable-background-color: #fff;--tab-selected-background-color: #fff;--icon-debug-color: #59A869;--icon-step-color: #389FD6;--data-type-default-color: #000;--data-type-string-color: #008000;--data-type-integer-color: #0000ff;--data-type-number-color: #0000ff;--data-type-byte-color: #0000ff;--data-type-long-color: #0000ff;--data-type-float-color: #0000ff;--data-type-double-color: #0000ff;--data-type-short-color: #0000ff;--data-type-boolean-color: #000080;--data-type-class-color: #660e7a;--data-type-key-color: #AC0039;--breakpoints-background-color: #db5860;--debug-line-background-color: #2154A6;--breakpoint-line-background-color: #FAEAE6;--run-log-background-color: #fff;--log-color-info: #00cd00;--log-color-warn: #A66F00;--log-color-debug: #00cccc;--log-color-error: #cd0000;--log-color-trace: #0000EE;--log-color-cyan: #00CCCC;--log-color-link: #006DCC;--todo-color: #008dde;--message-em-color: #007F31;--checkbox-background-color: #fff;--checkbox-text-color: #fff;--checkbox-border-color: #b0b0b0;--checkbox-selected-boder-color: #4F9EE3;--checkbox-selected-background-color: #4F9EE3;--resource-label-color: #000;--resource-span-color: #999;--scollbar-color: rgba(170, 170, 170, .7);--scollbar-background: rgba(194, 194, 194, .1);--scollbar-thumb-background: rgba(170, 170, 170, .4);--scollbar-thumb-hover-background: rgba(170, 170, 170, .7);--scollbar-scrollbar-corner-background: rgba(194, 194, 194, .1)}.magic-editor,.magic-editor .monaco-editor,.magic-log pre,.magic-input,.magic-dialog pre{font-family:JetBrainsMono,Consolas,Courier New,\5fae\8f6f\96c5\9ed1}.magic-editor *{box-sizing:border-box;padding:0;margin:0}.magic-editor .none-select{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none}.magic-editor ul{list-style:none;margin:0;padding:0}.magic-editor *{scrollbar-color:var(--scollbar-thumb-background) var(--scollbar-thumb-background);scrollbar-track-color:var(--scollbar-thumb-background);-ms-scrollbar-track-color:var(--scollbar-thumb-background);scrollbar-width:thin}.magic-editor *::-webkit-scrollbar{width:5px;height:5px;background:var(--scollbar-background)}.magic-editor *::-webkit-scrollbar-thumb{border-radius:3px;background:var(--scollbar-thumb-background)}.magic-editor *::-webkit-scrollbar-thumb:hover{background:var(--scollbar-thumb-hover-background)}.magic-editor *::-webkit-scrollbar-corner{background:var(--scollbar-scrollbar-corner-background)}.magic-header .magic-logo,.magic-dialog .magic-dialog-header{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA/1BMVEUIfPoENm0CHz8CIUMAAAAAAwYqKioaGhoQEBAsLCwQEBAJCQkrKysDAwMCAgL6+vr19fUWFhaJiYn8/PylpaWAgID8/PxmZmYSEhLk5ORJSUnLy8vk5OSgoKAFBQXk5OS7u7upqakmJiaqqqqDg4Pp6em5ubmQkJBNTU3x8fF4eHjn5+cBAQE5OTlwcHDm5uafn5/Nzc1+fn6lpaX09PTs7OwpKSk5OTn8/PwsLCz5+flHR0fV1dVsbGzY2NhwcHAMDAzu7u5gYGAMDAwJCQkAAAAHBwcGBgYHBwcEBAQHBwcGBgZtbGyvrq5ERERLSkp5eHgvLy8CIkQABAgABw6+8utZAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UIFBENHjcTIfEAAACNSURBVBjTY2DAAIxMSIAZKMDEggRYwQJs7CwcnFws3Dy8EAE+fgFBIWERFlExcYiAhLCklLSMrJy8giJEQElYWUVVTV1DU0tbByygK6ynb2BoZGxiKmwGFjC3sLSytrG1s3dwdILY4szi4urm7uHJ4uXNitUdPr5g4AcX8A8Ag0CES9G0BAUjgRBMzwMA2+sWGs+mksMAAAAuelRYdGRhdGU6Y3JlYXRlAAAImTMyMDLUNbDQNTIIMbC0MjS2MjbQNrCwMjAAAEGIBQ9X33PQAAAALnpUWHRkYXRlOm1vZGlmeQAACJkzMjAy1DWw0DUyCDGwtDI0tjI20DawsDIwAABBiAUPfuDbWAAAAABJRU5ErkJggg==)}.magic-data-type{color:var(--data-type-default-color)}.magic-data-type.string{color:var(--data-type-string-color);font-weight:700}.magic-data-type.integer{color:var(--data-type-integer-color)}.magic-data-type.number{color:var(--data-type-number-color)}.magic-data-type.double{color:var(--data-type-double-color)}.magic-data-type.float{color:var(--data-type-float-color)}.magic-data-type.short{color:var(--data-type-short-color)}.magic-data-type.long{color:var(--data-type-long-color)}.magic-data-type.byte{color:var(--data-type-byte-color)}.magic-data-type.boolean{color:var(--data-type-boolean-color);font-weight:700}.magic-data-type.class{color:var(--data-type-class-color)}.magic-icon.magic-icon-difference{fill:#389fd6!important}.magic-status-bar .message em,.magic-event em{color:var(--message-em-color);font-style:normal;font-weight:700}.magic-editor .magic-monaco-editor[data-mode-id=magicscript] .monaco-editor .margin-view-overlays .codicon-folding-expanded,.magic-editor .magic-monaco-editor[data-mode-id=magicscript] .monaco-editor .margin-view-overlays .codicon-folding-collapsed{margin-left:12px!important}.magic-context-menu[data-v-63405f2a]{position:absolute;z-index:999999;background-color:var(--main-background-color);border:1px solid var(--main-border-color)}.magic-context-menu li[data-v-63405f2a]{height:24px;line-height:24px;padding:0 10px;cursor:pointer;display:flex}.magic-context-menu li>*[data-v-63405f2a]{cursor:pointer;white-space:pre}.magic-context-menu li.divided[data-v-63405f2a]{border-bottom:1px solid var(--main-border-color)}.magic-context-menu .magic-context-menu-icon[data-v-63405f2a]{display:inline-block;text-align:center;margin-right:5px;width:13px}.magic-context-menu li[data-v-63405f2a]:hover{background-color:var(--select-option-hover-background-color);color:var(--select-option-hover-color)}.magic-context-menu li[data-v-63405f2a]:hover .magic-icon{fill:var(--select-option-hover-color)}.magic-empty[data-v-70308d5a]{width:100%;height:100%;position:relative}.magic-empty p[data-v-70308d5a]{text-align:center;width:100%;height:24px;line-height:24px;top:50%;position:relative;margin-top:-12px}.magic-loading[data-v-19c11c56]{width:100%;height:100%;position:relative;top:0;left:0}.magic-loading p[data-v-19c11c56]{position:absolute;text-align:center;width:100%;top:50%;margin-top:-20px}.magic-loading .icon[data-v-19c11c56]{width:20px;margin:0 auto;animation:rotate-19c11c56 1s linear infinite;display:block}@keyframes rotate-19c11c56{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.magic-monaco-editor[data-v-7c84fbe0],.magic-monaco-editor[data-v-faec04d2]{flex:1;overflow:hidden}.magic-monaco-editor[data-v-faec04d2] .breakpoints{background:var(--breakpoints-background-color);width:10px!important;height:10px!important;right:0px!important;margin-left:12px;top:5px;border-radius:5px}.magic-monaco-editor[data-v-faec04d2] .debug-line{background:var(--debug-line-background-color);color:#fff!important}.magic-monaco-editor[data-v-faec04d2] .breakpoint-line{background:var(--breakpoint-line-background-color)}.magic-resizer-x[data-v-7de8c22c],.magic-resizer-y[data-v-7de8c22c]{display:flex;position:relative;overflow:hidden;transition:none}.magic-resizer-event[data-v-7de8c22c]{position:absolute;z-index:20;--width: 100%;--height: 100%}.magic-resizer-event[data-v-7de8c22c]:after{content:" ";position:fixed;z-index:9999}.magic-resizer-x .magic-resizer-event[data-v-7de8c22c]{width:15px;height:100%;right:-15px;cursor:col-resize}.magic-resizer-x .magic-resizer-event[data-v-7de8c22c]:after{width:10px;height:var(--height)}.magic-resizer-x .magic-resizer-event.reverse[data-v-7de8c22c]{right:unset;left:-5px}.magic-resizer-x[data-v-7de8c22c]{height:100%}.magic-resizer-y .magic-resizer-event[data-v-7de8c22c]{height:10px;width:100%;top:-5px;cursor:row-resize}.magic-resizer-y .magic-resizer-event[data-v-7de8c22c]:after{height:10px;width:var(--width)}.magic-navbar-item[data-v-30388e35]{height:100%;width:100%}.magic-navbar{display:flex;background-color:var(--main-background-color);transition:.3s}.magic-navbar .magic-navbar-body{background-color:var(--navbar-body-background-color);overflow:auto}.magic-navbar .magic-navbar-header li:hover{background-color:var(--main-hover-background-color)}.magic-navbar .magic-navbar-header li.selected{background-color:var(--main-selected-background-color);color:var(--main-selected-color)}.magic-navbar .magic-navbar-header li.selected svg text{fill:var(--main-selected-color)}.magic-navbar .magic-navbar-header li svg text{letter-spacing:0px;font-size:10px}.magic-navbar__vertical.reverse{flex-direction:row-reverse}.magic-navbar__vertical .magic-navbar-header li{display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:8px 3px;cursor:pointer;border-bottom:1px solid var(--main-border-color)}.magic-navbar__vertical .magic-navbar-header{width:22px;height:100%;letter-spacing:2px;text-align:center;padding:0;border-right:1px solid var(--main-border-color)}.magic-navbar__vertical.reverse .magic-navbar-header{border-left:1px solid var(--main-border-color);border-right:none}.magic-navbar__vertical.reverse .magic-navbar-header li{display:flex;flex-direction:column-reverse}.magic-navbar__vertical .magic-navbar-header li{line-height:14px;word-break:break-all}.magic-navbar__vertical .magic-navbar-body{flex:1}.magic-navbar__vertical .magic-navbar-body{border-right:1px solid var(--navbar-body-border-color)}.magic-navbar__vertical.reverse .magic-navbar-body{border-left:1px solid var(--navbar-body-border-color);border-right:none}.magic-navbar__horizontal>ul{width:100%}.magic-navbar__horizontal>ul li{display:inline-flex;flex-direction:row-reverse;padding:0 8px;height:24px;line-height:24px;cursor:pointer;color:var(--main-color)}.magic-navbar__horizontal>ul li svg.magic-icon{padding:0 2px;height:100%}.magic-navbar__horizontal>ul{border-top:1px solid var(--main-border-color)}.magic-navbar.magic-navbar__vertical .magic-navbar-title{padding-bottom:4px}.magic-navbar.magic-navbar__vertical.reverse .magic-navbar-title{padding-top:4px;padding-bottom:0}svg[data-v-15383e92]{width:1.3em;height:1.3em;vertical-align:-.25em;overflow:hidden;fill:var(--main-icon-color)}.magic-tab{width:100%;overflow:hidden;flex-wrap:nowrap;white-space:nowrap;transition:.3s}.magic-tab ul{overflow-x:auto}.magic-tab ul li{display:inline-block;cursor:pointer;padding:0 10px;height:24px;line-height:24px}.magic-tab ul li.selected,.magic-tab ul li:hover,.magic-tab.magic-script-tab ul li.selected:hover,.magic-tab ul li.draggable-target-item{background-color:var(--main-hover-background-color)}.magic-tab.magic-script-tab{border-bottom:1px solid var(--main-border-color);height:30px;position:absolute}.magic-tab.magic-script-tab ul li{height:30px;line-height:30px;border-bottom:3px solid transparent}.magic-tab.magic-script-tab ul li.selected{border-bottom-color:#4083c9;background-color:var(--tab-selected-background-color)}.magic-table{display:flex;flex-direction:column;box-sizing:border-box}.magic-table .magic-table-body{flex:1;overflow:auto}.magic-table .magic-table-header,.magic-table .magic-table-body .magic-table-row{display:flex;height:24px;line-height:24px;border-bottom:1px solid var(--main-border-color)}.magic-table .magic-table-body .magic-table-row:hover{background-color:var(--main-hover-background-color)}.magic-table .magic-table-column{flex:1;display:inline-flex}.magic-table .magic-table-column span:last-child{flex:1;overflow:hidden;text-overflow:ellipsis;width:0px;white-space:pre}.magic-table .magic-table-column .magic-select{width:100%}.magic-table__border .magic-table-body .magic-table-row{border-bottom:1px solid var(--table-border-color)}.magic-table__border .magic-table-column:not(:last-child){border-right:1px solid var(--table-border-color)}.magic-tree{position:relative;overflow:auto}.magic-tree>ul{position:absolute;top:0;left:0}.magic-tree .magic-tree-item{height:20px;line-height:20px;transition:.3s;word-break:break-all;white-space:nowrap}.magic-tree .magic-tree-item:hover,.magic-tree .magic-tree-item.selected,.magic-tree .magic-tree-item.draggable-target-item{background-color:var(--tree-hover-background-color)}.magic-tree .magic-tree-item .magic-icon{fill:var(--tree-icon-color);margin-right:2px}.magic-tree ul{max-height:99999px;min-width:100%}.magic-tree li{white-space:nowrap;word-break:break-all}.magic-tree .hide{opacity:0;max-height:0;position:relative}.magic-tree svg:not(.root) .magic-icon-datasource{fill:#089910}.magic-dialog[data-v-3e8f0d71]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999999;text-align:center}.magic-dialog__shade[data-v-3e8f0d71]{background-color:#0000004d}.magic-dialog[data-v-3e8f0d71]:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.magic-dialog-main[data-v-3e8f0d71]{background:var(--main-background-color);border:1px solid var(--dialog-border-color);display:inline-block;vertical-align:middle;position:relative;min-width:250px;box-shadow:0 0 8px var(--dialog-shadow-color);max-width:800px;color:var(--main-color);transition:none}.magic-dialog-header[data-v-3e8f0d71]{height:30px;line-height:30px;padding-left:30px;padding-right:75px;background-position:7px 7px;background-repeat:no-repeat;text-align:left}.magic-dialog-header.moveable[data-v-3e8f0d71]{cursor:move}.magic-dialog-header span[data-v-3e8f0d71]{display:inline-block;width:30px;position:absolute;right:0;text-align:center;cursor:pointer;font-size:12px;height:30px;line-height:30px}.magic-dialog-header span[data-v-3e8f0d71]:hover{background-color:#e81123}.magic-dialog-header span:hover .magic-icon[data-v-3e8f0d71]{fill:#fff}.magic-dialog-body[data-v-3e8f0d71]{text-align:left;word-break:break-all}.magic-dialog[data-v-3e8f0d71] .magic-loading{min-width:200px;min-height:200px}.magic-notify[data-v-11ebc230]{position:absolute;right:40px;bottom:65px;transition:.5s;z-index:999999}.magic-notify .magic-notify-item[data-v-11ebc230]{background-color:var(--main-background-color);padding:5px;position:relative;border-radius:2px;border:1px solid var(--main-border-color);max-width:280px;box-shadow:0 0 8px var(--dialog-shadow-color)}.magic-notify .magic-notify-item[data-v-11ebc230]:not(:first-child){margin-top:5px}.magic-notify .magic-notify-item .magic-icon-close[data-v-11ebc230]{font-size:12px}.magic-notify .magic-notify-item .close[data-v-11ebc230]{position:absolute;top:2px;right:2px;display:none}.magic-notify .magic-notify-item h3[data-v-11ebc230]{font-size:12px;height:20px;line-height:20px;display:flex;align-items:center}.magic-notify .magic-notify-item h3 svg[data-v-11ebc230]{vertical-align:middle;margin-right:2px}.magic-notify .magic-notify-item:hover .close[data-v-11ebc230]{display:block}.magic-notify .magic-notify-item p[data-v-11ebc230]{padding:5px 5px 5px 16px}.magic-notify .magic-notify-item .magic-button-group[data-v-11ebc230]{padding-left:11px}.magic-button-group[data-v-70c60ab6] .magic-button:not(:last-child){margin-right:10px}.magic-button-group.right[data-v-70c60ab6]{text-align:right}.magic-button-group.left[data-v-70c60ab6]{text-align:left}.magic-button-group.center[data-v-70c60ab6]{text-align:center}.magic-button[data-v-2e4c463a]{height:22px;line-height:22px;background-color:var(--button-background-color);text-align:center;padding:0 15px;border:1px solid var(--button-border-color);outline:0;cursor:pointer;color:var(--main-color)}.magic-button.link[data-v-2e4c463a]{background-color:transparent;color:var(--log-color-link);border:none;padding:0 5px}.magic-button.active[data-v-2e4c463a],.magic-button[data-v-2e4c463a]:hover:not(.link){background-color:var(--button-hover-background-color);border-color:var(--button-hover-border-color)}.magic-checkbox[data-v-22b807f1]{width:100%;height:100%;text-align:center;display:inline-block}.magic-checkbox input[data-v-22b807f1]{display:none}.magic-checkbox input+label[data-v-22b807f1]{position:relative;color:#c9c9c9;font-size:12px;height:24px;line-height:24px;width:24px;user-select:none;display:inline-block}.magic-checkbox input+label[data-v-22b807f1]:after{display:inline-block;background-color:var(--checkbox-background-color);border:1px solid var(--checkbox-border-color);content:"";width:16px;height:16px;line-height:16px;position:absolute;top:2px;left:3px;text-align:center;font-size:12px;color:var(--checkbox-text-color)}.magic-checkbox input:checked+label[data-v-22b807f1]:after{content:"\2714";background-color:var(--checkbox-selected-background-color);border-color:var(--checkbox-selected-border-color)}.magic-checkbox input+label.checkedHalf[data-v-22b807f1]:after{content:"\2501"}.magic-file[data-v-62524fc2]{width:100%;position:relative}.magic-file .magic-icon[data-v-62524fc2]{position:absolute;right:3px;top:3px;height:16px;line-height:16px}.magic-input[data-v-f43ad66a]{height:22px;line-height:22px;border-radius:0;outline:0;border:1px solid transparent;margin:0;padding:0 0 0 5px;background-color:var(--input-background-color);color:var(--main-color)}.magic-input[data-v-f43ad66a]:autofill{background:var(--input-background-color)}.magic-input[data-v-f43ad66a]:-webkit-autofill,.magic-input[data-v-f43ad66a]:-webkit-autofill:hover,.magic-input[data-v-f43ad66a]:-webkit-autofill:focus,.magic-input[data-v-f43ad66a]:-webkit-autofill:active{transition:background-color 5000s;-webkit-text-fill-color:var(--main-color)!important}.magic-input[data-v-f43ad66a]:focus{border-color:var(--input-focus-color)}.magic-input__border[data-v-f43ad66a]{border-color:var(--input-border-color)}.magic-input[data-v-f43ad66a]::-webkit-outer-spin-button,.magic-input[data-v-f43ad66a]::-webkit-inner-spin-button{-webkit-appearance:none}.magic-input[type=number][data-v-f43ad66a]{-moz-appearance:textfield}.magic-select[data-v-249fb96c]{position:relative;display:inline-block;background:var(--select-background-color);height:22px;line-height:22px;width:80px;font-size:12px;text-align:left}.magic-select.inputable[data-v-249fb96c]{background:var(--select-inputable-background-color);border-color:var(--select-inputable-border-color)}.magic-select.border[data-v-249fb96c]{border:1px solid var(--input-border-color)}.magic-select input[data-v-249fb96c]{background:none;border:none;height:22px;line-height:22px;border-radius:0;outline:0;padding-left:5px;width:100%;color:var(--main-color)}.magic-select span[data-v-249fb96c]{height:22px;line-height:22px;border-radius:0;outline:0;padding-left:5px}.magic-select[data-v-249fb96c]:hover:not(.inputable){background:var(--select-hover-background-color)}.magic-select .magic-icon[data-v-249fb96c]{position:absolute;right:5px;height:100%}.magic-select ul[data-v-249fb96c]{display:block;position:fixed;z-index:10;background:var(--select-option-background-color);border:1px solid var(--select-option-border-color);margin-top:-2px;padding:0;box-sizing:content-box;margin-left:-1px}.magic-select ul li[data-v-249fb96c]{padding:0 5px;width:100%!important;height:22px;text-overflow:ellipsis;word-break:keep-all;text-align:left}.magic-select ul li[data-v-249fb96c]:hover{background:var(--select-option-hover-background-color);color:var(--select-option-hover-color)}.magic-textarea[data-v-ca6693f6]{line-height:22px;border-radius:0;outline:0;border:1px solid var(--input-border-color);resize:none;background:var(--input-background-color);color:var(--input-color);width:100%;height:100%}.magic-textarea[data-v-ca6693f6]:focus{border-color:var(--input-focus-color)}.magic-avatar-group[data-v-511f7f80]{display:inline-block;height:22px;line-height:22px}.magic-avatar-group .magic-avatar[data-v-511f7f80]{position:relative;margin-left:-5px}.magic-avatar[data-v-73f02f44]{color:#fff;display:inline-block;text-align:center}.magic-navbar[data-v-41b9c04c]{width:100%;height:100%}.magic-navbar[data-v-41b9c04c] .magic-navbar-body{border-right:none;width:100%;height:100%;display:flex;position:relative}.magic-navbar[data-v-41b9c04c] .magic-navbar-item>*{width:100%;height:100%}.magic-api-group[data-v-07a9bc9f]{display:flex;flex-direction:column}.magic-api-group form[data-v-07a9bc9f]{display:flex;padding:5px}.magic-api-group form label[data-v-07a9bc9f]{display:inline-block;width:85px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-api-group+.magic-navbar[data-v-07a9bc9f]{flex-direction:column;overflow:hidden}.magic-api-group+.magic-navbar[data-v-07a9bc9f] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-07a9bc9f] .magic-navbar-body,.magic-navbar[data-v-07a9bc9f] .magic-navbar-item{width:100%;height:100%}.magic-api-group>form .magic-button[data-v-07a9bc9f]{margin-left:10px}.magic-api-info[data-v-8ed3340e]{display:flex;flex-direction:column}.magic-api-info form[data-v-8ed3340e]{display:flex;padding:5px}.magic-api-info form label[data-v-8ed3340e]{display:inline-block;width:75px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-api-info+.magic-navbar[data-v-8ed3340e]{flex-direction:column;overflow:hidden}.magic-api-info+.magic-navbar[data-v-8ed3340e] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-8ed3340e] .magic-navbar-body,.magic-navbar[data-v-8ed3340e] .magic-navbar-item{width:100%;height:100%}.magic-monaco-editor[data-v-5ab7df51]{position:absolute;left:0;right:0;top:0;bottom:0}.magic-table[data-v-bda6618c]{flex:1}.magic-table[data-v-bda6618c] .magic-table-column{display:flex;justify-content:center;text-align:center}.magic-table[data-v-bda6618c] .magic-table-column:first-child{justify-content:unset!important;text-align:unset!important}.magic-data-type[data-v-bda6618c]{display:inline-block;width:0;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:center}iframe[data-v-bbc94624]{width:100%;height:100%;border:0}.magic-monaco-editor[data-v-bbc94624]{position:absolute;left:0;right:0;top:0;bottom:0}.magic-table[data-v-76813707]{flex:1}.magic-table span[data-v-76813707]{padding:0 5px}.magic-table[data-v-051e4f5a]{flex:1}.magic-table[data-v-051e4f5a] .magic-table-column{display:flex;justify-content:center;text-align:center}.magic-table[data-v-051e4f5a] .magic-table-column:first-child{justify-content:unset!important;text-align:unset!important}.magic-data-type[data-v-051e4f5a]{display:inline-block;width:0;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.magic-panel-api-response[data-v-a23b6466]{width:100%;height:100%;display:flex;flex-direction:column}.magic-panel-api-response[data-v-a23b6466] .magic-navbar__horizontal>ul{border-top:none;border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-a23b6466]{flex-direction:column;width:100%;height:100%}.magic-panel-api-response[data-v-a23b6466] .magic-navbar .magic-navbar-body,.magic-panel-api-response[data-v-a23b6466] .magic-navbar .magic-navbar-item{width:100%;height:100%}.magic-panel-api-response[data-v-a23b6466] .magic-navbar .magic-navbar-item{display:flex;position:relative}.magic-global[data-v-03e7bbcc]{display:flex;flex-direction:column;flex:1;width:100%;height:100%}.magic-global>.magic-navbar[data-v-03e7bbcc]{flex-direction:column;overflow:hidden}.magic-global>.magic-navbar[data-v-03e7bbcc] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-03e7bbcc] .magic-navbar-body,.magic-navbar[data-v-03e7bbcc] .magic-navbar-item{width:100%;height:100%}.magic-global .magic-panel-global[data-v-03e7bbcc]{display:flex;width:100%;height:100%}.magic-global[data-v-03e7bbcc] .magic-panel-global>div{flex:1}.magic-panel-toolbar[data-v-334c3387]{width:24px;border-right:1px solid var(--main-border-color);height:100%;text-align:center}.magic-panel-toolbar li[data-v-334c3387]{cursor:pointer;border-radius:2px;width:18px;height:18px;line-height:18px;margin:3px}.magic-panel-toolbar li[data-v-334c3387]:not(.disabled):hover{background-color:var(--main-hover-icon-background-color)}.magic-panel-toolbar li.disabled[data-v-334c3387] .magic-icon>*{fill:var(--button-disabled-color)}.magic-resource-choose[data-v-7eb90c29]{max-height:400px;overflow:auto}.magic-resource-choose .magic-tree[data-v-7eb90c29]{margin-bottom:5px;min-height:300px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-icon.root{color:var(--main-icon-color)}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox{display:inline;margin-right:3px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox input+label{width:12px!important;height:12px!important}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-tree-item{padding-left:5px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox input+label:after{width:12px!important;height:12px!important;line-height:12px!important;top:0!important;left:0!important}.magic-resource-choose[data-v-7eb90c29] .magic-tree label{color:var(--resource-label-color)}.magic-resource-choose[data-v-7eb90c29] .magic-tree span{color:var(--resource-span-color)}.magic-backup[data-v-cb15f9da]{display:flex;flex:1;height:100%}.magic-backup>div[data-v-cb15f9da]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative;height:100%}.magic-backup .magic-table[data-v-cb15f9da]{height:100%;position:absolute;width:100%}.magic-backup[data-v-cb15f9da] .magic-table-row .magic-table-column:last-child,.magic-backup[data-v-cb15f9da] .magic-table-header .magic-table-column:last-child{padding-left:5px}.magic-backup-diff-container[data-v-cb15f9da]{width:100%;height:100%;display:flex;flex-direction:column}.magic-backup-diff-container .magic-backup-diff-header[data-v-cb15f9da]{height:30px;line-height:30px;display:flex}.magic-backup-diff-container .magic-backup-diff-header>div[data-v-cb15f9da]{flex:1}.magic-backup-diff-container .magic-backup-diff-header>div[data-v-cb15f9da]:last-child{text-align:right}.magic-dialog-diff .magic-dialog-main{display:inline-flex;flex-direction:column}.magic-dialog-diff .magic-dialog-main .magic-dialog-body{flex:1;display:flex;flex-direction:column}.magic-panel-toolbar[data-v-71b796dc] .magic-icon-continue{fill:var(--icon-debug-color)}.magic-panel-toolbar[data-v-71b796dc] .magic-icon-step-over{fill:var(--icon-step-color)}.magic-debug[data-v-71b796dc]{display:flex;flex:1}.magic-debug .magic-debug-variables[data-v-71b796dc]{flex:1;background-color:var(--navbar-body-background-color);position:relative;overflow:auto}.magic-debug[data-v-71b796dc] .magic-tree{position:absolute;width:100%;height:100%}.magic-debug[data-v-71b796dc] .magic-tree .magic-tree-item{height:auto}.magic-debug .object-type[data-v-71b796dc]{color:var(--resource-span-color)}.magic-debug label.key[data-v-71b796dc]{color:var(--data-type-key-color);padding-left:3px}.magic-debug label.separator[data-v-71b796dc]{padding:0 5px}.magic-debug svg[data-v-71b796dc]{display:inline-block;width:16px;height:16px;vertical-align:middle}.magic-event[data-v-06d5ba36],.magic-event[data-v-06d5ba36] .magic-table{display:flex;flex:1}.magic-event>div[data-v-06d5ba36]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative;height:100%}.magic-event[data-v-06d5ba36] .magic-table{height:100%;position:absolute;width:100%}.magic-event[data-v-06d5ba36] .magic-table .magic-table-header{display:none}.magic-event[data-v-06d5ba36] .magic-table .magic-table-row{border-right:1px solid var(--main-border-color)}.magic-event[data-v-06d5ba36] .magic-table .magic-table-column{padding-left:5px}.magic-log-wrapper{position:relative;overflow:auto;width:100%;height:100%;background:var(--run-log-background-color)}.magic-log{position:absolute;font-size:13.5px;height:100%;padding:5px}.magic-log>div{width:100%}.magic-log>div pre{line-height:20px;width:100%}.magic-log>div.multiple pre{max-height:60px;overflow:hidden}.magic-log>div.multiple.more pre{max-height:none}.magic-log span.multiple{opacity:.5;font-size:13px;text-decoration:underline;cursor:pointer}.magic-log pre span.log-INFO{color:var(--log-color-info)}.magic-log pre span.log-DEBUG{color:var(--log-color-debug)}.magic-log pre span.log-ERROR{color:var(--log-color-error)}.magic-log pre span.log-WARN{color:var(--log-color-warn)}.magic-log pre span.log-TRACE{color:var(--log-color-trace)}.magic-log pre span.log-cyan{color:var(--log-color-cyan)}.magic-log pre a.log-link{color:var(--log-color-link)}.magic-online[data-v-5861c8dc]{height:30px;line-height:30px;float:right;padding-left:10px;max-width:500px}.magic-online>span[data-v-5861c8dc]{padding-left:5px}.magic-status-bar[data-v-49bc4fc3]{height:30px;line-height:30px;display:flex;background-color:var(--main-background-color);padding-left:24px}.magic-status-bar .message[data-v-49bc4fc3]{flex:1}.magic-status-bar ul[data-v-49bc4fc3]{float:right;display:inline-flex;align-items:center;padding-right:2px}.magic-status-bar ul li[data-v-49bc4fc3]{cursor:pointer;padding:0 4px;height:20px;line-height:20px;border-radius:3px}.magic-status-bar ul li .magic-icon[data-v-49bc4fc3]{height:20px;line-height:20px}.magic-status-bar ul li[data-v-49bc4fc3]:hover{background-color:var(--main-hover-icon-background-color)}.magic-todo[data-v-29308d9b]{display:flex;flex:1}.magic-todo div[data-v-29308d9b]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative}.magic-todo div[data-v-29308d9b] .magic-tree{width:100%;height:100%;position:absolute;overflow:auto}.magic-todo div[data-v-29308d9b] .magic-tree label{color:var(--resource-label-color)}.magic-todo div[data-v-29308d9b] .magic-tree label.todo{font-style:italic;color:var(--todo-color)}.magic-todo div[data-v-29308d9b] .magic-tree span{color:var(--resource-span-color)}.magic-toolbar .magic-navbar[data-v-6995d9c9]{flex-direction:column-reverse}.magic-toolbar-header[data-v-6995d9c9]{height:26px;line-height:26px;border-bottom:1px solid var(--main-border-color);border-top:1px solid var(--main-border-color);background-color:var(--main-background-color)}.magic-toolbar-header+div[data-v-6995d9c9]{z-index:99999}.magic-toolbar-header label[data-v-6995d9c9]{display:inline-block;padding-left:10px}.magic-toolbar .magic-resizer-y[data-v-6995d9c9]{flex-direction:column}.magic-toolbar-header-buttons[data-v-6995d9c9]{float:right;margin-right:5px;vertical-align:middle;display:flex;align-items:center;height:26px}.magic-toolbar-header-buttons .magic-icon[data-v-6995d9c9]{display:inline-block;cursor:pointer;padding:0 2px;height:18px;line-height:18px;border-radius:3px;z-index:99999}.magic-toolbar-header-buttons .magic-icon[data-v-6995d9c9]:hover{background-color:var(--main-hover-icon-background-color)}.magic-toolbar .magic-navbar[data-v-6995d9c9] .magic-navbar-body{background-color:var(--main-background-color)}.magic-panel-api,.magic-panel-function,.magic-event{display:flex;width:100%;height:100%}.magic-panel-api>div,.magic-panel-function>div,.magic-event>div{flex:1}.magic-function-info[data-v-bc8654ec]{display:flex;flex-direction:column}.magic-function-info form[data-v-bc8654ec]{display:flex;padding:5px}.magic-function-info form label[data-v-bc8654ec]{display:inline-block;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px 0 20px}.magic-navbar[data-v-bc8654ec]{flex-direction:column;overflow:hidden}.magic-navbar[data-v-bc8654ec] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-bc8654ec] .magic-navbar-body,.magic-navbar[data-v-bc8654ec] .magic-navbar-item{width:100%;height:100%}.magic-dialog[data-v-4d59cdd8] .magic-dialog-body{overflow:hidden}.magic-header[data-v-ee02284c]{height:30px;line-height:30px;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color);display:flex;color:var(--header-default-color)}.magic-header .magic-logo[data-v-ee02284c]{float:left;font-weight:700;font-size:0;letter-spacing:0;background-repeat:no-repeat;background-position:4px 7px;padding-left:25px;color:var(--header-title-color)}.magic-header .magic-logo label[data-v-ee02284c]{font-size:16px;display:inline-block;margin-right:5px;text-align:left;font-weight:400}.magic-header .magic-logo label[data-v-ee02284c]:last-child{font-size:12px}.magic-header ul[data-v-ee02284c]{float:right}.magic-header ul li[data-v-ee02284c]{cursor:pointer;height:30px;text-align:center;display:inline-flex;align-items:center}.magic-header ul li svg[data-v-ee02284c]{padding:0 4px;height:24px;width:24px;border-radius:4px}.magic-header ul li.disabled svg[data-v-ee02284c]{fill:var(--button-disabled-color)}.magic-header ul li:not(.disabled) svg[data-v-ee02284c]:hover{background-color:var(--main-hover-icon-background-color)}.magic-header ul li[data-v-ee02284c]:not(.disabled) .magic-icon-run,.magic-header ul li[data-v-ee02284c] .magic-icon-push{fill:#59a869}.magic-header-title[data-v-ee02284c]{flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.magic-skin-selector[data-v-ee02284c],.magic-locale-selector[data-v-ee02284c]{position:absolute;top:30px;right:24px;z-index:20;background-color:var(--main-background-color);border:1px solid var(--main-border-color);border-top:none}.magic-skin-selector[data-v-ee02284c]{right:48px}.magic-skin-selector ul li[data-v-ee02284c],.magic-locale-selector ul li[data-v-ee02284c]{height:24px;line-height:24px;text-align:center;cursor:pointer;padding:2px 5px}.magic-skin-selector ul li[data-v-ee02284c]:not(:last-child),.magic-locale-selector ul li[data-v-ee02284c]:not(:last-child){border-bottom:1px solid var(--main-border-color)}.magic-skin-selector ul li[data-v-ee02284c]:hover,.magic-locale-selector ul li[data-v-ee02284c]:hover{background-color:var(--main-hover-background-color)}.magic-dialog[data-v-2fa44b82] .magic-dialog-body{overflow:hidden}.magic-push-form[data-v-2fa44b82]{padding:0 10px}.magic-push-form>div[data-v-2fa44b82]{display:flex;margin-top:5px}.magic-push-form label[data-v-2fa44b82]{width:80px;text-align:right;display:inline-block}.magic-push-form[data-v-2fa44b82] .magic-input{width:auto!important;flex:1}.magic-search-result[data-v-05e528dc]{overflow:auto;max-height:200px;background-color:var(--navbar-body-background-color)}.magic-search-result .magic-search-result-item[data-v-05e528dc]{display:flex;padding:0 5px;line-height:20px}.magic-search-result .magic-search-result-item[data-v-05e528dc]:hover,.magic-search-result .magic-search-result-item.selected[data-v-05e528dc]{background-color:var(--tree-hover-background-color)}.magic-search-result .magic-search-result-item .label[data-v-05e528dc]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.magic-search-result .magic-search-result-item .label[data-v-05e528dc] .keyword{background:#FFDE7B;color:#000}.magic-search-result-item .name[data-v-05e528dc],.magic-search-result-item .line[data-v-05e528dc]{color:var(--resource-span-color)}.magic-search-result .magic-search-result-item .line[data-v-05e528dc]{padding-left:5px}.display-text[data-v-05e528dc]{padding:0 10px;height:30px;line-height:30px;border-top:1px solid var(--main-border-color);border-bottom:1px solid var(--main-border-color)}.magic-data-resource[data-v-a4686c7c]{display:flex;flex-direction:column;flex:1;width:100%}.magic-data-resource .magic-data-resource-header[data-v-a4686c7c]{height:24px;line-height:24px;display:flex;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color);padding-left:3px}.magic-data-resource .magic-data-resource-header input[data-v-a4686c7c]{flex:1;border:none;background:none;height:24px;line-height:24px}.magic-data-resource .magic-data-resource-header ul[data-v-a4686c7c]{display:inline-flex;align-items:center}.magic-data-resource .magic-data-resource-header ul li[data-v-a4686c7c]{display:inline-block;cursor:pointer;padding:0 3px;height:20px;line-height:20px;border-radius:3px}.magic-data-resource .magic-data-resource-header ul li.separator[data-v-a4686c7c]{background-color:var(--main-border-color);width:1px;border-radius:0;padding:0;margin:0 4px}.magic-data-resource .magic-data-resource-header ul li[data-v-a4686c7c]:hover{background:var(--main-hover-icon-background-color)}.magic-data-resource .magic-data-resource-header svg[data-v-a4686c7c]{height:100%}.magic-data-resource>ul li[data-v-a4686c7c]{line-height:22px;padding-left:10px}.magic-data-resource>ul li[data-v-a4686c7c]:hover{background-color:var(--tree-hover-background-color)}.magic-data-resource>ul li .magic-icon[data-v-a4686c7c]{padding-right:2px}.magic-data-resource>ul li label[data-v-a4686c7c]{color:var(--resource-label-color)}.magic-data-resource>ul li span[data-v-a4686c7c]{color:var(--resource-span-color);display:inline-block;height:22px;line-height:22px}.magic-data-resource>ul li[data-v-a4686c7c] .magic-icon-datasource{fill:#089910}.magic-editor .magic-form-row{display:flex;margin-bottom:5px}.magic-editor .magic-form-row label{margin-right:5px;display:inline-block;width:70px;text-align:right;height:22px;line-height:22px}.magic-editor .magic-form-row>input,.magic-editor .magic-form-row>.magic-select{flex:1;width:auto}label[data-v-f15aae88]{width:60px;text-align:right;display:inline-block}.magic-login[data-v-f15aae88]{position:fixed;z-index:999999999999;background:#fff;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-image:url(./login-bg.025a11cc.svg)}.magic-login .magic-login-box[data-v-f15aae88]{border-radius:5px;width:450px;box-shadow:0 7px 25px #00000014;position:absolute;box-sizing:border-box;padding-top:60px;top:33.333333%;margin-top:-125px;background-color:#fff}.magic-login-logo[data-v-f15aae88]{background-image:url(./logo-magic-api.7bf52c65.png);width:128px;height:128px;background-size:90px 90px;background-repeat:no-repeat;background-position:center center;position:absolute;top:-64px;left:50%;margin-left:-64px;border-radius:64px;box-shadow:0 0 20px 5px #00000014;padding:10px;background-color:#fff}.magic-login-text[data-v-f15aae88]{height:70px;line-height:70px;display:block;text-align:center;font-family:PoetsenOne;font-size:28px;color:gray}.magic-login-text span[data-v-f15aae88]{font-size:16px}.magic-login-copyright[data-v-f15aae88]{text-align:center;color:#999;font-size:18px;font-family:Avenir,Helvetica,Arial,sans-serif;position:absolute;bottom:50px}.magic-login-copyright a[data-v-f15aae88]{text-decoration:none;color:#2196f3;outline:0}.magic-login-row[data-v-f15aae88]{width:400px;margin:25px auto;position:relative}.magic-login-row.error[data-v-f15aae88]{background-color:#fff1f0;border:1px solid #ffa39e;color:#000;border-radius:4px;padding:10px 0 10px 40px}.magic-login-row.error span[data-v-f15aae88]{font-size:14px;word-break:break-all}.magic-login-row svg[data-v-f15aae88]{position:absolute;width:20px;height:20px;top:15px;left:15px}.magic-login-row[data-v-f15aae88] .magic-icon-error{fill:red}.magic-login-box .magic-input[data-v-f15aae88]{height:50px;line-height:50px;background-color:transparent;display:block;border:1px solid #D9D9D9;border-radius:4px;padding-left:40px;color:#000000a6;transition:all .3s;font-size:16px}.magic-login-box .magic-input[data-v-f15aae88]:focus{border-color:#0784de}.magic-login-box .magic-button[data-v-f15aae88]{width:100%;height:50px;line-height:50px;background-color:#2196f3;color:#fff;border-radius:4px;font-size:18px;border-color:#2196f3;transition:all .3s}.magic-login-box .magic-button[data-v-f15aae88]:hover,.magic-login-box .magic-button[data-v-f15aae88]:focus{background-color:#4db5ff!important;border-color:#4db5ff!important}.magic-login-box .magic-button[data-v-f15aae88]:active{background-color:#1272cc;border-color:#1272cc}.magic-main[data-v-27561660]{flex:1;display:flex;border-bottom:1px solid var(--main-border-color);height:0;width:100%}.magic-main-body-wrapper[data-v-27561660]{display:flex;flex:1;flex-direction:column}.magic-main-body[data-v-27561660]{display:flex;flex:1;overflow:hidden}.magic-toolbar[data-v-27561660] .magic-resizer-y .magic-resizer-event{top:auto}ul[data-v-44903aa6]{max-width:400px;max-height:600px;overflow:auto}ul li[data-v-44903aa6]:hover{background-color:var(--tree-hover-background-color)}ul li[data-v-44903aa6]{height:20px;line-height:20px;transition:.3s;word-break:break-all;white-space:nowrap}ul li label[data-v-44903aa6]{color:var(--resource-label-color)}ul li span[data-v-44903aa6]{color:var(--resource-span-color)}.magic-dialog-main[data-v-44903aa6] .magic-dialog-body{padding:0}.magic-resource[data-v-615c15e4]{display:flex;flex-direction:column;flex:1;width:100%}.magic-resource .magic-resource-header[data-v-615c15e4]{height:24px;line-height:24px;display:flex;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color)}.magic-resource .magic-resource-header input[data-v-615c15e4]{flex:1;border:none;background:none;height:24px;line-height:24px}.magic-resource .magic-resource-header ul[data-v-615c15e4]{display:inline-flex;align-items:center}.magic-resource .magic-resource-header ul li[data-v-615c15e4]{display:inline-block;cursor:pointer;padding:0 3px;height:20px;line-height:20px;border-radius:3px}.magic-resource .magic-resource-header svg[data-v-615c15e4]{height:100%}.magic-resource .magic-resource-header ul li.separator[data-v-615c15e4]{background-color:var(--main-border-color);width:1px;border-radius:0;padding:0;margin:0 4px}.magic-resource .magic-resource-header ul li[data-v-615c15e4]:hover{background:var(--main-hover-icon-background-color)}.magic-resource .magic-tree label[data-v-615c15e4]{color:var(--resource-label-color)}.magic-resource .magic-tree span[data-v-615c15e4]{color:var(--resource-span-color)}.magic-resource .magic-tree .magic-icon-lock[data-v-615c15e4]{fill:var(--resource-label-color);margin-left:5px}.magic-resource>.magic-tree[data-v-615c15e4]{flex:1;overflow:auto}.magic-create-group li[data-v-615c15e4]{display:flex;height:26px;line-height:26px}.magic-create-group li input[data-v-615c15e4]{flex:1}.magic-resource[data-v-615c15e4] .magic-avatar-group{margin-left:5px}.magic-script-editor[data-v-441a96bb]{flex:1;overflow:hidden;position:relative}.magic-script-editor .magic-monaco-editor-wrapper[data-v-441a96bb]{position:absolute;top:30px;left:0;right:0;bottom:0}.magic-empty-container[data-v-441a96bb]{flex:1;position:relative;width:100%;height:100%;background:var(--empty-background-color)}.magic-hot-key[data-v-441a96bb]{position:absolute;top:50%;margin-top:-105px;text-align:center;color:var(--empty-color);font-size:16px;width:100%}.magic-hot-key p[data-v-441a96bb]{display:inline-block;text-align:left;line-height:30px}.magic-hot-key p em[data-v-441a96bb]{margin-left:15px;font-style:normal;color:var(--empty-key-color)}.magic-monaco-editor[data-v-441a96bb]{position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible!important}.magic-script-editor[data-v-441a96bb] .magic-avatar-group{margin-left:5px}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs .view-overlays .current-line,.monaco-editor.vs-dark .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs .cursor,.monaco-editor.vs-dark .cursor{background-color:windowtext!important}.monaco-editor.vs .dnd-target,.monaco-editor.vs-dark .dnd-target{border-color:windowtext!important}.monaco-editor.vs .selected-text,.monaco-editor.vs-dark .selected-text{background-color:highlight!important}.monaco-editor.vs .view-line,.monaco-editor.vs-dark .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs .view-line span,.monaco-editor.vs-dark .view-line span{color:windowtext!important}.monaco-editor.vs .view-line span.inline-selected-text,.monaco-editor.vs-dark .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs .view-overlays,.monaco-editor.vs-dark .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs .selectionHighlight,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs .wordHighlightStrong,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs-dark .reference-decoration{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .rangeHighlight,.monaco-editor.vs-dark .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs .bracket-match,.monaco-editor.vs-dark .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs .findMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs-dark .currentFindMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .find-widget,.monaco-editor.vs-dark .find-widget{border:1px solid windowtext}.monaco-editor.vs .monaco-list .monaco-list-row,.monaco-editor.vs-dark .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs .monaco-list .monaco-list-row.focused,.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-list .monaco-list-row:hover,.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:highlight!important}.monaco-editor.vs .decorationsOverviewRuler,.monaco-editor.vs-dark .decorationsOverviewRuler{opacity:0}.monaco-editor.vs .minimap,.monaco-editor.vs-dark .minimap{display:none}.monaco-editor.vs .squiggly-d-error,.monaco-editor.vs-dark .squiggly-d-error{background:transparent!important;border-bottom:4px double #E47777}.monaco-editor.vs .squiggly-c-warning,.monaco-editor.vs-dark .squiggly-c-warning,.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs-dark .squiggly-b-info{border-bottom:4px double #71B771}.monaco-editor.vs .squiggly-a-hint,.monaco-editor.vs-dark .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs .diffOverviewRuler,.monaco-diff-editor.vs-dark .diffOverviewRuler{display:none}.monaco-editor.vs .line-insert,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs-dark .line-delete{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs .char-insert,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs-dark .char-delete{background:transparent!important}}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-mouse-cursor-text{cursor:text}.vs-dark .mac .monaco-mouse-cursor-text,.hc-black .mac .monaco-mouse-cursor-text,.vs-dark.mac .monaco-mouse-cursor-text,.hc-black.mac .monaco-mouse-cursor-text{cursor:-webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x,url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8,text}.monaco-editor .view-overlays .current-line,.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:rgba(0,0,0,0);transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:#ddd 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:#ddd 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:#ddd 6px 6px 6px -6px inset}.vs .monaco-scrollable-element>.scrollbar>.slider{background:rgba(100,100,100,.4)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:rgba(121,121,121,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider{background:rgba(111,195,223,.6)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(100,100,100,.7)}.hc-black .monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(111,195,223,.8)}.monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(0,0,0,.6)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(191,191,191,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(111,195,223,1)}.vs-dark .monaco-scrollable-element .shadow.top{box-shadow:none}.vs-dark .monaco-scrollable-element .shadow.left{box-shadow:#000 6px 0 6px -6px inset}.vs-dark .monaco-scrollable-element .shadow.top.left{box-shadow:#000 6px 6px 6px -6px inset}.hc-black .monaco-scrollable-element .shadow.top,.hc-black .monaco-scrollable-element .shadow.left,.hc-black .monaco-scrollable-element .shadow.top.left{box-shadow:none}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{position:absolute;top:0;background:white}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider,.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:rgba(255,255,255,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:rgba(0,0,0,0)}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:rgba(171,171,171,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}:root{--sash-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--sash-size) * 2);width:calc(var(--sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--sash-size) * -.5);top:calc(var(--sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--sash-size) * -.5);bottom:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--sash-size) * -.5);left:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--sash-size) * -.5);right:calc(var(--sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;transition:background-color .1s ease-out;background:transparent}.monaco-sash.vertical:before{width:var(--sash-hover-size);left:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--sash-hover-size);top:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.4}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-label{margin-right:1px}@font-face{font-family:codicon;font-display:block;src:url(./codicon.d86f69b1.ttf) format("truetype")}.codicon[class*=codicon-]{font: 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none;-ms-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.context-view{position:absolute;z-index:2500}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;z-index:2500;color:inherit}.context-view .monaco-menu{min-width:130px}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter{display:flex;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);text-overflow:ellipsis;overflow:hidden;text-align:right;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:flex;align-items:center;box-sizing:border-box;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{border:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;background:none;width:16px;height:16px;flex-shrink:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.monaco-list-type-filter>.controls>.filter{margin-left:4px}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-list-type-filter{cursor:grab}.monaco-list-type-filter.dragging{cursor:grabbing}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-table>.monaco-split-view2,.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight,.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight,.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;text-align:center;cursor:pointer;justify-content:center;align-items:center}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button>.codicon{margin:0 .2em;color:inherit!important}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown>.monaco-dropdown-button{margin-left:1px}.monaco-description-button{flex-direction:column}.monaco-description-button .monaco-button-label{font-weight:500}.monaco-description-button .monaco-button-description{font-style:italic}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;animation-timing-function:linear;transform:translate(0)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2000;padding:0 1px 1px;left:50%;margin-left:-300px}.quick-input-titlebar{display:flex;align-items:center}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:6px 6px 0;margin-bottom:-2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:27.5px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px 5px 2px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{overflow:hidden;max-height:440px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;-ms-overflow-style:none;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-editor .contentWidgets .codicon-light-bulb,.monaco-editor .contentWidgets .codicon-lightbulb-autofix{display:flex;align-items:center;justify-content:center}.monaco-editor .contentWidgets .codicon-light-bulb:hover,.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover{cursor:pointer}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;-ms-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:center;font-size:13px;margin-left:20px;min-width:0}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta,.monaco-editor .peekview-widget .head .peekview-title .dirname{white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-action-bar .action-item.menu-entry .action-label,.hc-black .monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-dropdown-with-default>.action-container.menu-entry>.action-label,.hc-black .monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul{margin:8px 0}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul,.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .colorpicker-hover:focus{outline:none}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;line-height:24px;cursor:pointer;color:#fff;flex:1;text-align:center}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,#ff0000 0%,#ffff00 17%,#00ff00 33%,#00ffff 50%,#0000ff 67%,#ff00ff 83%,#ff0000 100%)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid transparent;overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{opacity:.5;color:inherit}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul,.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor.vs .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines{cursor:copy}.monaco-custom-checkbox{margin-left:2px;float:left;cursor:pointer;overflow:hidden;opacity:.7;width:20px;height:20px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-custom-checkbox:hover,.monaco-custom-checkbox.checked{opacity:1}.hc-black .monaco-custom-checkbox,.hc-black .monaco-custom-checkbox:hover{background:none}.monaco-custom-checkbox.monaco-simple-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-checkbox.monaco-simple-checkbox:not(.checked):before{visibility:hidden}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px))}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:4px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{opacity:.3;cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:rgba(255,255,255,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:rgba(255,255,255,.44)}99%{background:transparent}}.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:"\22ef";display:inline;line-height:1em;cursor:pointer}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer}.monaco-editor .parameter-hints-widget{z-index:10;display:flex;flex-direction:column;line-height:1.5em}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.visible{transition:left .05s ease-in-out}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs .markdown-docs code{font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;opacity:.5;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{font-weight:700;text-decoration:underline}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit}.monaco-editor .rename-box.preview{padding:3px 3px 0}.monaco-editor .rename-box .rename-input{padding:3px;width:calc(100% - 6px)}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:10px}.tokens-inspect-separator{height:1px;border:0}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}
+html,body,#app{width:100%;height:100%;margin:0!important}@font-face{font-family:JetBrainsMono;src:url(./JetBrainsMono-Regular.bceff071.woff2) format("woff2");font-weight:100;font-style:normal}@font-face{font-family:PoetsenOne;src:url(./PoetsenOne.14047964.woff2) format("woff2");font-weight:100;font-style:normal}.magic-editor{width:100%;height:100%;overflow:auto;display:flex;flex-direction:column;position:relative;min-width:1200px;min-height:600px;font-size:12px;letter-spacing:0px;background-color:var(--main-background-color);cursor:default;color:var(--main-color);outline:0;--main-color: #000;--main-background-color: #f2f2f2;--main-border-color: #cdcdcd;--main-hover-background-color: #d9d9d9;--main-hover-icon-background-color: #d9d9d9;--main-selected-background-color: #bdbdbd;--main-selected-color: #000;--main-icon-color: #6e6e6e;--navbar-body-background-color: #fff;--navbar-body-border-color: #c0c0c0;--header-title-color: #000;--header-default-color: #6e6e6e;--empty-background-color: #b6b6b6;--empty-color: #505050;--empty-key-color: #5263a0;--tree-hover-background-color: #d4d4d4;--tree-icon-color: #aeb9c0;--table-border-color: #bdbdbd;--input-border-color: #bdbdbd;--input-background-color: #fff;--input-focus-color: #0784de;--dialog-border-color: #707070;--dialog-shadow-color: #cfcfcf;--button-border-color: #adadad;--button-background-color: #e3e3e3;--button-hover-border-color: #99a0a5;--button-hover-background-color: #e3f1fa;--button-disabled-color: #bdbdbd;--select-background-color: #e3e3e3;--select-hover-background-color: #e3f1fa;--select-option-background-color: #fff;--select-option-border-color: #808080;--select-option-hover-background-color: #1a7dc4;--select-option-hover-color: #fff;--select-inputable-background-color: #fff;--tab-selected-background-color: #fff;--icon-debug-color: #59A869;--icon-step-color: #389FD6;--data-type-default-color: #000;--data-type-string-color: #008000;--data-type-integer-color: #0000ff;--data-type-number-color: #0000ff;--data-type-byte-color: #0000ff;--data-type-long-color: #0000ff;--data-type-float-color: #0000ff;--data-type-double-color: #0000ff;--data-type-short-color: #0000ff;--data-type-boolean-color: #000080;--data-type-class-color: #660e7a;--data-type-key-color: #AC0039;--breakpoints-background-color: #db5860;--debug-line-background-color: #2154A6;--breakpoint-line-background-color: #FAEAE6;--run-log-background-color: #fff;--log-color-info: #00cd00;--log-color-warn: #A66F00;--log-color-debug: #00cccc;--log-color-error: #cd0000;--log-color-trace: #0000EE;--log-color-cyan: #00CCCC;--log-color-link: #006DCC;--todo-color: #008dde;--message-em-color: #007F31;--checkbox-background-color: #fff;--checkbox-text-color: #fff;--checkbox-border-color: #b0b0b0;--checkbox-selected-boder-color: #4F9EE3;--checkbox-selected-background-color: #4F9EE3;--resource-label-color: #000;--resource-span-color: #999;--scollbar-color: rgba(170, 170, 170, .7);--scollbar-background: rgba(194, 194, 194, .1);--scollbar-thumb-background: rgba(170, 170, 170, .4);--scollbar-thumb-hover-background: rgba(170, 170, 170, .7);--scollbar-scrollbar-corner-background: rgba(194, 194, 194, .1)}.magic-editor,.magic-editor .monaco-editor,.magic-log pre,.magic-input,.magic-dialog pre{font-family:JetBrainsMono,Consolas,Courier New,\5fae\8f6f\96c5\9ed1}.magic-editor *{box-sizing:border-box;padding:0;margin:0}.magic-editor .none-select{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none}.magic-editor ul{list-style:none;margin:0;padding:0}.magic-editor *{scrollbar-color:var(--scollbar-thumb-background) var(--scollbar-thumb-background);scrollbar-track-color:var(--scollbar-thumb-background);-ms-scrollbar-track-color:var(--scollbar-thumb-background);scrollbar-width:thin}.magic-editor *::-webkit-scrollbar{width:5px;height:5px;background:var(--scollbar-background)}.magic-editor *::-webkit-scrollbar-thumb{border-radius:3px;background:var(--scollbar-thumb-background)}.magic-editor *::-webkit-scrollbar-thumb:hover{background:var(--scollbar-thumb-hover-background)}.magic-editor *::-webkit-scrollbar-corner{background:var(--scollbar-scrollbar-corner-background)}.magic-header .magic-logo,.magic-dialog .magic-dialog-header{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA/1BMVEUIfPoENm0CHz8CIUMAAAAAAwYqKioaGhoQEBAsLCwQEBAJCQkrKysDAwMCAgL6+vr19fUWFhaJiYn8/PylpaWAgID8/PxmZmYSEhLk5ORJSUnLy8vk5OSgoKAFBQXk5OS7u7upqakmJiaqqqqDg4Pp6em5ubmQkJBNTU3x8fF4eHjn5+cBAQE5OTlwcHDm5uafn5/Nzc1+fn6lpaX09PTs7OwpKSk5OTn8/PwsLCz5+flHR0fV1dVsbGzY2NhwcHAMDAzu7u5gYGAMDAwJCQkAAAAHBwcGBgYHBwcEBAQHBwcGBgZtbGyvrq5ERERLSkp5eHgvLy8CIkQABAgABw6+8utZAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UIFBENHjcTIfEAAACNSURBVBjTY2DAAIxMSIAZKMDEggRYwQJs7CwcnFws3Dy8EAE+fgFBIWERFlExcYiAhLCklLSMrJy8giJEQElYWUVVTV1DU0tbByygK6ynb2BoZGxiKmwGFjC3sLSytrG1s3dwdILY4szi4urm7uHJ4uXNitUdPr5g4AcX8A8Ag0CES9G0BAUjgRBMzwMA2+sWGs+mksMAAAAuelRYdGRhdGU6Y3JlYXRlAAAImTMyMDLUNbDQNTIIMbC0MjS2MjbQNrCwMjAAAEGIBQ9X33PQAAAALnpUWHRkYXRlOm1vZGlmeQAACJkzMjAy1DWw0DUyCDGwtDI0tjI20DawsDIwAABBiAUPfuDbWAAAAABJRU5ErkJggg==)}.magic-data-type{color:var(--data-type-default-color)}.magic-data-type.string{color:var(--data-type-string-color);font-weight:700}.magic-data-type.integer{color:var(--data-type-integer-color)}.magic-data-type.number{color:var(--data-type-number-color)}.magic-data-type.double{color:var(--data-type-double-color)}.magic-data-type.float{color:var(--data-type-float-color)}.magic-data-type.short{color:var(--data-type-short-color)}.magic-data-type.long{color:var(--data-type-long-color)}.magic-data-type.byte{color:var(--data-type-byte-color)}.magic-data-type.boolean{color:var(--data-type-boolean-color);font-weight:700}.magic-data-type.class{color:var(--data-type-class-color)}.magic-icon.magic-icon-difference{fill:#389fd6!important}.magic-status-bar .message em,.magic-event em{color:var(--message-em-color);font-style:normal;font-weight:700}.magic-editor .magic-monaco-editor[data-mode-id=magicscript] .monaco-editor .margin-view-overlays .codicon-folding-expanded,.magic-editor .magic-monaco-editor[data-mode-id=magicscript] .monaco-editor .margin-view-overlays .codicon-folding-collapsed{margin-left:12px!important}.magic-context-menu[data-v-63405f2a]{position:absolute;z-index:999999;background-color:var(--main-background-color);border:1px solid var(--main-border-color)}.magic-context-menu li[data-v-63405f2a]{height:24px;line-height:24px;padding:0 10px;cursor:pointer;display:flex}.magic-context-menu li>*[data-v-63405f2a]{cursor:pointer;white-space:pre}.magic-context-menu li.divided[data-v-63405f2a]{border-bottom:1px solid var(--main-border-color)}.magic-context-menu .magic-context-menu-icon[data-v-63405f2a]{display:inline-block;text-align:center;margin-right:5px;width:13px}.magic-context-menu li[data-v-63405f2a]:hover{background-color:var(--select-option-hover-background-color);color:var(--select-option-hover-color)}.magic-context-menu li[data-v-63405f2a]:hover .magic-icon{fill:var(--select-option-hover-color)}.magic-empty[data-v-70308d5a]{width:100%;height:100%;position:relative}.magic-empty p[data-v-70308d5a]{text-align:center;width:100%;height:24px;line-height:24px;top:50%;position:relative;margin-top:-12px}.magic-loading[data-v-19c11c56]{width:100%;height:100%;position:relative;top:0;left:0}.magic-loading p[data-v-19c11c56]{position:absolute;text-align:center;width:100%;top:50%;margin-top:-20px}.magic-loading .icon[data-v-19c11c56]{width:20px;margin:0 auto;animation:rotate-19c11c56 1s linear infinite;display:block}@keyframes rotate-19c11c56{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.magic-monaco-editor[data-v-7c84fbe0],.magic-monaco-editor[data-v-faec04d2]{flex:1;overflow:hidden}.magic-monaco-editor[data-v-faec04d2] .breakpoints{background:var(--breakpoints-background-color);width:10px!important;height:10px!important;right:0px!important;margin-left:12px;top:5px;border-radius:5px}.magic-monaco-editor[data-v-faec04d2] .debug-line{background:var(--debug-line-background-color);color:#fff!important}.magic-monaco-editor[data-v-faec04d2] .breakpoint-line{background:var(--breakpoint-line-background-color)}.magic-resizer-x[data-v-7de8c22c],.magic-resizer-y[data-v-7de8c22c]{display:flex;position:relative;overflow:hidden;transition:none}.magic-resizer-event[data-v-7de8c22c]{position:absolute;z-index:20;--width: 100%;--height: 100%}.magic-resizer-event[data-v-7de8c22c]:after{content:" ";position:fixed;z-index:9999}.magic-resizer-x .magic-resizer-event[data-v-7de8c22c]{width:15px;height:100%;right:-15px;cursor:col-resize}.magic-resizer-x .magic-resizer-event[data-v-7de8c22c]:after{width:10px;height:var(--height)}.magic-resizer-x .magic-resizer-event.reverse[data-v-7de8c22c]{right:unset;left:-5px}.magic-resizer-x[data-v-7de8c22c]{height:100%}.magic-resizer-y .magic-resizer-event[data-v-7de8c22c]{height:10px;width:100%;top:-5px;cursor:row-resize}.magic-resizer-y .magic-resizer-event[data-v-7de8c22c]:after{height:10px;width:var(--width)}.magic-navbar-item[data-v-30388e35]{height:100%;width:100%}.magic-navbar{display:flex;background-color:var(--main-background-color);transition:.3s}.magic-navbar .magic-navbar-body{background-color:var(--navbar-body-background-color);overflow:auto}.magic-navbar .magic-navbar-header li:hover{background-color:var(--main-hover-background-color)}.magic-navbar .magic-navbar-header li.selected{background-color:var(--main-selected-background-color);color:var(--main-selected-color)}.magic-navbar .magic-navbar-header li.selected svg text{fill:var(--main-selected-color)}.magic-navbar .magic-navbar-header li svg text{letter-spacing:0px;font-size:10px}.magic-navbar__vertical.reverse{flex-direction:row-reverse}.magic-navbar__vertical .magic-navbar-header li{display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:8px 3px;cursor:pointer;border-bottom:1px solid var(--main-border-color)}.magic-navbar__vertical .magic-navbar-header{width:22px;height:100%;letter-spacing:2px;text-align:center;padding:0;border-right:1px solid var(--main-border-color)}.magic-navbar__vertical.reverse .magic-navbar-header{border-left:1px solid var(--main-border-color);border-right:none}.magic-navbar__vertical.reverse .magic-navbar-header li{display:flex;flex-direction:column-reverse}.magic-navbar__vertical .magic-navbar-header li{line-height:14px;word-break:break-all}.magic-navbar__vertical .magic-navbar-body{flex:1}.magic-navbar__vertical .magic-navbar-body{border-right:1px solid var(--navbar-body-border-color)}.magic-navbar__vertical.reverse .magic-navbar-body{border-left:1px solid var(--navbar-body-border-color);border-right:none}.magic-navbar__horizontal>ul{width:100%}.magic-navbar__horizontal>ul li{display:inline-flex;flex-direction:row-reverse;padding:0 8px;height:24px;line-height:24px;cursor:pointer;color:var(--main-color)}.magic-navbar__horizontal>ul li svg.magic-icon{padding:0 2px;height:100%}.magic-navbar__horizontal>ul{border-top:1px solid var(--main-border-color)}.magic-navbar.magic-navbar__vertical .magic-navbar-title{padding-bottom:4px}.magic-navbar.magic-navbar__vertical.reverse .magic-navbar-title{padding-top:4px;padding-bottom:0}svg[data-v-15383e92]{width:1.3em;height:1.3em;vertical-align:-.25em;overflow:hidden;fill:var(--main-icon-color)}.magic-tab{width:100%;overflow:hidden;flex-wrap:nowrap;white-space:nowrap;transition:.3s}.magic-tab ul{overflow-x:auto}.magic-tab ul li{display:inline-block;cursor:pointer;padding:0 10px;height:24px;line-height:24px}.magic-tab ul li.selected,.magic-tab ul li:hover,.magic-tab.magic-script-tab ul li.selected:hover,.magic-tab ul li.draggable-target-item{background-color:var(--main-hover-background-color)}.magic-tab.magic-script-tab{border-bottom:1px solid var(--main-border-color);height:30px;position:absolute}.magic-tab.magic-script-tab ul li{height:30px;line-height:30px;border-bottom:3px solid transparent}.magic-tab.magic-script-tab ul li.selected{border-bottom-color:#4083c9;background-color:var(--tab-selected-background-color)}.magic-table{display:flex;flex-direction:column;box-sizing:border-box}.magic-table .magic-table-body{flex:1;overflow:auto}.magic-table .magic-table-header,.magic-table .magic-table-body .magic-table-row{display:flex;height:24px;line-height:24px;border-bottom:1px solid var(--main-border-color)}.magic-table .magic-table-body .magic-table-row:hover{background-color:var(--main-hover-background-color)}.magic-table .magic-table-column{flex:1;display:inline-flex}.magic-table .magic-table-column span:last-child{flex:1;overflow:hidden;text-overflow:ellipsis;width:0px;white-space:pre}.magic-table .magic-table-column .magic-select{width:100%}.magic-table__border .magic-table-body .magic-table-row{border-bottom:1px solid var(--table-border-color)}.magic-table__border .magic-table-column:not(:last-child){border-right:1px solid var(--table-border-color)}.magic-tree{position:relative;overflow:auto}.magic-tree>ul{position:absolute;top:0;left:0}.magic-tree .magic-tree-item{height:20px;line-height:20px;transition:.3s;word-break:break-all;white-space:nowrap}.magic-tree .magic-tree-item:hover,.magic-tree .magic-tree-item.selected,.magic-tree .magic-tree-item.draggable-target-item{background-color:var(--tree-hover-background-color)}.magic-tree .magic-tree-item .magic-icon{fill:var(--tree-icon-color);margin-right:2px}.magic-tree ul{max-height:99999px;min-width:100%}.magic-tree li{white-space:nowrap;word-break:break-all}.magic-tree .hide{opacity:0;max-height:0;position:relative}.magic-tree svg:not(.root) .magic-icon-datasource{fill:#089910}.magic-dialog[data-v-3e8f0d71]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999999;text-align:center}.magic-dialog__shade[data-v-3e8f0d71]{background-color:#0000004d}.magic-dialog[data-v-3e8f0d71]:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.magic-dialog-main[data-v-3e8f0d71]{background:var(--main-background-color);border:1px solid var(--dialog-border-color);display:inline-block;vertical-align:middle;position:relative;min-width:250px;box-shadow:0 0 8px var(--dialog-shadow-color);max-width:800px;color:var(--main-color);transition:none}.magic-dialog-header[data-v-3e8f0d71]{height:30px;line-height:30px;padding-left:30px;padding-right:75px;background-position:7px 7px;background-repeat:no-repeat;text-align:left}.magic-dialog-header.moveable[data-v-3e8f0d71]{cursor:move}.magic-dialog-header span[data-v-3e8f0d71]{display:inline-block;width:30px;position:absolute;right:0;text-align:center;cursor:pointer;font-size:12px;height:30px;line-height:30px}.magic-dialog-header span[data-v-3e8f0d71]:hover{background-color:#e81123}.magic-dialog-header span:hover .magic-icon[data-v-3e8f0d71]{fill:#fff}.magic-dialog-body[data-v-3e8f0d71]{text-align:left;word-break:break-all}.magic-dialog[data-v-3e8f0d71] .magic-loading{min-width:200px;min-height:200px}.magic-notify[data-v-11ebc230]{position:absolute;right:40px;bottom:65px;transition:.5s;z-index:999999}.magic-notify .magic-notify-item[data-v-11ebc230]{background-color:var(--main-background-color);padding:5px;position:relative;border-radius:2px;border:1px solid var(--main-border-color);max-width:280px;box-shadow:0 0 8px var(--dialog-shadow-color)}.magic-notify .magic-notify-item[data-v-11ebc230]:not(:first-child){margin-top:5px}.magic-notify .magic-notify-item .magic-icon-close[data-v-11ebc230]{font-size:12px}.magic-notify .magic-notify-item .close[data-v-11ebc230]{position:absolute;top:2px;right:2px;display:none}.magic-notify .magic-notify-item h3[data-v-11ebc230]{font-size:12px;height:20px;line-height:20px;display:flex;align-items:center}.magic-notify .magic-notify-item h3 svg[data-v-11ebc230]{vertical-align:middle;margin-right:2px}.magic-notify .magic-notify-item:hover .close[data-v-11ebc230]{display:block}.magic-notify .magic-notify-item p[data-v-11ebc230]{padding:5px 5px 5px 16px}.magic-notify .magic-notify-item .magic-button-group[data-v-11ebc230]{padding-left:11px}.magic-button-group[data-v-70c60ab6] .magic-button:not(:last-child){margin-right:10px}.magic-button-group.right[data-v-70c60ab6]{text-align:right}.magic-button-group.left[data-v-70c60ab6]{text-align:left}.magic-button-group.center[data-v-70c60ab6]{text-align:center}.magic-button[data-v-2e4c463a]{height:22px;line-height:22px;background-color:var(--button-background-color);text-align:center;padding:0 15px;border:1px solid var(--button-border-color);outline:0;cursor:pointer;color:var(--main-color)}.magic-button.link[data-v-2e4c463a]{background-color:transparent;color:var(--log-color-link);border:none;padding:0 5px}.magic-button.active[data-v-2e4c463a],.magic-button[data-v-2e4c463a]:hover:not(.link){background-color:var(--button-hover-background-color);border-color:var(--button-hover-border-color)}.magic-checkbox[data-v-22b807f1]{width:100%;height:100%;text-align:center;display:inline-block}.magic-checkbox input[data-v-22b807f1]{display:none}.magic-checkbox input+label[data-v-22b807f1]{position:relative;color:#c9c9c9;font-size:12px;height:24px;line-height:24px;width:24px;user-select:none;display:inline-block}.magic-checkbox input+label[data-v-22b807f1]:after{display:inline-block;background-color:var(--checkbox-background-color);border:1px solid var(--checkbox-border-color);content:"";width:16px;height:16px;line-height:16px;position:absolute;top:2px;left:3px;text-align:center;font-size:12px;color:var(--checkbox-text-color)}.magic-checkbox input:checked+label[data-v-22b807f1]:after{content:"\2714";background-color:var(--checkbox-selected-background-color);border-color:var(--checkbox-selected-border-color)}.magic-checkbox input+label.checkedHalf[data-v-22b807f1]:after{content:"\2501"}.magic-file[data-v-62524fc2]{width:100%;position:relative}.magic-file .magic-icon[data-v-62524fc2]{position:absolute;right:3px;top:3px;height:16px;line-height:16px}.magic-input[data-v-f43ad66a]{height:22px;line-height:22px;border-radius:0;outline:0;border:1px solid transparent;margin:0;padding:0 0 0 5px;background-color:var(--input-background-color);color:var(--main-color)}.magic-input[data-v-f43ad66a]:autofill{background:var(--input-background-color)}.magic-input[data-v-f43ad66a]:-webkit-autofill,.magic-input[data-v-f43ad66a]:-webkit-autofill:hover,.magic-input[data-v-f43ad66a]:-webkit-autofill:focus,.magic-input[data-v-f43ad66a]:-webkit-autofill:active{transition:background-color 5000s;-webkit-text-fill-color:var(--main-color)!important}.magic-input[data-v-f43ad66a]:focus{border-color:var(--input-focus-color)}.magic-input__border[data-v-f43ad66a]{border-color:var(--input-border-color)}.magic-input[data-v-f43ad66a]::-webkit-outer-spin-button,.magic-input[data-v-f43ad66a]::-webkit-inner-spin-button{-webkit-appearance:none}.magic-input[type=number][data-v-f43ad66a]{-moz-appearance:textfield}.magic-select[data-v-249fb96c]{position:relative;display:inline-block;background:var(--select-background-color);height:22px;line-height:22px;width:80px;font-size:12px;text-align:left}.magic-select.inputable[data-v-249fb96c]{background:var(--select-inputable-background-color);border-color:var(--select-inputable-border-color)}.magic-select.border[data-v-249fb96c]{border:1px solid var(--input-border-color)}.magic-select input[data-v-249fb96c]{background:none;border:none;height:22px;line-height:22px;border-radius:0;outline:0;padding-left:5px;width:100%;color:var(--main-color)}.magic-select span[data-v-249fb96c]{height:22px;line-height:22px;border-radius:0;outline:0;padding-left:5px}.magic-select[data-v-249fb96c]:hover:not(.inputable){background:var(--select-hover-background-color)}.magic-select .magic-icon[data-v-249fb96c]{position:absolute;right:5px;height:100%}.magic-select ul[data-v-249fb96c]{display:block;position:fixed;z-index:10;background:var(--select-option-background-color);border:1px solid var(--select-option-border-color);margin-top:-2px;padding:0;box-sizing:content-box;margin-left:-1px}.magic-select ul li[data-v-249fb96c]{padding:0 5px;width:100%!important;height:22px;text-overflow:ellipsis;word-break:keep-all;text-align:left}.magic-select ul li[data-v-249fb96c]:hover{background:var(--select-option-hover-background-color);color:var(--select-option-hover-color)}.magic-textarea[data-v-ca6693f6]{line-height:22px;border-radius:0;outline:0;border:1px solid var(--input-border-color);resize:none;background:var(--input-background-color);color:var(--input-color);width:100%;height:100%}.magic-textarea[data-v-ca6693f6]:focus{border-color:var(--input-focus-color)}.magic-avatar-group[data-v-511f7f80]{display:inline-block;height:22px;line-height:22px}.magic-avatar-group .magic-avatar[data-v-511f7f80]{position:relative;margin-left:-5px}.magic-avatar[data-v-73f02f44]{color:#fff;display:inline-block;text-align:center}.magic-navbar[data-v-41b9c04c]{width:100%;height:100%}.magic-navbar[data-v-41b9c04c] .magic-navbar-body{border-right:none;width:100%;height:100%;display:flex;position:relative}.magic-navbar[data-v-41b9c04c] .magic-navbar-item>*{width:100%;height:100%}.magic-api-group[data-v-07a9bc9f]{display:flex;flex-direction:column}.magic-api-group form[data-v-07a9bc9f]{display:flex;padding:5px}.magic-api-group form label[data-v-07a9bc9f]{display:inline-block;width:85px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-api-group+.magic-navbar[data-v-07a9bc9f]{flex-direction:column;overflow:hidden}.magic-api-group+.magic-navbar[data-v-07a9bc9f] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-07a9bc9f] .magic-navbar-body,.magic-navbar[data-v-07a9bc9f] .magic-navbar-item{width:100%;height:100%}.magic-api-group>form .magic-button[data-v-07a9bc9f]{margin-left:10px}.magic-api-info[data-v-8ed3340e]{display:flex;flex-direction:column}.magic-api-info form[data-v-8ed3340e]{display:flex;padding:5px}.magic-api-info form label[data-v-8ed3340e]{display:inline-block;width:75px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-api-info+.magic-navbar[data-v-8ed3340e]{flex-direction:column;overflow:hidden}.magic-api-info+.magic-navbar[data-v-8ed3340e] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-8ed3340e] .magic-navbar-body,.magic-navbar[data-v-8ed3340e] .magic-navbar-item{width:100%;height:100%}.magic-monaco-editor[data-v-5ab7df51]{position:absolute;left:0;right:0;top:0;bottom:0}.magic-table[data-v-bda6618c]{flex:1}.magic-table[data-v-bda6618c] .magic-table-column{display:flex;justify-content:center;text-align:center}.magic-table[data-v-bda6618c] .magic-table-column:first-child{justify-content:unset!important;text-align:unset!important}.magic-data-type[data-v-bda6618c]{display:inline-block;width:0;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:center}iframe[data-v-bbc94624]{width:100%;height:100%;border:0}.magic-monaco-editor[data-v-bbc94624]{position:absolute;left:0;right:0;top:0;bottom:0}.magic-table[data-v-76813707]{flex:1}.magic-table span[data-v-76813707]{padding:0 5px}.magic-table[data-v-051e4f5a]{flex:1}.magic-table[data-v-051e4f5a] .magic-table-column{display:flex;justify-content:center;text-align:center}.magic-table[data-v-051e4f5a] .magic-table-column:first-child{justify-content:unset!important;text-align:unset!important}.magic-data-type[data-v-051e4f5a]{display:inline-block;width:0;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.magic-panel-api-response[data-v-a23b6466]{width:100%;height:100%;display:flex;flex-direction:column}.magic-panel-api-response[data-v-a23b6466] .magic-navbar__horizontal>ul{border-top:none;border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-a23b6466]{flex-direction:column;width:100%;height:100%}.magic-panel-api-response[data-v-a23b6466] .magic-navbar .magic-navbar-body,.magic-panel-api-response[data-v-a23b6466] .magic-navbar .magic-navbar-item{width:100%;height:100%}.magic-panel-api-response[data-v-a23b6466] .magic-navbar .magic-navbar-item{display:flex;position:relative}.magic-global[data-v-03e7bbcc]{display:flex;flex-direction:column;flex:1;width:100%;height:100%}.magic-global>.magic-navbar[data-v-03e7bbcc]{flex-direction:column;overflow:hidden}.magic-global>.magic-navbar[data-v-03e7bbcc] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-03e7bbcc] .magic-navbar-body,.magic-navbar[data-v-03e7bbcc] .magic-navbar-item{width:100%;height:100%}.magic-global .magic-panel-global[data-v-03e7bbcc]{display:flex;width:100%;height:100%}.magic-global[data-v-03e7bbcc] .magic-panel-global>div{flex:1}.magic-panel-toolbar[data-v-334c3387]{width:24px;border-right:1px solid var(--main-border-color);height:100%;text-align:center}.magic-panel-toolbar li[data-v-334c3387]{cursor:pointer;border-radius:2px;width:18px;height:18px;line-height:18px;margin:3px}.magic-panel-toolbar li[data-v-334c3387]:not(.disabled):hover{background-color:var(--main-hover-icon-background-color)}.magic-panel-toolbar li.disabled[data-v-334c3387] .magic-icon>*{fill:var(--button-disabled-color)}.magic-resource-choose[data-v-7eb90c29]{max-height:400px;overflow:auto}.magic-resource-choose .magic-tree[data-v-7eb90c29]{margin-bottom:5px;min-height:300px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-icon.root{color:var(--main-icon-color)}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox{display:inline;margin-right:3px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox input+label{width:12px!important;height:12px!important}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-tree-item{padding-left:5px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox input+label:after{width:12px!important;height:12px!important;line-height:12px!important;top:0!important;left:0!important}.magic-resource-choose[data-v-7eb90c29] .magic-tree label{color:var(--resource-label-color)}.magic-resource-choose[data-v-7eb90c29] .magic-tree span{color:var(--resource-span-color)}.magic-backup[data-v-cb15f9da]{display:flex;flex:1;height:100%}.magic-backup>div[data-v-cb15f9da]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative;height:100%}.magic-backup .magic-table[data-v-cb15f9da]{height:100%;position:absolute;width:100%}.magic-backup[data-v-cb15f9da] .magic-table-row .magic-table-column:last-child,.magic-backup[data-v-cb15f9da] .magic-table-header .magic-table-column:last-child{padding-left:5px}.magic-backup-diff-container[data-v-cb15f9da]{width:100%;height:100%;display:flex;flex-direction:column}.magic-backup-diff-container .magic-backup-diff-header[data-v-cb15f9da]{height:30px;line-height:30px;display:flex}.magic-backup-diff-container .magic-backup-diff-header>div[data-v-cb15f9da]{flex:1}.magic-backup-diff-container .magic-backup-diff-header>div[data-v-cb15f9da]:last-child{text-align:right}.magic-dialog-diff .magic-dialog-main{display:inline-flex;flex-direction:column}.magic-dialog-diff .magic-dialog-main .magic-dialog-body{flex:1;display:flex;flex-direction:column}.magic-panel-toolbar[data-v-71b796dc] .magic-icon-continue{fill:var(--icon-debug-color)}.magic-panel-toolbar[data-v-71b796dc] .magic-icon-step-over{fill:var(--icon-step-color)}.magic-debug[data-v-71b796dc]{display:flex;flex:1}.magic-debug .magic-debug-variables[data-v-71b796dc]{flex:1;background-color:var(--navbar-body-background-color);position:relative;overflow:auto}.magic-debug[data-v-71b796dc] .magic-tree{position:absolute;width:100%;height:100%}.magic-debug[data-v-71b796dc] .magic-tree .magic-tree-item{height:auto}.magic-debug .object-type[data-v-71b796dc]{color:var(--resource-span-color)}.magic-debug label.key[data-v-71b796dc]{color:var(--data-type-key-color);padding-left:3px}.magic-debug label.separator[data-v-71b796dc]{padding:0 5px}.magic-debug svg[data-v-71b796dc]{display:inline-block;width:16px;height:16px;vertical-align:middle}.magic-event[data-v-06d5ba36],.magic-event[data-v-06d5ba36] .magic-table{display:flex;flex:1}.magic-event>div[data-v-06d5ba36]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative;height:100%}.magic-event[data-v-06d5ba36] .magic-table{height:100%;position:absolute;width:100%}.magic-event[data-v-06d5ba36] .magic-table .magic-table-header{display:none}.magic-event[data-v-06d5ba36] .magic-table .magic-table-row{border-right:1px solid var(--main-border-color)}.magic-event[data-v-06d5ba36] .magic-table .magic-table-column{padding-left:5px}.magic-log-wrapper{position:relative;overflow:auto;width:100%;height:100%;background:var(--run-log-background-color)}.magic-log{position:absolute;font-size:13.5px;height:100%;padding:5px}.magic-log>div{width:100%}.magic-log>div pre{line-height:20px;width:100%}.magic-log>div.multiple pre{max-height:60px;overflow:hidden}.magic-log>div.multiple.more pre{max-height:none}.magic-log span.multiple{opacity:.5;font-size:13px;text-decoration:underline;cursor:pointer}.magic-log pre span.log-INFO{color:var(--log-color-info)}.magic-log pre span.log-DEBUG{color:var(--log-color-debug)}.magic-log pre span.log-ERROR{color:var(--log-color-error)}.magic-log pre span.log-WARN{color:var(--log-color-warn)}.magic-log pre span.log-TRACE{color:var(--log-color-trace)}.magic-log pre span.log-cyan{color:var(--log-color-cyan)}.magic-log pre a.log-link{color:var(--log-color-link)}.magic-online[data-v-0c296fa2]{height:30px;line-height:30px;float:right;padding-left:10px;max-width:500px}.magic-online>span[data-v-0c296fa2]{padding-left:5px}.magic-status-bar[data-v-49bc4fc3]{height:30px;line-height:30px;display:flex;background-color:var(--main-background-color);padding-left:24px}.magic-status-bar .message[data-v-49bc4fc3]{flex:1}.magic-status-bar ul[data-v-49bc4fc3]{float:right;display:inline-flex;align-items:center;padding-right:2px}.magic-status-bar ul li[data-v-49bc4fc3]{cursor:pointer;padding:0 4px;height:20px;line-height:20px;border-radius:3px}.magic-status-bar ul li .magic-icon[data-v-49bc4fc3]{height:20px;line-height:20px}.magic-status-bar ul li[data-v-49bc4fc3]:hover{background-color:var(--main-hover-icon-background-color)}.magic-todo[data-v-29308d9b]{display:flex;flex:1}.magic-todo div[data-v-29308d9b]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative}.magic-todo div[data-v-29308d9b] .magic-tree{width:100%;height:100%;position:absolute;overflow:auto}.magic-todo div[data-v-29308d9b] .magic-tree label{color:var(--resource-label-color)}.magic-todo div[data-v-29308d9b] .magic-tree label.todo{font-style:italic;color:var(--todo-color)}.magic-todo div[data-v-29308d9b] .magic-tree span{color:var(--resource-span-color)}.magic-toolbar .magic-navbar[data-v-6995d9c9]{flex-direction:column-reverse}.magic-toolbar-header[data-v-6995d9c9]{height:26px;line-height:26px;border-bottom:1px solid var(--main-border-color);border-top:1px solid var(--main-border-color);background-color:var(--main-background-color)}.magic-toolbar-header+div[data-v-6995d9c9]{z-index:99999}.magic-toolbar-header label[data-v-6995d9c9]{display:inline-block;padding-left:10px}.magic-toolbar .magic-resizer-y[data-v-6995d9c9]{flex-direction:column}.magic-toolbar-header-buttons[data-v-6995d9c9]{float:right;margin-right:5px;vertical-align:middle;display:flex;align-items:center;height:26px}.magic-toolbar-header-buttons .magic-icon[data-v-6995d9c9]{display:inline-block;cursor:pointer;padding:0 2px;height:18px;line-height:18px;border-radius:3px;z-index:99999}.magic-toolbar-header-buttons .magic-icon[data-v-6995d9c9]:hover{background-color:var(--main-hover-icon-background-color)}.magic-toolbar .magic-navbar[data-v-6995d9c9] .magic-navbar-body{background-color:var(--main-background-color)}.magic-panel-api,.magic-panel-function,.magic-event{display:flex;width:100%;height:100%}.magic-panel-api>div,.magic-panel-function>div,.magic-event>div{flex:1}.magic-function-info[data-v-bc8654ec]{display:flex;flex-direction:column}.magic-function-info form[data-v-bc8654ec]{display:flex;padding:5px}.magic-function-info form label[data-v-bc8654ec]{display:inline-block;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px 0 20px}.magic-navbar[data-v-bc8654ec]{flex-direction:column;overflow:hidden}.magic-navbar[data-v-bc8654ec] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-bc8654ec] .magic-navbar-body,.magic-navbar[data-v-bc8654ec] .magic-navbar-item{width:100%;height:100%}.magic-dialog[data-v-4d59cdd8] .magic-dialog-body{overflow:hidden}.magic-header[data-v-ee02284c]{height:30px;line-height:30px;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color);display:flex;color:var(--header-default-color)}.magic-header .magic-logo[data-v-ee02284c]{float:left;font-weight:700;font-size:0;letter-spacing:0;background-repeat:no-repeat;background-position:4px 7px;padding-left:25px;color:var(--header-title-color)}.magic-header .magic-logo label[data-v-ee02284c]{font-size:16px;display:inline-block;margin-right:5px;text-align:left;font-weight:400}.magic-header .magic-logo label[data-v-ee02284c]:last-child{font-size:12px}.magic-header ul[data-v-ee02284c]{float:right}.magic-header ul li[data-v-ee02284c]{cursor:pointer;height:30px;text-align:center;display:inline-flex;align-items:center}.magic-header ul li svg[data-v-ee02284c]{padding:0 4px;height:24px;width:24px;border-radius:4px}.magic-header ul li.disabled svg[data-v-ee02284c]{fill:var(--button-disabled-color)}.magic-header ul li:not(.disabled) svg[data-v-ee02284c]:hover{background-color:var(--main-hover-icon-background-color)}.magic-header ul li[data-v-ee02284c]:not(.disabled) .magic-icon-run,.magic-header ul li[data-v-ee02284c] .magic-icon-push{fill:#59a869}.magic-header-title[data-v-ee02284c]{flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.magic-skin-selector[data-v-ee02284c],.magic-locale-selector[data-v-ee02284c]{position:absolute;top:30px;right:24px;z-index:20;background-color:var(--main-background-color);border:1px solid var(--main-border-color);border-top:none}.magic-skin-selector[data-v-ee02284c]{right:48px}.magic-skin-selector ul li[data-v-ee02284c],.magic-locale-selector ul li[data-v-ee02284c]{height:24px;line-height:24px;text-align:center;cursor:pointer;padding:2px 5px}.magic-skin-selector ul li[data-v-ee02284c]:not(:last-child),.magic-locale-selector ul li[data-v-ee02284c]:not(:last-child){border-bottom:1px solid var(--main-border-color)}.magic-skin-selector ul li[data-v-ee02284c]:hover,.magic-locale-selector ul li[data-v-ee02284c]:hover{background-color:var(--main-hover-background-color)}.magic-dialog[data-v-2fa44b82] .magic-dialog-body{overflow:hidden}.magic-push-form[data-v-2fa44b82]{padding:0 10px}.magic-push-form>div[data-v-2fa44b82]{display:flex;margin-top:5px}.magic-push-form label[data-v-2fa44b82]{width:80px;text-align:right;display:inline-block}.magic-push-form[data-v-2fa44b82] .magic-input{width:auto!important;flex:1}.magic-search-result[data-v-05e528dc]{overflow:auto;max-height:200px;background-color:var(--navbar-body-background-color)}.magic-search-result .magic-search-result-item[data-v-05e528dc]{display:flex;padding:0 5px;line-height:20px}.magic-search-result .magic-search-result-item[data-v-05e528dc]:hover,.magic-search-result .magic-search-result-item.selected[data-v-05e528dc]{background-color:var(--tree-hover-background-color)}.magic-search-result .magic-search-result-item .label[data-v-05e528dc]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.magic-search-result .magic-search-result-item .label[data-v-05e528dc] .keyword{background:#FFDE7B;color:#000}.magic-search-result-item .name[data-v-05e528dc],.magic-search-result-item .line[data-v-05e528dc]{color:var(--resource-span-color)}.magic-search-result .magic-search-result-item .line[data-v-05e528dc]{padding-left:5px}.display-text[data-v-05e528dc]{padding:0 10px;height:30px;line-height:30px;border-top:1px solid var(--main-border-color);border-bottom:1px solid var(--main-border-color)}.magic-data-resource[data-v-9d04a604]{display:flex;flex-direction:column;flex:1;width:100%}.magic-data-resource .magic-data-resource-header[data-v-9d04a604]{height:24px;line-height:24px;display:flex;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color);padding-left:3px}.magic-data-resource .magic-data-resource-header input[data-v-9d04a604]{flex:1;border:none;background:none;height:24px;line-height:24px}.magic-data-resource .magic-data-resource-header ul[data-v-9d04a604]{display:inline-flex;align-items:center}.magic-data-resource .magic-data-resource-header ul li[data-v-9d04a604]{display:inline-block;cursor:pointer;padding:0 3px;height:20px;line-height:20px;border-radius:3px}.magic-data-resource .magic-data-resource-header ul li.separator[data-v-9d04a604]{background-color:var(--main-border-color);width:1px;border-radius:0;padding:0;margin:0 4px}.magic-data-resource .magic-data-resource-header ul li[data-v-9d04a604]:hover{background:var(--main-hover-icon-background-color)}.magic-data-resource .magic-data-resource-header svg[data-v-9d04a604]{height:100%}.magic-data-resource>ul li[data-v-9d04a604]{line-height:22px;padding-left:10px}.magic-data-resource>ul li[data-v-9d04a604]:hover{background-color:var(--tree-hover-background-color)}.magic-data-resource>ul li .magic-icon[data-v-9d04a604]{padding-right:2px}.magic-data-resource>ul li label[data-v-9d04a604]{color:var(--resource-label-color)}.magic-data-resource>ul li span[data-v-9d04a604]{color:var(--resource-span-color);display:inline-block;height:22px;line-height:22px}.magic-data-resource>ul li[data-v-9d04a604] .magic-icon-datasource{fill:#089910}.magic-editor .magic-form-row{display:flex;margin-bottom:5px}.magic-editor .magic-form-row label{margin-right:5px;display:inline-block;width:70px;text-align:right;height:22px;line-height:22px}.magic-editor .magic-form-row>input,.magic-editor .magic-form-row>.magic-select{flex:1;width:auto}label[data-v-f15aae88]{width:60px;text-align:right;display:inline-block}.magic-login[data-v-f15aae88]{position:fixed;z-index:999999999999;background:#fff;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-image:url(./login-bg.025a11cc.svg)}.magic-login .magic-login-box[data-v-f15aae88]{border-radius:5px;width:450px;box-shadow:0 7px 25px #00000014;position:absolute;box-sizing:border-box;padding-top:60px;top:33.333333%;margin-top:-125px;background-color:#fff}.magic-login-logo[data-v-f15aae88]{background-image:url(./logo-magic-api.7bf52c65.png);width:128px;height:128px;background-size:90px 90px;background-repeat:no-repeat;background-position:center center;position:absolute;top:-64px;left:50%;margin-left:-64px;border-radius:64px;box-shadow:0 0 20px 5px #00000014;padding:10px;background-color:#fff}.magic-login-text[data-v-f15aae88]{height:70px;line-height:70px;display:block;text-align:center;font-family:PoetsenOne;font-size:28px;color:gray}.magic-login-text span[data-v-f15aae88]{font-size:16px}.magic-login-copyright[data-v-f15aae88]{text-align:center;color:#999;font-size:18px;font-family:Avenir,Helvetica,Arial,sans-serif;position:absolute;bottom:50px}.magic-login-copyright a[data-v-f15aae88]{text-decoration:none;color:#2196f3;outline:0}.magic-login-row[data-v-f15aae88]{width:400px;margin:25px auto;position:relative}.magic-login-row.error[data-v-f15aae88]{background-color:#fff1f0;border:1px solid #ffa39e;color:#000;border-radius:4px;padding:10px 0 10px 40px}.magic-login-row.error span[data-v-f15aae88]{font-size:14px;word-break:break-all}.magic-login-row svg[data-v-f15aae88]{position:absolute;width:20px;height:20px;top:15px;left:15px}.magic-login-row[data-v-f15aae88] .magic-icon-error{fill:red}.magic-login-box .magic-input[data-v-f15aae88]{height:50px;line-height:50px;background-color:transparent;display:block;border:1px solid #D9D9D9;border-radius:4px;padding-left:40px;color:#000000a6;transition:all .3s;font-size:16px}.magic-login-box .magic-input[data-v-f15aae88]:focus{border-color:#0784de}.magic-login-box .magic-button[data-v-f15aae88]{width:100%;height:50px;line-height:50px;background-color:#2196f3;color:#fff;border-radius:4px;font-size:18px;border-color:#2196f3;transition:all .3s}.magic-login-box .magic-button[data-v-f15aae88]:hover,.magic-login-box .magic-button[data-v-f15aae88]:focus{background-color:#4db5ff!important;border-color:#4db5ff!important}.magic-login-box .magic-button[data-v-f15aae88]:active{background-color:#1272cc;border-color:#1272cc}.magic-main[data-v-27561660]{flex:1;display:flex;border-bottom:1px solid var(--main-border-color);height:0;width:100%}.magic-main-body-wrapper[data-v-27561660]{display:flex;flex:1;flex-direction:column}.magic-main-body[data-v-27561660]{display:flex;flex:1;overflow:hidden}.magic-toolbar[data-v-27561660] .magic-resizer-y .magic-resizer-event{top:auto}ul[data-v-44903aa6]{max-width:400px;max-height:600px;overflow:auto}ul li[data-v-44903aa6]:hover{background-color:var(--tree-hover-background-color)}ul li[data-v-44903aa6]{height:20px;line-height:20px;transition:.3s;word-break:break-all;white-space:nowrap}ul li label[data-v-44903aa6]{color:var(--resource-label-color)}ul li span[data-v-44903aa6]{color:var(--resource-span-color)}.magic-dialog-main[data-v-44903aa6] .magic-dialog-body{padding:0}.magic-resource[data-v-615c15e4]{display:flex;flex-direction:column;flex:1;width:100%}.magic-resource .magic-resource-header[data-v-615c15e4]{height:24px;line-height:24px;display:flex;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color)}.magic-resource .magic-resource-header input[data-v-615c15e4]{flex:1;border:none;background:none;height:24px;line-height:24px}.magic-resource .magic-resource-header ul[data-v-615c15e4]{display:inline-flex;align-items:center}.magic-resource .magic-resource-header ul li[data-v-615c15e4]{display:inline-block;cursor:pointer;padding:0 3px;height:20px;line-height:20px;border-radius:3px}.magic-resource .magic-resource-header svg[data-v-615c15e4]{height:100%}.magic-resource .magic-resource-header ul li.separator[data-v-615c15e4]{background-color:var(--main-border-color);width:1px;border-radius:0;padding:0;margin:0 4px}.magic-resource .magic-resource-header ul li[data-v-615c15e4]:hover{background:var(--main-hover-icon-background-color)}.magic-resource .magic-tree label[data-v-615c15e4]{color:var(--resource-label-color)}.magic-resource .magic-tree span[data-v-615c15e4]{color:var(--resource-span-color)}.magic-resource .magic-tree .magic-icon-lock[data-v-615c15e4]{fill:var(--resource-label-color);margin-left:5px}.magic-resource>.magic-tree[data-v-615c15e4]{flex:1;overflow:auto}.magic-create-group li[data-v-615c15e4]{display:flex;height:26px;line-height:26px}.magic-create-group li input[data-v-615c15e4]{flex:1}.magic-resource[data-v-615c15e4] .magic-avatar-group{margin-left:5px}.magic-script-editor[data-v-441a96bb]{flex:1;overflow:hidden;position:relative}.magic-script-editor .magic-monaco-editor-wrapper[data-v-441a96bb]{position:absolute;top:30px;left:0;right:0;bottom:0}.magic-empty-container[data-v-441a96bb]{flex:1;position:relative;width:100%;height:100%;background:var(--empty-background-color)}.magic-hot-key[data-v-441a96bb]{position:absolute;top:50%;margin-top:-105px;text-align:center;color:var(--empty-color);font-size:16px;width:100%}.magic-hot-key p[data-v-441a96bb]{display:inline-block;text-align:left;line-height:30px}.magic-hot-key p em[data-v-441a96bb]{margin-left:15px;font-style:normal;color:var(--empty-key-color)}.magic-monaco-editor[data-v-441a96bb]{position:absolute;top:0;bottom:0;left:0;right:0;overflow:visible!important}.magic-script-editor[data-v-441a96bb] .magic-avatar-group{margin-left:5px}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs .view-overlays .current-line,.monaco-editor.vs-dark .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs .cursor,.monaco-editor.vs-dark .cursor{background-color:windowtext!important}.monaco-editor.vs .dnd-target,.monaco-editor.vs-dark .dnd-target{border-color:windowtext!important}.monaco-editor.vs .selected-text,.monaco-editor.vs-dark .selected-text{background-color:highlight!important}.monaco-editor.vs .view-line,.monaco-editor.vs-dark .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs .view-line span,.monaco-editor.vs-dark .view-line span{color:windowtext!important}.monaco-editor.vs .view-line span.inline-selected-text,.monaco-editor.vs-dark .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs .view-overlays,.monaco-editor.vs-dark .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs .selectionHighlight,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs .wordHighlightStrong,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs-dark .reference-decoration{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .rangeHighlight,.monaco-editor.vs-dark .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs .bracket-match,.monaco-editor.vs-dark .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs .findMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs-dark .currentFindMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .find-widget,.monaco-editor.vs-dark .find-widget{border:1px solid windowtext}.monaco-editor.vs .monaco-list .monaco-list-row,.monaco-editor.vs-dark .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs .monaco-list .monaco-list-row.focused,.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-list .monaco-list-row:hover,.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:highlight!important}.monaco-editor.vs .decorationsOverviewRuler,.monaco-editor.vs-dark .decorationsOverviewRuler{opacity:0}.monaco-editor.vs .minimap,.monaco-editor.vs-dark .minimap{display:none}.monaco-editor.vs .squiggly-d-error,.monaco-editor.vs-dark .squiggly-d-error{background:transparent!important;border-bottom:4px double #E47777}.monaco-editor.vs .squiggly-c-warning,.monaco-editor.vs-dark .squiggly-c-warning,.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs-dark .squiggly-b-info{border-bottom:4px double #71B771}.monaco-editor.vs .squiggly-a-hint,.monaco-editor.vs-dark .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs .diffOverviewRuler,.monaco-diff-editor.vs-dark .diffOverviewRuler{display:none}.monaco-editor.vs .line-insert,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs-dark .line-delete{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs .char-insert,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs-dark .char-delete{background:transparent!important}}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-mouse-cursor-text{cursor:text}.vs-dark .mac .monaco-mouse-cursor-text,.hc-black .mac .monaco-mouse-cursor-text,.vs-dark.mac .monaco-mouse-cursor-text,.hc-black.mac .monaco-mouse-cursor-text{cursor:-webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x,url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8,text}.monaco-editor .view-overlays .current-line,.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:rgba(0,0,0,0);transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:#ddd 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:#ddd 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:#ddd 6px 6px 6px -6px inset}.vs .monaco-scrollable-element>.scrollbar>.slider{background:rgba(100,100,100,.4)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:rgba(121,121,121,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider{background:rgba(111,195,223,.6)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(100,100,100,.7)}.hc-black .monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(111,195,223,.8)}.monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(0,0,0,.6)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(191,191,191,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(111,195,223,1)}.vs-dark .monaco-scrollable-element .shadow.top{box-shadow:none}.vs-dark .monaco-scrollable-element .shadow.left{box-shadow:#000 6px 0 6px -6px inset}.vs-dark .monaco-scrollable-element .shadow.top.left{box-shadow:#000 6px 6px 6px -6px inset}.hc-black .monaco-scrollable-element .shadow.top,.hc-black .monaco-scrollable-element .shadow.left,.hc-black .monaco-scrollable-element .shadow.top.left{box-shadow:none}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{position:absolute;top:0;background:white}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider,.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:rgba(255,255,255,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:rgba(0,0,0,0)}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:rgba(171,171,171,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}:root{--sash-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--sash-size) * 2);width:calc(var(--sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--sash-size) * -.5);top:calc(var(--sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--sash-size) * -.5);bottom:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--sash-size) * -.5);left:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--sash-size) * -.5);right:calc(var(--sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;transition:background-color .1s ease-out;background:transparent}.monaco-sash.vertical:before{width:var(--sash-hover-size);left:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--sash-hover-size);top:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.4}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-label{margin-right:1px}@font-face{font-family:codicon;font-display:block;src:url(./codicon.d86f69b1.ttf) format("truetype")}.codicon[class*=codicon-]{font: 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none;-ms-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.context-view{position:absolute;z-index:2500}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;z-index:2500;color:inherit}.context-view .monaco-menu{min-width:130px}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter{display:flex;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);text-overflow:ellipsis;overflow:hidden;text-align:right;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:flex;align-items:center;box-sizing:border-box;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{border:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;background:none;width:16px;height:16px;flex-shrink:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.monaco-list-type-filter>.controls>.filter{margin-left:4px}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-list-type-filter{cursor:grab}.monaco-list-type-filter.dragging{cursor:grabbing}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-table>.monaco-split-view2,.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight,.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight,.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;text-align:center;cursor:pointer;justify-content:center;align-items:center}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button>.codicon{margin:0 .2em;color:inherit!important}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown>.monaco-dropdown-button{margin-left:1px}.monaco-description-button{flex-direction:column}.monaco-description-button .monaco-button-label{font-weight:500}.monaco-description-button .monaco-button-description{font-style:italic}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;animation-timing-function:linear;transform:translate(0)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2000;padding:0 1px 1px;left:50%;margin-left:-300px}.quick-input-titlebar{display:flex;align-items:center}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:6px 6px 0;margin-bottom:-2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:27.5px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px 5px 2px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{overflow:hidden;max-height:440px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;-ms-overflow-style:none;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-editor .contentWidgets .codicon-light-bulb,.monaco-editor .contentWidgets .codicon-lightbulb-autofix{display:flex;align-items:center;justify-content:center}.monaco-editor .contentWidgets .codicon-light-bulb:hover,.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover{cursor:pointer}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;-ms-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:center;font-size:13px;margin-left:20px;min-width:0}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta,.monaco-editor .peekview-widget .head .peekview-title .dirname{white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-action-bar .action-item.menu-entry .action-label,.hc-black .monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-dropdown-with-default>.action-container.menu-entry>.action-label,.hc-black .monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul{margin:8px 0}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul,.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .colorpicker-hover:focus{outline:none}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;line-height:24px;cursor:pointer;color:#fff;flex:1;text-align:center}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,#ff0000 0%,#ffff00 17%,#00ff00 33%,#00ffff 50%,#0000ff 67%,#ff00ff 83%,#ff0000 100%)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid transparent;overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{opacity:.5;color:inherit}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul,.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor.vs .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines{cursor:copy}.monaco-custom-checkbox{margin-left:2px;float:left;cursor:pointer;overflow:hidden;opacity:.7;width:20px;height:20px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-custom-checkbox:hover,.monaco-custom-checkbox.checked{opacity:1}.hc-black .monaco-custom-checkbox,.hc-black .monaco-custom-checkbox:hover{background:none}.monaco-custom-checkbox.monaco-simple-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-checkbox.monaco-simple-checkbox:not(.checked):before{visibility:hidden}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px))}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:4px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{opacity:.3;cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:rgba(255,255,255,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:rgba(255,255,255,.44)}99%{background:transparent}}.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:"\22ef";display:inline;line-height:1em;cursor:pointer}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer}.monaco-editor .parameter-hints-widget{z-index:10;display:flex;flex-direction:column;line-height:1.5em}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.visible{transition:left .05s ease-in-out}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs .markdown-docs code{font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;opacity:.5;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{font-weight:700;text-decoration:underline}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit}.monaco-editor .rename-box.preview{padding:3px 3px 0}.monaco-editor .rename-box .rename-input{padding:3px;width:calc(100% - 6px)}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:10px}.tokens-inspect-separator{height:1px;border:0}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}
diff --git a/magic-editor/src/console/dist/index.html b/magic-editor/src/console/dist/index.html
index ef07c7b9..31954f58 100644
--- a/magic-editor/src/console/dist/index.html
+++ b/magic-editor/src/console/dist/index.html
@@ -23,12 +23,12 @@
@keyframes stretch {0% {transform: scale(1);}25% {transform: scale(1.2);}50% {transform: scale(1);}100% {transform: scale(1);}}
@keyframes blink-loading {0% {opacity: 1;}50% {opacity: 0.5;}100% {opacity: 1;}}
-
+
-
-
+
+
@@ -49,7 +49,7 @@
function showMaLoadingText(){
let defaultConfig = {
title: 'magic-api',
- version: '2.0.0-beta.1'
+ version: '2.0.0-beta.2'
}
defaultConfig = { ...defaultConfig, ...window.MAGIC_EDITOR_CONFIG }
let $dom = document.getElementById('magic-loading-text')