inkspan 0.0.0-stage → 0.1.0-beta.4
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/LICENSE +21 -0
- package/README.md +89 -2
- package/browser.d.ts +31 -0
- package/browser.js +86 -0
- package/generated/JS-NOTICES.txt +2005 -0
- package/generated/THIRD-PARTY-NOTICES.txt +575 -0
- package/generated/engine-bytes.js +1 -0
- package/generated/engine-factory.js +277 -0
- package/generated/engine.js +272 -0
- package/generated/reference.js +52 -0
- package/index.d.ts +77 -0
- package/index.js +19 -0
- package/lib/accelerator.js +43 -0
- package/lib/browser-wasm.js +22 -0
- package/lib/core.js +250 -0
- package/lib/node.js +14 -0
- package/lib/portable.js +7 -0
- package/package.json +60 -4
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var Tf=Object.create;var lr=Object.defineProperty;var Pf=Object.getOwnPropertyDescriptor;var Lf=Object.getOwnPropertyNames;var Nf=Object.getPrototypeOf,Vf=Object.prototype.hasOwnProperty;var I=(e,t,i)=>()=>{if(i)throw i[0];try{return e&&(t=e(e=0)),t}catch(n){throw i=[n],n}};var Ni=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}},Vi=(e,t)=>{for(var i in t)lr(e,i,{get:t[i],enumerable:!0})},Xa=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Lf(t))!Vf.call(e,s)&&s!==i&&lr(e,s,{get:()=>t[s],enumerable:!(n=Pf(t,s))||n.enumerable});return e};var Ya=(e,t,i)=>(i=e!=null?Tf(Nf(e)):{},Xa(t||!e||!e.__esModule?lr(i,"default",{value:e,enumerable:!0}):i,e)),cr=e=>Xa(lr({},"__esModule",{value:!0}),e);function cn(e){if(e)throw e}var Za=I(()=>{});var oo=Ni((Tg,ao)=>{"use strict";var hr=Object.prototype.hasOwnProperty,so=Object.prototype.toString,$a=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,to=function(t){return typeof Array.isArray=="function"?Array.isArray(t):so.call(t)==="[object Array]"},io=function(t){if(!t||so.call(t)!=="[object Object]")return!1;var i=hr.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&hr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!n)return!1;var s;for(s in t);return typeof s>"u"||hr.call(t,s)},ro=function(t,i){$a&&i.name==="__proto__"?$a(t,i.name,{enumerable:!0,configurable:!0,value:i.newValue,writable:!0}):t[i.name]=i.newValue},no=function(t,i){if(i==="__proto__")if(hr.call(t,i)){if(eo)return eo(t,i).value}else return;return t[i]};ao.exports=function e(){var t,i,n,s,a,o,l=arguments[0],c=1,f=arguments.length,d=!1;for(typeof l=="boolean"&&(d=l,l=arguments[1]||{},c=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});c<f;++c)if(t=arguments[c],t!=null)for(i in t)n=no(l,i),s=no(t,i),l!==s&&(d&&s&&(io(s)||(a=to(s)))?(a?(a=!1,o=n&&to(n)?n:[]):o=n&&io(n)?n:{},ro(l,{name:i,newValue:e(d,o,s)})):typeof s<"u"&&ro(l,{name:i,newValue:s}));return l}});function Fi(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var uo=I(()=>{});function hn(){let e=[],t={run:i,use:n};return t;function i(...s){let a=-1,o=s.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);l(null,...s);function l(c,...f){let d=e[++a],m=-1;if(c){o(c);return}for(;++m<s.length;)(f[m]===null||f[m]===void 0)&&(f[m]=s[m]);s=f,d?lo(d,l)(...f):o(null,...f)}}function n(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function lo(e,t){let i;return n;function n(...o){let l=e.length>o.length,c;l&&o.push(s);try{c=e.apply(this,o)}catch(f){let d=f;if(l&&i)throw d;return s(d)}l||(c&&c.then&&typeof c.then=="function"?c.then(a,s):c instanceof Error?s(c):a(c))}function s(o,...l){i||(i=!0,t(o,...l))}function a(o){s(null,o)}}var co=I(()=>{});var ho=I(()=>{co()});function Ke(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?po(e.position):"start"in e||"end"in e?po(e):"line"in e||"column"in e?pn(e):""}function pn(e){return fo(e&&e.line)+":"+fo(e&&e.column)}function po(e){return pn(e&&e.start)+"-"+pn(e&&e.end)}function fo(e){return e&&typeof e=="number"?e:1}var mo=I(()=>{});var pr=I(()=>{mo()});var de,xo=I(()=>{pr();de=class extends Error{constructor(t,i,n){super(),typeof i=="string"&&(n=i,i=void 0);let s="",a={},o=!1;if(i&&("line"in i&&"column"in i?a={place:i}:"start"in i&&"end"in i?a={place:i}:"type"in i?a={ancestors:[i],place:i.position}:a={...i}),typeof t=="string"?s=t:!a.cause&&t&&(o=!0,s=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){let c=n.indexOf(":");c===-1?a.ruleId=n:(a.source=n.slice(0,c),a.ruleId=n.slice(c+1))}if(!a.place&&a.ancestors){let c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}let l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=l?l.line:void 0,this.name=Ke(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Object.defineProperties(de.prototype,{file:{configurable:!0,enumerable:!0,value:"",writable:!0},name:{configurable:!0,enumerable:!0,value:"",writable:!0},reason:{configurable:!0,enumerable:!0,value:"",writable:!0},message:{configurable:!0,enumerable:!0,value:"",writable:!0},stack:{configurable:!0,enumerable:!0,value:"",writable:!0},column:{configurable:!0,enumerable:!0,writable:!0},line:{configurable:!0,enumerable:!0,writable:!0},ancestors:{configurable:!0,enumerable:!0,writable:!0},cause:{configurable:!0,enumerable:!0,writable:!0},fatal:{configurable:!0,enumerable:!0,writable:!0},place:{configurable:!0,enumerable:!0,writable:!0},ruleId:{configurable:!0,enumerable:!0,writable:!0},source:{configurable:!0,enumerable:!0,writable:!0}})});var Qt=I(()=>{xo()});function Ff(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ri(e);let i=0,n=-1,s=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(a){i=s+1;break}}else n<0&&(a=!0,n=s+1);return n<0?"":e.slice(i,n)}if(t===e)return"";let o=-1,l=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(a){i=s+1;break}}else o<0&&(a=!0,o=s+1),l>-1&&(e.codePointAt(s)===t.codePointAt(l--)?l<0&&(n=s):(l=-1,n=o));return i===n?n=o:n<0&&(n=e.length),e.slice(i,n)}function Rf(e){if(Ri(e),e.length===0)return".";let t=-1,i=e.length,n;for(;--i;)if(e.codePointAt(i)===47){if(n){t=i;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Df(e){Ri(e);let t=e.length,i=-1,n=0,s=-1,a=0,o;for(;t--;){let l=e.codePointAt(t);if(l===47){if(o){n=t+1;break}continue}i<0&&(o=!0,i=t+1),l===46?s<0?s=t:a!==1&&(a=1):s>-1&&(a=-1)}return s<0||i<0||a===0||a===1&&s===i-1&&s===n+1?"":e.slice(s,i)}function Bf(...e){let t=-1,i;for(;++t<e.length;)Ri(e[t]),e[t]&&(i=i===void 0?e[t]:i+"/"+e[t]);return i===void 0?".":Of(i)}function Of(e){Ri(e);let t=e.codePointAt(0)===47,i=Mf(e,!t);return i.length===0&&!t&&(i="."),i.length>0&&e.codePointAt(e.length-1)===47&&(i+="/"),t?"/"+i:i}function Mf(e,t){let i="",n=0,s=-1,a=0,o=-1,l,c;for(;++o<=e.length;){if(o<e.length)l=e.codePointAt(o);else{if(l===47)break;l=47}if(l===47){if(!(s===o-1||a===1))if(s!==o-1&&a===2){if(i.length<2||n!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(c=i.lastIndexOf("/"),c!==i.length-1){c<0?(i="",n=0):(i=i.slice(0,c),n=i.length-1-i.lastIndexOf("/")),s=o,a=0;continue}}else if(i.length>0){i="",n=0,s=o,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",n=2)}else i.length>0?i+="/"+e.slice(s+1,o):i=e.slice(s+1,o),n=o-s-1;s=o,a=0}else l===46&&a>-1?a++:a=-1}return i}function Ri(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var dt,go=I(()=>{dt={basename:Ff,dirname:Rf,extname:Df,join:Bf,sep:"/"}});function qf(){return"/"}var bo,ko=I(()=>{bo={cwd:qf}});function pi(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}var fn=I(()=>{});function yo(e){if(typeof e=="string")e=new URL(e);else if(!pi(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return zf(e)}function zf(e){if(e.hostname!==""){let n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}let t=e.pathname,i=-1;for(;++i<t.length;)if(t.codePointAt(i)===37&&t.codePointAt(i+1)===50){let n=t.codePointAt(i+2);if(n===70||n===102){let s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}var vo=I(()=>{fn();fn()});function mn(e,t){if(e&&e.includes(dt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+dt.sep+"`")}function xn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function wo(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function jf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var dn,Di,So=I(()=>{Qt();go();ko();vo();dn=["history","path","basename","stem","extname","dirname"],Di=class{constructor(t){let i;t?pi(t)?i={path:t}:typeof t=="string"||jf(t)?i={value:t}:i=t:i={},this.cwd="cwd"in i?"":bo.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<dn.length;){let a=dn[n];a in i&&i[a]!==void 0&&i[a]!==null&&(this[a]=a==="history"?[...i[a]]:i[a])}let s;for(s in i)dn.includes(s)||(this[s]=i[s])}get basename(){return typeof this.path=="string"?dt.basename(this.path):void 0}set basename(t){xn(t,"basename"),mn(t,"basename"),this.path=dt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?dt.dirname(this.path):void 0}set dirname(t){wo(this.basename,"dirname"),this.path=dt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?dt.extname(this.path):void 0}set extname(t){if(mn(t,"extname"),wo(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=dt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){pi(t)&&(t=yo(t)),xn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?dt.basename(this.path,this.extname):void 0}set stem(t){xn(t,"stem"),mn(t,"stem"),this.path=dt.join(this.dirname||"",t+(this.extname||""))}fail(t,i,n){let s=this.message(t,i,n);throw s.fatal=!0,s}info(t,i,n){let s=this.message(t,i,n);return s.fatal=void 0,s}message(t,i,n){let s=new de(t,i,n);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}});var Co=I(()=>{So()});var Eo,Ao=I(()=>{Eo=(function(e){let n=this.constructor.prototype,s=n[e],a=function(){return s.apply(a,arguments)};return Object.setPrototypeOf(a,n),a})});function gn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function bn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function kn(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 _o(e){if(!Fi(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Io(e,t,i){if(!i)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function fr(e){return Jf(e)?e:new Di(e)}function Jf(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Hf(e){return typeof e=="string"||Gf(e)}function Gf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var dr,Uf,yn,To,Po=I(()=>{Za();dr=Ya(oo(),1);uo();ho();Co();Ao();Uf={}.hasOwnProperty,yn=class e extends Eo{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=hn()}copy(){let t=new e,i=-1;for(;++i<this.attachers.length;){let n=this.attachers[i];t.use(...n)}return t.data((0,dr.default)(!0,{},this.namespace)),t}data(t,i){return typeof t=="string"?arguments.length===2?(kn("data",this.frozen),this.namespace[t]=i,this):Uf.call(this.namespace,t)&&this.namespace[t]||void 0:t?(kn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[i,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let s=i.call(t,...n);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let i=fr(t),n=this.parser||this.Parser;return gn("parse",n),n(String(i),i)}process(t,i){let n=this;return this.freeze(),gn("process",this.parser||this.Parser),bn("process",this.compiler||this.Compiler),i?s(void 0,i):new Promise(s);function s(a,o){let l=fr(t),c=n.parse(l);n.run(c,l,function(d,m,y){if(d||!m||!y)return f(d);let g=m,w=n.stringify(g,y);Hf(w)?y.value=w:y.result=w,f(d,y)});function f(d,m){d||!m?o(d):a?a(m):i(void 0,m)}}}processSync(t){let i=!1,n;return this.freeze(),gn("processSync",this.parser||this.Parser),bn("processSync",this.compiler||this.Compiler),this.process(t,s),Io("processSync","process",i),n;function s(a,o){i=!0,cn(a),n=o}}run(t,i,n){_o(t),this.freeze();let s=this.transformers;return!n&&typeof i=="function"&&(n=i,i=void 0),n?a(void 0,n):new Promise(a);function a(o,l){let c=fr(i);s.run(t,c,f);function f(d,m,y){let g=m||t;d?l(d):o?o(g):n(void 0,g,y)}}}runSync(t,i){let n=!1,s;return this.run(t,i,a),Io("runSync","run",n),s;function a(o,l){cn(o),s=l,n=!0}}stringify(t,i){this.freeze();let n=fr(i),s=this.compiler||this.Compiler;return bn("stringify",s),_o(t),s(t,n)}use(t,...i){let n=this.attachers,s=this.namespace;if(kn("use",this.frozen),t!=null)if(typeof t=="function")c(t,i);else if(typeof t=="object")Array.isArray(t)?l(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(f){if(typeof f=="function")c(f,[]);else if(typeof f=="object")if(Array.isArray(f)){let[d,...m]=f;c(d,m)}else o(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function o(f){if(!("plugins"in f)&&!("settings"in f))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(f.plugins),f.settings&&(s.settings=(0,dr.default)(!0,s.settings,f.settings))}function l(f){let d=-1;if(f!=null)if(Array.isArray(f))for(;++d<f.length;){let m=f[d];a(m)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function c(f,d){let m=-1,y=-1;for(;++m<n.length;)if(n[m][0]===f){y=m;break}if(y===-1)n.push([f,...d]);else if(d.length>0){let[g,...w]=d,_=n[y][1];Fi(_)&&Fi(g)&&(g=(0,dr.default)(!0,_,g)),n[y]=[f,g,...w]}}}},To=new yn().freeze()});var Lo={};Vi(Lo,{unified:()=>To});var No=I(()=>{Po()});function _t(e,t){let i=t||Wf,n=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,s=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return Fo(e,n,s)}function Fo(e,t,i){if(Qf(e)){if("value"in e)return e.type==="html"&&!i?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Vo(e.children,t,i)}return Array.isArray(e)?Vo(e,t,i):""}function Vo(e,t,i){let n=[],s=-1;for(;++s<e.length;)n[s]=Fo(e[s],t,i);return n.join("")}function Qf(e){return!!(e&&typeof e=="object")}var Wf,Ro=I(()=>{Wf={}});var Bi=I(()=>{Ro()});var vn,Do=I(()=>{vn={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
2
|
+
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}});function It(e){return Kf.call(vn,e)?vn[e]:!1}var Kf,Oi=I(()=>{Do();Kf={}.hasOwnProperty});function Re(e,t,i,n){let s=e.length,a=0,o;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,i=i>0?i:0,n.length<1e4)o=Array.from(n),o.unshift(t,i),e.splice(...o);else for(i&&e.splice(t,i);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function je(e,t){return e.length>0?(Re(e,e.length,0,t),e):t}var Dt=I(()=>{});function fi(e){let t={},i=-1;for(;++i<e.length;)Xf(t,e[i]);return t}function Xf(e,t){let i;for(i in t){let s=(Bo.call(e,i)?e[i]:void 0)||(e[i]={}),a=t[i],o;if(a)for(o in a){Bo.call(s,o)||(s[o]=[]);let l=a[o];Yf(s[o],Array.isArray(l)?l:l?[l]:[])}}}function Yf(e,t){let i=-1,n=[];for(;++i<t.length;)(t[i].add==="after"?e:n).push(t[i]);Re(e,0,0,n)}var Bo,mr=I(()=>{Dt();Bo={}.hasOwnProperty});function xr(e,t){let i=Number.parseInt(e,t);return 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?"\uFFFD":String.fromCodePoint(i)}var wn=I(()=>{});function Oe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var di=I(()=>{});function Kt(e){return e!==null&&(e<32||e===127)}function j(e){return e!==null&&e<-2}function ne(e){return e!==null&&(e<0||e===32)}function W(e){return e===-2||e===-1||e===32}function Ot(e){return t;function t(i){return i!==null&&i>-1&&e.test(String.fromCharCode(i))}}var ve,Ae,Oo,Mi,Mo,gr,Bt,Le,ue=I(()=>{ve=Ot(/[A-Za-z]/),Ae=Ot(/[\dA-Za-z]/),Oo=Ot(/[#-'*+\--9=?A-Z^-~]/);Mi=Ot(/\d/),Mo=Ot(/[\dA-Fa-f]/),gr=Ot(/[!-/:-@[-`{-~]/);Bt=Ot(/\p{P}|\p{S}/u),Le=Ot(/\s/)});function X(e,t,i,n){let s=n?n-1:1/0,a=0;return o;function o(c){return W(c)?(e.enter(i),l(c)):t(c)}function l(c){return W(c)&&a++<s?(e.consume(c),l):(e.exit(i),t(c))}}function Sn(e,t,i,n,s,a){let o=0;return l;function l(d){return a>0&&W(d)?(e.enter(n),c(d)):f(d)}function c(d){return W(d)&&o<a?(e.consume(d),o++,c):(e.exit(n),f(d))}function f(d){return o>=s?t(d):i(d)}}var we=I(()=>{ue()});function Zf(e){let t=e.attempt(this.parser.constructs.contentInitial,n,s),i;return t;function n(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),X(e,t,"linePrefix")}function s(l){return e.enter("paragraph"),a(l)}function a(l){let c=e.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=c),i=c,o(l)}function o(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return j(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),o)}}var qo,zo=I(()=>{we();ue();qo={tokenize:Zf}});function jo(e,t,i,n,s){if(i===0&&n.length===0)return;let a=e.index.get(t);if(a){a[1]+=i,s?(n.push(...a[2]),a[2]=n):a[2].push(...n);return}let o=[t,i,n];e.map.push(o),e.index.set(t,o)}var Tt,br=I(()=>{Tt=class{constructor(){this.index=new Map,this.map=[]}add(t,i,n){jo(this,t,i,n,!1)}addBefore(t,i,n){jo(this,t,i,n,!0)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let i=this.map.length,n=[];for(;i>0;)i-=1,n.push(t.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),t.length=this.map[i][0];n.push(t.slice()),t.length=0;let s=n.pop();for(;s;){for(let a of s)t.push(a);s=n.pop()}this.map.length=0,this.index.clear()}}});function $f(e){let t=this,i=[],n=0,s,a,o;return l;function l(C){if(n<i.length){let p=i[n];return t.containerState=p[1],e.attempt(p[0].continuation,c,f)(C)}return f(C)}function c(C){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&F();let p=t.events.length,O=p,R;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){R=t.events[O][1].end;break}S(n);let D=p;for(;D<t.events.length;)t.events[D][1].end={...R},D++;let B=new Tt;return B.add(O+1,0,t.events.slice(p)),B.add(p,D-p,[]),B.consume(t.events),f(C)}return l(C)}function f(C){if(n===i.length){if(!s)return y(C);if(s.currentConstruct&&s.currentConstruct.concrete)return w(C);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Uo,d,m)(C)}function d(C){return s&&F(),S(n),y(C)}function m(C){return t.parser.lazy[t.now().line]=n!==i.length,o=t.now().offset,w(C)}function y(C){return t.containerState={},e.attempt(Uo,g,w)(C)}function g(C){return n++,i.push([t.currentConstruct,t.containerState]),y(C)}function w(C){if(C===null){s&&F(),S(0),e.consume(C);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:a}),_(C)}function _(C){if(C===null){V(e.exit("chunkFlow"),!0),S(0),e.consume(C);return}return j(C)?(e.consume(C),V(e.exit("chunkFlow")),n=0,t.interrupt=void 0,l):(e.consume(C),_)}function V(C,p){let O=t.sliceStream(C);if(p&&O.push(null),C.previous=a,a&&(a.next=C),a=C,s.defineSkip(C.start),s.write(O),t.parser.lazy[C.start.line]){let R=s.events.length;for(;R--;)if(s.events[R][1].start.offset<o&&(!s.events[R][1].end||s.events[R][1].end.offset>o))return;let D=t.events.length,B=D,U,T;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){if(U){T=t.events[B][1].end;break}U=!0}for(S(n),R=D;R<t.events.length;)t.events[R][1].end={...T},R++;let K=new Tt;K.add(B+1,0,t.events.slice(D)),K.add(D,R-D,[]),K.consume(t.events)}}function S(C){let p=i.length;for(;p-- >C;){let O=i[p];t.containerState=O[1],O[0].exit.call(t,e)}i.length=C}function F(){s.write([null]),a=void 0,s=void 0,t.containerState._closeFlow=void 0}}function ed(e,t,i){return X(e,e.attempt(this.parser.constructs.document,t,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var Jo,Uo,Ho=I(()=>{we();ue();br();Jo={tokenize:$f},Uo={tokenize:ed}});function tt(e){if(e===null||ne(e)||Le(e))return 1;if(Bt(e))return 2}var qi=I(()=>{ue()});function Mt(e,t,i){let n=[],s=-1;for(;++s<e.length;){let a=e[s].resolveAll;a&&!n.includes(a)&&(t=a(t,i),n.push(a))}return t}var zi=I(()=>{});function td(e,t){let i=-1,n;for(;++i<e.length;)if(e[i][0]==="enter"&&e[i][1].type==="attentionSequence"&&e[i][1]._close){let s=i;for(;s--;)if(e[s][0]==="exit"&&e[s][1].type==="attentionSequence"&&e[s][1]._open&&t.sliceSerialize(e[s][1]).charCodeAt(0)===t.sliceSerialize(e[i][1]).charCodeAt(0)){if((e[s][1]._close||e[i][1]._open)&&(e[i][1].end.offset-e[i][1].start.offset)%3&&!((e[s][1].end.offset-e[s][1].start.offset+e[i][1].end.offset-e[i][1].start.offset)%3))continue;let a=e[s][1].end.offset-e[s][1].start.offset>1&&e[i][1].end.offset-e[i][1].start.offset>1?2:1,o={...e[s][1].end},l={...e[i][1].start};Go(o,-a),Go(l,a);let c={type:a>1?"strongSequence":"emphasisSequence",start:o,end:{...e[s][1].end}},f={type:a>1?"strongSequence":"emphasisSequence",start:{...e[i][1].start},end:l},d={type:a>1?"strongText":"emphasisText",start:{...e[s][1].end},end:{...e[i][1].start}},m={type:a>1?"strong":"emphasis",start:{...c.start},end:{...f.end}};e[s][1].end={...c.start},e[i][1].start={...f.end},n=[],e[s][1].end.offset-e[s][1].start.offset&&(n=je(n,[["enter",e[s][1],t],["exit",e[s][1],t]])),n=je(n,[["enter",m,t],["enter",c,t],["exit",c,t],["enter",d,t]]),n=je(n,Mt(t.parser.constructs.insideSpan.null,e.slice(s+1,i),t)),n=je(n,[["exit",d,t],["enter",f,t],["exit",f,t],["exit",m,t]]);let y=0;e[i][1].end.offset-e[i][1].start.offset&&(y=2,n=je(n,[["enter",e[i][1],t],["exit",e[i][1],t]])),Re(e,s-1,i-s+3,n),i=s+n.length-y-2;break}}for(i=-1;++i<e.length;)e[i][1].type==="attentionSequence"&&(e[i][1].type="data");return e}function id(e,t){let i=this.parser.constructs.attentionMarkers.null,n=this.previous,s=tt(n),a;return o;function o(c){return a=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===a)return e.consume(c),l;let f=e.exit("attentionSequence"),d=tt(c),m=!d||d===2&&s||i.includes(c)&&c!==42&&c!==95,y=!s||s===2&&d||i.includes(n)&&n!==42&&n!==95;return f._open=!!(a===42?m:m&&(s||!y)),f._close=!!(a===42?y:y&&(d||!m)),t(c)}}function Go(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var ji,Wo=I(()=>{Dt();qi();zi();ji={name:"attention",resolveAll:td,tokenize:id}});function rd(e,t,i){let n=0;return s;function s(g){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(g){return ve(g)?(e.consume(g),o):g===64?i(g):f(g)}function o(g){return g===43||g===45||g===46||Ae(g)?(n=1,l(g)):f(g)}function l(g){return g===58?(e.consume(g),n=0,c):(g===43||g===45||g===46||Ae(g))&&n++<32?(e.consume(g),l):(n=0,f(g))}function c(g){return g===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):g===null||g===32||g===60||Kt(g)?i(g):(e.consume(g),c)}function f(g){return g===64?(e.consume(g),d):Oo(g)?(e.consume(g),f):i(g)}function d(g){return Ae(g)?m(g):i(g)}function m(g){return g===46?(e.consume(g),n=0,d):g===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):y(g)}function y(g){if((g===45||Ae(g))&&n++<63){let w=g===45?y:m;return e.consume(g),w}return i(g)}}var Cn,Qo=I(()=>{ue();Cn={name:"autolink",tokenize:rd}});function nd(e,t,i){return n;function n(a){return W(a)?X(e,s,"linePrefix")(a):s(a)}function s(a){return a===null||j(a)?t(a):i(a)}}var it,kr=I(()=>{we();ue();it={partial:!0,tokenize:nd}});function sd(e,t,i){let n=this;return s;function s(o){if(o===62){let l=n.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return i(o)}function a(o){return W(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function ad(e,t,i){let n=this;return s;function s(o){return W(o)?X(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(yr,t,i)(o)}}function od(e){e.exit("blockQuote")}var yr,Ko=I(()=>{we();ue();yr={continuation:{tokenize:ad},exit:od,name:"blockQuote",tokenize:sd}});function ud(e,t,i){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),s}function s(a){return gr(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):i(a)}}var vr,Xo=I(()=>{ue();vr={name:"characterEscape",tokenize:ud}});function ld(e,t,i){let n=this,s=0,a,o;return l;function l(m){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),c}function c(m){return m===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(m),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),a=31,o=Ae,d(m))}function f(m){return m===88||m===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(m),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=Mo,d):(e.enter("characterReferenceValue"),a=7,o=Mi,d(m))}function d(m){if(m===59&&s){let y=e.exit("characterReferenceValue");return o===Ae&&!It(n.sliceSerialize(y))?i(m):(e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(m)&&s++<a?(e.consume(m),d):i(m)}}var wr,Yo=I(()=>{Oi();ue();wr={name:"characterReference",tokenize:ld}});function cd(e,t,i){let n=this;return s;function s(o){return o===null?i(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?i(o):t(o)}}var Ui,En=I(()=>{Ui={partial:!0,tokenize:cd}});function hd(e,t,i){let n=this,s={partial:!0,tokenize:O},a=0,o=0,l;return c;function c(R){return f(R)}function f(R){let D=n.events[n.events.length-1];return a=D&&D[1].type==="linePrefix"?D[2].sliceSerialize(D[1],!0).length:0,l=R,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(R)}function d(R){return R===l?(o++,e.consume(R),d):o<3?i(R):(e.exit("codeFencedFenceSequence"),W(R)?X(e,m,"whitespace")(R):m(R))}function m(R){return R===null||j(R)?(e.exit("codeFencedFence"),n.interrupt?t(R):e.check(Ui,_,p)(R)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(R))}function y(R){return R===null||j(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(R)):W(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),X(e,g,"whitespace")(R)):R===96&&R===l?i(R):(e.consume(R),y)}function g(R){return R===null||j(R)?m(R):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),w(R))}function w(R){return R===null||j(R)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(R)):R===96&&R===l?i(R):(e.consume(R),w)}function _(R){return e.attempt(s,p,V)(R)}function V(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),S}function S(R){return a>0&&W(R)?X(e,F,"linePrefix",a+1)(R):F(R)}function F(R){return R===null||j(R)?e.check(Ui,_,p)(R):(e.enter("codeFlowValue"),C(R))}function C(R){return R===null||j(R)?(e.exit("codeFlowValue"),F(R)):(e.consume(R),C)}function p(R){return e.exit("codeFenced"),t(R)}function O(R,D,B){let U=0;return T;function T(ee){return R.enter("lineEnding"),R.consume(ee),R.exit("lineEnding"),K}function K(ee){return R.enter("codeFencedFence"),W(ee)?X(R,te,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ee):te(ee)}function te(ee){return ee===l?(R.enter("codeFencedFenceSequence"),q(ee)):B(ee)}function q(ee){return ee===l?(U++,R.consume(ee),q):U>=o?(R.exit("codeFencedFenceSequence"),W(ee)?X(R,Y,"whitespace")(ee):Y(ee)):B(ee)}function Y(ee){return ee===null||j(ee)?(R.exit("codeFencedFence"),D(ee)):B(ee)}}}var Sr,Zo=I(()=>{we();ue();En();Sr={concrete:!0,name:"codeFenced",tokenize:hd}});function fd(e,t,i){return n;function n(l){return e.enter("codeIndented"),Sn(e,s,i,"linePrefix",4,4)(l)}function s(l){return l===null?o(l):j(l)?e.attempt(pd,s,o)(l):(e.enter("codeFlowValue"),a(l))}function a(l){return l===null||j(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),a)}function o(l){return e.exit("codeIndented"),t(l)}}function dd(e,t,i){let n=this;return s;function s(o){return n.parser.lazy[n.now().line]?i(o):j(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):Sn(e,t,a,"linePrefix",4,4)(o)}function a(o){return j(o)?s(o):i(o)}}var Ji,pd,$o=I(()=>{we();ue();Ji={name:"codeIndented",tokenize:fd},pd={partial:!0,tokenize:dd}});function md(e){let t=e.length-4,i=3,n,s;if((e[i][1].type==="lineEnding"||e[i][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=i;++n<t;)if(e[n][1].type==="codeTextData"){e[i][1].type="codeTextPadding",e[t][1].type="codeTextPadding",i+=2,t-=2;break}}for(n=i-1,t++;++n<=t;)s===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(s=n):(n===t||e[n][1].type==="lineEnding")&&(e[s][1].type="codeTextData",n!==s+2&&(e[s][1].end=e[n-1][1].end,e.splice(s+2,n-s-2),t-=n-s-2,n=s+2),s=void 0);return e}function xd(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function gd(e,t,i){let n=this,s=0,a,o;return l;function l(y){return e.enter("codeText"),e.enter("codeTextSequence"),c(y)}function c(y){return y===96?(e.consume(y),s++,c):(e.exit("codeTextSequence"),f(y))}function f(y){return y===null?i(y):y===32?(e.enter("space"),e.consume(y),e.exit("space"),f):y===96?(o=e.enter("codeTextSequence"),a=0,m(y)):j(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),f):(e.enter("codeTextData"),d(y))}function d(y){return y===null||y===32||y===96||j(y)?(e.exit("codeTextData"),f(y)):(e.consume(y),d)}function m(y){return y===96?(e.consume(y),a++,m):a===s?(e.exit("codeTextSequence"),e.exit("codeText"),t(y)):(o.type="codeTextData",d(y))}}var An,eu=I(()=>{ue();An={name:"codeText",previous:xd,resolve:md,tokenize:gd}});function Hi(e,t){let i=0;if(t.length<1e4)e.push(...t);else for(;i<t.length;)e.push(...t.slice(i,i+1e4)),i+=1e4}var Cr,tu=I(()=>{Cr=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,i){let n=i??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,i,n){let s=i||0;this.setCursor(Math.trunc(t));let a=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return n&&Hi(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Hi(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Hi(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let i=this.left.splice(t,Number.POSITIVE_INFINITY);Hi(this.right,i.reverse())}else{let i=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Hi(this.left,i.reverse())}}}});function Er(e){let t={},i=-1,n,s,a,o,l,c,f,d=new Cr(e);for(;++i<d.length;){for(;i in t;)i=t[i];if(n=d.get(i),i&&n[1].type==="chunkFlow"&&d.get(i-1)[1].type==="listItemPrefix"&&(c=n[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,bd(d,i)),i=t[i],f=!0);else if(n[1]._container){for(a=i,s=void 0;a--;)if(o=d.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(s&&(d.get(s)[1].type="lineEndingBlank"),o[1].type="lineEnding",s=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;s&&(n[1].end={...d.get(s)[1].start},l=d.slice(s,i),l.unshift(n),d.splice(s,i-s+1,l))}}return Re(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!f}function bd(e,t){let i=e.get(t)[1],n=e.get(t)[2],s=t-1,a=[],o=i._tokenizer;o||(o=n.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let l=o.events,c=[],f={},d,m,y=-1,g=i,w=0,_=0,V=[_];for(;g;){for(;e.get(++s)[1]!==g;);a.push(s),g._tokenizer||(d=n.sliceStream(g),g.next||d.push(null),m&&o.defineSkip(g.start),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),m=g,g=g.next}for(g=i;++y<l.length;)l[y][0]==="exit"&&l[y-1][0]==="enter"&&l[y][1].type===l[y-1][1].type&&l[y][1].start.line!==l[y][1].end.line&&(_=y+1,V.push(_),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(o.events=[],g?(g._tokenizer=void 0,g.previous=void 0):V.pop(),y=V.length;y--;){let S=l.slice(V[y],V[y+1]),F=a.pop();c.push([F,F+S.length-1]),e.splice(F,2,S)}for(c.reverse(),y=-1;++y<c.length;)f[w+c[y][0]]=w+c[y][1],w+=c[y][1]-c[y][0]-1;return f}var _n=I(()=>{Dt();tu()});function yd(e){return Er(e),e}function vd(e,t){let i;return n;function n(l){return e.enter("content"),i=e.enter("chunkContent",{contentType:"content"}),s(l)}function s(l){return l===null?a(l):j(l)?e.check(kd,o,a)(l):(e.consume(l),s)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function o(l){return e.consume(l),e.exit("chunkContent"),i.next=e.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,s}}function wd(e,t,i){let n=this;return s;function s(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),X(e,a,"linePrefix")}function a(o){if(o===null||j(o))return i(o);let l=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(n.parser.constructs.flow,i,t)(o)}}var In,kd,iu=I(()=>{we();ue();_n();In={resolve:yd,tokenize:vd},kd={partial:!0,tokenize:wd}});function Ar(e,t,i,n,s,a,o,l,c){let f=c||Number.POSITIVE_INFINITY,d=0;return m;function m(S){return S===60?(e.enter(n),e.enter(s),e.enter(a),e.consume(S),e.exit(a),y):S===null||S===32||S===41||Kt(S)?i(S):(e.enter(n),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),_(S))}function y(S){return S===62?(e.enter(a),e.consume(S),e.exit(a),e.exit(s),e.exit(n),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===62?(e.exit("chunkString"),e.exit(l),y(S)):S===null||S===60||j(S)?i(S):(e.consume(S),S===92?w:g)}function w(S){return S===60||S===62||S===92?(e.consume(S),g):g(S)}function _(S){return!d&&(S===null||S===41||ne(S))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(n),t(S)):d<f&&S===40?(e.consume(S),d++,_):S===41?(e.consume(S),d--,_):S===null||S===32||S===40||Kt(S)?i(S):(e.consume(S),S===92?V:_)}function V(S){return S===40||S===41||S===92?(e.consume(S),_):_(S)}}var Tn=I(()=>{ue()});function _r(e,t,i,n,s,a){let o=this,l=0,c;return f;function f(g){return e.enter(n),e.enter(s),e.consume(g),e.exit(s),e.enter(a),d}function d(g){return l>999||g===null||g===91||g===93&&!c||g===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?i(g):g===93?(e.exit(a),e.enter(s),e.consume(g),e.exit(s),e.exit(n),t):j(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),m(g))}function m(g){return g===null||g===91||g===93||j(g)||l++>999?(e.exit("chunkString"),d(g)):(e.consume(g),c||(c=!W(g)),g===92?y:m)}function y(g){return g===91||g===92||g===93?(e.consume(g),l++,m):m(g)}}var Pn=I(()=>{ue()});function Ir(e,t,i,n,s,a){let o;return l;function l(y){return y===34||y===39||y===40?(e.enter(n),e.enter(s),e.consume(y),e.exit(s),o=y===40?41:y,c):i(y)}function c(y){return y===o?(e.enter(s),e.consume(y),e.exit(s),e.exit(n),t):(e.enter(a),f(y))}function f(y){return y===o?(e.exit(a),c(o)):y===null?i(y):j(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),X(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(y))}function d(y){return y===o||y===null||j(y)?(e.exit("chunkString"),f(y)):(e.consume(y),y===92?m:d)}function m(y){return y===o||y===92?(e.consume(y),d):d(y)}}var Ln=I(()=>{we();ue()});function Xt(e,t){let i;return n;function n(s){return j(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i=!0,n):W(s)?X(e,n,i?"linePrefix":"lineSuffix")(s):t(s)}}var Nn=I(()=>{we();ue()});function Cd(e,t,i){let n=this,s;return a;function a(g){return e.enter("definition"),o(g)}function o(g){return _r.call(n,e,l,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function l(g){return s=Oe(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),c):i(g)}function c(g){return ne(g)?Xt(e,f)(g):f(g)}function f(g){return Ar(e,d,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function d(g){return e.attempt(Sd,m,m)(g)}function m(g){return W(g)?X(e,y,"whitespace")(g):y(g)}function y(g){return g===null||j(g)?(e.exit("definition"),n.parser.defined.push(s),t(g)):i(g)}}function Ed(e,t,i){return n;function n(l){return ne(l)?Xt(e,s)(l):i(l)}function s(l){return Ir(e,a,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return W(l)?X(e,o,"whitespace")(l):o(l)}function o(l){return l===null||j(l)?t(l):i(l)}}var Vn,Sd,ru=I(()=>{Tn();Pn();we();Ln();Nn();ue();di();Vn={name:"definition",tokenize:Cd},Sd={partial:!0,tokenize:Ed}});function Ad(e,t,i){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),s}function s(a){return j(a)?(e.exit("hardBreakEscape"),t(a)):i(a)}}var Fn,nu=I(()=>{ue();Fn={name:"hardBreakEscape",tokenize:Ad}});function _d(e,t){let i=e.length-2,n=3;if(e[n][1].type==="whitespace"&&(n+=2),i-2>n&&e[i][1].type==="whitespace"&&(i-=2),e[i][1].type==="atxHeadingSequence"&&(n===i-1||i-4>n&&e[i-2][1].type==="whitespace")&&(i-=n+1===i?2:4),i>n){let s={type:"atxHeadingText",start:e[n][1].start,end:e[i][1].end},a={type:"chunkText",start:e[n][1].start,end:e[i][1].end,contentType:"text"};Re(e,n,i-n+1,[["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t]])}return e}function Id(e,t,i){let n=0;return s;function s(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&n++<6?(e.consume(d),o):d===null||ne(d)?(e.exit("atxHeadingSequence"),l(d)):i(d)}function l(d){return d===35?(e.enter("atxHeadingSequence"),c(d)):d===null||j(d)?(e.exit("atxHeading"),t(d)):W(d)?X(e,l,"whitespace")(d):(e.enter("atxHeadingText"),f(d))}function c(d){return d===35?(e.consume(d),c):(e.exit("atxHeadingSequence"),l(d))}function f(d){return d===null||d===35||ne(d)?(e.exit("atxHeadingText"),l(d)):(e.consume(d),f)}}var Rn,su=I(()=>{we();ue();Dt();Rn={name:"headingAtx",resolve:_d,tokenize:Id}});var Tr,Gi,Dn=I(()=>{Tr=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Gi=["pre","script","style","textarea"]});function Pd(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return 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)),e}function Ld(e,t,i){let n=this,s,a,o,l,c;return f;function f(A){return d(A)}function d(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),m}function m(A){return A===33?(e.consume(A),y):A===47?(e.consume(A),a=!0,_):A===63?(e.consume(A),s=3,n.interrupt?t:E):ve(A)?(e.consume(A),o=String.fromCharCode(A),V):i(A)}function y(A){return A===45?(e.consume(A),s=2,g):A===91?(e.consume(A),s=5,l=0,w):ve(A)?(e.consume(A),s=4,n.interrupt?t:E):i(A)}function g(A){return A===45?(e.consume(A),n.interrupt?t:E):i(A)}function w(A){let Ne="CDATA[";return A===Ne.charCodeAt(l++)?(e.consume(A),l===Ne.length?n.interrupt?t:te:w):i(A)}function _(A){return ve(A)?(e.consume(A),o=String.fromCharCode(A),V):i(A)}function V(A){if(A===null||A===47||A===62||ne(A)){let Ne=A===47,ut=o.toLowerCase();return!Ne&&!a&&Gi.includes(ut)?(s=1,n.interrupt?t(A):te(A)):Tr.includes(o.toLowerCase())?(s=6,Ne?(e.consume(A),S):n.interrupt?t(A):te(A)):(s=7,n.interrupt&&!n.parser.lazy[n.now().line]?i(A):a?F(A):C(A))}return A===45||Ae(A)?(e.consume(A),o+=String.fromCharCode(A),V):i(A)}function S(A){return A===62?(e.consume(A),n.interrupt?t:te):i(A)}function F(A){return W(A)?(e.consume(A),F):T(A)}function C(A){return A===47?(e.consume(A),T):A===58||A===95||ve(A)?(e.consume(A),p):W(A)?(e.consume(A),C):T(A)}function p(A){return A===45||A===46||A===58||A===95||Ae(A)?(e.consume(A),p):O(A)}function O(A){return A===61?(e.consume(A),R):W(A)?(e.consume(A),O):C(A)}function R(A){return A===null||A===60||A===61||A===62||A===96?i(A):A===34||A===39?(e.consume(A),c=A,D):W(A)?(e.consume(A),R):B(A)}function D(A){return A===c?(e.consume(A),c=null,U):A===null||j(A)?i(A):(e.consume(A),D)}function B(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||ne(A)?O(A):(e.consume(A),B)}function U(A){return A===47||A===62||W(A)?C(A):i(A)}function T(A){return A===62?(e.consume(A),K):i(A)}function K(A){return A===null||j(A)?te(A):W(A)?(e.consume(A),K):i(A)}function te(A){return A===45&&s===2?(e.consume(A),he):A===60&&s===1?(e.consume(A),$):A===62&&s===4?(e.consume(A),_e):A===63&&s===3?(e.consume(A),E):A===93&&s===5?(e.consume(A),Ue):j(A)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(Td,ze,q)(A)):A===null||j(A)?(e.exit("htmlFlowData"),q(A)):(e.consume(A),te)}function q(A){return e.check(Ui,Y,ze)(A)}function Y(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),ee}function ee(A){return A===null||j(A)?q(A):(e.enter("htmlFlowData"),te(A))}function he(A){return A===45?(e.consume(A),E):te(A)}function $(A){return A===47?(e.consume(A),o="",me):te(A)}function me(A){if(A===62){let Ne=o.toLowerCase();return Gi.includes(Ne)?(e.consume(A),_e):te(A)}return ve(A)&&o.length<8?(e.consume(A),o+=String.fromCharCode(A),me):te(A)}function Ue(A){return A===93?(e.consume(A),E):te(A)}function E(A){return A===62?(e.consume(A),_e):A===45&&s===2?(e.consume(A),E):te(A)}function _e(A){return A===null||j(A)?(e.exit("htmlFlowData"),ze(A)):(e.consume(A),_e)}function ze(A){return e.exit("htmlFlow"),t(A)}}function Nd(e,t,i){return n;function n(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(it,t,i)}}var Bn,Td,au=I(()=>{ue();Dn();kr();En();Bn={concrete:!0,name:"htmlFlow",resolveTo:Pd,tokenize:Ld},Td={partial:!0,tokenize:Nd}});function Vd(e,t,i){let n=this,s,a,o;return l;function l(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),c}function c(E){return E===33?(e.consume(E),f):E===47?(e.consume(E),O):E===63?(e.consume(E),C):ve(E)?(e.consume(E),B):i(E)}function f(E){return E===45?(e.consume(E),d):E===91?(e.consume(E),a=0,w):ve(E)?(e.consume(E),F):i(E)}function d(E){return E===45?(e.consume(E),g):i(E)}function m(E){return E===null?i(E):E===45?(e.consume(E),y):j(E)?(o=m,$(E)):(e.consume(E),m)}function y(E){return E===45?(e.consume(E),g):m(E)}function g(E){return E===62?he(E):E===45?y(E):m(E)}function w(E){let _e="CDATA[";return E===_e.charCodeAt(a++)?(e.consume(E),a===_e.length?_:w):i(E)}function _(E){return E===null?i(E):E===93?(e.consume(E),V):j(E)?(o=_,$(E)):(e.consume(E),_)}function V(E){return E===93?(e.consume(E),S):_(E)}function S(E){return E===62?he(E):E===93?(e.consume(E),S):_(E)}function F(E){return E===null||E===62?he(E):j(E)?(o=F,$(E)):(e.consume(E),F)}function C(E){return E===null?i(E):E===63?(e.consume(E),p):j(E)?(o=C,$(E)):(e.consume(E),C)}function p(E){return E===62?he(E):C(E)}function O(E){return ve(E)?(e.consume(E),R):i(E)}function R(E){return E===45||Ae(E)?(e.consume(E),R):D(E)}function D(E){return j(E)?(o=D,$(E)):W(E)?(e.consume(E),D):he(E)}function B(E){return E===45||Ae(E)?(e.consume(E),B):E===47||E===62||ne(E)?U(E):i(E)}function U(E){return E===47?(e.consume(E),he):E===58||E===95||ve(E)?(e.consume(E),T):j(E)?(o=U,$(E)):W(E)?(e.consume(E),U):he(E)}function T(E){return E===45||E===46||E===58||E===95||Ae(E)?(e.consume(E),T):K(E)}function K(E){return E===61?(e.consume(E),te):j(E)?(o=K,$(E)):W(E)?(e.consume(E),K):U(E)}function te(E){return E===null||E===60||E===61||E===62||E===96?i(E):E===34||E===39?(e.consume(E),s=E,q):j(E)?(o=te,$(E)):W(E)?(e.consume(E),te):(e.consume(E),Y)}function q(E){return E===s?(e.consume(E),s=void 0,ee):E===null?i(E):j(E)?(o=q,$(E)):(e.consume(E),q)}function Y(E){return E===null||E===34||E===39||E===60||E===61||E===96?i(E):E===47||E===62||ne(E)?U(E):(e.consume(E),Y)}function ee(E){return E===47||E===62||ne(E)?U(E):i(E)}function he(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),t):i(E)}function $(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),me}function me(E){return W(E)?X(e,Ue,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):Ue(E)}function Ue(E){return e.enter("htmlTextData"),o(E)}}var On,ou=I(()=>{we();ue();On={name:"htmlText",tokenize:Vd}});function Bd(e){let t=-1,i=[];for(;++t<e.length;){let n=e[t][1];if(i.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){let s=n.type==="labelImage"?4:2;n.type="data",t+=s}}return e.length!==i.length&&Re(e,0,e.length,i),e}function Od(e,t){let i=e.length,n=0,s,a,o;for(;i--;){let d=e[i][1];if(s){if(d.type==="link"||d.type==="labelLink"&&d._inactive)break;e[i][0]==="enter"&&d.type==="labelLink"&&(d._inactive=!0)}else if(a){if(e[i][0]==="enter"&&(d.type==="labelImage"||d.type==="labelLink")&&!d._balanced&&(s=i,d.type!=="labelLink")){n=2;break}}else d.type==="labelEnd"&&(a=i)}let l={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[s][1].start},end:{...e[a][1].end}},f={type:"labelText",start:{...e[s+n+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=je(o,e.slice(s+1,s+n+3)),o=je(o,[["enter",f,t]]),o=je(o,Mt(t.parser.constructs.insideSpan.null,e.slice(s+n+4,a-3),t)),o=je(o,[["exit",f,t],e[a-2],e[a-1],["exit",c,t]]),o=je(o,e.slice(a+1)),o=je(o,[["exit",l,t]]),Re(e,s,e.length,o),e}function Md(e,t,i){let n=this,s=n._labelStarts,a,o;if(s){for(;s.length>0&&s[s.length-1]._balanced;)s.pop();a=s[s.length-1]}return l;function l(y){return a?a._inactive?m(y):(o=n.parser.defined.includes(Oe(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),c):i(y)}function c(y){return y===40?e.attempt(Fd,d,o?d:m)(y):y===91?e.attempt(Rd,d,o?f:m)(y):o?d(y):m(y)}function f(y){return e.attempt(Dd,d,m)(y)}function d(y){return s.pop(),t(y)}function m(y){return a._balanced=!0,i(y)}}function qd(e,t,i){return n;function n(m){return e.enter("resource"),e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),s}function s(m){return ne(m)?Xt(e,a)(m):a(m)}function a(m){return m===41?d(m):Ar(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function o(m){return ne(m)?Xt(e,c)(m):d(m)}function l(m){return i(m)}function c(m){return m===34||m===39||m===40?Ir(e,f,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):d(m)}function f(m){return ne(m)?Xt(e,d)(m):d(m)}function d(m){return m===41?(e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),e.exit("resource"),t):i(m)}}function zd(e,t,i){let n=this;return s;function s(l){return _r.call(n,e,a,o,"reference","referenceMarker","referenceString")(l)}function a(l){return n.parser.defined.includes(Oe(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(l):i(l)}function o(l){return i(l)}}function jd(e,t,i){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),s}function s(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):i(a)}}var Yt,Fd,Rd,Dd,Pr=I(()=>{Tn();Pn();Ln();Nn();ue();Dt();di();zi();Yt={name:"labelEnd",resolveAll:Bd,resolveTo:Od,tokenize:Md},Fd={tokenize:qd},Rd={tokenize:zd},Dd={tokenize:jd}});function Ud(e,t,i){let n=this,s;return a;function a(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),o}function o(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),s=e.exit("labelImage"),l):i(c)}function l(c){return c===94&&"_hiddenFootnoteSupport"in n.parser.constructs?i(c):(n._labelStarts=n._labelStarts||[],n._labelStarts.push(s),t(c))}}var Mn,uu=I(()=>{Pr();Mn={name:"labelStartImage",resolveAll:Yt.resolveAll,tokenize:Ud}});function Jd(e,t,i){let n=this,s;return a;function a(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),s=e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?i(l):(n._labelStarts=n._labelStarts||[],n._labelStarts.push(s),t(l))}}var qn,lu=I(()=>{Pr();qn={name:"labelStartLink",resolveAll:Yt.resolveAll,tokenize:Jd}});function Hd(e,t){return i;function i(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),X(e,t,"linePrefix")}}var Wi,cu=I(()=>{we();Wi={name:"lineEnding",tokenize:Hd}});function Gd(e,t,i){let n=0,s;return a;function a(f){return e.enter("thematicBreak"),o(f)}function o(f){return s=f,l(f)}function l(f){return f===s?(e.enter("thematicBreakSequence"),c(f)):n>=3&&(f===null||j(f))?(e.exit("thematicBreak"),t(f)):i(f)}function c(f){return f===s?(e.consume(f),n++,c):(e.exit("thematicBreakSequence"),W(f)?X(e,l,"whitespace")(f):l(f))}}var Zt,zn=I(()=>{we();ue();Zt={name:"thematicBreak",tokenize:Gd}});function Kd(e,t,i){let n=this,s=n.events[n.events.length-1],a=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,o=0;return l;function l(g){let w=n.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!n.containerState.marker||g===n.containerState.marker:Mi(g)){if(n.containerState.type||(n.containerState.type=w,e.enter(w,{_container:!0})),w==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(Zt,i,f)(g):f(g);if(!n.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(g)}return i(g)}function c(g){return Mi(g)&&++o<10?(e.consume(g),c):(!n.interrupt||o<2)&&(n.containerState.marker?g===n.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),f(g)):i(g)}function f(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||g,e.check(it,n.interrupt?i:d,e.attempt(Wd,y,m))}function d(g){return n.containerState.initialBlankLine=!0,a++,y(g)}function m(g){return W(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),y):i(g)}function y(g){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}function Xd(e,t,i){let n=this;return n.containerState._closeFlow=void 0,e.check(it,s,a);function s(l){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,X(e,t,"listItemIndent",n.containerState.size+1)(l)}function a(l){return n.containerState.furtherBlankLines||!W(l)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(l)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(Qd,t,o)(l))}function o(l){return n.containerState._closeFlow=!0,n.interrupt=void 0,X(e,e.attempt(Me,t,i),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Yd(e,t,i){let n=this;return X(e,s,"listItemIndent",n.containerState.size+1);function s(a){let o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?t(a):i(a)}}function Zd(e){e.exit(this.containerState.type)}function $d(e,t,i){let n=this;return X(e,s,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(a){let o=n.events[n.events.length-1];return!W(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):i(a)}}var Me,Wd,Qd,hu=I(()=>{we();ue();kr();zn();Me={continuation:{tokenize:Xd},exit:Zd,name:"list",tokenize:Kd},Wd={partial:!0,tokenize:$d},Qd={partial:!0,tokenize:Yd}});function em(e,t){let i=new Tt,n=e.length,s,a,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){s=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&i.add(n,1,[]),!o&&e[n][1].type==="definition"&&(o=n);let l={type:"setextHeading",start:{...e[s][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",o?(i.add(a,0,[["enter",l,t]]),i.add(o+1,0,[["exit",e[s][1],t]]),e[s][1].end={...e[o][1].end}):e[s][1]=l,i.add(e.length,0,[["exit",l,t]]),i.consume(e),e}function tm(e,t,i){let n=this,s;return a;function a(f){let d=n.events.length,m;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){m=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||m)?(e.enter("setextHeadingLine"),s=f,o(f)):i(f)}function o(f){return e.enter("setextHeadingLineSequence"),l(f)}function l(f){return f===s?(e.consume(f),l):(e.exit("setextHeadingLineSequence"),W(f)?X(e,c,"lineSuffix")(f):c(f))}function c(f){return f===null||j(f)?(e.exit("setextHeadingLine"),t(f)):i(f)}}var Lr,pu=I(()=>{we();ue();br();Lr={name:"setextUnderline",resolveTo:em,tokenize:tm}});var Qi=I(()=>{Wo();Qo();kr();Ko();Xo();Yo();Zo();$o();eu();iu();ru();nu();su();au();ou();Pr();uu();lu();cu();hu();pu();zn()});function im(e){let t=this,i=e.attempt(it,n,e.attempt(this.parser.constructs.flowInitial,s,X(e,e.attempt(this.parser.constructs.flow,s,e.attempt(In,s)),"linePrefix")));return i;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,i}function s(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,i}}var fu,du=I(()=>{Qi();we();fu={tokenize:im}});function bu(e){return{resolveAll:ku(e==="text"?rm:void 0),tokenize:t};function t(i){let n=this,s=this.parser.constructs[e],a=i.attempt(s,o,l);return o;function o(d){return f(d)?a(d):l(d)}function l(d){if(d===null){i.consume(d);return}return i.enter("data"),i.consume(d),c}function c(d){return f(d)?(i.exit("data"),a(d)):(i.consume(d),c)}function f(d){if(d===null)return!0;let m=s[d],y=-1;if(m)for(;++y<m.length;){let g=m[y];if(!g.previous||g.previous.call(n,n.previous))return!0}return!1}}}function ku(e){return t;function t(i,n){let s=-1,a;for(;++s<=i.length;)a===void 0?i[s]&&i[s][1].type==="data"&&(a=s,s++):(!i[s]||i[s][1].type!=="data")&&(s!==a+2&&(i[a][1].end=i[s-1][1].end,i.splice(a+2,s-a-2),s=a+2),a=void 0);return e?e(i,n):i}}function rm(e,t){let i=new Tt,n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){let s=e[n-1][1],a=t.sliceStream(s),o=a.length,l=-1,c=0,f;for(;o--;){let d=a[o];if(typeof d=="string"){for(l=d.length;d.charCodeAt(l-1)===32;)c++,l--;if(l)break;l=-1}else if(d===-2)f=!0,c++;else if(d!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){let d={type:n===e.length||f||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:s.start._bufferIndex+l,_index:s.start._index+o,line:s.end.line,column:s.end.column-c,offset:s.end.offset-c},end:{...s.end}};s.end={...d.start},s.start.offset===s.end.offset?Object.assign(s,d):i.add(n,0,[["enter",d,t],["exit",d,t]])}n++}return i.consume(e),e}var mu,xu,gu,jn=I(()=>{br();mu={resolveAll:ku()},xu=bu("string"),gu=bu("text")});var Un={};Vi(Un,{attentionMarkers:()=>hm,contentInitial:()=>sm,disable:()=>pm,document:()=>nm,flow:()=>om,flowInitial:()=>am,insideSpan:()=>cm,string:()=>um,text:()=>lm});var nm,sm,am,om,um,lm,cm,hm,pm,yu=I(()=>{Qi();jn();nm={42:Me,43:Me,45:Me,48:Me,49:Me,50:Me,51:Me,52:Me,53:Me,54:Me,55:Me,56:Me,57:Me,62:yr},sm={91:Vn},am={[-2]:Ji,[-1]:Ji,32:Ji},om={35:Rn,42:Zt,45:[Lr,Zt],60:Bn,61:Lr,95:Zt,96:Sr,126:Sr},um={38:wr,92:vr},lm={[-5]:Wi,[-4]:Wi,[-3]:Wi,33:Mn,38:wr,42:ji,60:[Cn,On],91:qn,92:[Fn,vr],93:Yt,95:ji,96:An},cm={null:[ji,mu]},hm={null:[42,95]},pm={null:[]}});function vu(e,t,i){let n={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0},s={},a=[],o=[],l=[],c=!0,f={attempt:U(D),check:U(B),consume:p,enter:O,exit:R,interrupt:U(B,{interrupt:!0})},d={code:null,containerState:{},defineSkip:S,events:[],now:V,parser:e,previous:null,sliceSerialize:w,sliceStream:_,write:g},m=t.tokenize.call(d,f),y;return t.resolveAll&&a.push(t),d;function g(q){return o=je(o,q),F(),o[o.length-1]!==null?[]:(T(t,0),d.events=Mt(a,d.events,d),d.events)}function w(q,Y){return dm(_(q),Y)}function _(q){return fm(o,q)}function V(){let{_bufferIndex:q,_index:Y,line:ee,column:he,offset:$}=n;return{_bufferIndex:q,_index:Y,line:ee,column:he,offset:$}}function S(q){s[q.line]=q.column,te()}function F(){for(;n._index<o.length;){let q=o[n._index];if(typeof q=="string"){let Y=n._index;for(n._bufferIndex<0&&(n._bufferIndex=0);n._index===Y&&n._bufferIndex<q.length;)C(q.charCodeAt(n._bufferIndex))}else C(q)}}function C(q){c=void 0,y=q,m=m(q)}function p(q){j(q)?(n.line++,n.column=1,n.offset+=q===-3?2:1,te()):q!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),d.previous=q,c=!0}function O(q,Y){let ee=Y||{};return ee.type=q,ee.start=V(),d.events.push(["enter",ee,d]),l.push(ee),ee}function R(q){let Y=l.pop();return Y.end=V(),d.events.push(["exit",Y,d]),Y}function D(q,Y){T(q,Y.from)}function B(q,Y){Y.restore()}function U(q,Y){return ee;function ee(he,$,me){let Ue,E,_e,ze;return Array.isArray(he)?Ne(he):"tokenize"in he?Ne([he]):A(he);function A(xe){return Ye;function Ye(He){let Te=He!==null&&xe[He],Ze=He!==null&&xe.null,lt=[...Array.isArray(Te)?Te:Te?[Te]:[],...Array.isArray(Ze)?Ze:Ze?[Ze]:[]];return Ne(lt)(He)}}function Ne(xe){return Ue=xe,E=0,xe.length===0?me:ut(xe[E])}function ut(xe){return Ye;function Ye(He){return ze=K(),_e=xe,xe.partial||(d.currentConstruct=xe),xe.name&&d.parser.constructs.disable.null.includes(xe.name)?Je(He):xe.tokenize.call(Y?Object.assign(Object.create(d),Y):d,f,wt,Je)(He)}}function wt(xe){return c=!0,q(_e,ze),$}function Je(xe){return c=!0,ze.restore(),++E<Ue.length?ut(Ue[E]):me}}}function T(q,Y){q.resolveAll&&!a.includes(q)&&a.push(q),q.resolve&&Re(d.events,Y,d.events.length-Y,q.resolve(d.events.slice(Y),d)),q.resolveTo&&(d.events=q.resolveTo(d.events,d))}function K(){let q=V(),Y=d.previous,ee=d.currentConstruct,he=d.events.length,$=Array.from(l);return{from:he,restore:me};function me(){n=q,d.previous=Y,d.currentConstruct=ee,d.events.length=he,l=$,te()}}function te(){n.line in s&&n.column<2&&(n.column=s[n.line],n.offset+=s[n.line]-1)}}function fm(e,t){let i=t.start._index,n=t.start._bufferIndex,s=t.end._index,a=t.end._bufferIndex,o;if(i===s)o=[e[i].slice(n,a)];else{if(o=e.slice(i,s),n>-1){let l=o[0];typeof l=="string"?o[0]=l.slice(n):o.shift()}a>0&&o.push(e[s].slice(0,a))}return o}function dm(e,t){let i=-1,n=[],s;for(;++i<e.length;){let a=e[i],o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
3
|
+
`;break}case-3:{o=`\r
|
|
4
|
+
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&s)continue;o=" ";break}default:o=String.fromCharCode(a)}s=a===-2,n.push(o)}return n.join("")}var wu=I(()=>{ue();Dt();zi()});function Jn(e){let n={constructs:fi([Un,...(e||{}).extensions||[]]),content:s(qo),defined:[],document:s(Jo),flow:s(fu),lazy:{},string:s(xu),text:s(gu)};return n;function s(a){return o;function o(l){return vu(n,a,l)}}}var Su=I(()=>{mr();zo();Ho();du();jn();yu();wu()});function Hn(e){for(;!Er(e););return e}var Cu=I(()=>{_n()});function Gn(){let e=1,t="",i=!0,n;return s;function s(a,o,l){a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a));let c=[],f=0;for(t="",i&&(a.charCodeAt(0)===65279&&f++,i=void 0);f<a.length;){Eu.lastIndex=f;let d=Eu.exec(a),m=d&&d.index!==void 0?d.index:a.length,y=a.charCodeAt(m);if(!d){t=a.slice(f);break}if(y===10&&f===m&&n)c.push(-3),n=void 0;else switch(n&&(c.push(-5),n=void 0),f<m&&(c.push(a.slice(f,m)),e+=m-f),y){case 0:{c.push(65533),e++;break}case 9:{let g=Math.ceil(e/4)*4;for(c.push(-2);e++<g;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:n=!0,e=1}f=m+1}return l&&(n&&c.push(-5),t&&c.push(t),c.push(null)),c}}var Eu,Au=I(()=>{Eu=/[\0\t\n\r]/g});var _u=I(()=>{Su();Cu();Au()});function Iu(e){return e.replace(mm,xm)}function xm(e,t,i){if(t)return t;if(i.charCodeAt(0)===35){let s=i.charCodeAt(1),a=s===120||s===88;return xr(i.slice(a?2:1),a?16:10)}return It(i)||e}var mm,Tu=I(()=>{Oi();wn();mm=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi});function Wn(e,t,i){return t&&typeof t=="object"&&(i=t,t=void 0),gm(i)(Hn(Jn(i).document().write(Gn()(e,t,!0))))}function gm(e){let t={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(pt),autolinkProtocol:T,autolinkEmail:T,atxHeading:o(ht),blockQuote:o(Te),characterEscape:T,characterReference:T,codeFenced:o(Ze),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(Ze,l),codeText:o(lt,l),codeTextData:T,data:T,codeFlowValue:T,definition:o(oi),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(ct),hardBreakEscape:o(Jt),hardBreakTrailing:o(Jt),htmlFlow:o(xt,l),htmlFlowData:T,htmlText:o(xt,l),htmlTextData:T,image:o(Ht),label:l,link:o(pt),listItem:o(Qe),listItemValue:g,listOrdered:o(St,y),listUnordered:o(St),paragraph:o(Ct),reference:Ne,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(ht),strong:o(ge),thematicBreak:o(be)},exit:{atxHeading:f(),atxHeadingSequence:R,autolink:f(),autolinkEmail:He,autolinkProtocol:Ye,blockQuote:f(),characterEscapeValue:K,characterReferenceMarkerHexadecimal:wt,characterReferenceMarkerNumeric:wt,characterReferenceValue:Je,characterReference:xe,codeFenced:f(S),codeFencedFence:V,codeFencedFenceInfo:w,codeFencedFenceMeta:_,codeFlowValue:K,codeIndented:f(F),codeText:f(he),codeTextData:K,data:K,definition:f(),definitionDestinationString:O,definitionLabelString:C,definitionTitleString:p,emphasis:f(),hardBreakEscape:f(q),hardBreakTrailing:f(q),htmlFlow:f(Y),htmlFlowData:K,htmlText:f(ee),htmlTextData:K,image:f(me),label:E,labelText:Ue,lineEnding:te,link:f($),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:ut,resourceDestinationString:_e,resourceTitleString:ze,resource:A,setextHeading:f(U),setextHeadingLineSequence:B,setextHeadingText:D,strong:f(),thematicBreak:f()}};Nu(t,(e||{}).mdastExtensions||[]);let i={};return n;function n(N){let k={type:"root",children:[],position:void 0},Z={stack:[k],tokenStack:[],config:t,enter:c,exit:d,buffer:l,resume:m,data:i},ae=[],Ce=[],z=-1;for(;++z<N.length;)if(Ce.push(N[z]),N[z][1].type==="listOrdered"||N[z][1].type==="listUnordered")if(N[z][0]==="enter")ae.push(Ce.length-1);else{let Ve=ae.pop();a(Ce,Ve)}for(N=Ce,z=-1;++z<N.length;){let Ve=t[N[z][0]];N[z][0]==="enter"&&t.beforeEnter.length>0&&s(t.beforeEnter,{...Z,sliceSerialize:N[z][2].sliceSerialize},N[z][1]),Lu.call(Ve,N[z][1].type)&&Ve[N[z][1].type].call({...Z,sliceSerialize:N[z][2].sliceSerialize},N[z][1]),N[z][0]==="exit"&&t.afterExit.length>0&&s(t.afterExit,{...Z,sliceSerialize:N[z][2].sliceSerialize},N[z][1])}if(Z.tokenStack.length>0){let Ve=Z.tokenStack[Z.tokenStack.length-1];(Ve[1]||Pu).call(Z,void 0,Ve[0])}for(k.position={start:qt(N.length>0?N[0][1].start:{line:1,column:1,offset:0}),end:qt(N.length>0?N[N.length-2][1].end:{line:1,column:1,offset:0})},z=-1;++z<t.transforms.length;)k=t.transforms[z](k)||k;return k}function s(N,k,Z){let ae=-1;for(;++ae<N.length;)N[ae].call(k,Z)}function a(N,k){let Z=N.length-1,ae=k-1,Ce=-1,z=!1,Ve,$e,Wt,ft,Et=[];for(;++ae<=Z;){let Fe=N[ae];switch(Fe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Fe[0]==="enter"?Ce++:Ce--,ft=void 0;break}case"lineEndingBlank":{Fe[0]==="enter"&&(Ve&&!ft&&!Ce&&!Wt&&(Wt=ae),ft=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ft=void 0}if(!Ce&&Fe[0]==="enter"&&Fe[1].type==="listItemPrefix"||Ce===-1&&Fe[0]==="exit"&&(Fe[1].type==="listUnordered"||Fe[1].type==="listOrdered")){if(Ve){let Pe=ae;for($e=void 0;Pe--;){let Ee=N[Pe];if(Ee[1].type==="lineEnding"||Ee[1].type==="lineEndingBlank"){if(Ee[0]==="exit")continue;$e&&(N[$e][1].type="lineEndingBlank",z=!0),Ee[1].type="lineEnding",$e=Pe}else if(!(Ee[1].type==="linePrefix"||Ee[1].type==="blockQuotePrefix"||Ee[1].type==="blockQuotePrefixWhitespace"||Ee[1].type==="blockQuoteMarker"||Ee[1].type==="listItemIndent"))break}Wt&&(!$e||Wt<$e)&&(Ve._spread=!0),Ve.end=Object.assign({},$e?N[$e][1].start:Fe[1].end),Et.push({at:$e||ae,event:["exit",Ve,Fe[2]]})}if(Fe[1].type==="listItemPrefix"){let Pe={type:"listItem",_spread:!1,start:Object.assign({},Fe[1].start),end:void 0};Ve=Pe,Et.push({at:ae,event:["enter",Pe,Fe[2]]}),Wt=void 0,ft=!0}}}let _i=N.splice(k),Ii=0;for(ae=-1;++ae<_i.length;){for(;Ii<Et.length&&Et[Ii].at===k+ae;)N.push(Et[Ii++].event);N.push(_i[ae])}N[k][1]._spread=z}function o(N,k){return Z;function Z(ae){c.call(this,N(ae),ae),k&&k.call(this,ae)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(N,k,Z){this.stack[this.stack.length-1].children.push(N),this.stack.push(N),this.tokenStack.push([k,Z||void 0]),N.position={start:qt(k.start),end:void 0}}function f(N){return k;function k(Z){N&&N.call(this,Z),d.call(this,Z)}}function d(N,k){let Z=this.stack.pop(),ae=this.tokenStack.pop();if(!ae)throw new Error("Cannot close `"+N.type+"` ("+Ke({start:N.start,end:N.end})+"): it\u2019s not open");ae[0].type!==N.type&&(k?k.call(this,N,ae[0]):(ae[1]||Pu).call(this,N,ae[0])),Z.position.end=qt(N.end)}function m(){return _t(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function g(N){if(this.data.expectingFirstListItemValue){let k=this.stack[this.stack.length-2];k.start=Number.parseInt(this.sliceSerialize(N),10),this.data.expectingFirstListItemValue=void 0}}function w(){let N=this.resume(),k=this.stack[this.stack.length-1];k.lang=N}function _(){let N=this.resume(),k=this.stack[this.stack.length-1];k.meta=N}function V(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function S(){let N=this.resume(),k=this.stack[this.stack.length-1];k.value=N.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function F(){let N=this.resume(),k=this.stack[this.stack.length-1];k.value=N.replace(/(\r?\n|\r)$/g,"")}function C(N){let k=this.resume(),Z=this.stack[this.stack.length-1];Z.label=k,Z.identifier=Oe(this.sliceSerialize(N)).toLowerCase()}function p(){let N=this.resume(),k=this.stack[this.stack.length-1];k.title=N}function O(){let N=this.resume(),k=this.stack[this.stack.length-1];k.url=N}function R(N){let k=this.stack[this.stack.length-1];if(!k.depth){let Z=this.sliceSerialize(N).length;k.depth=Z}}function D(){this.data.setextHeadingSlurpLineEnding=!0}function B(N){let k=this.stack[this.stack.length-1];k.depth=this.sliceSerialize(N).codePointAt(0)===61?1:2}function U(){this.data.setextHeadingSlurpLineEnding=void 0}function T(N){let Z=this.stack[this.stack.length-1].children,ae=Z[Z.length-1];(!ae||ae.type!=="text")&&(ae=Gt(),ae.position={start:qt(N.start),end:void 0},Z.push(ae)),this.stack.push(ae)}function K(N){let k=this.stack.pop();k.value+=this.sliceSerialize(N),k.position.end=qt(N.end)}function te(N){let k=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Z=k.children[k.children.length-1];Z.position.end=qt(N.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(k.type)&&(T.call(this,N),K.call(this,N))}function q(){this.data.atHardBreak=!0}function Y(){let N=this.resume(),k=this.stack[this.stack.length-1];k.value=N}function ee(){let N=this.resume(),k=this.stack[this.stack.length-1];k.value=N}function he(){let N=this.resume(),k=this.stack[this.stack.length-1];k.value=N}function $(){let N=this.stack[this.stack.length-1];if(this.data.inReference){let k=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=k,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function me(){let N=this.stack[this.stack.length-1];if(this.data.inReference){let k=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=k,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function Ue(N){let k=this.sliceSerialize(N),Z=this.stack[this.stack.length-2];Z.label=Iu(k),Z.identifier=Oe(k).toLowerCase()}function E(){let N=this.stack[this.stack.length-1],k=this.resume(),Z=this.stack[this.stack.length-1];if(this.data.inReference=!0,Z.type==="link"){let ae=N.children;Z.children=ae}else Z.alt=k}function _e(){let N=this.resume(),k=this.stack[this.stack.length-1];k.url=N}function ze(){let N=this.resume(),k=this.stack[this.stack.length-1];k.title=N}function A(){this.data.inReference=void 0}function Ne(){this.data.referenceType="collapsed"}function ut(N){let k=this.resume(),Z=this.stack[this.stack.length-1];Z.label=k,Z.identifier=Oe(this.sliceSerialize(N)).toLowerCase(),this.data.referenceType="full"}function wt(N){this.data.characterReferenceType=N.type}function Je(N){let k=this.sliceSerialize(N),Z=this.data.characterReferenceType,ae;Z?(ae=xr(k,Z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ae=It(k);let Ce=this.stack[this.stack.length-1];Ce.value+=ae}function xe(N){let k=this.stack.pop();k.position.end=qt(N.end)}function Ye(N){K.call(this,N);let k=this.stack[this.stack.length-1];k.url=this.sliceSerialize(N)}function He(N){K.call(this,N);let k=this.stack[this.stack.length-1];k.url="mailto:"+this.sliceSerialize(N)}function Te(){return{type:"blockquote",children:[],position:void 0}}function Ze(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function lt(){return{type:"inlineCode",value:"",position:void 0}}function oi(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function ct(){return{type:"emphasis",children:[],position:void 0}}function ht(){return{type:"heading",depth:0,children:[],position:void 0}}function Jt(){return{type:"break",position:void 0}}function xt(){return{type:"html",value:"",position:void 0}}function Ht(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function pt(){return{type:"link",title:null,url:"",children:[],position:void 0}}function St(N){return{type:"list",ordered:N.type==="listOrdered",start:null,spread:N._spread,children:[],position:void 0}}function Qe(N){return{type:"listItem",spread:N._spread,checked:null,children:[],position:void 0}}function Ct(){return{type:"paragraph",children:[],position:void 0}}function ge(){return{type:"strong",children:[],position:void 0}}function Gt(){return{type:"text",value:"",position:void 0}}function be(){return{type:"thematicBreak",position:void 0}}}function qt(e){return{line:e.line,column:e.column,offset:e.offset}}function Nu(e,t){let i=-1;for(;++i<t.length;){let n=t[i];Array.isArray(n)?Nu(e,n):bm(e,n)}}function bm(e,t){let i;for(i in t)if(Lu.call(t,i))switch(i){case"canContainEols":{let n=t[i];n&&e[i].push(...n);break}case"transforms":{let n=t[i];n&&e[i].push(...n);break}case"afterExit":case"beforeEnter":{let n=t[i];n&&e[i].push(n);break}case"enter":case"exit":{let n=t[i];n&&Object.assign(e[i],n);break}}}function Pu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ke({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ke({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ke({start:t.start,end:t.end})+") is still open")}var Lu,Vu=I(()=>{Bi();_u();wn();Tu();di();Oi();pr();Lu={}.hasOwnProperty});var Fu=I(()=>{Vu()});function Qn(e){let t=this;t.parser=i;function i(n){return Wn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}var Ru=I(()=>{Fu()});var Du={};Vi(Du,{default:()=>Qn});var Bu=I(()=>{Ru()});function mi(e,t){let i=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,s=i.indexOf(t);for(;s!==-1;)n++,s=i.indexOf(t,s+t.length);return n}var Kn=I(()=>{});function Xn(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Ou=I(()=>{});function km(e){let t=[],i=-1;for(;++i<e.length;)t[i]=zt(e[i]);return Nr(n);function n(...s){let a=-1;for(;++a<t.length;)if(t[a].apply(this,s))return!0;return!1}}function ym(e){let t=e;return Nr(i);function i(n){let s=n,a;for(a in e)if(s[a]!==t[a])return!1;return!0}}function vm(e){return Nr(t);function t(i){return i&&i.type===e}}function Nr(e){return t;function t(i,n,s){return!!(Sm(i)&&e.call(this,i,typeof n=="number"?n:void 0,s||void 0))}}function wm(){return!0}function Sm(e){return e!==null&&typeof e=="object"&&"type"in e}var zt,Mu=I(()=>{zt=(function(e){if(e==null)return wm;if(typeof e=="function")return Nr(e);if(typeof e=="object")return Array.isArray(e)?km(e):ym(e);if(typeof e=="string")return vm(e);throw new Error("Expected function, string, or object as test")})});var Vr=I(()=>{Mu()});function xi(e,t,i,n){if(!e||typeof e!="object")throw new Error("Unexpected value `"+e+"` for `tree`, expected node");let s=!0,a,o,l,c;if(typeof i=="function"||i&&typeof i=="object"?(a=t,o=i,n&&(s=!1)):(o=t,i&&(s=!1)),typeof o=="function")l=o;else if(o&&typeof o=="object"){if(!(o.enter===null||o.enter===void 0))if(typeof o.enter=="function")l=o.enter;else throw new Error("Unexpected value `"+o.enter+"` for `visitors.enter`, expected optional visitor");if(typeof o.exit=="function")c=o.exit;else throw new Error("Unexpected value `"+o.exit+"` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)")}else throw new Error("Unexpected value `"+o+"` for `enter` or `visitors`, expected visitor or object with visitors");let f=zt(a),d=s?1:-1;m(e,void 0,[])();function m(y,g,w){let _=y&&typeof y=="object"?y:{};if(typeof _.type=="string"){let S=typeof _.tagName=="string"?_.tagName:typeof _.name=="string"?_.name:void 0;Object.defineProperty(V,"name",{value:"node ("+(y.type+(S?"<"+S+">":""))+")"})}return V;function V(){let S=!a||f(y,g,w[w.length-1]||void 0),F=zu;if(l&&S&&(F=qu(l(y,w,g)),F[0]===bt))return F;if("children"in y&&y.children){let C=y;if(C.children&&F[0]!==$t){let p=(s?-1:C.children.length)+d,O=[...w,C];for(;p>-1&&p<C.children.length;){let R=C.children[p],D=m(R,p,O)();if(D[0]===bt)return D;p=typeof D[1]=="number"?D[1]:p+d}}}if(c&&S){let C=qu(c(y,w,g));if(C[0]===$t)throw new Error("Unexpected value `"+C[0]+"` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing");if(C[0]===bt||typeof C[1]=="number")return C}return F}}}function qu(e){return Array.isArray(e)?e:typeof e=="number"?[Fr,e]:e==null?zu:[e]}var zu,Fr,bt,$t,ju=I(()=>{Vr();zu=[],Fr=!0,bt=!1,$t="skip"});var Rr=I(()=>{ju()});function Yn(e,t,i){let s=zt((i||{}).ignore||[]),a=Cm(t),o=-1;for(;++o<a.length;)xi(e,l);function l(f,d,m){if(f.type==="text"&&typeof m=="number")return c(f,d,m);if(s(f,m,d[d.length-1]))return $t}function c(f,d,m){let y=d[d.length-1],g=a[o][0],w=a[o][1],_=0,V=!1,S=[];g.lastIndex=0;let F=g.exec(f.value);for(;F;){let p=F.index,O={index:F.index,input:F.input,stack:[...d,f]},R=w(...F,O);if(typeof R=="string"&&(R=R.length>0?{type:"text",value:R}:void 0),R===!1)g.lastIndex=p+1;else{if(_!==p&&C({type:"text",value:f.value.slice(_,p)}),Array.isArray(R))for(let D of R)C(D);else R&&C(R);_=p+F[0].length,V=!0}if(!g.global)break;F=g.exec(f.value)}return V?(_<f.value.length&&C({type:"text",value:f.value.slice(_)}),y.children.splice(m,1,...S)):S=[f],m+S.length;function C(p){let O=S[S.length-1];O&&O.type==="text"&&p.type==="text"?O.value+=p.value:S.push(p)}}}function Cm(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let t=[],i=!e[0]||Array.isArray(e[0])?e:[e],n=-1;for(;++n<i.length;){let s=i[n];t.push([Em(s[0]),Am(s[1])])}return t}function Em(e){return typeof e=="string"?new RegExp(Xn(e),"g"):e}function Am(e){return typeof e=="function"?e:function(){return e}}var Uu=I(()=>{Ou();Rr();Vr()});var Ju=I(()=>{Uu()});function ts(){return{transforms:[Nm],enter:{literalAutolink:_m,literalAutolinkEmail:es,literalAutolinkHttp:es,literalAutolinkWww:es},exit:{literalAutolink:Lm,literalAutolinkEmail:Pm,literalAutolinkHttp:Im,literalAutolinkWww:Tm}}}function is(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Zn,notInConstruct:$n},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Zn,notInConstruct:$n},{character:":",before:"[ps]",after:"\\/",inConstruct:Zn,notInConstruct:$n}]}}function _m(e){this.enter({type:"link",title:null,url:"",children:[],position:void 0},e)}function es(e){this.config.enter.autolinkProtocol.call(this,e)}function Im(e){this.config.exit.autolinkProtocol.call(this,e)}function Tm(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Pm(e){this.config.exit.autolinkEmail.call(this,e)}function Lm(e){this.exit(e)}function Nm(e){Yn(e,[[/(?<![\da-z])(https?:\/\/|www(?=\.))([\w-]*\.[\w\-.]*)([^\t\n\r ]*)/gi,Vm],[/(?<![\w+\-.@])xmpp:([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)(\/(?:[\w\-/]|\.(?=[\dA-Za-z]))*)?/g,Dm],[/(?<![\w+\-.@])mailto:([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)/g,Rm],[/(?<![\w+\-.]|(?:^|[^\d@A-Za-z])(?:mailto|xmpp):)([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)/g,Fm]],{ignore:["link","linkReference"]})}function Vm(e,t,i,n,s){if(!Mm(s))return!1;let a="";if(/^w/i.test(t)&&(i=t+i,t="",a="http://"),Bt(i.charCodeAt(0))||!Bm(i))return!1;let o=Om(i+n),l={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0],position:void 0}],position:void 0};return o[1]?[l,{type:"text",value:o[1],position:void 0}]:l}function Fm(e,t,i){return/[\d\-_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+i,children:[{type:"text",value:t+"@"+i,position:void 0}],position:void 0}}function Rm(e,t,i){if(/[\d\-_]$/.test(i))return!1;let n="mailto:"+t+"@"+i;return{type:"link",title:null,url:n,children:[{type:"text",value:n,position:void 0}],position:void 0}}function Dm(e,t,i,n,s){if(/[\d\-_]$/.test(i)||n&&(!/[A-Za-z]$/.test(n)||s.input.charAt(s.index+e.length)==="@"))return!1;let a="xmpp:"+t+"@"+i+(n||"");return{type:"link",title:null,url:a,children:[{type:"text",value:a,position:void 0}],position:void 0}}function Bm(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[\dA-Za-z]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[\dA-Za-z]/.test(t[t.length-2])))}function Om(e){let t=e.length;for(;t>0;){let o=e.charCodeAt(t-1);if(o===33||o===34||o===38||o===39||o===41||o===44||o===46||o===58||o===59||o===60||o===62||o===63||o===93||o===125)t--;else break}if(t===e.length)return[e,void 0];let i=e.slice(t);e=e.slice(0,t);let n=i.indexOf(")"),s=mi(e,"("),a=mi(e,")");for(;n!==-1&&s>a;)e+=i.slice(0,n+1),i=i.slice(n+1),n=i.indexOf(")"),a++;return[e,i]}function Mm(e){let t=e.input.charCodeAt(e.index-1);return e.index===0||Le(t)||Bt(t)}var Zn,$n,Hu=I(()=>{Kn();ue();Ju();Zn="phrasing",$n=["autolink","link","image","label"]});var Gu=I(()=>{Hu()});function qm(){this.buffer()}function zm(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function jm(){this.buffer()}function Um(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Jm(e){let t=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=Oe(this.sliceSerialize(e)).toLowerCase(),i.label=t}function Hm(e){this.exit(e)}function Gm(e){let t=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=Oe(this.sliceSerialize(e)).toLowerCase(),i.label=t}function Wm(e){this.exit(e)}function Qm(){return"["}function Wu(e,t,i,n){let s=i.createTracker(n),a=s.move("[^"),o=i.enter("footnoteReference"),l=i.enter("reference");return a+=s.move(i.safe(i.associationId(e),{after:"]",before:a})),l(),o(),a+=s.move("]"),a}function rs(){return{enter:{gfmFootnoteCallString:qm,gfmFootnoteCall:zm,gfmFootnoteDefinitionLabelString:jm,gfmFootnoteDefinition:Um},exit:{gfmFootnoteCallString:Jm,gfmFootnoteCall:Hm,gfmFootnoteDefinitionLabelString:Gm,gfmFootnoteDefinition:Wm}}}function ns(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:i,footnoteReference:Wu},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(n,s,a,o){let l=a.createTracker(o),c=l.move("[^"),f=a.enter("footnoteDefinition"),d=a.enter("label");return c+=l.move(a.safe(a.associationId(n),{before:c,after:"]"})),d(),c+=l.move("]:"),n.children&&n.children.length>0&&(l.shift(4),c+=l.move((t?`
|
|
5
|
+
`:" ")+a.indentLines(a.containerFlow(n,l.current()),t?Qu:Km))),f(),c}}function Km(e,t,i){return t===0?e:Qu(e,t,i)}function Qu(e,t,i){return(i?"":" ")+e}var Ku=I(()=>{di();Wu.peek=Qm});var Xu=I(()=>{Ku()});function ss(){return{canContainEols:["delete"],enter:{strikethrough:Ym},exit:{strikethrough:Zm}}}function as(){return{handlers:{delete:os},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Xm}]}}function Ym(e){this.enter({type:"delete",children:[],position:void 0},e)}function Zm(e){this.exit(e)}function os(e,t,i,n){let s=i.createTracker(n),a=i.stack.includes("strikethrough")?"~":"~~",o=i.enter("strikethrough"),l=s.move(a);return l+=i.containerPhrasing(e,{...s.current(),before:l,after:"~"}),l+=s.move(a),o(),l}function $m(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function ex(){return"~"}var Xm,Yu=I(()=>{Xm=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];os.attention=$m;os.peek=ex});var Zu=I(()=>{Yu()});function tx(e){return e.length}function el(e,t){let i=t||{},n=(i.align||[]).concat(),s=i.stringLength||tx,a=[],o=[],l=[],c=[],f=0,d=-1;for(;++d<e.length;){let _=[],V=[],S=-1;for(e[d].length>f&&(f=e[d].length);++S<e[d].length;){let F=ix(e[d][S]);if(i.alignDelimiters!==!1){let C=s(F);V[S]=C,(c[S]===void 0||C>c[S])&&(c[S]=C)}_.push(F)}o[d]=_,l[d]=V}let m=-1;if(typeof n=="object"&&"length"in n)for(;++m<f;)a[m]=$u(n[m]);else{let _=$u(n);for(;++m<f;)a[m]=_}m=-1;let y=[],g=[];for(;++m<f;){let _=a[m],V="",S="";_===99?(V=":",S=":"):_===108?V=":":_===114&&(S=":");let F=i.alignDelimiters===!1?1:Math.max(1,c[m]-V.length-S.length),C=V+"-".repeat(F)+S;i.alignDelimiters!==!1&&(F=V.length+F+S.length,F>c[m]&&(c[m]=F),g[m]=F),y[m]=C}o.splice(1,0,y),l.splice(1,0,g),d=-1;let w=[];for(;++d<o.length;){let _=o[d],V=l[d],S=i.fillRows===!1?Math.max(1,o[d===1?0:d].length):f;m=-1;let F=[];for(;++m<S;){let C=_[m]||"",p="",O="";if(i.alignDelimiters!==!1){let R=c[m]-(V[m]||0),D=a[m];if(D===114)p=" ".repeat(R);else if(D===99){let B=R/2;R%2?(p=" ".repeat(B+.5),O=" ".repeat(B-.5)):(p=" ".repeat(B),O=p)}else O=" ".repeat(R)}i.delimiterStart!==!1&&!m&&F.push("|"),i.padding!==!1&&!(i.alignDelimiters===!1&&C==="")&&(i.delimiterStart!==!1||m)&&F.push(" "),i.alignDelimiters!==!1&&F.push(p),F.push(C),i.alignDelimiters!==!1&&F.push(O),i.padding!==!1&&F.push(" "),(i.delimiterEnd!==!1||m!==S-1)&&F.push("|")}w.push(i.delimiterEnd===!1?F.join("").replace(/ +$/,""):F.join(""))}return w.join(`
|
|
6
|
+
`)}function ix(e){return e==null?"":String(e)}function $u(e){let t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var tl=I(()=>{});var us,il=I(()=>{Vr();us=zt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])});var rl=I(()=>{il()});function nl(e,t,i,n){let s=i.enter("blockquote"),a=i.createTracker(n);a.move("> "),a.shift(2);let o=i.indentLines(i.containerFlow(e,a.current()),rx);return s(),o}function rx(e,t,i){return">"+(i?"":" ")+e}var sl=I(()=>{});function ol(e,t){return al(e,t.inConstruct,!0)&&!al(e,t.notInConstruct,!1)}function al(e,t,i){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return i;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}var ul=I(()=>{});function ls(e,t,i,n){let s=-1;for(;++s<i.unsafe.length;){let a=i.unsafe[s];if(a.character===`
|
|
7
|
+
`&&!a.before&&!a.after&&ol(i.stack,a))return/[\t ]/.test(n.before)?"":" "}return`\\
|
|
8
|
+
`}var ll=I(()=>{ul()});function cl(e,t){let i=String(e),n=i.indexOf(t),s=n,a=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===s?++a>o&&(o=a):a=1,s=n+t.length,n=i.indexOf(t,s);return o}var hl=I(()=>{});function pl(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}var fl=I(()=>{});function dl(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}var ml=I(()=>{});function xl(e,t,i,n){let s=dl(i),a=e.value||"";if(pl(e,i)){let m=i.enter("codeIndented"),y=i.indentLines(a,nx);return m(),y}let o=i.createTracker(n),l=s.repeat(Math.max(cl(a,s)+1,3)),c=i.enter("codeFenced"),f=s==="`"?"GraveAccent":"Tilde",d=o.move(l);if(e.lang){let m=i.enter(`codeFencedLang${f}`);d+=o.move(i.safe(e.lang,{before:d,after:" ",encode:["`"],...o.current()})),m()}if(e.lang&&e.meta){let m=i.enter(`codeFencedMeta${f}`);d+=o.move(" "),d+=o.move(i.safe(e.meta,{before:d,after:`
|
|
9
|
+
`,encode:["`"],...o.current()})),m()}return d+=o.move(`
|
|
10
|
+
`),a&&(d+=o.move(a+`
|
|
11
|
+
`)),d+=o.move(l),c(),d}function nx(e,t,i){return(i?"":" ")+e}var gl=I(()=>{hl();fl();ml()});function gi(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}var Dr=I(()=>{});function bl(e,t,i,n){let s=gi(i),a=s==='"'?"Quote":"Apostrophe",o=i.enter("definition"),l=i.enter("label"),c=i.createTracker(n),f=c.move("[");return f+=c.move(i.safe(i.associationId(e),{before:f,after:"]",...c.current()})),f+=c.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=i.enter("destinationLiteral"),f+=c.move("<"),f+=c.move(i.safe(e.url,{before:f,after:">",...c.current()})),f+=c.move(">")):(l=i.enter("destinationRaw"),f+=c.move(i.safe(e.url,{before:f,after:e.title?" ":`
|
|
12
|
+
`,...c.current()}))),l(),e.title&&(l=i.enter(`title${a}`),f+=c.move(" "+s),f+=c.move(i.safe(e.title,{before:f,after:s,...c.current()})),f+=c.move(s),l()),o(),f}var kl=I(()=>{Dr()});function yl(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}var vl=I(()=>{});function Ki(e){let t=e.codePointAt(0);return t===void 0?"":String.fromCodePoint(t)}function ei(e){let t=e.codePointAt(e.length-2);return t!==void 0&&t>65535?e.slice(-2):e.slice(-1)}var wl=I(()=>{});function Br(e){return"&#x"+e.toString(16).toUpperCase()+";"}var cs=I(()=>{});function hs(e,t,i){let n=tt(e),s=tt(t);return n===void 0?s===void 0?i==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}var Sl=I(()=>{qi()});function Cl(e){if(e.charCodeAt(0)!==60)return;let t=e.charCodeAt(1);if(t===33){let l=e.charCodeAt(2);return l===45?2:l===91?5:ve(l)?4:void 0}if(t===63)return 3;let i=t===47,n=i?2:1,s=n,a=e.charCodeAt(s);if(!ve(a))return;for(;a===45||Ae(a);)a=e.charCodeAt(++s);let o=e.slice(n,s).toLowerCase();return!i&&a!==47&&Gi.includes(o)?1:Tr.includes(o)?6:7}var El=I(()=>{ue();Dn()});function sx(e,t,i){let n=new Set;for(let a of e){let o=i.get(a);if(o&&a.attention&&t.some(l=>l.attention===a.attention))for(let l of o.tokens)n.add(l.attention)}let s=[];for(let a of e)a.attention&&n.delete(a.attention)&&s.push(a.attention);return s.reverse(),s}function Il(e,t,i){let n=[],s=new Map,a=new Map,o=0;for(;o<e.length;){if(!e[o].attention){o++;continue}let l=e[o].value.charAt(0),c=_l.get(l),f=o+1;for(;f<e.length&&e[f].attention&&e[f].value.charAt(0)===l;)f++;let d=o?e[o-1].value:t,m=tt(d.charCodeAt(d.length-1)),y=tt((f<e.length?e[f].value:i).charCodeAt(0)),g=!y||y===2&&!!m,w=!m||m===2&&!!y,_={tokens:e.slice(o,f),markers:[],start:0,end:0,open:c?g&&(!!m||!w):g,close:c?w&&(!!y||!g):w,split:c!==void 0};for(let V of _.tokens){s.set(V,[..._.tokens]),a.set(V,_);let S=V.value.length;for(;S--;)_.markers.push(V)}_.end=_.markers.length,n.push(_),o=f}for(ox(n,s),o=-1;++o<e.length;){let l=s.get(e[o]);if(l)return{attention:sx(e,l,a),index:o}}}function Or(e,t){let i=e[t?0:e.length-1];if(!i||i.attention)return;let n=t?Ki(i.value):ei(i.value),s=Br(n.codePointAt(0));if(t)i.value=s+i.value.slice(n.length);else{let a=i.value.slice(0,i.value.length-n.length),o=0;for(;a.charCodeAt(a.length-1-o)===92;)o++;o%2&&(a+="\\"),i.value=a+s}}function ax(e,t,i,n,s){for(let a of i.attention){let o=t.get(a)||a.sequences[0];for(let l of a.sequences){if(l===o)continue;let c=new Map(t);c.set(a,l);let f=Mr(e,c,n,s),d=Il(f,n,s);if(!d||d.index>i.index)return{chosen:c,mistake:d,tokens:f}}}}function ox(e,t){let i=new Map;for(let n of e){let s=n.tokens[0].value.charAt(0),a=i.get(s);a||(a=[],i.set(s,a));let o=n.close?a.length:0;for(;o--&&n.start<n.end;){let l=a[o],c=l.end-l.start,f=n.end-n.start;if(n.split?(l.close||n.open)&&f%3&&!((c+f)%3):c!==l.markers.length||c!==f)continue;let d=n.split?c>1&&f>1?2:1:f,m=l.markers.slice(l.end-d,l.end),y=n.markers.slice(n.start,n.start+d),g=m[0],w=y[0];if(g===m[d-1]&&g.value.length===d&&w===y[d-1]&&w.value.length===d&&g.attention===w.attention)t.delete(g),t.delete(w);else{let _=[...new Set([...m,...y])];for(let V of _){let S=t.get(V);S&&S.push(..._)}}l.end-=d,n.start+=d,l.start===l.end&&a.splice(o,1),o=a.length}n.open&&n.start<n.end&&a.push(n)}}function ux(e,t,i){if(t.length===0)throw new Error("Cannot serialize `"+e+"` as attention without markers, expected one or more markers");if(i.length===0)throw new Error("Cannot serialize `"+e+"` as attention without sizes, expected one or more sizes");for(let s of i)if(!Number.isSafeInteger(s)||s<1)throw new Error("Cannot serialize `"+e+"` as attention with `"+s+"` as size, expected positive integer");let n=[];for(let s of t){if(s.length!==1)throw new Error("Cannot serialize `"+e+"` as attention with `"+s+"` as marker, expected a single ascii character");if(!gr(s.charCodeAt(0)))throw new Error("Cannot serialize `"+e+"` as attention with `"+s+"` as marker, expected ascii punctuation");for(let a of i)n.push(s.repeat(a))}return n}function lx(e,t,i){let n=t.indexStack,s=e.children||[],a=[],o=-1,l=i.before;n.push(-1);let c=t.createTracker(i);for(;++o<s.length;){let f=s[o],d;if(n[n.length-1]=o,o+1<s.length){let g=t.handle.handlers[s[o+1].type];g&&g.peek&&(g=g.peek),d=g?Ki(g(s[o+1],e,t,{before:"",after:"",...c.current()})):""}else d=i.after;let m=a[a.length-1];typeof m=="string"&&(l==="\r"||l===`
|
|
13
|
+
`)&&f.type==="html"&&Cl(f.value)!==7&&(a[a.length-1]=m.replace(/(\r?\n|\r)$/," "),l=" ",c=t.createTracker(i),c.move(bi(a,i.before,i.after)));let y=t.handle.handlers[f.type];if(y&&y.attention){let g=Xi(f,y.attention,t,c);if(!g)continue;a.push(g),l=ei(g.sequences[0])}else{let g=t.handle(f,e,t,{...c.current(),after:d,before:l});if(!g)continue;c.move(g),a.push(g),l=ei(g)}}return n.pop(),a}function Xi(e,t,i,n){let{construct:s,markers:a,sizes:o}=t(e,i),l=ux(e.type,a,o),c=l[0],f=i.enter(s),d=i.createTracker(n.current());d.move(c);let m=lx(e,i,{...d.current(),before:c,after:c});if(f(),m.length!==0)return n.move(c),n.move(bi(m,c,c)),n.move(c),{children:m,sequences:l}}function Al(e,t,i,n){let s=Mr(e,t,i,n),a=Il(s,i,n);for(;a;){let o=ax(e,t,a,i,n);if(!o)return;t=o.chosen,s=o.tokens,a=o.mistake}return s}function Tl(e,t,i,n){let s=i,a=-1;for(;++a<e.length;){let o=e[a];if(typeof o=="string"){s="";continue}let l=a===e.length-1?n:"",c=o.sequences.find(function(f){let d=f.charAt(0);return d!==s.charAt(0)&&d!==l.charAt(0)||e.length===1&&_l.has(d)&&f.length>i.length})||o.sequences[0];c!==o.sequences[0]&&t.set(o,c),Tl(o.children,t,c,c),s=c}}function Mr(e,t,i,n){let s=[],a,o=ei(i),l=-1;for(;++l<e.length;){let c=e[l];if(typeof c=="string"){let C={value:c,attention:void 0};a&&a===Ki(c)&&Or([C],!0),a=void 0,s.push(C),C.value&&(o=ei(C.value));continue}let f=t.get(c)||c.sequences[0],d=f.charAt(0),m=e[l+1],y=o,g=Ki(m===void 0?n:typeof m=="string"?m:t.get(m)||m.sequences[0]),w=Mr(c.children,t,f,f),_=w[0].value,V=hs(y.charCodeAt(y.length-1),_.charCodeAt(0),d);V.inside&&Or(w,!0);let S=ei(w[w.length-1].value),F=hs(g.charCodeAt(0),S.charCodeAt(S.length-1),d);F.inside&&Or(w,!1),V.outside&&y!==`
|
|
14
|
+
`&&y!=="\r"&&Or(s,!1),F.outside&&(a=g),s.push({value:f,attention:c},...w,{value:f,attention:c}),o=f.charAt(f.length-1)}return s}function bi(e,t,i){let n=new Map;Tl(e,n,t,i);let s=(n.size>0?Al(e,n,t,i):void 0)||Al(e,new Map,t,i)||Mr(e,new Map,t,i),a="";for(let o of s)a+=o.value;return a}var _l,ps=I(()=>{ue();qi();wl();cs();Sl();El();_l=new Map([["*",!1],["_",!0]])});function qr(e,t,i,n){let s=i.enter("phrasing"),a=Xi(e,Pl,i,i.createTracker(n)),o=a?bi([a],n.before,n.after):"";return s(),o}function Pl(e,t){return{construct:"emphasis",markers:yl(t)==="*"?["*","_"]:["_","*"],sizes:[1]}}function cx(e,t,i){return i.options.emphasis||"*"}var Ll=I(()=>{vl();ps();qr.attention=Pl;qr.peek=cx});function Yi(e,t,i,n){let s,a,o;typeof i=="function"||i&&typeof i=="object"?(s=t,a=i,o=n):(a=t,o=i),typeof a=="function"?xi(e,s,fs(a),o):xi(e,s,hx(a),o)}function hx(e){return!e||typeof e!="object"?e:{enter:typeof e.enter=="function"?fs(e.enter):e.enter,exit:typeof e.exit=="function"?fs(e.exit):e.exit}}function fs(e){return t;function t(i,n,s){return e(i,s,n[n.length-1])}}var Nl=I(()=>{Rr();Rr()});var ds=I(()=>{Nl()});function Vl(e,t){let i=!1;return Yi(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return i=!0,bt}),!!((!e.depth||e.depth<3)&&_t(e)&&(t.options.setext||i))}var Fl=I(()=>{ds();Bi()});function Rl(e,t,i,n){let s=Math.max(Math.min(6,e.depth||1),1),a=i.createTracker(n);if(Vl(e,i)){let m=i.enter("headingSetext"),y=i.enter("phrasing"),g=i.containerPhrasing(e,{...a.current(),before:`
|
|
15
|
+
`,after:`
|
|
16
|
+
`});return y(),m(),g+`
|
|
17
|
+
`+(s===1?"=":"-").repeat(g.length-(Math.max(g.lastIndexOf("\r"),g.lastIndexOf(`
|
|
18
|
+
`))+1))}let o="#".repeat(s),l=i.enter("headingAtx"),c=i.enter("phrasing");a.move(o+" ");let f=i.containerPhrasing(e,{before:"# ",after:`
|
|
19
|
+
`,...a.current()}),d=f.charCodeAt(0);return(d===9||d===32)&&(f=Br(d)+f.slice(1)),f=f?o+" "+f:o,i.options.closeAtx&&(f+=" "+o),c(),l(),f}var Dl=I(()=>{cs();Fl()});function ms(e){return e.value||""}function px(){return"<"}var Bl=I(()=>{ms.peek=px});function xs(e,t,i,n){let s=gi(i),a=s==='"'?"Quote":"Apostrophe",o=i.enter("image"),l=i.enter("label"),c=i.createTracker(n),f=c.move("![");return f+=c.move(i.safe(e.alt,{before:f,after:"]",...c.current()})),f+=c.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=i.enter("destinationLiteral"),f+=c.move("<"),f+=c.move(i.safe(e.url,{before:f,after:">",...c.current()})),f+=c.move(">")):(l=i.enter("destinationRaw"),f+=c.move(i.safe(e.url,{before:f,after:e.title?" ":")",...c.current()}))),l(),e.title&&(l=i.enter(`title${a}`),f+=c.move(" "+s),f+=c.move(i.safe(e.title,{before:f,after:s,...c.current()})),f+=c.move(s),l()),f+=c.move(")"),o(),f}function fx(){return"!"}var Ol=I(()=>{Dr();xs.peek=fx});function gs(e,t,i,n){let s=e.referenceType,a=i.enter("imageReference"),o=i.enter("label"),l=i.createTracker(n),c=l.move("!["),f=i.safe(e.alt,{before:c,after:"]",...l.current()});c+=l.move(f+"]["),o();let d=i.stack;i.stack=d.filter(function(y){return y!=="phrasing"}),o=i.enter("reference");let m=i.safe(i.associationId(e),{before:c,after:"]",...l.current()});return o(),i.stack=d,a(),s==="full"||!f||f!==m?c+=l.move(m+"]"):s==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function dx(){return"!"}var Ml=I(()=>{gs.peek=dx});function bs(e,t,i){let n=e.value||"",s="`",a=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(n);)s+="`";for(/[^\n\r ]/.test(n)&&(/^[\n\r ]/.test(n)&&/[\n\r ]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<i.unsafe.length;){let o=i.unsafe[a],l=i.compilePattern(o);if(!o.atBreak)continue;let c;for(;c=l.exec(n);){let f=c.index;n.charCodeAt(f)===10&&n.charCodeAt(f-1)===13&&f--,n=n.slice(0,f)+" "+n.slice(c.index+1)}}return s+n+s}function mx(){return"`"}var ql=I(()=>{bs.peek=mx});function ks(e,t){let i=_t(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(i===e.url||"mailto:"+i===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}var zl=I(()=>{Bi()});function ys(e,t,i,n){let s=gi(i),a=s==='"'?"Quote":"Apostrophe",o=i.createTracker(n);if(ks(e,i)){let w=i.stack;i.stack=w.filter(function(S){return S!=="phrasing"});let _=i.enter("autolink"),V=o.move("<");return V+=o.move(i.containerPhrasing(e,{before:V,after:">",...o.current()})),V+=o.move(">"),_(),i.stack=w,V}let l=i.enter("link"),c=i.enter("label"),f=o.move("["),d=i.containerPhrasing(e,{before:f,after:"](",...o.current()});f+=o.move(d),c(),f+=o.move("](");let m=/[\0- \u007F]/.test(e.url),y=n.before.charAt(n.before.length-1),g=e.title||void 0;if(!g&&!m&&(y===`
|
|
20
|
+
`||y==="\r")){let w=0;for(;w<d.length&&d.charCodeAt(w)!==93;)w+=d.charCodeAt(w)===92?2:1;d.charCodeAt(w+1)===58&&(g="")}return!e.url&&typeof g=="string"||m?(c=i.enter("destinationLiteral"),f+=o.move("<"),f+=o.move(i.safe(e.url,{before:f,after:">",...o.current()})),f+=o.move(">")):(c=i.enter("destinationRaw"),f+=o.move(i.safe(e.url,{before:f,after:typeof g=="string"?" ":")",...o.current()}))),c(),typeof g=="string"&&(c=i.enter(`title${a}`),f+=o.move(" "+s),f+=o.move(i.safe(g,{before:f,after:s,...o.current()})),f+=o.move(s),c()),f+=o.move(")"),l(),f}function xx(e,t,i){return ks(e,i)?"<":"["}var jl=I(()=>{Dr();zl();ys.peek=xx});function vs(e,t,i,n){let s=e.referenceType,a=i.enter("linkReference"),o=i.enter("label"),l=i.createTracker(n),c=l.move("["),f=i.containerPhrasing(e,{before:c,after:"]",...l.current()});c+=l.move(f+"]["),o();let d=i.stack;i.stack=d.filter(function(y){return y!=="phrasing"}),o=i.enter("reference");let m=i.safe(i.associationId(e),{before:c,after:"]",...l.current()});return o(),i.stack=d,a(),s==="full"||!f||f!==m?c+=l.move(m+"]"):s==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function gx(){return"["}var Ul=I(()=>{vs.peek=gx});function ki(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}var zr=I(()=>{});function Jl(e){let t=ki(e),i=e.options.bulletOther;if(!i)return t==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+i+"`) to be different");return i}var Hl=I(()=>{zr()});function Gl(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}var Wl=I(()=>{});function jr(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}var ws=I(()=>{});function Ql(e,t,i,n){let s=i.enter("list"),a=i.bulletCurrent,o=e.ordered?Gl(i):ki(i),l=e.ordered?o==="."?")":".":Jl(i),c=t&&i.bulletLastUsed?o===i.bulletLastUsed:!1;if(!e.ordered){let d=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&d&&(!d.children||!d.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(c=!0),jr(i)===o&&d){let m=-1;for(;++m<e.children.length;){let y=e.children[m];if(y&&y.type==="listItem"&&y.children&&y.children[0]&&y.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(o=l),i.bulletCurrent=o;let f=i.containerFlow(e,n);return i.bulletLastUsed=o,i.bulletCurrent=a,s(),f}var Kl=I(()=>{zr();Hl();Wl();ws()});function Xl(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}var Yl=I(()=>{});function Zl(e,t,i,n){let s=Xl(i),a=i.bulletCurrent||ki(i);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(i.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(s==="tab"||s==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let l=i.createTracker(n);l.move(a+" ".repeat(o-a.length)),l.shift(o);let c=i.enter("listItem"),f=i.indentLines(i.containerFlow(e,l.current()),d);return c(),f;function d(m,y,g){return y?(g?"":" ".repeat(o))+m:(g?a:a+" ".repeat(o-a.length))+m}}var $l=I(()=>{zr();Yl()});function ec(e,t,i,n){let s=i.enter("paragraph"),a=i.enter("phrasing"),o=i.containerPhrasing(e,n);return a(),s(),o}var tc=I(()=>{});function ic(e,t,i,n){if(!e.children.some(function(l){return us(l)}))return i.containerFlow(e,n);let a=i.enter("phrasing"),o=i.containerPhrasing(e,n);return a(),o}var rc=I(()=>{rl()});function nc(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}var sc=I(()=>{});function Ur(e,t,i,n){let s=i.enter("phrasing"),a=Xi(e,ac,i,i.createTracker(n)),o=a?bi([a],n.before,n.after):"";return s(),o}function ac(e,t){return{construct:"strong",markers:nc(t)==="*"?["*","_"]:["_","*"],sizes:[2]}}function bx(e,t,i){return i.options.strong||"*"}var oc=I(()=>{sc();ps();Ur.attention=ac;Ur.peek=bx});function uc(e,t,i,n){let s=t?t.children:[],a=i.indexStack[i.indexStack.length-1];return i.safe(e.value,{...n,afterNode:s[a+1],beforeNode:s[a-1]})}var lc=I(()=>{});function cc(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}var hc=I(()=>{});function pc(e,t,i){let n=(jr(i)+(i.options.ruleSpaces?" ":"")).repeat(cc(i));return i.options.ruleSpaces?n.slice(0,-1):n}var fc=I(()=>{hc();ws()});var yi,dc=I(()=>{sl();ll();gl();kl();Ll();Dl();Bl();Ol();Ml();ql();jl();Ul();Kl();$l();tc();rc();oc();lc();fc();yi={blockquote:nl,break:ls,code:xl,definition:bl,emphasis:qr,hardBreak:ls,heading:Rl,html:ms,image:xs,imageReference:gs,inlineCode:bs,link:ys,linkReference:vs,list:Ql,listItem:Zl,paragraph:ec,root:ic,strong:Ur,text:uc,thematicBreak:pc}});var Ss=I(()=>{dc()});function Es(){return{enter:{table:kx,tableData:mc,tableHeader:mc,tableRow:vx},exit:{codeText:wx,table:yx,tableData:Cs,tableHeader:Cs,tableRow:Cs}}}function kx(e){let t=e._align;this.enter({type:"table",align:t.map(function(i){return i==="none"?null:i}),children:[],position:void 0},e),this.data.inTable=!0}function yx(e){this.exit(e),this.data.inTable=void 0}function vx(e){this.enter({type:"tableRow",children:[],position:void 0},e)}function Cs(e){this.exit(e)}function mc(e){this.enter({type:"tableCell",children:[],position:void 0},e)}function wx(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Sx));let i=this.stack[this.stack.length-1];i.type,i.value=t,this.exit(e)}function Sx(e,t){return t==="|"?t:e}function As(e){let t=e||{},{tableCellPadding:i,tablePipeAlign:n,stringLength:s}=t,a=i?" ":"|";return{handlers:{inlineCode:y,table:o,tableCell:c,tableRow:l},join:[Cx],unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
21
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}]};function o(g,w,_,V){let S=d(g,_,V),F=S[0];if(F){let C=g.align?g.align.length:0,p=-1;if(!C)for(;++p<S.length;)S[p].length>C&&(C=S[p].length);for(;F.length<C;)F.push("")}return f(S,g.align)}function l(g,w,_,V){let S=m(g,_,V),F=f([S]);return F.slice(0,F.indexOf(`
|
|
22
|
+
`))}function c(g,w,_,V){let S=_.enter("tableCell"),F=_.enter("phrasing"),C=_.containerPhrasing(g,{...V,before:a,after:a});return F(),S(),C}function f(g,w){return el(g,{align:w,alignDelimiters:n,fillRows:!1,padding:i,stringLength:s})}function d(g,w,_){let{children:V}=g,S=-1,F=[],C=w.enter("table");for(;++S<V.length;)F[S]=m(V[S],w,_);return C(),F}function m(g,w,_){let{children:V}=g,S=-1,F=[],C=w.enter("tableRow");for(;++S<V.length;)F[S]=c(V[S],g,w,_);return C(),F}function y(g,w,_){let V=yi.inlineCode(g,w,_);if(!_.stack.includes("tableCell"))return V;let S=[],F=0,C=V.indexOf("|");for(;C!==-1;){let p=C;for(;p>F&&V.charCodeAt(p-1)===92;)p--;S.push(V.slice(F,C)),(C-p)%2===0&&S.push("\\"),F=C,C=V.indexOf("|",C+1)}return S.push(V.slice(F)),S.join("")}}function Cx(e,t,i,n){if(e.type==="table"&&i.type==="listItem"&&i.spread===!1&&(t.type==="definition"||t.type==="heading"&&Ex(t,n)||t.type==="paragraph"||t.type==="table"))return 1}function Ex(e,t){let i=!1;return Yi(e,function(n){if(n.type==="break"||"value"in n&&/\r?\n|\r/.test(n.value))return i=!0,bt}),!!((!e.depth||e.depth<3)&&_t(e)&&(t.options.setext||i))}var xc=I(()=>{tl();Ss();Bi();ds()});var gc=I(()=>{xc()});function _s(){return{exit:{taskListCheckValueChecked:bc,taskListCheckValueUnchecked:bc,paragraph:Ax}}}function Is(){return{handlers:{paragraph:_x},join:[Ix]}}function bc(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Ax(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let i=this.stack[this.stack.length-1];i.type;let n=i.children[0];if(n&&n.type==="text"){let s=t.children,a=-1,o;for(;++a<s.length;){let l=s[a];if(l.type==="paragraph"){o=l;break}}o===i&&(n.value=n.value.slice(1),n.value.length===0?i.children.shift():i.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,i.position.start={...n.position.start}))}}this.exit(e)}function _x(e,t,i,n){if(!t||t.type!=="listItem"||kc(t)!==e)return yi.paragraph(e,t,i,n);let s="["+(t.checked?"x":" ")+"] ",a=i.createTracker(n);a.move(s);let o=yi.paragraph(e.children.length>0?e:{type:"paragraph",children:[{type:"text",value:" "}]},t,i,{...n,...a.current()});return s+o}function Ix(e,t,i){if(!(e.type==="definition"&&i.type==="listItem"))return;let n=kc(i);if(n&&i.children.indexOf(e)<i.children.indexOf(n))return 0}function kc(e){if(typeof e.checked=="boolean")for(let t of e.children){if(t.type==="paragraph")return t;if(t.type!=="definition")return}}var yc=I(()=>{Ss()});var vc=I(()=>{yc()});function Ts(){return[ts(),rs(),ss(),Es(),_s()]}function Ps(e){return{extensions:[is(),ns(e),as(),As(e),Is()]}}var wc=I(()=>{Gu();Xu();Zu();gc();vc()});var Sc=I(()=>{wc()});function Ns(){return{text:kt}}function Lx(e,t,i){let n=this,s,a;return o;function o(m){return!Ls(m)||!Lc.call(n,n.previous)||Vs(n.events)?i(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(m))}function l(m){return Ls(m)?(e.consume(m),l):m===64?(e.consume(m),c):i(m)}function c(m){return m===46?e.check(Px,d,f)(m):m===45||m===95||Ae(m)?(a=!0,e.consume(m),c):d(m)}function f(m){return e.consume(m),s=!0,c}function d(m){return a&&s&&ve(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):i(m)}}function Nx(e,t,i){let n=this;return s;function s(o){return o!==87&&o!==119||!Tc.call(n,n.previous)||Vs(n.events)?i(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Tx,e.attempt(Cc,e.attempt(Ec,a),i),i)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Vx(e,t,i){let n=this,s="",a=!1;return o;function o(m){return(m===72||m===104)&&Pc.call(n,n.previous)&&!Vs(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(m),e.consume(m),l):i(m)}function l(m){if(ve(m)&&s.length<5)return s+=String.fromCodePoint(m),e.consume(m),l;if(m===58){let y=s.toLowerCase();if(y==="http"||y==="https")return e.consume(m),c}return i(m)}function c(m){return m===47?(e.consume(m),a?f:(a=!0,c)):i(m)}function f(m){return m===null||Kt(m)||ne(m)||Le(m)||Bt(m)?i(m):e.attempt(Cc,e.attempt(Ec,d),i)(m)}function d(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function Fx(e,t,i){let n=0;return s;function s(o){return(o===87||o===119)&&n<3?(n++,e.consume(o),s):o===46&&n===3?(e.consume(o),a):i(o)}function a(o){return o===null?i(o):t(o)}}function Rx(e,t,i){let n,s,a;return o;function o(f){return f===46||f===95?e.check(Ac,c,l)(f):f===null||ne(f)||Le(f)||f!==45&&Bt(f)?c(f):(a=!0,e.consume(f),o)}function l(f){return f===95?n=!0:(s=n,n=void 0),e.consume(f),o}function c(f){return s||n||!a?i(f):t(f)}}function Dx(e,t){let i=0,n=0;return s;function s(o){return o===40?(i++,e.consume(o),s):o===41&&n<i?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(Ac,t,a)(o):o===null||ne(o)||Le(o)?t(o):(e.consume(o),s)}function a(o){return o===41&&n++,e.consume(o),s}}function Bx(e,t,i){return n;function n(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),n):l===38?(e.consume(l),a):l===93?(e.consume(l),s):l===60||l===null||ne(l)||Le(l)?t(l):i(l)}function s(l){return l===null||l===40||l===91||ne(l)||Le(l)?t(l):n(l)}function a(l){return ve(l)?o(l):i(l)}function o(l){return l===59?(e.consume(l),n):ve(l)?(e.consume(l),o):i(l)}}function Ox(e,t,i){return n;function n(a){return e.consume(a),s}function s(a){return Ae(a)?i(a):t(a)}}function Tc(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ne(e)}function Pc(e){return!ve(e)}function Lc(e){return!(e===47||Ls(e))}function Ls(e){return e===43||e===45||e===46||e===95||Ae(e)}function Vs(e){let t=e.length,i=!1;for(;t--;){let n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){i=!0;break}if(n._gfmAutolinkLiteralWalkedInto){i=!1;break}}return e.length>0&&!i&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}var Tx,Cc,Ec,Ac,Px,_c,Ic,Pt,kt,ti,Nc=I(()=>{ue();Tx={tokenize:Fx,partial:!0},Cc={tokenize:Rx,partial:!0},Ec={tokenize:Dx,partial:!0},Ac={tokenize:Bx,partial:!0},Px={tokenize:Ox,partial:!0},_c={name:"wwwAutolink",tokenize:Nx,previous:Tc},Ic={name:"protocolAutolink",tokenize:Vx,previous:Pc},Pt={name:"emailAutolink",tokenize:Lx,previous:Lc},kt={};ti=48;for(;ti<123;)kt[ti]=Pt,ti++,ti===58?ti=65:ti===91&&(ti=97);kt[43]=Pt;kt[45]=Pt;kt[46]=Pt;kt[95]=Pt;kt[72]=[Pt,Ic];kt[104]=[Pt,Ic];kt[87]=[Pt,_c];kt[119]=[Pt,_c]});var Vc=I(()=>{Nc()});function Fs(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Ux,continuation:{tokenize:Jx},exit:Hx}},text:{91:{name:"gfmFootnoteCall",tokenize:jx},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:qx,resolveTo:zx}}}}function qx(e,t,i){let n=this,s=n.events.length,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o;for(;s--;){let c=n.events[s][1];if(c.type==="labelImage"){o=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!o||!o._balanced)return i(c);let f=Oe(n.sliceSerialize({start:o.end,end:n.now()}));return f.codePointAt(0)!==94||!a.includes(f.slice(1))?i(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function zx(e,t){let i=e.length,n;for(;i--;)if(e[i][1].type==="labelImage"&&e[i][0]==="enter"){n=e[i][1];break}e[i+1][1].type="data",e[i+3][1].type="gfmFootnoteCallLabelMarker";let s={type:"gfmFootnoteCall",start:Object.assign({},e[i+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[i+3][1].end),end:Object.assign({},e[i+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},c=[e[i+1],e[i+2],["enter",s,t],e[i+3],e[i+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",s,t]];return e.splice(i,e.length-i+1,...c),e}function jx(e,t,i){let n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a=0,o;return l;function l(m){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),c}function c(m){return m!==94?i(m):(e.enter("gfmFootnoteCallMarker"),e.consume(m),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(m){if(a>999||m===93&&!o||m===null||m===91||ne(m))return i(m);if(m===93){e.exit("chunkString");let y=e.exit("gfmFootnoteCallString");return s.includes(Oe(n.sliceSerialize(y)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):i(m)}return ne(m)||(o=!0),a++,e.consume(m),m===92?d:f}function d(m){return m===91||m===92||m===93?(e.consume(m),a++,f):f(m)}}function Ux(e,t,i){let n=this,s=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a,o=0,l;return c;function c(w){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(w){return w===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):i(w)}function d(w){if(o>999||w===93&&!l||w===null||w===91||ne(w))return i(w);if(w===93){e.exit("chunkString");let _=e.exit("gfmFootnoteDefinitionLabelString");return a=Oe(n.sliceSerialize(_)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),y}return ne(w)||(l=!0),o++,e.consume(w),w===92?m:d}function m(w){return w===91||w===92||w===93?(e.consume(w),o++,d):d(w)}function y(w){return w===58?(e.enter("definitionMarker"),e.consume(w),e.exit("definitionMarker"),s.includes(a)||s.push(a),X(e,g,"gfmFootnoteDefinitionWhitespace")):i(w)}function g(w){return t(w)}}function Jx(e,t,i){return e.check(it,t,e.attempt(Mx,t,i))}function Hx(e){e.exit("gfmFootnoteDefinition")}function Gx(e,t,i){let n=this;return X(e,s,"gfmFootnoteDefinitionIndent",5);function s(a){let o=n.events[n.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):i(a)}}var Mx,Fc=I(()=>{Qi();we();ue();di();Mx={tokenize:Gx,partial:!0}});var Rc=I(()=>{Fc()});function Rs(e){let i=(e||{}).singleTilde,n={name:"strikethrough",tokenize:a,resolveAll:s};return i==null&&(i=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function s(o,l){let c=-1;for(;++c<o.length;)if(o[c][0]==="enter"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._close){let f=c;for(;f--;)if(o[f][0]==="exit"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._open&&o[c][1].end.offset-o[c][1].start.offset===o[f][1].end.offset-o[f][1].start.offset){o[c][1].type="strikethroughSequence",o[f][1].type="strikethroughSequence";let d={type:"strikethrough",start:Object.assign({},o[f][1].start),end:Object.assign({},o[c][1].end)},m={type:"strikethroughText",start:Object.assign({},o[f][1].end),end:Object.assign({},o[c][1].start)},y=[["enter",d,l],["enter",o[f][1],l],["exit",o[f][1],l],["enter",m,l]],g=l.parser.constructs.insideSpan.null;g&&Re(y,y.length,0,Mt(g,o.slice(f+1,c),l)),Re(y,y.length,0,[["exit",m,l],["enter",o[c][1],l],["exit",o[c][1],l],["exit",d,l]]),Re(o,f-1,c-f+3,y),c=f+y.length-2;break}}for(c=-1;++c<o.length;)o[c][1].type==="strikethroughSequenceTemporary"&&(o[c][1].type="data");return o}function a(o,l,c){let f=this.previous,d=this.events,m=0;return y;function y(w){return f===126&&d[d.length-1][1].type!=="characterEscape"?c(w):(o.enter("strikethroughSequenceTemporary"),g(w))}function g(w){let _=tt(f);if(w===126)return m>1?c(w):(o.consume(w),m++,g);if(m<2&&!i)return c(w);let V=o.exit("strikethroughSequenceTemporary"),S=tt(w);return V._open=!S||S===2&&!!_,V._close=!_||_===2&&!!S,l(w)}}}var Dc=I(()=>{Dt();qi();zi()});var Bc=I(()=>{Dc()});function Wx(e,t,i,n){if(i===0&&n.length===0)return;let s=e.index.get(t);if(s){s[1]+=i,s[2].push(...n);return}let a=[t,i,n];e.map.push(a),e.index.set(t,a)}var Jr,Oc=I(()=>{Jr=class{constructor(){this.map=[],this.index=new Map}add(t,i,n){Wx(this,t,i,n)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let i=this.map.length,n=[];for(;i>0;)i-=1,n.push(t.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),t.length=this.map[i][0];n.push(t.slice()),t.length=0;let s=n.pop();for(;s;){for(let a of s)t.push(a);s=n.pop()}this.map.length=0,this.index.clear()}}});function Mc(e,t){let i=!1,n=[];for(;t<e.length;){let s=e[t];if(i){if(s[0]==="enter")s[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(i=!0);t+=1}return n}var qc=I(()=>{});function Ds(){return{flow:{null:{name:"table",tokenize:Qx,resolveAll:Kx}}}}function Qx(e,t,i){let n=this,s=0,a=0,o;return l;function l(T){let K=n.events.length-1;for(;K>-1;){let{type:Y}=n.events[K][1];if(Y==="lineEnding"||Y==="linePrefix")K--;else break}let te=K>-1?n.events[K][1].type:null,q=te==="tableHead"||te==="tableRow"?R:c;return q===R&&n.parser.lazy[n.now().line]?i(T):q(T)}function c(T){return e.enter("tableHead"),e.enter("tableRow"),f(T)}function f(T){return T===124||(o=!0,a+=1),d(T)}function d(T){return T===null?i(T):j(T)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),g):i(T):W(T)?X(e,d,"whitespace")(T):(a+=1,o&&(o=!1,s+=1),T===124?(e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),o=!0,d):(e.enter("data"),m(T)))}function m(T){return T===null||T===124||ne(T)?(e.exit("data"),d(T)):(e.consume(T),T===92?y:m)}function y(T){return T===92||T===124?(e.consume(T),m):m(T)}function g(T){return n.interrupt=!1,n.parser.lazy[n.now().line]?i(T):(e.enter("tableDelimiterRow"),o=!1,W(T)?X(e,w,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):w(T))}function w(T){return T===45||T===58?V(T):T===124?(o=!0,e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),_):O(T)}function _(T){return W(T)?X(e,V,"whitespace")(T):V(T)}function V(T){return T===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(T),e.exit("tableDelimiterMarker"),S):T===45?(a+=1,S(T)):T===null||j(T)?p(T):O(T)}function S(T){return T===45?(e.enter("tableDelimiterFiller"),F(T)):O(T)}function F(T){return T===45?(e.consume(T),F):T===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(T),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(T))}function C(T){return W(T)?X(e,p,"whitespace")(T):p(T)}function p(T){return T===124?w(T):T===null||j(T)?!o||s!==a?O(T):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(T)):O(T)}function O(T){return i(T)}function R(T){return e.enter("tableRow"),D(T)}function D(T){return T===124?(e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),D):T===null||j(T)?(e.exit("tableRow"),t(T)):W(T)?X(e,D,"whitespace")(T):(e.enter("data"),B(T))}function B(T){return T===null||T===124||ne(T)?(e.exit("data"),D(T)):(e.consume(T),T===92?U:B)}function U(T){return T===92||T===124?(e.consume(T),B):B(T)}}function Kx(e,t){let i=-1,n=!0,s=0,a=[0,0,0,0],o=[0,0,0,0],l=!1,c=0,f,d,m,y=new Jr;for(;++i<e.length;){let g=e[i],w=g[1];g[0]==="enter"?w.type==="tableHead"?(l=!1,c!==0&&(zc(y,t,c,f,d),d=void 0,c=0),f={type:"table",start:Object.assign({},w.start),end:Object.assign({},w.end)},y.add(i,0,[["enter",f,t]])):w.type==="tableRow"||w.type==="tableDelimiterRow"?(n=!0,m=void 0,a=[0,0,0,0],o=[0,i+1,0,0],l&&(l=!1,d={type:"tableBody",start:Object.assign({},w.start),end:Object.assign({},w.end)},y.add(i,0,[["enter",d,t]])),s=w.type==="tableDelimiterRow"?2:d?3:1):s&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")?(n=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],m=Hr(y,t,a,s,void 0,m),a=[0,0,0,0]),o[2]=i)):w.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(o[0]=o[1],m=Hr(y,t,a,s,void 0,m)),a=o,o=[a[1],i,0,0])):w.type==="tableHead"?(l=!0,c=i):w.type==="tableRow"||w.type==="tableDelimiterRow"?(c=i,a[1]!==0?(o[0]=o[1],m=Hr(y,t,a,s,i,m)):o[1]!==0&&(m=Hr(y,t,o,s,i,m)),s=0):s&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")&&(o[3]=i)}for(c!==0&&zc(y,t,c,f,d),y.consume(t.events),i=-1;++i<t.events.length;){let g=t.events[i];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=Mc(t.events,i))}return e}function Hr(e,t,i,n,s,a){let o=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",l="tableContent";i[0]!==0&&(a.end=Object.assign({},vi(t.events,i[0])),e.add(i[0],0,[["exit",a,t]]));let c=vi(t.events,i[1]);if(a={type:o,start:Object.assign({},c),end:Object.assign({},c)},e.add(i[1],0,[["enter",a,t]]),i[2]!==0){let f=vi(t.events,i[2]),d=vi(t.events,i[3]),m={type:l,start:Object.assign({},f),end:Object.assign({},d)};if(e.add(i[2],0,[["enter",m,t]]),n!==2){let y=t.events[i[2]],g=t.events[i[3]];if(y[1].end=Object.assign({},g[1].end),y[1].type="chunkText",y[1].contentType="text",i[3]>i[2]+1){let w=i[2]+1,_=i[3]-i[2]-1;e.add(w,_,[])}}e.add(i[3]+1,0,[["exit",m,t]])}return s!==void 0&&(a.end=Object.assign({},vi(t.events,s)),e.add(s,0,[["exit",a,t]]),a=void 0),a}function zc(e,t,i,n,s){let a=[],o=vi(t.events,i);s&&(s.end=Object.assign({},o),a.push(["exit",s,t])),n.end=Object.assign({},o),a.push(["exit",n,t]),e.add(i+1,0,a)}function vi(e,t){let i=e[t],n=i[0]==="enter"?"start":"end";return i[1][n]}var jc=I(()=>{we();ue();Oc();qc()});var Uc=I(()=>{jc()});function Bs(){return{text:{91:Xx}}}function Yx(e,t,i){let n=this;return s;function s(c){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?i(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),a)}function a(c){return ne(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),o):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),o):i(c)}function o(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):i(c)}function l(c){return j(c)?t(c):W(c)?e.check({tokenize:Zx},t,i)(c):i(c)}}function Zx(e,t,i){return X(e,n,"whitespace");function n(s){return s===null?i(s):t(s)}}var Xx,Jc=I(()=>{we();ue();Xx={name:"tasklistCheck",tokenize:Yx}});var Hc=I(()=>{Jc()});function Gc(e){return fi([Ns(),Fs(),Rs(e),Ds(),Bs()])}var Wc=I(()=>{mr();Vc();Rc();Bc();Uc();Hc()});function Os(e){let t=this,i=e||$x,n=t.data(),s=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);s.push(Gc(i)),a.push(Ts()),o.push(Ps(i))}var $x,Qc=I(()=>{Sc();Wc();$x={}});var Kc={};Vi(Kc,{default:()=>Os});var Xc=I(()=>{Qc()});function Ms(){return{enter:{mdxFlowExpression:e0,mdxTextExpression:t0},exit:{mdxFlowExpression:Yc,mdxFlowExpressionChunk:Zc,mdxTextExpression:Yc,mdxTextExpressionChunk:Zc}}}function qs(){return{handlers:{mdxFlowExpression:$c,mdxTextExpression:$c},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]}}function e0(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function t0(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function Yc(e){let t=this.resume(),i=e.estree,n=this.stack[this.stack.length-1];n.type==="mdxFlowExpression"||n.type,this.exit(e),n.value=t,i&&(n.data={estree:i})}function Zc(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function $c(e,t,i){let n=e.value||"";return"{"+i.indentLines(n,function(a,o,l){return(o===0||l?"":" ")+a})+"}"}var eh=I(()=>{});var th=I(()=>{eh()});var ih,rh=I(()=>{ih=["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"]});var zs,nh=I(()=>{zs={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"}});function Gr(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}var js=I(()=>{});function sh(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var ah=I(()=>{});function oh(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var uh=I(()=>{});function Us(e){return oh(e)||Gr(e)}var lh=I(()=>{uh();js()});function Js(e,t){let i=t||{},n=typeof i.additional=="string"?i.additional.charCodeAt(0):i.additional,s=[],a=0,o=-1,l="",c,f;i.position&&("start"in i.position||"indent"in i.position?(f=i.position.indent,c=i.position.start):c=i.position);let d=(c?c.line:0)||1,m=(c?c.column:0)||1,y=w(),g;for(a--;++a<=e.length;)if(g===10&&(m=(f?f[o]:0)||1),g=e.charCodeAt(a),g===38){let S=e.charCodeAt(a+1);if(S===9||S===10||S===12||S===32||S===38||S===60||Number.isNaN(S)||n&&S===n){l+=String.fromCharCode(g),m++;continue}let F=a+1,C=F,p=F,O;if(S===35){p=++C;let q=e.charCodeAt(p);q===88||q===120?(O="hexadecimal",p=++C):O="decimal"}else O="named";let R="",D="",B="",U=O==="named"?Us:O==="decimal"?Gr:sh;for(p--;++p<=e.length;){let q=e.charCodeAt(p);if(!U(q))break;B+=String.fromCharCode(q),O==="named"&&ih.includes(B)&&(R=B,D=It(B))}let T=e.charCodeAt(p)===59;if(T){p++;let q=O==="named"?It(B):!1;q&&(R=B,D=q)}let K=1+p-F,te="";if(!(!T&&i.nonTerminated===!1))if(!B)O!=="named"&&_(4,K);else if(O==="named"){if(T&&!D)_(5,1);else if(R!==B&&(p=C+R.length,K=1+p-C,T=!1),!T){let q=R?1:3;if(i.attribute){let Y=e.charCodeAt(p);Y===61?(_(q,K),D=""):Us(Y)?D="":_(q,K)}else _(q,K)}te=D}else{T||_(2,K);let q=Number.parseInt(B,O==="hexadecimal"?16:10);if(r0(q))_(7,K),te="\uFFFD";else if(q in zs)_(6,K),te=zs[q];else{let Y="";n0(q)&&_(6,K),q>65535&&(q-=65536,Y+=String.fromCharCode(q>>>10|55296),q=56320|q&1023),te=Y+String.fromCharCode(q)}}if(te){V(),y=w(),a=p-1,m+=p-F+1,s.push(te);let q=w();q.offset++,i.reference&&i.reference.call(i.referenceContext||void 0,te,{start:y,end:q},e.slice(F-1,p)),y=q}else B=e.slice(F-1,p),l+=B,m+=B.length,a=p-1}else g===10&&(d++,o++,m=0),Number.isNaN(g)?V():(l+=String.fromCharCode(g),m++);return s.join("");function w(){return{line:d,column:m,offset:a+((c?c.offset:0)||0)}}function _(S,F){let C;i.warning&&(C=w(),C.column+=F,C.offset+=F,i.warning.call(i.warningContext||void 0,i0[S],C,S))}function V(){l&&(s.push(l),i.text&&i.text.call(i.textContext||void 0,l,{start:y,end:w()}),l="")}}function r0(e){return e>=55296&&e<=57343||e>1114111}function n0(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}var i0,ch=I(()=>{rh();nh();js();ah();lh();Oi();i0=["","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"]});var hh=I(()=>{ch()});function fh(e,t){if(e=e.replace(t.subset?l0(t.subset):s0,n),t.subset||t.escapeOnly)return e;return e.replace(a0,i).replace(o0,n);function i(s,a,o){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,o.charCodeAt(a+2),t)}function n(s,a,o){return t.format(s.charCodeAt(0),o.charCodeAt(a+1),t)}}function l0(e){let t=ph.get(e);return t||(t=c0(e),ph.set(e,t)),t}function c0(e){let t=[],i=-1;for(;++i<e.length;)t.push(e[i].replace(u0,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}var s0,a0,o0,u0,ph,dh=I(()=>{s0=/["&'<>`]/g,a0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o0=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,u0=/[|\\{}()[\]^$+*?.]/g,ph=new WeakMap});function mh(e){return"&#x"+e.toString(16).toUpperCase()+";"}var xh=I(()=>{});function gh(e,t){return fh(e,Object.assign({format:mh},t))}var bh=I(()=>{dh();xh()});var kh=I(()=>{bh()});function Gs(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:n,mdxJsxFlowTagClosingMarker:s,mdxJsxFlowTagAttribute:m,mdxJsxFlowTagExpressionAttribute:y,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:o,mdxJsxTextTag:n,mdxJsxTextTagClosingMarker:s,mdxJsxTextTagAttribute:m,mdxJsxTextTagExpressionAttribute:y,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:o},exit:{mdxJsxFlowTagClosingMarker:l,mdxJsxFlowTagNamePrimary:c,mdxJsxFlowTagNameMember:f,mdxJsxFlowTagNameLocal:d,mdxJsxFlowTagExpressionAttribute:g,mdxJsxFlowTagExpressionAttributeValue:i,mdxJsxFlowTagAttributeNamePrimary:w,mdxJsxFlowTagAttributeNameLocal:_,mdxJsxFlowTagAttributeValueLiteral:V,mdxJsxFlowTagAttributeValueLiteralValue:i,mdxJsxFlowTagAttributeValueExpression:S,mdxJsxFlowTagAttributeValueExpressionValue:i,mdxJsxFlowTagSelfClosingMarker:F,mdxJsxFlowTag:C,mdxJsxTextTagClosingMarker:l,mdxJsxTextTagNamePrimary:c,mdxJsxTextTagNameMember:f,mdxJsxTextTagNameLocal:d,mdxJsxTextTagExpressionAttribute:g,mdxJsxTextTagExpressionAttributeValue:i,mdxJsxTextTagAttributeNamePrimary:w,mdxJsxTextTagAttributeNameLocal:_,mdxJsxTextTagAttributeValueLiteral:V,mdxJsxTextTagAttributeValueLiteralValue:i,mdxJsxTextTagAttributeValueExpression:S,mdxJsxTextTagAttributeValueExpressionValue:i,mdxJsxTextTagSelfClosingMarker:F,mdxJsxTextTag:C}};function e(){this.buffer()}function t(D){return{line:D.line,column:D.column,offset:D.offset}}function i(D){this.config.enter.data.call(this,D),this.config.exit.data.call(this,D)}function n(D){let B={name:void 0,attributes:[],close:!1,selfClosing:!1,start:D.start,end:D.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=B,this.buffer()}function s(D){let B=this.data.mdxJsxTagStack;if(B.length===0)throw new de("Unexpected closing slash `/` in tag, expected an open tag first",{start:D.start,end:D.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function a(D){let B=this.data.mdxJsxTag;if(B.close)throw new de("Unexpected attribute in closing tag, expected the end of the tag",{start:D.start,end:D.end},"mdast-util-mdx-jsx:unexpected-attribute")}function o(D){let B=this.data.mdxJsxTag;if(B.close)throw new de("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:D.start,end:D.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function l(){let D=this.data.mdxJsxTag;D.close=!0}function c(D){let B=this.data.mdxJsxTag;B.name=this.sliceSerialize(D)}function f(D){let B=this.data.mdxJsxTag;B.name+="."+this.sliceSerialize(D)}function d(D){let B=this.data.mdxJsxTag;B.name+=":"+this.sliceSerialize(D)}function m(D){let B=this.data.mdxJsxTag;a.call(this,D),B.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(D.start),end:void 0}})}function y(D){let B=this.data.mdxJsxTag;a.call(this,D),B.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(D.start),end:void 0}}),this.buffer()}function g(D){let B=this.data.mdxJsxTag;let U=B.attributes[B.attributes.length-1];U.type;let{estree:T}=D;U.value=this.resume(),U.position,U.position.end=t(D.end),T&&(U.data={estree:T})}function w(D){let B=this.data.mdxJsxTag;let U=B.attributes[B.attributes.length-1];U.type,U.name=this.sliceSerialize(D),U.position,U.position.end=t(D.end)}function _(D){let B=this.data.mdxJsxTag;let U=B.attributes[B.attributes.length-1];U.type,U.name+=":"+this.sliceSerialize(D),U.position,U.position.end=t(D.end)}function V(D){let B=this.data.mdxJsxTag;let U=B.attributes[B.attributes.length-1];U.value=Js(this.resume(),{nonTerminated:!1}),U.position,U.position.end=t(D.end)}function S(D){let B=this.data.mdxJsxTag;let U=B.attributes[B.attributes.length-1];U.type;let T={type:"mdxJsxAttributeValueExpression",value:this.resume()},{estree:K}=D;K&&(T.data={estree:K}),U.value=T,U.position,U.position.end=t(D.end)}function F(){let D=this.data.mdxJsxTag;D.selfClosing=!0}function C(D){let B=this.data.mdxJsxTag;let U=this.data.mdxJsxTagStack;let T=U[U.length-1];if(B.close&&T.name!==B.name)throw new de("Unexpected closing tag `"+R(B)+"`, expected corresponding closing tag for `"+R(T)+"` ("+Ke(T)+")",{start:D.start,end:D.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),B.close?U.pop():this.enter({type:D.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:B.name||null,attributes:B.attributes,children:[]},D,p),B.selfClosing||B.close?this.exit(D,O):U.push(B)}function p(D,B){let U=this.data.mdxJsxTagStack;let T=U[U.length-1];let K=D?" before the end of `"+D.type+"`":"",te=D?{start:D.start,end:D.end}:void 0;throw new de("Expected a closing tag for `"+R(T)+"` ("+Ke({start:B.start,end:B.end})+")"+K,te,"mdast-util-mdx-jsx:end-tag-mismatch")}function O(D,B){let U=this.data.mdxJsxTag;throw new de("Expected the closing tag `"+R(U)+"` either after the end of `"+B.type+"` ("+Ke(B.end)+") or another opening tag after the start of `"+B.type+"` ("+Ke(B.start)+")",{start:D.start,end:D.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function R(D){return"<"+(D.close?"/":"")+(D.name||"")+">"}}function Ws(e){let t=e||{},i=t.quote||'"';if(i!=='"'&&i!=="'")throw new Error("Cannot serialize attribute values with `"+i+"` for `options.quote`, expected `\"`, or `'`");let n=t.quoteSmart||!1,s=t.tightSelfClosing||!1,a=t.printWidth||1/0,o=i==='"'?"'":'"';return l.peek=p0,{handlers:{mdxJsxFlowElement:l,mdxJsxTextElement:l},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function l(c,f,d,m){let y=c.type==="mdxJsxFlowElement",g=c.name?!c.children||c.children.length===0:!1,w=vh(d),_=wh(w),V=y||w===0?Hs:"",S=d.createTracker(m),F=d.createTracker(m),C=[],p=(y?_:"")+"<"+(c.name||""),O=d.enter(c.type);if(S.move(p),F.move(p),c.attributes&&c.attributes.length>0){if(!c.name)throw new Error("Cannot serialize fragment w/ attributes");let T=-1;for(;++T<c.attributes.length;){let K=c.attributes[T],te;if(K.type==="mdxJsxExpressionAttribute")te=yh(d,K.value||"",V);else{if(!K.name)throw new Error("Cannot serialize attribute w/o name");let{value:q}=K,Y=K.name,ee="";if(q!=null)if(typeof q=="object")ee=yh(d,q.value||"",V);else{let he=n&&mi(q,i)>mi(q,o)?o:i;ee=he+gh(q,{subset:[he]})+he}te=Y+(ee?"=":"")+ee}C.push(te)}}let R=!1,D=C.join(" ");y&&(/\r?\n|\r/.test(D)||S.current().now.column+D.length+(g?s?2:3:1)>a)&&(R=!0);let B=S,U=p;if(R){B=F;let T=-1;for(;++T<C.length;)C[T]=_+Hs+C[T];U+=B.move(`
|
|
23
|
+
`+C.join(`
|
|
24
|
+
`)+`
|
|
25
|
+
`+_)}else D&&(U+=B.move(" "+D));return g&&(U+=B.move((s||R?"":" ")+"/")),U+=B.move(">"),c.children&&c.children.length>0&&(c.type==="mdxJsxTextElement"?U+=B.move(d.containerPhrasing(c,{...B.current(),before:">",after:"<"})):(B.shift(2),U+=B.move(`
|
|
26
|
+
`),U+=B.move(h0(c,d,B.current())),U+=B.move(`
|
|
27
|
+
`))),g||(U+=B.move((y?_:"")+"</"+(c.name||"")+">")),O(),U}}function h0(e,t,i){let{indexStack:n}=t,{children:s}=e,a=t.createTracker(i),o=wh(vh(t)),l=[],c=-1;for(n.push(-1);++c<s.length;){let f=s[c];n[n.length-1]=c;let d={before:`
|
|
28
|
+
`,after:`
|
|
29
|
+
`,...a.current()},m=t.handle(f,e,t,d),y=f.type==="mdxJsxFlowElement"?m:t.indentLines(m,function(g,w,_){return(_?"":o)+g});l.push(a.move(y)),f.type!=="list"&&(t.bulletLastUsed=void 0),c<s.length-1&&l.push(a.move(`
|
|
30
|
+
|
|
31
|
+
`))}return n.pop(),l.join("")}function vh(e){let t=0,i=e.stack.length;for(;--i>-1;){let n=e.stack[i];if(n==="blockquote"||n==="listItem")break;n==="mdxJsxFlowElement"&&t++}return t}function wh(e){return Hs.repeat(e)}function p0(){return"<"}function yh(e,t,i){let n=t;return i&&(n=e.indentLines(n,function(s,a,o){return(a===0||o?"":i)+s})),"{"+n+"}"}var Hs,Sh=I(()=>{Kn();hh();kh();pr();Qt();Hs=" "});var Ch=I(()=>{Sh()});function Qs(){return{enter:{mdxjsEsm:f0},exit:{mdxjsEsm:d0,mdxjsEsmData:m0}}}function Ks(){return{handlers:{mdxjsEsm:x0}}}function f0(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function d0(e){let t=this.resume(),i=this.stack[this.stack.length-1];i.type,this.exit(e);let n=e.estree;i.value=t,n&&(i.data={estree:n})}function m0(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function x0(e){return e.value||""}var Eh=I(()=>{});var Ah=I(()=>{Eh()});function Xs(){return[Ms(),Gs(),Qs()]}function Ys(e){return{extensions:[qs(),Ws(e),Ks()]}}var _h=I(()=>{th();Ch();Ah()});var Ih=I(()=>{_h()});function ta(e,t){for(var i=65536,n=0;n<t.length;n+=2){if(i+=t[n],i>e)return!1;if(i+=t[n+1],i>=e)return!0}return!1}function yt(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&y0.test(String.fromCharCode(e)):t===!1?!1:ta(e,Fh)}function Lt(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&v0.test(String.fromCharCode(e)):t===!1?!1:ta(e,Fh)||ta(e,g0)}function rt(e,t){return new fe(e,{beforeExpr:!0,binop:t})}function pe(e,t){return t===void 0&&(t={}),t.keyword=e,sa[e]=new fe(e,t)}function wi(e){return e===10||e===13||e===8232||e===8233}function Bh(e,t,i){i===void 0&&(i=e.length);for(var n=t;n<i;n++){var s=e.charCodeAt(n);if(wi(s))return n<i-1&&s===13&&e.charCodeAt(n+1)===10?n+2:n+1}return-1}function jt(e){return Ph[e]||(Ph[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function Nt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function qh(e,t){for(var i=1,n=0;;){var s=Bh(e,n,t);if(s<0)return new $i(i,t-n);++i,n=s}}function A0(e){var t={};for(var i in ia)t[i]=e&&Si(e,i)?e[i]:ia[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Lh&&typeof console=="object"&&console.warn&&(Lh=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
32
|
+
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Th(t.onToken)){var n=t.onToken;t.onToken=function(s){return n.push(s)}}if(Th(t.onComment)&&(t.onComment=_0(t,t.onComment)),t.sourceType==="commonjs"&&t.allowAwaitOutsideFunction)throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return t}function _0(e,t){return function(i,n,s,a,o,l){var c={type:i?"Block":"Line",value:n,start:s,end:a};e.locations&&(c.loc=new Zr(this,o,l)),e.ranges&&(c.range=[s,a]),t.push(c)}}function ua(e,t){return ri|(e?aa:0)|(t?zh:0)}function T0(e,t){for(var i=t+1,n=Math.min(e.input.length,t+11);i<n;){var s=e.fullCharCodeAt(i);if(!Lt(s,!0))break;i+=s<=65535?1:2}return i===t+2&&e.input.slice(t,i)==="in"||i===t+10&&e.input.slice(t,i)==="instanceof"}function N0(e,t){var i=t.key.name,n=e[i],s="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(s=(t.static?"s":"i")+t.kind),n==="iget"&&s==="iset"||n==="iset"&&s==="iget"||n==="sget"&&s==="sset"||n==="sset"&&s==="sget"?(e[i]="true",!1):n?!0:(e[i]=s,!1)}function Kr(e,t){var i=e.computed,n=e.key;return!i&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}function Kh(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&Kh(e.expression)}function na(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&na(e.expression)||e.type==="ParenthesizedExpression"&&na(e.expression)}function Xh(e,t,i,n){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=i),e}function j0(e){var t=op[e]={binary:jt(B0[e]+" "+Nh),binaryOfStrings:jt(M0[e]),nonBinary:{General_Category:jt(Nh),Script:jt(z0[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}function U0(e){for(var t in e)return!0;return!1}function J0(e){return e===105||e===109||e===115}function up(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function H0(e){return yt(e,!0)||e===36||e===95}function G0(e){return Lt(e,!0)||e===36||e===95||e===8204||e===8205}function lp(e){return e>=65&&e<=90||e>=97&&e<=122}function W0(e){return e>=0&&e<=1114111}function Q0(e){return e===100||e===68||e===115||e===83||e===119||e===87}function hp(e){return lp(e)||e===95}function K0(e){return hp(e)||nn(e)}function X0(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function Y0(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}function Z0(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}function nn(e){return e>=48&&e<=57}function pp(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function fp(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function dp(e){return e>=48&&e<=55}function $0(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function mp(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}var g0,Fh,b0,Rh,Zs,$s,k0,Dh,y0,v0,fe,nt,Ge,sa,b,We,w0,Oh,De,Mh,S0,C0,Si,Th,Ph,E0,$i,Zr,ia,Lh,ii,ri,aa,zh,oa,jh,$r,Uh,ni,er,Jh,en,Qr,la,Ft,Hh,Gh,Wh,Ie,at,qe,I0,tn,Q,ca,P0,L0,Zi,ra,Qh,ot,mt,Se,Ci,se,V0,Xr,Ut,F0,rn,tr,R0,Yh,Zh,$h,ep,tp,D0,B0,O0,M0,Nh,ip,rp,np,sp,ap,q0,z0,op,Vh,Wr,ea,G,Yr,vt,cp,Vt,st,ha,ce,xp,eg,gp=I(()=>{g0=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,31,4,33,15,71,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,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,199,7,137,9,54,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,55,9,7,0,259,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,481,1,61,4,4,5,9,7,3,6,31,3,149,2,12,2,9,1,3,0,33,1,1357,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],Fh=[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,4,51,13,310,10,21,11,7,25,5,2,41,2,13,65,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,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,39,27,10,22,251,41,7,1,17,5,18,21,18,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,20,1,64,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,18,0,182,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,22,0,239,18,16,0,2,12,2,33,125,0,80,921,103,111,6,206,13,310,2314,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7386,37,33,96,114,14,913,15,50,7710,3,2,6,2,1,2,296,10,0,30,2,3,0,15,4,8,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,340,2,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,129,15,6,55,50,49,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4382,2,5773,3,7472,16,621,2467,541,1507,4938,6,8489,39815,11327],b0="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05C9\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\u0897-\u089F\u08CA-\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\u0B53-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\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\u0CF3\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-\u0ECE\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-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1AF0\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-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65",Rh="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\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\u0558\u0559\u0560-\u0588\u058B\u058C\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\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\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\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\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-\u1711\u171F-\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-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\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\u208F-\u209F\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\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-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DD\uA7E2\uA7F1-\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\uAB6C\uAB6D\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",Zs={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"},$s="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",k0={5:$s,"5module":$s+" export import",6:$s+" const class extends export import super"},Dh=/^in(stanceof)?$/,y0=new RegExp("["+Rh+"]"),v0=new RegExp("["+Rh+b0+"]");fe=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};nt={beforeExpr:!0},Ge={startsExpr:!0},sa={};b={num:new fe("num",Ge),regexp:new fe("regexp",Ge),string:new fe("string",Ge),name:new fe("name",Ge),privateId:new fe("privateId",Ge),eof:new fe("eof"),bracketL:new fe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new fe("]"),braceL:new fe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new fe("}"),parenL:new fe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new fe(")"),comma:new fe(",",nt),semi:new fe(";",nt),colon:new fe(":",nt),dot:new fe("."),question:new fe("?",nt),questionDot:new fe("?."),arrow:new fe("=>",nt),template:new fe("template"),invalidTemplate:new fe("invalidTemplate"),ellipsis:new fe("...",nt),backQuote:new fe("`",Ge),dollarBraceL:new fe("${",{beforeExpr:!0,startsExpr:!0}),eq:new fe("=",{beforeExpr:!0,isAssign:!0}),assign:new fe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new fe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new fe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:rt("||",1),logicalAND:rt("&&",2),bitwiseOR:rt("|",3),bitwiseXOR:rt("^",4),bitwiseAND:rt("&",5),equality:rt("==/!=/===/!==",6),relational:rt("</>/<=/>=",7),bitShift:rt("<</>>/>>>",8),plusMin:new fe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:rt("%",10),star:rt("*",10),slash:rt("/",10),starstar:new fe("**",{beforeExpr:!0}),coalesce:rt("??",1),_break:pe("break"),_case:pe("case",nt),_catch:pe("catch"),_continue:pe("continue"),_debugger:pe("debugger"),_default:pe("default",nt),_do:pe("do",{isLoop:!0,beforeExpr:!0}),_else:pe("else",nt),_finally:pe("finally"),_for:pe("for",{isLoop:!0}),_function:pe("function",Ge),_if:pe("if"),_return:pe("return",nt),_switch:pe("switch"),_throw:pe("throw",nt),_try:pe("try"),_var:pe("var"),_const:pe("const"),_while:pe("while",{isLoop:!0}),_with:pe("with"),_new:pe("new",{beforeExpr:!0,startsExpr:!0}),_this:pe("this",Ge),_super:pe("super",Ge),_class:pe("class",Ge),_extends:pe("extends",nt),_export:pe("export"),_import:pe("import",Ge),_null:pe("null",Ge),_true:pe("true",Ge),_false:pe("false",Ge),_in:pe("in",{beforeExpr:!0,binop:7}),_instanceof:pe("instanceof",{beforeExpr:!0,binop:7}),_typeof:pe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:pe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:pe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},We=/\r\n?|\n|\u2028|\u2029/,w0=new RegExp(We.source,"g");Oh=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,De=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Mh=Object.prototype,S0=Mh.hasOwnProperty,C0=Mh.toString,Si=Object.hasOwn||(function(e,t){return S0.call(e,t)}),Th=Array.isArray||(function(e){return C0.call(e)==="[object Array]"}),Ph=Object.create(null);E0=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,$i=function(t,i){this.line=t,this.column=i};$i.prototype.offset=function(t){return new $i(this.line,this.column+t)};Zr=function(t,i,n){this.start=i,this.end=n,t.sourceFile!==null&&(this.source=t.sourceFile)};ia={ecmaVersion:null,sourceType:"script",strict:!1,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,startLocation:null,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Lh=!1;ii=1,ri=2,aa=4,zh=8,oa=16,jh=32,$r=64,Uh=128,ni=256,er=512,Jh=1024,en=ii|ri|ni;Qr=0,la=1,Ft=2,Hh=3,Gh=4,Wh=5,Ie=function(t,i,n){this.options=t=A0(t),this.sourceFile=t.sourceFile,this.keywords=jt(k0[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";t.allowReserved!==!0&&(s=Zs[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(s+=" await")),this.reservedWords=jt(s);var a=(s?s+" ":"")+Zs.strict;this.reservedWordsStrict=jt(a),this.reservedWordsStrictBind=jt(a+" "+Zs.strictBind),this.input=String(i),this.containsEsc=!1,this.pos=n||0,this.curLine=1,t.startLocation?(this.lineStart=this.pos-t.startLocation.column,this.curLine=t.startLocation.line):n?(this.lineStart=this.input.lastIndexOf(`
|
|
33
|
+
`,n-1)+1,this.options.locations&&(this.curLine=this.input.slice(0,this.lineStart).split(We).length)):this.lineStart=0,this.type=b.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=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||t.strict===!0||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?ri:ii),this.regexpState=null,this.privateNameStack=[]},at={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};Ie.prototype.parse=function(){var t=this,i=this.options.program||this.startNode();return this.nextToken(),this.catchStackOverflow(function(){return t.parseTopLevel(i)})};at.inFunction.get=function(){return(this.currentVarScope().flags&ri)>0};at.inGenerator.get=function(){return(this.currentVarScope().flags&zh)>0};at.inAsync.get=function(){return(this.currentVarScope().flags&aa)>0};at.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(ni|er))return!1;if(i&ri)return(i&aa)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};at.allowReturn.get=function(){return!!(this.inFunction||this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&ii)};at.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&$r)>0||this.options.allowSuperOutsideMethod};at.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Uh)>0};at.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};at.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(ni|er)||i&ri&&!(i&oa))return!0}return!1};at.allowUsing.get=function(){var e=this.currentScope(),t=e.flags;return!(t&Jh||!this.inModule&&t&ii)};at.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&ni)>0};Ie.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var n=this,s=0;s<t.length;s++)n=t[s](n);return n};Ie.parse=function(t,i){return new this(i,t).parse()};Ie.parseExpressionAt=function(t,i,n){var s=new this(n,t,i);return s.nextToken(),s.parseExpression()};Ie.tokenizer=function(t,i){return new this(i,t)};Object.defineProperties(Ie.prototype,at);qe=Ie.prototype,I0=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;qe.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){De.lastIndex=e,e+=De.exec(this.input)[0].length;var t=I0.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){De.lastIndex=e+t[0].length;var i=De.exec(this.input),n=i.index+i[0].length,s=this.input.charAt(n);return s===";"||s==="}"||We.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||s==="!"&&this.input.charAt(n+1)==="="||s==="i"&&T0(this,n))}e+=t[0].length,De.lastIndex=e,e+=De.exec(this.input)[0].length,this.input[e]===";"&&e++}};qe.eat=function(e){return this.type===e?(this.next(),!0):!1};qe.isContextual=function(e){return this.type===b.name&&this.value===e&&!this.containsEsc};qe.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};qe.catchStackOverflow=function(e){try{return e()}catch(t){if(t instanceof Error&&(/\bstack\b.*\b(exceeded|overflow)\b/i.test(t.message)||/\btoo much recursion\b/i.test(t.message)))this.raise(this.start,"Not enough stack space to parse input");else throw t}};qe.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};qe.canInsertSemicolon=function(){return this.type===b.eof||this.type===b.braceR||We.test(this.input.slice(this.lastTokEnd,this.start))};qe.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};qe.semicolon=function(){!this.eat(b.semi)&&!this.insertSemicolon()&&this.unexpected()};qe.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};qe.expect=function(e){this.eat(e)||this.unexpected()};qe.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};tn=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};qe.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}};qe.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,n=e.doubleProto;if(!t)return i>=0||n>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")};qe.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};qe.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};Q=Ie.prototype;Q.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==b.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var n=0,s=Object.keys(this.undefinedExports);n<s.length;n+=1){var a=s[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(e,"Program")};ca={kind:"loop"},P0={kind:"switch"};Q.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;De.lastIndex=this.pos;var t=De.exec(this.input),i=this.pos+t[0].length,n=this.fullCharCodeAt(i);if(n===91||n===92)return!0;if(e)return!1;if(n===123)return!0;if(yt(n)){var s=i;do i+=n<=65535?1:2;while(Lt(n=this.fullCharCodeAt(i)));if(n===92)return!0;var a=this.input.slice(s,i);if(!Dh.test(a))return!0}return!1};Q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;De.lastIndex=this.pos;var e=De.exec(this.input),t=this.pos+e[0].length,i;return!We.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Lt(i=this.fullCharCodeAt(t+8))||i===92))};Q.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;De.lastIndex=this.pos;var i=De.exec(this.input),n=this.pos+i[0].length;if(We.test(this.input.slice(this.pos,n)))return!1;if(e){var s=n+5,a;if(this.input.slice(n,s)!=="using"||s===this.input.length||Lt(a=this.fullCharCodeAt(s))||a===92)return!1;De.lastIndex=s;var o=De.exec(this.input);if(n=s+o[0].length,o&&We.test(this.input.slice(s,n)))return!1}var l=this.fullCharCodeAt(n);if(!yt(l)&&l!==92)return!1;var c=n;do n+=l<=65535?1:2;while(Lt(l=this.fullCharCodeAt(n)));if(l===92)return!0;var f=this.input.slice(c,n);if(Dh.test(f))return!1;if(t&&!e&&f==="of"){De.lastIndex=n;var d=De.exec(this.input);if(n=n+d[0].length,this.input.charCodeAt(n)!==61||(l=this.input.charCodeAt(n+1))===61||l===62)return!1}return!0};Q.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};Q.isUsing=function(e){return this.isUsingKeyword(!1,e)};Q.parseStatement=function(e,t,i){var n=this.type,s=this.startNode(),a;switch(this.isLet(e)&&(n=b._var,a="let"),n){case b._break:case b._continue:return this.parseBreakContinueStatement(s,n.keyword);case b._debugger:return this.parseDebuggerStatement(s);case b._do:return this.parseDoStatement(s);case b._for:return this.parseForStatement(s);case b._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case b._class:return e&&this.unexpected(),this.parseClass(s,!0);case b._if:return this.parseIfStatement(s);case b._return:return this.parseReturnStatement(s);case b._switch:return this.parseSwitchStatement(s);case b._throw:return this.parseThrowStatement(s);case b._try:return this.parseTryStatement(s);case b._const:case b._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case b._while:return this.parseWhileStatement(s);case b._with:return this.parseWithStatement(s);case b.braceL:return this.parseBlock(!0,s);case b.semi:return this.parseEmptyStatement(s);case b._export:case b._import:if(this.options.ecmaVersion>10&&n===b._import){De.lastIndex=this.pos;var o=De.exec(this.input),l=this.pos+o[0].length,c=this.input.charCodeAt(l);if(c===40||c===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===b._import?this.parseImport(s):this.parseExport(s,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var f=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(f)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),e&&this.raise(this.start,"Using declaration is not allowed in single-statement positions"),f==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(s,!1,f),this.semicolon(),this.finishNode(s,"VariableDeclaration");var d=this.value,m=this.parseExpression();return n===b.name&&m.type==="Identifier"&&this.eat(b.colon)?this.parseLabeledStatement(s,d,m,e):this.parseExpressionStatement(s,m)}};Q.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(b.semi)||this.insertSemicolon()?e.label=null:this.type!==b.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var s=this.labels[n];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(i||s.kind==="loop")||e.label&&i))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")};Q.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};Q.parseDoStatement=function(e){return this.next(),this.labels.push(ca),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(b._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(b.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};Q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ca),this.enterScope(0),this.expect(b.parenL),this.type===b.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===b._var||this.type===b._const||i){var n=this.startNode(),s=i?"let":this.value;return this.next(),this.parseVar(n,!0,s),this.finishNode(n,"VariableDeclaration"),this.parseForAfterInit(e,n,t)}var a=this.isContextual("let"),o=!1,l=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(l){var c=this.startNode();return this.next(),l==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(c,!0,l),this.finishNode(c,"VariableDeclaration"),this.parseForAfterInit(e,c,t)}var f=this.containsEsc,d=new tn,m=this.start,y=t>-1?this.parseExprSubscripts(d,"await"):this.parseExpression(!0,d);return this.type===b._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===b._in&&this.unexpected(t),e.await=!0):o&&this.options.ecmaVersion>=8&&(y.start===m&&!f&&y.type==="Identifier"&&y.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&o&&this.raise(y.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(y,!1,d),this.checkLValPattern(y),this.parseForIn(e,y)):(this.checkExpressionErrors(d,!0),t>-1&&this.unexpected(t),this.parseFor(e,y))};Q.parseForAfterInit=function(e,t,i){return(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.type===b._in?((t.kind==="using"||t.kind==="await using")&&!t.declarations[0].init&&this.raise(this.start,"Using declaration is not allowed in for-in loops"),this.options.ecmaVersion>=9&&i>-1&&this.unexpected(i)):this.options.ecmaVersion>=9&&(e.await=i>-1),this.parseForIn(e,t)):(i>-1&&this.unexpected(i),this.parseFor(e,t))};Q.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,Zi|(i?0:ra),!1,t)};Q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(b._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};Q.parseReturnStatement=function(e){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(b.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};Q.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(b.braceL),this.labels.push(P0),this.enterScope(Jh);for(var t,i=!1;this.type!==b.braceR;)if(this.type===b._case||this.type===b._default){var n=this.type===b._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(b.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};Q.parseThrowStatement=function(e){return this.next(),We.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};L0=[];Q.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?jh:0),this.checkLValPattern(e,t?Gh:Ft),this.expect(b.parenR),e};Q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===b._catch){var t=this.startNode();this.next(),this.eat(b.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(b._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};Q.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")};Q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(ca),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};Q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};Q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};Q.parseLabeledStatement=function(e,t,i,n){for(var s=0,a=this.labels;s<a.length;s+=1){var o=a[s];o.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var l=this.type.isLoop?"loop":this.type===b._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var f=this.labels[c];if(f.statementStart===e.start)f.statementStart=this.start,f.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};Q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};Q.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(b.braceL),e&&this.enterScope(0);this.type!==b.braceR;){var n=this.parseStatement(null);t.body.push(n)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};Q.parseFor=function(e,t){return e.init=t,this.expect(b.semi),e.test=this.type===b.semi?null:this.parseExpression(),this.expect(b.semi),e.update=this.type===b.parenR?null:this.parseExpression(),this.expect(b.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};Q.parseForIn=function(e,t){var i=this.type===b._in;return this.next(),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(b.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};Q.parseVar=function(e,t,i,n){for(e.declarations=[],e.kind=i;;){var s=this.startNode();if(this.parseVarId(s,i),this.eat(b.eq)?s.init=this.parseMaybeAssign(t):!n&&i==="const"&&!(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!n&&(i==="using"||i==="await using")&&this.options.ecmaVersion>=17&&this.type!==b._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+i+" declaration"):!n&&s.id.type!=="Identifier"&&!(t&&(this.type===b._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):s.init=null,e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(b.comma))break}return e};Q.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?la:Ft,!1)};Zi=1,ra=2,Qh=4;Q.parseFunction=function(e,t,i,n,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===b.star&&t&ra&&this.unexpected(),e.generator=this.eat(b.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Zi&&(e.id=t&Qh&&this.type!==b.name?null:this.parseIdent(),e.id&&!(t&ra)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?la:Ft:Hh));var a=this.yieldPos,o=this.awaitPos,l=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ua(e.async,e.generator)),t&Zi||(e.id=this.type===b.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,s),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=l,this.finishNode(e,t&Zi?"FunctionDeclaration":"FunctionExpression")};Q.parseFunctionParams=function(e){this.expect(b.parenL),e.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};Q.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(b.braceL);this.type!==b.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(s.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(a&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),a=!0):o.key&&o.key.type==="PrivateIdentifier"&&N0(n,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};Q.parseClassElement=function(e){if(this.eat(b.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),n="",s=!1,a=!1,o="method",l=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(b.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===b.star?l=!0:n="static"}if(i.static=l,!n&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===b.star)&&!this.canInsertSemicolon()?a=!0:n="async"),!n&&(t>=9||!a)&&this.eat(b.star)&&(s=!0),!n&&!a&&!s){var c=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=c:n=c)}if(n?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=n,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===b.parenL||o!=="method"||s||a){var f=!i.static&&Kr(i,"constructor"),d=f&&e;f&&o!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=f?"constructor":o,this.parseClassMethod(i,s,a,d)}else this.parseClassField(i);return i};Q.isClassElementNameStart=function(){return this.type===b.name||this.type===b.privateId||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword};Q.parseClassElementName=function(e){this.type===b.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};Q.parseClassMethod=function(e,t,i,n){var s=e.key;e.kind==="constructor"?(t&&this.raise(s.start,"Constructor can't be a generator"),i&&this.raise(s.start,"Constructor can't be an async method")):e.static&&Kr(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,i,n);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};Q.parseClassField=function(e){return Kr(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Kr(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(b.eq)?(this.enterScope(er|$r),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};Q.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(ni|$r);this.type!==b.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};Q.parseClassId=function(e,t){this.type===b.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Ft,!1)):(t===!0&&this.unexpected(),e.id=null)};Q.parseClassSuper=function(e){e.superClass=this.eat(b._extends)?this.parseExprSubscripts(null,!1):null};Q.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};Q.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,s=n===0?null:this.privateNameStack[n-1],a=0;a<i.length;++a){var o=i[a];Si(t,o.name)||(s?s.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}};Q.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};Q.parseExport=function(e,t){if(this.next(),this.eat(b.star))return this.parseExportAllDeclaration(e,t);if(this.eat(b._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var i=0,n=e.specifiers;i<n.length;i+=1){var s=n[i];this.checkUnreserved(s.local),this.checkLocalExport(s.local),s.local.type==="Literal"&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};Q.parseExportDeclaration=function(e){return this.parseStatement(null)};Q.parseExportDefaultDeclaration=function(){var e;if(this.type===b._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Zi|Qh,!1,e)}else if(this.type===b._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var n=this.parseMaybeAssign();return this.semicolon(),n}};Q.checkExport=function(e,t,i){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Si(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)};Q.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t,t.start);else if(i==="ObjectPattern")for(var n=0,s=t.properties;n<s.length;n+=1){var a=s[n];this.checkPatternExport(e,a)}else if(i==="ArrayPattern")for(var o=0,l=t.elements;o<l.length;o+=1){var c=l[o];c&&this.checkPatternExport(e,c)}else i==="Property"?this.checkPatternExport(e,t.value):i==="AssignmentPattern"?this.checkPatternExport(e,t.left):i==="RestElement"&&this.checkPatternExport(e,t.argument)};Q.checkVariableExport=function(e,t){if(e)for(var i=0,n=t;i<n.length;i+=1){var s=n[i];this.checkPatternExport(e,s.id)}};Q.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};Q.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};Q.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(b.braceL);!this.eat(b.braceR);){if(i)i=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;t.push(this.parseExportSpecifier(e))}return t};Q.parseImport=function(e){return this.next(),this.type===b.string?(e.specifiers=L0,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===b.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};Q.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,Ft),this.finishNode(e,"ImportSpecifier")};Q.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Ft),this.finishNode(e,"ImportDefaultSpecifier")};Q.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,Ft),this.finishNode(e,"ImportNamespaceSpecifier")};Q.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===b.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(b.comma)))return e;if(this.type===b.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(b.braceL);!this.eat(b.braceR);){if(t)t=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;e.push(this.parseImportSpecifier())}return e};Q.parseWithClause=function(){var e=[];if(!this.eat(b._with))return e;this.expect(b.braceL);for(var t={},i=!0;!this.eat(b.braceR);){if(i)i=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;var n=this.parseImportAttribute(),s=n.key.type==="Identifier"?n.key.name:n.key.value;Si(t,s)&&this.raiseRecoverable(n.key.start,"Duplicate attribute key '"+s+"'"),t[s]=!0,e.push(n)}return e};Q.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===b.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(b.colon),this.type!==b.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};Q.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===b.string){var e=this.parseLiteral(this.value);return E0.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};Q.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)};Q.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};ot=Ie.prototype;ot.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":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",i&&this.checkPatternErrors(i,!0);for(var n=0,s=e.properties;n<s.length;n+=1){var a=s[n];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":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",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":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 i&&this.checkPatternErrors(i,!0);return e};ot.toAssignableList=function(e,t){for(var i=e.length,n=0;n<i;n++){var s=e[n];s&&this.toAssignable(s,t)}if(i){var a=e[i-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};ot.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};ot.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==b.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};ot.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case b.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(b.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case b.braceL:return this.parseObj(!0)}return this.parseIdent()};ot.parseBindingList=function(e,t,i,n){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(b.comma),t&&this.type===b.comma)s.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===b.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),s.push(o),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else s.push(this.parseAssignableListItem(n))}return s};ot.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};ot.parseBindingListItem=function(e){return e};ot.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(b.eq))return i;var n=this.startNodeAt(e,t);return n.left=i,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")};ot.checkLValSimple=function(e,t,i){t===void 0&&(t=Qr);var n=t!==Qr;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===Ft&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(Si(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==Wh&&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":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};ot.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=Qr),e.type){case"ObjectPattern":for(var n=0,s=e.properties;n<s.length;n+=1){var a=s[n];this.checkLValInnerPattern(a,t,i)}break;case"ArrayPattern":for(var o=0,l=e.elements;o<l.length;o+=1){var c=l[o];c&&this.checkLValInnerPattern(c,t,i)}break;default:this.checkLValSimple(e,t,i)}};ot.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=Qr),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)}};mt=function(t,i,n,s,a){this.token=t,this.isExpr=!!i,this.preserveSpace=!!n,this.override=s,this.generator=!!a},Se={b_stat:new mt("{",!1),b_expr:new mt("{",!0),b_tmpl:new mt("${",!1),p_stat:new mt("(",!1),p_expr:new mt("(",!0),q_tmpl:new mt("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new mt("function",!1),f_expr:new mt("function",!0),f_expr_gen:new mt("function",!0,!1,null,!0),f_gen:new mt("function",!1,!1,null,!0)},Ci=Ie.prototype;Ci.initialContext=function(){return[Se.b_stat]};Ci.curContext=function(){return this.context[this.context.length-1]};Ci.braceIsBlock=function(e){var t=this.curContext();return t===Se.f_expr||t===Se.f_stat?!0:e===b.colon&&(t===Se.b_stat||t===Se.b_expr)?!t.isExpr:e===b._return||e===b.name&&this.exprAllowed?We.test(this.input.slice(this.lastTokEnd,this.start)):e===b._else||e===b.semi||e===b.eof||e===b.parenR||e===b.arrow?!0:e===b.braceL?t===Se.b_stat:e===b._var||e===b._const||e===b.name?!1:!this.exprAllowed};Ci.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!1};Ci.updateContext=function(e){var t,i=this.type;i.keyword&&e===b.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr};Ci.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};b.parenR.updateContext=b.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Se.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};b.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Se.b_stat:Se.b_expr),this.exprAllowed=!0};b.dollarBraceL.updateContext=function(){this.context.push(Se.b_tmpl),this.exprAllowed=!0};b.parenL.updateContext=function(e){var t=e===b._if||e===b._for||e===b._with||e===b._while;this.context.push(t?Se.p_stat:Se.p_expr),this.exprAllowed=!0};b.incDec.updateContext=function(){};b._function.updateContext=b._class.updateContext=function(e){e.beforeExpr&&e!==b._else&&!(e===b.semi&&this.curContext()!==Se.p_stat)&&!(e===b._return&&We.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===b.colon||e===b.braceL)&&this.curContext()===Se.b_stat)?this.context.push(Se.f_expr):this.context.push(Se.f_stat),this.exprAllowed=!1};b.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};b.backQuote.updateContext=function(){this.curContext()===Se.q_tmpl?this.context.pop():this.context.push(Se.q_tmpl),this.exprAllowed=!1};b.star.updateContext=function(e){if(e===b._function){var t=this.context.length-1;this.context[t]===Se.f_expr?this.context[t]=Se.f_expr_gen:this.context[t]=Se.f_gen}this.exprAllowed=!0};b.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==b.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};se=Ie.prototype;se.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,s;switch(n.type){case"Identifier":s=n.name;break;case"Literal":s=String(n.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){s==="__proto__"&&a==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}s="$"+s;var o=t[s];if(o){var l;a==="init"?l=this.strict&&o.init||o.get||o.set:l=o.init||o[a],l&&this.raiseRecoverable(n.start,"Redefinition of property")}else o=t[s]={init:!1,get:!1,set:!1};o[a]=!0}};se.parseExpression=function(e,t){var i=this;return this.catchStackOverflow(function(){var n=i.start,s=i.startLoc,a=i.parseMaybeAssign(e,t);if(i.type===b.comma){var o=i.startNodeAt(n,s);for(o.expressions=[a];i.eat(b.comma);)o.expressions.push(i.parseMaybeAssign(e,t));return i.finishNode(o,"SequenceExpression")}return a})};se.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,s=-1,a=-1,o=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new tn,n=!0);var l=this.start,c=this.startLoc;(this.type===b.parenL||this.type===b.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var f=this.parseMaybeConditional(e,t);if(i&&(f=i.call(this,f,l,c)),this.type.isAssign){var d=this.startNodeAt(l,c);return d.operator=this.value,this.type===b.eq&&(f=this.toAssignable(f,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=-1,t.shorthandAssign>=f.start&&(t.shorthandAssign=-1),t.doubleProto>=f.start&&(t.doubleProto=-1)),this.type===b.eq?this.checkLValPattern(f):this.checkLValSimple(f),d.left=f,this.next(),d.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(d,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),f};se.parseMaybeConditional=function(e,t){var i=this.start,n=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(!(s.type==="ArrowFunctionExpression"&&s.start===i)&&this.eat(b.question)){var a=this.startNodeAt(i,n);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(b.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s};se.parseExprOps=function(e,t){var i=this.start,n=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===i&&s.type==="ArrowFunctionExpression"?s:this.parseExprOp(s,i,n,-1,e)};se.parseExprOp=function(e,t,i,n,s){var a=this.type.binop;if(a!=null&&(!s||this.type!==b._in)&&a>n){var o=this.type===b.logicalOR||this.type===b.logicalAND,l=this.type===b.coalesce;l&&(a=b.logicalAND.binop);var c=this.value;this.next();var f=this.start,d=this.startLoc,m=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),f,d,a,s),y=this.buildBinary(t,i,e,m,c,o||l);return(o&&this.type===b.coalesce||l&&(this.type===b.logicalOR||this.type===b.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(y,t,i,n,s)}return e};se.buildBinary=function(e,t,i,n,s,a){n.type==="PrivateIdentifier"&&this.raise(n.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=i,o.operator=s,o.right=n,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")};se.parseMaybeUnary=function(e,t,i,n){var s=this.start,a=this.startLoc,o;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(n),t=!0;else if(this.type.prefix){var l=this.startNode(),c=this.type===b.incDec;l.operator=this.value,l.prefix=!0,this.next(),l.argument=this.parseMaybeUnary(null,!0,c,n),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(l.argument):this.strict&&l.operator==="delete"&&Kh(l.argument)?this.raiseRecoverable(l.start,"Deleting local variable in strict mode"):l.operator==="delete"&&na(l.argument)?this.raiseRecoverable(l.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(l,c?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===b.privateId)(n||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==b._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var f=this.startNodeAt(s,a);f.operator=this.value,f.prefix=!1,f.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(f,"UpdateExpression")}}if(!i&&!(o.type==="ArrowFunctionExpression"&&o.start===s)&&this.eat(b.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(s,a,o,this.parseMaybeUnary(null,!1,!1,n),"**",!1);else return o};se.parseExprSubscripts=function(e,t){var i=this.start,n=this.startLoc,s=-1,a=-1;e&&(s=e.doubleProto,a=e.shorthandAssign,e.doubleProto=e.shorthandAssign=-1);var o=this.parseExprAtom(e,t);if(o.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return o;var l=this.parseSubscripts(o,i,n,!1,t);return e&&(l.end>o.end&&(this.checkExpressionErrors(e,!0),e.parenthesizedAssign>=l.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=l.start&&(e.parenthesizedBind=-1),e.trailingComma>=l.start&&(e.trailingComma=-1)),s>-1&&(e.doubleProto=s),a>-1&&(e.shorthandAssign=a)),l};se.parseSubscripts=function(e,t,i,n,s){for(var a=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,o=!1;;){var l=this.parseSubscript(e,t,i,n,a,o,s);if(l.optional&&(o=!0),l.end===e.end||l.type==="ArrowFunctionExpression"){if(o){var c=this.startNodeAt(t,i);c.expression=l,l=this.finishNode(c,"ChainExpression")}return l}e=l,a=!1}};se.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(b.arrow)};se.parseSubscriptAsyncArrow=function(e,t,i,n){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,n)};se.parseSubscript=function(e,t,i,n,s,a,o){var l=this.options.ecmaVersion>=11,c=l&&this.eat(b.questionDot);n&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var f=this.eat(b.bracketL);if(f||c&&this.type!==b.parenL&&this.type!==b.backQuote||this.eat(b.dot)){var d=this.startNodeAt(t,i);d.object=e,f?(d.property=this.parseExpression(),this.expect(b.bracketR)):this.type===b.privateId&&e.type!=="Super"?d.property=this.parsePrivateIdent():d.property=this.parseIdent(this.options.allowReserved!=="never"),d.computed=!!f,l&&(d.optional=c),e=this.finishNode(d,"MemberExpression")}else if(!n&&this.eat(b.parenL)){var m=new tn,y=this.yieldPos,g=this.awaitPos,w=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var _=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1,m);if(s&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=y,this.awaitPos=g,this.awaitIdentPos=w,this.parseSubscriptAsyncArrow(t,i,_,o);this.checkExpressionErrors(m,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=g||this.awaitPos,this.awaitIdentPos=w||this.awaitIdentPos;var V=this.startNodeAt(t,i);V.callee=e,V.arguments=_,l&&(V.optional=c),e=this.finishNode(V,"CallExpression")}else if(this.type===b.backQuote){(c||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var S=this.startNodeAt(t,i);S.tag=e,S.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(S,"TaggedTemplateExpression")}return e};se.parseExprAtom=function(e,t,i){this.type===b.slash&&this.readRegexp();var n,s=this.potentialArrowAt===this.start;switch(this.type){case b._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type===b.parenL&&!this.allowDirectSuper&&this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==b.dot&&this.type!==b.bracketL&&this.type!==b.parenL&&this.unexpected(),this.finishNode(n,"Super");case b._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case b.name:var a=this.start,o=this.startLoc,l=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!l&&c.name==="async"&&!this.canInsertSemicolon()&&this.eat(b._function))return this.overrideContext(Se.f_expr),this.parseFunction(this.startNodeAt(a,o),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(b.arrow))return this.parseArrowExpression(this.startNodeAt(a,o),[c],!1,t);if(this.options.ecmaVersion>=8&&c.name==="async"&&this.type===b.name&&!l&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return c=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(b.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,o),[c],!0,t)}return c;case b.regexp:var f=this.value;return n=this.parseLiteral(f.value),n.regex={pattern:f.pattern,flags:f.flags},n;case b.num:case b.string:return this.parseLiteral(this.value);case b._null:case b._true:case b._false:return n=this.startNode(),n.value=this.type===b._null?null:this.type===b._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case b.parenL:var d=this.start,m=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(m)&&(e.parenthesizedAssign=d),e.parenthesizedBind<0&&(e.parenthesizedBind=d)),m;case b.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(b.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case b.braceL:return this.overrideContext(Se.b_expr),this.parseObj(!1,e);case b._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case b._class:return this.parseClass(this.startNode(),!1);case b._new:return this.parseNew();case b.backQuote:return this.parseTemplate();case b._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}};se.parseExprAtomDefault=function(){this.unexpected()};se.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===b.parenL&&!e)return this.parseDynamicImport(t);if(this.type===b.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);return i.name="import",t.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};se.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(b.parenR)?e.options=null:(this.expect(b.comma),this.afterTrailingComma(b.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(b.parenR)||(this.expect(b.comma),this.afterTrailingComma(b.parenR)||this.unexpected())));else if(!this.eat(b.parenR)){var t=this.start;this.eat(b.comma)&&this.eat(b.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};se.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};se.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};se.parseParenExpression=function(){this.expect(b.parenL);var e=this.parseExpression();return this.expect(b.parenR),e};se.shouldParseArrow=function(e){return!this.canInsertSemicolon()};se.parseParenAndDistinguishExpression=function(e,t){var i=this.start,n=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,l=this.startLoc,c=[],f=!0,d=!1,m=new tn,y=this.yieldPos,g=this.awaitPos,w;for(this.yieldPos=0,this.awaitPos=0;this.type!==b.parenR;)if(f?f=!1:this.expect(b.comma),a&&this.afterTrailingComma(b.parenR,!0)){d=!0;break}else if(this.type===b.ellipsis){w=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,m,this.parseParenItem));var _=this.lastTokEnd,V=this.lastTokEndLoc;if(this.expect(b.parenR),e&&this.shouldParseArrow(c)&&this.eat(b.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=g,this.parseParenArrowList(i,n,c,t);(!c.length||d)&&this.unexpected(this.lastTokStart),w&&this.unexpected(w),this.checkExpressionErrors(m,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=g||this.awaitPos,c.length>1?(s=this.startNodeAt(o,l),s.expressions=c,this.finishNodeAt(s,"SequenceExpression",_,V)):s=c[0]}else s=this.parseParenExpression();if(this.options.preserveParens){var S=this.startNodeAt(i,n);return S.expression=s,this.finishNode(S,"ParenthesizedExpression")}else return s};se.parseParenItem=function(e){return e};se.parseParenArrowList=function(e,t,i,n){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,n)};V0=[];se.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===b.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,s=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,s,!0,!1),e.callee.type==="Super"&&this.raiseRecoverable(n,"Invalid use of 'super'"),this.eat(b.parenL)?e.arguments=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1):e.arguments=V0,this.finishNode(e,"NewExpression")};se.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===b.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,`
|
|
34
|
+
`),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
35
|
+
`),cooked:this.value},this.next(),i.tail=this.type===b.backQuote,this.finishNode(i,"TemplateElement")};se.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(i.quasis=[n];!n.tail;)this.type===b.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(b.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(b.braceR),i.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")};se.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===b.name||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===b.star)&&!We.test(this.input.slice(this.lastTokEnd,this.start))};se.parseObj=function(e,t){var i=this.startNode(),n=!0,s={};for(i.properties=[],this.next();!this.eat(b.braceR);){if(n)n=!1;else if(this.expect(b.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(b.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),i.properties.push(a)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};se.parseProperty=function(e,t){var i=this.startNode(),n,s,a,o;if(this.options.ecmaVersion>=9&&this.eat(b.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===b.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(a=this.start,o=this.startLoc),e||(n=this.eat(b.star)));var l=this.containsEsc;return this.parsePropertyName(i),!e&&!l&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(i)?(s=!0,n=this.options.ecmaVersion>=9&&this.eat(b.star),this.parsePropertyName(i)):s=!1,this.parsePropertyValue(i,e,n,s,a,o,t,l),this.finishNode(i,"Property")};se.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var i=e.kind==="get"?0:1;if(e.value.params.length!==i){var n=e.value.start;e.kind==="get"?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};se.parsePropertyValue=function(e,t,i,n,s,a,o,l){(i||n)&&this.type===b.colon&&this.unexpected(),this.eat(b.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===b.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(i,n),e.kind="init"):!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==b.comma&&this.type!==b.braceR&&this.type!==b.eq?((i||n)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===b.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};se.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(b.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(b.bracketR),e.key;e.computed=!1}return e.key=this.type===b.num||this.type===b.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};se.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};se.parseMethod=function(e,t,i){var n=this.startNode(),s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ua(t,n.generator)|$r|(i?Uh:0)),this.expect(b.parenL),n.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(n,"FunctionExpression")};se.parseArrowExpression=function(e,t,i,n){var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(ua(i,!1)|oa),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")};se.parseFunctionBody=function(e,t,i,n){var s=t&&this.type!==b.braceL,a=this.strict,o=!1;if(s)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var l=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||l)&&(o=this.strictDirective(this.end),o&&l&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var c=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,Wh),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()};se.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var n=i[t];if(n.type!=="Identifier")return!1}return!0};se.checkParams=function(e,t){for(var i=Object.create(null),n=0,s=e.params;n<s.length;n+=1){var a=s[n];this.checkLValInnerPattern(a,la,t?null:i)}};se.parseExprList=function(e,t,i,n){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(b.comma),t&&this.afterTrailingComma(e))break;var o=void 0;i&&this.type===b.comma?o=null:this.type===b.ellipsis?(o=this.parseSpread(n),n&&this.type===b.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):o=this.parseMaybeAssign(!1,n),s.push(o)}return s};se.checkUnreserved=function(e){var t=e.start,i=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&en)&&n==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(n==="arguments"||n==="await")&&this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1)){var s=this.strict?this.reservedWordsStrict:this.reservedWords;s.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}};se.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};se.parseIdentNode=function(){var e=this.startNode();return this.type===b.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=b.name):this.unexpected(),e};se.parsePrivateIdent=function(){var e=this.startNode();return this.type===b.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};se.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===b.semi||this.canInsertSemicolon()||this.type!==b.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(b.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};se.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};Xr=Ie.prototype;Xr.raise=function(e,t){var i=qh(this.input,e);t+=" ("+i.line+":"+i.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var n=new SyntaxError(t);throw n.pos=e,n.loc=i,n.raisedAt=this.pos,n};Xr.raiseRecoverable=Xr.raise;Xr.curPosition=function(){if(this.options.locations)return new $i(this.curLine,this.pos-this.lineStart)};Ut=Ie.prototype,F0=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};Ut.enterScope=function(e){this.scopeStack.push(new F0(e))};Ut.exitScope=function(){this.scopeStack.pop()};Ut.treatFunctionsAsVarInScope=function(e){return e.flags&ri||!this.inModule&&e.flags&ii};Ut.declareName=function(e,t,i){var n=!1;if(t===Ft){var s=this.currentScope();n=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&ii&&delete this.undefinedExports[e]}else if(t===Gh){var a=this.currentScope();a.lexical.push(e)}else if(t===Hh){var o=this.currentScope();this.treatFunctionsAsVar?n=o.lexical.indexOf(e)>-1:n=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var c=this.scopeStack[l];if(c.lexical.indexOf(e)>-1&&!(c.flags&jh&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){n=!0;break}if(c.var.push(e),this.inModule&&c.flags&ii&&delete this.undefinedExports[e],c.flags&en)break}n&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};Ut.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Ut.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ut.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(en|er|ni))return t}};Ut.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(en|er|ni)&&!(t.flags&oa))return t}};rn=function(t,i,n){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new Zr(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},tr=Ie.prototype;tr.startNode=function(){return new rn(this,this.start,this.startLoc)};tr.startNodeAt=function(e,t){return new rn(this,e,t)};tr.finishNode=function(e,t){return Xh.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};tr.finishNodeAt=function(e,t,i,n){return Xh.call(this,e,t,i,n)};tr.copyNode=function(e){var t=new rn(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};R0="Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",Yh="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",Zh=Yh+" Extended_Pictographic",$h=Zh,ep=$h+" EBase EComp EMod EPres ExtPict",tp=ep,D0=tp,B0={9:Yh,10:Zh,11:$h,12:ep,13:tp,14:D0},O0="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",M0={9:"",10:"",11:"",12:"",13:"",14:O0},Nh="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",ip="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",rp=ip+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",np=rp+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",sp=np+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ap=sp+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",q0=ap+" "+R0,z0={9:ip,10:rp,11:np,12:sp,13:ap,14:q0},op={};for(Wr=0,ea=[9,10,11,12,13,14];Wr<ea.length;Wr+=1)Vh=ea[Wr],j0(Vh);G=Ie.prototype,Yr=function(t,i){this.parent=t,this.base=i||this};Yr.prototype.separatedFrom=function(t){for(var i=this;i;i=i.parent)for(var n=t;n;n=n.parent)if(i.base===n.base&&i!==n)return!0;return!1};Yr.prototype.sibling=function(){return new Yr(this.parent,this.base)};vt=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=op[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};vt.prototype.reset=function(t,i,n){var s=n.indexOf("v")!==-1,a=n.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=n,s&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)};vt.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};vt.prototype.at=function(t,i){i===void 0&&(i=!1);var n=this.source,s=n.length;if(t>=s)return-1;var a=n.charCodeAt(t);if(!(i||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var o=n.charCodeAt(t+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a};vt.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var n=this.source,s=n.length;if(t>=s)return s;var a=n.charCodeAt(t),o;return!(i||this.switchU)||a<=55295||a>=57344||t+1>=s||(o=n.charCodeAt(t+1))<56320||o>57343?t+1:t+2};vt.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};vt.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};vt.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};vt.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1};vt.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var n=this.pos,s=0,a=t;s<a.length;s+=1){var o=a[s],l=this.at(n,i);if(l===-1||l!==o)return!1;n=this.nextIndex(n,i)}return this.pos=n,!0};G.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,n=!1,s=!1,a=0;a<i.length;a++){var o=i.charAt(a);t.indexOf(o)===-1&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(o,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),o==="u"&&(n=!0),o==="v"&&(s=!0)}this.options.ecmaVersion>=15&&n&&s&&this.raise(e.start,"Invalid regular expression flag")};G.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&U0(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};G.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var n=i[t];e.groupNames[n]||e.raise("Invalid named capture referenced")}};G.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Yr(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};G.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};G.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};G.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1};G.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};G.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};G.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var n=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}return!1};G.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)};G.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};G.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var i=this.regexp_eatModifiers(e),n=e.eat(45);if(i||n){for(var s=0;s<i.length;s++){var a=i.charAt(s);i.indexOf(a,s+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(n){var o=this.regexp_eatModifiers(e);!i&&!o&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var l=0;l<o.length;l++){var c=o.charAt(l);(o.indexOf(c,l+1)>-1||i.indexOf(c)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};G.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};G.regexp_eatModifiers=function(e){for(var t="",i=0;(i=e.current())!==-1&&J0(i);)t+=Nt(i),e.advance();return t};G.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)};G.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};G.regexp_eatSyntaxCharacter=function(e){var t=e.current();return up(t)?(e.lastIntValue=t,e.advance(),!0):!1};G.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!up(i);)e.advance();return e.pos!==t};G.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};G.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,i=e.groupNames[e.lastStringValue];if(i)if(t)for(var n=0,s=i;n<s.length;n+=1){var a=s[n];a.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(i||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};G.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};G.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Nt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Nt(e.lastIntValue);return!0}return!1};G.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,n=e.current(i);return e.advance(i),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(n=e.lastIntValue),H0(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};G.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,n=e.current(i);return e.advance(i),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(n=e.lastIntValue),G0(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};G.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};G.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1};G.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};G.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,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};G.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};G.regexp_eatZero=function(e){return e.current()===48&&!nn(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};G.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};G.regexp_eatControlLetter=function(e){var t=e.current();return lp(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};G.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(n&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(s-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&W0(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=i}return!1};G.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};G.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!0}return!1};cp=0,Vt=1,st=2;G.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Q0(t))return e.lastIntValue=-1,e.advance(),Vt;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1,e.advance();var n;if(e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&n===st&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return cp};G.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;return this.regexp_validateUnicodePropertyNameAndValue(e,i,n),Vt}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s)}return cp};G.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){Si(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")};G.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Vt;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return st;e.raise("Invalid property name")};G.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";hp(t=e.current());)e.lastStringValue+=Nt(t),e.advance();return e.lastStringValue!==""};G.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";K0(t=e.current());)e.lastStringValue+=Nt(t),e.advance();return e.lastStringValue!==""};G.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};G.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===st&&e.raise("Negated character class may contain strings"),!0}return!1};G.regexp_classContents=function(e){return e.current()===93?Vt:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Vt)};G.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}};G.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||dp(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1};G.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};G.regexp_classSetExpression=function(e){var t=Vt,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===st&&(t=st);for(var n=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==st&&(t=Vt);continue}e.raise("Invalid character in character class")}if(n!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(i=this.regexp_eatClassSetOperand(e),!i)return t;i===st&&(t=st)}};G.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return i!==-1&&n!==-1&&i>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};G.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Vt:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};G.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return i&&n===st&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var s=this.regexp_eatCharacterClassEscape(e);if(s)return s;e.pos=t}return null};G.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null};G.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===st&&(t=st);return t};G.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Vt:st};G.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var i=e.current();return i<0||i===e.lookahead()&&X0(i)||Y0(i)?!1:(e.advance(),e.lastIntValue=i,!0)};G.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return Z0(t)?(e.lastIntValue=t,e.advance(),!0):!1};G.regexp_eatClassControlLetter=function(e){var t=e.current();return nn(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};G.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};G.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;nn(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};G.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;pp(i=e.current());)e.lastIntValue=16*e.lastIntValue+fp(i),e.advance();return e.pos!==t};G.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1};G.regexp_eatOctalDigit=function(e){var t=e.current();return dp(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};G.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var s=e.current();if(!pp(s))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+fp(s),e.advance()}return!0};ha=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Zr(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},ce=Ie.prototype;ce.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new ha(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};ce.getToken=function(){return this.next(),new ha(this)};typeof Symbol<"u"&&(ce[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===b.eof,value:t}}}});ce.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(b.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};ce.readToken=function(e){return yt(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};ce.fullCharCodeAt=function(e){var t=this.input.charCodeAt(e);if(t<=55295||t>=56320)return t;var i=this.input.charCodeAt(e+1);return i<=56319||i>=57344?t:(t<<10)+i-56613888};ce.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)};ce.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var n=void 0,s=t;(n=Bh(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())};ce.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!wi(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())};ce.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,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&&Oh.test(String.fromCharCode(e)))++this.pos;else break e}}};ce.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)};ce.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(b.ellipsis)):(++this.pos,this.finishToken(b.dot))};ce.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(b.assign,2):this.finishOp(b.slash,1)};ce.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,n=e===42?b.star:b.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,n=b.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(b.assign,i+1):this.finishOp(n,i)};ce.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(b.assign,3)}return this.finishOp(e===124?b.logicalOR:b.logicalAND,2)}return t===61?this.finishOp(b.assign,2):this.finishOp(e===124?b.bitwiseOR:b.bitwiseAND,1)};ce.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(b.assign,2):this.finishOp(b.bitwiseXOR,1)};ce.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||We.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(b.incDec,2):t===61?this.finishOp(b.assign,2):this.finishOp(b.plusMin,1)};ce.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(b.assign,i+1):this.finishOp(b.bitShift,i)):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(),this.nextToken()):(t===61&&(i=2),this.finishOp(b.relational,i))};ce.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(b.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(b.arrow)):this.finishOp(e===61?b.eq:b.prefix,1)};ce.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(b.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(b.assign,3)}return this.finishOp(b.coalesce,2)}}return this.finishOp(b.question,1)};ce.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),yt(t,!0)||t===92))return this.finishToken(b.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Nt(t)+"'")};ce.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(b.parenL);case 41:return++this.pos,this.finishToken(b.parenR);case 59:return++this.pos,this.finishToken(b.semi);case 44:return++this.pos,this.finishToken(b.comma);case 91:return++this.pos,this.finishToken(b.bracketL);case 93:return++this.pos,this.finishToken(b.bracketR);case 123:return++this.pos,this.finishToken(b.braceL);case 125:return++this.pos,this.finishToken(b.braceR);case 58:return++this.pos,this.finishToken(b.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(b.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(!1);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(b.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Nt(e)+"'")};ce.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)};ce.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(We.test(n)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var s=this.input.slice(i,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var l=this.regexpState||(this.regexpState=new vt(this));l.reset(i,s,o),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var c=null;try{c=new RegExp(s,o)}catch{}return this.finishToken(b.regexp,{pattern:s,flags:o,value:c})};ce.readInt=function(e,t,i){for(var n=this.options.ecmaVersion>=12&&t===void 0,s=i&&this.input.charCodeAt(this.pos)===48,a=this.pos,o=0,l=0,c=0,f=t??1/0;c<f;++c,++this.pos){var d=this.input.charCodeAt(this.pos),m=void 0;if(n&&d===95){s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),l===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),c===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),l=d;continue}if(d>=97?m=d-97+10:d>=65?m=d-65+10:d>=48&&d<=57?m=d-48:m=1/0,m>=e)break;l=d,o=o*e+m}return n&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:o};ce.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=mp(this.input.slice(t,this.pos)),++this.pos):yt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,i)};ce.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;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 s=mp(this.input.slice(t,this.pos));return++this.pos,yt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,s)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),n===46&&!i&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!i&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),yt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=$0(this.input.slice(t,this.pos),i);return this.finishToken(b.num,a)};ce.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t};ce.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):n===8232||n===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(wi(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(b.string,t)};xp={};ce.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===xp)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};ce.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw xp;this.raise(e,t)};ce.readTmplToken=function(){for(var e="",t=this.pos;;){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)return this.pos===this.start&&(this.type===b.template||this.type===b.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(b.dollarBraceL)):(++this.pos,this.finishToken(b.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(b.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(wi(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
36
|
+
`;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};ce.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(b.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
37
|
+
`&&++this.pos;case`
|
|
38
|
+
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};ce.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
39
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Nt(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(n,8);return s>255&&(n=n.slice(0,-1),s=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(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"),String.fromCharCode(s)}return wi(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};ce.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i};ce.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(Lt(s,n))this.pos+=s<=65535?1:2;else if(s===92){this.containsEsc=!0,e+=this.input.slice(i,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?yt:Lt)(o,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=Nt(o),i=this.pos}else break;t=!1}return e+this.input.slice(i,this.pos)};ce.readWord=function(){var e=this.readWord1(),t=b.name;return this.keywords.test(e)&&(t=sa[e]),this.finishToken(t,e)};eg="8.19.0";Ie.acorn={Parser:Ie,version:eg,defaultOptions:ia,Position:$i,SourceLocation:Zr,getLineInfo:qh,Node:rn,TokenType:fe,tokTypes:b,keywordTypes:sa,TokContext:mt,tokContexts:Se,isIdentifierChar:Lt,isIdentifierStart:yt,Token:ha,isNewLine:wi,lineBreak:We,lineBreakG:w0,nonASCIIwhitespace:Oh}});var kp=Ni((lC,bp)=>{bp.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}});var pa=Ni((sn,yp)=>{(function(e,t){typeof sn=="object"&&typeof yp<"u"?t(sn):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.acorn={}))})(sn,(function(e){"use strict";var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,31,4,33,15,71,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,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,199,7,137,9,54,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,55,9,7,0,259,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,481,1,61,4,4,5,9,7,3,6,31,3,149,2,12,2,9,1,3,0,33,1,1357,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],i=[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,4,51,13,310,10,21,11,7,25,5,2,41,2,13,65,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,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,39,27,10,22,251,41,7,1,17,5,18,21,18,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,20,1,64,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,18,0,182,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,22,0,239,18,16,0,2,12,2,33,125,0,80,921,103,111,6,206,13,310,2314,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7386,37,33,96,114,14,913,15,50,7710,3,2,6,2,1,2,296,10,0,30,2,3,0,15,4,8,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,340,2,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,129,15,6,55,50,49,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4382,2,5773,3,7472,16,621,2467,541,1507,4938,6,8489,39815,11327],n="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05C9\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\u0897-\u089F\u08CA-\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\u0B53-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\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\u0CF3\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-\u0ECE\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-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1AF0\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-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65",s="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\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\u0558\u0559\u0560-\u0588\u058B\u058C\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\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\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\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\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-\u1711\u171F-\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-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\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\u208F-\u209F\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\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-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DD\uA7E2\uA7F1-\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\uAB6C\uAB6D\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",a={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"},o="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",l={5:o,"5module":o+" export import",6:o+" const class extends export import super"},c=/^in(stanceof)?$/,f=new RegExp("["+s+"]"),d=new RegExp("["+s+n+"]");function m(r,u){for(var h=65536,x=0;x<u.length;x+=2){if(h+=u[x],h>r)return!1;if(h+=u[x+1],h>=r)return!0}return!1}function y(r,u){return r<65?r===36:r<91?!0:r<97?r===95:r<123?!0:r<=65535?r>=170&&f.test(String.fromCharCode(r)):u===!1?!1:m(r,i)}function g(r,u){return r<48?r===36:r<58?!0:r<65?!1:r<91?!0:r<97?r===95:r<123?!0:r<=65535?r>=170&&d.test(String.fromCharCode(r)):u===!1?!1:m(r,i)||m(r,t)}var w=function(u,h){h===void 0&&(h={}),this.label=u,this.keyword=h.keyword,this.beforeExpr=!!h.beforeExpr,this.startsExpr=!!h.startsExpr,this.isLoop=!!h.isLoop,this.isAssign=!!h.isAssign,this.prefix=!!h.prefix,this.postfix=!!h.postfix,this.binop=h.binop||null,this.updateContext=null};function _(r,u){return new w(r,{beforeExpr:!0,binop:u})}var V={beforeExpr:!0},S={startsExpr:!0},F={};function C(r,u){return u===void 0&&(u={}),u.keyword=r,F[r]=new w(r,u)}var p={num:new w("num",S),regexp:new w("regexp",S),string:new w("string",S),name:new w("name",S),privateId:new w("privateId",S),eof:new w("eof"),bracketL:new w("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new w("]"),braceL:new w("{",{beforeExpr:!0,startsExpr:!0}),braceR:new w("}"),parenL:new w("(",{beforeExpr:!0,startsExpr:!0}),parenR:new w(")"),comma:new w(",",V),semi:new w(";",V),colon:new w(":",V),dot:new w("."),question:new w("?",V),questionDot:new w("?."),arrow:new w("=>",V),template:new w("template"),invalidTemplate:new w("invalidTemplate"),ellipsis:new w("...",V),backQuote:new w("`",S),dollarBraceL:new w("${",{beforeExpr:!0,startsExpr:!0}),eq:new w("=",{beforeExpr:!0,isAssign:!0}),assign:new w("_=",{beforeExpr:!0,isAssign:!0}),incDec:new w("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new w("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),plusMin:new w("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:_("%",10),star:_("*",10),slash:_("/",10),starstar:new w("**",{beforeExpr:!0}),coalesce:_("??",1),_break:C("break"),_case:C("case",V),_catch:C("catch"),_continue:C("continue"),_debugger:C("debugger"),_default:C("default",V),_do:C("do",{isLoop:!0,beforeExpr:!0}),_else:C("else",V),_finally:C("finally"),_for:C("for",{isLoop:!0}),_function:C("function",S),_if:C("if"),_return:C("return",V),_switch:C("switch"),_throw:C("throw",V),_try:C("try"),_var:C("var"),_const:C("const"),_while:C("while",{isLoop:!0}),_with:C("with"),_new:C("new",{beforeExpr:!0,startsExpr:!0}),_this:C("this",S),_super:C("super",S),_class:C("class",S),_extends:C("extends",V),_export:C("export"),_import:C("import",S),_null:C("null",S),_true:C("true",S),_false:C("false",S),_in:C("in",{beforeExpr:!0,binop:7}),_instanceof:C("instanceof",{beforeExpr:!0,binop:7}),_typeof:C("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:C("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:C("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},O=/\r\n?|\n|\u2028|\u2029/,R=new RegExp(O.source,"g");function D(r){return r===10||r===13||r===8232||r===8233}function B(r,u,h){h===void 0&&(h=r.length);for(var x=u;x<h;x++){var v=r.charCodeAt(x);if(D(v))return x<h-1&&v===13&&r.charCodeAt(x+1)===10?x+2:x+1}return-1}var U=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,T=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,K=Object.prototype,te=K.hasOwnProperty,q=K.toString,Y=Object.hasOwn||(function(r,u){return te.call(r,u)}),ee=Array.isArray||(function(r){return q.call(r)==="[object Array]"}),he=Object.create(null);function $(r){return he[r]||(he[r]=new RegExp("^(?:"+r.replace(/ /g,"|")+")$"))}function me(r){return r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode((r>>10)+55296,(r&1023)+56320))}var Ue=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,E=function(u,h){this.line=u,this.column=h};E.prototype.offset=function(u){return new E(this.line,this.column+u)};var _e=function(u,h,x){this.start=h,this.end=x,u.sourceFile!==null&&(this.source=u.sourceFile)};function ze(r,u){for(var h=1,x=0;;){var v=B(r,x,u);if(v<0)return new E(h,u-x);++h,x=v}}var A={ecmaVersion:null,sourceType:"script",strict:!1,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,startLocation:null,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Ne=!1;function ut(r){var u={};for(var h in A)u[h]=r&&Y(r,h)?r[h]:A[h];if(u.ecmaVersion==="latest"?u.ecmaVersion=1e8:u.ecmaVersion==null?(!Ne&&typeof console=="object"&&console.warn&&(Ne=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
40
|
+
Defaulting to 2020, but this will stop working in the future.`)),u.ecmaVersion=11):u.ecmaVersion>=2015&&(u.ecmaVersion-=2009),u.allowReserved==null&&(u.allowReserved=u.ecmaVersion<5),(!r||r.allowHashBang==null)&&(u.allowHashBang=u.ecmaVersion>=14),ee(u.onToken)){var x=u.onToken;u.onToken=function(v){return x.push(v)}}if(ee(u.onComment)&&(u.onComment=wt(u,u.onComment)),u.sourceType==="commonjs"&&u.allowAwaitOutsideFunction)throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return u}function wt(r,u){return function(h,x,v,P,L,M){var J={type:h?"Block":"Line",value:x,start:v,end:P};r.locations&&(J.loc=new _e(this,L,M)),r.ranges&&(J.range=[v,P]),u.push(J)}}var Je=1,xe=2,Ye=4,He=8,Te=16,Ze=32,lt=64,oi=128,ct=256,ht=512,Jt=1024,xt=Je|xe|ct;function Ht(r,u){return xe|(r?Ye:0)|(u?He:0)}var pt=0,St=1,Qe=2,Ct=3,ge=4,Gt=5,be=function(u,h,x){this.options=u=ut(u),this.sourceFile=u.sourceFile,this.keywords=$(l[u.ecmaVersion>=6?6:u.sourceType==="module"?"5module":5]);var v="";u.allowReserved!==!0&&(v=a[u.ecmaVersion>=6?6:u.ecmaVersion===5?5:3],u.sourceType==="module"&&(v+=" await")),this.reservedWords=$(v);var P=(v?v+" ":"")+a.strict;this.reservedWordsStrict=$(P),this.reservedWordsStrictBind=$(P+" "+a.strictBind),this.input=String(h),this.containsEsc=!1,this.pos=x||0,this.curLine=1,u.startLocation?(this.lineStart=this.pos-u.startLocation.column,this.curLine=u.startLocation.line):x?(this.lineStart=this.input.lastIndexOf(`
|
|
41
|
+
`,x-1)+1,this.options.locations&&(this.curLine=this.input.slice(0,this.lineStart).split(O).length)):this.lineStart=0,this.type=p.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=!0,this.inModule=u.sourceType==="module",this.strict=this.inModule||u.strict===!0||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&u.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?xe:Je),this.regexpState=null,this.privateNameStack=[]},N={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};be.prototype.parse=function(){var u=this,h=this.options.program||this.startNode();return this.nextToken(),this.catchStackOverflow(function(){return u.parseTopLevel(h)})},N.inFunction.get=function(){return(this.currentVarScope().flags&xe)>0},N.inGenerator.get=function(){return(this.currentVarScope().flags&He)>0},N.inAsync.get=function(){return(this.currentVarScope().flags&Ye)>0},N.canAwait.get=function(){for(var r=this.scopeStack.length-1;r>=0;r--){var u=this.scopeStack[r],h=u.flags;if(h&(ct|ht))return!1;if(h&xe)return(h&Ye)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},N.allowReturn.get=function(){return!!(this.inFunction||this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&Je)},N.allowSuper.get=function(){var r=this.currentThisScope(),u=r.flags;return(u<)>0||this.options.allowSuperOutsideMethod},N.allowDirectSuper.get=function(){return(this.currentThisScope().flags&oi)>0},N.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},N.allowNewDotTarget.get=function(){for(var r=this.scopeStack.length-1;r>=0;r--){var u=this.scopeStack[r],h=u.flags;if(h&(ct|ht)||h&xe&&!(h&Te))return!0}return!1},N.allowUsing.get=function(){var r=this.currentScope(),u=r.flags;return!(u&Jt||!this.inModule&&u&Je)},N.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&ct)>0},be.extend=function(){for(var u=[],h=arguments.length;h--;)u[h]=arguments[h];for(var x=this,v=0;v<u.length;v++)x=u[v](x);return x},be.parse=function(u,h){return new this(h,u).parse()},be.parseExpressionAt=function(u,h,x){var v=new this(x,u,h);return v.nextToken(),v.parseExpression()},be.tokenizer=function(u,h){return new this(h,u)},Object.defineProperties(be.prototype,N);var k=be.prototype,Z=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;k.strictDirective=function(r){if(this.options.ecmaVersion<5)return!1;for(;;){T.lastIndex=r,r+=T.exec(this.input)[0].length;var u=Z.exec(this.input.slice(r));if(!u)return!1;if((u[1]||u[2])==="use strict"){T.lastIndex=r+u[0].length;var h=T.exec(this.input),x=h.index+h[0].length,v=this.input.charAt(x);return v===";"||v==="}"||O.test(h[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(v)||v==="!"&&this.input.charAt(x+1)==="="||v==="i"&&ae(this,x))}r+=u[0].length,T.lastIndex=r,r+=T.exec(this.input)[0].length,this.input[r]===";"&&r++}};function ae(r,u){for(var h=u+1,x=Math.min(r.input.length,u+11);h<x;){var v=r.fullCharCodeAt(h);if(!g(v,!0))break;h+=v<=65535?1:2}return h===u+2&&r.input.slice(u,h)==="in"||h===u+10&&r.input.slice(u,h)==="instanceof"}k.eat=function(r){return this.type===r?(this.next(),!0):!1},k.isContextual=function(r){return this.type===p.name&&this.value===r&&!this.containsEsc},k.eatContextual=function(r){return this.isContextual(r)?(this.next(),!0):!1},k.catchStackOverflow=function(r){try{return r()}catch(u){if(u instanceof Error&&(/\bstack\b.*\b(exceeded|overflow)\b/i.test(u.message)||/\btoo much recursion\b/i.test(u.message)))this.raise(this.start,"Not enough stack space to parse input");else throw u}},k.expectContextual=function(r){this.eatContextual(r)||this.unexpected()},k.canInsertSemicolon=function(){return this.type===p.eof||this.type===p.braceR||O.test(this.input.slice(this.lastTokEnd,this.start))},k.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},k.semicolon=function(){!this.eat(p.semi)&&!this.insertSemicolon()&&this.unexpected()},k.afterTrailingComma=function(r,u){if(this.type===r)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),u||this.next(),!0},k.expect=function(r){this.eat(r)||this.unexpected()},k.unexpected=function(r){this.raise(r??this.start,"Unexpected token")};var Ce=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};k.checkPatternErrors=function(r,u){if(r){r.trailingComma>-1&&this.raiseRecoverable(r.trailingComma,"Comma is not permitted after the rest element");var h=u?r.parenthesizedAssign:r.parenthesizedBind;h>-1&&this.raiseRecoverable(h,u?"Assigning to rvalue":"Parenthesized pattern")}},k.checkExpressionErrors=function(r,u){if(!r)return!1;var h=r.shorthandAssign,x=r.doubleProto;if(!u)return h>=0||x>=0;h>=0&&this.raise(h,"Shorthand property assignments are valid only in destructuring patterns"),x>=0&&this.raiseRecoverable(x,"Redefinition of __proto__ property")},k.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},k.isSimpleAssignTarget=function(r){return r.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(r.expression):r.type==="Identifier"||r.type==="MemberExpression"};var z=be.prototype;z.parseTopLevel=function(r){var u=Object.create(null);for(r.body||(r.body=[]);this.type!==p.eof;){var h=this.parseStatement(null,!0,u);r.body.push(h)}if(this.inModule)for(var x=0,v=Object.keys(this.undefinedExports);x<v.length;x+=1){var P=v[x];this.raiseRecoverable(this.undefinedExports[P].start,"Export '"+P+"' is not defined")}return this.adaptDirectivePrologue(r.body),this.next(),r.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(r,"Program")};var Ve={kind:"loop"},$e={kind:"switch"};z.isLet=function(r){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;T.lastIndex=this.pos;var u=T.exec(this.input),h=this.pos+u[0].length,x=this.fullCharCodeAt(h);if(x===91||x===92)return!0;if(r)return!1;if(x===123)return!0;if(y(x)){var v=h;do h+=x<=65535?1:2;while(g(x=this.fullCharCodeAt(h)));if(x===92)return!0;var P=this.input.slice(v,h);if(!c.test(P))return!0}return!1},z.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;T.lastIndex=this.pos;var r=T.exec(this.input),u=this.pos+r[0].length,h;return!O.test(this.input.slice(this.pos,u))&&this.input.slice(u,u+8)==="function"&&(u+8===this.input.length||!(g(h=this.fullCharCodeAt(u+8))||h===92))},z.isUsingKeyword=function(r,u){if(this.options.ecmaVersion<17||!this.isContextual(r?"await":"using"))return!1;T.lastIndex=this.pos;var h=T.exec(this.input),x=this.pos+h[0].length;if(O.test(this.input.slice(this.pos,x)))return!1;if(r){var v=x+5,P;if(this.input.slice(x,v)!=="using"||v===this.input.length||g(P=this.fullCharCodeAt(v))||P===92)return!1;T.lastIndex=v;var L=T.exec(this.input);if(x=v+L[0].length,L&&O.test(this.input.slice(v,x)))return!1}var M=this.fullCharCodeAt(x);if(!y(M)&&M!==92)return!1;var J=x;do x+=M<=65535?1:2;while(g(M=this.fullCharCodeAt(x)));if(M===92)return!0;var ie=this.input.slice(J,x);if(c.test(ie))return!1;if(u&&!r&&ie==="of"){T.lastIndex=x;var oe=T.exec(this.input);if(x=x+oe[0].length,this.input.charCodeAt(x)!==61||(M=this.input.charCodeAt(x+1))===61||M===62)return!1}return!0},z.isAwaitUsing=function(r){return this.isUsingKeyword(!0,r)},z.isUsing=function(r){return this.isUsingKeyword(!1,r)},z.parseStatement=function(r,u,h){var x=this.type,v=this.startNode(),P;switch(this.isLet(r)&&(x=p._var,P="let"),x){case p._break:case p._continue:return this.parseBreakContinueStatement(v,x.keyword);case p._debugger:return this.parseDebuggerStatement(v);case p._do:return this.parseDoStatement(v);case p._for:return this.parseForStatement(v);case p._function:return r&&(this.strict||r!=="if"&&r!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(v,!1,!r);case p._class:return r&&this.unexpected(),this.parseClass(v,!0);case p._if:return this.parseIfStatement(v);case p._return:return this.parseReturnStatement(v);case p._switch:return this.parseSwitchStatement(v);case p._throw:return this.parseThrowStatement(v);case p._try:return this.parseTryStatement(v);case p._const:case p._var:return P=P||this.value,r&&P!=="var"&&this.unexpected(),this.parseVarStatement(v,P);case p._while:return this.parseWhileStatement(v);case p._with:return this.parseWithStatement(v);case p.braceL:return this.parseBlock(!0,v);case p.semi:return this.parseEmptyStatement(v);case p._export:case p._import:if(this.options.ecmaVersion>10&&x===p._import){T.lastIndex=this.pos;var L=T.exec(this.input),M=this.pos+L[0].length,J=this.input.charCodeAt(M);if(J===40||J===46)return this.parseExpressionStatement(v,this.parseExpression())}return this.options.allowImportExportEverywhere||(u||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),x===p._import?this.parseImport(v):this.parseExport(v,h);default:if(this.isAsyncFunction())return r&&this.unexpected(),this.next(),this.parseFunctionStatement(v,!0,!r);var ie=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(ie)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),r&&this.raise(this.start,"Using declaration is not allowed in single-statement positions"),ie==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(v,!1,ie),this.semicolon(),this.finishNode(v,"VariableDeclaration");var oe=this.value,ye=this.parseExpression();return x===p.name&&ye.type==="Identifier"&&this.eat(p.colon)?this.parseLabeledStatement(v,oe,ye,r):this.parseExpressionStatement(v,ye)}},z.parseBreakContinueStatement=function(r,u){var h=u==="break";this.next(),this.eat(p.semi)||this.insertSemicolon()?r.label=null:this.type!==p.name?this.unexpected():(r.label=this.parseIdent(),this.semicolon());for(var x=0;x<this.labels.length;++x){var v=this.labels[x];if((r.label==null||v.name===r.label.name)&&(v.kind!=null&&(h||v.kind==="loop")||r.label&&h))break}return x===this.labels.length&&this.raise(r.start,"Unsyntactic "+u),this.finishNode(r,h?"BreakStatement":"ContinueStatement")},z.parseDebuggerStatement=function(r){return this.next(),this.semicolon(),this.finishNode(r,"DebuggerStatement")},z.parseDoStatement=function(r){return this.next(),this.labels.push(Ve),r.body=this.parseStatement("do"),this.labels.pop(),this.expect(p._while),r.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(p.semi):this.semicolon(),this.finishNode(r,"DoWhileStatement")},z.parseForStatement=function(r){this.next();var u=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ve),this.enterScope(0),this.expect(p.parenL),this.type===p.semi)return u>-1&&this.unexpected(u),this.parseFor(r,null);var h=this.isLet();if(this.type===p._var||this.type===p._const||h){var x=this.startNode(),v=h?"let":this.value;return this.next(),this.parseVar(x,!0,v),this.finishNode(x,"VariableDeclaration"),this.parseForAfterInit(r,x,u)}var P=this.isContextual("let"),L=!1,M=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(M){var J=this.startNode();return this.next(),M==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(J,!0,M),this.finishNode(J,"VariableDeclaration"),this.parseForAfterInit(r,J,u)}var ie=this.containsEsc,oe=new Ce,ye=this.start,Be=u>-1?this.parseExprSubscripts(oe,"await"):this.parseExpression(!0,oe);return this.type===p._in||(L=this.options.ecmaVersion>=6&&this.isContextual("of"))?(u>-1?(this.type===p._in&&this.unexpected(u),r.await=!0):L&&this.options.ecmaVersion>=8&&(Be.start===ye&&!ie&&Be.type==="Identifier"&&Be.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(r.await=!1)),P&&L&&this.raise(Be.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Be,!1,oe),this.checkLValPattern(Be),this.parseForIn(r,Be)):(this.checkExpressionErrors(oe,!0),u>-1&&this.unexpected(u),this.parseFor(r,Be))},z.parseForAfterInit=function(r,u,h){return(this.type===p._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&u.declarations.length===1?(this.type===p._in?((u.kind==="using"||u.kind==="await using")&&!u.declarations[0].init&&this.raise(this.start,"Using declaration is not allowed in for-in loops"),this.options.ecmaVersion>=9&&h>-1&&this.unexpected(h)):this.options.ecmaVersion>=9&&(r.await=h>-1),this.parseForIn(r,u)):(h>-1&&this.unexpected(h),this.parseFor(r,u))},z.parseFunctionStatement=function(r,u,h){return this.next(),this.parseFunction(r,ft|(h?0:Et),!1,u)},z.parseIfStatement=function(r){return this.next(),r.test=this.parseParenExpression(),r.consequent=this.parseStatement("if"),r.alternate=this.eat(p._else)?this.parseStatement("if"):null,this.finishNode(r,"IfStatement")},z.parseReturnStatement=function(r){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(p.semi)||this.insertSemicolon()?r.argument=null:(r.argument=this.parseExpression(),this.semicolon()),this.finishNode(r,"ReturnStatement")},z.parseSwitchStatement=function(r){this.next(),r.discriminant=this.parseParenExpression(),r.cases=[],this.expect(p.braceL),this.labels.push($e),this.enterScope(Jt);for(var u,h=!1;this.type!==p.braceR;)if(this.type===p._case||this.type===p._default){var x=this.type===p._case;u&&this.finishNode(u,"SwitchCase"),r.cases.push(u=this.startNode()),u.consequent=[],this.next(),x?u.test=this.parseExpression():(h&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),h=!0,u.test=null),this.expect(p.colon)}else u||this.unexpected(),u.consequent.push(this.parseStatement(null));return this.exitScope(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(r,"SwitchStatement")},z.parseThrowStatement=function(r){return this.next(),O.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),r.argument=this.parseExpression(),this.semicolon(),this.finishNode(r,"ThrowStatement")};var Wt=[];z.parseCatchClauseParam=function(){var r=this.parseBindingAtom(),u=r.type==="Identifier";return this.enterScope(u?Ze:0),this.checkLValPattern(r,u?ge:Qe),this.expect(p.parenR),r},z.parseTryStatement=function(r){if(this.next(),r.block=this.parseBlock(),r.handler=null,this.type===p._catch){var u=this.startNode();this.next(),this.eat(p.parenL)?u.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),u.param=null,this.enterScope(0)),u.body=this.parseBlock(!1),this.exitScope(),r.handler=this.finishNode(u,"CatchClause")}return r.finalizer=this.eat(p._finally)?this.parseBlock():null,!r.handler&&!r.finalizer&&this.raise(r.start,"Missing catch or finally clause"),this.finishNode(r,"TryStatement")},z.parseVarStatement=function(r,u,h){return this.next(),this.parseVar(r,!1,u,h),this.semicolon(),this.finishNode(r,"VariableDeclaration")},z.parseWhileStatement=function(r){return this.next(),r.test=this.parseParenExpression(),this.labels.push(Ve),r.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(r,"WhileStatement")},z.parseWithStatement=function(r){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),r.object=this.parseParenExpression(),r.body=this.parseStatement("with"),this.finishNode(r,"WithStatement")},z.parseEmptyStatement=function(r){return this.next(),this.finishNode(r,"EmptyStatement")},z.parseLabeledStatement=function(r,u,h,x){for(var v=0,P=this.labels;v<P.length;v+=1){var L=P[v];L.name===u&&this.raise(h.start,"Label '"+u+"' is already declared")}for(var M=this.type.isLoop?"loop":this.type===p._switch?"switch":null,J=this.labels.length-1;J>=0;J--){var ie=this.labels[J];if(ie.statementStart===r.start)ie.statementStart=this.start,ie.kind=M;else break}return this.labels.push({name:u,kind:M,statementStart:this.start}),r.body=this.parseStatement(x?x.indexOf("label")===-1?x+"label":x:"label"),this.labels.pop(),r.label=h,this.finishNode(r,"LabeledStatement")},z.parseExpressionStatement=function(r,u){return r.expression=u,this.semicolon(),this.finishNode(r,"ExpressionStatement")},z.parseBlock=function(r,u,h){for(r===void 0&&(r=!0),u===void 0&&(u=this.startNode()),u.body=[],this.expect(p.braceL),r&&this.enterScope(0);this.type!==p.braceR;){var x=this.parseStatement(null);u.body.push(x)}return h&&(this.strict=!1),this.next(),r&&this.exitScope(),this.finishNode(u,"BlockStatement")},z.parseFor=function(r,u){return r.init=u,this.expect(p.semi),r.test=this.type===p.semi?null:this.parseExpression(),this.expect(p.semi),r.update=this.type===p.parenR?null:this.parseExpression(),this.expect(p.parenR),r.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(r,"ForStatement")},z.parseForIn=function(r,u){var h=this.type===p._in;return this.next(),u.type==="VariableDeclaration"&&u.declarations[0].init!=null&&(!h||this.options.ecmaVersion<8||this.strict||u.kind!=="var"||u.declarations[0].id.type!=="Identifier")&&this.raise(u.start,(h?"for-in":"for-of")+" loop variable declaration may not have an initializer"),r.left=u,r.right=h?this.parseExpression():this.parseMaybeAssign(),this.expect(p.parenR),r.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(r,h?"ForInStatement":"ForOfStatement")},z.parseVar=function(r,u,h,x){for(r.declarations=[],r.kind=h;;){var v=this.startNode();if(this.parseVarId(v,h),this.eat(p.eq)?v.init=this.parseMaybeAssign(u):!x&&h==="const"&&!(this.type===p._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!x&&(h==="using"||h==="await using")&&this.options.ecmaVersion>=17&&this.type!==p._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+h+" declaration"):!x&&v.id.type!=="Identifier"&&!(u&&(this.type===p._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):v.init=null,r.declarations.push(this.finishNode(v,"VariableDeclarator")),!this.eat(p.comma))break}return r},z.parseVarId=function(r,u){r.id=u==="using"||u==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(r.id,u==="var"?St:Qe,!1)};var ft=1,Et=2,_i=4;z.parseFunction=function(r,u,h,x,v){this.initFunction(r),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!x)&&(this.type===p.star&&u&Et&&this.unexpected(),r.generator=this.eat(p.star)),this.options.ecmaVersion>=8&&(r.async=!!x),u&ft&&(r.id=u&_i&&this.type!==p.name?null:this.parseIdent(),r.id&&!(u&Et)&&this.checkLValSimple(r.id,this.strict||r.generator||r.async?this.treatFunctionsAsVar?St:Qe:Ct));var P=this.yieldPos,L=this.awaitPos,M=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ht(r.async,r.generator)),u&ft||(r.id=this.type===p.name?this.parseIdent():null),this.parseFunctionParams(r),this.parseFunctionBody(r,h,!1,v),this.yieldPos=P,this.awaitPos=L,this.awaitIdentPos=M,this.finishNode(r,u&ft?"FunctionDeclaration":"FunctionExpression")},z.parseFunctionParams=function(r){this.expect(p.parenL),r.params=this.parseBindingList(p.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},z.parseClass=function(r,u){this.next();var h=this.strict;this.strict=!0,this.parseClassId(r,u),this.parseClassSuper(r);var x=this.enterClassBody(),v=this.startNode(),P=!1;for(v.body=[],this.expect(p.braceL);this.type!==p.braceR;){var L=this.parseClassElement(r.superClass!==null);L&&(v.body.push(L),L.type==="MethodDefinition"&&L.kind==="constructor"?(P&&this.raiseRecoverable(L.start,"Duplicate constructor in the same class"),P=!0):L.key&&L.key.type==="PrivateIdentifier"&&Ii(x,L)&&this.raiseRecoverable(L.key.start,"Identifier '#"+L.key.name+"' has already been declared"))}return this.strict=h,this.next(),r.body=this.finishNode(v,"ClassBody"),this.exitClassBody(),this.finishNode(r,u?"ClassDeclaration":"ClassExpression")},z.parseClassElement=function(r){if(this.eat(p.semi))return null;var u=this.options.ecmaVersion,h=this.startNode(),x="",v=!1,P=!1,L="method",M=!1;if(this.eatContextual("static")){if(u>=13&&this.eat(p.braceL))return this.parseClassStaticBlock(h),h;this.isClassElementNameStart()||this.type===p.star?M=!0:x="static"}if(h.static=M,!x&&u>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===p.star)&&!this.canInsertSemicolon()?P=!0:x="async"),!x&&(u>=9||!P)&&this.eat(p.star)&&(v=!0),!x&&!P&&!v){var J=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?L=J:x=J)}if(x?(h.computed=!1,h.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),h.key.name=x,this.finishNode(h.key,"Identifier")):this.parseClassElementName(h),u<13||this.type===p.parenL||L!=="method"||v||P){var ie=!h.static&&Fe(h,"constructor"),oe=ie&&r;ie&&L!=="method"&&this.raise(h.key.start,"Constructor can't have get/set modifier"),h.kind=ie?"constructor":L,this.parseClassMethod(h,v,P,oe)}else this.parseClassField(h);return h},z.isClassElementNameStart=function(){return this.type===p.name||this.type===p.privateId||this.type===p.num||this.type===p.string||this.type===p.bracketL||this.type.keyword},z.parseClassElementName=function(r){this.type===p.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),r.computed=!1,r.key=this.parsePrivateIdent()):this.parsePropertyName(r)},z.parseClassMethod=function(r,u,h,x){var v=r.key;r.kind==="constructor"?(u&&this.raise(v.start,"Constructor can't be a generator"),h&&this.raise(v.start,"Constructor can't be an async method")):r.static&&Fe(r,"prototype")&&this.raise(v.start,"Classes may not have a static property named prototype");var P=r.value=this.parseMethod(u,h,x);return r.kind==="get"&&P.params.length!==0&&this.raiseRecoverable(P.start,"getter should have no params"),r.kind==="set"&&P.params.length!==1&&this.raiseRecoverable(P.start,"setter should have exactly one param"),r.kind==="set"&&P.params[0].type==="RestElement"&&this.raiseRecoverable(P.params[0].start,"Setter cannot use rest params"),this.finishNode(r,"MethodDefinition")},z.parseClassField=function(r){return Fe(r,"constructor")?this.raise(r.key.start,"Classes can't have a field named 'constructor'"):r.static&&Fe(r,"prototype")&&this.raise(r.key.start,"Classes can't have a static field named 'prototype'"),this.eat(p.eq)?(this.enterScope(ht|lt),r.value=this.parseMaybeAssign(),this.exitScope()):r.value=null,this.semicolon(),this.finishNode(r,"PropertyDefinition")},z.parseClassStaticBlock=function(r){r.body=[];var u=this.labels;for(this.labels=[],this.enterScope(ct|lt);this.type!==p.braceR;){var h=this.parseStatement(null);r.body.push(h)}return this.next(),this.exitScope(),this.labels=u,this.finishNode(r,"StaticBlock")},z.parseClassId=function(r,u){this.type===p.name?(r.id=this.parseIdent(),u&&this.checkLValSimple(r.id,Qe,!1)):(u===!0&&this.unexpected(),r.id=null)},z.parseClassSuper=function(r){r.superClass=this.eat(p._extends)?this.parseExprSubscripts(null,!1):null},z.enterClassBody=function(){var r={declared:Object.create(null),used:[]};return this.privateNameStack.push(r),r.declared},z.exitClassBody=function(){var r=this.privateNameStack.pop(),u=r.declared,h=r.used;if(this.options.checkPrivateFields)for(var x=this.privateNameStack.length,v=x===0?null:this.privateNameStack[x-1],P=0;P<h.length;++P){var L=h[P];Y(u,L.name)||(v?v.used.push(L):this.raiseRecoverable(L.start,"Private field '#"+L.name+"' must be declared in an enclosing class"))}};function Ii(r,u){var h=u.key.name,x=r[h],v="true";return u.type==="MethodDefinition"&&(u.kind==="get"||u.kind==="set")&&(v=(u.static?"s":"i")+u.kind),x==="iget"&&v==="iset"||x==="iset"&&v==="iget"||x==="sget"&&v==="sset"||x==="sset"&&v==="sget"?(r[h]="true",!1):x?!0:(r[h]=v,!1)}function Fe(r,u){var h=r.computed,x=r.key;return!h&&(x.type==="Identifier"&&x.name===u||x.type==="Literal"&&x.value===u)}z.parseExportAllDeclaration=function(r,u){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(r.exported=this.parseModuleExportName(),this.checkExport(u,r.exported,this.lastTokStart)):r.exported=null),this.expectContextual("from"),this.type!==p.string&&this.unexpected(),r.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(r.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(r,"ExportAllDeclaration")},z.parseExport=function(r,u){if(this.next(),this.eat(p.star))return this.parseExportAllDeclaration(r,u);if(this.eat(p._default))return this.checkExport(u,"default",this.lastTokStart),r.declaration=this.parseExportDefaultDeclaration(),this.finishNode(r,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())r.declaration=this.parseExportDeclaration(r),r.declaration.type==="VariableDeclaration"?this.checkVariableExport(u,r.declaration.declarations):this.checkExport(u,r.declaration.id,r.declaration.id.start),r.specifiers=[],r.source=null,this.options.ecmaVersion>=16&&(r.attributes=[]);else{if(r.declaration=null,r.specifiers=this.parseExportSpecifiers(u),this.eatContextual("from"))this.type!==p.string&&this.unexpected(),r.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(r.attributes=this.parseWithClause());else{for(var h=0,x=r.specifiers;h<x.length;h+=1){var v=x[h];this.checkUnreserved(v.local),this.checkLocalExport(v.local),v.local.type==="Literal"&&this.raise(v.local.start,"A string literal cannot be used as an exported binding without `from`.")}r.source=null,this.options.ecmaVersion>=16&&(r.attributes=[])}this.semicolon()}return this.finishNode(r,"ExportNamedDeclaration")},z.parseExportDeclaration=function(r){return this.parseStatement(null)},z.parseExportDefaultDeclaration=function(){var r;if(this.type===p._function||(r=this.isAsyncFunction())){var u=this.startNode();return this.next(),r&&this.next(),this.parseFunction(u,ft|_i,!1,r)}else if(this.type===p._class){var h=this.startNode();return this.parseClass(h,"nullableID")}else{var x=this.parseMaybeAssign();return this.semicolon(),x}},z.checkExport=function(r,u,h){r&&(typeof u!="string"&&(u=u.type==="Identifier"?u.name:u.value),Y(r,u)&&this.raiseRecoverable(h,"Duplicate export '"+u+"'"),r[u]=!0)},z.checkPatternExport=function(r,u){var h=u.type;if(h==="Identifier")this.checkExport(r,u,u.start);else if(h==="ObjectPattern")for(var x=0,v=u.properties;x<v.length;x+=1){var P=v[x];this.checkPatternExport(r,P)}else if(h==="ArrayPattern")for(var L=0,M=u.elements;L<M.length;L+=1){var J=M[L];J&&this.checkPatternExport(r,J)}else h==="Property"?this.checkPatternExport(r,u.value):h==="AssignmentPattern"?this.checkPatternExport(r,u.left):h==="RestElement"&&this.checkPatternExport(r,u.argument)},z.checkVariableExport=function(r,u){if(r)for(var h=0,x=u;h<x.length;h+=1){var v=x[h];this.checkPatternExport(r,v.id)}},z.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},z.parseExportSpecifier=function(r){var u=this.startNode();return u.local=this.parseModuleExportName(),u.exported=this.eatContextual("as")?this.parseModuleExportName():u.local,this.checkExport(r,u.exported,u.exported.start),this.finishNode(u,"ExportSpecifier")},z.parseExportSpecifiers=function(r){var u=[],h=!0;for(this.expect(p.braceL);!this.eat(p.braceR);){if(h)h=!1;else if(this.expect(p.comma),this.afterTrailingComma(p.braceR))break;u.push(this.parseExportSpecifier(r))}return u},z.parseImport=function(r){return this.next(),this.type===p.string?(r.specifiers=Wt,r.source=this.parseExprAtom()):(r.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),r.source=this.type===p.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(r.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(r,"ImportDeclaration")},z.parseImportSpecifier=function(){var r=this.startNode();return r.imported=this.parseModuleExportName(),this.eatContextual("as")?r.local=this.parseIdent():(this.checkUnreserved(r.imported),r.local=r.imported),this.checkLValSimple(r.local,Qe),this.finishNode(r,"ImportSpecifier")},z.parseImportDefaultSpecifier=function(){var r=this.startNode();return r.local=this.parseIdent(),this.checkLValSimple(r.local,Qe),this.finishNode(r,"ImportDefaultSpecifier")},z.parseImportNamespaceSpecifier=function(){var r=this.startNode();return this.next(),this.expectContextual("as"),r.local=this.parseIdent(),this.checkLValSimple(r.local,Qe),this.finishNode(r,"ImportNamespaceSpecifier")},z.parseImportSpecifiers=function(){var r=[],u=!0;if(this.type===p.name&&(r.push(this.parseImportDefaultSpecifier()),!this.eat(p.comma)))return r;if(this.type===p.star)return r.push(this.parseImportNamespaceSpecifier()),r;for(this.expect(p.braceL);!this.eat(p.braceR);){if(u)u=!1;else if(this.expect(p.comma),this.afterTrailingComma(p.braceR))break;r.push(this.parseImportSpecifier())}return r},z.parseWithClause=function(){var r=[];if(!this.eat(p._with))return r;this.expect(p.braceL);for(var u={},h=!0;!this.eat(p.braceR);){if(h)h=!1;else if(this.expect(p.comma),this.afterTrailingComma(p.braceR))break;var x=this.parseImportAttribute(),v=x.key.type==="Identifier"?x.key.name:x.key.value;Y(u,v)&&this.raiseRecoverable(x.key.start,"Duplicate attribute key '"+v+"'"),u[v]=!0,r.push(x)}return r},z.parseImportAttribute=function(){var r=this.startNode();return r.key=this.type===p.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(p.colon),this.type!==p.string&&this.unexpected(),r.value=this.parseExprAtom(),this.finishNode(r,"ImportAttribute")},z.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===p.string){var r=this.parseLiteral(this.value);return Ue.test(r.value)&&this.raise(r.start,"An export name cannot include a lone surrogate."),r}return this.parseIdent(!0)},z.adaptDirectivePrologue=function(r){for(var u=0;u<r.length&&this.isDirectiveCandidate(r[u]);++u)r[u].directive=r[u].expression.raw.slice(1,-1)},z.isDirectiveCandidate=function(r){return this.options.ecmaVersion>=5&&r.type==="ExpressionStatement"&&r.expression.type==="Literal"&&typeof r.expression.value=="string"&&(this.input[r.start]==='"'||this.input[r.start]==="'")};var Pe=be.prototype;Pe.toAssignable=function(r,u,h){if(this.options.ecmaVersion>=6&&r)switch(r.type){case"Identifier":this.inAsync&&r.name==="await"&&this.raise(r.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":r.type="ObjectPattern",h&&this.checkPatternErrors(h,!0);for(var x=0,v=r.properties;x<v.length;x+=1){var P=v[x];this.toAssignable(P,u),P.type==="RestElement"&&(P.argument.type==="ArrayPattern"||P.argument.type==="ObjectPattern")&&this.raise(P.argument.start,"Unexpected token")}break;case"Property":r.kind!=="init"&&this.raise(r.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(r.value,u);break;case"ArrayExpression":r.type="ArrayPattern",h&&this.checkPatternErrors(h,!0),this.toAssignableList(r.elements,u);break;case"SpreadElement":r.type="RestElement",this.toAssignable(r.argument,u),r.argument.type==="AssignmentPattern"&&this.raise(r.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":r.operator!=="="&&this.raise(r.left.end,"Only '=' operator can be used for specifying default value."),r.type="AssignmentPattern",delete r.operator,this.toAssignable(r.left,u);break;case"ParenthesizedExpression":this.toAssignable(r.expression,u,h);break;case"ChainExpression":this.raiseRecoverable(r.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!u)break;default:this.raise(r.start,"Assigning to rvalue")}else h&&this.checkPatternErrors(h,!0);return r},Pe.toAssignableList=function(r,u){for(var h=r.length,x=0;x<h;x++){var v=r[x];v&&this.toAssignable(v,u)}if(h){var P=r[h-1];this.options.ecmaVersion===6&&u&&P&&P.type==="RestElement"&&P.argument.type!=="Identifier"&&this.unexpected(P.argument.start)}return r},Pe.parseSpread=function(r){var u=this.startNode();return this.next(),u.argument=this.parseMaybeAssign(!1,r),this.finishNode(u,"SpreadElement")},Pe.parseRestBinding=function(){var r=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==p.name&&this.unexpected(),r.argument=this.parseBindingAtom(),this.finishNode(r,"RestElement")},Pe.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case p.bracketL:var r=this.startNode();return this.next(),r.elements=this.parseBindingList(p.bracketR,!0,!0),this.finishNode(r,"ArrayPattern");case p.braceL:return this.parseObj(!0)}return this.parseIdent()},Pe.parseBindingList=function(r,u,h,x){for(var v=[],P=!0;!this.eat(r);)if(P?P=!1:this.expect(p.comma),u&&this.type===p.comma)v.push(null);else{if(h&&this.afterTrailingComma(r))break;if(this.type===p.ellipsis){var L=this.parseRestBinding();this.parseBindingListItem(L),v.push(L),this.type===p.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(r);break}else v.push(this.parseAssignableListItem(x))}return v},Pe.parseAssignableListItem=function(r){var u=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(u),u},Pe.parseBindingListItem=function(r){return r},Pe.parseMaybeDefault=function(r,u,h){if(h=h||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(p.eq))return h;var x=this.startNodeAt(r,u);return x.left=h,x.right=this.parseMaybeAssign(),this.finishNode(x,"AssignmentPattern")},Pe.checkLValSimple=function(r,u,h){u===void 0&&(u=pt);var x=u!==pt;switch(r.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(r.name)&&this.raiseRecoverable(r.start,(x?"Binding ":"Assigning to ")+r.name+" in strict mode"),x&&(u===Qe&&r.name==="let"&&this.raiseRecoverable(r.start,"let is disallowed as a lexically bound name"),h&&(Y(h,r.name)&&this.raiseRecoverable(r.start,"Argument name clash"),h[r.name]=!0),u!==Gt&&this.declareName(r.name,u,r.start));break;case"ChainExpression":this.raiseRecoverable(r.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":x&&this.raiseRecoverable(r.start,"Binding member expression");break;case"ParenthesizedExpression":return x&&this.raiseRecoverable(r.start,"Binding parenthesized expression"),this.checkLValSimple(r.expression,u,h);default:this.raise(r.start,(x?"Binding":"Assigning to")+" rvalue")}},Pe.checkLValPattern=function(r,u,h){switch(u===void 0&&(u=pt),r.type){case"ObjectPattern":for(var x=0,v=r.properties;x<v.length;x+=1){var P=v[x];this.checkLValInnerPattern(P,u,h)}break;case"ArrayPattern":for(var L=0,M=r.elements;L<M.length;L+=1){var J=M[L];J&&this.checkLValInnerPattern(J,u,h)}break;default:this.checkLValSimple(r,u,h)}},Pe.checkLValInnerPattern=function(r,u,h){switch(u===void 0&&(u=pt),r.type){case"Property":this.checkLValInnerPattern(r.value,u,h);break;case"AssignmentPattern":this.checkLValPattern(r.left,u,h);break;case"RestElement":this.checkLValPattern(r.argument,u,h);break;default:this.checkLValPattern(r,u,h)}};var Ee=function(u,h,x,v,P){this.token=u,this.isExpr=!!h,this.preserveSpace=!!x,this.override=v,this.generator=!!P},ke={b_stat:new Ee("{",!1),b_expr:new Ee("{",!0),b_tmpl:new Ee("${",!1),p_stat:new Ee("(",!1),p_expr:new Ee("(",!0),q_tmpl:new Ee("`",!0,!0,function(r){return r.tryReadTemplateToken()}),f_stat:new Ee("function",!1),f_expr:new Ee("function",!0),f_expr_gen:new Ee("function",!0,!1,null,!0),f_gen:new Ee("function",!1,!1,null,!0)},ui=be.prototype;ui.initialContext=function(){return[ke.b_stat]},ui.curContext=function(){return this.context[this.context.length-1]},ui.braceIsBlock=function(r){var u=this.curContext();return u===ke.f_expr||u===ke.f_stat?!0:r===p.colon&&(u===ke.b_stat||u===ke.b_expr)?!u.isExpr:r===p._return||r===p.name&&this.exprAllowed?O.test(this.input.slice(this.lastTokEnd,this.start)):r===p._else||r===p.semi||r===p.eof||r===p.parenR||r===p.arrow?!0:r===p.braceL?u===ke.b_stat:r===p._var||r===p._const||r===p.name?!1:!this.exprAllowed},ui.inGeneratorContext=function(){for(var r=this.context.length-1;r>=1;r--){var u=this.context[r];if(u.token==="function")return u.generator}return!1},ui.updateContext=function(r){var u,h=this.type;h.keyword&&r===p.dot?this.exprAllowed=!1:(u=h.updateContext)?u.call(this,r):this.exprAllowed=h.beforeExpr},ui.overrideContext=function(r){this.curContext()!==r&&(this.context[this.context.length-1]=r)},p.parenR.updateContext=p.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var r=this.context.pop();r===ke.b_stat&&this.curContext().token==="function"&&(r=this.context.pop()),this.exprAllowed=!r.isExpr},p.braceL.updateContext=function(r){this.context.push(this.braceIsBlock(r)?ke.b_stat:ke.b_expr),this.exprAllowed=!0},p.dollarBraceL.updateContext=function(){this.context.push(ke.b_tmpl),this.exprAllowed=!0},p.parenL.updateContext=function(r){var u=r===p._if||r===p._for||r===p._with||r===p._while;this.context.push(u?ke.p_stat:ke.p_expr),this.exprAllowed=!0},p.incDec.updateContext=function(){},p._function.updateContext=p._class.updateContext=function(r){r.beforeExpr&&r!==p._else&&!(r===p.semi&&this.curContext()!==ke.p_stat)&&!(r===p._return&&O.test(this.input.slice(this.lastTokEnd,this.start)))&&!((r===p.colon||r===p.braceL)&&this.curContext()===ke.b_stat)?this.context.push(ke.f_expr):this.context.push(ke.f_stat),this.exprAllowed=!1},p.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},p.backQuote.updateContext=function(){this.curContext()===ke.q_tmpl?this.context.pop():this.context.push(ke.q_tmpl),this.exprAllowed=!1},p.star.updateContext=function(r){if(r===p._function){var u=this.context.length-1;this.context[u]===ke.f_expr?this.context[u]=ke.f_expr_gen:this.context[u]=ke.f_gen}this.exprAllowed=!0},p.name.updateContext=function(r){var u=!1;this.options.ecmaVersion>=6&&r!==p.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(u=!0),this.exprAllowed=u};var re=be.prototype;re.checkPropClash=function(r,u,h){if(!(this.options.ecmaVersion>=9&&r.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(r.computed||r.method||r.shorthand))){var x=r.key,v;switch(x.type){case"Identifier":v=x.name;break;case"Literal":v=String(x.value);break;default:return}var P=r.kind;if(this.options.ecmaVersion>=6){v==="__proto__"&&P==="init"&&(u.proto&&(h?h.doubleProto<0&&(h.doubleProto=x.start):this.raiseRecoverable(x.start,"Redefinition of __proto__ property")),u.proto=!0);return}v="$"+v;var L=u[v];if(L){var M;P==="init"?M=this.strict&&L.init||L.get||L.set:M=L.init||L[P],M&&this.raiseRecoverable(x.start,"Redefinition of property")}else L=u[v]={init:!1,get:!1,set:!1};L[P]=!0}},re.parseExpression=function(r,u){var h=this;return this.catchStackOverflow(function(){var x=h.start,v=h.startLoc,P=h.parseMaybeAssign(r,u);if(h.type===p.comma){var L=h.startNodeAt(x,v);for(L.expressions=[P];h.eat(p.comma);)L.expressions.push(h.parseMaybeAssign(r,u));return h.finishNode(L,"SequenceExpression")}return P})},re.parseMaybeAssign=function(r,u,h){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(r);this.exprAllowed=!1}var x=!1,v=-1,P=-1,L=-1;u?(v=u.parenthesizedAssign,P=u.trailingComma,L=u.doubleProto,u.parenthesizedAssign=u.trailingComma=-1):(u=new Ce,x=!0);var M=this.start,J=this.startLoc;(this.type===p.parenL||this.type===p.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=r==="await");var ie=this.parseMaybeConditional(r,u);if(h&&(ie=h.call(this,ie,M,J)),this.type.isAssign){var oe=this.startNodeAt(M,J);return oe.operator=this.value,this.type===p.eq&&(ie=this.toAssignable(ie,!1,u)),x||(u.parenthesizedAssign=u.trailingComma=-1,u.shorthandAssign>=ie.start&&(u.shorthandAssign=-1),u.doubleProto>=ie.start&&(u.doubleProto=-1)),this.type===p.eq?this.checkLValPattern(ie):this.checkLValSimple(ie),oe.left=ie,this.next(),oe.right=this.parseMaybeAssign(r),L>-1&&(u.doubleProto=L),this.finishNode(oe,"AssignmentExpression")}else x&&this.checkExpressionErrors(u,!0);return v>-1&&(u.parenthesizedAssign=v),P>-1&&(u.trailingComma=P),ie},re.parseMaybeConditional=function(r,u){var h=this.start,x=this.startLoc,v=this.parseExprOps(r,u);if(this.checkExpressionErrors(u))return v;if(!(v.type==="ArrowFunctionExpression"&&v.start===h)&&this.eat(p.question)){var P=this.startNodeAt(h,x);return P.test=v,P.consequent=this.parseMaybeAssign(),this.expect(p.colon),P.alternate=this.parseMaybeAssign(r),this.finishNode(P,"ConditionalExpression")}return v},re.parseExprOps=function(r,u){var h=this.start,x=this.startLoc,v=this.parseMaybeUnary(u,!1,!1,r);return this.checkExpressionErrors(u)||v.start===h&&v.type==="ArrowFunctionExpression"?v:this.parseExprOp(v,h,x,-1,r)},re.parseExprOp=function(r,u,h,x,v){var P=this.type.binop;if(P!=null&&(!v||this.type!==p._in)&&P>x){var L=this.type===p.logicalOR||this.type===p.logicalAND,M=this.type===p.coalesce;M&&(P=p.logicalAND.binop);var J=this.value;this.next();var ie=this.start,oe=this.startLoc,ye=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,v),ie,oe,P,v),Be=this.buildBinary(u,h,r,ye,J,L||M);return(L&&this.type===p.coalesce||M&&(this.type===p.logicalOR||this.type===p.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Be,u,h,x,v)}return r},re.buildBinary=function(r,u,h,x,v,P){x.type==="PrivateIdentifier"&&this.raise(x.start,"Private identifier can only be left side of binary expression");var L=this.startNodeAt(r,u);return L.left=h,L.operator=v,L.right=x,this.finishNode(L,P?"LogicalExpression":"BinaryExpression")},re.parseMaybeUnary=function(r,u,h,x){var v=this.start,P=this.startLoc,L;if(this.isContextual("await")&&this.canAwait)L=this.parseAwait(x),u=!0;else if(this.type.prefix){var M=this.startNode(),J=this.type===p.incDec;M.operator=this.value,M.prefix=!0,this.next(),M.argument=this.parseMaybeUnary(null,!0,J,x),this.checkExpressionErrors(r,!0),J?this.checkLValSimple(M.argument):this.strict&&M.operator==="delete"&&Ea(M.argument)?this.raiseRecoverable(M.start,"Deleting local variable in strict mode"):M.operator==="delete"&&un(M.argument)?this.raiseRecoverable(M.start,"Private fields can not be deleted"):u=!0,L=this.finishNode(M,J?"UpdateExpression":"UnaryExpression")}else if(!u&&this.type===p.privateId)(x||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),L=this.parsePrivateIdent(),this.type!==p._in&&this.unexpected();else{if(L=this.parseExprSubscripts(r,x),this.checkExpressionErrors(r))return L;for(;this.type.postfix&&!this.canInsertSemicolon();){var ie=this.startNodeAt(v,P);ie.operator=this.value,ie.prefix=!1,ie.argument=L,this.checkLValSimple(L),this.next(),L=this.finishNode(ie,"UpdateExpression")}}if(!h&&!(L.type==="ArrowFunctionExpression"&&L.start===v)&&this.eat(p.starstar))if(u)this.unexpected(this.lastTokStart);else return this.buildBinary(v,P,L,this.parseMaybeUnary(null,!1,!1,x),"**",!1);else return L};function Ea(r){return r.type==="Identifier"||r.type==="ParenthesizedExpression"&&Ea(r.expression)}function un(r){return r.type==="MemberExpression"&&r.property.type==="PrivateIdentifier"||r.type==="ChainExpression"&&un(r.expression)||r.type==="ParenthesizedExpression"&&un(r.expression)}re.parseExprSubscripts=function(r,u){var h=this.start,x=this.startLoc,v=-1,P=-1;r&&(v=r.doubleProto,P=r.shorthandAssign,r.doubleProto=r.shorthandAssign=-1);var L=this.parseExprAtom(r,u);if(L.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return L;var M=this.parseSubscripts(L,h,x,!1,u);return r&&(M.end>L.end&&(this.checkExpressionErrors(r,!0),r.parenthesizedAssign>=M.start&&(r.parenthesizedAssign=-1),r.parenthesizedBind>=M.start&&(r.parenthesizedBind=-1),r.trailingComma>=M.start&&(r.trailingComma=-1)),v>-1&&(r.doubleProto=v),P>-1&&(r.shorthandAssign=P)),M},re.parseSubscripts=function(r,u,h,x,v){for(var P=this.options.ecmaVersion>=8&&r.type==="Identifier"&&r.name==="async"&&this.lastTokEnd===r.end&&!this.canInsertSemicolon()&&r.end-r.start===5&&this.potentialArrowAt===r.start,L=!1;;){var M=this.parseSubscript(r,u,h,x,P,L,v);if(M.optional&&(L=!0),M.end===r.end||M.type==="ArrowFunctionExpression"){if(L){var J=this.startNodeAt(u,h);J.expression=M,M=this.finishNode(J,"ChainExpression")}return M}r=M,P=!1}},re.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(p.arrow)},re.parseSubscriptAsyncArrow=function(r,u,h,x){return this.parseArrowExpression(this.startNodeAt(r,u),h,!0,x)},re.parseSubscript=function(r,u,h,x,v,P,L){var M=this.options.ecmaVersion>=11,J=M&&this.eat(p.questionDot);x&&J&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var ie=this.eat(p.bracketL);if(ie||J&&this.type!==p.parenL&&this.type!==p.backQuote||this.eat(p.dot)){var oe=this.startNodeAt(u,h);oe.object=r,ie?(oe.property=this.parseExpression(),this.expect(p.bracketR)):this.type===p.privateId&&r.type!=="Super"?oe.property=this.parsePrivateIdent():oe.property=this.parseIdent(this.options.allowReserved!=="never"),oe.computed=!!ie,M&&(oe.optional=J),r=this.finishNode(oe,"MemberExpression")}else if(!x&&this.eat(p.parenL)){var ye=new Ce,Be=this.yieldPos,Li=this.awaitPos,li=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var ur=this.parseExprList(p.parenR,this.options.ecmaVersion>=8,!1,ye);if(v&&!J&&this.shouldParseAsyncArrow())return this.checkPatternErrors(ye,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Be,this.awaitPos=Li,this.awaitIdentPos=li,this.parseSubscriptAsyncArrow(u,h,ur,L);this.checkExpressionErrors(ye,!0),this.yieldPos=Be||this.yieldPos,this.awaitPos=Li||this.awaitPos,this.awaitIdentPos=li||this.awaitIdentPos;var ci=this.startNodeAt(u,h);ci.callee=r,ci.arguments=ur,M&&(ci.optional=J),r=this.finishNode(ci,"CallExpression")}else if(this.type===p.backQuote){(J||P)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var hi=this.startNodeAt(u,h);hi.tag=r,hi.quasi=this.parseTemplate({isTagged:!0}),r=this.finishNode(hi,"TaggedTemplateExpression")}return r},re.parseExprAtom=function(r,u,h){this.type===p.slash&&this.readRegexp();var x,v=this.potentialArrowAt===this.start;switch(this.type){case p._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),x=this.startNode(),this.next(),this.type===p.parenL&&!this.allowDirectSuper&&this.raise(x.start,"super() call outside constructor of a subclass"),this.type!==p.dot&&this.type!==p.bracketL&&this.type!==p.parenL&&this.unexpected(),this.finishNode(x,"Super");case p._this:return x=this.startNode(),this.next(),this.finishNode(x,"ThisExpression");case p.name:var P=this.start,L=this.startLoc,M=this.containsEsc,J=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!M&&J.name==="async"&&!this.canInsertSemicolon()&&this.eat(p._function))return this.overrideContext(ke.f_expr),this.parseFunction(this.startNodeAt(P,L),0,!1,!0,u);if(v&&!this.canInsertSemicolon()){if(this.eat(p.arrow))return this.parseArrowExpression(this.startNodeAt(P,L),[J],!1,u);if(this.options.ecmaVersion>=8&&J.name==="async"&&this.type===p.name&&!M&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return J=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(p.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(P,L),[J],!0,u)}return J;case p.regexp:var ie=this.value;return x=this.parseLiteral(ie.value),x.regex={pattern:ie.pattern,flags:ie.flags},x;case p.num:case p.string:return this.parseLiteral(this.value);case p._null:case p._true:case p._false:return x=this.startNode(),x.value=this.type===p._null?null:this.type===p._true,x.raw=this.type.keyword,this.next(),this.finishNode(x,"Literal");case p.parenL:var oe=this.start,ye=this.parseParenAndDistinguishExpression(v,u);return r&&(r.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ye)&&(r.parenthesizedAssign=oe),r.parenthesizedBind<0&&(r.parenthesizedBind=oe)),ye;case p.bracketL:return x=this.startNode(),this.next(),x.elements=this.parseExprList(p.bracketR,!0,!0,r),this.finishNode(x,"ArrayExpression");case p.braceL:return this.overrideContext(ke.b_expr),this.parseObj(!1,r);case p._function:return x=this.startNode(),this.next(),this.parseFunction(x,0);case p._class:return this.parseClass(this.startNode(),!1);case p._new:return this.parseNew();case p.backQuote:return this.parseTemplate();case p._import:return this.options.ecmaVersion>=11?this.parseExprImport(h):this.unexpected();default:return this.parseExprAtomDefault()}},re.parseExprAtomDefault=function(){this.unexpected()},re.parseExprImport=function(r){var u=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===p.parenL&&!r)return this.parseDynamicImport(u);if(this.type===p.dot){var h=this.startNodeAt(u.start,u.loc&&u.loc.start);return h.name="import",u.meta=this.finishNode(h,"Identifier"),this.parseImportMeta(u)}else this.unexpected()},re.parseDynamicImport=function(r){if(this.next(),r.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(p.parenR)?r.options=null:(this.expect(p.comma),this.afterTrailingComma(p.parenR)?r.options=null:(r.options=this.parseMaybeAssign(),this.eat(p.parenR)||(this.expect(p.comma),this.afterTrailingComma(p.parenR)||this.unexpected())));else if(!this.eat(p.parenR)){var u=this.start;this.eat(p.comma)&&this.eat(p.parenR)?this.raiseRecoverable(u,"Trailing comma is not allowed in import()"):this.unexpected(u)}return this.finishNode(r,"ImportExpression")},re.parseImportMeta=function(r){this.next();var u=this.containsEsc;return r.property=this.parseIdent(!0),r.property.name!=="meta"&&this.raiseRecoverable(r.property.start,"The only valid meta property for import is 'import.meta'"),u&&this.raiseRecoverable(r.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(r.start,"Cannot use 'import.meta' outside a module"),this.finishNode(r,"MetaProperty")},re.parseLiteral=function(r){var u=this.startNode();return u.value=r,u.raw=this.input.slice(this.start,this.end),u.raw.charCodeAt(u.raw.length-1)===110&&(u.bigint=u.value!=null?u.value.toString():u.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(u,"Literal")},re.parseParenExpression=function(){this.expect(p.parenL);var r=this.parseExpression();return this.expect(p.parenR),r},re.shouldParseArrow=function(r){return!this.canInsertSemicolon()},re.parseParenAndDistinguishExpression=function(r,u){var h=this.start,x=this.startLoc,v,P=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var L=this.start,M=this.startLoc,J=[],ie=!0,oe=!1,ye=new Ce,Be=this.yieldPos,Li=this.awaitPos,li;for(this.yieldPos=0,this.awaitPos=0;this.type!==p.parenR;)if(ie?ie=!1:this.expect(p.comma),P&&this.afterTrailingComma(p.parenR,!0)){oe=!0;break}else if(this.type===p.ellipsis){li=this.start,J.push(this.parseParenItem(this.parseRestBinding())),this.type===p.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else J.push(this.parseMaybeAssign(!1,ye,this.parseParenItem));var ur=this.lastTokEnd,ci=this.lastTokEndLoc;if(this.expect(p.parenR),r&&this.shouldParseArrow(J)&&this.eat(p.arrow))return this.checkPatternErrors(ye,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Be,this.awaitPos=Li,this.parseParenArrowList(h,x,J,u);(!J.length||oe)&&this.unexpected(this.lastTokStart),li&&this.unexpected(li),this.checkExpressionErrors(ye,!0),this.yieldPos=Be||this.yieldPos,this.awaitPos=Li||this.awaitPos,J.length>1?(v=this.startNodeAt(L,M),v.expressions=J,this.finishNodeAt(v,"SequenceExpression",ur,ci)):v=J[0]}else v=this.parseParenExpression();if(this.options.preserveParens){var hi=this.startNodeAt(h,x);return hi.expression=v,this.finishNode(hi,"ParenthesizedExpression")}else return v},re.parseParenItem=function(r){return r},re.parseParenArrowList=function(r,u,h,x){return this.parseArrowExpression(this.startNodeAt(r,u),h,!1,x)};var nf=[];re.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var r=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===p.dot){var u=this.startNodeAt(r.start,r.loc&&r.loc.start);u.name="new",r.meta=this.finishNode(u,"Identifier"),this.next();var h=this.containsEsc;return r.property=this.parseIdent(!0),r.property.name!=="target"&&this.raiseRecoverable(r.property.start,"The only valid meta property for new is 'new.target'"),h&&this.raiseRecoverable(r.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(r.start,"'new.target' can only be used in functions and class static block"),this.finishNode(r,"MetaProperty")}var x=this.start,v=this.startLoc;return r.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),x,v,!0,!1),r.callee.type==="Super"&&this.raiseRecoverable(x,"Invalid use of 'super'"),this.eat(p.parenL)?r.arguments=this.parseExprList(p.parenR,this.options.ecmaVersion>=8,!1):r.arguments=nf,this.finishNode(r,"NewExpression")},re.parseTemplateElement=function(r){var u=r.isTagged,h=this.startNode();return this.type===p.invalidTemplate?(u||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),h.value={raw:this.value.replace(/\r\n?/g,`
|
|
42
|
+
`),cooked:null}):h.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
43
|
+
`),cooked:this.value},this.next(),h.tail=this.type===p.backQuote,this.finishNode(h,"TemplateElement")},re.parseTemplate=function(r){r===void 0&&(r={});var u=r.isTagged;u===void 0&&(u=!1);var h=this.startNode();this.next(),h.expressions=[];var x=this.parseTemplateElement({isTagged:u});for(h.quasis=[x];!x.tail;)this.type===p.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(p.dollarBraceL),h.expressions.push(this.parseExpression()),this.expect(p.braceR),h.quasis.push(x=this.parseTemplateElement({isTagged:u}));return this.next(),this.finishNode(h,"TemplateLiteral")},re.isAsyncProp=function(r){return!r.computed&&r.key.type==="Identifier"&&r.key.name==="async"&&(this.type===p.name||this.type===p.num||this.type===p.string||this.type===p.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===p.star)&&!O.test(this.input.slice(this.lastTokEnd,this.start))},re.parseObj=function(r,u){var h=this.startNode(),x=!0,v={};for(h.properties=[],this.next();!this.eat(p.braceR);){if(x)x=!1;else if(this.expect(p.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(p.braceR))break;var P=this.parseProperty(r,u);r||this.checkPropClash(P,v,u),h.properties.push(P)}return this.finishNode(h,r?"ObjectPattern":"ObjectExpression")},re.parseProperty=function(r,u){var h=this.startNode(),x,v,P,L;if(this.options.ecmaVersion>=9&&this.eat(p.ellipsis))return r?(h.argument=this.parseIdent(!1),this.type===p.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(h,"RestElement")):(h.argument=this.parseMaybeAssign(!1,u),this.type===p.comma&&u&&u.trailingComma<0&&(u.trailingComma=this.start),this.finishNode(h,"SpreadElement"));this.options.ecmaVersion>=6&&(h.method=!1,h.shorthand=!1,(r||u)&&(P=this.start,L=this.startLoc),r||(x=this.eat(p.star)));var M=this.containsEsc;return this.parsePropertyName(h),!r&&!M&&this.options.ecmaVersion>=8&&!x&&this.isAsyncProp(h)?(v=!0,x=this.options.ecmaVersion>=9&&this.eat(p.star),this.parsePropertyName(h)):v=!1,this.parsePropertyValue(h,r,x,v,P,L,u,M),this.finishNode(h,"Property")},re.parseGetterSetter=function(r){var u=r.key.name;this.parsePropertyName(r),r.value=this.parseMethod(!1),r.kind=u;var h=r.kind==="get"?0:1;if(r.value.params.length!==h){var x=r.value.start;r.kind==="get"?this.raiseRecoverable(x,"getter should have no params"):this.raiseRecoverable(x,"setter should have exactly one param")}else r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params")},re.parsePropertyValue=function(r,u,h,x,v,P,L,M){(h||x)&&this.type===p.colon&&this.unexpected(),this.eat(p.colon)?(r.value=u?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,L),r.kind="init"):this.options.ecmaVersion>=6&&this.type===p.parenL?(u&&this.unexpected(),r.method=!0,r.value=this.parseMethod(h,x),r.kind="init"):!u&&!M&&this.options.ecmaVersion>=5&&!r.computed&&r.key.type==="Identifier"&&(r.key.name==="get"||r.key.name==="set")&&this.type!==p.comma&&this.type!==p.braceR&&this.type!==p.eq?((h||x)&&this.unexpected(),this.parseGetterSetter(r)):this.options.ecmaVersion>=6&&!r.computed&&r.key.type==="Identifier"?((h||x)&&this.unexpected(),this.checkUnreserved(r.key),r.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=v),u?r.value=this.parseMaybeDefault(v,P,this.copyNode(r.key)):this.type===p.eq&&L?(L.shorthandAssign<0&&(L.shorthandAssign=this.start),r.value=this.parseMaybeDefault(v,P,this.copyNode(r.key))):r.value=this.copyNode(r.key),r.kind="init",r.shorthand=!0):this.unexpected()},re.parsePropertyName=function(r){if(this.options.ecmaVersion>=6){if(this.eat(p.bracketL))return r.computed=!0,r.key=this.parseMaybeAssign(),this.expect(p.bracketR),r.key;r.computed=!1}return r.key=this.type===p.num||this.type===p.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},re.initFunction=function(r){r.id=null,this.options.ecmaVersion>=6&&(r.generator=r.expression=!1),this.options.ecmaVersion>=8&&(r.async=!1)},re.parseMethod=function(r,u,h){var x=this.startNode(),v=this.yieldPos,P=this.awaitPos,L=this.awaitIdentPos;return this.initFunction(x),this.options.ecmaVersion>=6&&(x.generator=r),this.options.ecmaVersion>=8&&(x.async=!!u),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ht(u,x.generator)|lt|(h?oi:0)),this.expect(p.parenL),x.params=this.parseBindingList(p.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(x,!1,!0,!1),this.yieldPos=v,this.awaitPos=P,this.awaitIdentPos=L,this.finishNode(x,"FunctionExpression")},re.parseArrowExpression=function(r,u,h,x){var v=this.yieldPos,P=this.awaitPos,L=this.awaitIdentPos;return this.enterScope(Ht(h,!1)|Te),this.initFunction(r),this.options.ecmaVersion>=8&&(r.async=!!h),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,r.params=this.toAssignableList(u,!0),this.parseFunctionBody(r,!0,!1,x),this.yieldPos=v,this.awaitPos=P,this.awaitIdentPos=L,this.finishNode(r,"ArrowFunctionExpression")},re.parseFunctionBody=function(r,u,h,x){var v=u&&this.type!==p.braceL,P=this.strict,L=!1;if(v)r.body=this.parseMaybeAssign(x),r.expression=!0,this.checkParams(r,!1);else{var M=this.options.ecmaVersion>=7&&!this.isSimpleParamList(r.params);(!P||M)&&(L=this.strictDirective(this.end),L&&M&&this.raiseRecoverable(r.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var J=this.labels;this.labels=[],L&&(this.strict=!0),this.checkParams(r,!P&&!L&&!u&&!h&&this.isSimpleParamList(r.params)),this.strict&&r.id&&this.checkLValSimple(r.id,Gt),r.body=this.parseBlock(!1,void 0,L&&!P),r.expression=!1,this.adaptDirectivePrologue(r.body.body),this.labels=J}this.exitScope()},re.isSimpleParamList=function(r){for(var u=0,h=r;u<h.length;u+=1){var x=h[u];if(x.type!=="Identifier")return!1}return!0},re.checkParams=function(r,u){for(var h=Object.create(null),x=0,v=r.params;x<v.length;x+=1){var P=v[x];this.checkLValInnerPattern(P,St,u?null:h)}},re.parseExprList=function(r,u,h,x){for(var v=[],P=!0;!this.eat(r);){if(P)P=!1;else if(this.expect(p.comma),u&&this.afterTrailingComma(r))break;var L=void 0;h&&this.type===p.comma?L=null:this.type===p.ellipsis?(L=this.parseSpread(x),x&&this.type===p.comma&&x.trailingComma<0&&(x.trailingComma=this.start)):L=this.parseMaybeAssign(!1,x),v.push(L)}return v},re.checkUnreserved=function(r){var u=r.start,h=r.end,x=r.name;if(this.inGenerator&&x==="yield"&&this.raiseRecoverable(u,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&x==="await"&&this.raiseRecoverable(u,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&xt)&&x==="arguments"&&this.raiseRecoverable(u,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(x==="arguments"||x==="await")&&this.raise(u,"Cannot use "+x+" in class static initialization block"),this.keywords.test(x)&&this.raise(u,"Unexpected keyword '"+x+"'"),!(this.options.ecmaVersion<6&&this.input.slice(u,h).indexOf("\\")!==-1)){var v=this.strict?this.reservedWordsStrict:this.reservedWords;v.test(x)&&(!this.inAsync&&x==="await"&&this.raiseRecoverable(u,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(u,"The keyword '"+x+"' is reserved"))}},re.parseIdent=function(r){var u=this.parseIdentNode();return this.next(!!r),this.finishNode(u,"Identifier"),r||(this.checkUnreserved(u),u.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=u.start)),u},re.parseIdentNode=function(){var r=this.startNode();return this.type===p.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=p.name):this.unexpected(),r},re.parsePrivateIdent=function(){var r=this.startNode();return this.type===p.privateId?r.name=this.value:this.unexpected(),this.next(),this.finishNode(r,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(r.start,"Private field '#"+r.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(r)),r},re.parseYield=function(r){this.yieldPos||(this.yieldPos=this.start);var u=this.startNode();return this.next(),this.type===p.semi||this.canInsertSemicolon()||this.type!==p.star&&!this.type.startsExpr?(u.delegate=!1,u.argument=null):(u.delegate=this.eat(p.star),u.argument=this.parseMaybeAssign(r)),this.finishNode(u,"YieldExpression")},re.parseAwait=function(r){this.awaitPos||(this.awaitPos=this.start);var u=this.startNode();return this.next(),u.argument=this.parseMaybeUnary(null,!0,!1,r),this.finishNode(u,"AwaitExpression")};var nr=be.prototype;nr.raise=function(r,u){var h=ze(this.input,r);u+=" ("+h.line+":"+h.column+")",this.sourceFile&&(u+=" in "+this.sourceFile);var x=new SyntaxError(u);throw x.pos=r,x.loc=h,x.raisedAt=this.pos,x},nr.raiseRecoverable=nr.raise,nr.curPosition=function(){if(this.options.locations)return new E(this.curLine,this.pos-this.lineStart)};var Rt=be.prototype,sf=function(u){this.flags=u,this.var=[],this.lexical=[],this.functions=[]};Rt.enterScope=function(r){this.scopeStack.push(new sf(r))},Rt.exitScope=function(){this.scopeStack.pop()},Rt.treatFunctionsAsVarInScope=function(r){return r.flags&xe||!this.inModule&&r.flags&Je},Rt.declareName=function(r,u,h){var x=!1;if(u===Qe){var v=this.currentScope();x=v.lexical.indexOf(r)>-1||v.functions.indexOf(r)>-1||v.var.indexOf(r)>-1,v.lexical.push(r),this.inModule&&v.flags&Je&&delete this.undefinedExports[r]}else if(u===ge){var P=this.currentScope();P.lexical.push(r)}else if(u===Ct){var L=this.currentScope();this.treatFunctionsAsVar?x=L.lexical.indexOf(r)>-1:x=L.lexical.indexOf(r)>-1||L.var.indexOf(r)>-1,L.functions.push(r)}else for(var M=this.scopeStack.length-1;M>=0;--M){var J=this.scopeStack[M];if(J.lexical.indexOf(r)>-1&&!(J.flags&Ze&&J.lexical[0]===r)||!this.treatFunctionsAsVarInScope(J)&&J.functions.indexOf(r)>-1){x=!0;break}if(J.var.push(r),this.inModule&&J.flags&Je&&delete this.undefinedExports[r],J.flags&xt)break}x&&this.raiseRecoverable(h,"Identifier '"+r+"' has already been declared")},Rt.checkLocalExport=function(r){this.scopeStack[0].lexical.indexOf(r.name)===-1&&this.scopeStack[0].var.indexOf(r.name)===-1&&(this.undefinedExports[r.name]=r)},Rt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Rt.currentVarScope=function(){for(var r=this.scopeStack.length-1;;r--){var u=this.scopeStack[r];if(u.flags&(xt|ht|ct))return u}},Rt.currentThisScope=function(){for(var r=this.scopeStack.length-1;;r--){var u=this.scopeStack[r];if(u.flags&(xt|ht|ct)&&!(u.flags&Te))return u}};var Ti=function(u,h,x){this.type="",this.start=h,this.end=0,u.options.locations&&(this.loc=new _e(u,x)),u.options.directSourceFile&&(this.sourceFile=u.options.directSourceFile),u.options.ranges&&(this.range=[h,0])},Pi=be.prototype;Pi.startNode=function(){return new Ti(this,this.start,this.startLoc)},Pi.startNodeAt=function(r,u){return new Ti(this,r,u)};function Aa(r,u,h,x){return r.type=u,r.end=h,this.options.locations&&(r.loc.end=x),this.options.ranges&&(r.range[1]=h),r}Pi.finishNode=function(r,u){return Aa.call(this,r,u,this.lastTokEnd,this.lastTokEndLoc)},Pi.finishNodeAt=function(r,u,h,x){return Aa.call(this,r,u,h,x)},Pi.copyNode=function(r){var u=new Ti(this,r.start,this.startLoc);for(var h in r)u[h]=r[h];return u};var af="Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",_a="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",Ia=_a+" Extended_Pictographic",Ta=Ia,Pa=Ta+" EBase EComp EMod EPres ExtPict",La=Pa,of=La,uf={9:_a,10:Ia,11:Ta,12:Pa,13:La,14:of},lf="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",cf={9:"",10:"",11:"",12:"",13:"",14:lf},Na="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",Va="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",Fa=Va+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ra=Fa+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Da=Ra+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Ba=Da+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",hf=Ba+" "+af,pf={9:Va,10:Fa,11:Ra,12:Da,13:Ba,14:hf},Oa={};function ff(r){var u=Oa[r]={binary:$(uf[r]+" "+Na),binaryOfStrings:$(cf[r]),nonBinary:{General_Category:$(Na),Script:$(pf[r])}};u.nonBinary.Script_Extensions=u.nonBinary.Script,u.nonBinary.gc=u.nonBinary.General_Category,u.nonBinary.sc=u.nonBinary.Script,u.nonBinary.scx=u.nonBinary.Script_Extensions}for(var ln=0,Ma=[9,10,11,12,13,14];ln<Ma.length;ln+=1){var df=Ma[ln];ff(df)}var H=be.prototype,sr=function(u,h){this.parent=u,this.base=h||this};sr.prototype.separatedFrom=function(u){for(var h=this;h;h=h.parent)for(var x=u;x;x=x.parent)if(h.base===x.base&&h!==x)return!0;return!1},sr.prototype.sibling=function(){return new sr(this.parent,this.base)};var gt=function(u){this.parser=u,this.validFlags="gim"+(u.options.ecmaVersion>=6?"uy":"")+(u.options.ecmaVersion>=9?"s":"")+(u.options.ecmaVersion>=13?"d":"")+(u.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Oa[u.options.ecmaVersion>=14?14:u.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};gt.prototype.reset=function(u,h,x){var v=x.indexOf("v")!==-1,P=x.indexOf("u")!==-1;this.start=u|0,this.source=h+"",this.flags=x,v&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=P&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=P&&this.parser.options.ecmaVersion>=9)},gt.prototype.raise=function(u){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+u)},gt.prototype.at=function(u,h){h===void 0&&(h=!1);var x=this.source,v=x.length;if(u>=v)return-1;var P=x.charCodeAt(u);if(!(h||this.switchU)||P<=55295||P>=57344||u+1>=v)return P;var L=x.charCodeAt(u+1);return L>=56320&&L<=57343?(P<<10)+L-56613888:P},gt.prototype.nextIndex=function(u,h){h===void 0&&(h=!1);var x=this.source,v=x.length;if(u>=v)return v;var P=x.charCodeAt(u),L;return!(h||this.switchU)||P<=55295||P>=57344||u+1>=v||(L=x.charCodeAt(u+1))<56320||L>57343?u+1:u+2},gt.prototype.current=function(u){return u===void 0&&(u=!1),this.at(this.pos,u)},gt.prototype.lookahead=function(u){return u===void 0&&(u=!1),this.at(this.nextIndex(this.pos,u),u)},gt.prototype.advance=function(u){u===void 0&&(u=!1),this.pos=this.nextIndex(this.pos,u)},gt.prototype.eat=function(u,h){return h===void 0&&(h=!1),this.current(h)===u?(this.advance(h),!0):!1},gt.prototype.eatChars=function(u,h){h===void 0&&(h=!1);for(var x=this.pos,v=0,P=u;v<P.length;v+=1){var L=P[v],M=this.at(x,h);if(M===-1||M!==L)return!1;x=this.nextIndex(x,h)}return this.pos=x,!0},H.validateRegExpFlags=function(r){for(var u=r.validFlags,h=r.flags,x=!1,v=!1,P=0;P<h.length;P++){var L=h.charAt(P);u.indexOf(L)===-1&&this.raise(r.start,"Invalid regular expression flag"),h.indexOf(L,P+1)>-1&&this.raise(r.start,"Duplicate regular expression flag"),L==="u"&&(x=!0),L==="v"&&(v=!0)}this.options.ecmaVersion>=15&&x&&v&&this.raise(r.start,"Invalid regular expression flag")};function mf(r){for(var u in r)return!0;return!1}H.validateRegExpPattern=function(r){this.regexp_pattern(r),!r.switchN&&this.options.ecmaVersion>=9&&mf(r.groupNames)&&(r.switchN=!0,this.regexp_pattern(r))},H.regexp_pattern=function(r){r.pos=0,r.lastIntValue=0,r.lastStringValue="",r.lastAssertionIsQuantifiable=!1,r.numCapturingParens=0,r.maxBackReference=0,r.groupNames=Object.create(null),r.backReferenceNames.length=0,r.branchID=null,this.regexp_disjunction(r),r.pos!==r.source.length&&(r.eat(41)&&r.raise("Unmatched ')'"),(r.eat(93)||r.eat(125))&&r.raise("Lone quantifier brackets")),r.maxBackReference>r.numCapturingParens&&r.raise("Invalid escape");for(var u=0,h=r.backReferenceNames;u<h.length;u+=1){var x=h[u];r.groupNames[x]||r.raise("Invalid named capture referenced")}},H.regexp_disjunction=function(r){var u=this.options.ecmaVersion>=16;for(u&&(r.branchID=new sr(r.branchID,null)),this.regexp_alternative(r);r.eat(124);)u&&(r.branchID=r.branchID.sibling()),this.regexp_alternative(r);u&&(r.branchID=r.branchID.parent),this.regexp_eatQuantifier(r,!0)&&r.raise("Nothing to repeat"),r.eat(123)&&r.raise("Lone quantifier brackets")},H.regexp_alternative=function(r){for(;r.pos<r.source.length&&this.regexp_eatTerm(r););},H.regexp_eatTerm=function(r){return this.regexp_eatAssertion(r)?(r.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(r)&&r.switchU&&r.raise("Invalid quantifier"),!0):(r.switchU?this.regexp_eatAtom(r):this.regexp_eatExtendedAtom(r))?(this.regexp_eatQuantifier(r),!0):!1},H.regexp_eatAssertion=function(r){var u=r.pos;if(r.lastAssertionIsQuantifiable=!1,r.eat(94)||r.eat(36))return!0;if(r.eat(92)){if(r.eat(66)||r.eat(98))return!0;r.pos=u}if(r.eat(40)&&r.eat(63)){var h=!1;if(this.options.ecmaVersion>=9&&(h=r.eat(60)),r.eat(61)||r.eat(33))return this.regexp_disjunction(r),r.eat(41)||r.raise("Unterminated group"),r.lastAssertionIsQuantifiable=!h,!0}return r.pos=u,!1},H.regexp_eatQuantifier=function(r,u){return u===void 0&&(u=!1),this.regexp_eatQuantifierPrefix(r,u)?(r.eat(63),!0):!1},H.regexp_eatQuantifierPrefix=function(r,u){return r.eat(42)||r.eat(43)||r.eat(63)||this.regexp_eatBracedQuantifier(r,u)},H.regexp_eatBracedQuantifier=function(r,u){var h=r.pos;if(r.eat(123)){var x=0,v=-1;if(this.regexp_eatDecimalDigits(r)&&(x=r.lastIntValue,r.eat(44)&&this.regexp_eatDecimalDigits(r)&&(v=r.lastIntValue),r.eat(125)))return v!==-1&&v<x&&!u&&r.raise("numbers out of order in {} quantifier"),!0;r.switchU&&!u&&r.raise("Incomplete quantifier"),r.pos=h}return!1},H.regexp_eatAtom=function(r){return this.regexp_eatPatternCharacters(r)||r.eat(46)||this.regexp_eatReverseSolidusAtomEscape(r)||this.regexp_eatCharacterClass(r)||this.regexp_eatUncapturingGroup(r)||this.regexp_eatCapturingGroup(r)},H.regexp_eatReverseSolidusAtomEscape=function(r){var u=r.pos;if(r.eat(92)){if(this.regexp_eatAtomEscape(r))return!0;r.pos=u}return!1},H.regexp_eatUncapturingGroup=function(r){var u=r.pos;if(r.eat(40)){if(r.eat(63)){if(this.options.ecmaVersion>=16){var h=this.regexp_eatModifiers(r),x=r.eat(45);if(h||x){for(var v=0;v<h.length;v++){var P=h.charAt(v);h.indexOf(P,v+1)>-1&&r.raise("Duplicate regular expression modifiers")}if(x){var L=this.regexp_eatModifiers(r);!h&&!L&&r.current()===58&&r.raise("Invalid regular expression modifiers");for(var M=0;M<L.length;M++){var J=L.charAt(M);(L.indexOf(J,M+1)>-1||h.indexOf(J)>-1)&&r.raise("Duplicate regular expression modifiers")}}}}if(r.eat(58)){if(this.regexp_disjunction(r),r.eat(41))return!0;r.raise("Unterminated group")}}r.pos=u}return!1},H.regexp_eatCapturingGroup=function(r){if(r.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(r):r.current()===63&&r.raise("Invalid group"),this.regexp_disjunction(r),r.eat(41))return r.numCapturingParens+=1,!0;r.raise("Unterminated group")}return!1},H.regexp_eatModifiers=function(r){for(var u="",h=0;(h=r.current())!==-1&&xf(h);)u+=me(h),r.advance();return u};function xf(r){return r===105||r===109||r===115}H.regexp_eatExtendedAtom=function(r){return r.eat(46)||this.regexp_eatReverseSolidusAtomEscape(r)||this.regexp_eatCharacterClass(r)||this.regexp_eatUncapturingGroup(r)||this.regexp_eatCapturingGroup(r)||this.regexp_eatInvalidBracedQuantifier(r)||this.regexp_eatExtendedPatternCharacter(r)},H.regexp_eatInvalidBracedQuantifier=function(r){return this.regexp_eatBracedQuantifier(r,!0)&&r.raise("Nothing to repeat"),!1},H.regexp_eatSyntaxCharacter=function(r){var u=r.current();return qa(u)?(r.lastIntValue=u,r.advance(),!0):!1};function qa(r){return r===36||r>=40&&r<=43||r===46||r===63||r>=91&&r<=94||r>=123&&r<=125}H.regexp_eatPatternCharacters=function(r){for(var u=r.pos,h=0;(h=r.current())!==-1&&!qa(h);)r.advance();return r.pos!==u},H.regexp_eatExtendedPatternCharacter=function(r){var u=r.current();return u!==-1&&u!==36&&!(u>=40&&u<=43)&&u!==46&&u!==63&&u!==91&&u!==94&&u!==124?(r.advance(),!0):!1},H.regexp_groupSpecifier=function(r){if(r.eat(63)){this.regexp_eatGroupName(r)||r.raise("Invalid group");var u=this.options.ecmaVersion>=16,h=r.groupNames[r.lastStringValue];if(h)if(u)for(var x=0,v=h;x<v.length;x+=1){var P=v[x];P.separatedFrom(r.branchID)||r.raise("Duplicate capture group name")}else r.raise("Duplicate capture group name");u?(h||(r.groupNames[r.lastStringValue]=[])).push(r.branchID):r.groupNames[r.lastStringValue]=!0}},H.regexp_eatGroupName=function(r){if(r.lastStringValue="",r.eat(60)){if(this.regexp_eatRegExpIdentifierName(r)&&r.eat(62))return!0;r.raise("Invalid capture group name")}return!1},H.regexp_eatRegExpIdentifierName=function(r){if(r.lastStringValue="",this.regexp_eatRegExpIdentifierStart(r)){for(r.lastStringValue+=me(r.lastIntValue);this.regexp_eatRegExpIdentifierPart(r);)r.lastStringValue+=me(r.lastIntValue);return!0}return!1},H.regexp_eatRegExpIdentifierStart=function(r){var u=r.pos,h=this.options.ecmaVersion>=11,x=r.current(h);return r.advance(h),x===92&&this.regexp_eatRegExpUnicodeEscapeSequence(r,h)&&(x=r.lastIntValue),gf(x)?(r.lastIntValue=x,!0):(r.pos=u,!1)};function gf(r){return y(r,!0)||r===36||r===95}H.regexp_eatRegExpIdentifierPart=function(r){var u=r.pos,h=this.options.ecmaVersion>=11,x=r.current(h);return r.advance(h),x===92&&this.regexp_eatRegExpUnicodeEscapeSequence(r,h)&&(x=r.lastIntValue),bf(x)?(r.lastIntValue=x,!0):(r.pos=u,!1)};function bf(r){return g(r,!0)||r===36||r===95||r===8204||r===8205}H.regexp_eatAtomEscape=function(r){return this.regexp_eatBackReference(r)||this.regexp_eatCharacterClassEscape(r)||this.regexp_eatCharacterEscape(r)||r.switchN&&this.regexp_eatKGroupName(r)?!0:(r.switchU&&(r.current()===99&&r.raise("Invalid unicode escape"),r.raise("Invalid escape")),!1)},H.regexp_eatBackReference=function(r){var u=r.pos;if(this.regexp_eatDecimalEscape(r)){var h=r.lastIntValue;if(r.switchU)return h>r.maxBackReference&&(r.maxBackReference=h),!0;if(h<=r.numCapturingParens)return!0;r.pos=u}return!1},H.regexp_eatKGroupName=function(r){if(r.eat(107)){if(this.regexp_eatGroupName(r))return r.backReferenceNames.push(r.lastStringValue),!0;r.raise("Invalid named reference")}return!1},H.regexp_eatCharacterEscape=function(r){return this.regexp_eatControlEscape(r)||this.regexp_eatCControlLetter(r)||this.regexp_eatZero(r)||this.regexp_eatHexEscapeSequence(r)||this.regexp_eatRegExpUnicodeEscapeSequence(r,!1)||!r.switchU&&this.regexp_eatLegacyOctalEscapeSequence(r)||this.regexp_eatIdentityEscape(r)},H.regexp_eatCControlLetter=function(r){var u=r.pos;if(r.eat(99)){if(this.regexp_eatControlLetter(r))return!0;r.pos=u}return!1},H.regexp_eatZero=function(r){return r.current()===48&&!ar(r.lookahead())?(r.lastIntValue=0,r.advance(),!0):!1},H.regexp_eatControlEscape=function(r){var u=r.current();return u===116?(r.lastIntValue=9,r.advance(),!0):u===110?(r.lastIntValue=10,r.advance(),!0):u===118?(r.lastIntValue=11,r.advance(),!0):u===102?(r.lastIntValue=12,r.advance(),!0):u===114?(r.lastIntValue=13,r.advance(),!0):!1},H.regexp_eatControlLetter=function(r){var u=r.current();return za(u)?(r.lastIntValue=u%32,r.advance(),!0):!1};function za(r){return r>=65&&r<=90||r>=97&&r<=122}H.regexp_eatRegExpUnicodeEscapeSequence=function(r,u){u===void 0&&(u=!1);var h=r.pos,x=u||r.switchU;if(r.eat(117)){if(this.regexp_eatFixedHexDigits(r,4)){var v=r.lastIntValue;if(x&&v>=55296&&v<=56319){var P=r.pos;if(r.eat(92)&&r.eat(117)&&this.regexp_eatFixedHexDigits(r,4)){var L=r.lastIntValue;if(L>=56320&&L<=57343)return r.lastIntValue=(v-55296)*1024+(L-56320)+65536,!0}r.pos=P,r.lastIntValue=v}return!0}if(x&&r.eat(123)&&this.regexp_eatHexDigits(r)&&r.eat(125)&&kf(r.lastIntValue))return!0;x&&r.raise("Invalid unicode escape"),r.pos=h}return!1};function kf(r){return r>=0&&r<=1114111}H.regexp_eatIdentityEscape=function(r){if(r.switchU)return this.regexp_eatSyntaxCharacter(r)?!0:r.eat(47)?(r.lastIntValue=47,!0):!1;var u=r.current();return u!==99&&(!r.switchN||u!==107)?(r.lastIntValue=u,r.advance(),!0):!1},H.regexp_eatDecimalEscape=function(r){r.lastIntValue=0;var u=r.current();if(u>=49&&u<=57){do r.lastIntValue=10*r.lastIntValue+(u-48),r.advance();while((u=r.current())>=48&&u<=57);return!0}return!1};var ja=0,At=1,et=2;H.regexp_eatCharacterClassEscape=function(r){var u=r.current();if(yf(u))return r.lastIntValue=-1,r.advance(),At;var h=!1;if(r.switchU&&this.options.ecmaVersion>=9&&((h=u===80)||u===112)){r.lastIntValue=-1,r.advance();var x;if(r.eat(123)&&(x=this.regexp_eatUnicodePropertyValueExpression(r))&&r.eat(125))return h&&x===et&&r.raise("Invalid property name"),x;r.raise("Invalid property name")}return ja};function yf(r){return r===100||r===68||r===115||r===83||r===119||r===87}H.regexp_eatUnicodePropertyValueExpression=function(r){var u=r.pos;if(this.regexp_eatUnicodePropertyName(r)&&r.eat(61)){var h=r.lastStringValue;if(this.regexp_eatUnicodePropertyValue(r)){var x=r.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(r,h,x),At}}if(r.pos=u,this.regexp_eatLoneUnicodePropertyNameOrValue(r)){var v=r.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(r,v)}return ja},H.regexp_validateUnicodePropertyNameAndValue=function(r,u,h){Y(r.unicodeProperties.nonBinary,u)||r.raise("Invalid property name"),r.unicodeProperties.nonBinary[u].test(h)||r.raise("Invalid property value")},H.regexp_validateUnicodePropertyNameOrValue=function(r,u){if(r.unicodeProperties.binary.test(u))return At;if(r.switchV&&r.unicodeProperties.binaryOfStrings.test(u))return et;r.raise("Invalid property name")},H.regexp_eatUnicodePropertyName=function(r){var u=0;for(r.lastStringValue="";Ua(u=r.current());)r.lastStringValue+=me(u),r.advance();return r.lastStringValue!==""};function Ua(r){return za(r)||r===95}H.regexp_eatUnicodePropertyValue=function(r){var u=0;for(r.lastStringValue="";vf(u=r.current());)r.lastStringValue+=me(u),r.advance();return r.lastStringValue!==""};function vf(r){return Ua(r)||ar(r)}H.regexp_eatLoneUnicodePropertyNameOrValue=function(r){return this.regexp_eatUnicodePropertyValue(r)},H.regexp_eatCharacterClass=function(r){if(r.eat(91)){var u=r.eat(94),h=this.regexp_classContents(r);return r.eat(93)||r.raise("Unterminated character class"),u&&h===et&&r.raise("Negated character class may contain strings"),!0}return!1},H.regexp_classContents=function(r){return r.current()===93?At:r.switchV?this.regexp_classSetExpression(r):(this.regexp_nonEmptyClassRanges(r),At)},H.regexp_nonEmptyClassRanges=function(r){for(;this.regexp_eatClassAtom(r);){var u=r.lastIntValue;if(r.eat(45)&&this.regexp_eatClassAtom(r)){var h=r.lastIntValue;r.switchU&&(u===-1||h===-1)&&r.raise("Invalid character class"),u!==-1&&h!==-1&&u>h&&r.raise("Range out of order in character class")}}},H.regexp_eatClassAtom=function(r){var u=r.pos;if(r.eat(92)){if(this.regexp_eatClassEscape(r))return!0;if(r.switchU){var h=r.current();(h===99||Ga(h))&&r.raise("Invalid class escape"),r.raise("Invalid escape")}r.pos=u}var x=r.current();return x!==93?(r.lastIntValue=x,r.advance(),!0):!1},H.regexp_eatClassEscape=function(r){var u=r.pos;if(r.eat(98))return r.lastIntValue=8,!0;if(r.switchU&&r.eat(45))return r.lastIntValue=45,!0;if(!r.switchU&&r.eat(99)){if(this.regexp_eatClassControlLetter(r))return!0;r.pos=u}return this.regexp_eatCharacterClassEscape(r)||this.regexp_eatCharacterEscape(r)},H.regexp_classSetExpression=function(r){var u=At,h;if(!this.regexp_eatClassSetRange(r))if(h=this.regexp_eatClassSetOperand(r)){h===et&&(u=et);for(var x=r.pos;r.eatChars([38,38]);){if(r.current()!==38&&(h=this.regexp_eatClassSetOperand(r))){h!==et&&(u=At);continue}r.raise("Invalid character in character class")}if(x!==r.pos)return u;for(;r.eatChars([45,45]);)this.regexp_eatClassSetOperand(r)||r.raise("Invalid character in character class");if(x!==r.pos)return u}else r.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(r)){if(h=this.regexp_eatClassSetOperand(r),!h)return u;h===et&&(u=et)}},H.regexp_eatClassSetRange=function(r){var u=r.pos;if(this.regexp_eatClassSetCharacter(r)){var h=r.lastIntValue;if(r.eat(45)&&this.regexp_eatClassSetCharacter(r)){var x=r.lastIntValue;return h!==-1&&x!==-1&&h>x&&r.raise("Range out of order in character class"),!0}r.pos=u}return!1},H.regexp_eatClassSetOperand=function(r){return this.regexp_eatClassSetCharacter(r)?At:this.regexp_eatClassStringDisjunction(r)||this.regexp_eatNestedClass(r)},H.regexp_eatNestedClass=function(r){var u=r.pos;if(r.eat(91)){var h=r.eat(94),x=this.regexp_classContents(r);if(r.eat(93))return h&&x===et&&r.raise("Negated character class may contain strings"),x;r.pos=u}if(r.eat(92)){var v=this.regexp_eatCharacterClassEscape(r);if(v)return v;r.pos=u}return null},H.regexp_eatClassStringDisjunction=function(r){var u=r.pos;if(r.eatChars([92,113])){if(r.eat(123)){var h=this.regexp_classStringDisjunctionContents(r);if(r.eat(125))return h}else r.raise("Invalid escape");r.pos=u}return null},H.regexp_classStringDisjunctionContents=function(r){for(var u=this.regexp_classString(r);r.eat(124);)this.regexp_classString(r)===et&&(u=et);return u},H.regexp_classString=function(r){for(var u=0;this.regexp_eatClassSetCharacter(r);)u++;return u===1?At:et},H.regexp_eatClassSetCharacter=function(r){var u=r.pos;if(r.eat(92))return this.regexp_eatCharacterEscape(r)||this.regexp_eatClassSetReservedPunctuator(r)?!0:r.eat(98)?(r.lastIntValue=8,!0):(r.pos=u,!1);var h=r.current();return h<0||h===r.lookahead()&&wf(h)||Sf(h)?!1:(r.advance(),r.lastIntValue=h,!0)};function wf(r){return r===33||r>=35&&r<=38||r>=42&&r<=44||r===46||r>=58&&r<=64||r===94||r===96||r===126}function Sf(r){return r===40||r===41||r===45||r===47||r>=91&&r<=93||r>=123&&r<=125}H.regexp_eatClassSetReservedPunctuator=function(r){var u=r.current();return Cf(u)?(r.lastIntValue=u,r.advance(),!0):!1};function Cf(r){return r===33||r===35||r===37||r===38||r===44||r===45||r>=58&&r<=62||r===64||r===96||r===126}H.regexp_eatClassControlLetter=function(r){var u=r.current();return ar(u)||u===95?(r.lastIntValue=u%32,r.advance(),!0):!1},H.regexp_eatHexEscapeSequence=function(r){var u=r.pos;if(r.eat(120)){if(this.regexp_eatFixedHexDigits(r,2))return!0;r.switchU&&r.raise("Invalid escape"),r.pos=u}return!1},H.regexp_eatDecimalDigits=function(r){var u=r.pos,h=0;for(r.lastIntValue=0;ar(h=r.current());)r.lastIntValue=10*r.lastIntValue+(h-48),r.advance();return r.pos!==u};function ar(r){return r>=48&&r<=57}H.regexp_eatHexDigits=function(r){var u=r.pos,h=0;for(r.lastIntValue=0;Ja(h=r.current());)r.lastIntValue=16*r.lastIntValue+Ha(h),r.advance();return r.pos!==u};function Ja(r){return r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102}function Ha(r){return r>=65&&r<=70?10+(r-65):r>=97&&r<=102?10+(r-97):r-48}H.regexp_eatLegacyOctalEscapeSequence=function(r){if(this.regexp_eatOctalDigit(r)){var u=r.lastIntValue;if(this.regexp_eatOctalDigit(r)){var h=r.lastIntValue;u<=3&&this.regexp_eatOctalDigit(r)?r.lastIntValue=u*64+h*8+r.lastIntValue:r.lastIntValue=u*8+h}else r.lastIntValue=u;return!0}return!1},H.regexp_eatOctalDigit=function(r){var u=r.current();return Ga(u)?(r.lastIntValue=u-48,r.advance(),!0):(r.lastIntValue=0,!1)};function Ga(r){return r>=48&&r<=55}H.regexp_eatFixedHexDigits=function(r,u){var h=r.pos;r.lastIntValue=0;for(var x=0;x<u;++x){var v=r.current();if(!Ja(v))return r.pos=h,!1;r.lastIntValue=16*r.lastIntValue+Ha(v),r.advance()}return!0};var or=function(u){this.type=u.type,this.value=u.value,this.start=u.start,this.end=u.end,u.options.locations&&(this.loc=new _e(u,u.startLoc,u.endLoc)),u.options.ranges&&(this.range=[u.start,u.end])},le=be.prototype;le.next=function(r){!r&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new or(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},le.getToken=function(){return this.next(),new or(this)},typeof Symbol<"u"&&(le[Symbol.iterator]=function(){var r=this;return{next:function(){var u=r.getToken();return{done:u.type===p.eof,value:u}}}}),le.nextToken=function(){var r=this.curContext();if((!r||!r.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(p.eof);if(r.override)return r.override(this);this.readToken(this.fullCharCodeAtPos())},le.readToken=function(r){return y(r,this.options.ecmaVersion>=6)||r===92?this.readWord():this.getTokenFromCode(r)},le.fullCharCodeAt=function(r){var u=this.input.charCodeAt(r);if(u<=55295||u>=56320)return u;var h=this.input.charCodeAt(r+1);return h<=56319||h>=57344?u:(u<<10)+h-56613888},le.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)},le.skipBlockComment=function(){var r=this.options.onComment&&this.curPosition(),u=this.pos,h=this.input.indexOf("*/",this.pos+=2);if(h===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=h+2,this.options.locations)for(var x=void 0,v=u;(x=B(this.input,v,this.pos))>-1;)++this.curLine,v=this.lineStart=x;this.options.onComment&&this.options.onComment(!0,this.input.slice(u+2,h),u,this.pos,r,this.curPosition())},le.skipLineComment=function(r){for(var u=this.pos,h=this.options.onComment&&this.curPosition(),x=this.input.charCodeAt(this.pos+=r);this.pos<this.input.length&&!D(x);)x=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(u+r,this.pos),u,this.pos,h,this.curPosition())},le.skipSpace=function(){e:for(;this.pos<this.input.length;){var r=this.input.charCodeAt(this.pos);switch(r){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,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(r>8&&r<14||r>=5760&&U.test(String.fromCharCode(r)))++this.pos;else break e}}},le.finishToken=function(r,u){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var h=this.type;this.type=r,this.value=u,this.updateContext(h)},le.readToken_dot=function(){var r=this.input.charCodeAt(this.pos+1);if(r>=48&&r<=57)return this.readNumber(!0);var u=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&r===46&&u===46?(this.pos+=3,this.finishToken(p.ellipsis)):(++this.pos,this.finishToken(p.dot))},le.readToken_slash=function(){var r=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):r===61?this.finishOp(p.assign,2):this.finishOp(p.slash,1)},le.readToken_mult_modulo_exp=function(r){var u=this.input.charCodeAt(this.pos+1),h=1,x=r===42?p.star:p.modulo;return this.options.ecmaVersion>=7&&r===42&&u===42&&(++h,x=p.starstar,u=this.input.charCodeAt(this.pos+2)),u===61?this.finishOp(p.assign,h+1):this.finishOp(x,h)},le.readToken_pipe_amp=function(r){var u=this.input.charCodeAt(this.pos+1);if(u===r){if(this.options.ecmaVersion>=12){var h=this.input.charCodeAt(this.pos+2);if(h===61)return this.finishOp(p.assign,3)}return this.finishOp(r===124?p.logicalOR:p.logicalAND,2)}return u===61?this.finishOp(p.assign,2):this.finishOp(r===124?p.bitwiseOR:p.bitwiseAND,1)},le.readToken_caret=function(){var r=this.input.charCodeAt(this.pos+1);return r===61?this.finishOp(p.assign,2):this.finishOp(p.bitwiseXOR,1)},le.readToken_plus_min=function(r){var u=this.input.charCodeAt(this.pos+1);return u===r?u===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||O.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(p.incDec,2):u===61?this.finishOp(p.assign,2):this.finishOp(p.plusMin,1)},le.readToken_lt_gt=function(r){var u=this.input.charCodeAt(this.pos+1),h=1;return u===r?(h=r===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+h)===61?this.finishOp(p.assign,h+1):this.finishOp(p.bitShift,h)):u===33&&r===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(u===61&&(h=2),this.finishOp(p.relational,h))},le.readToken_eq_excl=function(r){var u=this.input.charCodeAt(this.pos+1);return u===61?this.finishOp(p.equality,this.input.charCodeAt(this.pos+2)===61?3:2):r===61&&u===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(p.arrow)):this.finishOp(r===61?p.eq:p.prefix,1)},le.readToken_question=function(){var r=this.options.ecmaVersion;if(r>=11){var u=this.input.charCodeAt(this.pos+1);if(u===46){var h=this.input.charCodeAt(this.pos+2);if(h<48||h>57)return this.finishOp(p.questionDot,2)}if(u===63){if(r>=12){var x=this.input.charCodeAt(this.pos+2);if(x===61)return this.finishOp(p.assign,3)}return this.finishOp(p.coalesce,2)}}return this.finishOp(p.question,1)},le.readToken_numberSign=function(){var r=this.options.ecmaVersion,u=35;if(r>=13&&(++this.pos,u=this.fullCharCodeAtPos(),y(u,!0)||u===92))return this.finishToken(p.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+me(u)+"'")},le.getTokenFromCode=function(r){switch(r){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(p.parenL);case 41:return++this.pos,this.finishToken(p.parenR);case 59:return++this.pos,this.finishToken(p.semi);case 44:return++this.pos,this.finishToken(p.comma);case 91:return++this.pos,this.finishToken(p.bracketL);case 93:return++this.pos,this.finishToken(p.bracketR);case 123:return++this.pos,this.finishToken(p.braceL);case 125:return++this.pos,this.finishToken(p.braceR);case 58:return++this.pos,this.finishToken(p.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(p.backQuote);case 48:var u=this.input.charCodeAt(this.pos+1);if(u===120||u===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(u===111||u===79)return this.readRadixNumber(8);if(u===98||u===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(!1);case 34:case 39:return this.readString(r);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(r);case 124:case 38:return this.readToken_pipe_amp(r);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(r);case 60:case 62:return this.readToken_lt_gt(r);case 61:case 33:return this.readToken_eq_excl(r);case 63:return this.readToken_question();case 126:return this.finishOp(p.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+me(r)+"'")},le.finishOp=function(r,u){var h=this.input.slice(this.pos,this.pos+u);return this.pos+=u,this.finishToken(r,h)},le.readRegexp=function(){for(var r,u,h=this.pos;;){this.pos>=this.input.length&&this.raise(h,"Unterminated regular expression");var x=this.input.charAt(this.pos);if(O.test(x)&&this.raise(h,"Unterminated regular expression"),r)r=!1;else{if(x==="[")u=!0;else if(x==="]"&&u)u=!1;else if(x==="/"&&!u)break;r=x==="\\"}++this.pos}var v=this.input.slice(h,this.pos);++this.pos;var P=this.pos,L=this.readWord1();this.containsEsc&&this.unexpected(P);var M=this.regexpState||(this.regexpState=new gt(this));M.reset(h,v,L),this.validateRegExpFlags(M),this.validateRegExpPattern(M);var J=null;try{J=new RegExp(v,L)}catch{}return this.finishToken(p.regexp,{pattern:v,flags:L,value:J})},le.readInt=function(r,u,h){for(var x=this.options.ecmaVersion>=12&&u===void 0,v=h&&this.input.charCodeAt(this.pos)===48,P=this.pos,L=0,M=0,J=0,ie=u??1/0;J<ie;++J,++this.pos){var oe=this.input.charCodeAt(this.pos),ye=void 0;if(x&&oe===95){v&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),M===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),J===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),M=oe;continue}if(oe>=97?ye=oe-97+10:oe>=65?ye=oe-65+10:oe>=48&&oe<=57?ye=oe-48:ye=1/0,ye>=r)break;M=oe,L=L*r+ye}return x&&M===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===P||u!=null&&this.pos-P!==u?null:L};function Ef(r,u){return u?parseInt(r,8):parseFloat(r.replace(/_/g,""))}function Wa(r){return typeof BigInt!="function"?null:BigInt(r.replace(/_/g,""))}le.readRadixNumber=function(r){var u=this.pos;this.pos+=2;var h=this.readInt(r);return h==null&&this.raise(this.start+2,"Expected number in radix "+r),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(h=Wa(this.input.slice(u,this.pos)),++this.pos):y(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(p.num,h)},le.readNumber=function(r){var u=this.pos;!r&&this.readInt(10,void 0,!0)===null&&this.raise(u,"Invalid number");var h=this.pos-u>=2&&this.input.charCodeAt(u)===48;h&&this.strict&&this.raise(u,"Invalid number");var x=this.input.charCodeAt(this.pos);if(!h&&!r&&this.options.ecmaVersion>=11&&x===110){var v=Wa(this.input.slice(u,this.pos));return++this.pos,y(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(p.num,v)}h&&/[89]/.test(this.input.slice(u,this.pos))&&(h=!1),x===46&&!h&&(++this.pos,this.readInt(10),x=this.input.charCodeAt(this.pos)),(x===69||x===101)&&!h&&(x=this.input.charCodeAt(++this.pos),(x===43||x===45)&&++this.pos,this.readInt(10)===null&&this.raise(u,"Invalid number")),y(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var P=Ef(this.input.slice(u,this.pos),h);return this.finishToken(p.num,P)},le.readCodePoint=function(){var r=this.input.charCodeAt(this.pos),u;if(r===123){this.options.ecmaVersion<6&&this.unexpected();var h=++this.pos;u=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,u>1114111&&this.invalidStringToken(h,"Code point out of bounds")}else u=this.readHexChar(4);return u},le.readString=function(r){for(var u="",h=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var x=this.input.charCodeAt(this.pos);if(x===r)break;x===92?(u+=this.input.slice(h,this.pos),u+=this.readEscapedChar(!1),h=this.pos):x===8232||x===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(D(x)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return u+=this.input.slice(h,this.pos++),this.finishToken(p.string,u)};var Qa={};le.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(r){if(r===Qa)this.readInvalidTemplateToken();else throw r}this.inTemplateElement=!1},le.invalidStringToken=function(r,u){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Qa;this.raise(r,u)},le.readTmplToken=function(){for(var r="",u=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var h=this.input.charCodeAt(this.pos);if(h===96||h===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===p.template||this.type===p.invalidTemplate)?h===36?(this.pos+=2,this.finishToken(p.dollarBraceL)):(++this.pos,this.finishToken(p.backQuote)):(r+=this.input.slice(u,this.pos),this.finishToken(p.template,r));if(h===92)r+=this.input.slice(u,this.pos),r+=this.readEscapedChar(!0),u=this.pos;else if(D(h)){switch(r+=this.input.slice(u,this.pos),++this.pos,h){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:r+=`
|
|
44
|
+
`;break;default:r+=String.fromCharCode(h);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),u=this.pos}else++this.pos}},le.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(p.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
45
|
+
`&&++this.pos;case`
|
|
46
|
+
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},le.readEscapedChar=function(r){var u=this.input.charCodeAt(++this.pos);switch(++this.pos,u){case 110:return`
|
|
47
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return me(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),r){var h=this.pos-1;this.invalidStringToken(h,"Invalid escape sequence in template string")}default:if(u>=48&&u<=55){var x=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],v=parseInt(x,8);return v>255&&(x=x.slice(0,-1),v=parseInt(x,8)),this.pos+=x.length-1,u=this.input.charCodeAt(this.pos),(x!=="0"||u===56||u===57)&&(this.strict||r)&&this.invalidStringToken(this.pos-1-x.length,r?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(v)}return D(u)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(u)}},le.readHexChar=function(r){var u=this.pos,h=this.readInt(16,r);return h===null&&this.invalidStringToken(u,"Bad character escape sequence"),h},le.readWord1=function(){this.containsEsc=!1;for(var r="",u=!0,h=this.pos,x=this.options.ecmaVersion>=6;this.pos<this.input.length;){var v=this.fullCharCodeAtPos();if(g(v,x))this.pos+=v<=65535?1:2;else if(v===92){this.containsEsc=!0,r+=this.input.slice(h,this.pos);var P=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var L=this.readCodePoint();(u?y:g)(L,x)||this.invalidStringToken(P,"Invalid Unicode escape"),r+=me(L),h=this.pos}else break;u=!1}return r+this.input.slice(h,this.pos)},le.readWord=function(){var r=this.readWord1(),u=p.name;return this.keywords.test(r)&&(u=F[r]),this.finishToken(u,r)};var Ka="8.19.0";be.acorn={Parser:be,version:Ka,defaultOptions:A,Position:E,SourceLocation:_e,getLineInfo:ze,Node:Ti,TokenType:w,tokTypes:p,keywordTypes:F,TokContext:Ee,tokContexts:ke,isIdentifierChar:g,isIdentifierStart:y,Token:or,isNewLine:D,lineBreak:O,lineBreakG:R,nonASCIIwhitespace:U};function Af(r,u){return be.parse(r,u)}function _f(r,u,h){return be.parseExpressionAt(r,u,h)}function If(r,u){return be.tokenizer(r,u)}e.Node=Ti,e.Parser=be,e.Position=E,e.SourceLocation=_e,e.TokContext=Ee,e.Token=or,e.TokenType=w,e.defaultOptions=A,e.getLineInfo=ze,e.isIdentifierChar=g,e.isIdentifierStart=y,e.isNewLine=D,e.keywordTypes=F,e.lineBreak=O,e.lineBreakG=R,e.nonASCIIwhitespace=U,e.parse=Af,e.parseExpressionAt=_f,e.tokContexts=ke,e.tokTypes=p,e.tokenizer=If,e.version=Ka}))});var Sp=Ni((cC,fa)=>{"use strict";var tg=kp(),ig=/^[\da-fA-F]+$/,rg=/^\d+$/,vp=new WeakMap;function wp(e){e=e.Parser.acorn||e;let t=vp.get(e);if(!t){let i=e.tokTypes,n=e.TokContext,s=e.TokenType,a=new n("<tag",!1),o=new n("</tag",!1),l=new n("<tag>...</tag>",!0,!0),c={tc_oTag:a,tc_cTag:o,tc_expr:l},f={jsxName:new s("jsxName"),jsxText:new s("jsxText",{beforeExpr:!0}),jsxTagStart:new s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new s("jsxTagEnd")};f.jsxTagStart.updateContext=function(){this.context.push(l),this.context.push(a),this.exprAllowed=!1},f.jsxTagEnd.updateContext=function(d){let m=this.context.pop();m===a&&d===i.slash||m===o?(this.context.pop(),this.exprAllowed=this.curContext()===l):this.exprAllowed=!0},t={tokContexts:c,tokTypes:f},vp.set(e,t)}return t}function ir(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 ir(e.object)+"."+ir(e.property)}fa.exports=function(e){return e=e||{},function(t){return ng({allowNamespaces:e.allowNamespaces!==!1,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}};Object.defineProperty(fa.exports,"tokTypes",{get:function(){return wp(pa()).tokTypes},configurable:!0,enumerable:!0});function ng(e,t){let i=t.acorn||pa(),n=wp(i),s=i.tokTypes,a=n.tokTypes,o=i.tokContexts,l=n.tokContexts.tc_oTag,c=n.tokContexts.tc_cTag,f=n.tokContexts.tc_expr,d=i.isNewLine,m=i.isIdentifierStart,y=i.isIdentifierChar;return class extends t{static get acornJsx(){return n}jsx_readToken(){let g="",w=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let _=this.input.charCodeAt(this.pos);switch(_){case 60:case 123:return this.pos===this.start?_===60&&this.exprAllowed?(++this.pos,this.finishToken(a.jsxTagStart)):this.getTokenFromCode(_):(g+=this.input.slice(w,this.pos),this.finishToken(a.jsxText,g));case 38:g+=this.input.slice(w,this.pos),g+=this.jsx_readEntity(),w=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(_===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:d(_)?(g+=this.input.slice(w,this.pos),g+=this.jsx_readNewLine(!0),w=this.pos):++this.pos}}}jsx_readNewLine(g){let w=this.input.charCodeAt(this.pos),_;return++this.pos,w===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,_=g?`
|
|
48
|
+
`:`\r
|
|
49
|
+
`):_=String.fromCharCode(w),this.options.locations&&(++this.curLine,this.lineStart=this.pos),_}jsx_readString(g){let w="",_=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let V=this.input.charCodeAt(this.pos);if(V===g)break;V===38?(w+=this.input.slice(_,this.pos),w+=this.jsx_readEntity(),_=this.pos):d(V)?(w+=this.input.slice(_,this.pos),w+=this.jsx_readNewLine(!1),_=this.pos):++this.pos}return w+=this.input.slice(_,this.pos++),this.finishToken(s.string,w)}jsx_readEntity(){let g="",w=0,_,V=this.input[this.pos];V!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let S=++this.pos;for(;this.pos<this.input.length&&w++<10;){if(V=this.input[this.pos++],V===";"){g[0]==="#"?g[1]==="x"?(g=g.substr(2),ig.test(g)&&(_=String.fromCharCode(parseInt(g,16)))):(g=g.substr(1),rg.test(g)&&(_=String.fromCharCode(parseInt(g,10)))):_=tg[g];break}g+=V}return _||(this.pos=S,"&")}jsx_readWord(){let g,w=this.pos;do g=this.input.charCodeAt(++this.pos);while(y(g)||g===45);return this.finishToken(a.jsxName,this.input.slice(w,this.pos))}jsx_parseIdentifier(){let g=this.startNode();return this.type===a.jsxName?g.name=this.value:this.type.keyword?g.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(g,"JSXIdentifier")}jsx_parseNamespacedName(){let g=this.start,w=this.startLoc,_=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(s.colon))return _;var V=this.startNodeAt(g,w);return V.namespace=_,V.name=this.jsx_parseIdentifier(),this.finishNode(V,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===a.jsxTagEnd)return"";let g=this.start,w=this.startLoc,_=this.jsx_parseNamespacedName();for(this.type===s.dot&&_.type==="JSXNamespacedName"&&!e.allowNamespacedObjects&&this.unexpected();this.eat(s.dot);){let V=this.startNodeAt(g,w);V.object=_,V.property=this.jsx_parseIdentifier(),_=this.finishNode(V,"JSXMemberExpression")}return _}jsx_parseAttributeValue(){switch(this.type){case s.braceL:let g=this.jsx_parseExpressionContainer();return g.expression.type==="JSXEmptyExpression"&&this.raise(g.start,"JSX attributes must only be assigned a non-empty expression"),g;case a.jsxTagStart:case s.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let g=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(g,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let g=this.startNode();return this.next(),g.expression=this.type===s.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(s.braceR),this.finishNode(g,"JSXExpressionContainer")}jsx_parseAttribute(){let g=this.startNode();return this.eat(s.braceL)?(this.expect(s.ellipsis),g.argument=this.parseMaybeAssign(),this.expect(s.braceR),this.finishNode(g,"JSXSpreadAttribute")):(g.name=this.jsx_parseNamespacedName(),g.value=this.eat(s.eq)?this.jsx_parseAttributeValue():null,this.finishNode(g,"JSXAttribute"))}jsx_parseOpeningElementAt(g,w){let _=this.startNodeAt(g,w);_.attributes=[];let V=this.jsx_parseElementName();for(V&&(_.name=V);this.type!==s.slash&&this.type!==a.jsxTagEnd;)_.attributes.push(this.jsx_parseAttribute());return _.selfClosing=this.eat(s.slash),this.expect(a.jsxTagEnd),this.finishNode(_,V?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(g,w){let _=this.startNodeAt(g,w),V=this.jsx_parseElementName();return V&&(_.name=V),this.expect(a.jsxTagEnd),this.finishNode(_,V?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(g,w){let _=this.startNodeAt(g,w),V=[],S=this.jsx_parseOpeningElementAt(g,w),F=null;if(!S.selfClosing){e:for(;;)switch(this.type){case a.jsxTagStart:if(g=this.start,w=this.startLoc,this.next(),this.eat(s.slash)){F=this.jsx_parseClosingElementAt(g,w);break e}V.push(this.jsx_parseElementAt(g,w));break;case a.jsxText:V.push(this.parseExprAtom());break;case s.braceL:V.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}ir(F.name)!==ir(S.name)&&this.raise(F.start,"Expected corresponding JSX closing tag for <"+ir(S.name)+">")}let C=S.name?"Element":"Fragment";return _["opening"+C]=S,_["closing"+C]=F,_.children=V,this.type===s.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(_,"JSX"+C)}jsx_parseText(){let g=this.parseLiteral(this.value);return g.type="JSXText",g}jsx_parseElement(){let g=this.start,w=this.startLoc;return this.next(),this.jsx_parseElementAt(g,w)}parseExprAtom(g){return this.type===a.jsxText?this.jsx_parseText():this.type===a.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(g)}readToken(g){let w=this.curContext();if(w===f)return this.jsx_readToken();if(w===l||w===c){if(m(g))return this.jsx_readWord();if(g==62)return++this.pos,this.finishToken(a.jsxTagEnd);if((g===34||g===39)&&w==l)return this.jsx_readString(g)}return g===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(a.jsxTagStart)):super.readToken(g)}updateContext(g){if(this.type==s.braceL){var w=this.curContext();w==l?this.context.push(o.b_expr):w==f?this.context.push(o.b_tmpl):super.updateContext(g),this.exprAllowed=!0}else if(this.type===s.slash&&g===a.jsxTagStart)this.context.length-=2,this.context.push(c),this.exprAllowed=!1;else return super.updateContext(g)}}}});function ma(e,t){let i,n;typeof t=="function"?i=t:t&&typeof t=="object"&&(t.enter&&(i=t.enter),t.leave&&(n=t.leave)),s(e,void 0,void 0,[])();function s(a,o,l,c){return da(a)&&(f.displayName="node ("+a.type+")"),f;function f(){let d=i?Cp(i(a,o,l,c)):[];if(d[0]===an)return d;if(d[0]!==Ap){let m;for(m in a)if(sg.call(a,m)&&a[m]&&typeof a[m]=="object"&&m!=="data"&&m!=="position"){let y=c.concat(a),g=a[m];if(Array.isArray(g)){let w=g,_=0;for(;_>-1&&_<w.length;){let V=w[_];if(da(V)){let S=s(V,m,_,y)();if(S[0]===an)return S;_=typeof S[1]=="number"?S[1]:_+1}else _++}}else if(da(g)){let w=s(g,m,void 0,y)();if(w[0]===an)return w}}}return n?Cp(n(a,o,l,c)):d}}}function Cp(e){return Array.isArray(e)?e:typeof e=="number"?[Ep,e]:[e]}function da(e){return!!(e&&typeof e=="object"&&"type"in e&&typeof e.type=="string"&&e.type.length>0)}var sg,Ep,an,Ap,_p=I(()=>{sg={}.hasOwnProperty,Ep=Symbol("continue"),an=Symbol("exit"),Ap=Symbol("skip")});var Ip=I(()=>{_p()});function rr(e,t){let i=t.prefix||"",n=t.suffix||"",s=Object.assign({},t.acornOptions),a=[],o=[],l=s.onComment,c=s.onToken,f=!1,d,m,y=Object.assign({},s,{onComment:a,preserveParens:!0});c&&(y.onToken=o);let g=ag(e,t.tokenTypes),w=g.value,_=i+w+n,V=t.expression&&Tp(w);if(V&&!t.allowEmpty)throw new de("Unexpected empty expression",{place:F(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{d=t.expression&&!V?t.acorn.parseExpressionAt(_,0,y):t.acorn.parse(_,y)}catch(C){let p=C,O=F(p.pos);p.message=String(p.message).replace(/ \(\d+:\d+\)$/,""),p.pos=O.offset,p.loc={line:O.line,column:O.column-1},m=p,f=p.raisedAt>=i.length+w.length||p.message==="Unterminated comment"}if(d&&t.expression&&!V)if(Tp(_.slice(d.end,_.length-n.length)))d={type:"Program",start:0,end:i.length+w.length,body:[{type:"ExpressionStatement",expression:d,start:0,end:i.length+w.length}],sourceType:"module",comments:[]};else{let C=F(d.end),p=new Error("Unexpected content after expression");p.pos=C.offset,p.loc={line:C.line,column:C.column-1},m=p,d=void 0}if(d){if(d.comments=a,ma(d,function(C,p,O,R){let D=R[R.length-1],B=p;C.type==="ParenthesizedExpression"&&D&&B&&(typeof O=="number"&&(D=D[B],B=O),D[B]=C.expression),S(C)}),Array.isArray(l))l.push(...a);else if(typeof l=="function")for(let C of a)l(C.type==="Block",C.value,C.start,C.end,C.loc.start,C.loc.end);for(let C of o)C.end<=i.length||C.start-i.length>=w.length||(S(C),Array.isArray(c)?c.push(C):c(C))}return{estree:d,error:m,swallow:f};function S(C){let p=F(C.start),O=F(C.end);C.start=p.offset,C.end=O.offset,C.loc={start:{line:p.line,column:p.column-1,offset:p.offset},end:{line:O.line,column:O.column-1,offset:O.offset}},C.range=[C.start,C.end]}function F(C){let p=C-i.length;p<0?p=0:p>w.length&&(p=w.length);let O=og(g.stops,p);return O||(O={line:t.start.line,column:t.start.column,offset:t.start.offset}),O}}function Tp(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function ag(e,t){let i={value:"",stops:[]},n=-1;for(;++n<e.length;){let s=e[n];if(s[0]==="enter"){let a=s[1].type;if(a==="lineEnding"||t.includes(a)){let o=s[2].sliceStream(s[1]);for(;o.length>0&&o[0]===-1;)o.shift();let l=ug(o);i.stops.push([i.value.length,s[1].start]),i.value+=l,i.stops.push([i.value.length,s[1].end])}}}return i}function og(e,t){let i=0;for(;i<e.length&&e[i][0]<=t;)i+=1;if(i===0)return;let[n,s]=e[i-1],a=t-n;return{line:s.line,column:s.column+a,offset:s.offset+a}}function ug(e){let t=-1,i=[],n;for(;++t<e.length;){let s=e[t],a;if(typeof s=="string")a=s;else switch(s){case-5:{a="\r";break}case-4:{a=`
|
|
50
|
+
`;break}case-3:{a=`\r
|
|
51
|
+
`;break}case-2:{a=" ";break}case-1:{if(n)continue;a=" ";break}default:a=String.fromCharCode(s)}n=s===-2,i.push(a)}return i.join("")}var Pp=I(()=>{Ip();Qt()});var xa=I(()=>{Pp()});function si(e){let t=e||{},i=t.loc||{},n=t.range||[void 0,void 0],s=Lp(i.start,n[0]||t.start),a=Lp(i.end,n[1]||t.end);if(s&&a)return{start:s,end:a}}function Lp(e,t){if(e&&typeof e=="object"){let i="line"in e?ga(e.line):void 0,n="column"in e?ga(e.column):void 0;if(i&&n!==void 0)return{line:i,column:n+1,offset:ga(t)}}}function ga(e){return typeof e=="number"&&e>-1?e:void 0}var Np=I(()=>{});var ba=I(()=>{Np()});function Ai(e,t,i,n,s,a,o,l,c,f,d){let m=this,y=this.events.length+3,g=0,w,_;return V;function V(p){return e.enter(i),e.enter(n),e.consume(p),e.exit(n),w=m.now(),S}function S(p){if(p===null){if(_)throw _;let O=new de("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:m.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw O.url=Ei+cg,O}if(j(p))return e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),C;if(p===125&&g===0){let O=a?dg.call(m,a,o,s,y,w,f||!1,c||!1):{type:"ok",estree:void 0};if(O.type==="ok"){e.enter(n),e.consume(p),e.exit(n);let R=e.exit(i);return l&&O.estree&&Object.assign(R,{estree:O.estree}),t}return _=O.message,e.enter(s),e.consume(p),F}return e.enter(s),F(p)}function F(p){return p===125&&g===0||p===null||j(p)?(e.exit(s),S(p)):(p===123&&!a?g+=1:p===125&&(g-=1),e.consume(p),F)}function C(p){let O=m.now();if(O.line!==w.line&&!d&&m.parser.lazy[O.line]){let R=new de("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:m.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw R.url=Ei+hg,R}return W(p)?X(e,S,"linePrefix",lg+1)(p):S(p)}}function dg(e,t,i,n,s,a,o){let l=rr(this.events.slice(n),{acorn:e,tokenTypes:[i],acornOptions:t,start:s,expression:!0,allowEmpty:a,prefix:o?"({":"",suffix:o?"})":""}),c=l.estree;if(o&&c){let f=c.body[0];if(f.type!=="ExpressionStatement"||f.expression.type!=="ObjectExpression"){let d=si(f),m=new de("Unexpected `"+f.type+"` in code: expected an object spread (`{...spread}`)",{place:d.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw m.url=Ei+Vp,m}if(f.expression.properties[1]){let d=si(f.expression.properties[1]),m=new de("Unexpected extra content in spread: only a single spread is supported",{place:d.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw m.url=Ei+pg,m}if(f.expression.properties[0]&&f.expression.properties[0].type!=="SpreadElement"){let d=si(f.expression.properties[0]),m=new de("Unexpected `"+f.expression.properties[0].type+"` in code: only spread elements are supported",{place:d.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw m.url=Ei+Vp,m}}if(l.error){let f=new de("Could not parse expression with acorn",{cause:l.error,place:{line:l.error.loc.line,column:l.error.loc.column+1,offset:l.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return f.url=Ei+fg,{type:"nok",message:f}}return{type:"ok",estree:c}}var lg,Ei,cg,hg,Vp,pg,fg,ka=I(()=>{we();ue();xa();ba();Qt();lg=2,Ei="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",cg="#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",hg="#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",Vp="#unexpected-type-in-code-expected-an-object-spread-spread",pg="#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",fg="#could-not-parse-expression-with-acorn"});function ya(e){let t=e||{},i=t.addResult,n=t.acorn,s=t.spread,a=t.allowEmpty,o;if(a==null&&(a=!0),n){if(!n.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");o=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions)}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{123:{name:"mdxFlowExpression",tokenize:l,concrete:!0}},text:{123:{name:"mdxTextExpression",tokenize:c}}};function l(f,d,m){let y=this;return g;function g(S){return w(S)}function w(S){return Ai.call(y,f,_,"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",n,o,i,s,a)(S)}function _(S){return W(S)?X(f,V,"whitespace")(S):V(S)}function V(S){let F=y.parser.constructs.flow[60],p=(Array.isArray(F)?F:F?[F]:[]).find(function(O){return O.name==="mdxJsxFlowTag"});return S===60&&p?f.attempt(p,V,m)(S):S===null||j(S)?d(S):m(S)}}function c(f,d){let m=this;return y;function y(g){return Ai.call(m,f,d,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",n,o,i,s,a,!0)(g)}}}var Fp=I(()=>{ka();we();ue()});var Rp=I(()=>{Fp()});function Xe(e){return e?mg.test(String.fromCodePoint(e)):!1}function ai(e,t){let n=(t||bg).jsx?gg:xg;return e?n.test(String.fromCodePoint(e)):!1}var mg,xg,gg,bg,Dp=I(()=>{mg=/[$_\p{ID_Start}]/u,xg=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,gg=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,bg={}});var Bp=I(()=>{Dp()});function on(e,t,i,n,s,a,o,l,c,f,d,m,y,g,w,_,V,S,F,C,p,O,R,D,B,U,T,K,te,q,Y,ee){let he=this,$,me;return Ue;function Ue(k){return e.enter(l),e.enter(c),e.consume(k),e.exit(c),E}function E(k){return ne(k)?i(k):($=_e,ge(k))}function _e(k){if(k===47)return e.enter(f),e.consume(k),e.exit(f),$=ze,ge;if(k===62)return Ct(k);if(k!==null&&k>=0&&Xe(k))return e.enter(m),e.enter(y),e.consume(k),A;N(k,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(k===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function ze(k){if(k===62)return Ct(k);if(k!==null&&k>=0&&Xe(k))return e.enter(m),e.enter(y),e.consume(k),A;N(k,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(k===42||k===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function A(k){if(k!==null&&k>=0&&ai(k,{jsx:!0}))return e.consume(k),A;if(k===46||k===47||k===58||k===62||k===123||ne(k)||Le(k))return e.exit(y),$=Ne,ge(k);N(k,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(k===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Ne(k){if(k===46)return e.enter(g),e.consume(k),e.exit(g),$=ut,ge;if(k===58)return e.enter(_),e.consume(k),e.exit(_),$=xe,ge;if(k===47||k===62||k===123||k!==null&&k>=0&&Xe(k))return e.exit(m),Te(k);N(k,"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 ut(k){if(k!==null&&k>=0&&Xe(k))return e.enter(w),e.consume(k),wt;N(k,"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 wt(k){if(k!==null&&k>=0&&ai(k,{jsx:!0}))return e.consume(k),wt;if(k===46||k===47||k===62||k===123||ne(k)||Le(k))return e.exit(w),$=Je,ge(k);N(k,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(k===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Je(k){if(k===46)return e.enter(g),e.consume(k),e.exit(g),$=ut,ge;if(k===47||k===62||k===123||k!==null&&k>=0&&Xe(k))return e.exit(m),Te(k);N(k,"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 xe(k){if(k!==null&&k>=0&&Xe(k))return e.enter(V),e.consume(k),Ye;N(k,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(k===43||k!==null&&k>46&&k<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function Ye(k){if(k!==null&&k>=0&&ai(k,{jsx:!0}))return e.consume(k),Ye;if(k===47||k===62||k===123||ne(k)||Le(k))return e.exit(V),$=He,ge(k);N(k,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function He(k){if(k===47||k===62||k===123||k!==null&&k>=0&&Xe(k))return e.exit(m),Te(k);N(k,"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 Te(k){if(k===47)return e.enter(d),e.consume(k),e.exit(d),$=Qe,ge;if(k===62)return Ct(k);if(k===123)return Ai.call(he,e,Ze,S,F,C,n,s,a,!0,!1,o)(k);if(k!==null&&k>=0&&Xe(k))return e.enter(p),e.enter(O),e.enter(R),e.consume(k),lt;N(k,"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 Ze(k){return $=Te,ge(k)}function lt(k){if(k!==null&&k>=0&&ai(k,{jsx:!0}))return e.consume(k),lt;if(k===47||k===58||k===61||k===62||k===123||ne(k)||Le(k))return e.exit(R),$=oi,ge(k);N(k,"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 oi(k){if(k===58)return e.enter(D),e.consume(k),e.exit(D),$=ct,ge;if(k===61)return e.exit(O),e.enter(U),e.consume(k),e.exit(U),$=xt,ge;if(k===47||k===62||k===123||ne(k)||Le(k)||k!==null&&k>=0&&Xe(k))return e.exit(O),e.exit(p),$=Te,ge(k);N(k,"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 ct(k){if(k!==null&&k>=0&&Xe(k))return e.enter(B),e.consume(k),ht;N(k,"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 ht(k){if(k!==null&&k>=0&&ai(k,{jsx:!0}))return e.consume(k),ht;if(k===47||k===61||k===62||k===123||ne(k)||Le(k))return e.exit(B),e.exit(O),$=Jt,ge(k);N(k,"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 Jt(k){if(k===61)return e.enter(U),e.consume(k),e.exit(U),$=xt,ge;if(k===47||k===62||k===123||k!==null&&k>=0&&Xe(k))return e.exit(p),Te(k);N(k,"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 xt(k){if(k===34||k===39)return e.enter(T),e.enter(K),e.consume(k),e.exit(K),me=k,pt;if(k===123)return Ai.call(he,e,Ht,q,Y,ee,n,s,a,!1,!1,o)(k);N(k,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(k===60?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function Ht(k){return e.exit(p),$=Te,ge(k)}function pt(k){return k===null&&N(k,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(me)+"`"),k===me?(e.enter(K),e.consume(k),e.exit(K),e.exit(T),e.exit(p),me=void 0,$=Te,ge):j(k)?($=pt,ge(k)):(e.enter(te),St(k))}function St(k){return k===null||k===me||j(k)?(e.exit(te),pt(k)):(e.consume(k),St)}function Qe(k){if(k===62)return Ct(k);N(k,"after self-closing slash","`>` to end the tag"+(k===42||k===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function Ct(k){return e.enter(c),e.consume(k),e.exit(c),e.exit(l),t}function ge(k){return j(k)?(e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),be):W(k)||Le(k)?(e.enter("esWhitespace"),Gt(k)):$(k)}function Gt(k){return j(k)?(e.exit("esWhitespace"),ge(k)):W(k)||Le(k)?(e.consume(k),Gt):(e.exit("esWhitespace"),$(k))}function be(k){if(!o&&he.parser.lazy[he.now().line]){let Z=new de("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",he.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw Z.url=Op+"#unexpected-lazy-line-in-container-expected-line-to-be",Z}return ge(k)}function N(k,Z,ae){let Ce=new de("Unexpected "+(k===null?"end of file":"character `"+(k===96?"` ` `":String.fromCodePoint(k))+"` ("+kg(k)+")")+" "+Z+", expected "+ae,he.now(),"micromark-extension-mdx-jsx:unexpected-"+(k===null?"eof":"character"));throw Ce.url=Op+(k===null?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),Ce}}function kg(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}var Op,va=I(()=>{Bp();ka();ue();Qt();Op="https://github.com/micromark/micromark-extension-mdx-jsx"});function Mp(e,t){return{name:"mdxJsxTextTag",tokenize:i};function i(n,s,a){return on.call(this,n,s,a,e,t.acornOptions,t.addResult,!0,"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")}}var qp=I(()=>{va()});function zp(e,t){return{concrete:!0,name:"mdxJsxFlowTag",tokenize:i};function i(n,s,a){let o=this;return l;function l(m){return c(m)}function c(m){return on.call(o,n,f,a,e,t.acornOptions,t.addResult,!1,"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")(m)}function f(m){return W(m)?X(n,d,"whitespace")(m):d(m)}function d(m){let y=o.parser.constructs.flow[123],g=Array.isArray(y)?y:y?[y]:[],w;for(let _ of g)if(_.name==="mdxFlowExpression"){w=_;break}return m===60?l(m):m===123&&w?n.attempt(w,d,a)(m):m===null||j(m)?s(m):a(m)}}}var jp=I(()=>{ue();we();va()});function wa(e){let t=e||{},i=t.acorn,n;if(i){if(!i.parse||!i.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");n=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions,{locations:!0})}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:zp(i||void 0,{acornOptions:n,addResult:t.addResult||void 0})},text:{60:Mp(i||void 0,{acornOptions:n,addResult:t.addResult||void 0})}}}var Up=I(()=>{qp();jp()});var Jp=I(()=>{Up()});function Hp(){return{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}}var Gp=I(()=>{});function Sa(e){let t={tokenize:s,concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");let i=e.acorn,n=Object.assign({ecmaVersion:2024,sourceType:"module"},e.acornOptions,{locations:!0});return{flow:{101:t,105:t}};function s(a,o,l){let c=this,f=c.parser.definedModuleSpecifiers||(c.parser.definedModuleSpecifiers=[]),d=this.events.length+1,m="";return c.interrupt?l:y;function y(F){return c.now().column>1?l(F):(a.enter("mdxjsEsm"),a.enter("mdxjsEsmData"),a.consume(F),m+=String.fromCharCode(F),g)}function g(F){return ve(F)?(a.consume(F),m+=String.fromCharCode(F),g):(m==="import"||m==="export")&&F===32?(a.consume(F),w):l(F)}function w(F){return F===null||j(F)?(a.exit("mdxjsEsmData"),_(F)):(a.consume(F),w)}function _(F){return F===null?S(F):j(F)?a.check(yg,S,V)(F):(a.enter("mdxjsEsmData"),w(F))}function V(F){return a.enter("lineEnding"),a.consume(F),a.exit("lineEnding"),_}function S(F){let C=rr(c.events.slice(d),{acorn:i,acornOptions:n,tokenTypes:["mdxjsEsmData"],prefix:f.length>0?"var "+f.join(",")+`
|
|
52
|
+
`:""});if(C.error){if(F!==null&&C.swallow)return V(F);let O=new de("Could not parse import/exports with acorn",{cause:C.error,place:{line:C.error.loc.line,column:C.error.loc.column+1,offset:C.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw O.url=Wp+"#could-not-parse-importexports-with-acorn",O}if(f.length>0){let O=C.estree.body.shift()}let p=-1;for(;++p<C.estree.body.length;){let O=C.estree.body[p];if(!vg.has(O.type)){let R=new de("Unexpected `"+O.type+"` in code: only import/exports are supported",{place:si(O),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw R.url=Wp+"#unexpected-type-in-code-only-importexports-are-supported",R}if(O.type==="ImportDeclaration"&&!c.interrupt){let R=-1;for(;++R<O.specifiers.length;){let D=O.specifiers[R];f.push(D.local.name)}}}return Object.assign(a.exit("mdxjsEsm"),e.addResult?{estree:C.estree}:void 0),o(F)}}}function wg(e,t,i){return n;function n(s){return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),e.attempt(it,t,i)}}var yg,Wp,vg,Qp=I(()=>{Qi();ue();xa();ba();Qt();yg={tokenize:wg,partial:!0},Wp="https://github.com/micromark/micromark-extension-mdxjs-esm",vg=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"])});var Kp=I(()=>{Qp()});function Yp(e){let t=Object.assign({acorn:Ie.extend((0,Xp.default)()),acornOptions:{ecmaVersion:2024,sourceType:"module"},addResult:!0},e);return fi([Sa(t),ya(t),wa(t),Hp()])}var Xp,Zp=I(()=>{gp();Xp=Ya(Sp(),1);Rp();Jp();Gp();Kp();mr()});function Ca(e){let t=this,i=e||Sg,n=t.data(),s=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);s.push(Yp(i)),a.push(Xs()),o.push(Ys(i))}var Sg,$p=I(()=>{Ih();Zp();Sg={}});var ef={};Vi(ef,{default:()=>Ca});var tf=I(()=>{$p()});var Ag=Ni((vE,rf)=>{var Cg,Eg;rf.exports=function(t){let{unified:i}=(No(),cr(Lo)),{default:n}=(Bu(),cr(Du)),{default:s}=(Xc(),cr(Kc));if(t==="mdx"){let{default:a}=(tf(),cr(ef));return Cg??=i().use(n).use(a).use(s)}return Eg??=i().use(n).use(s)}});export default Ag();
|