@umijs/plugin-docs 4.0.0-rc.4 → 4.0.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/theme-doc/LangSwitch.tsx +9 -2
- package/client/theme-doc/Search.tsx +3 -3
- package/client/theme-doc/tailwind.out.css +0 -8
- package/client/theme-doc/useLanguage.ts +3 -0
- package/compiled/@mdx-js/mdx/LICENSE +21 -0
- package/compiled/@mdx-js/mdx/index.js +8 -0
- package/compiled/@mdx-js/mdx/package.json +1 -0
- package/compiled/rehype-slug/LICENSE +22 -0
- package/compiled/rehype-slug/index.js +1 -0
- package/compiled/rehype-slug/package.json +1 -0
- package/package.json +7 -5
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
(function(){var e={100:function(e,t,i){"use strict";const n=i(303);const r=/^[\da-fA-F]+$/;const s=/^\d+$/;const a=new WeakMap;function getJsxTokens(e){e=e.Parser.acorn||e;let t=a.get(e);if(!t){const i=e.tokTypes;const n=e.TokContext;const r=e.TokenType;const s=new n("<tag",false);const o=new n("</tag",false);const l=new n("<tag>...</tag>",true,true);const c={tc_oTag:s,tc_cTag:o,tc_expr:l};const p={jsxName:new r("jsxName"),jsxText:new r("jsxText",{beforeExpr:true}),jsxTagStart:new r("jsxTagStart",{startsExpr:true}),jsxTagEnd:new r("jsxTagEnd")};p.jsxTagStart.updateContext=function(){this.context.push(l);this.context.push(s);this.exprAllowed=false};p.jsxTagEnd.updateContext=function(e){let t=this.context.pop();if(t===s&&e===i.slash||t===o){this.context.pop();this.exprAllowed=this.curContext()===l}else{this.exprAllowed=true}};t={tokContexts:c,tokTypes:p};a.set(e,t)}return t}function getQualifiedJSXName(e){if(!e)return e;if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}e.exports=function(e){e=e||{};return function(t){return plugin({allowNamespaces:e.allowNamespaces!==false,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}};Object.defineProperty(e.exports,"tokTypes",{get:function get_tokTypes(){return getJsxTokens(i(680)).tokTypes},configurable:true,enumerable:true});function plugin(e,t){const a=t.acorn||i(680);const o=getJsxTokens(a);const l=a.tokTypes;const c=o.tokTypes;const p=a.tokContexts;const f=o.tokContexts.tc_oTag;const d=o.tokContexts.tc_cTag;const m=o.tokContexts.tc_expr;const g=a.isNewLine;const x=a.isIdentifierStart;const y=a.isIdentifierChar;return class extends t{static get acornJsx(){return o}jsx_readToken(){let e="",t=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated JSX contents");let i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:if(this.pos===this.start){if(i===60&&this.exprAllowed){++this.pos;return this.finishToken(c.jsxTagStart)}return this.getTokenFromCode(i)}e+=this.input.slice(t,this.pos);return this.finishToken(c.jsxText,e);case 38:e+=this.input.slice(t,this.pos);e+=this.jsx_readEntity();t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(i===62?">":"}")+"` or "+'`{"'+this.input[this.pos]+'"}'+"`?");default:if(g(i)){e+=this.input.slice(t,this.pos);e+=this.jsx_readNewLine(true);t=this.pos}else{++this.pos}}}}jsx_readNewLine(e){let t=this.input.charCodeAt(this.pos);let i;++this.pos;if(t===13&&this.input.charCodeAt(this.pos)===10){++this.pos;i=e?"\n":"\r\n"}else{i=String.fromCharCode(t)}if(this.options.locations){++this.curLine;this.lineStart=this.pos}return i}jsx_readString(e){let t="",i=++this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated string constant");let n=this.input.charCodeAt(this.pos);if(n===e)break;if(n===38){t+=this.input.slice(i,this.pos);t+=this.jsx_readEntity();i=this.pos}else if(g(n)){t+=this.input.slice(i,this.pos);t+=this.jsx_readNewLine(false);i=this.pos}else{++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(l.string,t)}jsx_readEntity(){let e="",t=0,i;let a=this.input[this.pos];if(a!=="&")this.raise(this.pos,"Entity must start with an ampersand");let o=++this.pos;while(this.pos<this.input.length&&t++<10){a=this.input[this.pos++];if(a===";"){if(e[0]==="#"){if(e[1]==="x"){e=e.substr(2);if(r.test(e))i=String.fromCharCode(parseInt(e,16))}else{e=e.substr(1);if(s.test(e))i=String.fromCharCode(parseInt(e,10))}}else{i=n[e]}break}e+=a}if(!i){this.pos=o;return"&"}return i}jsx_readWord(){let e,t=this.pos;do{e=this.input.charCodeAt(++this.pos)}while(y(e)||e===45);return this.finishToken(c.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();if(this.type===c.jsxName)e.name=this.value;else if(this.type.keyword)e.name=this.type.keyword;else this.unexpected();this.next();return this.finishNode(e,"JSXIdentifier")}jsx_parseNamespacedName(){let t=this.start,i=this.startLoc;let n=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(l.colon))return n;var r=this.startNodeAt(t,i);r.namespace=n;r.name=this.jsx_parseIdentifier();return this.finishNode(r,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===c.jsxTagEnd)return"";let t=this.start,i=this.startLoc;let n=this.jsx_parseNamespacedName();if(this.type===l.dot&&n.type==="JSXNamespacedName"&&!e.allowNamespacedObjects){this.unexpected()}while(this.eat(l.dot)){let e=this.startNodeAt(t,i);e.object=n;e.property=this.jsx_parseIdentifier();n=this.finishNode(e,"JSXMemberExpression")}return n}jsx_parseAttributeValue(){switch(this.type){case l.braceL:let e=this.jsx_parseExpressionContainer();if(e.expression.type==="JSXEmptyExpression")this.raise(e.start,"JSX attributes must only be assigned a non-empty expression");return e;case c.jsxTagStart:case l.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();this.next();e.expression=this.type===l.braceR?this.jsx_parseEmptyExpression():this.parseExpression();this.expect(l.braceR);return this.finishNode(e,"JSXExpressionContainer")}jsx_parseAttribute(){let e=this.startNode();if(this.eat(l.braceL)){this.expect(l.ellipsis);e.argument=this.parseMaybeAssign();this.expect(l.braceR);return this.finishNode(e,"JSXSpreadAttribute")}e.name=this.jsx_parseNamespacedName();e.value=this.eat(l.eq)?this.jsx_parseAttributeValue():null;return this.finishNode(e,"JSXAttribute")}jsx_parseOpeningElementAt(e,t){let i=this.startNodeAt(e,t);i.attributes=[];let n=this.jsx_parseElementName();if(n)i.name=n;while(this.type!==l.slash&&this.type!==c.jsxTagEnd)i.attributes.push(this.jsx_parseAttribute());i.selfClosing=this.eat(l.slash);this.expect(c.jsxTagEnd);return this.finishNode(i,n?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let i=this.startNodeAt(e,t);let n=this.jsx_parseElementName();if(n)i.name=n;this.expect(c.jsxTagEnd);return this.finishNode(i,n?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let i=this.startNodeAt(e,t);let n=[];let r=this.jsx_parseOpeningElementAt(e,t);let s=null;if(!r.selfClosing){e:for(;;){switch(this.type){case c.jsxTagStart:e=this.start;t=this.startLoc;this.next();if(this.eat(l.slash)){s=this.jsx_parseClosingElementAt(e,t);break e}n.push(this.jsx_parseElementAt(e,t));break;case c.jsxText:n.push(this.parseExprAtom());break;case l.braceL:n.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}}if(getQualifiedJSXName(s.name)!==getQualifiedJSXName(r.name)){this.raise(s.start,"Expected corresponding JSX closing tag for <"+getQualifiedJSXName(r.name)+">")}}let a=r.name?"Element":"Fragment";i["opening"+a]=r;i["closing"+a]=s;i.children=n;if(this.type===l.relational&&this.value==="<"){this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag")}return this.finishNode(i,"JSX"+a)}jsx_parseText(){let e=this.parseLiteral(this.value);e.type="JSXText";return e}jsx_parseElement(){let e=this.start,t=this.startLoc;this.next();return this.jsx_parseElementAt(e,t)}parseExprAtom(e){if(this.type===c.jsxText)return this.jsx_parseText();else if(this.type===c.jsxTagStart)return this.jsx_parseElement();else return super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===m)return this.jsx_readToken();if(t===f||t===d){if(x(e))return this.jsx_readWord();if(e==62){++this.pos;return this.finishToken(c.jsxTagEnd)}if((e===34||e===39)&&t==f)return this.jsx_readString(e)}if(e===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33){++this.pos;return this.finishToken(c.jsxTagStart)}return super.readToken(e)}updateContext(e){if(this.type==l.braceL){var t=this.curContext();if(t==f)this.context.push(p.b_expr);else if(t==m)this.context.push(p.b_tmpl);else super.updateContext(e);this.exprAllowed=true}else if(this.type===l.slash&&e===c.jsxTagStart){this.context.length-=2;this.context.push(d);this.exprAllowed=false}else{return super.updateContext(e)}}}}},303:function(e){e.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},680:function(e,t){(function(e,i){true?i(t):0})(this,(function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var n={5:i,"5module":i+" export import",6:i+" const class extends export import super"};var r=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var o=new RegExp("["+s+"]");var l=new RegExp("["+s+a+"]");s=a=null;var c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];var p=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var i=65536;for(var n=0;n<t.length;n+=2){i+=t[n];if(i>e){return false}i+=t[n+1];if(i>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&o.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&l.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)||isInAstralSet(e,p)}var f=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new f(e,{beforeExpr:true,binop:t})}var d={beforeExpr:true},m={startsExpr:true};var g={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return g[e]=new f(e,t)}var x={num:new f("num",m),regexp:new f("regexp",m),string:new f("string",m),name:new f("name",m),privateId:new f("privateId",m),eof:new f("eof"),bracketL:new f("[",{beforeExpr:true,startsExpr:true}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:true,startsExpr:true}),braceR:new f("}"),parenL:new f("(",{beforeExpr:true,startsExpr:true}),parenR:new f(")"),comma:new f(",",d),semi:new f(";",d),colon:new f(":",d),dot:new f("."),question:new f("?",d),questionDot:new f("?."),arrow:new f("=>",d),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",d),backQuote:new f("`",m),dollarBraceL:new f("${",{beforeExpr:true,startsExpr:true}),eq:new f("=",{beforeExpr:true,isAssign:true}),assign:new f("_=",{beforeExpr:true,isAssign:true}),incDec:new f("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new f("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new f("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new f("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",d),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",d),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",d),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",m),_if:kw("if"),_return:kw("return",d),_switch:kw("switch"),_throw:kw("throw",d),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",m),_super:kw("super",m),_class:kw("class",m),_extends:kw("extends",d),_export:kw("export"),_import:kw("import",m),_null:kw("null",m),_true:kw("true",m),_false:kw("false",m),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var y=/\r\n?|\n|\u2028|\u2029/;var v=new RegExp(y.source,"g");function isNewLine(e){return e===10||e===13||e===8232||e===8233}function nextLineBreak(e,t,i){if(i===void 0)i=e.length;for(var n=t;n<i;n++){var r=e.charCodeAt(n);if(isNewLine(r)){return n<i-1&&r===13&&e.charCodeAt(n+1)===10?n+2:n+1}}return-1}var b=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var w=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var k=Object.prototype;var E=k.hasOwnProperty;var S=k.toString;var C=Object.hasOwn||function(e,t){return E.call(e,t)};var A=Array.isArray||function(e){return S.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var _=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;var T=function Position(e,t){this.line=e;this.column=t};T.prototype.offset=function offset(e){return new T(this.line,this.column+e)};var I=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,n=0;;){var r=nextLineBreak(e,n,t);if(r<0){return new T(i,t-n)}++i;n=r}}var F={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var L=false;function getOptions(e){var t={};for(var i in F){t[i]=e&&C(e,i)?e[i]:F[i]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!L&&typeof console==="object"&&console.warn){L=true;console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")}t.ecmaVersion=11}else if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(A(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}if(A(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,n,r,s,a,o){var l={type:i?"Block":"Line",value:n,start:r,end:s};if(e.locations){l.loc=new I(this,a,o)}if(e.ranges){l.range=[r,s]}t.push(l)}}var P=1,D=2,N=4,B=8,V=16,O=32,M=64,R=128,q=256,j=P|D|q;function functionFlags(e,t){return D|(e?N:0)|(t?B:0)}var z=0,J=1,U=2,H=3,X=4,W=5;var G=function Parser(e,i,r){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(n[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){s=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var a=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(a);this.reservedWordsStrictBind=wordsRegexp(a+" "+t.strictBind);this.input=String(i);this.containsEsc=false;if(r){this.pos=r;this.lineStart=this.input.lastIndexOf("\n",r-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(y).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=x.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(P);this.regexpState=null;this.privateNameStack=[]};var Q={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};G.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Q.inFunction.get=function(){return(this.currentVarScope().flags&D)>0};Q.inGenerator.get=function(){return(this.currentVarScope().flags&B)>0&&!this.currentVarScope().inClassFieldInit};Q.inAsync.get=function(){return(this.currentVarScope().flags&N)>0&&!this.currentVarScope().inClassFieldInit};Q.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&q){return false}if(t.flags&D){return(t.flags&N)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Q.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&M)>0||i||this.options.allowSuperOutsideMethod};Q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&R)>0};Q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Q.allowNewDotTarget.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&(D|q))>0||i};Q.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&q)>0};G.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var n=0;n<e.length;n++){i=e[n](i)}return i};G.parse=function parse(e,t){return new this(t,e).parse()};G.parseExpressionAt=function parseExpressionAt(e,t,i){var n=new this(i,e,t);n.nextToken();return n.parseExpression()};G.tokenizer=function tokenizer(e,t){return new this(t,e)};Object.defineProperties(G.prototype,Q);var K=G.prototype;var $=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;K.strictDirective=function(e){for(;;){w.lastIndex=e;e+=w.exec(this.input)[0].length;var t=$.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){w.lastIndex=e+t[0].length;var i=w.exec(this.input),n=i.index+i[0].length;var r=this.input.charAt(n);return r===";"||r==="}"||y.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||r==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length;w.lastIndex=e;e+=w.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};K.eat=function(e){if(this.type===e){this.next();return true}else{return false}};K.isContextual=function(e){return this.type===x.name&&this.value===e&&!this.containsEsc};K.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};K.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};K.canInsertSemicolon=function(){return this.type===x.eof||this.type===x.braceR||y.test(this.input.slice(this.lastTokEnd,this.start))};K.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};K.semicolon=function(){if(!this.eat(x.semi)&&!this.insertSemicolon()){this.unexpected()}};K.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};K.expect=function(e){this.eat(e)||this.unexpected()};K.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}K.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,"Parenthesized pattern")}};K.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var n=e.doubleProto;if(!t){return i>=0||n>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(n>=0){this.raiseRecoverable(n,"Redefinition of __proto__ property")}};K.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};K.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var Y=G.prototype;Y.parseTopLevel=function(e){var t=Object.create(null);if(!e.body){e.body=[]}while(this.type!==x.eof){var i=this.parseStatement(null,true,t);e.body.push(i)}if(this.inModule){for(var n=0,r=Object.keys(this.undefinedExports);n<r.length;n+=1){var s=r[n];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var Z={kind:"loop"},ee={kind:"switch"};Y.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}w.lastIndex=this.pos;var t=w.exec(this.input);var i=this.pos+t[0].length,n=this.input.charCodeAt(i);if(n===91||n===92||n>55295&&n<56320){return true}if(e){return false}if(n===123){return true}if(isIdentifierStart(n,true)){var s=i+1;while(isIdentifierChar(n=this.input.charCodeAt(s),true)){++s}if(n===92||n>55295&&n<56320){return true}var a=this.input.slice(i,s);if(!r.test(a)){return true}}return false};Y.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}w.lastIndex=this.pos;var e=w.exec(this.input);var t=this.pos+e[0].length,i;return!y.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};Y.parseStatement=function(e,t,i){var n=this.type,r=this.startNode(),s;if(this.isLet(e)){n=x._var;s="let"}switch(n){case x._break:case x._continue:return this.parseBreakContinueStatement(r,n.keyword);case x._debugger:return this.parseDebuggerStatement(r);case x._do:return this.parseDoStatement(r);case x._for:return this.parseForStatement(r);case x._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(r,false,!e);case x._class:if(e){this.unexpected()}return this.parseClass(r,true);case x._if:return this.parseIfStatement(r);case x._return:return this.parseReturnStatement(r);case x._switch:return this.parseSwitchStatement(r);case x._throw:return this.parseThrowStatement(r);case x._try:return this.parseTryStatement(r);case x._const:case x._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(r,s);case x._while:return this.parseWhileStatement(r);case x._with:return this.parseWithStatement(r);case x.braceL:return this.parseBlock(true,r);case x.semi:return this.parseEmptyStatement(r);case x._export:case x._import:if(this.options.ecmaVersion>10&&n===x._import){w.lastIndex=this.pos;var a=w.exec(this.input);var o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(l===40||l===46){return this.parseExpressionStatement(r,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return n===x._import?this.parseImport(r):this.parseExport(r,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(r,true,!e)}var c=this.value,p=this.parseExpression();if(n===x.name&&p.type==="Identifier"&&this.eat(x.colon)){return this.parseLabeledStatement(r,c,p,e)}else{return this.parseExpressionStatement(r,p)}}};Y.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(x.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==x.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var n=0;for(;n<this.labels.length;++n){var r=this.labels[n];if(e.label==null||r.name===e.label.name){if(r.kind!=null&&(i||r.kind==="loop")){break}if(e.label&&i){break}}}if(n===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,i?"BreakStatement":"ContinueStatement")};Y.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};Y.parseDoStatement=function(e){this.next();this.labels.push(Z);e.body=this.parseStatement("do");this.labels.pop();this.expect(x._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(x.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};Y.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(Z);this.enterScope(0);this.expect(x.parenL);if(this.type===x.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===x._var||this.type===x._const||i){var n=this.startNode(),r=i?"let":this.value;this.next();this.parseVar(n,true,r);this.finishNode(n,"VariableDeclaration");if((this.type===x._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===x._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,n)}if(t>-1){this.unexpected(t)}return this.parseFor(e,n)}var s=this.isContextual("let"),a=false;var o=new DestructuringErrors;var l=this.parseExpression(t>-1?"await":true,o);if(this.type===x._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(this.options.ecmaVersion>=9){if(this.type===x._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}if(s&&a){this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(l,false,o);this.checkLValPattern(l);return this.parseForIn(e,l)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,l)};Y.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,ie|(i?0:ne),false,t)};Y.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(x._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};Y.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(x.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};Y.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(x.braceL);this.labels.push(ee);this.enterScope(0);var t;for(var i=false;this.type!==x.braceR;){if(this.type===x._case||this.type===x._default){var n=this.type===x._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(n){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(x.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};Y.parseThrowStatement=function(e){this.next();if(y.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var te=[];Y.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===x._catch){var t=this.startNode();this.next();if(this.eat(x.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?O:0);this.checkLValPattern(t.param,i?X:U);this.expect(x.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(x._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};Y.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};Y.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(Z);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};Y.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};Y.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};Y.parseLabeledStatement=function(e,t,i,n){for(var r=0,s=this.labels;r<s.length;r+=1){var a=s[r];if(a.name===t){this.raise(i.start,"Label '"+t+"' is already declared")}}var o=this.type.isLoop?"loop":this.type===x._switch?"switch":null;for(var l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};Y.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};Y.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(x.braceL);if(e){this.enterScope(0)}while(this.type!==x.braceR){var n=this.parseStatement(null);t.body.push(n)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};Y.parseFor=function(e,t){e.init=t;this.expect(x.semi);e.test=this.type===x.semi?null:this.parseExpression();this.expect(x.semi);e.update=this.type===x.parenR?null:this.parseExpression();this.expect(x.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};Y.parseForIn=function(e,t){var i=this.type===x._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(x.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};Y.parseVar=function(e,t,i){e.declarations=[];e.kind=i;for(;;){var n=this.startNode();this.parseVarId(n,i);if(this.eat(x.eq)){n.init=this.parseMaybeAssign(t)}else if(i==="const"&&!(this.type===x._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(n.id.type!=="Identifier"&&!(t&&(this.type===x._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{n.init=null}e.declarations.push(this.finishNode(n,"VariableDeclarator"));if(!this.eat(x.comma)){break}}return e};Y.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?J:U,false)};var ie=1,ne=2,re=4;Y.parseFunction=function(e,t,i,n,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n){if(this.type===x.star&&t&ne){this.unexpected()}e.generator=this.eat(x.star)}if(this.options.ecmaVersion>=8){e.async=!!n}if(t&ie){e.id=t&re&&this.type!==x.name?null:this.parseIdent();if(e.id&&!(t&ne)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?J:U:H)}}var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&ie)){e.id=this.type===x.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false,r);this.yieldPos=s;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,t&ie?"FunctionDeclaration":"FunctionExpression")};Y.parseFunctionParams=function(e){this.expect(x.parenL);e.params=this.parseBindingList(x.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};Y.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var n=this.enterClassBody();var r=this.startNode();var s=false;r.body=[];this.expect(x.braceL);while(this.type!==x.braceR){var a=this.parseClassElement(e.superClass!==null);if(a){r.body.push(a);if(a.type==="MethodDefinition"&&a.kind==="constructor"){if(s){this.raise(a.start,"Duplicate constructor in the same class")}s=true}else if(a.key&&a.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(n,a)){this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared")}}}this.strict=i;this.next();e.body=this.finishNode(r,"ClassBody");this.exitClassBody();return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};Y.parseClassElement=function(e){if(this.eat(x.semi)){return null}var t=this.options.ecmaVersion;var i=this.startNode();var n="";var r=false;var s=false;var a="method";var o=false;if(this.eatContextual("static")){if(t>=13&&this.eat(x.braceL)){this.parseClassStaticBlock(i);return i}if(this.isClassElementNameStart()||this.type===x.star){o=true}else{n="static"}}i.static=o;if(!n&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===x.star)&&!this.canInsertSemicolon()){s=true}else{n="async"}}if(!n&&(t>=9||!s)&&this.eat(x.star)){r=true}if(!n&&!s&&!r){var l=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){a=l}else{n=l}}}if(n){i.computed=false;i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);i.key.name=n;this.finishNode(i.key,"Identifier")}else{this.parseClassElementName(i)}if(t<13||this.type===x.parenL||a!=="method"||r||s){var c=!i.static&&checkKeyName(i,"constructor");var p=c&&e;if(c&&a!=="method"){this.raise(i.key.start,"Constructor can't have get/set modifier")}i.kind=c?"constructor":a;this.parseClassMethod(i,r,s,p)}else{this.parseClassField(i)}return i};Y.isClassElementNameStart=function(){return this.type===x.name||this.type===x.privateId||this.type===x.num||this.type===x.string||this.type===x.bracketL||this.type.keyword};Y.parseClassElementName=function(e){if(this.type===x.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}e.computed=false;e.key=this.parsePrivateIdent()}else{this.parsePropertyName(e)}};Y.parseClassMethod=function(e,t,i,n){var r=e.key;if(e.kind==="constructor"){if(t){this.raise(r.start,"Constructor can't be a generator")}if(i){this.raise(r.start,"Constructor can't be an async method")}}else if(e.static&&checkKeyName(e,"prototype")){this.raise(r.start,"Classes may not have a static property named prototype")}var s=e.value=this.parseMethod(t,i,n);if(e.kind==="get"&&s.params.length!==0){this.raiseRecoverable(s.start,"getter should have no params")}if(e.kind==="set"&&s.params.length!==1){this.raiseRecoverable(s.start,"setter should have exactly one param")}if(e.kind==="set"&&s.params[0].type==="RestElement"){this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};Y.parseClassField=function(e){if(checkKeyName(e,"constructor")){this.raise(e.key.start,"Classes can't have a field named 'constructor'")}else if(e.static&&checkKeyName(e,"prototype")){this.raise(e.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(x.eq)){var t=this.currentThisScope();var i=t.inClassFieldInit;t.inClassFieldInit=true;e.value=this.parseMaybeAssign();t.inClassFieldInit=i}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};Y.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;this.labels=[];this.enterScope(q|M);while(this.type!==x.braceR){var i=this.parseStatement(null);e.body.push(i)}this.next();this.exitScope();this.labels=t;return this.finishNode(e,"StaticBlock")};Y.parseClassId=function(e,t){if(this.type===x.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,U,false)}}else{if(t===true){this.unexpected()}e.id=null}};Y.parseClassSuper=function(e){e.superClass=this.eat(x._extends)?this.parseExprSubscripts(false):null};Y.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};Y.exitClassBody=function(){var e=this.privateNameStack.pop();var t=e.declared;var i=e.used;var n=this.privateNameStack.length;var r=n===0?null:this.privateNameStack[n-1];for(var s=0;s<i.length;++s){var a=i[s];if(!C(t,a.name)){if(r){r.used.push(a)}else{this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class")}}}};function isPrivateNameConflicted(e,t){var i=t.key.name;var n=e[i];var r="true";if(t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")){r=(t.static?"s":"i")+t.kind}if(n==="iget"&&r==="iset"||n==="iset"&&r==="iget"||n==="sget"&&r==="sset"||n==="sset"&&r==="sget"){e[i]="true";return false}else if(!n){e[i]=r;return false}else{return true}}function checkKeyName(e,t){var i=e.computed;var n=e.key;return!i&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}Y.parseExport=function(e,t){this.next();if(this.eat(x.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseModuleExportName();this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==x.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(x._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===x._function||(i=this.isAsyncFunction())){var n=this.startNode();this.next();if(i){this.next()}e.declaration=this.parseFunction(n,ie|re,false,i)}else if(this.type===x._class){var r=this.startNode();e.declaration=this.parseClass(r,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==x.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s<a.length;s+=1){var o=a[s];this.checkUnreserved(o.local);this.checkLocalExport(o.local);if(o.local.type==="Literal"){this.raise(o.local.start,"A string literal cannot be used as an exported binding without `from`.")}}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};Y.checkExport=function(e,t,i){if(!e){return}if(C(e,t)){this.raiseRecoverable(i,"Duplicate export '"+t+"'")}e[t]=true};Y.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier"){this.checkExport(e,t.name,t.start)}else if(i==="ObjectPattern"){for(var n=0,r=t.properties;n<r.length;n+=1){var s=r[n];this.checkPatternExport(e,s)}}else if(i==="ArrayPattern"){for(var a=0,o=t.elements;a<o.length;a+=1){var l=o[a];if(l){this.checkPatternExport(e,l)}}}else if(i==="Property"){this.checkPatternExport(e,t.value)}else if(i==="AssignmentPattern"){this.checkPatternExport(e,t.left)}else if(i==="RestElement"){this.checkPatternExport(e,t.argument)}else if(i==="ParenthesizedExpression"){this.checkPatternExport(e,t.expression)}};Y.checkVariableExport=function(e,t){if(!e){return}for(var i=0,n=t;i<n.length;i+=1){var r=n[i];this.checkPatternExport(e,r.id)}};Y.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};Y.parseExportSpecifiers=function(e){var t=[],i=true;this.expect(x.braceL);while(!this.eat(x.braceR)){if(!i){this.expect(x.comma);if(this.afterTrailingComma(x.braceR)){break}}else{i=false}var n=this.startNode();n.local=this.parseModuleExportName();n.exported=this.eatContextual("as")?this.parseModuleExportName():n.local;this.checkExport(e,n.exported[n.exported.type==="Identifier"?"name":"value"],n.exported.start);t.push(this.finishNode(n,"ExportSpecifier"))}return t};Y.parseImport=function(e){this.next();if(this.type===x.string){e.specifiers=te;e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===x.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(e,"ImportDeclaration")};Y.parseImportSpecifiers=function(){var e=[],t=true;if(this.type===x.name){var i=this.startNode();i.local=this.parseIdent();this.checkLValSimple(i.local,U);e.push(this.finishNode(i,"ImportDefaultSpecifier"));if(!this.eat(x.comma)){return e}}if(this.type===x.star){var n=this.startNode();this.next();this.expectContextual("as");n.local=this.parseIdent();this.checkLValSimple(n.local,U);e.push(this.finishNode(n,"ImportNamespaceSpecifier"));return e}this.expect(x.braceL);while(!this.eat(x.braceR)){if(!t){this.expect(x.comma);if(this.afterTrailingComma(x.braceR)){break}}else{t=false}var r=this.startNode();r.imported=this.parseModuleExportName();if(this.eatContextual("as")){r.local=this.parseIdent()}else{this.checkUnreserved(r.imported);r.local=r.imported}this.checkLValSimple(r.local,U);e.push(this.finishNode(r,"ImportSpecifier"))}return e};Y.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===x.string){var e=this.parseLiteral(this.value);if(_.test(e.value)){this.raise(e.start,"An export name cannot include a lone surrogate.")}return e}return this.parseIdent(true)};Y.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t){e[t].directive=e[t].expression.raw.slice(1,-1)}};Y.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var se=G.prototype;se.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(i){this.checkPatternErrors(i,true)}for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.toAssignable(s,t);if(s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")){this.raise(s.argument.start,"Unexpected token")}}break;case"Property":if(e.kind!=="init"){this.raise(e.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern";if(i){this.checkPatternErrors(i,true)}this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement";this.toAssignable(e.argument,t);if(e.argument.type==="AssignmentPattern"){this.raise(e.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(e.operator!=="="){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.")}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t){break}default:this.raise(e.start,"Assigning to rvalue")}}else if(i){this.checkPatternErrors(i,true)}return e};se.toAssignableList=function(e,t){var i=e.length;for(var n=0;n<i;n++){var r=e[n];if(r){this.toAssignable(r,t)}}if(i){var s=e[i-1];if(this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"){this.unexpected(s.argument.start)}}return e};se.parseSpread=function(e){var t=this.startNode();this.next();t.argument=this.parseMaybeAssign(false,e);return this.finishNode(t,"SpreadElement")};se.parseRestBinding=function(){var e=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==x.name){this.unexpected()}e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")};se.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case x.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(x.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case x.braceL:return this.parseObj(true)}}return this.parseIdent()};se.parseBindingList=function(e,t,i){var n=[],r=true;while(!this.eat(e)){if(r){r=false}else{this.expect(x.comma)}if(t&&this.type===x.comma){n.push(null)}else if(i&&this.afterTrailingComma(e)){break}else if(this.type===x.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s);n.push(s);if(this.type===x.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a);n.push(a)}}return n};se.parseBindingListItem=function(e){return e};se.parseMaybeDefault=function(e,t,i){i=i||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(x.eq)){return i}var n=this.startNodeAt(e,t);n.left=i;n.right=this.parseMaybeAssign();return this.finishNode(n,"AssignmentPattern")};se.checkLValSimple=function(e,t,i){if(t===void 0)t=z;var n=t!==z;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(n){if(t===U&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(i){if(C(i,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}i[e.name]=true}if(t!==W){this.declareName(e.name,t,e.start)}}break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(n){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ParenthesizedExpression":if(n){this.raiseRecoverable(e.start,"Binding parenthesized expression")}return this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};se.checkLValPattern=function(e,t,i){if(t===void 0)t=z;switch(e.type){case"ObjectPattern":for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var l=o[a];if(l){this.checkLValInnerPattern(l,t,i)}}break;default:this.checkLValSimple(e,t,i)}};se.checkLValInnerPattern=function(e,t,i){if(t===void 0)t=z;switch(e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var ae=function TokContext(e,t,i,n,r){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=n;this.generator=!!r};var oe={b_stat:new ae("{",false),b_expr:new ae("{",true),b_tmpl:new ae("${",false),p_stat:new ae("(",false),p_expr:new ae("(",true),q_tmpl:new ae("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new ae("function",false),f_expr:new ae("function",true),f_expr_gen:new ae("function",true,false,null,true),f_gen:new ae("function",false,false,null,true)};var le=G.prototype;le.initialContext=function(){return[oe.b_stat]};le.curContext=function(){return this.context[this.context.length-1]};le.braceIsBlock=function(e){var t=this.curContext();if(t===oe.f_expr||t===oe.f_stat){return true}if(e===x.colon&&(t===oe.b_stat||t===oe.b_expr)){return!t.isExpr}if(e===x._return||e===x.name&&this.exprAllowed){return y.test(this.input.slice(this.lastTokEnd,this.start))}if(e===x._else||e===x.semi||e===x.eof||e===x.parenR||e===x.arrow){return true}if(e===x.braceL){return t===oe.b_stat}if(e===x._var||e===x._const||e===x.name){return false}return!this.exprAllowed};le.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};le.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===x.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};le.overrideContext=function(e){if(this.curContext()!==e){this.context[this.context.length-1]=e}};x.parenR.updateContext=x.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===oe.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};x.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?oe.b_stat:oe.b_expr);this.exprAllowed=true};x.dollarBraceL.updateContext=function(){this.context.push(oe.b_tmpl);this.exprAllowed=true};x.parenL.updateContext=function(e){var t=e===x._if||e===x._for||e===x._with||e===x._while;this.context.push(t?oe.p_stat:oe.p_expr);this.exprAllowed=true};x.incDec.updateContext=function(){};x._function.updateContext=x._class.updateContext=function(e){if(e.beforeExpr&&e!==x._else&&!(e===x.semi&&this.curContext()!==oe.p_stat)&&!(e===x._return&&y.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===x.colon||e===x.braceL)&&this.curContext()===oe.b_stat)){this.context.push(oe.f_expr)}else{this.context.push(oe.f_stat)}this.exprAllowed=false};x.backQuote.updateContext=function(){if(this.curContext()===oe.q_tmpl){this.context.pop()}else{this.context.push(oe.q_tmpl)}this.exprAllowed=false};x.star.updateContext=function(e){if(e===x._function){var t=this.context.length-1;if(this.context[t]===oe.f_expr){this.context[t]=oe.f_expr_gen}else{this.context[t]=oe.f_gen}}this.exprAllowed=true};x.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==x.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var ue=G.prototype;ue.checkPropClash=function(e,t,i){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand)){return}var n=e.key;var r;switch(n.type){case"Identifier":r=n.name;break;case"Literal":r=String(n.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){if(r==="__proto__"&&s==="init"){if(t.proto){if(i){if(i.doubleProto<0){i.doubleProto=n.start}}else{this.raiseRecoverable(n.start,"Redefinition of __proto__ property")}}t.proto=true}return}r="$"+r;var a=t[r];if(a){var o;if(s==="init"){o=this.strict&&a.init||a.get||a.set}else{o=a.init||a[s]}if(o){this.raiseRecoverable(n.start,"Redefinition of property")}}else{a=t[r]={init:false,get:false,set:false}}a[s]=true};ue.parseExpression=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseMaybeAssign(e,t);if(this.type===x.comma){var s=this.startNodeAt(i,n);s.expressions=[r];while(this.eat(x.comma)){s.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(s,"SequenceExpression")}return r};ue.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var n=false,r=-1,s=-1,a=-1;if(t){r=t.parenthesizedAssign;s=t.trailingComma;a=t.doubleProto;t.parenthesizedAssign=t.trailingComma=-1}else{t=new DestructuringErrors;n=true}var o=this.start,l=this.startLoc;if(this.type===x.parenL||this.type===x.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=e==="await"}var c=this.parseMaybeConditional(e,t);if(i){c=i.call(this,c,o,l)}if(this.type.isAssign){var p=this.startNodeAt(o,l);p.operator=this.value;if(this.type===x.eq){c=this.toAssignable(c,false,t)}if(!n){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=c.start){t.shorthandAssign=-1}if(this.type===x.eq){this.checkLValPattern(c)}else{this.checkLValSimple(c)}p.left=c;this.next();p.right=this.parseMaybeAssign(e);if(a>-1){t.doubleProto=a}return this.finishNode(p,"AssignmentExpression")}else{if(n){this.checkExpressionErrors(t,true)}}if(r>-1){t.parenthesizedAssign=r}if(s>-1){t.trailingComma=s}return c};ue.parseMaybeConditional=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return r}if(this.eat(x.question)){var s=this.startNodeAt(i,n);s.test=r;s.consequent=this.parseMaybeAssign();this.expect(x.colon);s.alternate=this.parseMaybeAssign(e);return this.finishNode(s,"ConditionalExpression")}return r};ue.parseExprOps=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseMaybeUnary(t,false,false,e);if(this.checkExpressionErrors(t)){return r}return r.start===i&&r.type==="ArrowFunctionExpression"?r:this.parseExprOp(r,i,n,-1,e)};ue.parseExprOp=function(e,t,i,n,r){var s=this.type.binop;if(s!=null&&(!r||this.type!==x._in)){if(s>n){var a=this.type===x.logicalOR||this.type===x.logicalAND;var o=this.type===x.coalesce;if(o){s=x.logicalAND.binop}var l=this.value;this.next();var c=this.start,p=this.startLoc;var f=this.parseExprOp(this.parseMaybeUnary(null,false,false,r),c,p,s,r);var d=this.buildBinary(t,i,e,f,l,a||o);if(a&&this.type===x.coalesce||o&&(this.type===x.logicalOR||this.type===x.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(d,t,i,n,r)}}return e};ue.buildBinary=function(e,t,i,n,r,s){if(n.type==="PrivateIdentifier"){this.raise(n.start,"Private identifier can only be left side of binary expression")}var a=this.startNodeAt(e,t);a.left=i;a.operator=r;a.right=n;return this.finishNode(a,s?"LogicalExpression":"BinaryExpression")};ue.parseMaybeUnary=function(e,t,i,n){var r=this.start,s=this.startLoc,a;if(this.isContextual("await")&&this.canAwait){a=this.parseAwait(n);t=true}else if(this.type.prefix){var o=this.startNode(),l=this.type===x.incDec;o.operator=this.value;o.prefix=true;this.next();o.argument=this.parseMaybeUnary(null,true,l,n);this.checkExpressionErrors(e,true);if(l){this.checkLValSimple(o.argument)}else if(this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"){this.raiseRecoverable(o.start,"Deleting local variable in strict mode")}else if(o.operator==="delete"&&isPrivateFieldAccess(o.argument)){this.raiseRecoverable(o.start,"Private fields can not be deleted")}else{t=true}a=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===x.privateId){if(n||this.privateNameStack.length===0){this.unexpected()}a=this.parsePrivateIdent();if(this.type!==x._in){this.unexpected()}}else{a=this.parseExprSubscripts(e,n);if(this.checkExpressionErrors(e)){return a}while(this.type.postfix&&!this.canInsertSemicolon()){var c=this.startNodeAt(r,s);c.operator=this.value;c.prefix=false;c.argument=a;this.checkLValSimple(a);this.next();a=this.finishNode(c,"UpdateExpression")}}if(!i&&this.eat(x.starstar)){if(t){this.unexpected(this.lastTokStart)}else{return this.buildBinary(r,s,a,this.parseMaybeUnary(null,false,false,n),"**",false)}}else{return a}};function isPrivateFieldAccess(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&isPrivateFieldAccess(e.expression)}ue.parseExprSubscripts=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseExprAtom(e,t);if(r.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return r}var s=this.parseSubscripts(r,i,n,false,t);if(e&&s.type==="MemberExpression"){if(e.parenthesizedAssign>=s.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=s.start){e.parenthesizedBind=-1}if(e.trailingComma>=s.start){e.trailingComma=-1}}return s};ue.parseSubscripts=function(e,t,i,n,r){var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start;var a=false;while(true){var o=this.parseSubscript(e,t,i,n,s,a,r);if(o.optional){a=true}if(o===e||o.type==="ArrowFunctionExpression"){if(a){var l=this.startNodeAt(t,i);l.expression=o;o=this.finishNode(l,"ChainExpression")}return o}e=o}};ue.parseSubscript=function(e,t,i,n,r,s,a){var o=this.options.ecmaVersion>=11;var l=o&&this.eat(x.questionDot);if(n&&l){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var c=this.eat(x.bracketL);if(c||l&&this.type!==x.parenL&&this.type!==x.backQuote||this.eat(x.dot)){var p=this.startNodeAt(t,i);p.object=e;if(c){p.property=this.parseExpression();this.expect(x.bracketR)}else if(this.type===x.privateId&&e.type!=="Super"){p.property=this.parsePrivateIdent()}else{p.property=this.parseIdent(this.options.allowReserved!=="never")}p.computed=!!c;if(o){p.optional=l}e=this.finishNode(p,"MemberExpression")}else if(!n&&this.eat(x.parenL)){var f=new DestructuringErrors,d=this.yieldPos,m=this.awaitPos,g=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var y=this.parseExprList(x.parenR,this.options.ecmaVersion>=8,false,f);if(r&&!l&&!this.canInsertSemicolon()&&this.eat(x.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=d;this.awaitPos=m;this.awaitIdentPos=g;return this.parseArrowExpression(this.startNodeAt(t,i),y,true,a)}this.checkExpressionErrors(f,true);this.yieldPos=d||this.yieldPos;this.awaitPos=m||this.awaitPos;this.awaitIdentPos=g||this.awaitIdentPos;var v=this.startNodeAt(t,i);v.callee=e;v.arguments=y;if(o){v.optional=l}e=this.finishNode(v,"CallExpression")}else if(this.type===x.backQuote){if(l||s){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var b=this.startNodeAt(t,i);b.tag=e;b.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(b,"TaggedTemplateExpression")}return e};ue.parseExprAtom=function(e,t){if(this.type===x.slash){this.readRegexp()}var i,n=this.potentialArrowAt===this.start;switch(this.type){case x._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}i=this.startNode();this.next();if(this.type===x.parenL&&!this.allowDirectSuper){this.raise(i.start,"super() call outside constructor of a subclass")}if(this.type!==x.dot&&this.type!==x.bracketL&&this.type!==x.parenL){this.unexpected()}return this.finishNode(i,"Super");case x._this:i=this.startNode();this.next();return this.finishNode(i,"ThisExpression");case x.name:var r=this.start,s=this.startLoc,a=this.containsEsc;var o=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!a&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(x._function)){this.overrideContext(oe.f_expr);return this.parseFunction(this.startNodeAt(r,s),0,false,true,t)}if(n&&!this.canInsertSemicolon()){if(this.eat(x.arrow)){return this.parseArrowExpression(this.startNodeAt(r,s),[o],false,t)}if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===x.name&&!a&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){o=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(x.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(r,s),[o],true,t)}}return o;case x.regexp:var l=this.value;i=this.parseLiteral(l.value);i.regex={pattern:l.pattern,flags:l.flags};return i;case x.num:case x.string:return this.parseLiteral(this.value);case x._null:case x._true:case x._false:i=this.startNode();i.value=this.type===x._null?null:this.type===x._true;i.raw=this.type.keyword;this.next();return this.finishNode(i,"Literal");case x.parenL:var c=this.start,p=this.parseParenAndDistinguishExpression(n,t);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)){e.parenthesizedAssign=c}if(e.parenthesizedBind<0){e.parenthesizedBind=c}}return p;case x.bracketL:i=this.startNode();this.next();i.elements=this.parseExprList(x.bracketR,true,true,e);return this.finishNode(i,"ArrayExpression");case x.braceL:this.overrideContext(oe.b_expr);return this.parseObj(false,e);case x._function:i=this.startNode();this.next();return this.parseFunction(i,0);case x._class:return this.parseClass(this.startNode(),false);case x._new:return this.parseNew();case x.backQuote:return this.parseTemplate();case x._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ue.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case x.parenL:return this.parseDynamicImport(e);case x.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ue.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(x.parenR)){var t=this.start;if(this.eat(x.comma)&&this.eat(x.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ue.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ue.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ue.parseParenExpression=function(){this.expect(x.parenL);var e=this.parseExpression();this.expect(x.parenR);return e};ue.parseParenAndDistinguishExpression=function(e,t){var i=this.start,n=this.startLoc,r,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc;var l=[],c=true,p=false;var f=new DestructuringErrors,d=this.yieldPos,m=this.awaitPos,g;this.yieldPos=0;this.awaitPos=0;while(this.type!==x.parenR){c?c=false:this.expect(x.comma);if(s&&this.afterTrailingComma(x.parenR,true)){p=true;break}else if(this.type===x.ellipsis){g=this.start;l.push(this.parseParenItem(this.parseRestBinding()));if(this.type===x.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{l.push(this.parseMaybeAssign(false,f,this.parseParenItem))}}var y=this.lastTokEnd,v=this.lastTokEndLoc;this.expect(x.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(x.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=d;this.awaitPos=m;return this.parseParenArrowList(i,n,l,t)}if(!l.length||p){this.unexpected(this.lastTokStart)}if(g){this.unexpected(g)}this.checkExpressionErrors(f,true);this.yieldPos=d||this.yieldPos;this.awaitPos=m||this.awaitPos;if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNodeAt(r,"SequenceExpression",y,v)}else{r=l[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var b=this.startNodeAt(i,n);b.expression=r;return this.finishNode(b,"ParenthesizedExpression")}else{return r}};ue.parseParenItem=function(e){return e};ue.parseParenArrowList=function(e,t,i,n){return this.parseArrowExpression(this.startNodeAt(e,t),i,false,n)};var ce=[];ue.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(x.dot)){e.meta=t;var i=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(i){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.allowNewDotTarget){this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block")}return this.finishNode(e,"MetaProperty")}var n=this.start,r=this.startLoc,s=this.type===x._import;e.callee=this.parseSubscripts(this.parseExprAtom(),n,r,true,false);if(s&&e.callee.type==="ImportExpression"){this.raise(n,"Cannot use new with import()")}if(this.eat(x.parenL)){e.arguments=this.parseExprList(x.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=ce}return this.finishNode(e,"NewExpression")};ue.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===x.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===x.backQuote;return this.finishNode(i,"TemplateElement")};ue.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var i=this.startNode();this.next();i.expressions=[];var n=this.parseTemplateElement({isTagged:t});i.quasis=[n];while(!n.tail){if(this.type===x.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(x.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(x.braceR);i.quasis.push(n=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};ue.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===x.name||this.type===x.num||this.type===x.string||this.type===x.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===x.star)&&!y.test(this.input.slice(this.lastTokEnd,this.start))};ue.parseObj=function(e,t){var i=this.startNode(),n=true,r={};i.properties=[];this.next();while(!this.eat(x.braceR)){if(!n){this.expect(x.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(x.braceR)){break}}else{n=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,r,t)}i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};ue.parseProperty=function(e,t){var i=this.startNode(),n,r,s,a;if(this.options.ecmaVersion>=9&&this.eat(x.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===x.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}if(this.type===x.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}i.argument=this.parseMaybeAssign(false,t);if(this.type===x.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){n=this.eat(x.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(i)){r=true;n=this.options.ecmaVersion>=9&&this.eat(x.star);this.parsePropertyName(i,t)}else{r=false}this.parsePropertyValue(i,e,n,r,s,a,t,o);return this.finishNode(i,"Property")};ue.parsePropertyValue=function(e,t,i,n,r,s,a,o){if((i||n)&&this.type===x.colon){this.unexpected()}if(this.eat(x.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===x.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,n)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==x.comma&&this.type!==x.braceR&&this.type!==x.eq)){if(i||n){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var l=e.kind==="get"?0:1;if(e.value.params.length!==l){var c=e.value.start;if(e.kind==="get"){this.raiseRecoverable(c,"getter should have no params")}else{this.raiseRecoverable(c,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||n){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=r}e.kind="init";if(t){e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key))}else if(this.type===x.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};ue.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(x.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(x.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===x.num||this.type===x.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ue.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ue.parseMethod=function(e,t,i){var n=this.startNode(),r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(n);if(this.options.ecmaVersion>=6){n.generator=e}if(this.options.ecmaVersion>=8){n.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,n.generator)|M|(i?R:0));this.expect(x.parenL);n.params=this.parseBindingList(x.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(n,false,true,false);this.yieldPos=r;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(n,"FunctionExpression")};ue.parseArrowExpression=function(e,t,i,n){var r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|V);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!i}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false,n);this.yieldPos=r;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,"ArrowFunctionExpression")};ue.parseFunctionBody=function(e,t,i,n){var r=t&&this.type!==x.braceL;var s=this.strict,a=false;if(r){e.body=this.parseMaybeAssign(n);e.expression=true;this.checkParams(e,false)}else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!s||o){a=this.strictDirective(this.end);if(a&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var l=this.labels;this.labels=[];if(a){this.strict=true}this.checkParams(e,!s&&!a&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,W)}e.body=this.parseBlock(false,undefined,a&&!s);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=l}this.exitScope()};ue.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var n=i[t];if(n.type!=="Identifier"){return false}}return true};ue.checkParams=function(e,t){var i=Object.create(null);for(var n=0,r=e.params;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,J,t?null:i)}};ue.parseExprList=function(e,t,i,n){var r=[],s=true;while(!this.eat(e)){if(!s){this.expect(x.comma);if(t&&this.afterTrailingComma(e)){break}}else{s=false}var a=void 0;if(i&&this.type===x.comma){a=null}else if(this.type===x.ellipsis){a=this.parseSpread(n);if(n&&this.type===x.comma&&n.trailingComma<0){n.trailingComma=this.start}}else{a=this.parseMaybeAssign(false,n)}r.push(a)}return r};ue.checkUnreserved=function(e){var t=e.start;var i=e.end;var n=e.name;if(this.inGenerator&&n==="yield"){this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&n==="await"){this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function")}if(this.currentThisScope().inClassFieldInit&&n==="arguments"){this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer")}if(this.inClassStaticBlock&&(n==="arguments"||n==="await")){this.raise(t,"Cannot use "+n+" in class static initialization block")}if(this.keywords.test(n)){this.raise(t,"Unexpected keyword '"+n+"'")}if(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1){return}var r=this.strict?this.reservedWordsStrict:this.reservedWords;if(r.test(n)){if(!this.inAsync&&n==="await"){this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(t,"The keyword '"+n+"' is reserved")}};ue.parseIdent=function(e,t){var i=this.startNode();if(this.type===x.name){i.name=this.value}else if(this.type.keyword){i.name=this.type.keyword;if((i.name==="class"||i.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!e);this.finishNode(i,"Identifier");if(!e){this.checkUnreserved(i);if(i.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i.start}}return i};ue.parsePrivateIdent=function(){var e=this.startNode();if(this.type===x.privateId){e.name=this.value}else{this.unexpected()}this.next();this.finishNode(e,"PrivateIdentifier");if(this.privateNameStack.length===0){this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class")}else{this.privateNameStack[this.privateNameStack.length-1].used.push(e)}return e};ue.parseYield=function(e){if(!this.yieldPos){this.yieldPos=this.start}var t=this.startNode();this.next();if(this.type===x.semi||this.canInsertSemicolon()||this.type!==x.star&&!this.type.startsExpr){t.delegate=false;t.argument=null}else{t.delegate=this.eat(x.star);t.argument=this.parseMaybeAssign(e)}return this.finishNode(t,"YieldExpression")};ue.parseAwait=function(e){if(!this.awaitPos){this.awaitPos=this.start}var t=this.startNode();this.next();t.argument=this.parseMaybeUnary(null,true,false,e);return this.finishNode(t,"AwaitExpression")};var pe=G.prototype;pe.raise=function(e,t){var i=getLineInfo(this.input,e);t+=" ("+i.line+":"+i.column+")";var n=new SyntaxError(t);n.pos=e;n.loc=i;n.raisedAt=this.pos;throw n};pe.raiseRecoverable=pe.raise;pe.curPosition=function(){if(this.options.locations){return new T(this.curLine,this.pos-this.lineStart)}};var he=G.prototype;var fe=function Scope(e){this.flags=e;this.var=[];this.lexical=[];this.functions=[];this.inClassFieldInit=false};he.enterScope=function(e){this.scopeStack.push(new fe(e))};he.exitScope=function(){this.scopeStack.pop()};he.treatFunctionsAsVarInScope=function(e){return e.flags&D||!this.inModule&&e.flags&P};he.declareName=function(e,t,i){var n=false;if(t===U){var r=this.currentScope();n=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1;r.lexical.push(e);if(this.inModule&&r.flags&P){delete this.undefinedExports[e]}}else if(t===X){var s=this.currentScope();s.lexical.push(e)}else if(t===H){var a=this.currentScope();if(this.treatFunctionsAsVar){n=a.lexical.indexOf(e)>-1}else{n=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&O&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){n=true;break}l.var.push(e);if(this.inModule&&l.flags&P){delete this.undefinedExports[e]}if(l.flags&j){break}}}if(n){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};he.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};he.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};he.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&j){return t}}};he.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&j&&!(t.flags&V)){return t}}};var de=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new I(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var me=G.prototype;me.startNode=function(){return new de(this,this.start,this.startLoc)};me.startNodeAt=function(e,t){return new de(this,e,t)};function finishNodeAt(e,t,i,n){e.type=t;e.end=i;if(this.options.locations){e.loc.end=n}if(this.options.ranges){e.range[1]=i}return e}me.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};me.finishNodeAt=function(e,t,i,n){return finishNodeAt.call(this,e,t,i,n)};me.copyNode=function(e){var t=new de(this,e.start,this.startLoc);for(var i in e){t[i]=e[i]}return t};var ge="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var xe=ge+" Extended_Pictographic";var ye=xe;var ve=ye+" EBase EComp EMod EPres ExtPict";var be=ve;var we={9:ge,10:xe,11:ye,12:ve,13:be};var ke="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Ee="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Se=Ee+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ce=Se+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ae=Ce+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var _e=Ae+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var Te={9:Ee,10:Se,11:Ce,12:Ae,13:_e};var Ie={};function buildUnicodeData(e){var t=Ie[e]={binary:wordsRegexp(we[e]+" "+ke),nonBinary:{General_Category:wordsRegexp(ke),Script:wordsRegexp(Te[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Fe=0,Le=[9,10,11,12,13];Fe<Le.length;Fe+=1){var Pe=Le[Fe];buildUnicodeData(Pe)}var De=G.prototype;var Ne=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Ie[e.options.ecmaVersion>=13?13:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Ne.prototype.reset=function reset(e,t,i){var n=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;this.switchU=n&&this.parser.options.ecmaVersion>=6;this.switchN=n&&this.parser.options.ecmaVersion>=9};Ne.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Ne.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var n=i.length;if(e>=n){return-1}var r=i.charCodeAt(e);if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=n){return r}var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(r<<10)+s-56613888:r};Ne.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var n=i.length;if(e>=n){return n}var r=i.charCodeAt(e),s;if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=n||(s=i.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};Ne.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Ne.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Ne.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Ne.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}De.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;for(var n=0;n<i.length;n++){var r=i.charAt(n);if(t.indexOf(r)===-1){this.raise(e.start,"Invalid regular expression flag")}if(i.indexOf(r,n+1)>-1){this.raise(e.start,"Duplicate regular expression flag")}}};De.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};De.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var n=i[t];if(e.groupNames.indexOf(n)===-1){e.raise("Invalid named capture referenced")}}};De.regexp_disjunction=function(e){this.regexp_alternative(e);while(e.eat(124)){this.regexp_alternative(e)}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};De.regexp_alternative=function(e){while(e.pos<e.source.length&&this.regexp_eatTerm(e)){}};De.regexp_eatTerm=function(e){if(this.regexp_eatAssertion(e)){if(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)){if(e.switchU){e.raise("Invalid quantifier")}}return true}if(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e)){this.regexp_eatQuantifier(e);return true}return false};De.regexp_eatAssertion=function(e){var t=e.pos;e.lastAssertionIsQuantifiable=false;if(e.eat(94)||e.eat(36)){return true}if(e.eat(92)){if(e.eat(66)||e.eat(98)){return true}e.pos=t}if(e.eat(40)&&e.eat(63)){var i=false;if(this.options.ecmaVersion>=9){i=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!i;return true}}e.pos=t;return false};De.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};De.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};De.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var n=0,r=-1;if(this.regexp_eatDecimalDigits(e)){n=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){r=e.lastIntValue}if(e.eat(125)){if(r!==-1&&r<n&&!t){e.raise("numbers out of order in {} quantifier")}return true}}if(e.switchU&&!t){e.raise("Incomplete quantifier")}e.pos=i}return false};De.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};De.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e)){return true}e.pos=t}return false};De.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){this.regexp_disjunction(e);if(e.eat(41)){return true}e.raise("Unterminated group")}e.pos=t}return false};De.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};De.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};De.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};De.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}De.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};De.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};De.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};De.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};De.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString$1(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString$1(e.lastIntValue)}return true}return false};De.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var n=e.current(i);e.advance(i);if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){n=e.lastIntValue}if(isRegExpIdentifierStart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}De.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var n=e.current(i);e.advance(i);if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){n=e.lastIntValue}if(isRegExpIdentifierPart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}De.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};De.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU){if(i>e.maxBackReference){e.maxBackReference=i}return true}if(i<=e.numCapturingParens){return true}e.pos=t}return false};De.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};De.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};De.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};De.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};De.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};De.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}De.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(n&&r>=55296&&r<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(r-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=r}return true}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(n){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}De.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};De.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};De.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}De.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,n);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,r);return true}return false};De.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!C(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};De.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};De.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString$1(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}De.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString$1(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}De.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};De.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};De.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;if(e.switchU&&(t===-1||i===-1)){e.raise("Invalid character class")}if(t!==-1&&i!==-1&&t>i){e.raise("Range out of order in character class")}}}};De.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var i=e.current();if(i===99||isOctalDigit(i)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var n=e.current();if(n!==93){e.lastIntValue=n;e.advance();return true}return false};De.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};De.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};De.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};De.regexp_eatDecimalDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isDecimalDigit(i=e.current())){e.lastIntValue=10*e.lastIntValue+(i-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}De.regexp_eatHexDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isHexDigit(i=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(i);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}De.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+i*8+e.lastIntValue}else{e.lastIntValue=t*8+i}}else{e.lastIntValue=t}return true}return false};De.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}De.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var r=e.current();if(!isHexDigit(r)){e.pos=i;return false}e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return true};var Be=function Token(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;if(e.options.locations){this.loc=new I(e,e.startLoc,e.endLoc)}if(e.options.ranges){this.range=[e.start,e.end]}};var Ve=G.prototype;Ve.next=function(e){if(!e&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new Be(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};Ve.getToken=function(){this.next();return new Be(this)};if(typeof Symbol!=="undefined"){Ve[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===x.eof,value:t}}}}}Ve.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(x.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Ve.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Ve.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320){return e}var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Ve.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=i+2;if(this.options.locations){for(var n=void 0,r=t;(n=nextLineBreak(this.input,r,this.pos))>-1;){++this.curLine;r=this.lineStart=n}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())}};Ve.skipLineComment=function(e){var t=this.pos;var i=this.options.onComment&&this.curPosition();var n=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!isNewLine(n)){n=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())}};Ve.skipSpace=function(){e:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&b.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Ve.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var i=this.type;this.type=e;this.value=t;this.updateContext(i)};Ve.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(x.ellipsis)}else{++this.pos;return this.finishToken(x.dot)}};Ve.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(x.assign,2)}return this.finishOp(x.slash,1)};Ve.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var n=e===42?x.star:x.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;n=x.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(x.assign,i+1)}return this.finishOp(n,i)};Ve.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(x.assign,3)}}return this.finishOp(e===124?x.logicalOR:x.logicalAND,2)}if(t===61){return this.finishOp(x.assign,2)}return this.finishOp(e===124?x.bitwiseOR:x.bitwiseAND,1)};Ve.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(x.assign,2)}return this.finishOp(x.bitwiseXOR,1)};Ve.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||y.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(x.incDec,2)}if(t===61){return this.finishOp(x.assign,2)}return this.finishOp(x.plusMin,1)};Ve.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(x.assign,i+1)}return this.finishOp(x.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(x.relational,i)};Ve.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(x.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(x.arrow)}return this.finishOp(e===61?x.eq:x.prefix,1)};Ve.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(x.questionDot,2)}}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61){return this.finishOp(x.assign,3)}}return this.finishOp(x.coalesce,2)}}return this.finishOp(x.question,1)};Ve.readToken_numberSign=function(){var e=this.options.ecmaVersion;var t=35;if(e>=13){++this.pos;t=this.fullCharCodeAtPos();if(isIdentifierStart(t,true)||t===92){return this.finishToken(x.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(t)+"'")};Ve.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(x.parenL);case 41:++this.pos;return this.finishToken(x.parenR);case 59:++this.pos;return this.finishToken(x.semi);case 44:++this.pos;return this.finishToken(x.comma);case 91:++this.pos;return this.finishToken(x.bracketL);case 93:++this.pos;return this.finishToken(x.bracketR);case 123:++this.pos;return this.finishToken(x.braceL);case 125:++this.pos;return this.finishToken(x.braceR);case 58:++this.pos;return this.finishToken(x.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(x.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(x.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")};Ve.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};Ve.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var n=this.input.charAt(this.pos);if(y.test(n)){this.raise(i,"Unterminated regular expression")}if(!e){if(n==="["){t=true}else if(n==="]"&&t){t=false}else if(n==="/"&&!t){break}e=n==="\\"}else{e=false}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new Ne(this));o.reset(i,r,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var l=null;try{l=new RegExp(r,a)}catch(e){}return this.finishToken(x.regexp,{pattern:r,flags:a,value:l})};Ve.readInt=function(e,t,i){var n=this.options.ecmaVersion>=12&&t===undefined;var r=i&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var l=0,c=t==null?Infinity:t;l<c;++l,++this.pos){var p=this.input.charCodeAt(this.pos),f=void 0;if(n&&p===95){if(r){this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals")}if(o===95){this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore")}if(l===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}o=p;continue}if(p>=97){f=p-97+10}else if(p>=65){f=p-65+10}else if(p>=48&&p<=57){f=p-48}else{f=Infinity}if(f>=e){break}o=p;a=a*e+f}if(n&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Ve.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(x.num,i)};Ve.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict){this.raise(t,"Invalid number")}var n=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&n===110){var r=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(x.num,r)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(n===46&&!i){++this.pos;this.readInt(10);n=this.input.charCodeAt(this.pos)}if((n===69||n===101)&&!i){n=this.input.charCodeAt(++this.pos);if(n===43||n===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(x.num,s)};Ve.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Ve.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var n=this.input.charCodeAt(this.pos);if(n===e){break}if(n===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else if(n===8232||n===8233){if(this.options.ecmaVersion<10){this.raise(this.start,"Unterminated string constant")}++this.pos;if(this.options.locations){this.curLine++;this.lineStart=this.pos}}else{if(isNewLine(n)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(x.string,t)};var Oe={};Ve.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Oe){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Ve.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Oe}else{this.raise(e,t)}};Ve.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===x.template||this.type===x.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(x.dollarBraceL)}else{++this.pos;return this.finishToken(x.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(x.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Ve.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(x.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};Ve.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);++this.pos;switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(this.strict){this.invalidStringToken(this.pos-1,"Invalid escape sequence")}if(e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string");return null}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var r=parseInt(n,8);if(r>255){n=n.slice(0,-1);r=parseInt(n,8)}this.pos+=n.length-1;t=this.input.charCodeAt(this.pos);if((n!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(r)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Ve.readHexChar=function(e){var t=this.pos;var i=this.readInt(16,e);if(i===null){this.invalidStringToken(t,"Bad character escape sequence")}return i};Ve.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var n=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var r=this.fullCharCodeAtPos();if(isIdentifierChar(r,n)){this.pos+=r<=65535?1:2}else if(r===92){this.containsEsc=true;e+=this.input.slice(i,this.pos);var s=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var a=this.readCodePoint();if(!(t?isIdentifierStart:isIdentifierChar)(a,n)){this.invalidStringToken(s,"Invalid Unicode escape")}e+=codePointToString(a);i=this.pos}else{break}t=false}return e+this.input.slice(i,this.pos)};Ve.readWord=function(){var e=this.readWord1();var t=x.name;if(this.keywords.test(e)){t=g[e]}return this.finishToken(t,e)};var Me="8.7.0";G.acorn={Parser:G,version:Me,defaultOptions:F,Position:T,SourceLocation:I,getLineInfo:getLineInfo,Node:de,TokenType:f,tokTypes:x,keywordTypes:g,TokContext:ae,tokContexts:oe,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:Be,isNewLine:isNewLine,lineBreak:y,lineBreakG:v,nonASCIIwhitespace:b};function parse(e,t){return G.parse(e,t)}function parseExpressionAt(e,t,i){return G.parseExpressionAt(e,t,i)}function tokenizer(e,t){return G.tokenizer(e,t)}e.Node=de;e.Parser=G;e.Position=T;e.SourceLocation=I;e.TokContext=ae;e.Token=Be;e.TokenType=f;e.defaultOptions=F;e.getLineInfo=getLineInfo;e.isIdentifierChar=isIdentifierChar;e.isIdentifierStart=isIdentifierStart;e.isNewLine=isNewLine;e.keywordTypes=g;e.lineBreak=y;e.lineBreakG=v;e.nonASCIIwhitespace=b;e.parse=parse;e.parseExpressionAt=parseExpressionAt;e.tokContexts=oe;e.tokTypes=x;e.tokenizer=tokenizer;e.version=Me;Object.defineProperty(e,"__esModule",{value:true})}))},980:function(e){"use strict";var t=Object.prototype.hasOwnProperty;var i=Object.prototype.toString;var n=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=function isArray(e){if(typeof Array.isArray==="function"){return Array.isArray(e)}return i.call(e)==="[object Array]"};var a=function isPlainObject(e){if(!e||i.call(e)!=="[object Object]"){return false}var n=t.call(e,"constructor");var r=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r){return false}var s;for(s in e){}return typeof s==="undefined"||t.call(e,s)};var o=function setProperty(e,t){if(n&&t.name==="__proto__"){n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true})}else{e[t.name]=t.newValue}};var l=function getProperty(e,i){if(i==="__proto__"){if(!t.call(e,i)){return void 0}else if(r){return r(e,i).value}}return e[i]};e.exports=function extend(){var e,t,i,n,r,c;var p=arguments[0];var f=1;var d=arguments.length;var m=false;if(typeof p==="boolean"){m=p;p=arguments[1]||{};f=2}if(p==null||typeof p!=="object"&&typeof p!=="function"){p={}}for(;f<d;++f){e=arguments[f];if(e!=null){for(t in e){i=l(p,t);n=l(e,t);if(p!==n){if(m&&n&&(a(n)||(r=s(n)))){if(r){r=false;c=i&&s(i)?i:[]}else{c=i&&a(i)?i:{}}o(p,{name:t,newValue:extend(m,c,n)})}else if(typeof n!=="undefined"){o(p,{name:t,newValue:n})}}}}}return p}},638:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;var i=/\n/g;var n=/^\s*/;var r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/;var s=/^:\s*/;var a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/;var o=/^[;\s]*/;var l=/^\s+|\s+$/g;var c="\n";var p="/";var f="*";var d="";var m="comment";var g="declaration";e.exports=function(e,l){if(typeof e!=="string"){throw new TypeError("First argument must be a string")}if(!e)return[];l=l||{};var x=1;var y=1;function updatePosition(e){var t=e.match(i);if(t)x+=t.length;var n=e.lastIndexOf(c);y=~n?e.length-n:y+e.length}function position(){var e={line:x,column:y};return function(t){t.position=new Position(e);whitespace();return t}}function Position(e){this.start=e;this.end={line:x,column:y};this.source=l.source}Position.prototype.content=e;var v=[];function error(t){var i=new Error(l.source+":"+x+":"+y+": "+t);i.reason=t;i.filename=l.source;i.line=x;i.column=y;i.source=e;if(l.silent){v.push(i)}else{throw i}}function match(t){var i=t.exec(e);if(!i)return;var n=i[0];updatePosition(n);e=e.slice(n.length);return i}function whitespace(){match(n)}function comments(e){var t;e=e||[];while(t=comment()){if(t!==false){e.push(t)}}return e}function comment(){var t=position();if(p!=e.charAt(0)||f!=e.charAt(1))return;var i=2;while(d!=e.charAt(i)&&(f!=e.charAt(i)||p!=e.charAt(i+1))){++i}i+=2;if(d===e.charAt(i-1)){return error("End of comment missing")}var n=e.slice(2,i-2);y+=2;updatePosition(n);e=e.slice(i);y+=2;return t({type:m,comment:n})}function declaration(){var e=position();var i=match(r);if(!i)return;comment();if(!match(s))return error("property missing ':'");var n=match(a);var l=e({type:g,property:trim(i[0].replace(t,d)),value:n?trim(n[0].replace(t,d)):d});match(o);return l}function declarations(){var e=[];comments(e);var t;while(t=declaration()){if(t!==false){e.push(t);comments(e)}}return e}whitespace();return declarations()};function trim(e){return e?e.replace(l,d):d}},920:function(e){
|
|
2
|
+
/*!
|
|
3
|
+
* Determine if an object is a Buffer
|
|
4
|
+
*
|
|
5
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/
|
|
8
|
+
e.exports=function isBuffer(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}},455:function(e,t,i){"use strict";e.exports=i(584)},215:function(e){"use strict";var t={};function getEncodeCache(e){var i,n,r=t[e];if(r){return r}r=t[e]=[];for(i=0;i<128;i++){n=String.fromCharCode(i);if(/^[0-9a-z]$/i.test(n)){r.push(n)}else{r.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}}for(i=0;i<e.length;i++){r[e.charCodeAt(i)]=e[i]}return r}function encode(e,t,i){var n,r,s,a,o,l="";if(typeof t!=="string"){i=t;t=encode.defaultChars}if(typeof i==="undefined"){i=true}o=getEncodeCache(t);for(n=0,r=e.length;n<r;n++){s=e.charCodeAt(n);if(i&&s===37&&n+2<r){if(/^[0-9a-f]{2}$/i.test(e.slice(n+1,n+3))){l+=e.slice(n,n+3);n+=2;continue}}if(s<128){l+=o[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1<r){a=e.charCodeAt(n+1);if(a>=56320&&a<=57343){l+=encodeURIComponent(e[n]+e[n+1]);n++;continue}}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[n])}return l}encode.defaultChars=";/?:@&=+$,-_.!~*'()#";encode.componentChars="-_.!~*'()";e.exports=encode},247:function(e,t,i){var n=i(638);function StyleToObject(e,t){var i=null;if(!e||typeof e!=="string"){return i}var r;var s=n(e);var a=typeof t==="function";var o;var l;for(var c=0,p=s.length;c<p;c++){r=s[c];o=r.property;l=r.value;if(a){t(o,l,r)}else if(l){i||(i={});i[o]=l}}return i}e.exports=StyleToObject},584:function(e){"use strict";e.exports=JSON.parse('["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"]')}};var t={};function __nccwpck_require__(i){var n=t[i];if(n!==undefined){return n.exports}var r=t[i]={exports:{}};var s=true;try{e[i].call(r.exports,r,r.exports,__nccwpck_require__);s=false}finally{if(s)delete t[i]}return r.exports}!function(){__nccwpck_require__.d=function(e,t){for(var i in t){if(__nccwpck_require__.o(t,i)&&!__nccwpck_require__.o(e,i)){Object.defineProperty(e,i,{enumerable:true,get:t[i]})}}}}();!function(){__nccwpck_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();!function(){__nccwpck_require__.r=function(e){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}}();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var i={};!function(){"use strict";__nccwpck_require__.r(i);__nccwpck_require__.d(i,{compile:function(){return compile},compileSync:function(){return compileSync},createProcessor:function(){return createProcessor},evaluate:function(){return evaluate},evaluateSync:function(){return evaluateSync},nodeTypes:function(){return Vn},run:function(){return run},runSync:function(){return runSync}});var e={};__nccwpck_require__.r(e);__nccwpck_require__.d(e,{attentionMarkers:function(){return ki},contentInitial:function(){return gi},disable:function(){return Ei},document:function(){return mi},flow:function(){return yi},flowInitial:function(){return xi},insideSpan:function(){return wi},string:function(){return vi},text:function(){return bi}});var t={};__nccwpck_require__.r(t);__nccwpck_require__.d(t,{boolean:function(){return cn},booleanish:function(){return pn},commaOrSpaceSeparated:function(){return gn},commaSeparated:function(){return mn},number:function(){return fn},overloadedBoolean:function(){return hn},spaceSeparated:function(){return dn}});function bail(e){if(e){throw e}}var n=__nccwpck_require__(920);var r=__nccwpck_require__(980);function isPlainObject(e){if(Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function trough(){const e=[];const t={run:run,use:use};return t;function run(...t){let i=-1;const n=t.pop();if(typeof n!=="function"){throw new TypeError("Expected function as last argument, not "+n)}next(null,...t);function next(r,...s){const a=e[++i];let o=-1;if(r){n(r);return}while(++o<t.length){if(s[o]===null||s[o]===undefined){s[o]=t[o]}}t=s;if(a){wrap(a,next)(...s)}else{n(null,...s)}}}function use(i){if(typeof i!=="function"){throw new TypeError("Expected `middelware` to be a function, not "+i)}e.push(i);return t}}function wrap(e,t){let i;return wrapped;function wrapped(...t){const n=e.length>t.length;let r;if(n){t.push(done)}try{r=e.apply(this,t)}catch(e){const t=e;if(n&&i){throw t}return done(t)}if(!n){if(r instanceof Promise){r.then(then,done)}else if(r instanceof Error){done(r)}else{then(r)}}}function done(e,...n){if(!i){i=true;t(e,...n)}}function then(e){done(null,e)}}function stringifyPosition(e){if(!e||typeof e!=="object"){return""}if("position"in e||"type"in e){return position(e.position)}if("start"in e||"end"in e){return position(e)}if("line"in e||"column"in e){return point(e)}return""}function point(e){return index(e&&e.line)+":"+index(e&&e.column)}function position(e){return point(e&&e.start)+"-"+point(e&&e.end)}function index(e){return e&&typeof e==="number"?e:1}class VFileMessage extends Error{constructor(e,t,i){const n=[null,null];let r={start:{line:null,column:null},end:{line:null,column:null}};super();if(typeof t==="string"){i=t;t=undefined}if(typeof i==="string"){const e=i.indexOf(":");if(e===-1){n[1]=i}else{n[0]=i.slice(0,e);n[1]=i.slice(e+1)}}if(t){if("type"in t||"position"in t){if(t.position){r=t.position}}else if("start"in t||"end"in t){r=t}else if("line"in t||"column"in t){r.start=t}}this.name=stringifyPosition(t)||"1:1";this.message=typeof e==="object"?e.message:e;this.stack=typeof e==="object"?e.stack:"";this.reason=this.message;this.fatal;this.line=r.start.line;this.column=r.start.column;this.source=n[0];this.ruleId=n[1];this.position=r;this.actual;this.expected;this.file;this.url;this.note}}VFileMessage.prototype.file="";VFileMessage.prototype.name="";VFileMessage.prototype.reason="";VFileMessage.prototype.message="";VFileMessage.prototype.stack="";VFileMessage.prototype.fatal=null;VFileMessage.prototype.column=null;VFileMessage.prototype.line=null;VFileMessage.prototype.source=null;VFileMessage.prototype.ruleId=null;VFileMessage.prototype.position=null;var s=require("path");var a=require("process");function isUrl(e){return e!==null&&typeof e==="object"&&e.href&&e.origin}var o=require("url");const l=["history","path","basename","stem","extname","dirname"];class VFile{constructor(e){let t;if(!e){t={}}else if(typeof e==="string"||n(e)){t={value:e}}else if(isUrl(e)){t={path:e}}else{t=e}this.data={};this.messages=[];this.history=[];this.cwd=a.cwd();this.value;this.stored;this.result;this.map;let i=-1;while(++i<l.length){const e=l[i];if(e in t&&t[e]!==undefined){this[e]=e==="history"?[...t[e]]:t[e]}}let r;for(r in t){if(!l.includes(r))this[r]=t[r]}}get path(){return this.history[this.history.length-1]}set path(e){if(isUrl(e)){e=(0,o.fileURLToPath)(e)}assertNonEmpty(e,"path");if(this.path!==e){this.history.push(e)}}get dirname(){return typeof this.path==="string"?s.dirname(this.path):undefined}set dirname(e){assertPath(this.basename,"dirname");this.path=s.join(e||"",this.basename)}get basename(){return typeof this.path==="string"?s.basename(this.path):undefined}set basename(e){assertNonEmpty(e,"basename");assertPart(e,"basename");this.path=s.join(this.dirname||"",e)}get extname(){return typeof this.path==="string"?s.extname(this.path):undefined}set extname(e){assertPart(e,"extname");assertPath(this.dirname,"extname");if(e){if(e.charCodeAt(0)!==46){throw new Error("`extname` must start with `.`")}if(e.includes(".",1)){throw new Error("`extname` cannot contain multiple dots")}}this.path=s.join(this.dirname,this.stem+(e||""))}get stem(){return typeof this.path==="string"?s.basename(this.path,this.extname):undefined}set stem(e){assertNonEmpty(e,"stem");assertPart(e,"stem");this.path=s.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,i){const n=new VFileMessage(e,t,i);if(this.path){n.name=this.path+":"+n.name;n.file=this.path}n.fatal=false;this.messages.push(n);return n}info(e,t,i){const n=this.message(e,t,i);n.fatal=null;return n}fail(e,t,i){const n=this.message(e,t,i);n.fatal=true;throw n}}function assertPart(e,t){if(e&&e.includes(s.sep)){throw new Error("`"+t+"` cannot be a path: did not expect `"+s.sep+"`")}}function assertNonEmpty(e,t){if(!e){throw new Error("`"+t+"` cannot be empty")}}function assertPath(e,t){if(!e){throw new Error("Setting `"+t+"` requires `path` to be set too")}}const c=base().freeze();const p={}.hasOwnProperty;function base(){const e=trough();const t=[];let i={};let n;let s=-1;processor.data=data;processor.Parser=undefined;processor.Compiler=undefined;processor.freeze=freeze;processor.attachers=t;processor.use=use;processor.parse=parse;processor.stringify=stringify;processor.run=run;processor.runSync=runSync;processor.process=process;processor.processSync=processSync;return processor;function processor(){const e=base();let n=-1;while(++n<t.length){e.use(...t[n])}e.data(r(true,{},i));return e}function data(e,t){if(typeof e==="string"){if(arguments.length===2){assertUnfrozen("data",n);i[e]=t;return processor}return p.call(i,e)&&i[e]||null}if(e){assertUnfrozen("data",n);i=e;return processor}return i}function freeze(){if(n){return processor}while(++s<t.length){const[i,...n]=t[s];if(n[0]===false){continue}if(n[0]===true){n[0]=undefined}const r=i.call(processor,...n);if(typeof r==="function"){e.use(r)}}n=true;s=Number.POSITIVE_INFINITY;return processor}function use(e,...s){let a;assertUnfrozen("use",n);if(e===null||e===undefined){}else if(typeof e==="function"){addPlugin(e,...s)}else if(typeof e==="object"){if(Array.isArray(e)){addList(e)}else{addPreset(e)}}else{throw new TypeError("Expected usable value, not `"+e+"`")}if(a){i.settings=Object.assign(i.settings||{},a)}return processor;function add(e){if(typeof e==="function"){addPlugin(e)}else if(typeof e==="object"){if(Array.isArray(e)){const[t,...i]=e;addPlugin(t,...i)}else{addPreset(e)}}else{throw new TypeError("Expected usable value, not `"+e+"`")}}function addPreset(e){addList(e.plugins);if(e.settings){a=Object.assign(a||{},e.settings)}}function addList(e){let t=-1;if(e===null||e===undefined){}else if(Array.isArray(e)){while(++t<e.length){const i=e[t];add(i)}}else{throw new TypeError("Expected a list of plugins, not `"+e+"`")}}function addPlugin(e,i){let n=-1;let s;while(++n<t.length){if(t[n][0]===e){s=t[n];break}}if(s){if(isPlainObject(s[1])&&isPlainObject(i)){i=r(true,s[1],i)}s[1]=i}else{t.push([...arguments])}}}function parse(e){processor.freeze();const t=vfile(e);const i=processor.Parser;assertParser("parse",i);if(newable(i,"parse")){return new i(String(t),t).parse()}return i(String(t),t)}function stringify(e,t){processor.freeze();const i=vfile(t);const n=processor.Compiler;assertCompiler("stringify",n);assertNode(e);if(newable(n,"compile")){return new n(e,i).compile()}return n(e,i)}function run(t,i,n){assertNode(t);processor.freeze();if(!n&&typeof i==="function"){n=i;i=undefined}if(!n){return new Promise(executor)}executor(null,n);function executor(r,s){e.run(t,vfile(i),done);function done(e,i,a){i=i||t;if(e){s(e)}else if(r){r(i)}else{n(null,i,a)}}}}function runSync(e,t){let i;let n;processor.run(e,t,done);assertDone("runSync","run",n);return i;function done(e,t){bail(e);i=t;n=true}}function process(e,t){processor.freeze();assertParser("process",processor.Parser);assertCompiler("process",processor.Compiler);if(!t){return new Promise(executor)}executor(null,t);function executor(i,n){const r=vfile(e);processor.run(processor.parse(r),r,((e,t,i)=>{if(e||!t||!i){done(e)}else{const n=processor.stringify(t,i);if(n===undefined||n===null){}else if(looksLikeAVFileValue(n)){i.value=n}else{i.result=n}done(e,i)}}));function done(e,r){if(e||!r){n(e)}else if(i){i(r)}else{t(null,r)}}}}function processSync(e){let t;processor.freeze();assertParser("processSync",processor.Parser);assertCompiler("processSync",processor.Compiler);const i=vfile(e);processor.process(i,done);assertDone("processSync","process",t);return i;function done(e){t=true;bail(e)}}}function newable(e,t){return typeof e==="function"&&e.prototype&&(keys(e.prototype)||t in e.prototype)}function keys(e){let t;for(t in e){if(p.call(e,t)){return true}}return false}function assertParser(e,t){if(typeof t!=="function"){throw new TypeError("Cannot `"+e+"` without `Parser`")}}function assertCompiler(e,t){if(typeof t!=="function"){throw new TypeError("Cannot `"+e+"` without `Compiler`")}}function assertUnfrozen(e,t){if(t){throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}}function assertNode(e){if(!isPlainObject(e)||typeof e.type!=="string"){throw new TypeError("Expected node, got `"+e+"`")}}function assertDone(e,t,i){if(!i){throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}}function vfile(e){return looksLikeAVFile(e)?e:new VFile(e)}function looksLikeAVFile(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function looksLikeAVFileValue(e){return typeof e==="string"||n(e)}var f={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var d="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var m={5:d,"5module":d+" export import",6:d+" const class extends export import super"};var g=/^in(stanceof)?$/;var x="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var y="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var v=new RegExp("["+x+"]");var b=new RegExp("["+x+y+"]");x=y=null;var w=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];var k=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var i=65536;for(var n=0;n<t.length;n+=2){i+=t[n];if(i>e){return false}i+=t[n+1];if(i>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&v.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,w)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&b.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,w)||isInAstralSet(e,k)}var E=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new E(e,{beforeExpr:true,binop:t})}var S={beforeExpr:true},C={startsExpr:true};var A={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return A[e]=new E(e,t)}var _={num:new E("num",C),regexp:new E("regexp",C),string:new E("string",C),name:new E("name",C),privateId:new E("privateId",C),eof:new E("eof"),bracketL:new E("[",{beforeExpr:true,startsExpr:true}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:true,startsExpr:true}),braceR:new E("}"),parenL:new E("(",{beforeExpr:true,startsExpr:true}),parenR:new E(")"),comma:new E(",",S),semi:new E(";",S),colon:new E(":",S),dot:new E("."),question:new E("?",S),questionDot:new E("?."),arrow:new E("=>",S),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",S),backQuote:new E("`",C),dollarBraceL:new E("${",{beforeExpr:true,startsExpr:true}),eq:new E("=",{beforeExpr:true,isAssign:true}),assign:new E("_=",{beforeExpr:true,isAssign:true}),incDec:new E("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new E("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new E("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",S),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",S),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",S),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",C),_if:kw("if"),_return:kw("return",S),_switch:kw("switch"),_throw:kw("throw",S),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",C),_super:kw("super",C),_class:kw("class",C),_extends:kw("extends",S),_export:kw("export"),_import:kw("import",C),_null:kw("null",C),_true:kw("true",C),_false:kw("false",C),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var T=/\r\n?|\n|\u2028|\u2029/;var I=new RegExp(T.source,"g");function isNewLine(e){return e===10||e===13||e===8232||e===8233}function nextLineBreak(e,t,i){if(i===void 0)i=e.length;for(var n=t;n<i;n++){var r=e.charCodeAt(n);if(isNewLine(r)){return n<i-1&&r===13&&e.charCodeAt(n+1)===10?n+2:n+1}}return-1}var F=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var L=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var P=Object.prototype;var D=P.hasOwnProperty;var N=P.toString;var B=Object.hasOwn||function(e,t){return D.call(e,t)};var V=Array.isArray||function(e){return N.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var O=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;var M=function Position(e,t){this.line=e;this.column=t};M.prototype.offset=function offset(e){return new M(this.line,this.column+e)};var R=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,n=0;;){var r=nextLineBreak(e,n,t);if(r<0){return new M(i,t-n)}++i;n=r}}var q={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var j=false;function getOptions(e){var t={};for(var i in q){t[i]=e&&B(e,i)?e[i]:q[i]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!j&&typeof console==="object"&&console.warn){j=true;console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")}t.ecmaVersion=11}else if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(V(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}if(V(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,n,r,s,a,o){var l={type:i?"Block":"Line",value:n,start:r,end:s};if(e.locations){l.loc=new R(this,a,o)}if(e.ranges){l.range=[r,s]}t.push(l)}}var z=1,J=2,U=4,H=8,X=16,W=32,G=64,Q=128,K=256,$=z|J|K;function functionFlags(e,t){return J|(e?U:0)|(t?H:0)}var Y=0,Z=1,ee=2,te=3,ie=4,ne=5;var re=function Parser(e,t,i){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(m[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";if(e.allowReserved!==true){n=f[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){n+=" await"}}this.reservedWords=wordsRegexp(n);var r=(n?n+" ":"")+f.strict;this.reservedWordsStrict=wordsRegexp(r);this.reservedWordsStrictBind=wordsRegexp(r+" "+f.strictBind);this.input=String(t);this.containsEsc=false;if(i){this.pos=i;this.lineStart=this.input.lastIndexOf("\n",i-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(T).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=_.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(z);this.regexpState=null;this.privateNameStack=[]};var se={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};re.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};se.inFunction.get=function(){return(this.currentVarScope().flags&J)>0};se.inGenerator.get=function(){return(this.currentVarScope().flags&H)>0&&!this.currentVarScope().inClassFieldInit};se.inAsync.get=function(){return(this.currentVarScope().flags&U)>0&&!this.currentVarScope().inClassFieldInit};se.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&K){return false}if(t.flags&J){return(t.flags&U)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};se.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&G)>0||i||this.options.allowSuperOutsideMethod};se.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Q)>0};se.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};se.allowNewDotTarget.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&(J|K))>0||i};se.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&K)>0};re.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var n=0;n<e.length;n++){i=e[n](i)}return i};re.parse=function parse(e,t){return new this(t,e).parse()};re.parseExpressionAt=function parseExpressionAt(e,t,i){var n=new this(i,e,t);n.nextToken();return n.parseExpression()};re.tokenizer=function tokenizer(e,t){return new this(t,e)};Object.defineProperties(re.prototype,se);var ae=re.prototype;var oe=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;ae.strictDirective=function(e){for(;;){L.lastIndex=e;e+=L.exec(this.input)[0].length;var t=oe.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){L.lastIndex=e+t[0].length;var i=L.exec(this.input),n=i.index+i[0].length;var r=this.input.charAt(n);return r===";"||r==="}"||T.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||r==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length;L.lastIndex=e;e+=L.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};ae.eat=function(e){if(this.type===e){this.next();return true}else{return false}};ae.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc};ae.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};ae.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};ae.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||T.test(this.input.slice(this.lastTokEnd,this.start))};ae.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};ae.semicolon=function(){if(!this.eat(_.semi)&&!this.insertSemicolon()){this.unexpected()}};ae.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};ae.expect=function(e){this.eat(e)||this.unexpected()};ae.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ae.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,"Parenthesized pattern")}};ae.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var n=e.doubleProto;if(!t){return i>=0||n>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(n>=0){this.raiseRecoverable(n,"Redefinition of __proto__ property")}};ae.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};ae.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var le=re.prototype;le.parseTopLevel=function(e){var t=Object.create(null);if(!e.body){e.body=[]}while(this.type!==_.eof){var i=this.parseStatement(null,true,t);e.body.push(i)}if(this.inModule){for(var n=0,r=Object.keys(this.undefinedExports);n<r.length;n+=1){var s=r[n];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var ue={kind:"loop"},ce={kind:"switch"};le.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}L.lastIndex=this.pos;var t=L.exec(this.input);var i=this.pos+t[0].length,n=this.input.charCodeAt(i);if(n===91||n===92||n>55295&&n<56320){return true}if(e){return false}if(n===123){return true}if(isIdentifierStart(n,true)){var r=i+1;while(isIdentifierChar(n=this.input.charCodeAt(r),true)){++r}if(n===92||n>55295&&n<56320){return true}var s=this.input.slice(i,r);if(!g.test(s)){return true}}return false};le.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}L.lastIndex=this.pos;var e=L.exec(this.input);var t=this.pos+e[0].length,i;return!T.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};le.parseStatement=function(e,t,i){var n=this.type,r=this.startNode(),s;if(this.isLet(e)){n=_._var;s="let"}switch(n){case _._break:case _._continue:return this.parseBreakContinueStatement(r,n.keyword);case _._debugger:return this.parseDebuggerStatement(r);case _._do:return this.parseDoStatement(r);case _._for:return this.parseForStatement(r);case _._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(r,false,!e);case _._class:if(e){this.unexpected()}return this.parseClass(r,true);case _._if:return this.parseIfStatement(r);case _._return:return this.parseReturnStatement(r);case _._switch:return this.parseSwitchStatement(r);case _._throw:return this.parseThrowStatement(r);case _._try:return this.parseTryStatement(r);case _._const:case _._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(r,s);case _._while:return this.parseWhileStatement(r);case _._with:return this.parseWithStatement(r);case _.braceL:return this.parseBlock(true,r);case _.semi:return this.parseEmptyStatement(r);case _._export:case _._import:if(this.options.ecmaVersion>10&&n===_._import){L.lastIndex=this.pos;var a=L.exec(this.input);var o=this.pos+a[0].length,l=this.input.charCodeAt(o);if(l===40||l===46){return this.parseExpressionStatement(r,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return n===_._import?this.parseImport(r):this.parseExport(r,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(r,true,!e)}var c=this.value,p=this.parseExpression();if(n===_.name&&p.type==="Identifier"&&this.eat(_.colon)){return this.parseLabeledStatement(r,c,p,e)}else{return this.parseExpressionStatement(r,p)}}};le.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(_.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==_.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var n=0;for(;n<this.labels.length;++n){var r=this.labels[n];if(e.label==null||r.name===e.label.name){if(r.kind!=null&&(i||r.kind==="loop")){break}if(e.label&&i){break}}}if(n===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,i?"BreakStatement":"ContinueStatement")};le.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};le.parseDoStatement=function(e){this.next();this.labels.push(ue);e.body=this.parseStatement("do");this.labels.pop();this.expect(_._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(_.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};le.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ue);this.enterScope(0);this.expect(_.parenL);if(this.type===_.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===_._var||this.type===_._const||i){var n=this.startNode(),r=i?"let":this.value;this.next();this.parseVar(n,true,r);this.finishNode(n,"VariableDeclaration");if((this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===_._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,n)}if(t>-1){this.unexpected(t)}return this.parseFor(e,n)}var s=this.isContextual("let"),a=false;var o=new DestructuringErrors;var l=this.parseExpression(t>-1?"await":true,o);if(this.type===_._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(this.options.ecmaVersion>=9){if(this.type===_._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}if(s&&a){this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(l,false,o);this.checkLValPattern(l);return this.parseForIn(e,l)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,l)};le.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,he|(i?0:fe),false,t)};le.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(_._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};le.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(_.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};le.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(_.braceL);this.labels.push(ce);this.enterScope(0);var t;for(var i=false;this.type!==_.braceR;){if(this.type===_._case||this.type===_._default){var n=this.type===_._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(n){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(_.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};le.parseThrowStatement=function(e){this.next();if(T.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var pe=[];le.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===_._catch){var t=this.startNode();this.next();if(this.eat(_.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?W:0);this.checkLValPattern(t.param,i?ie:ee);this.expect(_.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(_._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};le.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};le.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(ue);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};le.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};le.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};le.parseLabeledStatement=function(e,t,i,n){for(var r=0,s=this.labels;r<s.length;r+=1){var a=s[r];if(a.name===t){this.raise(i.start,"Label '"+t+"' is already declared")}}var o=this.type.isLoop?"loop":this.type===_._switch?"switch":null;for(var l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};le.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};le.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(_.braceL);if(e){this.enterScope(0)}while(this.type!==_.braceR){var n=this.parseStatement(null);t.body.push(n)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};le.parseFor=function(e,t){e.init=t;this.expect(_.semi);e.test=this.type===_.semi?null:this.parseExpression();this.expect(_.semi);e.update=this.type===_.parenR?null:this.parseExpression();this.expect(_.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};le.parseForIn=function(e,t){var i=this.type===_._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(_.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};le.parseVar=function(e,t,i){e.declarations=[];e.kind=i;for(;;){var n=this.startNode();this.parseVarId(n,i);if(this.eat(_.eq)){n.init=this.parseMaybeAssign(t)}else if(i==="const"&&!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(n.id.type!=="Identifier"&&!(t&&(this.type===_._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{n.init=null}e.declarations.push(this.finishNode(n,"VariableDeclarator"));if(!this.eat(_.comma)){break}}return e};le.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?Z:ee,false)};var he=1,fe=2,de=4;le.parseFunction=function(e,t,i,n,r){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n){if(this.type===_.star&&t&fe){this.unexpected()}e.generator=this.eat(_.star)}if(this.options.ecmaVersion>=8){e.async=!!n}if(t&he){e.id=t&de&&this.type!==_.name?null:this.parseIdent();if(e.id&&!(t&fe)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Z:ee:te)}}var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&he)){e.id=this.type===_.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false,r);this.yieldPos=s;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,t&he?"FunctionDeclaration":"FunctionExpression")};le.parseFunctionParams=function(e){this.expect(_.parenL);e.params=this.parseBindingList(_.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};le.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var n=this.enterClassBody();var r=this.startNode();var s=false;r.body=[];this.expect(_.braceL);while(this.type!==_.braceR){var a=this.parseClassElement(e.superClass!==null);if(a){r.body.push(a);if(a.type==="MethodDefinition"&&a.kind==="constructor"){if(s){this.raise(a.start,"Duplicate constructor in the same class")}s=true}else if(a.key&&a.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(n,a)){this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared")}}}this.strict=i;this.next();e.body=this.finishNode(r,"ClassBody");this.exitClassBody();return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};le.parseClassElement=function(e){if(this.eat(_.semi)){return null}var t=this.options.ecmaVersion;var i=this.startNode();var n="";var r=false;var s=false;var a="method";var o=false;if(this.eatContextual("static")){if(t>=13&&this.eat(_.braceL)){this.parseClassStaticBlock(i);return i}if(this.isClassElementNameStart()||this.type===_.star){o=true}else{n="static"}}i.static=o;if(!n&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===_.star)&&!this.canInsertSemicolon()){s=true}else{n="async"}}if(!n&&(t>=9||!s)&&this.eat(_.star)){r=true}if(!n&&!s&&!r){var l=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){a=l}else{n=l}}}if(n){i.computed=false;i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);i.key.name=n;this.finishNode(i.key,"Identifier")}else{this.parseClassElementName(i)}if(t<13||this.type===_.parenL||a!=="method"||r||s){var c=!i.static&&checkKeyName(i,"constructor");var p=c&&e;if(c&&a!=="method"){this.raise(i.key.start,"Constructor can't have get/set modifier")}i.kind=c?"constructor":a;this.parseClassMethod(i,r,s,p)}else{this.parseClassField(i)}return i};le.isClassElementNameStart=function(){return this.type===_.name||this.type===_.privateId||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword};le.parseClassElementName=function(e){if(this.type===_.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}e.computed=false;e.key=this.parsePrivateIdent()}else{this.parsePropertyName(e)}};le.parseClassMethod=function(e,t,i,n){var r=e.key;if(e.kind==="constructor"){if(t){this.raise(r.start,"Constructor can't be a generator")}if(i){this.raise(r.start,"Constructor can't be an async method")}}else if(e.static&&checkKeyName(e,"prototype")){this.raise(r.start,"Classes may not have a static property named prototype")}var s=e.value=this.parseMethod(t,i,n);if(e.kind==="get"&&s.params.length!==0){this.raiseRecoverable(s.start,"getter should have no params")}if(e.kind==="set"&&s.params.length!==1){this.raiseRecoverable(s.start,"setter should have exactly one param")}if(e.kind==="set"&&s.params[0].type==="RestElement"){this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};le.parseClassField=function(e){if(checkKeyName(e,"constructor")){this.raise(e.key.start,"Classes can't have a field named 'constructor'")}else if(e.static&&checkKeyName(e,"prototype")){this.raise(e.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(_.eq)){var t=this.currentThisScope();var i=t.inClassFieldInit;t.inClassFieldInit=true;e.value=this.parseMaybeAssign();t.inClassFieldInit=i}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};le.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;this.labels=[];this.enterScope(K|G);while(this.type!==_.braceR){var i=this.parseStatement(null);e.body.push(i)}this.next();this.exitScope();this.labels=t;return this.finishNode(e,"StaticBlock")};le.parseClassId=function(e,t){if(this.type===_.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,ee,false)}}else{if(t===true){this.unexpected()}e.id=null}};le.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts(false):null};le.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};le.exitClassBody=function(){var e=this.privateNameStack.pop();var t=e.declared;var i=e.used;var n=this.privateNameStack.length;var r=n===0?null:this.privateNameStack[n-1];for(var s=0;s<i.length;++s){var a=i[s];if(!B(t,a.name)){if(r){r.used.push(a)}else{this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class")}}}};function isPrivateNameConflicted(e,t){var i=t.key.name;var n=e[i];var r="true";if(t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")){r=(t.static?"s":"i")+t.kind}if(n==="iget"&&r==="iset"||n==="iset"&&r==="iget"||n==="sget"&&r==="sset"||n==="sset"&&r==="sget"){e[i]="true";return false}else if(!n){e[i]=r;return false}else{return true}}function checkKeyName(e,t){var i=e.computed;var n=e.key;return!i&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}le.parseExport=function(e,t){this.next();if(this.eat(_.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseModuleExportName();this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==_.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(_._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===_._function||(i=this.isAsyncFunction())){var n=this.startNode();this.next();if(i){this.next()}e.declaration=this.parseFunction(n,he|de,false,i)}else if(this.type===_._class){var r=this.startNode();e.declaration=this.parseClass(r,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==_.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s<a.length;s+=1){var o=a[s];this.checkUnreserved(o.local);this.checkLocalExport(o.local);if(o.local.type==="Literal"){this.raise(o.local.start,"A string literal cannot be used as an exported binding without `from`.")}}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};le.checkExport=function(e,t,i){if(!e){return}if(B(e,t)){this.raiseRecoverable(i,"Duplicate export '"+t+"'")}e[t]=true};le.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier"){this.checkExport(e,t.name,t.start)}else if(i==="ObjectPattern"){for(var n=0,r=t.properties;n<r.length;n+=1){var s=r[n];this.checkPatternExport(e,s)}}else if(i==="ArrayPattern"){for(var a=0,o=t.elements;a<o.length;a+=1){var l=o[a];if(l){this.checkPatternExport(e,l)}}}else if(i==="Property"){this.checkPatternExport(e,t.value)}else if(i==="AssignmentPattern"){this.checkPatternExport(e,t.left)}else if(i==="RestElement"){this.checkPatternExport(e,t.argument)}else if(i==="ParenthesizedExpression"){this.checkPatternExport(e,t.expression)}};le.checkVariableExport=function(e,t){if(!e){return}for(var i=0,n=t;i<n.length;i+=1){var r=n[i];this.checkPatternExport(e,r.id)}};le.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};le.parseExportSpecifiers=function(e){var t=[],i=true;this.expect(_.braceL);while(!this.eat(_.braceR)){if(!i){this.expect(_.comma);if(this.afterTrailingComma(_.braceR)){break}}else{i=false}var n=this.startNode();n.local=this.parseModuleExportName();n.exported=this.eatContextual("as")?this.parseModuleExportName():n.local;this.checkExport(e,n.exported[n.exported.type==="Identifier"?"name":"value"],n.exported.start);t.push(this.finishNode(n,"ExportSpecifier"))}return t};le.parseImport=function(e){this.next();if(this.type===_.string){e.specifiers=pe;e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===_.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(e,"ImportDeclaration")};le.parseImportSpecifiers=function(){var e=[],t=true;if(this.type===_.name){var i=this.startNode();i.local=this.parseIdent();this.checkLValSimple(i.local,ee);e.push(this.finishNode(i,"ImportDefaultSpecifier"));if(!this.eat(_.comma)){return e}}if(this.type===_.star){var n=this.startNode();this.next();this.expectContextual("as");n.local=this.parseIdent();this.checkLValSimple(n.local,ee);e.push(this.finishNode(n,"ImportNamespaceSpecifier"));return e}this.expect(_.braceL);while(!this.eat(_.braceR)){if(!t){this.expect(_.comma);if(this.afterTrailingComma(_.braceR)){break}}else{t=false}var r=this.startNode();r.imported=this.parseModuleExportName();if(this.eatContextual("as")){r.local=this.parseIdent()}else{this.checkUnreserved(r.imported);r.local=r.imported}this.checkLValSimple(r.local,ee);e.push(this.finishNode(r,"ImportSpecifier"))}return e};le.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===_.string){var e=this.parseLiteral(this.value);if(O.test(e.value)){this.raise(e.start,"An export name cannot include a lone surrogate.")}return e}return this.parseIdent(true)};le.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t){e[t].directive=e[t].expression.raw.slice(1,-1)}};le.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var me=re.prototype;me.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(i){this.checkPatternErrors(i,true)}for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.toAssignable(s,t);if(s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")){this.raise(s.argument.start,"Unexpected token")}}break;case"Property":if(e.kind!=="init"){this.raise(e.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern";if(i){this.checkPatternErrors(i,true)}this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement";this.toAssignable(e.argument,t);if(e.argument.type==="AssignmentPattern"){this.raise(e.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(e.operator!=="="){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.")}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t){break}default:this.raise(e.start,"Assigning to rvalue")}}else if(i){this.checkPatternErrors(i,true)}return e};me.toAssignableList=function(e,t){var i=e.length;for(var n=0;n<i;n++){var r=e[n];if(r){this.toAssignable(r,t)}}if(i){var s=e[i-1];if(this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"){this.unexpected(s.argument.start)}}return e};me.parseSpread=function(e){var t=this.startNode();this.next();t.argument=this.parseMaybeAssign(false,e);return this.finishNode(t,"SpreadElement")};me.parseRestBinding=function(){var e=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==_.name){this.unexpected()}e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")};me.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case _.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(_.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case _.braceL:return this.parseObj(true)}}return this.parseIdent()};me.parseBindingList=function(e,t,i){var n=[],r=true;while(!this.eat(e)){if(r){r=false}else{this.expect(_.comma)}if(t&&this.type===_.comma){n.push(null)}else if(i&&this.afterTrailingComma(e)){break}else if(this.type===_.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s);n.push(s);if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a);n.push(a)}}return n};me.parseBindingListItem=function(e){return e};me.parseMaybeDefault=function(e,t,i){i=i||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(_.eq)){return i}var n=this.startNodeAt(e,t);n.left=i;n.right=this.parseMaybeAssign();return this.finishNode(n,"AssignmentPattern")};me.checkLValSimple=function(e,t,i){if(t===void 0)t=Y;var n=t!==Y;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(n){if(t===ee&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(i){if(B(i,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}i[e.name]=true}if(t!==ne){this.declareName(e.name,t,e.start)}}break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(n){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ParenthesizedExpression":if(n){this.raiseRecoverable(e.start,"Binding parenthesized expression")}return this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};me.checkLValPattern=function(e,t,i){if(t===void 0)t=Y;switch(e.type){case"ObjectPattern":for(var n=0,r=e.properties;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var l=o[a];if(l){this.checkLValInnerPattern(l,t,i)}}break;default:this.checkLValSimple(e,t,i)}};me.checkLValInnerPattern=function(e,t,i){if(t===void 0)t=Y;switch(e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var ge=function TokContext(e,t,i,n,r){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=n;this.generator=!!r};var xe={b_stat:new ge("{",false),b_expr:new ge("{",true),b_tmpl:new ge("${",false),p_stat:new ge("(",false),p_expr:new ge("(",true),q_tmpl:new ge("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new ge("function",false),f_expr:new ge("function",true),f_expr_gen:new ge("function",true,false,null,true),f_gen:new ge("function",false,false,null,true)};var ye=re.prototype;ye.initialContext=function(){return[xe.b_stat]};ye.curContext=function(){return this.context[this.context.length-1]};ye.braceIsBlock=function(e){var t=this.curContext();if(t===xe.f_expr||t===xe.f_stat){return true}if(e===_.colon&&(t===xe.b_stat||t===xe.b_expr)){return!t.isExpr}if(e===_._return||e===_.name&&this.exprAllowed){return T.test(this.input.slice(this.lastTokEnd,this.start))}if(e===_._else||e===_.semi||e===_.eof||e===_.parenR||e===_.arrow){return true}if(e===_.braceL){return t===xe.b_stat}if(e===_._var||e===_._const||e===_.name){return false}return!this.exprAllowed};ye.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ye.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===_.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};ye.overrideContext=function(e){if(this.curContext()!==e){this.context[this.context.length-1]=e}};_.parenR.updateContext=_.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===xe.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?xe.b_stat:xe.b_expr);this.exprAllowed=true};_.dollarBraceL.updateContext=function(){this.context.push(xe.b_tmpl);this.exprAllowed=true};_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?xe.p_stat:xe.p_expr);this.exprAllowed=true};_.incDec.updateContext=function(){};_._function.updateContext=_._class.updateContext=function(e){if(e.beforeExpr&&e!==_._else&&!(e===_.semi&&this.curContext()!==xe.p_stat)&&!(e===_._return&&T.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===_.colon||e===_.braceL)&&this.curContext()===xe.b_stat)){this.context.push(xe.f_expr)}else{this.context.push(xe.f_stat)}this.exprAllowed=false};_.backQuote.updateContext=function(){if(this.curContext()===xe.q_tmpl){this.context.pop()}else{this.context.push(xe.q_tmpl)}this.exprAllowed=false};_.star.updateContext=function(e){if(e===_._function){var t=this.context.length-1;if(this.context[t]===xe.f_expr){this.context[t]=xe.f_expr_gen}else{this.context[t]=xe.f_gen}}this.exprAllowed=true};_.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==_.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var ve=re.prototype;ve.checkPropClash=function(e,t,i){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand)){return}var n=e.key;var r;switch(n.type){case"Identifier":r=n.name;break;case"Literal":r=String(n.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){if(r==="__proto__"&&s==="init"){if(t.proto){if(i){if(i.doubleProto<0){i.doubleProto=n.start}}else{this.raiseRecoverable(n.start,"Redefinition of __proto__ property")}}t.proto=true}return}r="$"+r;var a=t[r];if(a){var o;if(s==="init"){o=this.strict&&a.init||a.get||a.set}else{o=a.init||a[s]}if(o){this.raiseRecoverable(n.start,"Redefinition of property")}}else{a=t[r]={init:false,get:false,set:false}}a[s]=true};ve.parseExpression=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseMaybeAssign(e,t);if(this.type===_.comma){var s=this.startNodeAt(i,n);s.expressions=[r];while(this.eat(_.comma)){s.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(s,"SequenceExpression")}return r};ve.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var n=false,r=-1,s=-1,a=-1;if(t){r=t.parenthesizedAssign;s=t.trailingComma;a=t.doubleProto;t.parenthesizedAssign=t.trailingComma=-1}else{t=new DestructuringErrors;n=true}var o=this.start,l=this.startLoc;if(this.type===_.parenL||this.type===_.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=e==="await"}var c=this.parseMaybeConditional(e,t);if(i){c=i.call(this,c,o,l)}if(this.type.isAssign){var p=this.startNodeAt(o,l);p.operator=this.value;if(this.type===_.eq){c=this.toAssignable(c,false,t)}if(!n){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=c.start){t.shorthandAssign=-1}if(this.type===_.eq){this.checkLValPattern(c)}else{this.checkLValSimple(c)}p.left=c;this.next();p.right=this.parseMaybeAssign(e);if(a>-1){t.doubleProto=a}return this.finishNode(p,"AssignmentExpression")}else{if(n){this.checkExpressionErrors(t,true)}}if(r>-1){t.parenthesizedAssign=r}if(s>-1){t.trailingComma=s}return c};ve.parseMaybeConditional=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return r}if(this.eat(_.question)){var s=this.startNodeAt(i,n);s.test=r;s.consequent=this.parseMaybeAssign();this.expect(_.colon);s.alternate=this.parseMaybeAssign(e);return this.finishNode(s,"ConditionalExpression")}return r};ve.parseExprOps=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseMaybeUnary(t,false,false,e);if(this.checkExpressionErrors(t)){return r}return r.start===i&&r.type==="ArrowFunctionExpression"?r:this.parseExprOp(r,i,n,-1,e)};ve.parseExprOp=function(e,t,i,n,r){var s=this.type.binop;if(s!=null&&(!r||this.type!==_._in)){if(s>n){var a=this.type===_.logicalOR||this.type===_.logicalAND;var o=this.type===_.coalesce;if(o){s=_.logicalAND.binop}var l=this.value;this.next();var c=this.start,p=this.startLoc;var f=this.parseExprOp(this.parseMaybeUnary(null,false,false,r),c,p,s,r);var d=this.buildBinary(t,i,e,f,l,a||o);if(a&&this.type===_.coalesce||o&&(this.type===_.logicalOR||this.type===_.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(d,t,i,n,r)}}return e};ve.buildBinary=function(e,t,i,n,r,s){if(n.type==="PrivateIdentifier"){this.raise(n.start,"Private identifier can only be left side of binary expression")}var a=this.startNodeAt(e,t);a.left=i;a.operator=r;a.right=n;return this.finishNode(a,s?"LogicalExpression":"BinaryExpression")};ve.parseMaybeUnary=function(e,t,i,n){var r=this.start,s=this.startLoc,a;if(this.isContextual("await")&&this.canAwait){a=this.parseAwait(n);t=true}else if(this.type.prefix){var o=this.startNode(),l=this.type===_.incDec;o.operator=this.value;o.prefix=true;this.next();o.argument=this.parseMaybeUnary(null,true,l,n);this.checkExpressionErrors(e,true);if(l){this.checkLValSimple(o.argument)}else if(this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"){this.raiseRecoverable(o.start,"Deleting local variable in strict mode")}else if(o.operator==="delete"&&isPrivateFieldAccess(o.argument)){this.raiseRecoverable(o.start,"Private fields can not be deleted")}else{t=true}a=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===_.privateId){if(n||this.privateNameStack.length===0){this.unexpected()}a=this.parsePrivateIdent();if(this.type!==_._in){this.unexpected()}}else{a=this.parseExprSubscripts(e,n);if(this.checkExpressionErrors(e)){return a}while(this.type.postfix&&!this.canInsertSemicolon()){var c=this.startNodeAt(r,s);c.operator=this.value;c.prefix=false;c.argument=a;this.checkLValSimple(a);this.next();a=this.finishNode(c,"UpdateExpression")}}if(!i&&this.eat(_.starstar)){if(t){this.unexpected(this.lastTokStart)}else{return this.buildBinary(r,s,a,this.parseMaybeUnary(null,false,false,n),"**",false)}}else{return a}};function isPrivateFieldAccess(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&isPrivateFieldAccess(e.expression)}ve.parseExprSubscripts=function(e,t){var i=this.start,n=this.startLoc;var r=this.parseExprAtom(e,t);if(r.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return r}var s=this.parseSubscripts(r,i,n,false,t);if(e&&s.type==="MemberExpression"){if(e.parenthesizedAssign>=s.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=s.start){e.parenthesizedBind=-1}if(e.trailingComma>=s.start){e.trailingComma=-1}}return s};ve.parseSubscripts=function(e,t,i,n,r){var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start;var a=false;while(true){var o=this.parseSubscript(e,t,i,n,s,a,r);if(o.optional){a=true}if(o===e||o.type==="ArrowFunctionExpression"){if(a){var l=this.startNodeAt(t,i);l.expression=o;o=this.finishNode(l,"ChainExpression")}return o}e=o}};ve.parseSubscript=function(e,t,i,n,r,s,a){var o=this.options.ecmaVersion>=11;var l=o&&this.eat(_.questionDot);if(n&&l){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var c=this.eat(_.bracketL);if(c||l&&this.type!==_.parenL&&this.type!==_.backQuote||this.eat(_.dot)){var p=this.startNodeAt(t,i);p.object=e;if(c){p.property=this.parseExpression();this.expect(_.bracketR)}else if(this.type===_.privateId&&e.type!=="Super"){p.property=this.parsePrivateIdent()}else{p.property=this.parseIdent(this.options.allowReserved!=="never")}p.computed=!!c;if(o){p.optional=l}e=this.finishNode(p,"MemberExpression")}else if(!n&&this.eat(_.parenL)){var f=new DestructuringErrors,d=this.yieldPos,m=this.awaitPos,g=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var x=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,false,f);if(r&&!l&&!this.canInsertSemicolon()&&this.eat(_.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=d;this.awaitPos=m;this.awaitIdentPos=g;return this.parseArrowExpression(this.startNodeAt(t,i),x,true,a)}this.checkExpressionErrors(f,true);this.yieldPos=d||this.yieldPos;this.awaitPos=m||this.awaitPos;this.awaitIdentPos=g||this.awaitIdentPos;var y=this.startNodeAt(t,i);y.callee=e;y.arguments=x;if(o){y.optional=l}e=this.finishNode(y,"CallExpression")}else if(this.type===_.backQuote){if(l||s){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var v=this.startNodeAt(t,i);v.tag=e;v.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(v,"TaggedTemplateExpression")}return e};ve.parseExprAtom=function(e,t){if(this.type===_.slash){this.readRegexp()}var i,n=this.potentialArrowAt===this.start;switch(this.type){case _._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}i=this.startNode();this.next();if(this.type===_.parenL&&!this.allowDirectSuper){this.raise(i.start,"super() call outside constructor of a subclass")}if(this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL){this.unexpected()}return this.finishNode(i,"Super");case _._this:i=this.startNode();this.next();return this.finishNode(i,"ThisExpression");case _.name:var r=this.start,s=this.startLoc,a=this.containsEsc;var o=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!a&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(_._function)){this.overrideContext(xe.f_expr);return this.parseFunction(this.startNodeAt(r,s),0,false,true,t)}if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow)){return this.parseArrowExpression(this.startNodeAt(r,s),[o],false,t)}if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===_.name&&!a&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){o=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(_.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(r,s),[o],true,t)}}return o;case _.regexp:var l=this.value;i=this.parseLiteral(l.value);i.regex={pattern:l.pattern,flags:l.flags};return i;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:i=this.startNode();i.value=this.type===_._null?null:this.type===_._true;i.raw=this.type.keyword;this.next();return this.finishNode(i,"Literal");case _.parenL:var c=this.start,p=this.parseParenAndDistinguishExpression(n,t);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)){e.parenthesizedAssign=c}if(e.parenthesizedBind<0){e.parenthesizedBind=c}}return p;case _.bracketL:i=this.startNode();this.next();i.elements=this.parseExprList(_.bracketR,true,true,e);return this.finishNode(i,"ArrayExpression");case _.braceL:this.overrideContext(xe.b_expr);return this.parseObj(false,e);case _._function:i=this.startNode();this.next();return this.parseFunction(i,0);case _._class:return this.parseClass(this.startNode(),false);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();case _._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ve.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case _.parenL:return this.parseDynamicImport(e);case _.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ve.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(_.parenR)){var t=this.start;if(this.eat(_.comma)&&this.eat(_.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ve.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ve.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ve.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();this.expect(_.parenR);return e};ve.parseParenAndDistinguishExpression=function(e,t){var i=this.start,n=this.startLoc,r,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc;var l=[],c=true,p=false;var f=new DestructuringErrors,d=this.yieldPos,m=this.awaitPos,g;this.yieldPos=0;this.awaitPos=0;while(this.type!==_.parenR){c?c=false:this.expect(_.comma);if(s&&this.afterTrailingComma(_.parenR,true)){p=true;break}else if(this.type===_.ellipsis){g=this.start;l.push(this.parseParenItem(this.parseRestBinding()));if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{l.push(this.parseMaybeAssign(false,f,this.parseParenItem))}}var x=this.lastTokEnd,y=this.lastTokEndLoc;this.expect(_.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(_.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=d;this.awaitPos=m;return this.parseParenArrowList(i,n,l,t)}if(!l.length||p){this.unexpected(this.lastTokStart)}if(g){this.unexpected(g)}this.checkExpressionErrors(f,true);this.yieldPos=d||this.yieldPos;this.awaitPos=m||this.awaitPos;if(l.length>1){r=this.startNodeAt(a,o);r.expressions=l;this.finishNodeAt(r,"SequenceExpression",x,y)}else{r=l[0]}}else{r=this.parseParenExpression()}if(this.options.preserveParens){var v=this.startNodeAt(i,n);v.expression=r;return this.finishNode(v,"ParenthesizedExpression")}else{return r}};ve.parseParenItem=function(e){return e};ve.parseParenArrowList=function(e,t,i,n){return this.parseArrowExpression(this.startNodeAt(e,t),i,false,n)};var be=[];ve.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var i=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(i){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.allowNewDotTarget){this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block")}return this.finishNode(e,"MetaProperty")}var n=this.start,r=this.startLoc,s=this.type===_._import;e.callee=this.parseSubscripts(this.parseExprAtom(),n,r,true,false);if(s&&e.callee.type==="ImportExpression"){this.raise(n,"Cannot use new with import()")}if(this.eat(_.parenL)){e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=be}return this.finishNode(e,"NewExpression")};ve.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===_.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===_.backQuote;return this.finishNode(i,"TemplateElement")};ve.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var i=this.startNode();this.next();i.expressions=[];var n=this.parseTemplateElement({isTagged:t});i.quasis=[n];while(!n.tail){if(this.type===_.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(_.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(_.braceR);i.quasis.push(n=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};ve.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!T.test(this.input.slice(this.lastTokEnd,this.start))};ve.parseObj=function(e,t){var i=this.startNode(),n=true,r={};i.properties=[];this.next();while(!this.eat(_.braceR)){if(!n){this.expect(_.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(_.braceR)){break}}else{n=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,r,t)}i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};ve.parseProperty=function(e,t){var i=this.startNode(),n,r,s,a;if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}if(this.type===_.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}i.argument=this.parseMaybeAssign(false,t);if(this.type===_.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){n=this.eat(_.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(i)){r=true;n=this.options.ecmaVersion>=9&&this.eat(_.star);this.parsePropertyName(i,t)}else{r=false}this.parsePropertyValue(i,e,n,r,s,a,t,o);return this.finishNode(i,"Property")};ve.parsePropertyValue=function(e,t,i,n,r,s,a,o){if((i||n)&&this.type===_.colon){this.unexpected()}if(this.eat(_.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===_.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,n)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==_.comma&&this.type!==_.braceR&&this.type!==_.eq)){if(i||n){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var l=e.kind==="get"?0:1;if(e.value.params.length!==l){var c=e.value.start;if(e.kind==="get"){this.raiseRecoverable(c,"getter should have no params")}else{this.raiseRecoverable(c,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||n){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=r}e.kind="init";if(t){e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key))}else if(this.type===_.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(r,s,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};ve.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(_.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ve.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ve.parseMethod=function(e,t,i){var n=this.startNode(),r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(n);if(this.options.ecmaVersion>=6){n.generator=e}if(this.options.ecmaVersion>=8){n.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,n.generator)|G|(i?Q:0));this.expect(_.parenL);n.params=this.parseBindingList(_.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(n,false,true,false);this.yieldPos=r;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(n,"FunctionExpression")};ve.parseArrowExpression=function(e,t,i,n){var r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|X);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!i}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false,n);this.yieldPos=r;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,"ArrowFunctionExpression")};ve.parseFunctionBody=function(e,t,i,n){var r=t&&this.type!==_.braceL;var s=this.strict,a=false;if(r){e.body=this.parseMaybeAssign(n);e.expression=true;this.checkParams(e,false)}else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!s||o){a=this.strictDirective(this.end);if(a&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var l=this.labels;this.labels=[];if(a){this.strict=true}this.checkParams(e,!s&&!a&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,ne)}e.body=this.parseBlock(false,undefined,a&&!s);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=l}this.exitScope()};ve.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var n=i[t];if(n.type!=="Identifier"){return false}}return true};ve.checkParams=function(e,t){var i=Object.create(null);for(var n=0,r=e.params;n<r.length;n+=1){var s=r[n];this.checkLValInnerPattern(s,Z,t?null:i)}};ve.parseExprList=function(e,t,i,n){var r=[],s=true;while(!this.eat(e)){if(!s){this.expect(_.comma);if(t&&this.afterTrailingComma(e)){break}}else{s=false}var a=void 0;if(i&&this.type===_.comma){a=null}else if(this.type===_.ellipsis){a=this.parseSpread(n);if(n&&this.type===_.comma&&n.trailingComma<0){n.trailingComma=this.start}}else{a=this.parseMaybeAssign(false,n)}r.push(a)}return r};ve.checkUnreserved=function(e){var t=e.start;var i=e.end;var n=e.name;if(this.inGenerator&&n==="yield"){this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&n==="await"){this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function")}if(this.currentThisScope().inClassFieldInit&&n==="arguments"){this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer")}if(this.inClassStaticBlock&&(n==="arguments"||n==="await")){this.raise(t,"Cannot use "+n+" in class static initialization block")}if(this.keywords.test(n)){this.raise(t,"Unexpected keyword '"+n+"'")}if(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1){return}var r=this.strict?this.reservedWordsStrict:this.reservedWords;if(r.test(n)){if(!this.inAsync&&n==="await"){this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(t,"The keyword '"+n+"' is reserved")}};ve.parseIdent=function(e,t){var i=this.startNode();if(this.type===_.name){i.name=this.value}else if(this.type.keyword){i.name=this.type.keyword;if((i.name==="class"||i.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!e);this.finishNode(i,"Identifier");if(!e){this.checkUnreserved(i);if(i.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i.start}}return i};ve.parsePrivateIdent=function(){var e=this.startNode();if(this.type===_.privateId){e.name=this.value}else{this.unexpected()}this.next();this.finishNode(e,"PrivateIdentifier");if(this.privateNameStack.length===0){this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class")}else{this.privateNameStack[this.privateNameStack.length-1].used.push(e)}return e};ve.parseYield=function(e){if(!this.yieldPos){this.yieldPos=this.start}var t=this.startNode();this.next();if(this.type===_.semi||this.canInsertSemicolon()||this.type!==_.star&&!this.type.startsExpr){t.delegate=false;t.argument=null}else{t.delegate=this.eat(_.star);t.argument=this.parseMaybeAssign(e)}return this.finishNode(t,"YieldExpression")};ve.parseAwait=function(e){if(!this.awaitPos){this.awaitPos=this.start}var t=this.startNode();this.next();t.argument=this.parseMaybeUnary(null,true,false,e);return this.finishNode(t,"AwaitExpression")};var we=re.prototype;we.raise=function(e,t){var i=getLineInfo(this.input,e);t+=" ("+i.line+":"+i.column+")";var n=new SyntaxError(t);n.pos=e;n.loc=i;n.raisedAt=this.pos;throw n};we.raiseRecoverable=we.raise;we.curPosition=function(){if(this.options.locations){return new M(this.curLine,this.pos-this.lineStart)}};var ke=re.prototype;var Ee=function Scope(e){this.flags=e;this.var=[];this.lexical=[];this.functions=[];this.inClassFieldInit=false};ke.enterScope=function(e){this.scopeStack.push(new Ee(e))};ke.exitScope=function(){this.scopeStack.pop()};ke.treatFunctionsAsVarInScope=function(e){return e.flags&J||!this.inModule&&e.flags&z};ke.declareName=function(e,t,i){var n=false;if(t===ee){var r=this.currentScope();n=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1;r.lexical.push(e);if(this.inModule&&r.flags&z){delete this.undefinedExports[e]}}else if(t===ie){var s=this.currentScope();s.lexical.push(e)}else if(t===te){var a=this.currentScope();if(this.treatFunctionsAsVar){n=a.lexical.indexOf(e)>-1}else{n=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&W&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){n=true;break}l.var.push(e);if(this.inModule&&l.flags&z){delete this.undefinedExports[e]}if(l.flags&$){break}}}if(n){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};ke.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};ke.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};ke.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&$){return t}}};ke.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&$&&!(t.flags&X)){return t}}};var Se=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new R(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var Ce=re.prototype;Ce.startNode=function(){return new Se(this,this.start,this.startLoc)};Ce.startNodeAt=function(e,t){return new Se(this,e,t)};function finishNodeAt(e,t,i,n){e.type=t;e.end=i;if(this.options.locations){e.loc.end=n}if(this.options.ranges){e.range[1]=i}return e}Ce.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Ce.finishNodeAt=function(e,t,i,n){return finishNodeAt.call(this,e,t,i,n)};Ce.copyNode=function(e){var t=new Se(this,e.start,this.startLoc);for(var i in e){t[i]=e[i]}return t};var Ae="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var _e=Ae+" Extended_Pictographic";var Te=_e;var Ie=Te+" EBase EComp EMod EPres ExtPict";var Fe=Ie;var Le={9:Ae,10:_e,11:Te,12:Ie,13:Fe};var Pe="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var De="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Ne=De+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Be=Ne+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ve=Be+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Oe=Ve+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var Me={9:De,10:Ne,11:Be,12:Ve,13:Oe};var Re={};function buildUnicodeData(e){var t=Re[e]={binary:wordsRegexp(Le[e]+" "+Pe),nonBinary:{General_Category:wordsRegexp(Pe),Script:wordsRegexp(Me[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var qe=0,je=[9,10,11,12,13];qe<je.length;qe+=1){var ze=je[qe];buildUnicodeData(ze)}var Je=re.prototype;var Ue=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Re[e.options.ecmaVersion>=13?13:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Ue.prototype.reset=function reset(e,t,i){var n=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;this.switchU=n&&this.parser.options.ecmaVersion>=6;this.switchN=n&&this.parser.options.ecmaVersion>=9};Ue.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Ue.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var n=i.length;if(e>=n){return-1}var r=i.charCodeAt(e);if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=n){return r}var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(r<<10)+s-56613888:r};Ue.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var n=i.length;if(e>=n){return n}var r=i.charCodeAt(e),s;if(!(t||this.switchU)||r<=55295||r>=57344||e+1>=n||(s=i.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};Ue.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Ue.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Ue.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Ue.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Je.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;for(var n=0;n<i.length;n++){var r=i.charAt(n);if(t.indexOf(r)===-1){this.raise(e.start,"Invalid regular expression flag")}if(i.indexOf(r,n+1)>-1){this.raise(e.start,"Duplicate regular expression flag")}}};Je.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};Je.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var n=i[t];if(e.groupNames.indexOf(n)===-1){e.raise("Invalid named capture referenced")}}};Je.regexp_disjunction=function(e){this.regexp_alternative(e);while(e.eat(124)){this.regexp_alternative(e)}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};Je.regexp_alternative=function(e){while(e.pos<e.source.length&&this.regexp_eatTerm(e)){}};Je.regexp_eatTerm=function(e){if(this.regexp_eatAssertion(e)){if(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)){if(e.switchU){e.raise("Invalid quantifier")}}return true}if(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e)){this.regexp_eatQuantifier(e);return true}return false};Je.regexp_eatAssertion=function(e){var t=e.pos;e.lastAssertionIsQuantifiable=false;if(e.eat(94)||e.eat(36)){return true}if(e.eat(92)){if(e.eat(66)||e.eat(98)){return true}e.pos=t}if(e.eat(40)&&e.eat(63)){var i=false;if(this.options.ecmaVersion>=9){i=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!i;return true}}e.pos=t;return false};Je.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Je.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Je.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var n=0,r=-1;if(this.regexp_eatDecimalDigits(e)){n=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){r=e.lastIntValue}if(e.eat(125)){if(r!==-1&&r<n&&!t){e.raise("numbers out of order in {} quantifier")}return true}}if(e.switchU&&!t){e.raise("Incomplete quantifier")}e.pos=i}return false};Je.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};Je.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e)){return true}e.pos=t}return false};Je.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){this.regexp_disjunction(e);if(e.eat(41)){return true}e.raise("Unterminated group")}e.pos=t}return false};Je.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};Je.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Je.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Je.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Je.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};Je.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};Je.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Je.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};Je.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString$1(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString$1(e.lastIntValue)}return true}return false};Je.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var n=e.current(i);e.advance(i);if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){n=e.lastIntValue}if(isRegExpIdentifierStart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Je.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var n=e.current(i);e.advance(i);if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){n=e.lastIntValue}if(isRegExpIdentifierPart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Je.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};Je.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU){if(i>e.maxBackReference){e.maxBackReference=i}return true}if(i<=e.numCapturingParens){return true}e.pos=t}return false};Je.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};Je.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Je.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Je.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Je.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};Je.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}Je.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(n&&r>=55296&&r<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(r-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=r}return true}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(n){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Je.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};Je.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};Je.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Je.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,n);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,r);return true}return false};Je.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!B(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};Je.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};Je.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString$1(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}Je.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString$1(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}Je.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Je.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};Je.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;if(e.switchU&&(t===-1||i===-1)){e.raise("Invalid character class")}if(t!==-1&&i!==-1&&t>i){e.raise("Range out of order in character class")}}}};Je.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var i=e.current();if(i===99||isOctalDigit(i)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var n=e.current();if(n!==93){e.lastIntValue=n;e.advance();return true}return false};Je.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Je.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Je.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};Je.regexp_eatDecimalDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isDecimalDigit(i=e.current())){e.lastIntValue=10*e.lastIntValue+(i-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}Je.regexp_eatHexDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isHexDigit(i=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(i);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}Je.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+i*8+e.lastIntValue}else{e.lastIntValue=t*8+i}}else{e.lastIntValue=t}return true}return false};Je.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}Je.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var r=e.current();if(!isHexDigit(r)){e.pos=i;return false}e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return true};var He=function Token(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;if(e.options.locations){this.loc=new R(e,e.startLoc,e.endLoc)}if(e.options.ranges){this.range=[e.start,e.end]}};var Xe=re.prototype;Xe.next=function(e){if(!e&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new He(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};Xe.getToken=function(){this.next();return new He(this)};if(typeof Symbol!=="undefined"){Xe[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}}Xe.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(_.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Xe.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Xe.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320){return e}var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Xe.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=i+2;if(this.options.locations){for(var n=void 0,r=t;(n=nextLineBreak(this.input,r,this.pos))>-1;){++this.curLine;r=this.lineStart=n}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())}};Xe.skipLineComment=function(e){var t=this.pos;var i=this.options.onComment&&this.curPosition();var n=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!isNewLine(n)){n=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())}};Xe.skipSpace=function(){e:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&F.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Xe.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var i=this.type;this.type=e;this.value=t;this.updateContext(i)};Xe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(_.ellipsis)}else{++this.pos;return this.finishToken(_.dot)}};Xe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(_.assign,2)}return this.finishOp(_.slash,1)};Xe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var n=e===42?_.star:_.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;n=_.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(_.assign,i+1)}return this.finishOp(n,i)};Xe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(_.assign,3)}}return this.finishOp(e===124?_.logicalOR:_.logicalAND,2)}if(t===61){return this.finishOp(_.assign,2)}return this.finishOp(e===124?_.bitwiseOR:_.bitwiseAND,1)};Xe.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(_.assign,2)}return this.finishOp(_.bitwiseXOR,1)};Xe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||T.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(_.incDec,2)}if(t===61){return this.finishOp(_.assign,2)}return this.finishOp(_.plusMin,1)};Xe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(_.assign,i+1)}return this.finishOp(_.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(_.relational,i)};Xe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(_.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(_.arrow)}return this.finishOp(e===61?_.eq:_.prefix,1)};Xe.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(_.questionDot,2)}}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61){return this.finishOp(_.assign,3)}}return this.finishOp(_.coalesce,2)}}return this.finishOp(_.question,1)};Xe.readToken_numberSign=function(){var e=this.options.ecmaVersion;var t=35;if(e>=13){++this.pos;t=this.fullCharCodeAtPos();if(isIdentifierStart(t,true)||t===92){return this.finishToken(_.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(t)+"'")};Xe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(_.parenL);case 41:++this.pos;return this.finishToken(_.parenR);case 59:++this.pos;return this.finishToken(_.semi);case 44:++this.pos;return this.finishToken(_.comma);case 91:++this.pos;return this.finishToken(_.bracketL);case 93:++this.pos;return this.finishToken(_.bracketR);case 123:++this.pos;return this.finishToken(_.braceL);case 125:++this.pos;return this.finishToken(_.braceR);case 58:++this.pos;return this.finishToken(_.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(_.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")};Xe.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};Xe.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var n=this.input.charAt(this.pos);if(T.test(n)){this.raise(i,"Unterminated regular expression")}if(!e){if(n==="["){t=true}else if(n==="]"&&t){t=false}else if(n==="/"&&!t){break}e=n==="\\"}else{e=false}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new Ue(this));o.reset(i,r,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var l=null;try{l=new RegExp(r,a)}catch(e){}return this.finishToken(_.regexp,{pattern:r,flags:a,value:l})};Xe.readInt=function(e,t,i){var n=this.options.ecmaVersion>=12&&t===undefined;var r=i&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var l=0,c=t==null?Infinity:t;l<c;++l,++this.pos){var p=this.input.charCodeAt(this.pos),f=void 0;if(n&&p===95){if(r){this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals")}if(o===95){this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore")}if(l===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}o=p;continue}if(p>=97){f=p-97+10}else if(p>=65){f=p-65+10}else if(p>=48&&p<=57){f=p-48}else{f=Infinity}if(f>=e){break}o=p;a=a*e+f}if(n&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Xe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(_.num,i)};Xe.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict){this.raise(t,"Invalid number")}var n=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&n===110){var r=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(_.num,r)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(n===46&&!i){++this.pos;this.readInt(10);n=this.input.charCodeAt(this.pos)}if((n===69||n===101)&&!i){n=this.input.charCodeAt(++this.pos);if(n===43||n===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(_.num,s)};Xe.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Xe.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var n=this.input.charCodeAt(this.pos);if(n===e){break}if(n===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else if(n===8232||n===8233){if(this.options.ecmaVersion<10){this.raise(this.start,"Unterminated string constant")}++this.pos;if(this.options.locations){this.curLine++;this.lineStart=this.pos}}else{if(isNewLine(n)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(_.string,t)};var We={};Xe.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===We){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Xe.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw We}else{this.raise(e,t)}};Xe.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===_.template||this.type===_.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(_.dollarBraceL)}else{++this.pos;return this.finishToken(_.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(_.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Xe.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(_.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};Xe.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);++this.pos;switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(this.strict){this.invalidStringToken(this.pos-1,"Invalid escape sequence")}if(e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string");return null}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var r=parseInt(n,8);if(r>255){n=n.slice(0,-1);r=parseInt(n,8)}this.pos+=n.length-1;t=this.input.charCodeAt(this.pos);if((n!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(r)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Xe.readHexChar=function(e){var t=this.pos;var i=this.readInt(16,e);if(i===null){this.invalidStringToken(t,"Bad character escape sequence")}return i};Xe.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var n=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var r=this.fullCharCodeAtPos();if(isIdentifierChar(r,n)){this.pos+=r<=65535?1:2}else if(r===92){this.containsEsc=true;e+=this.input.slice(i,this.pos);var s=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var a=this.readCodePoint();if(!(t?isIdentifierStart:isIdentifierChar)(a,n)){this.invalidStringToken(s,"Invalid Unicode escape")}e+=codePointToString(a);i=this.pos}else{break}t=false}return e+this.input.slice(i,this.pos)};Xe.readWord=function(){var e=this.readWord1();var t=_.name;if(this.keywords.test(e)){t=A[e]}return this.finishToken(t,e)};var Ge="8.7.0";re.acorn={Parser:re,version:Ge,defaultOptions:q,Position:M,SourceLocation:R,getLineInfo:getLineInfo,Node:Se,TokenType:E,tokTypes:_,keywordTypes:A,TokContext:ge,tokContexts:xe,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:He,isNewLine:isNewLine,lineBreak:T,lineBreakG:I,nonASCIIwhitespace:F};function parse(e,t){return re.parse(e,t)}function parseExpressionAt(e,t,i){return re.parseExpressionAt(e,t,i)}function tokenizer(e,t){return re.tokenizer(e,t)}var Qe=__nccwpck_require__(100);function splice(e,t,i,n){const r=e.length;let s=0;let a;if(t<0){t=-t>r?0:r+t}else{t=t>r?r:t}i=i>0?i:0;if(n.length<1e4){a=Array.from(n);a.unshift(t,i);[].splice.apply(e,a)}else{if(i)[].splice.apply(e,[t,i]);while(s<n.length){a=n.slice(s,s+1e4);a.unshift(t,0);[].splice.apply(e,a);s+=1e4;t+=1e4}}}function push(e,t){if(e.length>0){splice(e,e.length,0,t);return e}return t}const Ke={}.hasOwnProperty;function combineExtensions(e){const t={};let i=-1;while(++i<e.length){syntaxExtension(t,e[i])}return t}function syntaxExtension(e,t){let i;for(i in t){const n=Ke.call(e,i)?e[i]:undefined;const r=n||(e[i]={});const s=t[i];let a;for(a in s){if(!Ke.call(r,a))r[a]=[];const e=s[a];constructs(r[a],Array.isArray(e)?e:e?[e]:[])}}}function constructs(e,t){let i=-1;const n=[];while(++i<t.length){(t[i].add==="after"?e:n).push(t[i])}splice(e,0,0,n)}function combineHtmlExtensions(e){const t={};let i=-1;while(++i<e.length){htmlExtension(t,e[i])}return t}function htmlExtension(e,t){let i;for(i in t){const n=Ke.call(e,i)?e[i]:undefined;const r=n||(e[i]={});const s=t[i];let a;if(s){for(a in s){r[a]=s[a]}}}}const $e=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;const Ye=regexCheck(/[A-Za-z]/);const Ze=regexCheck(/\d/);const et=regexCheck(/[\dA-Fa-f]/);const tt=regexCheck(/[\dA-Za-z]/);const it=regexCheck(/[!-/:-@[-`{-~]/);const nt=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(e){return e!==null&&(e<32||e===127)}function markdownLineEndingOrSpace(e){return e!==null&&(e<0||e===32)}function markdownLineEnding(e){return e!==null&&e<-2}function markdownSpace(e){return e===-2||e===-1||e===32}const rt=regexCheck(/\s/);const st=regexCheck($e);function regexCheck(e){return check;function check(t){return t!==null&&e.test(String.fromCharCode(t))}}function factorySpace(e,t,i,n){const r=n?n-1:Number.POSITIVE_INFINITY;let s=0;return start;function start(n){if(markdownSpace(n)){e.enter(i);return prefix(n)}return t(n)}function prefix(n){if(markdownSpace(n)&&s++<r){e.consume(n);return prefix}e.exit(i);return t(n)}}function positionFromEstree(e){const t=e||{};const i=t.loc||{};const n=t.range||[0,0];const r=n[0]||t.start;const s=n[1]||t.end;return{start:{line:i.start&&typeof i.start.line==="number"&&i.start.line>-1?i.start.line:undefined,column:i.start&&typeof i.start.column==="number"&&i.start.column>-1?i.start.column+1:undefined,offset:typeof r==="number"&&r>-1?r:undefined},end:{line:i.end&&typeof i.end.line==="number"&&i.end.line>-1?i.end.line:undefined,column:i.end&&typeof i.end.column==="number"&&i.end.column>-1?i.end.column+1:undefined,offset:typeof s==="number"&&s>-1?s:undefined}}}function color(e){return"[33m"+e+"[39m"}var ot={}.hasOwnProperty;const lt=Symbol("continue");const ut=Symbol("skip");const ct=Symbol("exit");function visit(e,t){var i;var n;if(typeof t==="function"){i=t}else if(t&&typeof t==="object"){i=t.enter;n=t.leave}build(e,null,null,[])();function build(e,t,r,s){if(nodelike(e)){visit.displayName="node ("+color(e.type)+")"}return visit;function visit(){var a=i?toResult(i(e,t,r,s)):[];var o;var l;var c;var p;var f;var d;if(a[0]===ct){return a}if(a[0]!==ut){for(o in e){if(ot.call(e,o)&&e[o]&&typeof e[o]==="object"&&o!=="data"&&o!=="position"){f=e[o];c=s.concat(e);if(Array.isArray(f)){l=0;while(l>-1&&l<f.length){d=f[l];if(nodelike(d)){p=build(d,o,l,c)();if(p[0]===ct)return p;l=typeof p[1]==="number"?p[1]:l+1}else{l++}}}else if(nodelike(f)){p=build(f,o,null,c)();if(p[0]===ct)return p}}}}return n?toResult(n(e,t,r,s)):a}}}function toResult(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[lt,e]}return[e]}function nodelike(e){return Boolean(e&&typeof e==="object"&&typeof e.type==="string"&&e.type.length>0)}const pt={}.hasOwnProperty;function eventsToAcorn(e,t){const{prefix:i="",suffix:n=""}=t;const r=[];const s=Object.assign({},t.acornOptions,{onComment:r,preserveParens:true});const a=[];const o={};let l=-1;let c=false;let p;let f;let d;if(t.start){d=t.start.offset;o[t.start.line]=t.start}while(++l<e.length){const t=e[l][1];if(e[l][0]==="exit"){a.push(e[l][2].sliceSerialize(t));if(d===undefined){d=e[l][1].start.offset}if(!(t.start.line in o)||o[t.start.line].offset>t.start.offset){o[t.start.line]=t.start}}}const m=a.join("");const g=i+m+n;const x=t.expression&µmark_util_events_to_acorn_empty(m);if(x&&!t.allowEmpty){throw new VFileMessage("Unexpected empty expression",parseOffsetToUnistPoint(0),"micromark-extension-mdx-expression:unexpected-empty-expression")}try{p=t.expression&&!x?t.acorn.parseExpressionAt(g,0,s):t.acorn.parse(g,s)}catch(e){const t=e;const n=parseOffsetToUnistPoint(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,"");t.pos=n.offset;t.loc={line:n.line,column:n.column-1};f=t;c=t.raisedAt>=i.length+m.length||t.message==="Unterminated comment"}if(p&&t.expression&&!x){if(micromark_util_events_to_acorn_empty(g.slice(p.end,g.length-n.length))){p={type:"Program",start:0,end:i.length+m.length,body:[{type:"ExpressionStatement",expression:p,start:0,end:i.length+m.length}],sourceType:"module",comments:[]}}else{const e=parseOffsetToUnistPoint(p.end);f=new Error("Unexpected content after expression");f.pos=e.offset;f.loc={line:e.line,column:e.column-1};p=undefined}}if(p){p.comments=r;visit(p,((e,t,i,n)=>{let r=n[n.length-1];let s=t;if(e.type==="ParenthesizedExpression"&&r&&s){if(typeof i==="number"){r=r[s];s=i}r[s]=e.expression}const a=parseOffsetToUnistPoint(e.start);const o=parseOffsetToUnistPoint(e.end);e.start=a.offset;e.end=o.offset;e.loc={start:{line:a.line,column:a.column-1},end:{line:o.line,column:o.column-1}};e.range=[e.start,e.end]}))}return{estree:p,error:f,swallow:c};function parseOffsetToUnistPoint(e){let t=e-i.length;let n;let r;if(t<0){t=0}else if(t>m.length){t=m.length}t+=d;for(n in o){if(pt.call(o,n)){if(!r){r=o[n]}if(o[n].offset>e){break}r=o[n]}}return{line:r.line,column:r.column+(t-r.offset),offset:t}}}function micromark_util_events_to_acorn_empty(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function factoryMdxExpression(e,t,i,n,r,s,a,o,l,c,p,f){const d=this;const m=this.events.length+3;const g=this.events[this.events.length-1];const x=g&&g[1].type==="linePrefix"?g[2].sliceSerialize(g[1],true).length:0;const y=x?x+1:0;let v=1;let b;let w;return start;function start(t){e.enter(i);e.enter(n);e.consume(t);e.exit(n);b=d.now();return atBreak}function atBreak(t){if(t===null){throw w||new VFileMessage("Unexpected end of file in expression, expected a corresponding closing brace for `{`",d.now(),"micromark-extension-mdx-expression:unexpected-eof")}if(t===125){return atClosingBrace(t)}if(markdownLineEnding(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");const i=f?f+4-d.now().column:0;const n=Math.max(y,i);return n?factorySpace(e,atBreak,"linePrefix",n):atBreak}const i=d.now();if(i.line!==b.line&&!p&&d.parser.lazy[i.line]){throw new VFileMessage("Unexpected end of file in expression, expected a corresponding closing brace for `{`",d.now(),"micromark-extension-mdx-expression:unexpected-eof")}e.enter(r);return inside(t)}function inside(t){if(t===null||t===125||markdownLineEnding(t)){e.exit(r);return atBreak(t)}if(t===123&&!s){e.consume(t);v++;return inside}e.consume(t);return inside}function atClosingBrace(p){v--;if(!s){if(v){e.enter(r);e.consume(p);return inside}e.enter(n);e.consume(p);e.exit(n);e.exit(i);return t}const f=eventsToAcorn(d.events.slice(m),{acorn:s,acornOptions:a,start:b,expression:true,allowEmpty:c,prefix:l?"({":"",suffix:l?"})":""});const g=f.estree;if(l&&g){const e=g.body[0];if(e.type!=="ExpressionStatement"||e.expression.type!=="ObjectExpression"){throw new VFileMessage("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",positionFromEstree(e).start,"micromark-extension-mdx-expression:non-spread")}else if(e.expression.properties[1]){throw new VFileMessage("Unexpected extra content in spread: only a single spread is supported",positionFromEstree(e.expression.properties[1]).start,"micromark-extension-mdx-expression:spread-extra")}else if(e.expression.properties[0]&&e.expression.properties[0].type!=="SpreadElement"){throw new VFileMessage("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",positionFromEstree(e.expression.properties[0]).start,"micromark-extension-mdx-expression:non-spread")}}if(f.error){w=new VFileMessage("Could not parse expression with acorn: "+f.error.message,{line:f.error.loc.line,column:f.error.loc.column+1,offset:f.error.pos},"micromark-extension-mdx-expression:acorn");if(p!==null&&f.swallow){e.enter(r);e.consume(p);return inside}throw w}e.enter(n);e.consume(p);e.exit(n);Object.assign(e.exit(i),o?{estree:g}:undefined);return t}}function mdxExpression(e={}){const t=e.addResult;const i=e.acorn;const n=e.spread;let r=e.allowEmpty;let s;if(r===null||r===undefined){r=true}if(i){if(!i.parseExpressionAt){throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`")}s=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions)}else if(e.acornOptions||e.addResult){throw new Error("Expected an `acorn` instance passed in as `options.acorn`")}return{flow:{[123]:{tokenize:tokenizeFlowExpression,concrete:true}},text:{[123]:{tokenize:tokenizeTextExpression}}};function tokenizeFlowExpression(e,a,o){const l=this;return start;function start(a){return factoryMdxExpression.call(l,e,factorySpace(e,after,"whitespace"),"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",i,s,t,n,r)(a)}function after(e){return e===null||markdownLineEnding(e)?a(e):o(e)}}function tokenizeTextExpression(e,a){const o=this;return start;function start(l){return factoryMdxExpression.call(o,e,a,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",i,s,t,n,r,true)(l)}}}var ht=/[$A-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\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]/;var ft=/[\d\u00B7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\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\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]/;function estree_util_is_identifier_name_start(e){return ht.test(String.fromCharCode(e))}function estree_util_is_identifier_name_cont(e){var t=String.fromCharCode(e);return ht.test(t)||ft.test(t)}function estree_util_is_identifier_name_name(e){var t=-1;while(++t<e.length){if(!(t?estree_util_is_identifier_name_cont:estree_util_is_identifier_name_start)(e.charCodeAt(t)))return false}return t>0}const dt={tokenize:tokenizeLazyLineEnd,partial:true};function factoryTag(e,t,i,n,r,s,a,o,l,c,p,f,d,m,g,x,y,v,b,w,k,E,S,C,A,_,T,I,F,L,P,D){const N=this;let B;let V;let O;return start;function start(t){O=N.now();e.enter(o);e.enter(l);e.consume(t);e.exit(l);return afterStart}function afterStart(e){if(markdownLineEnding(e)||markdownSpace(e)){return i(e)}B=beforeName;return optionalEsWhitespace(e)}function beforeName(t){if(t===47){e.enter(c);e.consume(t);e.exit(c);B=beforeClosingTagName;return optionalEsWhitespace}if(t===62){return tagEnd(t)}if(t!==null&&estree_util_is_identifier_name_start(t)){e.enter(f);e.enter(d);e.consume(t);return primaryName}crash(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(t===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function beforeClosingTagName(t){if(t===62){return tagEnd(t)}if(t!==null&&estree_util_is_identifier_name_start(t)){e.enter(f);e.enter(d);e.consume(t);return primaryName}crash(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(t===42||t===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function primaryName(t){if(t===45||t!==null&&estree_util_is_identifier_name_cont(t)){e.consume(t);return primaryName}if(t===46||t===47||t===58||t===62||t===123||markdownLineEndingOrSpace(t)||rt(t)){e.exit(d);B=afterPrimaryName;return optionalEsWhitespace(t)}crash(t,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(t===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function afterPrimaryName(t){if(t===46){e.enter(m);e.consume(t);e.exit(m);B=beforeMemberName;return optionalEsWhitespace}if(t===58){e.enter(x);e.consume(t);e.exit(x);B=beforeLocalName;return optionalEsWhitespace}if(t===47||t===62||t===123||t!==null&&estree_util_is_identifier_name_start(t)){e.exit(f);return beforeAttribute(t)}crash(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function beforeMemberName(t){if(t!==null&&estree_util_is_identifier_name_start(t)){e.enter(g);e.consume(t);return memberName}crash(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function memberName(t){if(t===45||t!==null&&estree_util_is_identifier_name_cont(t)){e.consume(t);return memberName}if(t===46||t===47||t===62||t===123||markdownLineEndingOrSpace(t)||rt(t)){e.exit(g);B=afterMemberName;return optionalEsWhitespace(t)}crash(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(t===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function afterMemberName(t){if(t===46){e.enter(m);e.consume(t);e.exit(m);B=beforeMemberName;return optionalEsWhitespace}if(t===47||t===62||t===123||t!==null&&estree_util_is_identifier_name_start(t)){e.exit(f);return beforeAttribute(t)}crash(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function beforeLocalName(t){if(t!==null&&estree_util_is_identifier_name_start(t)){e.enter(y);e.consume(t);return localName}crash(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(t===43||t!==null&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function localName(t){if(t===45||t!==null&&estree_util_is_identifier_name_cont(t)){e.consume(t);return localName}if(t===47||t===62||t===123||markdownLineEndingOrSpace(t)||rt(t)){e.exit(y);B=afterLocalName;return optionalEsWhitespace(t)}crash(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function afterLocalName(t){if(t===47||t===62||t===123||t!==null&&estree_util_is_identifier_name_start(t)){e.exit(f);return beforeAttribute(t)}crash(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function beforeAttribute(t){if(t===47){e.enter(p);e.consume(t);e.exit(p);B=selfClosing;return optionalEsWhitespace}if(t===62){return tagEnd(t)}if(t===123){return factoryMdxExpression.call(N,e,afterAttributeExpression,v,b,w,n,r,s,true,false,a,O.column)(t)}if(t!==null&&estree_util_is_identifier_name_start(t)){e.enter(k);e.enter(E);e.enter(S);e.consume(t);return attributePrimaryName}crash(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function afterAttributeExpression(e){B=beforeAttribute;return optionalEsWhitespace(e)}function attributePrimaryName(t){if(t===45||t!==null&&estree_util_is_identifier_name_cont(t)){e.consume(t);return attributePrimaryName}if(t===47||t===58||t===61||t===62||t===123||markdownLineEndingOrSpace(t)||rt(t)){e.exit(S);B=afterAttributePrimaryName;return optionalEsWhitespace(t)}crash(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function afterAttributePrimaryName(t){if(t===58){e.enter(C);e.consume(t);e.exit(C);B=beforeAttributeLocalName;return optionalEsWhitespace}if(t===61){e.exit(E);e.enter(_);e.consume(t);e.exit(_);B=beforeAttributeValue;return optionalEsWhitespace}if(t===47||t===62||t===123||markdownLineEndingOrSpace(t)||rt(t)||t!==null&&estree_util_is_identifier_name_start(t)){e.exit(E);e.exit(k);B=beforeAttribute;return optionalEsWhitespace(t)}crash(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function beforeAttributeLocalName(t){if(t!==null&&estree_util_is_identifier_name_start(t)){e.enter(A);e.consume(t);return attributeLocalName}crash(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function attributeLocalName(t){if(t===45||t!==null&&estree_util_is_identifier_name_cont(t)){e.consume(t);return attributeLocalName}if(t===47||t===61||t===62||t===123||markdownLineEndingOrSpace(t)||rt(t)){e.exit(A);e.exit(E);B=afterAttributeLocalName;return optionalEsWhitespace(t)}crash(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function afterAttributeLocalName(t){if(t===61){e.enter(_);e.consume(t);e.exit(_);B=beforeAttributeValue;return optionalEsWhitespace}if(t===47||t===62||t===123||t!==null&&estree_util_is_identifier_name_start(t)){e.exit(k);return beforeAttribute(t)}crash(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function beforeAttributeValue(t){if(t===34||t===39){e.enter(T);e.enter(I);e.consume(t);e.exit(I);V=t;return attributeValueQuotedStart}if(t===123){return factoryMdxExpression.call(N,e,afterAttributeValueExpression,L,P,D,n,r,s,false,false,a,O.column)(t)}crash(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(t===60?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function afterAttributeValueExpression(t){e.exit(k);B=beforeAttribute;return optionalEsWhitespace(t)}function attributeValueQuotedStart(t){if(t===null){crash(t,"in attribute value","a corresponding closing quote `"+String.fromCharCode(V)+"`")}if(t===V){e.enter(I);e.consume(t);e.exit(I);e.exit(T);e.exit(k);V=undefined;B=beforeAttribute;return optionalEsWhitespace}if(markdownLineEnding(t)){B=attributeValueQuotedStart;return optionalEsWhitespace(t)}e.enter(F);return attributeValueQuoted(t)}function attributeValueQuoted(t){if(t===null||t===V||markdownLineEnding(t)){e.exit(F);return attributeValueQuotedStart(t)}e.consume(t);return attributeValueQuoted}function selfClosing(e){if(e===62){return tagEnd(e)}crash(e,"after self-closing slash","`>` to end the tag"+(e===42||e===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function tagEnd(i){e.enter(l);e.consume(i);e.exit(l);e.exit(o);return t}function optionalEsWhitespace(t){if(markdownLineEnding(t)){if(a){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return factorySpace(e,optionalEsWhitespace,"linePrefix",4)}return e.attempt(dt,factorySpace(e,optionalEsWhitespace,"linePrefix",4),crashEol)(t)}if(markdownSpace(t)||rt(t)){e.enter("esWhitespace");return optionalEsWhitespaceContinue(t)}return B(t)}function optionalEsWhitespaceContinue(t){if(markdownLineEnding(t)||!(markdownSpace(t)||rt(t))){e.exit("esWhitespace");return optionalEsWhitespace(t)}e.consume(t);return optionalEsWhitespaceContinue}function crashEol(){throw new VFileMessage("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",N.now(),"micromark-extension-mdx-jsx:unexpected-eof")}function crash(e,t,i){throw new VFileMessage("Unexpected "+(e===null?"end of file":"character `"+(e===96?"` ` `":String.fromCharCode(e))+"` ("+serializeCharCode(e)+")")+" "+t+", expected "+i,N.now(),"micromark-extension-mdx-jsx:unexpected-"+(e===null?"eof":"character"))}}function tokenizeLazyLineEnd(e,t,i){const n=this;return start;function start(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return lineStart}function lineStart(e){return n.parser.lazy[n.now().line]?i(e):t(e)}}function serializeCharCode(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function jsxText(e,t,i){return{tokenize:tokenizeJsxText};function tokenizeJsxText(n,r,s){return factoryTag.call(this,n,r,s,e,t,i,true,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}function jsxFlow(e,t,i){return{tokenize:tokenizeJsxFlow,concrete:true};function tokenizeJsxFlow(n,r,s){const a=this;return start;function start(r){return factoryTag.call(a,n,factorySpace(n,after,"whitespace"),s,e,t,i,false,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(r)}function after(e){return e===60?start(e):e===null||markdownLineEnding(e)?r(e):s(e)}}}function mdxJsx(e={}){const t=e.acorn;let i;if(t){if(!t.parse||!t.parseExpressionAt){throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`")}i=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions,{locations:true})}else if(e.acornOptions||e.addResult){throw new Error("Expected an `acorn` instance passed in as `options.acorn`")}return{flow:{[60]:jsxFlow(t,i,e.addResult)},text:{[60]:jsxText(t,i,e.addResult)}}}const mt={disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}};const gt={tokenize:tokenizeBlankLine,partial:true};function tokenizeBlankLine(e,t,i){return factorySpace(e,afterWhitespace,"linePrefix");function afterWhitespace(e){return e===null||markdownLineEnding(e)?t(e):i(e)}}const xt={tokenize:tokenizeNextBlank,partial:true};const yt=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function mdxjsEsm(e){const t={tokenize:tokenizeExportImport,concrete:true};if(!e||!e.acorn||!e.acorn.parse){throw new Error("Expected an `acorn` instance passed in as `options.acorn`")}const i=e.acorn;const n=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions);return{flow:{[101]:t,[105]:t}};function tokenizeExportImport(t,r,s){const a=this;const o=a.parser.definedModuleSpecifiers||(a.parser.definedModuleSpecifiers=[]);const l=this.events.length+1;let c=0;let p;return a.interrupt?s:start;function start(e){if(a.now().column>1)return s(e);p=e===101?"export":"import";t.enter("mdxjsEsm");t.enter("mdxjsEsmData");return keyword(e)}function keyword(e){if(e===p.charCodeAt(c++)){t.consume(e);return c===p.length?after:keyword}return s(e)}function after(e){if(rt(e)){t.consume(e);return rest}return s(e)}function rest(e){if(e===null){return atEnd(e)}if(markdownLineEnding(e)){return t.check(xt,atEnd,atEol)(e)}t.consume(e);return rest}function atEol(e){t.exit("mdxjsEsmData");return lineStart(e)}function lineStart(e){if(markdownLineEnding(e)){t.enter("lineEnding");t.consume(e);t.exit("lineEnding");return lineStart}t.enter("mdxjsEsmData");return rest(e)}function atEnd(s){t.exit("mdxjsEsmData");let c=-1;const p=eventsToAcorn(a.events.slice(l),{acorn:i,acornOptions:n,prefix:o.length>0?"var "+o.join(",")+"\n":""});if(s!==null&&p.swallow){return lineStart(s)}if(p.error){throw new VFileMessage("Could not parse import/exports with acorn: "+String(p.error),{line:p.error.loc.line,column:p.error.loc.column+1,offset:p.error.pos},"micromark-extension-mdxjs-esm:acorn")}if(o.length>0){p.estree.body.shift()}while(++c<p.estree.body.length){const e=p.estree.body[c];if(!yt.has(e.type)){throw new VFileMessage("Unexpected `"+e.type+"` in code: only import/exports are supported",positionFromEstree(e),"micromark-extension-mdxjs-esm:non-esm")}if(e.type==="ImportDeclaration"&&!a.interrupt){let t=-1;while(++t<e.specifiers.length){o.push(e.specifiers[t].local.name)}}}Object.assign(t.exit("mdxjsEsm"),e.addResult?{estree:p.estree}:undefined);return r(s)}}}function tokenizeNextBlank(e,t,i){return start;function start(n){e.exit("mdxjsEsmData");e.enter("lineEndingBlank");e.consume(n);e.exit("lineEndingBlank");return e.attempt(gt,t,i)}}function mdxjs(e){const t=Object.assign({acorn:re.extend(Qe()),acornOptions:{ecmaVersion:2020,sourceType:"module"},addResult:true},e);return combineExtensions([mdxjsEsm(t),mdxExpression(t),mdxJsx(t),mt])}const vt={enter:{mdxFlowExpression:enterMdxFlowExpression,mdxTextExpression:enterMdxTextExpression},exit:{mdxFlowExpression:exitMdxExpression,mdxFlowExpressionChunk:exitMdxExpressionData,mdxTextExpression:exitMdxExpression,mdxTextExpressionChunk:exitMdxExpressionData}};const bt={handlers:{mdxFlowExpression:handleMdxExpression,mdxTextExpression:handleMdxExpression},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:true,character:"{"}]};function enterMdxFlowExpression(e){this.enter({type:"mdxFlowExpression",value:""},e);this.buffer()}function enterMdxTextExpression(e){this.enter({type:"mdxTextExpression",value:""},e);this.buffer()}function exitMdxExpression(e){const t=this.resume();const i=e.estree;const n=this.exit(e);n.value=t;if(i){n.data={estree:i}}}function exitMdxExpressionData(e){this.config.enter.data.call(this,e);this.config.exit.data.call(this,e)}function handleMdxExpression(e){const t=e.value||"";return"{"+t+"}"}function ccount(e,t){const i=String(e);if(typeof t!=="string"){throw new TypeError("Expected character")}let n=0;let r=i.indexOf(t);while(r!==-1){n++;r=i.indexOf(t,r+t.length)}return n}const wt=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];const kt={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function isDecimal(e){const t=typeof e==="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function isHexadecimal(e){const t=typeof e==="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function isAlphabetical(e){const t=typeof e==="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function isAlphanumerical(e){return isAlphabetical(e)||isDecimal(e)}const Et={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""};const St={}.hasOwnProperty;function decodeNamedCharacterReference(e){return St.call(Et,e)?Et[e]:false}const Ct=String.fromCharCode;const At=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function parseEntities(e,t={}){const i=typeof t.additional==="string"?t.additional.charCodeAt(0):t.additional;const n=[];let r=0;let s=-1;let a="";let o;let l;if(t.position){if("start"in t.position||"indent"in t.position){l=t.position.indent;o=t.position.start}else{o=t.position}}let c=(o?o.line:0)||1;let p=(o?o.column:0)||1;let f=now();let d;r--;while(++r<=e.length){if(d===10){p=(l?l[s]:0)||1}d=e.charCodeAt(r);if(d===38){const s=e.charCodeAt(r+1);if(s===9||s===10||s===12||s===32||s===38||s===60||Number.isNaN(s)||i&&s===i){a+=Ct(d);p++;continue}const o=r+1;let l=o;let c=o;let m;if(s===35){c=++l;const t=e.charCodeAt(c);if(t===88||t===120){m="hexadecimal";c=++l}else{m="decimal"}}else{m="named"}let g="";let x="";let y="";const v=m==="named"?isAlphanumerical:m==="decimal"?isDecimal:isHexadecimal;c--;while(++c<=e.length){const t=e.charCodeAt(c);if(!v(t)){break}y+=Ct(t);if(m==="named"&&wt.includes(y)){g=y;x=decodeNamedCharacterReference(y)}}let b=e.charCodeAt(c)===59;if(b){c++;const e=m==="named"?decodeNamedCharacterReference(y):false;if(e){g=y;x=e}}let w=1+c-o;let k="";if(!b&&t.nonTerminated===false){}else if(!y){if(m!=="named"){warning(4,w)}}else if(m==="named"){if(b&&!x){warning(5,1)}else{if(g!==y){c=l+g.length;w=1+c-l;b=false}if(!b){const i=g?1:3;if(t.attribute){const t=e.charCodeAt(c);if(t===61){warning(i,w);x=""}else if(isAlphanumerical(t)){x=""}else{warning(i,w)}}else{warning(i,w)}}}k=x}else{if(!b){warning(2,w)}let e=Number.parseInt(y,m==="hexadecimal"?16:10);if(prohibited(e)){warning(7,w);k=Ct(65533)}else if(e in kt){warning(6,w);k=kt[e]}else{let t="";if(disallowed(e)){warning(6,w)}if(e>65535){e-=65536;t+=Ct(e>>>(10&1023)|55296);e=56320|e&1023}k=t+Ct(e)}}if(k){flush();f=now();r=c-1;p+=c-o+1;n.push(k);const i=now();i.offset++;if(t.reference){t.reference.call(t.referenceContext,k,{start:f,end:i},e.slice(o-1,c))}f=i}else{y=e.slice(o-1,c);a+=y;p+=y.length;r=c-1}}else{if(d===10){c++;s++;p=0}if(Number.isNaN(d)){flush()}else{a+=Ct(d);p++}}}return n.join("");function now(){return{line:c,column:p,offset:r+((o?o.offset:0)||0)}}function warning(e,i){let n;if(t.warning){n=now();n.column+=i;n.offset+=i;t.warning.call(t.warningContext,At[e],n,e)}}function flush(){if(a){n.push(a);if(t.text){t.text.call(t.textContext,a,{start:f,end:now()})}a=""}}}function prohibited(e){return e>=55296&&e<=57343||e>1114111}function disallowed(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}function core_core(e,t){e=e.replace(t.subset?charactersToExpression(t.subset):/["&'<>`]/g,basic);if(t.subset||t.escapeOnly){return e}return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,surrogate).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,basic);function surrogate(e,i,n){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(i+2),t)}function basic(e,i,n){return t.format(e.charCodeAt(0),n.charCodeAt(i+1),t)}}function charactersToExpression(e){const t=[];let i=-1;while(++i<e.length){t.push(e[i].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"))}return new RegExp("(?:"+t.join("|")+")","g")}function formatBasic(e){return"&#x"+e.toString(16).toUpperCase()+";"}function stringifyEntities(e,t){return core(e,Object.assign({format:formatSmart},t))}function stringifyEntitiesLight(e,t){return core_core(e,Object.assign({format:formatBasic},t))}function track(e){const t=e||{};const i=t.now||{};let n=t.lineShift||0;let r=i.line||1;let s=i.column||1;return{move:move,current:current,shift:shift};function current(){return{now:{line:r,column:s},lineShift:n}}function shift(e){n+=e}function move(e=""){const t=e.split(/\r?\n|\r/g);const i=t[t.length-1];r+=t.length-1;s=t.length===1?s+i.length:1+i.length+n;return e}}function containerFlow(e,t,i){const n=t.indexStack;const r=e.children||[];const s=track(i);const a=[];let o=-1;n.push(-1);while(++o<r.length){const i=r[o];n[n.length-1]=o;a.push(s.move(t.handle(i,e,t,{before:"\n",after:"\n",...s.current()})));if(i.type!=="list"){t.bulletLastUsed=undefined}if(o<r.length-1){a.push(s.move(between(i,r[o+1])))}}n.pop();return a.join("");function between(i,n){let r=t.join.length;while(r--){const s=t.join[r](i,n,e,t);if(s===true||s===1){break}if(typeof s==="number"){return"\n".repeat(1+s)}if(s===false){return"\n\n\x3c!----\x3e\n\n"}}return"\n\n"}}function containerPhrasing(e,t,i){const n=t.indexStack;const r=e.children||[];const s=[];let a=-1;let o=i.before;n.push(-1);let l=track(i);while(++a<r.length){const c=r[a];let p;n[n.length-1]=a;if(a+1<r.length){let i=t.handle.handlers[r[a+1].type];if(i&&i.peek)i=i.peek;p=i?i(r[a+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else{p=i.after}if(s.length>0&&(o==="\r"||o==="\n")&&c.type==="html"){s[s.length-1]=s[s.length-1].replace(/(\r?\n|\r)$/," ");o=" ";l=track(i);l.move(s.join(""))}s.push(l.move(t.handle(c,e,t,{...l.current(),before:o,after:p})));o=s[s.length-1].slice(-1)}n.pop();return s.join("")}const _t=/\r?\n|\r/g;function indentLines(e,t){const i=[];let n=0;let r=0;let s;while(s=_t.exec(e)){one(e.slice(n,s.index));i.push(s[0]);n=s.index+s[0].length;r++}one(e.slice(n));return i.join("");function one(e){i.push(t(e,r,!e))}}function mdxJsxFromMarkdown(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:enterMdxJsxTag,mdxJsxFlowTagClosingMarker:enterMdxJsxTagClosingMarker,mdxJsxFlowTagAttribute:enterMdxJsxTagAttribute,mdxJsxFlowTagExpressionAttribute:enterMdxJsxTagExpressionAttribute,mdxJsxFlowTagAttributeValueLiteral:buffer,mdxJsxFlowTagAttributeValueExpression:buffer,mdxJsxFlowTagSelfClosingMarker:enterMdxJsxTagSelfClosingMarker,mdxJsxTextTag:enterMdxJsxTag,mdxJsxTextTagClosingMarker:enterMdxJsxTagClosingMarker,mdxJsxTextTagAttribute:enterMdxJsxTagAttribute,mdxJsxTextTagExpressionAttribute:enterMdxJsxTagExpressionAttribute,mdxJsxTextTagAttributeValueLiteral:buffer,mdxJsxTextTagAttributeValueExpression:buffer,mdxJsxTextTagSelfClosingMarker:enterMdxJsxTagSelfClosingMarker},exit:{mdxJsxFlowTagClosingMarker:exitMdxJsxTagClosingMarker,mdxJsxFlowTagNamePrimary:exitMdxJsxTagNamePrimary,mdxJsxFlowTagNameMember:exitMdxJsxTagNameMember,mdxJsxFlowTagNameLocal:exitMdxJsxTagNameLocal,mdxJsxFlowTagExpressionAttribute:exitMdxJsxTagExpressionAttribute,mdxJsxFlowTagExpressionAttributeValue:data,mdxJsxFlowTagAttributeNamePrimary:exitMdxJsxTagAttributeNamePrimary,mdxJsxFlowTagAttributeNameLocal:exitMdxJsxTagAttributeNameLocal,mdxJsxFlowTagAttributeValueLiteral:exitMdxJsxTagAttributeValueLiteral,mdxJsxFlowTagAttributeValueLiteralValue:data,mdxJsxFlowTagAttributeValueExpression:exitMdxJsxTagAttributeValueExpression,mdxJsxFlowTagAttributeValueExpressionValue:data,mdxJsxFlowTagSelfClosingMarker:exitMdxJsxTagSelfClosingMarker,mdxJsxFlowTag:exitMdxJsxTag,mdxJsxTextTagClosingMarker:exitMdxJsxTagClosingMarker,mdxJsxTextTagNamePrimary:exitMdxJsxTagNamePrimary,mdxJsxTextTagNameMember:exitMdxJsxTagNameMember,mdxJsxTextTagNameLocal:exitMdxJsxTagNameLocal,mdxJsxTextTagExpressionAttribute:exitMdxJsxTagExpressionAttribute,mdxJsxTextTagExpressionAttributeValue:data,mdxJsxTextTagAttributeNamePrimary:exitMdxJsxTagAttributeNamePrimary,mdxJsxTextTagAttributeNameLocal:exitMdxJsxTagAttributeNameLocal,mdxJsxTextTagAttributeValueLiteral:exitMdxJsxTagAttributeValueLiteral,mdxJsxTextTagAttributeValueLiteralValue:data,mdxJsxTextTagAttributeValueExpression:exitMdxJsxTagAttributeValueExpression,mdxJsxTextTagAttributeValueExpressionValue:data,mdxJsxTextTagSelfClosingMarker:exitMdxJsxTagSelfClosingMarker,mdxJsxTextTag:exitMdxJsxTag}};function buffer(){this.buffer()}function data(e){this.config.enter.data.call(this,e);this.config.exit.data.call(this,e)}function enterMdxJsxTag(e){const t={name:null,attributes:[],start:e.start,end:e.end};if(!this.getData("mdxJsxTagStack"))this.setData("mdxJsxTagStack",[]);this.setData("mdxJsxTag",t);this.buffer()}function enterMdxJsxTagClosingMarker(e){const t=this.getData("mdxJsxTagStack");if(t.length===0){throw new VFileMessage("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}}function enterMdxJsxTagAnyAttribute(e){const t=this.getData("mdxJsxTag");if(t.close){throw new VFileMessage("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}}function enterMdxJsxTagSelfClosingMarker(e){const t=this.getData("mdxJsxTag");if(t.close){throw new VFileMessage("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}}function exitMdxJsxTagClosingMarker(){const e=this.getData("mdxJsxTag");e.close=true}function exitMdxJsxTagNamePrimary(e){const t=this.getData("mdxJsxTag");t.name=this.sliceSerialize(e)}function exitMdxJsxTagNameMember(e){const t=this.getData("mdxJsxTag");t.name+="."+this.sliceSerialize(e)}function exitMdxJsxTagNameLocal(e){const t=this.getData("mdxJsxTag");t.name+=":"+this.sliceSerialize(e)}function enterMdxJsxTagAttribute(e){const t=this.getData("mdxJsxTag");enterMdxJsxTagAnyAttribute.call(this,e);t.attributes.push({type:"mdxJsxAttribute",name:"",value:null})}function enterMdxJsxTagExpressionAttribute(e){const t=this.getData("mdxJsxTag");enterMdxJsxTagAnyAttribute.call(this,e);t.attributes.push({type:"mdxJsxExpressionAttribute",value:""});this.buffer()}function exitMdxJsxTagExpressionAttribute(e){const t=this.getData("mdxJsxTag");const i=t.attributes[t.attributes.length-1];const n=e.estree;i.value=this.resume();if(n){i.data={estree:n}}}function exitMdxJsxTagAttributeNamePrimary(e){const t=this.getData("mdxJsxTag");const i=t.attributes[t.attributes.length-1];i.name=this.sliceSerialize(e)}function exitMdxJsxTagAttributeNameLocal(e){const t=this.getData("mdxJsxTag");const i=t.attributes[t.attributes.length-1];i.name+=":"+this.sliceSerialize(e)}function exitMdxJsxTagAttributeValueLiteral(){const e=this.getData("mdxJsxTag");e.attributes[e.attributes.length-1].value=parseEntities(this.resume(),{nonTerminated:false})}function exitMdxJsxTagAttributeValueExpression(e){const t=this.getData("mdxJsxTag");const i=t.attributes[t.attributes.length-1];const n={type:"mdxJsxAttributeValueExpression",value:this.resume()};const r=e.estree;if(r){n.data={estree:r}}i.value=n}function exitMdxJsxTagSelfClosingMarker(){const e=this.getData("mdxJsxTag");e.selfClosing=true}function exitMdxJsxTag(e){const t=this.getData("mdxJsxTag");const i=this.getData("mdxJsxTagStack");const n=i[i.length-1];if(t.close&&n.name!==t.name){throw new VFileMessage("Unexpected closing tag `"+serializeAbbreviatedTag(t)+"`, expected corresponding closing tag for `"+serializeAbbreviatedTag(n)+"` ("+stringifyPosition(n)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}this.resume();if(t.close){i.pop()}else{this.enter({type:e.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name,attributes:t.attributes,children:[]},e,onErrorRightIsTag)}if(t.selfClosing||t.close){this.exit(e,onErrorLeftIsTag)}else{i.push(t)}}function onErrorRightIsTag(e,t){const i=this.getData("mdxJsxTag");const n=e?" before the end of `"+e.type+"`":"";const r=e?{start:e.start,end:e.end}:undefined;throw new VFileMessage("Expected a closing tag for `"+serializeAbbreviatedTag(i)+"` ("+stringifyPosition({start:t.start,end:t.end})+")"+n,r,"mdast-util-mdx-jsx:end-tag-mismatch")}function onErrorLeftIsTag(e,t){const i=this.getData("mdxJsxTag");throw new VFileMessage("Expected the closing tag `"+serializeAbbreviatedTag(i)+"` either after the end of `"+t.type+"` ("+stringifyPosition(t.end)+") or another opening tag after the start of `"+t.type+"` ("+stringifyPosition(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function serializeAbbreviatedTag(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}function mdxJsxToMarkdown(e={}){const{quote:t='"',quoteSmart:i,tightSelfClosing:n,printWidth:r=Number.POSITIVE_INFINITY}=e;const s=t==='"'?"'":'"';if(t!=='"'&&t!=="'"){throw new Error("Cannot serialize attribute values with `"+t+"` for `options.quote`, expected `\"`, or `'`")}mdxElement.peek=peekElement;return{handlers:{mdxJsxFlowElement:mdxElement,mdxJsxTextElement:mdxElement},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:true,character:"<"}],fences:true,resourceLink:true};function mdxElement(e,a,o,l){const c=track(l);const p=e.name&&(!e.children||e.children.length===0);const f=o.enter(e.type);let d=-1;const m=[];let g=c.move("<"+(e.name||""));if(e.attributes&&e.attributes.length>0){if(!e.name){throw new Error("Cannot serialize fragment w/ attributes")}while(++d<e.attributes.length){const n=e.attributes[d];let r;if(n.type==="mdxJsxExpressionAttribute"){r="{"+(n.value||"")+"}"}else{if(!n.name){throw new Error("Cannot serialize attribute w/o name")}const e=n.value;const a=n.name;let o="";if(e===undefined||e===null){}else if(typeof e==="object"){o="{"+(e.value||"")+"}"}else{const n=i&&ccount(e,t)>ccount(e,s)?s:t;o=n+stringifyEntitiesLight(e,{subset:[n]})+n}r=a+(o?"=":"")+o}m.push(r)}}let x=false;const y=m.join(" ");if(e.type==="mdxJsxFlowElement"&&(/\r?\n|\r/.test(y)||c.current().now.column+y.length+(p?n?2:3:1)>r)){x=true}if(x){g+=c.move("\n"+indentLines(m.join("\n"),map))}else if(y){g+=c.move(" "+y)}if(x){g+=c.move("\n")}if(p){g+=c.move((n||x?"":" ")+"/")}g+=c.move(">");if(e.children&&e.children.length>0){if(e.type==="mdxJsxFlowElement"){c.shift(2);g+=c.move("\n");g+=c.move(indentLines(containerFlow(e,o,c.current()),map));g+=c.move("\n")}else{g+=c.move(containerPhrasing(e,o,{...c.current(),before:"<",after:">"}))}}if(!p){g+=c.move("</"+(e.name||"")+">")}f();return g}function map(e,t,i){return(i?"":" ")+e}function peekElement(){return"<"}}const Tt={enter:{mdxjsEsm:enterMdxjsEsm},exit:{mdxjsEsm:exitMdxjsEsm,mdxjsEsmData:exitMdxjsEsmData}};const It={handlers:{mdxjsEsm:handleMdxjsEsm}};function enterMdxjsEsm(e){this.enter({type:"mdxjsEsm",value:""},e);this.buffer()}function exitMdxjsEsm(e){const t=this.resume();const i=this.exit(e);const n=e.estree;i.value=t;if(n){i.data={estree:n}}}function exitMdxjsEsmData(e){this.config.enter.data.call(this,e);this.config.exit.data.call(this,e)}function handleMdxjsEsm(e){return e.value||""}function mdxFromMarkdown(){return[vt,mdxJsxFromMarkdown(),Tt]}function mdxToMarkdown(e){return{extensions:[bt,mdxJsxToMarkdown(e),It]}}function remarkMdx(e={}){const t=this.data();add("micromarkExtensions",mdxjs(e));add("fromMarkdownExtensions",mdxFromMarkdown());add("toMarkdownExtensions",mdxToMarkdown(e));function add(e,i){const n=t[e]?t[e]:t[e]=[];n.push(i)}}function mdast_util_to_string_toString(e,t){var{includeImageAlt:i=true}=t||{};return one(e,i)}function one(e,t){return e&&typeof e==="object"&&(e.value||(t?e.alt:"")||"children"in e&&mdast_util_to_string_all(e.children,t)||Array.isArray(e)&&mdast_util_to_string_all(e,t))||""}function mdast_util_to_string_all(e,t){var i=[];var n=-1;while(++n<e.length){i[n]=one(e[n],t)}return i.join("")}const Ft={tokenize:initializeContent};function initializeContent(e){const t=e.attempt(this.parser.constructs.contentInitial,afterContentStartConstruct,paragraphInitial);let i;return t;function afterContentStartConstruct(i){if(i===null){e.consume(i);return}e.enter("lineEnding");e.consume(i);e.exit("lineEnding");return factorySpace(e,t,"linePrefix")}function paragraphInitial(t){e.enter("paragraph");return lineStart(t)}function lineStart(t){const n=e.enter("chunkText",{contentType:"text",previous:i});if(i){i.next=n}i=n;return data(t)}function data(t){if(t===null){e.exit("chunkText");e.exit("paragraph");e.consume(t);return}if(markdownLineEnding(t)){e.consume(t);e.exit("chunkText");return lineStart}e.consume(t);return data}}const Lt={tokenize:initializeDocument};const Pt={tokenize:tokenizeContainer};function initializeDocument(e){const t=this;const i=[];let n=0;let r;let s;let a;return start;function start(r){if(n<i.length){const s=i[n];t.containerState=s[1];return e.attempt(s[0].continuation,documentContinue,checkNewContainers)(r)}return checkNewContainers(r)}function documentContinue(e){n++;if(t.containerState._closeFlow){t.containerState._closeFlow=undefined;if(r){closeFlow()}const i=t.events.length;let s=i;let a;while(s--){if(t.events[s][0]==="exit"&&t.events[s][1].type==="chunkFlow"){a=t.events[s][1].end;break}}exitContainers(n);let o=i;while(o<t.events.length){t.events[o][1].end=Object.assign({},a);o++}splice(t.events,s+1,0,t.events.slice(i));t.events.length=o;return checkNewContainers(e)}return start(e)}function checkNewContainers(s){if(n===i.length){if(!r){return documentContinued(s)}if(r.currentConstruct&&r.currentConstruct.concrete){return flowStart(s)}t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}t.containerState={};return e.check(Pt,thereIsANewContainer,thereIsNoNewContainer)(s)}function thereIsANewContainer(e){if(r)closeFlow();exitContainers(n);return documentContinued(e)}function thereIsNoNewContainer(e){t.parser.lazy[t.now().line]=n!==i.length;a=t.now().offset;return flowStart(e)}function documentContinued(i){t.containerState={};return e.attempt(Pt,containerContinue,flowStart)(i)}function containerContinue(e){n++;i.push([t.currentConstruct,t.containerState]);return documentContinued(e)}function flowStart(i){if(i===null){if(r)closeFlow();exitContainers(0);e.consume(i);return}r=r||t.parser.flow(t.now());e.enter("chunkFlow",{contentType:"flow",previous:s,_tokenizer:r});return flowContinue(i)}function flowContinue(i){if(i===null){writeToChild(e.exit("chunkFlow"),true);exitContainers(0);e.consume(i);return}if(markdownLineEnding(i)){e.consume(i);writeToChild(e.exit("chunkFlow"));n=0;t.interrupt=undefined;return start}e.consume(i);return flowContinue}function writeToChild(e,i){const o=t.sliceStream(e);if(i)o.push(null);e.previous=s;if(s)s.next=e;s=e;r.defineSkip(e.start);r.write(o);if(t.parser.lazy[e.start.line]){let e=r.events.length;while(e--){if(r.events[e][1].start.offset<a&&(!r.events[e][1].end||r.events[e][1].end.offset>a)){return}}const i=t.events.length;let s=i;let o;let l;while(s--){if(t.events[s][0]==="exit"&&t.events[s][1].type==="chunkFlow"){if(o){l=t.events[s][1].end;break}o=true}}exitContainers(n);e=i;while(e<t.events.length){t.events[e][1].end=Object.assign({},l);e++}splice(t.events,s+1,0,t.events.slice(i));t.events.length=e}}function exitContainers(n){let r=i.length;while(r-- >n){const n=i[r];t.containerState=n[1];n[0].exit.call(t,e)}i.length=n}function closeFlow(){r.write([null]);s=undefined;r=undefined;t.containerState._closeFlow=undefined}}function tokenizeContainer(e,t,i){return factorySpace(e,e.attempt(this.parser.constructs.document,t,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?undefined:4)}function subtokenize(e){const t={};let i=-1;let n;let r;let s;let a;let o;let l;let c;while(++i<e.length){while(i in t){i=t[i]}n=e[i];if(i&&n[1].type==="chunkFlow"&&e[i-1][1].type==="listItemPrefix"){l=n[1]._tokenizer.events;s=0;if(s<l.length&&l[s][1].type==="lineEndingBlank"){s+=2}if(s<l.length&&l[s][1].type==="content"){while(++s<l.length){if(l[s][1].type==="content"){break}if(l[s][1].type==="chunkText"){l[s][1]._isInFirstContentOfListItem=true;s++}}}}if(n[0]==="enter"){if(n[1].contentType){Object.assign(t,subcontent(e,i));i=t[i];c=true}}else if(n[1]._container){s=i;r=undefined;while(s--){a=e[s];if(a[1].type==="lineEnding"||a[1].type==="lineEndingBlank"){if(a[0]==="enter"){if(r){e[r][1].type="lineEndingBlank"}a[1].type="lineEnding";r=s}}else{break}}if(r){n[1].end=Object.assign({},e[r][1].start);o=e.slice(r,i);o.unshift(n);splice(e,r,i-r+1,o)}}}return!c}function subcontent(e,t){const i=e[t][1];const n=e[t][2];let r=t-1;const s=[];const a=i._tokenizer||n.parser[i.contentType](i.start);const o=a.events;const l=[];const c={};let p;let f;let d=-1;let m=i;let g=0;let x=0;const y=[x];while(m){while(e[++r][1]!==m){}s.push(r);if(!m._tokenizer){p=n.sliceStream(m);if(!m.next){p.push(null)}if(f){a.defineSkip(m.start)}if(m._isInFirstContentOfListItem){a._gfmTasklistFirstContentOfListItem=true}a.write(p);if(m._isInFirstContentOfListItem){a._gfmTasklistFirstContentOfListItem=undefined}}f=m;m=m.next}m=i;while(++d<o.length){if(o[d][0]==="exit"&&o[d-1][0]==="enter"&&o[d][1].type===o[d-1][1].type&&o[d][1].start.line!==o[d][1].end.line){x=d+1;y.push(x);m._tokenizer=undefined;m.previous=undefined;m=m.next}}a.events=[];if(m){m._tokenizer=undefined;m.previous=undefined}else{y.pop()}d=y.length;while(d--){const t=o.slice(y[d],y[d+1]);const i=s.pop();l.unshift([i,i+t.length-1]);splice(e,i,2,t)}d=-1;while(++d<l.length){c[g+l[d][0]]=g+l[d][1];g+=l[d][1]-l[d][0]-1}return c}const Dt={tokenize:tokenizeContent,resolve:resolveContent};const Nt={tokenize:tokenizeContinuation,partial:true};function resolveContent(e){subtokenize(e);return e}function tokenizeContent(e,t){let i;return start;function start(t){e.enter("content");i=e.enter("chunkContent",{contentType:"content"});return data(t)}function data(t){if(t===null){return contentEnd(t)}if(markdownLineEnding(t)){return e.check(Nt,contentContinue,contentEnd)(t)}e.consume(t);return data}function contentEnd(i){e.exit("chunkContent");e.exit("content");return t(i)}function contentContinue(t){e.consume(t);e.exit("chunkContent");i.next=e.enter("chunkContent",{contentType:"content",previous:i});i=i.next;return data}}function tokenizeContinuation(e,t,i){const n=this;return startLookahead;function startLookahead(t){e.exit("chunkContent");e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return factorySpace(e,prefixed,"linePrefix")}function prefixed(r){if(r===null||markdownLineEnding(r)){return i(r)}const s=n.events[n.events.length-1];if(!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],true).length>=4){return t(r)}return e.interrupt(n.parser.constructs.flow,i,t)(r)}}const Bt={tokenize:initializeFlow};function initializeFlow(e){const t=this;const i=e.attempt(gt,atBlankEnding,e.attempt(this.parser.constructs.flowInitial,afterConstruct,factorySpace(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(Dt,afterConstruct)),"linePrefix")));return i;function atBlankEnding(n){if(n===null){e.consume(n);return}e.enter("lineEndingBlank");e.consume(n);e.exit("lineEndingBlank");t.currentConstruct=undefined;return i}function afterConstruct(n){if(n===null){e.consume(n);return}e.enter("lineEnding");e.consume(n);e.exit("lineEnding");t.currentConstruct=undefined;return i}}const Vt={resolveAll:createResolver()};const Ot=initializeFactory("string");const Mt=initializeFactory("text");function initializeFactory(e){return{tokenize:initializeText,resolveAll:createResolver(e==="text"?resolveAllLineSuffixes:undefined)};function initializeText(t){const i=this;const n=this.parser.constructs[e];const r=t.attempt(n,start,notText);return start;function start(e){return atBreak(e)?r(e):notText(e)}function notText(e){if(e===null){t.consume(e);return}t.enter("data");t.consume(e);return data}function data(e){if(atBreak(e)){t.exit("data");return r(e)}t.consume(e);return data}function atBreak(e){if(e===null){return true}const t=n[e];let r=-1;if(t){while(++r<t.length){const e=t[r];if(!e.previous||e.previous.call(i,i.previous)){return true}}}return false}}}function createResolver(e){return resolveAllText;function resolveAllText(t,i){let n=-1;let r;while(++n<=t.length){if(r===undefined){if(t[n]&&t[n][1].type==="data"){r=n;n++}}else if(!t[n]||t[n][1].type!=="data"){if(n!==r+2){t[r][1].end=t[n-1][1].end;t.splice(r+2,n-r-2);n=r+2}r=undefined}}return e?e(t,i):t}}function resolveAllLineSuffixes(e,t){let i=0;while(++i<=e.length){if((i===e.length||e[i][1].type==="lineEnding")&&e[i-1][1].type==="data"){const n=e[i-1][1];const r=t.sliceStream(n);let s=r.length;let a=-1;let o=0;let l;while(s--){const e=r[s];if(typeof e==="string"){a=e.length;while(e.charCodeAt(a-1)===32){o++;a--}if(a)break;a=-1}else if(e===-2){l=true;o++}else if(e===-1){}else{s++;break}}if(o){const r={type:i===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-o,offset:n.end.offset-o,_index:n.start._index+s,_bufferIndex:s?a:n.start._bufferIndex+a},end:Object.assign({},n.end)};n.end=Object.assign({},r.start);if(n.start.offset===n.end.offset){Object.assign(n,r)}else{e.splice(i,0,["enter",r,t],["exit",r,t]);i+=2}}i++}}return e}function resolveAll(e,t,i){const n=[];let r=-1;while(++r<e.length){const s=e[r].resolveAll;if(s&&!n.includes(s)){t=s(t,i);n.push(s)}}return t}function createTokenizer(e,t,i){let n=Object.assign(i?Object.assign({},i):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const r={};const s=[];let a=[];let o=[];let l=true;const c={consume:consume,enter:enter,exit:exit,attempt:constructFactory(onsuccessfulconstruct),check:constructFactory(onsuccessfulcheck),interrupt:constructFactory(onsuccessfulcheck,{interrupt:true})};const p={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:sliceStream,sliceSerialize:sliceSerialize,now:now,defineSkip:defineSkip,write:write};let f=t.tokenize.call(p,c);let d;if(t.resolveAll){s.push(t)}return p;function write(e){a=push(a,e);main();if(a[a.length-1]!==null){return[]}addResult(t,0);p.events=resolveAll(s,p.events,p);return p.events}function sliceSerialize(e,t){return serializeChunks(sliceStream(e),t)}function sliceStream(e){return sliceChunks(a,e)}function now(){return Object.assign({},n)}function defineSkip(e){r[e.line]=e.column;accountForPotentialSkip()}function main(){let e;while(n._index<a.length){const t=a[n._index];if(typeof t==="string"){e=n._index;if(n._bufferIndex<0){n._bufferIndex=0}while(n._index===e&&n._bufferIndex<t.length){go(t.charCodeAt(n._bufferIndex))}}else{go(t)}}}function go(e){l=undefined;d=e;f=f(e)}function consume(e){if(markdownLineEnding(e)){n.line++;n.column=1;n.offset+=e===-3?2:1;accountForPotentialSkip()}else if(e!==-1){n.column++;n.offset++}if(n._bufferIndex<0){n._index++}else{n._bufferIndex++;if(n._bufferIndex===a[n._index].length){n._bufferIndex=-1;n._index++}}p.previous=e;l=true}function enter(e,t){const i=t||{};i.type=e;i.start=now();p.events.push(["enter",i,p]);o.push(i);return i}function exit(e){const t=o.pop();t.end=now();p.events.push(["exit",t,p]);return t}function onsuccessfulconstruct(e,t){addResult(e,t.from)}function onsuccessfulcheck(e,t){t.restore()}function constructFactory(e,t){return hook;function hook(i,n,r){let s;let a;let o;let f;return Array.isArray(i)?handleListOfConstructs(i):"tokenize"in i?handleListOfConstructs([i]):handleMapOfConstructs(i);function handleMapOfConstructs(e){return start;function start(t){const i=t!==null&&e[t];const n=t!==null&&e.null;const r=[...Array.isArray(i)?i:i?[i]:[],...Array.isArray(n)?n:n?[n]:[]];return handleListOfConstructs(r)(t)}}function handleListOfConstructs(e){s=e;a=0;if(e.length===0){return r}return handleConstruct(e[a])}function handleConstruct(e){return start;function start(i){f=store();o=e;if(!e.partial){p.currentConstruct=e}if(e.name&&p.parser.constructs.disable.null.includes(e.name)){return nok(i)}return e.tokenize.call(t?Object.assign(Object.create(p),t):p,c,ok,nok)(i)}}function ok(t){l=true;e(o,f);return n}function nok(e){l=true;f.restore();if(++a<s.length){return handleConstruct(s[a])}return r}}}function addResult(e,t){if(e.resolveAll&&!s.includes(e)){s.push(e)}if(e.resolve){splice(p.events,t,p.events.length-t,e.resolve(p.events.slice(t),p))}if(e.resolveTo){p.events=e.resolveTo(p.events,p)}}function store(){const e=now();const t=p.previous;const i=p.currentConstruct;const r=p.events.length;const s=Array.from(o);return{restore:restore,from:r};function restore(){n=e;p.previous=t;p.currentConstruct=i;p.events.length=r;o=s;accountForPotentialSkip()}}function accountForPotentialSkip(){if(n.line in r&&n.column<2){n.column=r[n.line];n.offset+=r[n.line]-1}}}function sliceChunks(e,t){const i=t.start._index;const n=t.start._bufferIndex;const r=t.end._index;const s=t.end._bufferIndex;let a;if(i===r){a=[e[i].slice(n,s)]}else{a=e.slice(i,r);if(n>-1){a[0]=a[0].slice(n)}if(s>0){a.push(e[r].slice(0,s))}}return a}function serializeChunks(e,t){let i=-1;const n=[];let r;while(++i<e.length){const s=e[i];let a;if(typeof s==="string"){a=s}else switch(s){case-5:{a="\r";break}case-4:{a="\n";break}case-3:{a="\r"+"\n";break}case-2:{a=t?" ":"\t";break}case-1:{if(!t&&r)continue;a=" ";break}default:{a=String.fromCharCode(s)}}r=s===-2;n.push(a)}return n.join("")}const Rt={name:"thematicBreak",tokenize:tokenizeThematicBreak};function tokenizeThematicBreak(e,t,i){let n=0;let r;return start;function start(t){e.enter("thematicBreak");r=t;return atBreak(t)}function atBreak(s){if(s===r){e.enter("thematicBreakSequence");return sequence(s)}if(markdownSpace(s)){return factorySpace(e,atBreak,"whitespace")(s)}if(n<3||s!==null&&!markdownLineEnding(s)){return i(s)}e.exit("thematicBreak");return t(s)}function sequence(t){if(t===r){e.consume(t);n++;return sequence}e.exit("thematicBreakSequence");return atBreak(t)}}const qt={name:"list",tokenize:tokenizeListStart,continuation:{tokenize:tokenizeListContinuation},exit:tokenizeListEnd};const jt={tokenize:tokenizeListItemPrefixWhitespace,partial:true};const zt={tokenize:tokenizeIndent,partial:true};function tokenizeListStart(e,t,i){const n=this;const r=n.events[n.events.length-1];let s=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],true).length:0;let a=0;return start;function start(t){const r=n.containerState.type||(t===42||t===43||t===45?"listUnordered":"listOrdered");if(r==="listUnordered"?!n.containerState.marker||t===n.containerState.marker:Ze(t)){if(!n.containerState.type){n.containerState.type=r;e.enter(r,{_container:true})}if(r==="listUnordered"){e.enter("listItemPrefix");return t===42||t===45?e.check(Rt,i,atMarker)(t):atMarker(t)}if(!n.interrupt||t===49){e.enter("listItemPrefix");e.enter("listItemValue");return inside(t)}}return i(t)}function inside(t){if(Ze(t)&&++a<10){e.consume(t);return inside}if((!n.interrupt||a<2)&&(n.containerState.marker?t===n.containerState.marker:t===41||t===46)){e.exit("listItemValue");return atMarker(t)}return i(t)}function atMarker(t){e.enter("listItemMarker");e.consume(t);e.exit("listItemMarker");n.containerState.marker=n.containerState.marker||t;return e.check(gt,n.interrupt?i:onBlank,e.attempt(jt,endOfPrefix,otherPrefix))}function onBlank(e){n.containerState.initialBlankLine=true;s++;return endOfPrefix(e)}function otherPrefix(t){if(markdownSpace(t)){e.enter("listItemPrefixWhitespace");e.consume(t);e.exit("listItemPrefixWhitespace");return endOfPrefix}return i(t)}function endOfPrefix(i){n.containerState.size=s+n.sliceSerialize(e.exit("listItemPrefix"),true).length;return t(i)}}function tokenizeListContinuation(e,t,i){const n=this;n.containerState._closeFlow=undefined;return e.check(gt,onBlank,notBlank);function onBlank(i){n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine;return factorySpace(e,t,"listItemIndent",n.containerState.size+1)(i)}function notBlank(i){if(n.containerState.furtherBlankLines||!markdownSpace(i)){n.containerState.furtherBlankLines=undefined;n.containerState.initialBlankLine=undefined;return notInCurrentItem(i)}n.containerState.furtherBlankLines=undefined;n.containerState.initialBlankLine=undefined;return e.attempt(zt,t,notInCurrentItem)(i)}function notInCurrentItem(r){n.containerState._closeFlow=true;n.interrupt=undefined;return factorySpace(e,e.attempt(qt,t,i),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(r)}}function tokenizeIndent(e,t,i){const n=this;return factorySpace(e,afterPrefix,"listItemIndent",n.containerState.size+1);function afterPrefix(e){const r=n.events[n.events.length-1];return r&&r[1].type==="listItemIndent"&&r[2].sliceSerialize(r[1],true).length===n.containerState.size?t(e):i(e)}}function tokenizeListEnd(e){e.exit(this.containerState.type)}function tokenizeListItemPrefixWhitespace(e,t,i){const n=this;return factorySpace(e,afterPrefix,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?undefined:4+1);function afterPrefix(e){const r=n.events[n.events.length-1];return!markdownSpace(e)&&r&&r[1].type==="listItemPrefixWhitespace"?t(e):i(e)}}const Jt={name:"blockQuote",tokenize:tokenizeBlockQuoteStart,continuation:{tokenize:tokenizeBlockQuoteContinuation},exit:exit};function tokenizeBlockQuoteStart(e,t,i){const n=this;return start;function start(t){if(t===62){const i=n.containerState;if(!i.open){e.enter("blockQuote",{_container:true});i.open=true}e.enter("blockQuotePrefix");e.enter("blockQuoteMarker");e.consume(t);e.exit("blockQuoteMarker");return after}return i(t)}function after(i){if(markdownSpace(i)){e.enter("blockQuotePrefixWhitespace");e.consume(i);e.exit("blockQuotePrefixWhitespace");e.exit("blockQuotePrefix");return t}e.exit("blockQuotePrefix");return t(i)}}function tokenizeBlockQuoteContinuation(e,t,i){return factorySpace(e,e.attempt(Jt,t,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?undefined:4)}function exit(e){e.exit("blockQuote")}function factoryDestination(e,t,i,n,r,s,a,o,l){const c=l||Number.POSITIVE_INFINITY;let p=0;return start;function start(t){if(t===60){e.enter(n);e.enter(r);e.enter(s);e.consume(t);e.exit(s);return destinationEnclosedBefore}if(t===null||t===41||asciiControl(t)){return i(t)}e.enter(n);e.enter(a);e.enter(o);e.enter("chunkString",{contentType:"string"});return destinationRaw(t)}function destinationEnclosedBefore(i){if(i===62){e.enter(s);e.consume(i);e.exit(s);e.exit(r);e.exit(n);return t}e.enter(o);e.enter("chunkString",{contentType:"string"});return destinationEnclosed(i)}function destinationEnclosed(t){if(t===62){e.exit("chunkString");e.exit(o);return destinationEnclosedBefore(t)}if(t===null||t===60||markdownLineEnding(t)){return i(t)}e.consume(t);return t===92?destinationEnclosedEscape:destinationEnclosed}function destinationEnclosedEscape(t){if(t===60||t===62||t===92){e.consume(t);return destinationEnclosed}return destinationEnclosed(t)}function destinationRaw(r){if(r===40){if(++p>c)return i(r);e.consume(r);return destinationRaw}if(r===41){if(!p--){e.exit("chunkString");e.exit(o);e.exit(a);e.exit(n);return t(r)}e.consume(r);return destinationRaw}if(r===null||markdownLineEndingOrSpace(r)){if(p)return i(r);e.exit("chunkString");e.exit(o);e.exit(a);e.exit(n);return t(r)}if(asciiControl(r))return i(r);e.consume(r);return r===92?destinationRawEscape:destinationRaw}function destinationRawEscape(t){if(t===40||t===41||t===92){e.consume(t);return destinationRaw}return destinationRaw(t)}}function factoryLabel(e,t,i,n,r,s){const a=this;let o=0;let l;return start;function start(t){e.enter(n);e.enter(r);e.consume(t);e.exit(r);e.enter(s);return atBreak}function atBreak(c){if(c===null||c===91||c===93&&!l||c===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs||o>999){return i(c)}if(c===93){e.exit(s);e.enter(r);e.consume(c);e.exit(r);e.exit(n);return t}if(markdownLineEnding(c)){e.enter("lineEnding");e.consume(c);e.exit("lineEnding");return atBreak}e.enter("chunkString",{contentType:"string"});return label(c)}function label(t){if(t===null||t===91||t===93||markdownLineEnding(t)||o++>999){e.exit("chunkString");return atBreak(t)}e.consume(t);l=l||!markdownSpace(t);return t===92?labelEscape:label}function labelEscape(t){if(t===91||t===92||t===93){e.consume(t);o++;return label}return label(t)}}function factoryTitle(e,t,i,n,r,s){let a;return start;function start(t){e.enter(n);e.enter(r);e.consume(t);e.exit(r);a=t===40?41:t;return atFirstTitleBreak}function atFirstTitleBreak(i){if(i===a){e.enter(r);e.consume(i);e.exit(r);e.exit(n);return t}e.enter(s);return atTitleBreak(i)}function atTitleBreak(t){if(t===a){e.exit(s);return atFirstTitleBreak(a)}if(t===null){return i(t)}if(markdownLineEnding(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return factorySpace(e,atTitleBreak,"linePrefix")}e.enter("chunkString",{contentType:"string"});return title(t)}function title(t){if(t===a||t===null||markdownLineEnding(t)){e.exit("chunkString");return atTitleBreak(t)}e.consume(t);return t===92?titleEscape:title}function titleEscape(t){if(t===a||t===92){e.consume(t);return title}return title(t)}}function factoryWhitespace(e,t){let i;return start;function start(n){if(markdownLineEnding(n)){e.enter("lineEnding");e.consume(n);e.exit("lineEnding");i=true;return start}if(markdownSpace(n)){return factorySpace(e,start,i?"linePrefix":"lineSuffix")(n)}return t(n)}}function normalizeIdentifier(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ut={name:"definition",tokenize:tokenizeDefinition};const Ht={tokenize:tokenizeTitle,partial:true};function tokenizeDefinition(e,t,i){const n=this;let r;return start;function start(t){e.enter("definition");return factoryLabel.call(n,e,labelAfter,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}function labelAfter(t){r=normalizeIdentifier(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1));if(t===58){e.enter("definitionMarker");e.consume(t);e.exit("definitionMarker");return factoryWhitespace(e,factoryDestination(e,e.attempt(Ht,factorySpace(e,after,"whitespace"),factorySpace(e,after,"whitespace")),i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))}return i(t)}function after(s){if(s===null||markdownLineEnding(s)){e.exit("definition");if(!n.parser.defined.includes(r)){n.parser.defined.push(r)}return t(s)}return i(s)}}function tokenizeTitle(e,t,i){return start;function start(t){return markdownLineEndingOrSpace(t)?factoryWhitespace(e,before)(t):i(t)}function before(t){if(t===34||t===39||t===40){return factoryTitle(e,factorySpace(e,after,"whitespace"),i,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}return i(t)}function after(e){return e===null||markdownLineEnding(e)?t(e):i(e)}}const Xt={name:"codeIndented",tokenize:tokenizeCodeIndented};const Wt={tokenize:tokenizeIndentedContent,partial:true};function tokenizeCodeIndented(e,t,i){const n=this;return start;function start(t){e.enter("codeIndented");return factorySpace(e,afterStartPrefix,"linePrefix",4+1)(t)}function afterStartPrefix(e){const t=n.events[n.events.length-1];return t&&t[1].type==="linePrefix"&&t[2].sliceSerialize(t[1],true).length>=4?afterPrefix(e):i(e)}function afterPrefix(t){if(t===null){return after(t)}if(markdownLineEnding(t)){return e.attempt(Wt,afterPrefix,after)(t)}e.enter("codeFlowValue");return content(t)}function content(t){if(t===null||markdownLineEnding(t)){e.exit("codeFlowValue");return afterPrefix(t)}e.consume(t);return content}function after(i){e.exit("codeIndented");return t(i)}}function tokenizeIndentedContent(e,t,i){const n=this;return start;function start(t){if(n.parser.lazy[n.now().line]){return i(t)}if(markdownLineEnding(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return start}return factorySpace(e,afterPrefix,"linePrefix",4+1)(t)}function afterPrefix(e){const r=n.events[n.events.length-1];return r&&r[1].type==="linePrefix"&&r[2].sliceSerialize(r[1],true).length>=4?t(e):markdownLineEnding(e)?start(e):i(e)}}const Gt={name:"headingAtx",tokenize:tokenizeHeadingAtx,resolve:resolveHeadingAtx};function resolveHeadingAtx(e,t){let i=e.length-2;let n=3;let r;let s;if(e[n][1].type==="whitespace"){n+=2}if(i-2>n&&e[i][1].type==="whitespace"){i-=2}if(e[i][1].type==="atxHeadingSequence"&&(n===i-1||i-4>n&&e[i-2][1].type==="whitespace")){i-=n+1===i?2:4}if(i>n){r={type:"atxHeadingText",start:e[n][1].start,end:e[i][1].end};s={type:"chunkText",start:e[n][1].start,end:e[i][1].end,contentType:"text"};splice(e,n,i-n+1,[["enter",r,t],["enter",s,t],["exit",s,t],["exit",r,t]])}return e}function tokenizeHeadingAtx(e,t,i){const n=this;let r=0;return start;function start(t){e.enter("atxHeading");e.enter("atxHeadingSequence");return fenceOpenInside(t)}function fenceOpenInside(s){if(s===35&&r++<6){e.consume(s);return fenceOpenInside}if(s===null||markdownLineEndingOrSpace(s)){e.exit("atxHeadingSequence");return n.interrupt?t(s):headingBreak(s)}return i(s)}function headingBreak(i){if(i===35){e.enter("atxHeadingSequence");return sequence(i)}if(i===null||markdownLineEnding(i)){e.exit("atxHeading");return t(i)}if(markdownSpace(i)){return factorySpace(e,headingBreak,"whitespace")(i)}e.enter("atxHeadingText");return data(i)}function sequence(t){if(t===35){e.consume(t);return sequence}e.exit("atxHeadingSequence");return headingBreak(t)}function data(t){if(t===null||t===35||markdownLineEndingOrSpace(t)){e.exit("atxHeadingText");return headingBreak(t)}e.consume(t);return data}}const Qt={name:"setextUnderline",tokenize:tokenizeSetextUnderline,resolveTo:resolveToSetextUnderline};function resolveToSetextUnderline(e,t){let i=e.length;let n;let r;let s;while(i--){if(e[i][0]==="enter"){if(e[i][1].type==="content"){n=i;break}if(e[i][1].type==="paragraph"){r=i}}else{if(e[i][1].type==="content"){e.splice(i,1)}if(!s&&e[i][1].type==="definition"){s=i}}}const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText";if(s){e.splice(r,0,["enter",a,t]);e.splice(s+1,0,["exit",e[n][1],t]);e[n][1].end=Object.assign({},e[s][1].end)}else{e[n][1]=a}e.push(["exit",a,t]);return e}function tokenizeSetextUnderline(e,t,i){const n=this;let r=n.events.length;let s;let a;while(r--){if(n.events[r][1].type!=="lineEnding"&&n.events[r][1].type!=="linePrefix"&&n.events[r][1].type!=="content"){a=n.events[r][1].type==="paragraph";break}}return start;function start(t){if(!n.parser.lazy[n.now().line]&&(n.interrupt||a)){e.enter("setextHeadingLine");e.enter("setextHeadingLineSequence");s=t;return closingSequence(t)}return i(t)}function closingSequence(t){if(t===s){e.consume(t);return closingSequence}e.exit("setextHeadingLineSequence");return factorySpace(e,closingSequenceEnd,"lineSuffix")(t)}function closingSequenceEnd(n){if(n===null||markdownLineEnding(n)){e.exit("setextHeadingLine");return t(n)}return i(n)}}const Kt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"];const $t=["pre","script","style","textarea"];const Yt={name:"htmlFlow",tokenize:tokenizeHtmlFlow,resolveTo:resolveToHtmlFlow,concrete:true};const Zt={tokenize:html_flow_tokenizeNextBlank,partial:true};function resolveToHtmlFlow(e){let t=e.length;while(t--){if(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"){break}}if(t>1&&e[t-2][1].type==="linePrefix"){e[t][1].start=e[t-2][1].start;e[t+1][1].start=e[t-2][1].start;e.splice(t-2,2)}return e}function tokenizeHtmlFlow(e,t,i){const n=this;let r;let s;let a;let o;let l;return start;function start(t){e.enter("htmlFlow");e.enter("htmlFlowData");e.consume(t);return open}function open(o){if(o===33){e.consume(o);return declarationStart}if(o===47){e.consume(o);return tagCloseStart}if(o===63){e.consume(o);r=3;return n.interrupt?t:continuationDeclarationInside}if(Ye(o)){e.consume(o);a=String.fromCharCode(o);s=true;return tagName}return i(o)}function declarationStart(s){if(s===45){e.consume(s);r=2;return commentOpenInside}if(s===91){e.consume(s);r=5;a="CDATA[";o=0;return cdataOpenInside}if(Ye(s)){e.consume(s);r=4;return n.interrupt?t:continuationDeclarationInside}return i(s)}function commentOpenInside(r){if(r===45){e.consume(r);return n.interrupt?t:continuationDeclarationInside}return i(r)}function cdataOpenInside(r){if(r===a.charCodeAt(o++)){e.consume(r);return o===a.length?n.interrupt?t:continuation:cdataOpenInside}return i(r)}function tagCloseStart(t){if(Ye(t)){e.consume(t);a=String.fromCharCode(t);return tagName}return i(t)}function tagName(o){if(o===null||o===47||o===62||markdownLineEndingOrSpace(o)){if(o!==47&&s&&$t.includes(a.toLowerCase())){r=1;return n.interrupt?t(o):continuation(o)}if(Kt.includes(a.toLowerCase())){r=6;if(o===47){e.consume(o);return basicSelfClosing}return n.interrupt?t(o):continuation(o)}r=7;return n.interrupt&&!n.parser.lazy[n.now().line]?i(o):s?completeAttributeNameBefore(o):completeClosingTagAfter(o)}if(o===45||tt(o)){e.consume(o);a+=String.fromCharCode(o);return tagName}return i(o)}function basicSelfClosing(r){if(r===62){e.consume(r);return n.interrupt?t:continuation}return i(r)}function completeClosingTagAfter(t){if(markdownSpace(t)){e.consume(t);return completeClosingTagAfter}return completeEnd(t)}function completeAttributeNameBefore(t){if(t===47){e.consume(t);return completeEnd}if(t===58||t===95||Ye(t)){e.consume(t);return completeAttributeName}if(markdownSpace(t)){e.consume(t);return completeAttributeNameBefore}return completeEnd(t)}function completeAttributeName(t){if(t===45||t===46||t===58||t===95||tt(t)){e.consume(t);return completeAttributeName}return completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){if(t===61){e.consume(t);return completeAttributeValueBefore}if(markdownSpace(t)){e.consume(t);return completeAttributeNameAfter}return completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){if(t===null||t===60||t===61||t===62||t===96){return i(t)}if(t===34||t===39){e.consume(t);l=t;return completeAttributeValueQuoted}if(markdownSpace(t)){e.consume(t);return completeAttributeValueBefore}l=null;return completeAttributeValueUnquoted(t)}function completeAttributeValueQuoted(t){if(t===null||markdownLineEnding(t)){return i(t)}if(t===l){e.consume(t);return completeAttributeValueQuotedAfter}e.consume(t);return completeAttributeValueQuoted}function completeAttributeValueUnquoted(t){if(t===null||t===34||t===39||t===60||t===61||t===62||t===96||markdownLineEndingOrSpace(t)){return completeAttributeNameAfter(t)}e.consume(t);return completeAttributeValueUnquoted}function completeAttributeValueQuotedAfter(e){if(e===47||e===62||markdownSpace(e)){return completeAttributeNameBefore(e)}return i(e)}function completeEnd(t){if(t===62){e.consume(t);return completeAfter}return i(t)}function completeAfter(t){if(markdownSpace(t)){e.consume(t);return completeAfter}return t===null||markdownLineEnding(t)?continuation(t):i(t)}function continuation(t){if(t===45&&r===2){e.consume(t);return continuationCommentInside}if(t===60&&r===1){e.consume(t);return continuationRawTagOpen}if(t===62&&r===4){e.consume(t);return continuationClose}if(t===63&&r===3){e.consume(t);return continuationDeclarationInside}if(t===93&&r===5){e.consume(t);return continuationCharacterDataInside}if(markdownLineEnding(t)&&(r===6||r===7)){return e.check(Zt,continuationClose,continuationAtLineEnding)(t)}if(t===null||markdownLineEnding(t)){return continuationAtLineEnding(t)}e.consume(t);return continuation}function continuationAtLineEnding(t){e.exit("htmlFlowData");return htmlContinueStart(t)}function htmlContinueStart(t){if(t===null){return done(t)}if(markdownLineEnding(t)){return e.attempt({tokenize:htmlLineEnd,partial:true},htmlContinueStart,done)(t)}e.enter("htmlFlowData");return continuation(t)}function htmlLineEnd(e,t,i){return start;function start(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return lineStart}function lineStart(e){return n.parser.lazy[n.now().line]?i(e):t(e)}}function continuationCommentInside(t){if(t===45){e.consume(t);return continuationDeclarationInside}return continuation(t)}function continuationRawTagOpen(t){if(t===47){e.consume(t);a="";return continuationRawEndTag}return continuation(t)}function continuationRawEndTag(t){if(t===62&&$t.includes(a.toLowerCase())){e.consume(t);return continuationClose}if(Ye(t)&&a.length<8){e.consume(t);a+=String.fromCharCode(t);return continuationRawEndTag}return continuation(t)}function continuationCharacterDataInside(t){if(t===93){e.consume(t);return continuationDeclarationInside}return continuation(t)}function continuationDeclarationInside(t){if(t===62){e.consume(t);return continuationClose}if(t===45&&r===2){e.consume(t);return continuationDeclarationInside}return continuation(t)}function continuationClose(t){if(t===null||markdownLineEnding(t)){e.exit("htmlFlowData");return done(t)}e.consume(t);return continuationClose}function done(i){e.exit("htmlFlow");return t(i)}}function html_flow_tokenizeNextBlank(e,t,i){return start;function start(n){e.exit("htmlFlowData");e.enter("lineEndingBlank");e.consume(n);e.exit("lineEndingBlank");return e.attempt(gt,t,i)}}const ei={name:"codeFenced",tokenize:tokenizeCodeFenced,concrete:true};function tokenizeCodeFenced(e,t,i){const n=this;const r={tokenize:tokenizeClosingFence,partial:true};const s={tokenize:tokenizeNonLazyLine,partial:true};const a=this.events[this.events.length-1];const o=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],true).length:0;let l=0;let c;return start;function start(t){e.enter("codeFenced");e.enter("codeFencedFence");e.enter("codeFencedFenceSequence");c=t;return sequenceOpen(t)}function sequenceOpen(t){if(t===c){e.consume(t);l++;return sequenceOpen}e.exit("codeFencedFenceSequence");return l<3?i(t):factorySpace(e,infoOpen,"whitespace")(t)}function infoOpen(t){if(t===null||markdownLineEnding(t)){return openAfter(t)}e.enter("codeFencedFenceInfo");e.enter("chunkString",{contentType:"string"});return info(t)}function info(t){if(t===null||markdownLineEndingOrSpace(t)){e.exit("chunkString");e.exit("codeFencedFenceInfo");return factorySpace(e,infoAfter,"whitespace")(t)}if(t===96&&t===c)return i(t);e.consume(t);return info}function infoAfter(t){if(t===null||markdownLineEnding(t)){return openAfter(t)}e.enter("codeFencedFenceMeta");e.enter("chunkString",{contentType:"string"});return meta(t)}function meta(t){if(t===null||markdownLineEnding(t)){e.exit("chunkString");e.exit("codeFencedFenceMeta");return openAfter(t)}if(t===96&&t===c)return i(t);e.consume(t);return meta}function openAfter(i){e.exit("codeFencedFence");return n.interrupt?t(i):contentStart(i)}function contentStart(t){if(t===null){return after(t)}if(markdownLineEnding(t)){return e.attempt(s,e.attempt(r,after,o?factorySpace(e,contentStart,"linePrefix",o+1):contentStart),after)(t)}e.enter("codeFlowValue");return contentContinue(t)}function contentContinue(t){if(t===null||markdownLineEnding(t)){e.exit("codeFlowValue");return contentStart(t)}e.consume(t);return contentContinue}function after(i){e.exit("codeFenced");return t(i)}function tokenizeNonLazyLine(e,t,i){const n=this;return start;function start(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return lineStart}function lineStart(e){return n.parser.lazy[n.now().line]?i(e):t(e)}}function tokenizeClosingFence(e,t,i){let n=0;return factorySpace(e,closingSequenceStart,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?undefined:4);function closingSequenceStart(t){e.enter("codeFencedFence");e.enter("codeFencedFenceSequence");return closingSequence(t)}function closingSequence(t){if(t===c){e.consume(t);n++;return closingSequence}if(n<l)return i(t);e.exit("codeFencedFenceSequence");return factorySpace(e,closingSequenceEnd,"whitespace")(t)}function closingSequenceEnd(n){if(n===null||markdownLineEnding(n)){e.exit("codeFencedFence");return t(n)}return i(n)}}}const ti={name:"characterReference",tokenize:tokenizeCharacterReference};function tokenizeCharacterReference(e,t,i){const n=this;let r=0;let s;let a;return start;function start(t){e.enter("characterReference");e.enter("characterReferenceMarker");e.consume(t);e.exit("characterReferenceMarker");return open}function open(t){if(t===35){e.enter("characterReferenceMarkerNumeric");e.consume(t);e.exit("characterReferenceMarkerNumeric");return numeric}e.enter("characterReferenceValue");s=31;a=tt;return value(t)}function numeric(t){if(t===88||t===120){e.enter("characterReferenceMarkerHexadecimal");e.consume(t);e.exit("characterReferenceMarkerHexadecimal");e.enter("characterReferenceValue");s=6;a=et;return value}e.enter("characterReferenceValue");s=7;a=Ze;return value(t)}function value(o){let l;if(o===59&&r){l=e.exit("characterReferenceValue");if(a===tt&&!decodeNamedCharacterReference(n.sliceSerialize(l))){return i(o)}e.enter("characterReferenceMarker");e.consume(o);e.exit("characterReferenceMarker");e.exit("characterReference");return t}if(a(o)&&r++<s){e.consume(o);return value}return i(o)}}const ii={name:"characterEscape",tokenize:tokenizeCharacterEscape};function tokenizeCharacterEscape(e,t,i){return start;function start(t){e.enter("characterEscape");e.enter("escapeMarker");e.consume(t);e.exit("escapeMarker");return open}function open(n){if(it(n)){e.enter("characterEscapeValue");e.consume(n);e.exit("characterEscapeValue");e.exit("characterEscape");return t}return i(n)}}const ni={name:"lineEnding",tokenize:tokenizeLineEnding};function tokenizeLineEnding(e,t){return start;function start(i){e.enter("lineEnding");e.consume(i);e.exit("lineEnding");return factorySpace(e,t,"linePrefix")}}const ri={name:"labelEnd",tokenize:tokenizeLabelEnd,resolveTo:resolveToLabelEnd,resolveAll:resolveAllLabelEnd};const si={tokenize:tokenizeResource};const ai={tokenize:tokenizeFullReference};const oi={tokenize:tokenizeCollapsedReference};function resolveAllLabelEnd(e){let t=-1;let i;while(++t<e.length){i=e[t][1];if(i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){e.splice(t+1,i.type==="labelImage"?4:2);i.type="data";t++}}return e}function resolveToLabelEnd(e,t){let i=e.length;let n=0;let r;let s;let a;let o;while(i--){r=e[i][1];if(s){if(r.type==="link"||r.type==="labelLink"&&r._inactive){break}if(e[i][0]==="enter"&&r.type==="labelLink"){r._inactive=true}}else if(a){if(e[i][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced){s=i;if(r.type!=="labelLink"){n=2;break}}}else if(r.type==="labelEnd"){a=i}}const l={type:e[s][1].type==="labelLink"?"link":"image",start:Object.assign({},e[s][1].start),end:Object.assign({},e[e.length-1][1].end)};const c={type:"label",start:Object.assign({},e[s][1].start),end:Object.assign({},e[a][1].end)};const p={type:"labelText",start:Object.assign({},e[s+n+2][1].end),end:Object.assign({},e[a-2][1].start)};o=[["enter",l,t],["enter",c,t]];o=push(o,e.slice(s+1,s+n+3));o=push(o,[["enter",p,t]]);o=push(o,resolveAll(t.parser.constructs.insideSpan.null,e.slice(s+n+4,a-3),t));o=push(o,[["exit",p,t],e[a-2],e[a-1],["exit",c,t]]);o=push(o,e.slice(a+1));o=push(o,[["exit",l,t]]);splice(e,s,e.length,o);return e}function tokenizeLabelEnd(e,t,i){const n=this;let r=n.events.length;let s;let a;while(r--){if((n.events[r][1].type==="labelImage"||n.events[r][1].type==="labelLink")&&!n.events[r][1]._balanced){s=n.events[r][1];break}}return start;function start(t){if(!s){return i(t)}if(s._inactive)return balanced(t);a=n.parser.defined.includes(normalizeIdentifier(n.sliceSerialize({start:s.end,end:n.now()})));e.enter("labelEnd");e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelEnd");return afterLabelEnd}function afterLabelEnd(i){if(i===40){return e.attempt(si,t,a?t:balanced)(i)}if(i===91){return e.attempt(ai,t,a?e.attempt(oi,t,balanced):balanced)(i)}return a?t(i):balanced(i)}function balanced(e){s._balanced=true;return i(e)}}function tokenizeResource(e,t,i){return start;function start(t){e.enter("resource");e.enter("resourceMarker");e.consume(t);e.exit("resourceMarker");return factoryWhitespace(e,open)}function open(t){if(t===41){return end(t)}return factoryDestination(e,destinationAfter,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function destinationAfter(t){return markdownLineEndingOrSpace(t)?factoryWhitespace(e,between)(t):end(t)}function between(t){if(t===34||t===39||t===40){return factoryTitle(e,factoryWhitespace(e,end),i,"resourceTitle","resourceTitleMarker","resourceTitleString")(t)}return end(t)}function end(n){if(n===41){e.enter("resourceMarker");e.consume(n);e.exit("resourceMarker");e.exit("resource");return t}return i(n)}}function tokenizeFullReference(e,t,i){const n=this;return start;function start(t){return factoryLabel.call(n,e,afterLabel,i,"reference","referenceMarker","referenceString")(t)}function afterLabel(e){return n.parser.defined.includes(normalizeIdentifier(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):i(e)}}function tokenizeCollapsedReference(e,t,i){return start;function start(t){e.enter("reference");e.enter("referenceMarker");e.consume(t);e.exit("referenceMarker");return open}function open(n){if(n===93){e.enter("referenceMarker");e.consume(n);e.exit("referenceMarker");e.exit("reference");return t}return i(n)}}const li={name:"labelStartImage",tokenize:tokenizeLabelStartImage,resolveAll:ri.resolveAll};function tokenizeLabelStartImage(e,t,i){const n=this;return start;function start(t){e.enter("labelImage");e.enter("labelImageMarker");e.consume(t);e.exit("labelImageMarker");return open}function open(t){if(t===91){e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelImage");return after}return i(t)}function after(e){return e===94&&"_hiddenFootnoteSupport"in n.parser.constructs?i(e):t(e)}}function classifyCharacter(e){if(e===null||markdownLineEndingOrSpace(e)||rt(e)){return 1}if(st(e)){return 2}}const ui={name:"attention",tokenize:tokenizeAttention,resolveAll:resolveAllAttention};function resolveAllAttention(e,t){let i=-1;let n;let r;let s;let a;let o;let l;let c;let p;while(++i<e.length){if(e[i][0]==="enter"&&e[i][1].type==="attentionSequence"&&e[i][1]._close){n=i;while(n--){if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[i][1]).charCodeAt(0)){if((e[n][1]._close||e[i][1]._open)&&(e[i][1].end.offset-e[i][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[i][1].end.offset-e[i][1].start.offset)%3)){continue}l=e[n][1].end.offset-e[n][1].start.offset>1&&e[i][1].end.offset-e[i][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end);const d=Object.assign({},e[i][1].start);movePoint(f,-l);movePoint(d,l);a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)};o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[i][1].start),end:d};s={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[i][1].start)};r={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)};e[n][1].end=Object.assign({},a.start);e[i][1].start=Object.assign({},o.end);c=[];if(e[n][1].end.offset-e[n][1].start.offset){c=push(c,[["enter",e[n][1],t],["exit",e[n][1],t]])}c=push(c,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",s,t]]);c=push(c,resolveAll(t.parser.constructs.insideSpan.null,e.slice(n+1,i),t));c=push(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",r,t]]);if(e[i][1].end.offset-e[i][1].start.offset){p=2;c=push(c,[["enter",e[i][1],t],["exit",e[i][1],t]])}else{p=0}splice(e,n-1,i-n+3,c);i=n+c.length-p-2;break}}}}i=-1;while(++i<e.length){if(e[i][1].type==="attentionSequence"){e[i][1].type="data"}}return e}function tokenizeAttention(e,t){const i=this.parser.constructs.attentionMarkers.null;const n=this.previous;const r=classifyCharacter(n);let s;return start;function start(t){e.enter("attentionSequence");s=t;return sequence(t)}function sequence(a){if(a===s){e.consume(a);return sequence}const o=e.exit("attentionSequence");const l=classifyCharacter(a);const c=!l||l===2&&r||i.includes(a);const p=!r||r===2&&l||i.includes(n);o._open=Boolean(s===42?c:c&&(r||!p));o._close=Boolean(s===42?p:p&&(l||!c));return t(a)}}function movePoint(e,t){e.column+=t;e.offset+=t;e._bufferIndex+=t}const ci={name:"autolink",tokenize:tokenizeAutolink};function tokenizeAutolink(e,t,i){let n=1;return start;function start(t){e.enter("autolink");e.enter("autolinkMarker");e.consume(t);e.exit("autolinkMarker");e.enter("autolinkProtocol");return open}function open(t){if(Ye(t)){e.consume(t);return schemeOrEmailAtext}return nt(t)?emailAtext(t):i(t)}function schemeOrEmailAtext(e){return e===43||e===45||e===46||tt(e)?schemeInsideOrEmailAtext(e):emailAtext(e)}function schemeInsideOrEmailAtext(t){if(t===58){e.consume(t);return urlInside}if((t===43||t===45||t===46||tt(t))&&n++<32){e.consume(t);return schemeInsideOrEmailAtext}return emailAtext(t)}function urlInside(t){if(t===62){e.exit("autolinkProtocol");return end(t)}if(t===null||t===32||t===60||asciiControl(t)){return i(t)}e.consume(t);return urlInside}function emailAtext(t){if(t===64){e.consume(t);n=0;return emailAtSignOrDot}if(nt(t)){e.consume(t);return emailAtext}return i(t)}function emailAtSignOrDot(e){return tt(e)?emailLabel(e):i(e)}function emailLabel(t){if(t===46){e.consume(t);n=0;return emailAtSignOrDot}if(t===62){e.exit("autolinkProtocol").type="autolinkEmail";return end(t)}return emailValue(t)}function emailValue(t){if((t===45||tt(t))&&n++<63){e.consume(t);return t===45?emailValue:emailLabel}return i(t)}function end(i){e.enter("autolinkMarker");e.consume(i);e.exit("autolinkMarker");e.exit("autolink");return t}}const pi={name:"htmlText",tokenize:tokenizeHtmlText};function tokenizeHtmlText(e,t,i){const n=this;let r;let s;let a;let o;return start;function start(t){e.enter("htmlText");e.enter("htmlTextData");e.consume(t);return open}function open(t){if(t===33){e.consume(t);return declarationOpen}if(t===47){e.consume(t);return tagCloseStart}if(t===63){e.consume(t);return instruction}if(Ye(t)){e.consume(t);return tagOpen}return i(t)}function declarationOpen(t){if(t===45){e.consume(t);return commentOpen}if(t===91){e.consume(t);s="CDATA[";a=0;return cdataOpen}if(Ye(t)){e.consume(t);return declaration}return i(t)}function commentOpen(t){if(t===45){e.consume(t);return commentStart}return i(t)}function commentStart(t){if(t===null||t===62){return i(t)}if(t===45){e.consume(t);return commentStartDash}return comment(t)}function commentStartDash(e){if(e===null||e===62){return i(e)}return comment(e)}function comment(t){if(t===null){return i(t)}if(t===45){e.consume(t);return commentClose}if(markdownLineEnding(t)){o=comment;return atLineEnding(t)}e.consume(t);return comment}function commentClose(t){if(t===45){e.consume(t);return end}return comment(t)}function cdataOpen(t){if(t===s.charCodeAt(a++)){e.consume(t);return a===s.length?cdata:cdataOpen}return i(t)}function cdata(t){if(t===null){return i(t)}if(t===93){e.consume(t);return cdataClose}if(markdownLineEnding(t)){o=cdata;return atLineEnding(t)}e.consume(t);return cdata}function cdataClose(t){if(t===93){e.consume(t);return cdataEnd}return cdata(t)}function cdataEnd(t){if(t===62){return end(t)}if(t===93){e.consume(t);return cdataEnd}return cdata(t)}function declaration(t){if(t===null||t===62){return end(t)}if(markdownLineEnding(t)){o=declaration;return atLineEnding(t)}e.consume(t);return declaration}function instruction(t){if(t===null){return i(t)}if(t===63){e.consume(t);return instructionClose}if(markdownLineEnding(t)){o=instruction;return atLineEnding(t)}e.consume(t);return instruction}function instructionClose(e){return e===62?end(e):instruction(e)}function tagCloseStart(t){if(Ye(t)){e.consume(t);return tagClose}return i(t)}function tagClose(t){if(t===45||tt(t)){e.consume(t);return tagClose}return tagCloseBetween(t)}function tagCloseBetween(t){if(markdownLineEnding(t)){o=tagCloseBetween;return atLineEnding(t)}if(markdownSpace(t)){e.consume(t);return tagCloseBetween}return end(t)}function tagOpen(t){if(t===45||tt(t)){e.consume(t);return tagOpen}if(t===47||t===62||markdownLineEndingOrSpace(t)){return tagOpenBetween(t)}return i(t)}function tagOpenBetween(t){if(t===47){e.consume(t);return end}if(t===58||t===95||Ye(t)){e.consume(t);return tagOpenAttributeName}if(markdownLineEnding(t)){o=tagOpenBetween;return atLineEnding(t)}if(markdownSpace(t)){e.consume(t);return tagOpenBetween}return end(t)}function tagOpenAttributeName(t){if(t===45||t===46||t===58||t===95||tt(t)){e.consume(t);return tagOpenAttributeName}return tagOpenAttributeNameAfter(t)}function tagOpenAttributeNameAfter(t){if(t===61){e.consume(t);return tagOpenAttributeValueBefore}if(markdownLineEnding(t)){o=tagOpenAttributeNameAfter;return atLineEnding(t)}if(markdownSpace(t)){e.consume(t);return tagOpenAttributeNameAfter}return tagOpenBetween(t)}function tagOpenAttributeValueBefore(t){if(t===null||t===60||t===61||t===62||t===96){return i(t)}if(t===34||t===39){e.consume(t);r=t;return tagOpenAttributeValueQuoted}if(markdownLineEnding(t)){o=tagOpenAttributeValueBefore;return atLineEnding(t)}if(markdownSpace(t)){e.consume(t);return tagOpenAttributeValueBefore}e.consume(t);r=undefined;return tagOpenAttributeValueUnquoted}function tagOpenAttributeValueQuoted(t){if(t===r){e.consume(t);return tagOpenAttributeValueQuotedAfter}if(t===null){return i(t)}if(markdownLineEnding(t)){o=tagOpenAttributeValueQuoted;return atLineEnding(t)}e.consume(t);return tagOpenAttributeValueQuoted}function tagOpenAttributeValueQuotedAfter(e){if(e===62||e===47||markdownLineEndingOrSpace(e)){return tagOpenBetween(e)}return i(e)}function tagOpenAttributeValueUnquoted(t){if(t===null||t===34||t===39||t===60||t===61||t===96){return i(t)}if(t===62||markdownLineEndingOrSpace(t)){return tagOpenBetween(t)}e.consume(t);return tagOpenAttributeValueUnquoted}function atLineEnding(t){e.exit("htmlTextData");e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return factorySpace(e,afterPrefix,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?undefined:4)}function afterPrefix(t){e.enter("htmlTextData");return o(t)}function end(n){if(n===62){e.consume(n);e.exit("htmlTextData");e.exit("htmlText");return t}return i(n)}}const hi={name:"labelStartLink",tokenize:tokenizeLabelStartLink,resolveAll:ri.resolveAll};function tokenizeLabelStartLink(e,t,i){const n=this;return start;function start(t){e.enter("labelLink");e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelLink");return after}function after(e){return e===94&&"_hiddenFootnoteSupport"in n.parser.constructs?i(e):t(e)}}const fi={name:"hardBreakEscape",tokenize:tokenizeHardBreakEscape};function tokenizeHardBreakEscape(e,t,i){return start;function start(t){e.enter("hardBreakEscape");e.enter("escapeMarker");e.consume(t);return open}function open(n){if(markdownLineEnding(n)){e.exit("escapeMarker");e.exit("hardBreakEscape");return t(n)}return i(n)}}const di={name:"codeText",tokenize:tokenizeCodeText,resolve:resolveCodeText,previous:previous};function resolveCodeText(e){let t=e.length-4;let i=3;let n;let r;if((e[i][1].type==="lineEnding"||e[i][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){n=i;while(++n<t){if(e[n][1].type==="codeTextData"){e[i][1].type="codeTextPadding";e[t][1].type="codeTextPadding";i+=2;t-=2;break}}}n=i-1;t++;while(++n<=t){if(r===undefined){if(n!==t&&e[n][1].type!=="lineEnding"){r=n}}else if(n===t||e[n][1].type==="lineEnding"){e[r][1].type="codeTextData";if(n!==r+2){e[r][1].end=e[n-1][1].end;e.splice(r+2,n-r-2);t-=n-r-2;n=r+2}r=undefined}}return e}function previous(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function tokenizeCodeText(e,t,i){const n=this;let r=0;let s;let a;return start;function start(t){e.enter("codeText");e.enter("codeTextSequence");return openingSequence(t)}function openingSequence(t){if(t===96){e.consume(t);r++;return openingSequence}e.exit("codeTextSequence");return gap(t)}function gap(t){if(t===null){return i(t)}if(t===96){a=e.enter("codeTextSequence");s=0;return closingSequence(t)}if(t===32){e.enter("space");e.consume(t);e.exit("space");return gap}if(markdownLineEnding(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return gap}e.enter("codeTextData");return data(t)}function data(t){if(t===null||t===32||t===96||markdownLineEnding(t)){e.exit("codeTextData");return gap(t)}e.consume(t);return data}function closingSequence(i){if(i===96){e.consume(i);s++;return closingSequence}if(s===r){e.exit("codeTextSequence");e.exit("codeText");return t(i)}a.type="codeTextData";return data(i)}}const mi={[42]:qt,[43]:qt,[45]:qt,[48]:qt,[49]:qt,[50]:qt,[51]:qt,[52]:qt,[53]:qt,[54]:qt,[55]:qt,[56]:qt,[57]:qt,[62]:Jt};const gi={[91]:Ut};const xi={[-2]:Xt,[-1]:Xt,[32]:Xt};const yi={[35]:Gt,[42]:Rt,[45]:[Qt,Rt],[60]:Yt,[61]:Qt,[95]:Rt,[96]:ei,[126]:ei};const vi={[38]:ti,[92]:ii};const bi={[-5]:ni,[-4]:ni,[-3]:ni,[33]:li,[38]:ti,[42]:ui,[60]:[ci,pi],[91]:hi,[92]:[fi,ii],[93]:ri,[95]:ui,[96]:di};const wi={null:[ui,Vt]};const ki={null:[42,95]};const Ei={null:[]};function parse_parse(t={}){const i=combineExtensions([e].concat(t.extensions||[]));const n={defined:[],lazy:{},constructs:i,content:create(Ft),document:create(Lt),flow:create(Bt),string:create(Ot),text:create(Mt)};return n;function create(e){return creator;function creator(t){return createTokenizer(n,e,t)}}}const Si=/[\0\t\n\r]/g;function preprocess(){let e=1;let t="";let i=true;let n;return preprocessor;function preprocessor(r,s,a){const o=[];let l;let c;let p;let f;let d;r=t+r.toString(s);p=0;t="";if(i){if(r.charCodeAt(0)===65279){p++}i=undefined}while(p<r.length){Si.lastIndex=p;l=Si.exec(r);f=l&&l.index!==undefined?l.index:r.length;d=r.charCodeAt(f);if(!l){t=r.slice(p);break}if(d===10&&p===f&&n){o.push(-3);n=undefined}else{if(n){o.push(-5);n=undefined}if(p<f){o.push(r.slice(p,f));e+=f-p}switch(d){case 0:{o.push(65533);e++;break}case 9:{c=Math.ceil(e/4)*4;o.push(-2);while(e++<c)o.push(-1);break}case 10:{o.push(-4);e=1;break}default:{n=true;e=1}}}p=f+1}if(a){if(n)o.push(-5);if(t)o.push(t);o.push(null)}return o}}function postprocess(e){while(!subtokenize(e)){}return e}function decodeNumericCharacterReference(e,t){const i=Number.parseInt(e,t);if(i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111){return"�"}return String.fromCharCode(i)}const Ci=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decodeString(e){return e.replace(Ci,decode)}function decode(e,t,i){if(t){return t}const n=i.charCodeAt(0);if(n===35){const e=i.charCodeAt(1);const t=e===120||e===88;return decodeNumericCharacterReference(i.slice(t?2:1),t?16:10)}return decodeNamedCharacterReference(i)||e}const Ai={}.hasOwnProperty;const fromMarkdown=function(e,t,i){if(typeof t!=="string"){i=t;t=undefined}return compiler(i)(postprocess(parse_parse(i).document().write(preprocess()(e,t,true))))};function compiler(e={}){const t=configure({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:opener(link),autolinkProtocol:onenterdata,autolinkEmail:onenterdata,atxHeading:opener(heading),blockQuote:opener(blockQuote),characterEscape:onenterdata,characterReference:onenterdata,codeFenced:opener(codeFlow),codeFencedFenceInfo:buffer,codeFencedFenceMeta:buffer,codeIndented:opener(codeFlow,buffer),codeText:opener(codeText,buffer),codeTextData:onenterdata,data:onenterdata,codeFlowValue:onenterdata,definition:opener(definition),definitionDestinationString:buffer,definitionLabelString:buffer,definitionTitleString:buffer,emphasis:opener(emphasis),hardBreakEscape:opener(hardBreak),hardBreakTrailing:opener(hardBreak),htmlFlow:opener(html,buffer),htmlFlowData:onenterdata,htmlText:opener(html,buffer),htmlTextData:onenterdata,image:opener(image),label:buffer,link:opener(link),listItem:opener(listItem),listItemValue:onenterlistitemvalue,listOrdered:opener(list,onenterlistordered),listUnordered:opener(list),paragraph:opener(paragraph),reference:onenterreference,referenceString:buffer,resourceDestinationString:buffer,resourceTitleString:buffer,setextHeading:opener(heading),strong:opener(strong),thematicBreak:opener(thematicBreak)},exit:{atxHeading:closer(),atxHeadingSequence:onexitatxheadingsequence,autolink:closer(),autolinkEmail:onexitautolinkemail,autolinkProtocol:onexitautolinkprotocol,blockQuote:closer(),characterEscapeValue:onexitdata,characterReferenceMarkerHexadecimal:onexitcharacterreferencemarker,characterReferenceMarkerNumeric:onexitcharacterreferencemarker,characterReferenceValue:onexitcharacterreferencevalue,codeFenced:closer(onexitcodefenced),codeFencedFence:onexitcodefencedfence,codeFencedFenceInfo:onexitcodefencedfenceinfo,codeFencedFenceMeta:onexitcodefencedfencemeta,codeFlowValue:onexitdata,codeIndented:closer(onexitcodeindented),codeText:closer(onexitcodetext),codeTextData:onexitdata,data:onexitdata,definition:closer(),definitionDestinationString:onexitdefinitiondestinationstring,definitionLabelString:onexitdefinitionlabelstring,definitionTitleString:onexitdefinitiontitlestring,emphasis:closer(),hardBreakEscape:closer(onexithardbreak),hardBreakTrailing:closer(onexithardbreak),htmlFlow:closer(onexithtmlflow),htmlFlowData:onexitdata,htmlText:closer(onexithtmltext),htmlTextData:onexitdata,image:closer(onexitimage),label:onexitlabel,labelText:onexitlabeltext,lineEnding:onexitlineending,link:closer(onexitlink),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:onexitreferencestring,resourceDestinationString:onexitresourcedestinationstring,resourceTitleString:onexitresourcetitlestring,resource:onexitresource,setextHeading:closer(onexitsetextheading),setextHeadingLineSequence:onexitsetextheadinglinesequence,setextHeadingText:onexitsetextheadingtext,strong:closer(),thematicBreak:closer()}},e.mdastExtensions||[]);const i={};return compile;function compile(e){let i={type:"root",children:[]};const n=[i];const r=[];const s=[];const a={stack:n,tokenStack:r,config:t,enter:enter,exit:exit,buffer:buffer,resume:resume,setData:setData,getData:getData};let o=-1;while(++o<e.length){if(e[o][1].type==="listOrdered"||e[o][1].type==="listUnordered"){if(e[o][0]==="enter"){s.push(o)}else{const t=s.pop();o=prepareList(e,t,o)}}}o=-1;while(++o<e.length){const i=t[e[o][0]];if(Ai.call(i,e[o][1].type)){i[e[o][1].type].call(Object.assign({sliceSerialize:e[o][2].sliceSerialize},a),e[o][1])}}if(r.length>0){const e=r[r.length-1];const t=e[1]||defaultOnError;t.call(a,undefined,e[0])}i.position={start:point(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:point(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})};o=-1;while(++o<t.transforms.length){i=t.transforms[o](i)||i}return i}function prepareList(e,t,i){let n=t-1;let r=-1;let s=false;let a;let o;let l;let c;while(++n<=i){const t=e[n];if(t[1].type==="listUnordered"||t[1].type==="listOrdered"||t[1].type==="blockQuote"){if(t[0]==="enter"){r++}else{r--}c=undefined}else if(t[1].type==="lineEndingBlank"){if(t[0]==="enter"){if(a&&!c&&!r&&!l){l=n}c=undefined}}else if(t[1].type==="linePrefix"||t[1].type==="listItemValue"||t[1].type==="listItemMarker"||t[1].type==="listItemPrefix"||t[1].type==="listItemPrefixWhitespace"){}else{c=undefined}if(!r&&t[0]==="enter"&&t[1].type==="listItemPrefix"||r===-1&&t[0]==="exit"&&(t[1].type==="listUnordered"||t[1].type==="listOrdered")){if(a){let r=n;o=undefined;while(r--){const t=e[r];if(t[1].type==="lineEnding"||t[1].type==="lineEndingBlank"){if(t[0]==="exit")continue;if(o){e[o][1].type="lineEndingBlank";s=true}t[1].type="lineEnding";o=r}else if(t[1].type==="linePrefix"||t[1].type==="blockQuotePrefix"||t[1].type==="blockQuotePrefixWhitespace"||t[1].type==="blockQuoteMarker"||t[1].type==="listItemIndent"){}else{break}}if(l&&(!o||l<o)){a._spread=true}a.end=Object.assign({},o?e[o][1].start:t[1].end);e.splice(o||n,0,["exit",a,t[2]]);n++;i++}if(t[1].type==="listItemPrefix"){a={type:"listItem",_spread:false,start:Object.assign({},t[1].start)};e.splice(n,0,["enter",a,t[2]]);n++;i++;l=undefined;c=true}}}e[t][1]._spread=s;return i}function setData(e,t){i[e]=t}function getData(e){return i[e]}function point(e){return{line:e.line,column:e.column,offset:e.offset}}function opener(e,t){return open;function open(i){enter.call(this,e(i),i);if(t)t.call(this,i)}}function buffer(){this.stack.push({type:"fragment",children:[]})}function enter(e,t,i){const n=this.stack[this.stack.length-1];n.children.push(e);this.stack.push(e);this.tokenStack.push([t,i]);e.position={start:point(t.start)};return e}function closer(e){return close;function close(t){if(e)e.call(this,t);exit.call(this,t)}}function exit(e,t){const i=this.stack.pop();const n=this.tokenStack.pop();if(!n){throw new Error("Cannot close `"+e.type+"` ("+stringifyPosition({start:e.start,end:e.end})+"): it’s not open")}else if(n[0].type!==e.type){if(t){t.call(this,e,n[0])}else{const t=n[1]||defaultOnError;t.call(this,e,n[0])}}i.position.end=point(e.end);return i}function resume(){return mdast_util_to_string_toString(this.stack.pop())}function onenterlistordered(){setData("expectingFirstListItemValue",true)}function onenterlistitemvalue(e){if(getData("expectingFirstListItemValue")){const t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10);setData("expectingFirstListItemValue")}}function onexitcodefencedfenceinfo(){const e=this.resume();const t=this.stack[this.stack.length-1];t.lang=e}function onexitcodefencedfencemeta(){const e=this.resume();const t=this.stack[this.stack.length-1];t.meta=e}function onexitcodefencedfence(){if(getData("flowCodeInside"))return;this.buffer();setData("flowCodeInside",true)}function onexitcodefenced(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"");setData("flowCodeInside")}function onexitcodeindented(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}function onexitdefinitionlabelstring(e){const t=this.resume();const i=this.stack[this.stack.length-1];i.label=t;i.identifier=normalizeIdentifier(this.sliceSerialize(e)).toLowerCase()}function onexitdefinitiontitlestring(){const e=this.resume();const t=this.stack[this.stack.length-1];t.title=e}function onexitdefinitiondestinationstring(){const e=this.resume();const t=this.stack[this.stack.length-1];t.url=e}function onexitatxheadingsequence(e){const t=this.stack[this.stack.length-1];if(!t.depth){const i=this.sliceSerialize(e).length;t.depth=i}}function onexitsetextheadingtext(){setData("setextHeadingSlurpLineEnding",true)}function onexitsetextheadinglinesequence(e){const t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).charCodeAt(0)===61?1:2}function onexitsetextheading(){setData("setextHeadingSlurpLineEnding")}function onenterdata(e){const t=this.stack[this.stack.length-1];let i=t.children[t.children.length-1];if(!i||i.type!=="text"){i=text();i.position={start:point(e.start)};t.children.push(i)}this.stack.push(i)}function onexitdata(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e);t.position.end=point(e.end)}function onexitlineending(e){const i=this.stack[this.stack.length-1];if(getData("atHardBreak")){const t=i.children[i.children.length-1];t.position.end=point(e.end);setData("atHardBreak");return}if(!getData("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(i.type)){onenterdata.call(this,e);onexitdata.call(this,e)}}function onexithardbreak(){setData("atHardBreak",true)}function onexithtmlflow(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function onexithtmltext(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function onexitcodetext(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function onexitlink(){const e=this.stack[this.stack.length-1];if(getData("inReference")){e.type+="Reference";e.referenceType=getData("referenceType")||"shortcut";delete e.url;delete e.title}else{delete e.identifier;delete e.label}setData("referenceType")}function onexitimage(){const e=this.stack[this.stack.length-1];if(getData("inReference")){e.type+="Reference";e.referenceType=getData("referenceType")||"shortcut";delete e.url;delete e.title}else{delete e.identifier;delete e.label}setData("referenceType")}function onexitlabeltext(e){const t=this.stack[this.stack.length-2];const i=this.sliceSerialize(e);t.label=decodeString(i);t.identifier=normalizeIdentifier(i).toLowerCase()}function onexitlabel(){const e=this.stack[this.stack.length-1];const t=this.resume();const i=this.stack[this.stack.length-1];setData("inReference",true);if(i.type==="link"){i.children=e.children}else{i.alt=t}}function onexitresourcedestinationstring(){const e=this.resume();const t=this.stack[this.stack.length-1];t.url=e}function onexitresourcetitlestring(){const e=this.resume();const t=this.stack[this.stack.length-1];t.title=e}function onexitresource(){setData("inReference")}function onenterreference(){setData("referenceType","collapsed")}function onexitreferencestring(e){const t=this.resume();const i=this.stack[this.stack.length-1];i.label=t;i.identifier=normalizeIdentifier(this.sliceSerialize(e)).toLowerCase();setData("referenceType","full")}function onexitcharacterreferencemarker(e){setData("characterReferenceType",e.type)}function onexitcharacterreferencevalue(e){const t=this.sliceSerialize(e);const i=getData("characterReferenceType");let n;if(i){n=decodeNumericCharacterReference(t,i==="characterReferenceMarkerNumeric"?10:16);setData("characterReferenceType")}else{n=decodeNamedCharacterReference(t)}const r=this.stack.pop();r.value+=n;r.position.end=point(e.end)}function onexitautolinkprotocol(e){onexitdata.call(this,e);const t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function onexitautolinkemail(e){onexitdata.call(this,e);const t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)}function blockQuote(){return{type:"blockquote",children:[]}}function codeFlow(){return{type:"code",lang:null,meta:null,value:""}}function codeText(){return{type:"inlineCode",value:""}}function definition(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function emphasis(){return{type:"emphasis",children:[]}}function heading(){return{type:"heading",depth:undefined,children:[]}}function hardBreak(){return{type:"break"}}function html(){return{type:"html",value:""}}function image(){return{type:"image",title:null,url:"",alt:null}}function link(){return{type:"link",title:null,url:"",children:[]}}function list(e){return{type:"list",ordered:e.type==="listOrdered",start:null,spread:e._spread,children:[]}}function listItem(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function paragraph(){return{type:"paragraph",children:[]}}function strong(){return{type:"strong",children:[]}}function text(){return{type:"text",value:""}}function thematicBreak(){return{type:"thematicBreak"}}}function configure(e,t){let i=-1;while(++i<t.length){const n=t[i];if(Array.isArray(n)){configure(e,n)}else{extension(e,n)}}return e}function extension(e,t){let i;for(i in t){if(Ai.call(t,i)){const n=i==="canContainEols"||i==="transforms";const r=Ai.call(e,i)?e[i]:undefined;const s=r||(e[i]=n?[]:{});const a=t[i];if(a){if(n){e[i]=[...s,...a]}else{Object.assign(s,a)}}}}}function defaultOnError(e,t){if(e){throw new Error("Cannot close `"+e.type+"` ("+stringifyPosition({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+stringifyPosition({start:t.start,end:t.end})+") is open")}else{throw new Error("Cannot close document, a token (`"+t.type+"`, "+stringifyPosition({start:t.start,end:t.end})+") is still open")}}function remarkParse(e){const parser=t=>{const i=this.data("settings");return fromMarkdown(t,Object.assign({},i,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:parser})}var _i=remarkParse;var u=function(e,t,i){var n={type:String(e)};if((i===undefined||i===null)&&(typeof t==="string"||Array.isArray(t))){i=t}else{Object.assign(n,t)}if(Array.isArray(i)){n.children=i}else if(i!==undefined&&i!==null){n.value=String(i)}return n};const Ti=function is(e,t,i,n,r){const s=convert(t);if(i!==undefined&&i!==null&&(typeof i!=="number"||i<0||i===Number.POSITIVE_INFINITY)){throw new Error("Expected positive finite index")}if(n!==undefined&&n!==null&&(!is(n)||!n.children)){throw new Error("Expected parent node")}if((n===undefined||n===null)!==(i===undefined||i===null)){throw new Error("Expected both parent and index")}return e&&e.type&&typeof e.type==="string"?Boolean(s.call(r,e,i,n)):false};const convert=function(e){if(e===undefined||e===null){return ok}if(typeof e==="string"){return typeFactory(e)}if(typeof e==="object"){return Array.isArray(e)?anyFactory(e):propsFactory(e)}if(typeof e==="function"){return castFactory(e)}throw new Error("Expected function, string, or object as test")};function anyFactory(e){const t=[];let i=-1;while(++i<e.length){t[i]=convert(e[i])}return castFactory(any);function any(...e){let i=-1;while(++i<t.length){if(t[i].call(this,...e))return true}return false}}function propsFactory(e){return castFactory(all);function all(t){let i;for(i in e){if(t[i]!==e[i])return false}return true}}function typeFactory(e){return castFactory(type);function type(t){return t&&t.type===e}}function castFactory(e){return assertion;function assertion(...t){return Boolean(e.call(this,...t))}}function ok(){return true}function color_color(e){return"[33m"+e+"[39m"}const Ii=true;const Fi="skip";const Li=false;const visitParents=function(e,t,i,n){if(typeof t==="function"&&typeof i!=="function"){n=i;i=t;t=null}const r=convert(t);const s=n?-1:1;factory(e,null,[])();function factory(e,a,o){const l=typeof e==="object"&&e!==null?e:{};let c;if(typeof l.type==="string"){c=typeof l.tagName==="string"?l.tagName:typeof l.name==="string"?l.name:undefined;Object.defineProperty(visit,"name",{value:"node ("+color_color(l.type+(c?"<"+c+">":""))+")"})}return visit;function visit(){let l=[];let c;let p;let f;if(!t||r(e,a,o[o.length-1]||null)){l=unist_util_visit_parents_toResult(i(e,o));if(l[0]===Li){return l}}if(e.children&&l[0]!==Fi){p=(n?e.children.length:-1)+s;f=o.concat(e);while(p>-1&&p<e.children.length){c=factory(e.children[p],p,f)();if(c[0]===Li){return c}p=typeof c[1]==="number"?c[1]:p+s}}return l}}};function unist_util_visit_parents_toResult(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[Ii,e]}return[e]}const unist_util_visit_visit=function(e,t,i,n){if(typeof t==="function"&&typeof i!=="function"){n=i;i=t;t=null}visitParents(e,t,overload,n);function overload(e,t){const n=t[t.length-1];return i(e,n?n.children.indexOf(e):null,n)}};var Pi=unist_util_position_point("start");var Di=unist_util_position_point("end");function unist_util_position_position(e){return{start:Pi(e),end:Di(e)}}function unist_util_position_point(e){return point;function point(t){var i=t&&t.position&&t.position[e]||{};return{line:i.line||null,column:i.column||null,offset:i.offset>-1?i.offset:null}}}function generated(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}function unist_util_visit_parents_color_color(e){return"[33m"+e+"[39m"}const Ni=true;const Bi="skip";const Vi=false;const unist_util_visit_parents_visitParents=function(e,t,i,n){if(typeof t==="function"&&typeof i!=="function"){n=i;i=t;t=null}var r=convert(t);var s=n?-1:1;factory(e,null,[])();function factory(e,a,o){var l=typeof e==="object"&&e!==null?e:{};var c;if(typeof l.type==="string"){c=typeof l.tagName==="string"?l.tagName:typeof l.name==="string"?l.name:undefined;Object.defineProperty(visit,"name",{value:"node ("+unist_util_visit_parents_color_color(l.type+(c?"<"+c+">":""))+")"})}return visit;function visit(){var l=[];var c;var p;var f;if(!t||r(e,a,o[o.length-1]||null)){l=node_modules_unist_util_visit_parents_toResult(i(e,o));if(l[0]===Vi){return l}}if(e.children&&l[0]!==Bi){p=(n?e.children.length:-1)+s;f=o.concat(e);while(p>-1&&p<e.children.length){c=factory(e.children[p],p,f)();if(c[0]===Vi){return c}p=typeof c[1]==="number"?c[1]:p+s}}return l}}};function node_modules_unist_util_visit_parents_toResult(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[Ni,e]}return[e]}const node_modules_unist_util_visit_visit=function(e,t,i,n){if(typeof t==="function"&&typeof i!=="function"){n=i;i=t;t=null}unist_util_visit_parents_visitParents(e,t,overload,n);function overload(e,t){var n=t[t.length-1];return i(e,n?n.children.indexOf(e):null,n)}};const Oi={}.hasOwnProperty;function definitions(e){const t=Object.create(null);if(!e||!e.type){throw new Error("mdast-util-definitions expected node")}node_modules_unist_util_visit_visit(e,"definition",ondefinition);return getDefinition;function ondefinition(e){const i=clean(e.identifier);if(i&&!Oi.call(t,i)){t[i]=e}}function getDefinition(e){const i=clean(e);return i&&Oi.call(t,i)?t[i]:null}}function clean(e){return String(e||"").toUpperCase()}const Mi={}.hasOwnProperty;function unknown(e,t){const i=t.data||{};if("value"in t&&!(Mi.call(i,"hName")||Mi.call(i,"hProperties")||Mi.call(i,"hChildren"))){return e.augment(t,u("text",t.value))}return e(t,"div",traverse_all(e,t))}function traverse_one(e,t,i){const n=t&&t.type;let r;if(!n){throw new Error("Expected node, got `"+t+"`")}if(Mi.call(e.handlers,n)){r=e.handlers[n]}else if(e.passThrough&&e.passThrough.includes(n)){r=returnNode}else{r=e.unknownHandler}return(typeof r==="function"?r:unknown)(e,t,i)}function returnNode(e,t){return"children"in t?{...t,children:traverse_all(e,t)}:t}function traverse_all(e,t){const i=[];if("children"in t){const n=t.children;let r=-1;while(++r<n.length){const s=traverse_one(e,n[r],t);if(s){if(r&&n[r-1].type==="break"){if(!Array.isArray(s)&&s.type==="text"){s.value=s.value.replace(/^\s+/,"")}if(!Array.isArray(s)&&s.type==="element"){const e=s.children[0];if(e&&e.type==="text"){e.value=e.value.replace(/^\s+/,"")}}}if(Array.isArray(s)){i.push(...s)}else{i.push(s)}}}}return i}const Ri={'"':"quot","&":"amp","<":"lt",">":"gt"};function encode(e){return e.replace(/["&<>]/g,replace);function replace(e){return"&"+Ri[e]+";"}}function sanitizeUri(e,t){const i=encode(normalizeUri(e||""));if(!t){return i}const n=i.indexOf(":");const r=i.indexOf("?");const s=i.indexOf("#");const a=i.indexOf("/");if(n<0||a>-1&&n>a||r>-1&&n>r||s>-1&&n>s||t.test(i.slice(0,n))){return i}return""}function normalizeUri(e){const t=[];let i=-1;let n=0;let r=0;while(++i<e.length){const s=e.charCodeAt(i);let a="";if(s===37&&tt(e.charCodeAt(i+1))&&tt(e.charCodeAt(i+2))){r=2}else if(s<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))){a=String.fromCharCode(s)}}else if(s>55295&&s<57344){const t=e.charCodeAt(i+1);if(s<56320&&t>56319&&t<57344){a=String.fromCharCode(s,t);r=1}else{a="�"}}else{a=String.fromCharCode(s)}if(a){t.push(e.slice(n,i),encodeURIComponent(a));n=i+r+1;a=""}if(r){i+=r;r=0}}return t.join("")+e.slice(n)}function wrap_wrap(e,t){const i=[];let n=-1;if(t){i.push(u("text","\n"))}while(++n<e.length){if(n)i.push(u("text","\n"));i.push(e[n])}if(t&&e.length>0){i.push(u("text","\n"))}return i}function footer(e){let t=-1;const i=[];while(++t<e.footnoteOrder.length){const n=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!n){continue}const r=traverse_all(e,n);const s=String(n.identifier);const a=sanitizeUri(s.toLowerCase());let o=0;const l=[];while(++o<=e.footnoteCounts[s]){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteBackref:true,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};if(o>1){t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(o)}]})}if(l.length>0){l.push({type:"text",value:" "})}l.push(t)}const c=r[r.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const e=c.children[c.children.length-1];if(e&&e.type==="text"){e.value+=" "}else{c.children.push({type:"text",value:" "})}c.children.push(...l)}else{r.push(...l)}const p={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:wrap_wrap(r,true)};if(n.position){p.position=n.position}i.push(p)}if(i.length===0){return null}return{type:"element",tagName:"section",properties:{dataFootnotes:true,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[u("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:wrap_wrap(i,true)},{type:"text",value:"\n"}]}}function blockquote(e,t){return e(t,"blockquote",wrap_wrap(traverse_all(e,t),true))}function hardBreak(e,t){return[e(t,"br"),u("text","\n")]}function code(e,t){const i=t.value?t.value+"\n":"";const n=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/);const r={};if(n){r.className=["language-"+n]}const s=e(t,"code",r,[u("text",i)]);if(t.meta){s.data={meta:t.meta}}return e(t.position,"pre",[s])}function strikethrough(e,t){return e(t,"del",traverse_all(e,t))}function emphasis(e,t){return e(t,"em",traverse_all(e,t))}function footnoteReference(e,t){const i=String(t.identifier);const n=sanitizeUri(i.toLowerCase());const r=e.footnoteOrder.indexOf(i);let s;if(r===-1){e.footnoteOrder.push(i);e.footnoteCounts[i]=1;s=e.footnoteOrder.length}else{e.footnoteCounts[i]++;s=r+1}const a=e.footnoteCounts[i];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+n,id:e.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:true,ariaDescribedBy:"footnote-label"},[u("text",String(s))])])}function footnote(e,t){const i=e.footnoteById;let n=1;while(n in i)n++;const r=String(n);i[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position};return footnoteReference(e,{type:"footnoteReference",identifier:r,position:t.position})}function heading(e,t){return e(t,"h"+t.depth,traverse_all(e,t))}function html(e,t){return e.dangerous?e.augment(t,u("raw",t.value)):null}var qi=__nccwpck_require__(215);function revert(e,t){const i=t.referenceType;let n="]";if(i==="collapsed"){n+="[]"}else if(i==="full"){n+="["+(t.label||t.identifier)+"]"}if(t.type==="imageReference"){return u("text","!["+t.alt+n)}const r=traverse_all(e,t);const s=r[0];if(s&&s.type==="text"){s.value="["+s.value}else{r.unshift(u("text","["))}const a=r[r.length-1];if(a&&a.type==="text"){a.value+=n}else{r.push(u("text",n))}return r}function imageReference(e,t){const i=e.definition(t.identifier);if(!i){return revert(e,t)}const n={src:qi(i.url||""),alt:t.alt};if(i.title!==null&&i.title!==undefined){n.title=i.title}return e(t,"img",n)}function image_image(e,t){const i={src:qi(t.url),alt:t.alt};if(t.title!==null&&t.title!==undefined){i.title=t.title}return e(t,"img",i)}function inlineCode(e,t){return e(t,"code",[u("text",t.value.replace(/\r?\n|\r/g," "))])}function linkReference(e,t){const i=e.definition(t.identifier);if(!i){return revert(e,t)}const n={href:qi(i.url||"")};if(i.title!==null&&i.title!==undefined){n.title=i.title}return e(t,"a",n,traverse_all(e,t))}function link_link(e,t){const i={href:qi(t.url)};if(t.title!==null&&t.title!==undefined){i.title=t.title}return e(t,"a",i,traverse_all(e,t))}function listItem(e,t,i){const n=traverse_all(e,t);const r=i?listLoose(i):listItemLoose(t);const s={};const a=[];if(typeof t.checked==="boolean"){let i;if(n[0]&&n[0].type==="element"&&n[0].tagName==="p"){i=n[0]}else{i=e(null,"p",[]);n.unshift(i)}if(i.children.length>0){i.children.unshift(u("text"," "))}i.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:true}));s.className=["task-list-item"]}let o=-1;while(++o<n.length){const e=n[o];if(r||o!==0||e.type!=="element"||e.tagName!=="p"){a.push(u("text","\n"))}if(e.type==="element"&&e.tagName==="p"&&!r){a.push(...e.children)}else{a.push(e)}}const l=n[n.length-1];if(l&&(r||!("tagName"in l)||l.tagName!=="p")){a.push(u("text","\n"))}return e(t,"li",s,a)}function listLoose(e){let t=e.spread;const i=e.children;let n=-1;while(!t&&++n<i.length){t=listItemLoose(i[n])}return Boolean(t)}function listItemLoose(e){const t=e.spread;return t===undefined||t===null?e.children.length>1:t}function handlers_list_list(e,t){const i={};const n=t.ordered?"ol":"ul";const r=traverse_all(e,t);let s=-1;if(typeof t.start==="number"&&t.start!==1){i.start=t.start}while(++s<r.length){const e=r[s];if(e.type==="element"&&e.tagName==="li"&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}return e(t,n,i,wrap_wrap(r,true))}function paragraph(e,t){return e(t,"p",traverse_all(e,t))}function root(e,t){return e.augment(t,u("root",wrap_wrap(traverse_all(e,t))))}function strong(e,t){return e(t,"strong",traverse_all(e,t))}function table(e,t){const i=t.children;let n=-1;const r=t.align||[];const s=[];while(++n<i.length){const a=i[n].children;const o=n===0?"th":"td";const l=[];let c=-1;const p=t.align?r.length:a.length;while(++c<p){const t=a[c];l.push(e(t,o,{align:r[c]},t?traverse_all(e,t):[]))}s[n]=e(i[n],"tr",wrap_wrap(l,true))}return e(t,"table",wrap_wrap([e(s[0].position,"thead",wrap_wrap([s[0]],true))].concat(s[1]?e({start:Pi(s[1]),end:Di(s[s.length-1])},"tbody",wrap_wrap(s.slice(1),true)):[]),true))}function handlers_text_text(e,t){return e.augment(t,u("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))}function thematic_break_thematicBreak(e,t){return e(t,"hr")}const ji={blockquote:blockquote,break:hardBreak,code:code,delete:strikethrough,emphasis:emphasis,footnoteReference:footnoteReference,footnote:footnote,heading:heading,html:html,imageReference:imageReference,image:image_image,inlineCode:inlineCode,linkReference:linkReference,link:link_link,listItem:listItem,list:handlers_list_list,paragraph:paragraph,root:root,strong:strong,table:table,text:handlers_text_text,thematicBreak:thematic_break_thematicBreak,toml:ignore,yaml:ignore,definition:ignore,footnoteDefinition:ignore};function ignore(){return null}const zi={}.hasOwnProperty;function factory(e,t){const i=t||{};const n=i.allowDangerousHtml||false;const r={};h.dangerous=n;h.clobberPrefix=i.clobberPrefix===undefined||i.clobberPrefix===null?"user-content-":i.clobberPrefix;h.footnoteLabel=i.footnoteLabel||"Footnotes";h.footnoteBackLabel=i.footnoteBackLabel||"Back to content";h.definition=definitions(e);h.footnoteById=r;h.footnoteOrder=[];h.footnoteCounts={};h.augment=augment;h.handlers={...ji,...i.handlers};h.unknownHandler=i.unknownHandler;h.passThrough=i.passThrough;unist_util_visit_visit(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();if(!zi.call(r,t)){r[t]=e}}));return h;function augment(e,t){if(e&&"data"in e&&e.data){const i=e.data;if(i.hName){if(t.type!=="element"){t={type:"element",tagName:"",properties:{},children:[]}}t.tagName=i.hName}if(t.type==="element"&&i.hProperties){t.properties={...t.properties,...i.hProperties}}if("children"in t&&t.children&&i.hChildren){t.children=i.hChildren}}if(e){const i="type"in e?e:{position:e};if(!generated(i)){t.position={start:Pi(i),end:Di(i)}}}return t}function h(e,t,i,n){if(Array.isArray(i)){n=i;i={}}return augment(e,{type:"element",tagName:t,properties:i||{},children:n||[]})}}function toHast(e,t){const i=factory(e,t);const n=traverse_one(i,e,null);const r=footer(i);if(r){n.children.push(u("text","\n"),r)}return Array.isArray(n)?{type:"root",children:n}:n}const remarkRehype=function(e,t){return e&&"run"in e?bridge(e,t):mutate(e||t)};var Ji=remarkRehype;function bridge(e,t){return(i,n,r)=>{e.run(toHast(i,t),n,(e=>{r(e)}))}}function mutate(e){return t=>toHast(t,e)}class WalkerBase{constructor(){this.should_skip=false;this.should_remove=false;this.replacement=null;this.context={skip:()=>this.should_skip=true,remove:()=>this.should_remove=true,replace:e=>this.replacement=e}}replace(e,t,i,n){if(e){if(i!==null){e[t][i]=n}else{e[t]=n}}}remove(e,t,i){if(e){if(i!==null){e[t].splice(i,1)}else{delete e[t]}}}}class SyncWalker extends WalkerBase{constructor(e,t){super();this.enter=e;this.leave=t}visit(e,t,i,n){if(e){if(this.enter){const r=this.should_skip;const s=this.should_remove;const a=this.replacement;this.should_skip=false;this.should_remove=false;this.replacement=null;this.enter.call(this.context,e,t,i,n);if(this.replacement){e=this.replacement;this.replace(t,i,n,e)}if(this.should_remove){this.remove(t,i,n)}const o=this.should_skip;const l=this.should_remove;this.should_skip=r;this.should_remove=s;this.replacement=a;if(o)return e;if(l)return null}for(const t in e){const i=e[t];if(typeof i!=="object"){continue}else if(Array.isArray(i)){for(let n=0;n<i.length;n+=1){if(i[n]!==null&&typeof i[n].type==="string"){if(!this.visit(i[n],e,t,n)){n--}}}}else if(i!==null&&typeof i.type==="string"){this.visit(i,e,t,null)}}if(this.leave){const r=this.replacement;const s=this.should_remove;this.replacement=null;this.should_remove=false;this.leave.call(this.context,e,t,i,n);if(this.replacement){e=this.replacement;this.replace(t,i,n,e)}if(this.should_remove){this.remove(t,i,n)}const a=this.should_remove;this.replacement=r;this.should_remove=s;if(a)return null}}return e}}function walk(e,{enter:t,leave:i}){const n=new SyncWalker(t,i);return n.visit(e,null)}async function asyncWalk(e,{enter:t,leave:i}){const n=new AsyncWalker(t,i);return await n.visit(e,null)}var Ui=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function buildJsx(e,t={}){var i=t.runtime==="automatic";var n={};var r={};walk(e,{enter:enter,leave:leave});return e;function enter(e){var t;var r;var s;if(e.type==="Program"){t=e.comments||[];r=-1;while(++r<t.length){Ui.lastIndex=0;while(s=Ui.exec(t[r].value)){n[s[1]]=s[2]}}if(n.jsxRuntime){if(n.jsxRuntime==="automatic"){i=true;if(n.jsx){throw new Error("Unexpected `@jsx` pragma w/ automatic runtime")}if(n.jsxFrag){throw new Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}}else if(n.jsxRuntime==="classic"){i=false;if(n.jsxImportSource){throw new Error("Unexpected `@jsxImportSource` w/ classic runtime")}}else{throw new Error("Unexpected `jsxRuntime` `"+n.jsxRuntime+"`, expected `automatic` or `classic`")}}}}function leave(e){var s=[];var a=[];var o=[];var l=[];var c=-1;var p;var f;var d;var m;var g;var x;var y;var v;var b;var w;var k;if(e.type==="Program"){b=[];if(r.fragment){b.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}})}if(r.jsx){b.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}})}if(r.jsxs){b.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}})}if(b.length>0){e.body.unshift({type:"ImportDeclaration",specifiers:b,source:{type:"Literal",value:(n.jsxImportSource||t.importSource||"react")+"/jsx-runtime"}})}}if(e.type!=="JSXElement"&&e.type!=="JSXFragment"){return}while(++c<e.children.length){p=e.children[c];if(p.type==="JSXExpressionContainer"){if(p.expression.type!=="JSXEmptyExpression"){a.push(p.expression)}}else if(p.type==="JSXText"){k=p.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,"\n").replace(/\n+/g,"\n").replace(/\n+$/,"").replace(/\n/g," ");if(k){a.push(create(p,{type:"Literal",value:k}))}}else{a.push(p)}}if(e.type==="JSXElement"){f=toIdentifier(e.openingElement.name);if(f.type==="Identifier"&&/^[a-z]/.test(f.name)){f=create(f,{type:"Literal",value:f.name})}m=e.openingElement.attributes;c=-1;while(++c<m.length){g=m[c];if(g.type==="JSXSpreadAttribute"){if(l.length>0){o.push({type:"ObjectExpression",properties:l});l=[]}o.push(g.argument);x=true}else{w=toProperty(g);if(i&&w.key.type==="Identifier"&&w.key.name==="key"){if(x){throw new Error("Expected `key` to come before any spread expressions")}y=w.value}else{l.push(w)}}}}else if(i){r.fragment=true;f={type:"Identifier",name:"_Fragment"}}else{f=toMemberExpression(n.jsxFrag||t.pragmaFrag||"React.Fragment")}if(i&&a.length>0){l.push({type:"Property",key:{type:"Identifier",name:"children"},value:a.length>1?{type:"ArrayExpression",elements:a}:a[0],kind:"init",method:false,shorthand:false,computed:false})}else{s=a}if(l.length>0){o.push({type:"ObjectExpression",properties:l})}if(o.length>1){if(o[0].type!=="ObjectExpression"){o.unshift({type:"ObjectExpression",properties:[]})}d={type:"CallExpression",callee:toMemberExpression("Object.assign"),arguments:o,optional:false}}else if(o.length>0){d=o[0]}if(i){if(a.length>1){r.jsxs=true;v={type:"Identifier",name:"_jsxs"}}else{r.jsx=true;v={type:"Identifier",name:"_jsx"}}s.push(d||{type:"ObjectExpression",properties:[]});if(y){s.push(y)}}else{if(d||s.length>0){s.unshift(d||{type:"Literal",value:null})}v=toMemberExpression(n.jsx||t.pragma||"React.createElement")}s.unshift(f);this.replace(create(e,{type:"CallExpression",callee:v,arguments:s,optional:false}))}}function toProperty(e){var t;if(e.value){if(e.value.type==="JSXExpressionContainer"){t=e.value.expression}else{t=e.value;delete t.raw}}else{t={type:"Literal",value:true}}return create(e,{type:"Property",key:toIdentifier(e.name),value:t,kind:"init",method:false,shorthand:false,computed:false})}function toIdentifier(e){var t;var i;if(e.type==="JSXMemberExpression"){i=toIdentifier(e.property);t={type:"MemberExpression",object:toIdentifier(e.object),property:i,computed:i.type==="Literal",optional:false}}else if(e.type==="JSXNamespacedName"){t={type:"Literal",value:e.namespace.name+":"+e.name.name}}else{t=estree_util_is_identifier_name_name(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name}}return create(e,t)}function toMemberExpression(e){var t=e.split(".");var i=-1;var n;var r;while(++i<t.length){r=estree_util_is_identifier_name_name(t[i])?{type:"Identifier",name:t[i]}:{type:"Literal",value:t[i]};n=i?{type:"MemberExpression",object:n,property:r,computed:i&&r.type==="Literal",optional:false}:r}return n}function create(e,t){var i=["start","end","loc","range","comments"];var n=-1;var r;while(++n<i.length){r=i[n];if(r in e){t[r]=e[r]}}return t}function estree_util_create_create(e,t){const i=["start","end","loc","range","comments"];let n=-1;while(++n<i.length){const r=i[n];if(r in e){t[r]=e[r]}}return t}function specifiersToDeclarations(e,t){let i=-1;const n=[];const r=[];let s;while(++i<e.length){const t=e[i];if(t.type==="ImportNamespaceSpecifier"){s=t}else{r.push(t)}}if(s){n.push(estree_util_create_create(s,{type:"VariableDeclarator",id:s.local,init:t}))}n.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:r.map((e=>{let t=e.type==="ImportSpecifier"?e.imported:e.type==="ExportSpecifier"?e.exported:{type:"Identifier",name:"default"};let i=e.local;if(e.type==="ExportSpecifier"){i=t;t=e.local}return estree_util_create_create(e,{type:"Property",kind:"init",shorthand:t.name===i.name,method:false,computed:false,key:t,value:i})}))},init:s?{type:"Identifier",name:s.local.name}:t});return n}const Hi=toIdOrMemberExpressionFactory("Identifier","MemberExpression",estree_util_is_identifier_name_name);const Xi=toIdOrMemberExpressionFactory("JSXIdentifier","JSXMemberExpression",isJsxIdentifierName);function toIdOrMemberExpressionFactory(e,t,i){return toIdOrMemberExpression;function toIdOrMemberExpression(n){let r=-1;let s;while(++r<n.length){const a=n[r];const o=typeof a==="string"&&i(a);if(e==="JSXIdentifier"&&!o){throw new Error("Cannot turn `"+a+"` into a JSX identifier")}const l=o?{type:e,name:a}:{type:"Literal",value:a};s=s?{type:t,object:s,property:l,computed:l.type==="Literal",optional:false}:l}if(!s)throw new Error("Expected non-empty `ids` to be passed");if(s.type==="Literal")throw new Error("Expected identifier as left-most value");return s}}function isJsxIdentifierName(e){let t=-1;while(++t<e.length){if(!(t?jsxCont:estree_util_is_identifier_name_start)(e.charCodeAt(t)))return false}return t>0}function jsxCont(e){return e===45||estree_util_is_identifier_name_cont(e)}function recmaJsxBuild(e={}){const{outputFormat:t}=e;return e=>{buildJsx(e);if(t==="function-body"&&e.body[0]&&e.body[0].type==="ImportDeclaration"&&typeof e.body[0].source.value==="string"&&/\/jsx-runtime$/.test(e.body[0].source.value)){e.body[0]={type:"VariableDeclaration",kind:"const",declarations:specifiersToDeclarations(e.body[0].specifiers,Hi(["arguments",0]))}}}}function is_reference(e,t){if(e.type==="MemberExpression"){return!e.computed&&is_reference(e.object,e)}if(e.type==="Identifier"){if(!t)return true;switch(t.type){case"MemberExpression":return t.computed||e===t.object;case"MethodDefinition":return t.computed;case"PropertyDefinition":return t.computed||e===t.value;case"Property":return t.computed||e===t.value;case"ExportSpecifier":case"ImportSpecifier":return e===t.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return false;default:return true}}return false}function analyze(e){const t=new WeakMap;const i=new Map;const n=new src_Scope(null,false);const r=[];let s=n;walk(e,{enter(e,i){switch(e.type){case"Identifier":if(is_reference(e,i)){r.push([s,e])}break;case"ImportDeclaration":e.specifiers.forEach((e=>{s.declarations.set(e.local.name,e)}));break;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":if(e.type==="FunctionDeclaration"){if(e.id){s.declarations.set(e.id.name,e)}t.set(e,s=new src_Scope(s,false))}else{t.set(e,s=new src_Scope(s,false));if(e.type==="FunctionExpression"&&e.id){s.declarations.set(e.id.name,e)}}e.params.forEach((t=>{extract_names(t).forEach((t=>{s.declarations.set(t,e)}))}));break;case"ForStatement":case"ForInStatement":case"ForOfStatement":t.set(e,s=new src_Scope(s,true));break;case"BlockStatement":t.set(e,s=new src_Scope(s,true));break;case"ClassDeclaration":case"VariableDeclaration":s.add_declaration(e);break;case"CatchClause":t.set(e,s=new src_Scope(s,true));if(e.param){extract_names(e.param).forEach((t=>{s.declarations.set(t,e.param)}))}break}},leave(e){if(t.has(e)){s=s.parent}}});for(let e=r.length-1;e>=0;--e){const[t,n]=r[e];if(!t.references.has(n.name)){add_reference(t,n.name)}if(!t.find_owner(n.name)){i.set(n.name,n)}}return{map:t,scope:n,globals:i}}function add_reference(e,t){e.references.add(t);if(e.parent)add_reference(e.parent,t)}class src_Scope{constructor(e,t){this.parent=e;this.block=t;this.declarations=new Map;this.initialised_declarations=new Set;this.references=new Set}add_declaration(e){if(e.type==="VariableDeclaration"){if(e.kind==="var"&&this.block&&this.parent){this.parent.add_declaration(e)}else{const handle_declarator=t=>{extract_names(t.id).forEach((i=>{this.declarations.set(i,e);if(t.init)this.initialised_declarations.add(i)}))};e.declarations.forEach(handle_declarator)}}else if(e.id){this.declarations.set(e.id.name,e)}}find_owner(e){if(this.declarations.has(e))return this;return this.parent&&this.parent.find_owner(e)}has(e){return this.declarations.has(e)||!!this.parent&&this.parent.has(e)}}function extract_names(e){return extract_identifiers(e).map((e=>e.name))}function extract_identifiers(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let i=e;while(i.type==="MemberExpression"){i=i.object}t.push(i);break;case"ObjectPattern":const handle_prop=e=>{if(e.type==="RestElement"){extract_identifiers(e.argument,t)}else{extract_identifiers(e.value,t)}};e.properties.forEach(handle_prop);break;case"ArrayPattern":const handle_element=e=>{if(e)extract_identifiers(e,t)};e.elements.forEach(handle_element);break;case"RestElement":extract_identifiers(e.argument,t);break;case"AssignmentPattern":extract_identifiers(e.left,t);break}return t}function declarationToExpression(e){if(e.type==="FunctionDeclaration"){return{...e,type:"FunctionExpression"}}if(e.type==="ClassDeclaration"){return{...e,type:"ClassExpression"}}throw new Error("Cannot turn `"+e.type+"` into an expression")}function isDeclaration(e){const t=e&&typeof e==="object"&&e.type;return Boolean(t==="FunctionDeclaration"||t==="ClassDeclaration"||t==="VariableDeclaration")}function recmaDocument(e={}){const{baseUrl:t,useDynamicImport:i,outputFormat:n="program",pragma:r="React.createElement",pragmaFrag:s="React.Fragment",pragmaImportSource:a="react",jsxImportSource:o="react",jsxRuntime:l="automatic"}=e;return(e,c)=>{const p=[];const f=[];const d=[];let m=0;let g;let x;let y;if(!e.comments)e.comments=[];if(l){d.push("@jsxRuntime "+l)}if(l==="automatic"&&o){d.push("@jsxImportSource "+o)}if(l==="classic"&&r){d.push("@jsx "+r)}if(l==="classic"&&s){d.push("@jsxFrag "+s)}if(d.length>0){e.comments.unshift({type:"Block",value:d.join(" ")})}if(l==="classic"&&a){if(!r){throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`")}handleEsm({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:r.split(".")[0]}}],source:{type:"Literal",value:a}})}for(y of e.body){if(y.type==="ExportDefaultDeclaration"){if(g){c.fail("Cannot specify multiple layouts (previous: "+stringifyPosition(positionFromEstree(g))+")",positionFromEstree(y),"recma-document:duplicate-layout")}g=y;f.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:isDeclaration(y.declaration)?declarationToExpression(y.declaration):y.declaration}]})}else if(y.type==="ExportNamedDeclaration"&&y.source){const e=y.source;y.specifiers=y.specifiers.filter((t=>{if(t.exported.name==="default"){if(g){c.fail("Cannot specify multiple layouts (previous: "+stringifyPosition(positionFromEstree(g))+")",positionFromEstree(y),"recma-document:duplicate-layout")}g=t;handleEsm(estree_util_create_create(t,{type:"ImportDeclaration",specifiers:[t.local.name==="default"?{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}}:estree_util_create_create(t.local,{type:"ImportSpecifier",imported:t.local,local:{type:"Identifier",name:"MDXLayout"}})],source:estree_util_create_create(e,{type:"Literal",value:e.value})}));return false}return true}));if(y.specifiers.length>0){handleExport(y)}}else if(y.type==="ExportNamedDeclaration"||y.type==="ExportAllDeclaration"){handleExport(y)}else if(y.type==="ImportDeclaration"){handleEsm(y)}else if(y.type==="ExpressionStatement"&&(y.expression.type==="JSXFragment"||y.expression.type==="JSXElement")){x=true;f.push(createMdxContent(y.expression))}else{f.push(y)}}if(!x){f.push(createMdxContent())}p.push(["MDXContent","default"]);if(n==="function-body"){f.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:m}).map(((e,t)=>({type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(t+1)}}))),...p.map((e=>{const t={type:"Property",kind:"init",method:false,computed:false,shorthand:typeof e==="string",key:{type:"Identifier",name:typeof e==="string"?e:e[1]},value:{type:"Identifier",name:typeof e==="string"?e:e[0]}};return t}))]}})}else{f.push({type:"ExportDefaultDeclaration",declaration:{type:"Identifier",name:"MDXContent"}})}e.body=f;function handleExport(e){if(e.type==="ExportNamedDeclaration"){if(e.declaration){p.push(...analyze(e.declaration).scope.declarations.keys())}for(y of e.specifiers){p.push(y.exported.name)}}handleEsm(e)}function handleEsm(e){if(t&&e.source){let i=String(e.source.value);try{i=String(new URL(i))}catch{if(/^\.{0,2}\//.test(i)){i=String(new URL(i,t))}}e.source=estree_util_create_create(e.source,{type:"Literal",value:i})}let r;let s;if(n==="function-body"){if(e.type==="ImportDeclaration"||e.type==="ExportAllDeclaration"||e.type==="ExportNamedDeclaration"&&e.source){if(!i){c.fail("Cannot use `import` or `export … from` in `evaluate` (outputting a function body) by default: please set `useDynamicImport: true` (and probably specify a `baseUrl`)",positionFromEstree(e),"recma-document:invalid-esm-statement")}if(!e.source){throw new Error("Expected `node.source` to be defined")}s={type:"AwaitExpression",argument:estree_util_create_create(e,{type:"ImportExpression",source:e.source})};if((e.type==="ImportDeclaration"||e.type==="ExportNamedDeclaration")&&e.specifiers.length===0){r={type:"ExpressionStatement",expression:s}}else{r={type:"VariableDeclaration",kind:"const",declarations:e.type==="ExportAllDeclaration"?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++m},init:s}]:specifiersToDeclarations(e.specifiers,s)}}}else if(e.declaration){r=e.declaration}else{const t=e.specifiers.filter((e=>e.local.name!==e.exported.name)).map((e=>({type:"VariableDeclarator",id:e.exported,init:e.local})));if(t.length>0){r={type:"VariableDeclaration",kind:"const",declarations:t}}}}else{r=e}if(r){f.push(r)}}};function createMdxContent(e){const t={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:false},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[],selfClosing:true},closingElement:null,children:[]}]};const i=t;let n=e||{type:"Literal",value:null};if(n&&n.type==="JSXFragment"&&n.children.length===1&&n.children[0].type==="JSXElement"){n=n.children[0]}return{type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:{type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:i,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[],optional:false}}},{type:"FunctionDeclaration",id:{type:"Identifier",name:"_createMdxContent"},params:[],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:n}]}}]}}}}function toBinaryAddition(e){let t=-1;let i;while(++t<e.length){const n=e[t];i=i?{type:"BinaryExpression",left:i,operator:"+",right:n}:n}if(!i)throw new Error("Expected non-empty `expressions` to be passed");return i}const Wi={}.hasOwnProperty;function recmaJsxRewrite(e={}){const{development:t,providerImportSource:i,outputFormat:n}=e;return(e,r)=>{const s=analyze(e);const a=[];let o;let l;let c;walk(e,{enter(e){const t=e;if(t.type==="FunctionDeclaration"||t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"){a.push({objects:[],components:[],tags:[],references:{},node:t})}let n=a[0];if(!n||!isNamedFunction(n.node,"MDXContent")&&!i){return}if(a[1]&&isNamedFunction(a[1].node,"_createMdxContent")){n=a[1]}const r=s.map.get(t);if(r){r.node=t;c=r}if(c&&t.type==="JSXElement"){let e=t.openingElement.name;if(e.type==="JSXMemberExpression"){const i=[];while(e.type==="JSXMemberExpression"){i.unshift(e.property.name);e=e.object}i.unshift(e.name);const r=i.join(".");const s=e.name;if(!Wi.call(n.references,r)){n.references[r]={node:t,component:true}}if(!n.objects.includes(s)&&!inScope(c,s)){n.objects.push(s)}}else if(e.type==="JSXNamespacedName"){}else if(estree_util_is_identifier_name_name(e.name)&&!/^[a-z]/.test(e.name)){const i=e.name;if(!inScope(c,i)){if(i!=="MDXLayout"&&!Wi.call(n.references,i)){n.references[i]={node:t,component:true}}if(!n.components.includes(i)){n.components.push(i)}}}else if(t.data&&t.data._mdxExplicitJsx){}else{const i=e.name;if(!n.tags.includes(i)){n.tags.push(i)}t.openingElement.name=Xi(["_components",i]);if(t.closingElement){t.closingElement.name=Xi(["_components",i])}}}},leave(e){const n=[];const r=[];const s=[];const p=[];if(c&&c.node===e){c=c.parent}if(e.type==="FunctionDeclaration"||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){const c=e;const f=a[a.length-1];let d;for(d of f.tags){n.push({type:"Property",kind:"init",key:estree_util_is_identifier_name_name(d)?{type:"Identifier",name:d}:{type:"Literal",value:d},value:{type:"Literal",value:d},method:false,shorthand:false,computed:false})}r.push(...f.components);for(d of f.objects){if(!r.includes(d)){r.push(d)}}let m;for(m in f.references){if(Wi.call(f.references,m)){const e=m.split(".");let t=0;while(++t<e.length){const i=e.slice(0,t).join(".");if(!Wi.call(f.references,i)){f.references[i]={node:f.references[m].node,component:false}}}}}if(n.length>0||r.length>0){if(i){o=true;s.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:false})}if(isNamedFunction(f.node,"MDXContent")||isNamedFunction(f.node,"_createMdxContent")){s.push(Hi(["props","components"]))}if(n.length>0||s.length>1){s.unshift({type:"ObjectExpression",properties:n})}let e=s.length>1?{type:"CallExpression",callee:Hi(["Object","assign"]),arguments:s,optional:false}:s[0].type==="MemberExpression"?{type:"LogicalExpression",operator:"||",left:s[0],right:{type:"ObjectExpression",properties:[]}}:s[0];let a;if(r.length>0){a={type:"ObjectPattern",properties:r.map((e=>({type:"Property",kind:"init",key:{type:"Identifier",name:e==="MDXLayout"?"wrapper":e},value:{type:"Identifier",name:e},method:false,shorthand:e!=="MDXLayout",computed:false})))}}if(f.tags.length>0){p.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:e});e={type:"Identifier",name:"_components"}}if(a){p.push({type:"VariableDeclarator",id:a,init:e})}if(c.body.type!=="BlockStatement"){c.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:c.body}]}}const d=[{type:"VariableDeclaration",kind:"const",declarations:p}];const m=Object.keys(f.references).sort();let g=-1;while(++g<m.length){const e=m[g];const i=f.references[e];const n=stringifyPosition(positionFromEstree(i.node));const r=[{type:"Literal",value:e},{type:"Literal",value:i.component}];l=true;if(t&&n!=="1:1-1:1"){r.push({type:"Literal",value:n})}d.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:true,argument:Hi(e.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:r,optional:false}},alternate:null})}c.body.body.unshift(...d)}a.pop()}}});if(o&&i){e.body.unshift(createImportProvider(i,n))}if(l){const i=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}];const n=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];if(t){i.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:toBinaryAddition([{type:"Literal",value:"\nIt’s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(r.path?"` in `"+r.path:"")+"`"}]),alternate:{type:"Literal",value:""}});n.push({type:"Identifier",name:"place"})}e.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:false,async:false,params:n,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[toBinaryAddition(i)]}}]}})}}}function createImportProvider(e,t){const i=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return t==="function-body"?{type:"VariableDeclaration",kind:"const",declarations:specifiersToDeclarations(i,Hi(["arguments",0]))}:{type:"ImportDeclaration",specifiers:i,source:{type:"Literal",value:e}}}function isNamedFunction(e,t){return Boolean(e&&"id"in e&&e.id&&e.id.name===t)}function inScope(e,t){let i=e;while(i){if(i.declarations.has(t)){return true}i=i.parent}return false}const{stringify:Gi}=JSON;if(!String.prototype.repeat){throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation")}if(!String.prototype.endsWith){throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation")}const Qi={"||":3,"&&":4,"|":5,"??":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13};const Ki=17;const $i={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:Ki,ClassExpression:Ki,FunctionExpression:Ki,ObjectExpression:Ki,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function formatSequence(e,t){const{generator:i}=e;e.write("(");if(t!=null&&t.length>0){i[t[0].type](t[0],e);const{length:n}=t;for(let r=1;r<n;r++){const n=t[r];e.write(", ");i[n.type](n,e)}}e.write(")")}function expressionNeedsParenthesis(e,t,i,n){const r=e.expressionsPrecedence[t.type];if(r===Ki){return true}const s=e.expressionsPrecedence[i.type];if(r!==s){return!n&&r===15&&s===14&&i.operator==="**"||r<s}if(r!==13&&r!==14){return false}if(t.operator==="**"&&i.operator==="**"){return!n}if(n){return Qi[t.operator]<=Qi[i.operator]}return Qi[t.operator]<Qi[i.operator]}function formatExpression(e,t,i,n){const{generator:r}=e;if(expressionNeedsParenthesis(e,t,i,n)){e.write("(");r[t.type](t,e);e.write(")")}else{r[t.type](t,e)}}function reindent(e,t,i,n){const r=t.split("\n");const s=r.length-1;e.write(r[0].trim());if(s>0){e.write(n);for(let t=1;t<s;t++){e.write(i+r[t].trim()+n)}e.write(i+r[s].trim())}}function formatComments(e,t,i,n){const{length:r}=t;for(let s=0;s<r;s++){const r=t[s];e.write(i);if(r.type[0]==="L"){e.write("// "+r.value.trim()+"\n",r)}else{e.write("/*");reindent(e,r.value,i,n);e.write("*/"+n)}}}function hasCallExpression(e){let t=e;while(t!=null){const{type:e}=t;if(e[0]==="C"&&e[1]==="a"){return true}else if(e[0]==="M"&&e[1]==="e"&&e[2]==="m"){t=t.object}else{return false}}}function formatVariableDeclaration(e,t){const{generator:i}=e;const{declarations:n}=t;e.write(t.kind+" ");const{length:r}=n;if(r>0){i.VariableDeclarator(n[0],e);for(let t=1;t<r;t++){e.write(", ");i.VariableDeclarator(n[t],e)}}}let Yi,Zi,en,tn,nn,rn;const sn={Program(e,t){const i=t.indent.repeat(t.indentLevel);const{lineEnd:n,writeComments:r}=t;if(r&&e.comments!=null){formatComments(t,e.comments,i,n)}const s=e.body;const{length:a}=s;for(let e=0;e<a;e++){const a=s[e];if(r&&a.comments!=null){formatComments(t,a.comments,i,n)}t.write(i);this[a.type](a,t);t.write(n)}if(r&&e.trailingComments!=null){formatComments(t,e.trailingComments,i,n)}},BlockStatement:rn=function(e,t){const i=t.indent.repeat(t.indentLevel++);const{lineEnd:n,writeComments:r}=t;const s=i+t.indent;t.write("{");const a=e.body;if(a!=null&&a.length>0){t.write(n);if(r&&e.comments!=null){formatComments(t,e.comments,s,n)}const{length:o}=a;for(let e=0;e<o;e++){const i=a[e];if(r&&i.comments!=null){formatComments(t,i.comments,s,n)}t.write(s);this[i.type](i,t);t.write(n)}t.write(i)}else{if(r&&e.comments!=null){t.write(n);formatComments(t,e.comments,s,n);t.write(i)}}if(r&&e.trailingComments!=null){formatComments(t,e.trailingComments,s,n)}t.write("}");t.indentLevel--},ClassBody:rn,StaticBlock(e,t){t.write("static ");this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){const i=t.expressionsPrecedence[e.expression.type];if(i===Ki||i===3&&e.expression.left.type[0]==="O"){t.write("(");this[e.expression.type](e.expression,t);t.write(")")}else{this[e.expression.type](e.expression,t)}t.write(";")},IfStatement(e,t){t.write("if (");this[e.test.type](e.test,t);t.write(") ");this[e.consequent.type](e.consequent,t);if(e.alternate!=null){t.write(" else ");this[e.alternate.type](e.alternate,t)}},LabeledStatement(e,t){this[e.label.type](e.label,t);t.write(": ");this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break");if(e.label!=null){t.write(" ");this[e.label.type](e.label,t)}t.write(";")},ContinueStatement(e,t){t.write("continue");if(e.label!=null){t.write(" ");this[e.label.type](e.label,t)}t.write(";")},WithStatement(e,t){t.write("with (");this[e.object.type](e.object,t);t.write(") ");this[e.body.type](e.body,t)},SwitchStatement(e,t){const i=t.indent.repeat(t.indentLevel++);const{lineEnd:n,writeComments:r}=t;t.indentLevel++;const s=i+t.indent;const a=s+t.indent;t.write("switch (");this[e.discriminant.type](e.discriminant,t);t.write(") {"+n);const{cases:o}=e;const{length:l}=o;for(let e=0;e<l;e++){const i=o[e];if(r&&i.comments!=null){formatComments(t,i.comments,s,n)}if(i.test){t.write(s+"case ");this[i.test.type](i.test,t);t.write(":"+n)}else{t.write(s+"default:"+n)}const{consequent:l}=i;const{length:c}=l;for(let e=0;e<c;e++){const i=l[e];if(r&&i.comments!=null){formatComments(t,i.comments,a,n)}t.write(a);this[i.type](i,t);t.write(n)}}t.indentLevel-=2;t.write(i+"}")},ReturnStatement(e,t){t.write("return");if(e.argument){t.write(" ");this[e.argument.type](e.argument,t)}t.write(";")},ThrowStatement(e,t){t.write("throw ");this[e.argument.type](e.argument,t);t.write(";")},TryStatement(e,t){t.write("try ");this[e.block.type](e.block,t);if(e.handler){const{handler:i}=e;if(i.param==null){t.write(" catch ")}else{t.write(" catch (");this[i.param.type](i.param,t);t.write(") ")}this[i.body.type](i.body,t)}if(e.finalizer){t.write(" finally ");this[e.finalizer.type](e.finalizer,t)}},WhileStatement(e,t){t.write("while (");this[e.test.type](e.test,t);t.write(") ");this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do ");this[e.body.type](e.body,t);t.write(" while (");this[e.test.type](e.test,t);t.write(");")},ForStatement(e,t){t.write("for (");if(e.init!=null){const{init:i}=e;if(i.type[0]==="V"){formatVariableDeclaration(t,i)}else{this[i.type](i,t)}}t.write("; ");if(e.test){this[e.test.type](e.test,t)}t.write("; ");if(e.update){this[e.update.type](e.update,t)}t.write(") ");this[e.body.type](e.body,t)},ForInStatement:Yi=function(e,t){t.write(`for ${e.await?"await ":""}(`);const{left:i}=e;if(i.type[0]==="V"){formatVariableDeclaration(t,i)}else{this[i.type](i,t)}t.write(e.type[3]==="I"?" in ":" of ");this[e.right.type](e.right,t);t.write(") ");this[e.body.type](e.body,t)},ForOfStatement:Yi,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:Zi=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e);formatSequence(t,e.params);t.write(" ");this[e.body.type](e.body,t)},FunctionExpression:Zi,VariableDeclaration(e,t){formatVariableDeclaration(t,e);t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t);if(e.init!=null){t.write(" = ");this[e.init.type](e.init,t)}},ClassDeclaration(e,t){t.write("class "+(e.id?`${e.id.name} `:""),e);if(e.superClass){t.write("extends ");const{superClass:i}=e;const{type:n}=i;const r=t.expressionsPrecedence[n];if((n[0]!=="C"||n[1]!=="l"||n[5]!=="E")&&(r===Ki||r<t.expressionsPrecedence.ClassExpression)){t.write("(");this[e.superClass.type](i,t);t.write(")")}else{this[i.type](i,t)}t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");const{specifiers:i}=e;const{length:n}=i;let r=0;if(n>0){for(;r<n;){if(r>0){t.write(", ")}const e=i[r];const n=e.type[6];if(n==="D"){t.write(e.local.name,e);r++}else if(n==="N"){t.write("* as "+e.local.name,e);r++}else{break}}if(r<n){t.write("{");for(;;){const e=i[r];const{name:s}=e.imported;t.write(s,e);if(s!==e.local.name){t.write(" as "+e.local.name)}if(++r<n){t.write(", ")}else{break}}t.write("}")}t.write(" from ")}this.Literal(e.source,t);t.write(";")},ImportExpression(e,t){t.write("import(");this[e.source.type](e.source,t);t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default ");this[e.declaration.type](e.declaration,t);if(t.expressionsPrecedence[e.declaration.type]!=null&&e.declaration.type[0]!=="F"){t.write(";")}},ExportNamedDeclaration(e,t){t.write("export ");if(e.declaration){this[e.declaration.type](e.declaration,t)}else{t.write("{");const{specifiers:i}=e,{length:n}=i;if(n>0){for(let e=0;;){const r=i[e];const{name:s}=r.local;t.write(s,r);if(s!==r.exported.name){t.write(" as "+r.exported.name)}if(++e<n){t.write(", ")}else{break}}}t.write("}");if(e.source){t.write(" from ");this.Literal(e.source,t)}t.write(";")}},ExportAllDeclaration(e,t){if(e.exported!=null){t.write("export * as "+e.exported.name+" from ")}else{t.write("export * from ")}this.Literal(e.source,t);t.write(";")},MethodDefinition(e,t){if(e.static){t.write("static ")}const i=e.kind[0];if(i==="g"||i==="s"){t.write(e.kind+" ")}if(e.value.async){t.write("async ")}if(e.value.generator){t.write("*")}if(e.computed){t.write("[");this[e.key.type](e.key,t);t.write("]")}else{this[e.key.type](e.key,t)}formatSequence(t,e.value.params);t.write(" ");this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);const{params:i}=e;if(i!=null){if(i.length===1&&i[0].type[0]==="I"){t.write(i[0].name,i[0])}else{formatSequence(t,e.params)}}t.write(" => ");if(e.body.type[0]==="O"){t.write("(");this.ObjectExpression(e.body,t);t.write(")")}else{this[e.body.type](e.body,t)}},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:en=function(e,t){t.write("...");this[e.argument.type](e.argument,t)},SpreadElement:en,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield");if(e.argument){t.write(" ");this[e.argument.type](e.argument,t)}},AwaitExpression(e,t){t.write("await ",e);formatExpression(t,e.argument,e)},TemplateLiteral(e,t){const{quasis:i,expressions:n}=e;t.write("`");const{length:r}=n;for(let e=0;e<r;e++){const r=n[e];const s=i[e];t.write(s.value.raw,s);t.write("${");this[r.type](r,t);t.write("}")}const s=i[i.length-1];t.write(s.value.raw,s);t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){formatExpression(t,e.tag,e);this[e.quasi.type](e.quasi,t)},ArrayExpression:nn=function(e,t){t.write("[");if(e.elements.length>0){const{elements:i}=e,{length:n}=i;for(let e=0;;){const r=i[e];if(r!=null){this[r.type](r,t)}if(++e<n){t.write(", ")}else{if(r==null){t.write(", ")}break}}}t.write("]")},ArrayPattern:nn,ObjectExpression(e,t){const i=t.indent.repeat(t.indentLevel++);const{lineEnd:n,writeComments:r}=t;const s=i+t.indent;t.write("{");if(e.properties.length>0){t.write(n);if(r&&e.comments!=null){formatComments(t,e.comments,s,n)}const a=","+n;const{properties:o}=e,{length:l}=o;for(let e=0;;){const i=o[e];if(r&&i.comments!=null){formatComments(t,i.comments,s,n)}t.write(s);this[i.type](i,t);if(++e<l){t.write(a)}else{break}}t.write(n);if(r&&e.trailingComments!=null){formatComments(t,e.trailingComments,s,n)}t.write(i+"}")}else if(r){if(e.comments!=null){t.write(n);formatComments(t,e.comments,s,n);if(e.trailingComments!=null){formatComments(t,e.trailingComments,s,n)}t.write(i+"}")}else if(e.trailingComments!=null){t.write(n);formatComments(t,e.trailingComments,s,n);t.write(i+"}")}else{t.write("}")}}else{t.write("}")}t.indentLevel--},Property(e,t){if(e.method||e.kind[0]!=="i"){this.MethodDefinition(e,t)}else{if(!e.shorthand){if(e.computed){t.write("[");this[e.key.type](e.key,t);t.write("]")}else{this[e.key.type](e.key,t)}t.write(": ")}this[e.value.type](e.value,t)}},PropertyDefinition(e,t){if(e.static){t.write("static ")}this[e.key.type](e.key,t);t.write(" = ");this[e.value.type](e.value,t)},ObjectPattern(e,t){t.write("{");if(e.properties.length>0){const{properties:i}=e,{length:n}=i;for(let e=0;;){this[i[e].type](i[e],t);if(++e<n){t.write(", ")}else{break}}}t.write("}")},SequenceExpression(e,t){formatSequence(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){const{operator:i,argument:n,argument:{type:r}}=e;t.write(i);const s=expressionNeedsParenthesis(t,n,e);if(!s&&(i.length>1||r[0]==="U"&&(r[1]==="n"||r[1]==="p")&&n.prefix&&n.operator[0]===i&&(i==="+"||i==="-"))){t.write(" ")}if(s){t.write(i.length>1?" (":"(");this[r](n,t);t.write(")")}else{this[r](n,t)}}else{this[e.argument.type](e.argument,t);t.write(e.operator)}},UpdateExpression(e,t){if(e.prefix){t.write(e.operator);this[e.argument.type](e.argument,t)}else{this[e.argument.type](e.argument,t);t.write(e.operator)}},AssignmentExpression(e,t){this[e.left.type](e.left,t);t.write(" "+e.operator+" ");this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t);t.write(" = ");this[e.right.type](e.right,t)},BinaryExpression:tn=function(e,t){const i=e.operator==="in";if(i){t.write("(")}formatExpression(t,e.left,e,false);t.write(" "+e.operator+" ");formatExpression(t,e.right,e,true);if(i){t.write(")")}},LogicalExpression:tn,ConditionalExpression(e,t){const{test:i}=e;const n=t.expressionsPrecedence[i.type];if(n===Ki||n<=t.expressionsPrecedence.ConditionalExpression){t.write("(");this[i.type](i,t);t.write(")")}else{this[i.type](i,t)}t.write(" ? ");this[e.consequent.type](e.consequent,t);t.write(" : ");this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");const i=t.expressionsPrecedence[e.callee.type];if(i===Ki||i<t.expressionsPrecedence.CallExpression||hasCallExpression(e.callee)){t.write("(");this[e.callee.type](e.callee,t);t.write(")")}else{this[e.callee.type](e.callee,t)}formatSequence(t,e["arguments"])},CallExpression(e,t){const i=t.expressionsPrecedence[e.callee.type];if(i===Ki||i<t.expressionsPrecedence.CallExpression){t.write("(");this[e.callee.type](e.callee,t);t.write(")")}else{this[e.callee.type](e.callee,t)}if(e.optional){t.write("?.")}formatSequence(t,e["arguments"])},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){const i=t.expressionsPrecedence[e.object.type];if(i===Ki||i<t.expressionsPrecedence.MemberExpression){t.write("(");this[e.object.type](e.object,t);t.write(")")}else{this[e.object.type](e.object,t)}if(e.computed){if(e.optional){t.write("?.")}t.write("[");this[e.property.type](e.property,t);t.write("]")}else{if(e.optional){t.write("?.")}else{t.write(".")}this[e.property.type](e.property,t)}},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){if(e.raw!=null){t.write(e.raw,e)}else if(e.regex!=null){this.RegExpLiteral(e,t)}else if(e.bigint!=null){t.write(e.bigint+"n",e)}else{t.write(Gi(e.value),e)}},RegExpLiteral(e,t){const{regex:i}=e;t.write(`/${i.pattern}/${i.flags}`,e)}};const an={};const on=null&&sn;class State{constructor(e){const t=e==null?an:e;this.output="";if(t.output!=null){this.output=t.output;this.write=this.writeToStream}else{this.output=""}this.generator=t.generator!=null?t.generator:sn;this.expressionsPrecedence=t.expressionsPrecedence!=null?t.expressionsPrecedence:$i;this.indent=t.indent!=null?t.indent:" ";this.lineEnd=t.lineEnd!=null?t.lineEnd:"\n";this.indentLevel=t.startingIndentLevel!=null?t.startingIndentLevel:0;this.writeComments=t.comments?t.comments:false;if(t.sourceMap!=null){this.write=t.output==null?this.writeAndMap:this.writeToStreamAndMap;this.sourceMap=t.sourceMap;this.line=1;this.column=0;this.lineEndSize=this.lineEnd.split("\n").length-1;this.mapping={original:null,generated:this,name:undefined,source:t.sourceMap.file||t.sourceMap._file}}}write(e){this.output+=e}writeToStream(e){this.output.write(e)}writeAndMap(e,t){this.output+=e;this.map(e,t)}writeToStreamAndMap(e,t){this.output.write(e);this.map(e,t)}map(e,t){if(t!=null){const{type:i}=t;if(i[0]==="L"&&i[2]==="n"){this.column=0;this.line++;return}if(t.loc!=null){const{mapping:e}=this;e.original=t.loc.start;e.name=t.name;this.sourceMap.addMapping(e)}if(i[0]==="T"&&i[8]==="E"||i[0]==="L"&&i[1]==="i"&&typeof t.value==="string"){const{length:t}=e;let{column:i,line:n}=this;for(let r=0;r<t;r++){if(e[r]==="\n"){i=0;n++}else{i++}}this.column=i;this.line=n;return}}const{length:i}=e;const{lineEnd:n}=this;if(i>0){if(this.lineEndSize>0&&(n.length===1?e[i-1]===n:e.endsWith(n))){this.line+=this.lineEndSize;this.column=0}else{this.column+=i}}}toString(){return this.output}}function generate(e,t){const i=new State(t);i.generator[e.type](e,i);return i.output}function recmaStringify(e={}){const{SourceMapGenerator:t}=e;Object.assign(this,{Compiler:compiler});function compiler(e,i){let n;if(t){n=new t({file:i.path||"unknown.mdx"})}const r={...sn,JSXAttribute:JSXAttribute,JSXClosingElement:JSXClosingElement,JSXClosingFragment:JSXClosingFragment,JSXElement:JSXElement,JSXEmptyExpression:JSXEmptyExpression,JSXExpressionContainer:JSXExpressionContainer,JSXFragment:JSXFragment,JSXIdentifier:JSXIdentifier,JSXMemberExpression:JSXMemberExpression,JSXNamespacedName:JSXNamespacedName,JSXOpeningElement:JSXOpeningElement,JSXOpeningFragment:JSXOpeningFragment,JSXSpreadAttribute:JSXSpreadAttribute,JSXText:JSXText};const s=generate(e,{generator:r,comments:true,sourceMap:n});if(n){i.map=n.toJSON()}return s}}function JSXAttribute(e,t){this[e.name.type](e.name,t);if(e.value!==undefined&&e.value!==null){t.write("=");if(e.value.type==="Literal"){t.write('"'+encodeJsx(String(e.value.value)).replace(/"/g,""")+'"',e)}else{this[e.value.type](e.value,t)}}}function JSXClosingElement(e,t){t.write("</");this[e.name.type](e.name,t);t.write(">")}function JSXClosingFragment(e,t){t.write("</>",e)}function JSXElement(e,t){let i=-1;this[e.openingElement.type](e.openingElement,t);if(e.children){while(++i<e.children.length){const n=e.children[i];if(n.type==="JSXSpreadChild"){throw new Error("JSX spread children are not supported")}this[n.type](n,t)}}if(e.closingElement){this[e.closingElement.type](e.closingElement,t)}}function JSXEmptyExpression(){}function JSXExpressionContainer(e,t){t.write("{");this[e.expression.type](e.expression,t);t.write("}")}function JSXFragment(e,t){let i=-1;this[e.openingFragment.type](e.openingFragment,t);if(e.children){while(++i<e.children.length){const n=e.children[i];if(n.type==="JSXSpreadChild"){throw new Error("JSX spread children are not supported")}this[n.type](n,t)}}this[e.closingFragment.type](e.closingFragment,t)}function JSXIdentifier(e,t){t.write(e.name,e)}function JSXMemberExpression(e,t){this[e.object.type](e.object,t);t.write(".");this[e.property.type](e.property,t)}function JSXNamespacedName(e,t){this[e.namespace.type](e.namespace,t);t.write(":");this[e.name.type](e.name,t)}function JSXOpeningElement(e,t){let i=-1;t.write("<");this[e.name.type](e.name,t);if(e.attributes){while(++i<e.attributes.length){t.write(" ");this[e.attributes[i].type](e.attributes[i],t)}}t.write(e.selfClosing?" />":">")}function JSXOpeningFragment(e,t){t.write("<>",e)}function JSXSpreadAttribute(e,t){t.write("{");this.SpreadElement(e,t);t.write("}")}function JSXText(e,t){t.write(encodeJsx(e.value).replace(/<|{/g,(e=>e==="<"?"<":"{")),e)}function encodeJsx(e){return e.replace(/&(?=[#a-z])/gi,"&")}function comma_separated_tokens_parse(e){var t=[];var i=String(e||"");var n=i.indexOf(",");var r=0;var s;var a;while(!s){if(n===-1){n=i.length;s=true}a=i.slice(r,n).trim();if(a||!s){t.push(a)}r=n+1;n=i.indexOf(",",r)}return t}function comma_separated_tokens_stringify(e,t){var i=t||{};if(e[e.length-1]===""){e=e.concat("")}return e.join((i.padRight?" ":"")+","+(i.padLeft===false?"":" ")).trim()}var ln=[].push;function attachComments(e,t){var i=(t||[]).concat().sort(compare);if(i.length)estree_util_attach_comments_walk(e,{comments:i,index:0});return e}function estree_util_attach_comments_walk(e,t){var i=[];var n=[];var r;var s;var a;if(t.index===t.comments.length){return}for(r in e){s=e[r];if(s&&typeof s==="object"&&r!=="comments"){if(Array.isArray(s)){a=-1;while(++a<s.length){if(s[a]&&typeof s[a].type==="string"){i.push(s[a])}}}else if(typeof s.type==="string"){i.push(s)}}}i.sort(compare);ln.apply(n,slice(t,e,false,{leading:true,trailing:false}));a=-1;while(++a<i.length){estree_util_attach_comments_walk(i[a],t)}ln.apply(n,slice(t,e,true,{leading:false,trailing:Boolean(i.length)}));if(n.length){e.comments=n}}function slice(e,t,i,n){var r=[];while(e.comments[e.index]&&compare(e.comments[e.index],t,i)<1){r.push(Object.assign({},e.comments[e.index++],n))}return r}function compare(e,t,i){var n=i?"end":"start";if(e.range&&t.range){return e.range[0]-t.range[i?1:0]}if(e.loc&&e.loc.start&&t.loc&&t.loc[n]){return e.loc.start.line-t.loc[n].line||e.loc.start.column-t.loc[n].column}if("start"in e&&n in t){return e.start-t[n]}return NaN}function whitespace(e){var t=e&&typeof e==="object"&&e.type==="text"?e.value||"":e;return typeof t==="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}class Schema{constructor(e,t,i){this.property=e;this.normal=t;if(i){this.space=i}}}Schema.prototype.property={};Schema.prototype.normal={};Schema.prototype.space=null;function merge(e,t){const i={};const n={};let r=-1;while(++r<e.length){Object.assign(i,e[r].property);Object.assign(n,e[r].normal)}return new Schema(i,n,t)}function normalize(e){return e.toLowerCase()}class Info{constructor(e,t){this.property=e;this.attribute=t}}Info.prototype.space=null;Info.prototype.boolean=false;Info.prototype.booleanish=false;Info.prototype.overloadedBoolean=false;Info.prototype.number=false;Info.prototype.commaSeparated=false;Info.prototype.spaceSeparated=false;Info.prototype.commaOrSpaceSeparated=false;Info.prototype.mustUseProperty=false;Info.prototype.defined=false;let un=0;const cn=increment();const pn=increment();const hn=increment();const fn=increment();const dn=increment();const mn=increment();const gn=increment();function increment(){return 2**++un}const xn=Object.keys(t);class DefinedInfo extends Info{constructor(e,i,n,r){let s=-1;super(e,i);mark(this,"space",r);if(typeof n==="number"){while(++s<xn.length){const e=xn[s];mark(this,xn[s],(n&t[e])===t[e])}}}}DefinedInfo.prototype.defined=true;function mark(e,t,i){if(i){e[t]=i}}const yn={}.hasOwnProperty;function create_create(e){const t={};const i={};let n;for(n in e.properties){if(yn.call(e.properties,n)){const r=e.properties[n];const s=new DefinedInfo(n,e.transform(e.attributes||{},n),r,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(n)){s.mustUseProperty=true}t[n]=s;i[normalize(n)]=n;i[normalize(s.attribute)]=n}}return new Schema(t,i,e.space)}const vn=create_create({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});const bn=create_create({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function caseSensitiveTransform(e,t){return t in e?e[t]:t}function caseInsensitiveTransform(e,t){return caseSensitiveTransform(e,t.toLowerCase())}const wn=create_create({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:caseInsensitiveTransform,properties:{xmlns:null,xmlnsXLink:null}});const kn=create_create({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:pn,ariaAutoComplete:null,ariaBusy:pn,ariaChecked:pn,ariaColCount:fn,ariaColIndex:fn,ariaColSpan:fn,ariaControls:dn,ariaCurrent:null,ariaDescribedBy:dn,ariaDetails:null,ariaDisabled:pn,ariaDropEffect:dn,ariaErrorMessage:null,ariaExpanded:pn,ariaFlowTo:dn,ariaGrabbed:pn,ariaHasPopup:null,ariaHidden:pn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dn,ariaLevel:fn,ariaLive:null,ariaModal:pn,ariaMultiLine:pn,ariaMultiSelectable:pn,ariaOrientation:null,ariaOwns:dn,ariaPlaceholder:null,ariaPosInSet:fn,ariaPressed:pn,ariaReadOnly:pn,ariaRelevant:null,ariaRequired:pn,ariaRoleDescription:dn,ariaRowCount:fn,ariaRowIndex:fn,ariaRowSpan:fn,ariaSelected:pn,ariaSetSize:fn,ariaSort:null,ariaValueMax:fn,ariaValueMin:fn,ariaValueNow:fn,ariaValueText:null,role:null}});const En=create_create({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:caseInsensitiveTransform,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:mn,acceptCharset:dn,accessKey:dn,action:null,allow:null,allowFullScreen:cn,allowPaymentRequest:cn,allowUserMedia:cn,alt:null,as:null,async:cn,autoCapitalize:null,autoComplete:dn,autoFocus:cn,autoPlay:cn,capture:cn,charSet:null,checked:cn,cite:null,className:dn,cols:fn,colSpan:null,content:null,contentEditable:pn,controls:cn,controlsList:dn,coords:fn|mn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:cn,defer:cn,dir:null,dirName:null,disabled:cn,download:hn,draggable:pn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:cn,formTarget:null,headers:dn,height:fn,hidden:cn,high:fn,href:null,hrefLang:null,htmlFor:dn,httpEquiv:dn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:cn,itemId:null,itemProp:dn,itemRef:dn,itemScope:cn,itemType:dn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:cn,low:fn,manifest:null,max:null,maxLength:fn,media:null,method:null,min:null,minLength:fn,multiple:cn,muted:cn,name:null,nonce:null,noModule:cn,noValidate:cn,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:cn,optimum:fn,pattern:null,ping:dn,placeholder:null,playsInline:cn,poster:null,preload:null,readOnly:cn,referrerPolicy:null,rel:dn,required:cn,reversed:cn,rows:fn,rowSpan:fn,sandbox:dn,scope:null,scoped:cn,seamless:cn,selected:cn,shape:null,size:fn,sizes:null,slot:null,span:fn,spellCheck:pn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fn,step:null,style:null,tabIndex:fn,target:null,title:null,translate:null,type:null,typeMustMatch:cn,useMap:null,value:pn,width:fn,wrap:null,align:null,aLink:null,archive:dn,axis:null,background:null,bgColor:null,border:fn,borderColor:null,bottomMargin:fn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:cn,declare:cn,event:null,face:null,frame:null,frameBorder:null,hSpace:fn,leftMargin:fn,link:null,longDesc:null,lowSrc:null,marginHeight:fn,marginWidth:fn,noResize:cn,noHref:cn,noShade:cn,noWrap:cn,object:null,profile:null,prompt:null,rev:null,rightMargin:fn,rules:null,scheme:null,scrolling:pn,standby:null,summary:null,text:null,topMargin:fn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:cn,disableRemotePlayback:cn,prefix:null,property:null,results:fn,security:null,unselectable:null}});const Sn=create_create({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:caseSensitiveTransform,properties:{about:gn,accentHeight:fn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fn,amplitude:fn,arabicForm:null,ascent:fn,attributeName:null,attributeType:null,azimuth:fn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fn,by:null,calcMode:null,capHeight:fn,className:dn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:fn,diffuseConstant:fn,direction:null,display:null,dur:null,divisor:fn,dominantBaseline:null,download:cn,dx:null,dy:null,edgeMode:null,editable:null,elevation:fn,enableBackground:null,end:null,event:null,exponent:fn,externalResourcesRequired:null,fill:null,fillOpacity:fn,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:mn,g2:mn,glyphName:mn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:fn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fn,horizOriginX:fn,horizOriginY:fn,id:null,ideographic:fn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fn,k:fn,k1:fn,k2:fn,k3:fn,k4:fn,kernelMatrix:gn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:fn,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:fn,overlineThickness:fn,paintOrder:null,panose1:null,path:null,pathLength:fn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fn,pointsAtY:fn,pointsAtZ:fn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:gn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:gn,rev:gn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:gn,requiredFeatures:gn,requiredFonts:gn,requiredFormats:gn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:fn,specularExponent:fn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fn,strikethroughThickness:fn,string:null,stroke:null,strokeDashArray:gn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fn,strokeOpacity:fn,strokeWidth:null,style:null,surfaceScale:fn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:gn,tabIndex:fn,tableValues:null,target:null,targetX:fn,targetY:fn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:gn,to:null,transform:null,u1:null,u2:null,underlinePosition:fn,underlineThickness:fn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fn,values:null,vAlphabetic:fn,vMathematical:fn,vectorEffect:null,vHanging:fn,vIdeographic:fn,version:null,vertAdvY:fn,vertOriginX:fn,vertOriginY:fn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});const Cn=merge([bn,vn,wn,kn,En],"html");const An=merge([bn,vn,wn,kn,Sn],"svg");const _n={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};const Tn=/^data[-\w.:]+$/i;const In=/-[a-z]/g;const Fn=/[A-Z]/g;function find(e,t){const i=normalize(t);let n=t;let r=Info;if(i in e.normal){return e.property[e.normal[i]]}if(i.length>4&&i.slice(0,4)==="data"&&Tn.test(t)){if(t.charAt(4)==="-"){const e=t.slice(5).replace(In,camelcase);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!In.test(e)){let i=e.replace(Fn,kebab);if(i.charAt(0)!=="-"){i="-"+i}t="data"+i}}r=DefinedInfo}return new r(n,t)}function kebab(e){return"-"+e.toLowerCase()}function camelcase(e){return e.charAt(1).toUpperCase()}function space_separated_tokens_parse(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function space_separated_tokens_stringify(e){return e.join(" ").trim()}var Ln=__nccwpck_require__(247);var Pn={}.hasOwnProperty;function zwitch(e,t){var i=t||{};function one(t){var i=one.invalid;var n=one.handlers;if(t&&Pn.call(t,e)){i=Pn.call(n,t[e])?n[t[e]]:one.unknown}if(i){return i.apply(this,arguments)}}one.handlers=i.handlers||{};one.invalid=i.invalid;one.unknown=i.unknown;return one}const Dn=_n;const Nn={}.hasOwnProperty;const Bn=new Set(["table","thead","tbody","tfoot","tr","th","td"]);function toEstree(e,t={}){const i={schema:t.space==="svg"?An:Cn,comments:[],esm:[],handle:zwitch("type",{invalid:invalid,unknown:hast_util_to_estree_unknown,handlers:Object.assign({},{comment:comment,doctype:hast_util_to_estree_ignore,element:hast_util_to_estree_element,mdxjsEsm:hast_util_to_estree_mdxjsEsm,mdxFlowExpression:hast_util_to_estree_mdxExpression,mdxJsxFlowElement:mdxJsxElement,mdxJsxTextElement:mdxJsxElement,mdxTextExpression:hast_util_to_estree_mdxExpression,root:hast_util_to_estree_root,text:hast_util_to_estree_text},t.handlers)})};let n=i.handle(e,i);const r=i.esm;if(n){if(n.type!=="JSXFragment"&&n.type!=="JSXElement"){n=hast_util_to_estree_create(e,{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[n]})}r.push(hast_util_to_estree_create(e,{type:"ExpressionStatement",expression:n}))}return hast_util_to_estree_create(e,{type:"Program",body:r,sourceType:"module",comments:i.comments})}function invalid(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function hast_util_to_estree_unknown(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function hast_util_to_estree_ignore(){}function comment(e,t){const i=inherit(e,{type:"Block",value:e.value});t.comments.push(i);return hast_util_to_estree_create(e,{type:"JSXExpressionContainer",expression:hast_util_to_estree_create(e,{type:"JSXEmptyExpression",comments:[Object.assign({},i,{leading:false,trailing:true})]})})}function hast_util_to_estree_element(e,t){const i=t.schema;let n=i;const r=e.properties||{};if(i.space==="html"&&e.tagName.toLowerCase()==="svg"){n=An;t.schema=n}const s=hast_util_to_estree_all(e,t);const a=[];let o;for(o in r){if(Nn.call(r,o)){let t=r[o];const i=find(n,o);let s;if(t===undefined||t===null||typeof t==="number"&&Number.isNaN(t)||t===false||!t&&i.boolean){continue}o=i.space?Dn[i.property]||i.property:i.attribute;if(Array.isArray(t)){t=i.commaSeparated?comma_separated_tokens_stringify(t):space_separated_tokens_stringify(t)}if(o==="style"){const i=typeof t==="string"?parseStyle(t,e.tagName):t;const n=[];let r;for(r in i){if(Nn.call(i,r)){n.push({type:"Property",method:false,shorthand:false,computed:false,key:{type:"Identifier",name:r},value:{type:"Literal",value:String(i[r])},kind:"init"})}}s={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:n}}}else if(t===true){s=null}else{s={type:"Literal",value:String(t)}}if(jsxIdentifierName(o)){a.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:o},value:s})}else{a.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:false,shorthand:false,computed:false,key:{type:"Literal",value:String(o)},value:s||{type:"Literal",value:true},kind:"init"}]}})}}}t.schema=i;return inherit(e,{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:a,name:createJsxName(e.tagName),selfClosing:s.length===0},closingElement:s.length>0?{type:"JSXClosingElement",name:createJsxName(e.tagName)}:null,children:s})}function hast_util_to_estree_mdxjsEsm(e,t){const i=e.data&&e.data.estree;const n=i&&i.comments||[];if(i){t.comments.push(...n);attachComments(i,n);t.esm.push(...i.body)}}function hast_util_to_estree_mdxExpression(e,t){const i=e.data&&e.data.estree;const n=i&&i.comments||[];let r;if(i){t.comments.push(...n);attachComments(i,i.comments);r=i.body[0]&&i.body[0].type==="ExpressionStatement"&&i.body[0].expression||undefined}return inherit(e,{type:"JSXExpressionContainer",expression:r||hast_util_to_estree_create(e,{type:"JSXEmptyExpression"})})}function mdxJsxElement(e,t){const i=t.schema;let n=i;const r=e.attributes||[];let s=-1;if(e.name&&i.space==="html"&&e.name.toLowerCase()==="svg"){n=An;t.schema=n}const a=hast_util_to_estree_all(e,t);const o=[];while(++s<r.length){const e=r[s];const i=e.value;let n;if(e.type==="mdxJsxAttribute"){if(i===undefined||i===null){n=null}else if(typeof i==="object"){const e=i.data&&i.data.estree;const r=e&&e.comments||[];let s;if(e){t.comments.push(...r);attachComments(e,e.comments);s=e.body[0]&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression||undefined}n=inherit(i,{type:"JSXExpressionContainer",expression:s||{type:"JSXEmptyExpression"}})}else{n={type:"Literal",value:String(i)}}o.push(inherit(e,{type:"JSXAttribute",name:createJsxName(e.name,true),value:n}))}else{const i=e.data&&e.data.estree;const n=i&&i.comments||[];let r;if(i){t.comments.push(...n);attachComments(i,i.comments);r=i.body[0]&&i.body[0].type==="ExpressionStatement"&&i.body[0].expression&&i.body[0].expression.type==="ObjectExpression"&&i.body[0].expression.properties&&i.body[0].expression.properties[0]&&i.body[0].expression.properties[0].type==="SpreadElement"&&i.body[0].expression.properties[0].argument||undefined}o.push(inherit(e,{type:"JSXSpreadAttribute",argument:r||{type:"ObjectExpression",properties:[]}}))}}t.schema=i;return inherit(e,e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:o,name:createJsxName(e.name),selfClosing:a.length===0},closingElement:a.length>0?{type:"JSXClosingElement",name:createJsxName(e.name)}:null,children:a}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:a})}function hast_util_to_estree_root(e,t){const i=hast_util_to_estree_all(e,t);const n=[];let r=-1;let s;while(++r<i.length){const e=i[r];if(e.type==="JSXExpressionContainer"&&e.expression.type==="Literal"&&whitespace(e.expression.value)){if(s)s.push(e)}else{if(s)n.push(...s);n.push(e);s=[]}}return inherit(e,{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:n})}function hast_util_to_estree_text(e){const t=String(e.value||"");if(!t)return;return hast_util_to_estree_create(e,{type:"JSXExpressionContainer",expression:inherit(e,{type:"Literal",value:t})})}function hast_util_to_estree_all(e,t){const i=e.children||[];let n=-1;const r=[];const s=t.schema.space==="html"&&e.type==="element"&&Bn.has(e.tagName.toLowerCase());while(++n<i.length){const e=i[n];if(s&&e.type==="text"&&e.value==="\n"){continue}const a=t.handle(e,t);if(Array.isArray(a)){r.push(...a)}else if(a){r.push(a)}}return r}function inherit(e,t){const i=e.data;let n;let r;hast_util_to_estree_create(e,t);if(i){for(r in i){if(Nn.call(i,r)&&r!=="estree"){if(!n)n={};n[r]=i[r]}}if(n){t.data=n}}return t}function hast_util_to_estree_create(e,t){const i=unist_util_position_position(e);if(i.start.line&&i.start.offset!==undefined&&i.end.offset!==undefined){t.start=i.start.offset;t.end=i.end.offset;t.loc={start:{line:i.start.line,column:i.start.column-1},end:{line:i.end.line,column:i.end.column-1}};t.range=[i.start.offset,i.end.offset]}return t}const createJsxName=function(e,t){if(!t&&e.includes(".")){const t=e.split(".");let i=t.shift();let n={type:"JSXIdentifier",name:i};while(i=t.shift()){n={type:"JSXMemberExpression",object:n,property:{type:"JSXIdentifier",name:i}}}return n}if(e.includes(":")){const t=e.split(":");return{type:"JSXNamespacedName",namespace:{type:"JSXIdentifier",name:t[0]},name:{type:"JSXIdentifier",name:t[1]}}}return{type:"JSXIdentifier",name:e}};function parseStyle(e,t){const i={};try{Ln(e,iterator)}catch(e){const i=e;i.message=t+"[style]"+i.message.slice("undefined".length);throw e}return i;function iterator(e,t){if(e.slice(0,4)==="-ms-")e="ms-"+e.slice(4);i[e.replace(/-([a-z])/g,styleReplacer)]=t}}function styleReplacer(e,t){return t.toUpperCase()}function jsxIdentifierName(e){let t=-1;while(++t<e.length){if(!(t?cont:estree_util_is_identifier_name_start)(e.charCodeAt(t)))return false}return t>0;function cont(e){return estree_util_is_identifier_name_cont(e)||e===45}}function rehypeRecma(){return e=>toEstree(e)}function rehypeRemoveRaw(){return e=>{unist_util_visit_visit(e,"raw",((e,t,i)=>{if(i&&typeof t==="number"){i.children.splice(t,1);return t}}))}}function remarkMarkAndUnravel(){return e=>{unist_util_visit_visit(e,((e,t,i)=>{const n=i;let r=-1;let s=true;let a;if(n&&typeof t==="number"&&e.type==="paragraph"){const i=e.children;while(++r<i.length){const e=i[r];if(e.type==="mdxJsxTextElement"||e.type==="mdxTextExpression"){a=true}else if(e.type==="text"&&/^[\t\r\n ]+$/.test(String(e.value))){}else{s=false;break}}if(s&&a){r=-1;while(++r<i.length){const e=i[r];if(e.type==="mdxJsxTextElement"){e.type="mdxJsxFlowElement"}if(e.type==="mdxTextExpression"){e.type="mdxFlowExpression"}}n.children.splice(t,1,...i);return t}}if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement"){const t=e.data||(e.data={});t._mdxExplicitJsx=true}}))}}const Vn=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"];const On=a.env.NODE_ENV==="development";const Mn=["filepath","compilers","hastPlugins","mdPlugins","skipExport","wrapExport"];function createProcessor(e={}){const{development:t=On,jsx:i,format:n,outputFormat:r,providerImportSource:s,recmaPlugins:a,rehypePlugins:o,remarkPlugins:l,remarkRehypeOptions:p={},SourceMapGenerator:f,...d}=e;let m=-1;while(++m<Mn.length){const t=Mn[m];if(t in e){throw new Error("`options."+t+"` is no longer supported. Please see <https://mdxjs.com/migrating/v2/> for more information")}}if(n==="detect"){throw new Error("Incorrect `format: 'detect'`: `createProcessor` can support either `md` or `mdx`; it does not support detecting the format")}const g=c().use(_i);if(n!=="md"){g.use(remarkMdx)}g.use(remarkMarkAndUnravel).use(l||[]).use(Ji,{...p,allowDangerousHtml:true,passThrough:[...p.passThrough||[],...Vn]}).use(o||[]);if(n==="md"){g.use(rehypeRemoveRaw)}g.use(rehypeRecma).use(recmaDocument,{...d,outputFormat:r}).use(recmaJsxRewrite,{development:t,providerImportSource:s,outputFormat:r});if(!i){g.use(recmaJsxBuild,{outputFormat:r})}g.use(recmaStringify,{SourceMapGenerator:f}).use(a||[]);return g}var Rn=__nccwpck_require__(455);const qn=null&&[".mdx"];const jn=Rn.map((e=>"."+e));function resolveFileAndOptions(e,t){const i=resolve_file_and_options_looksLikeAVFile(e)?e:new VFile(e);const{format:n,...r}=t||{};return{file:i,options:{format:n==="md"||n==="mdx"?n:i.extname&&(r.mdExtensions||jn).includes(i.extname)?"md":"mdx",...r}}}function resolve_file_and_options_looksLikeAVFile(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function compile(e,t){const{file:i,options:n}=resolveFileAndOptions(e,t);return createProcessor(n).process(i)}function compileSync(e,t){const{file:i,options:n}=resolveFileAndOptions(e,t);return createProcessor(n).processSync(i)}const zn=Object.getPrototypeOf(run).constructor;async function run(e,t){return new zn(String(e))(t)}function runSync(e,t){return new Function(String(e))(t)}function resolveEvaluateOptions(e){const{Fragment:t,jsx:i,jsxs:n,useMDXComponents:r,...s}=e||{};if(!t)throw new Error("Expected `Fragment` given to `evaluate`");if(!i)throw new Error("Expected `jsx` given to `evaluate`");if(!n)throw new Error("Expected `jsxs` given to `evaluate`");return{compiletime:{...s,outputFormat:"function-body",providerImportSource:r?"#":undefined},runtime:{Fragment:t,jsx:i,jsxs:n,useMDXComponents:r}}}async function evaluate(e,t){const{compiletime:i,runtime:n}=resolveEvaluateOptions(t);return run(await compile(e,i),n)}function evaluateSync(e,t){const{compiletime:i,runtime:n}=resolveEvaluateOptions(t);return runSync(compileSync(e,i),n)}}();module.exports=i})();
|