self.webpackChunk(["mode/jsx"],{13:function(t,e,n){!function(t){"use strict";function e(t,e,n,r){this.state=t,this.mode=e,this.depth=n,this.prev=r}function n(r){return new e(t.copyState(r.mode,r.state),r.mode,r.depth,r.prev&&n(r.prev))}t.defineMode("jsx",(function(r,a){var i=t.getMode(r,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),s=t.getMode(r,a&&a.base||"javascript");function o(t){var e=t.tagName;t.tagName=null;var n=i.indent(t,"","");return t.tagName=e,n}function c(n,a){return a.context.mode==i?function(n,a,p){if(2==p.depth)return n.match(/^.*?\*\//)?p.depth=1:n.skipToEnd(),"comment";if("{"==n.peek()){i.skipAttribute(p.state);var u=o(p.state),d=p.state.context;if(d&&n.match(/^[^>]*>\s*$/,!1)){for(;d.prev&&!d.startOfLine;)d=d.prev;d.startOfLine?u-=r.indentUnit:p.prev.state.lexical&&(u=p.prev.state.lexical.indented)}else 1==p.depth&&(u+=r.indentUnit);return a.context=new e(t.startState(s,u),s,0,a.context),null}if(1==p.depth){if("<"==n.peek())return i.skipAttribute(p.state),a.context=new e(t.startState(i,o(p.state)),i,0,a.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return p.depth=2,c(n,a)}var x,f=i.token(n,p.state),l=n.current();return/\btag\b/.test(f)?/>$/.test(l)?p.state.context?p.depth=0:a.context=a.context.prev:/^</.test(l)&&(p.depth=1):!f&&(x=l.indexOf("{"))>-1&&n.backUp(l.length-x),f}(n,a,a.context):function(n,r,a){if("<"==n.peek()&&s.expressionAllowed(n,a.state))return s.skipExpression(a.state),r.context=new e(t.startState(i,s.indent(a.state,"","")),i,0,r.context),null;var o=s.token(n,a.state);if(!o&&null!=a.depth){var c=n.current();"{"==c?a.depth++:"}"==c&&0==--a.depth&&(r.context=r.context.prev)}return o}(n,a,a.context)}return{startState:function(){return{context:new e(t.startState(s),s)}},copyState:function(t){return{context:n(t.context)}},token:c,indent:function(t,e,n){return t.context.mode.indent(t.context.state,e,n)},innerMode:function(t){return t.context}}}),"xml","javascript"),t.defineMIME("text/jsx","jsx"),t.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})}(n(0),n(4),n(3))}});
//# sourceMappingURL=jsx.js.map