sveast 0.1.0 → 0.3.0

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/index.js CHANGED
@@ -1,64 +1 @@
1
- var jt={li:["li"],dt:["dt","dd"],dd:["dt","dd"],p:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"],rt:["rt","rp"],rp:["rt","rp"],optgroup:["optgroup"],option:["option","optgroup"],thead:["tbody","tfoot"],tbody:["tbody","tfoot"],tfoot:["tbody"],tr:["tr","tbody"],td:["td","th","tr"],th:["td","th","tr"]};function Mt(e,t){return Object.hasOwn(jt,e)&&jt[e].includes(t)}var Se="",M,ce=0;function Ae(e){Se=e,M=void 0,ce=0}function j(e){if(!M){M=[0];let r=Se.indexOf(`
2
- `);while(r!==-1)M.push(r+1),r=Se.indexOf(`
3
- `,r+1)}let t=0,i=M.length-1;if(e>=M[ce])t=ce;else i=ce-1;if(t<i&&e<M[t+1])i=t;while(t<i){let r=t+i+1>>>1;if(M[r]<=e)t=r;else i=r-1}return ce=t,{line:t+1,column:e-M[t],character:e}}function ie(e){let{line:t,column:i}=j(e);return{line:t,column:i}}function Ut(){return Se.split(`
4
- `)}var xr=/^\t+/;class m extends Error{name="ParseError";code;position;start;end;frame;constructor(e,t,i){super(i);this.code=t;let r=typeof e==="number"?e:e?.start,a=typeof e==="number"?e:e?.end;if(r!==void 0)this.position=[r,a??r],this.start=j(this.position[0]),this.end=j(this.position[1]),this.frame=gr(this.start.line-1,this.end.column)}}var Qe=(e)=>e.replace(xr,(t)=>" ".repeat(t.length));function gr(e,t){let i=Ut(),r=Math.max(0,e-2),a=Math.min(e+3,i.length),s=String(a+1).length;return i.slice(r,a).map((n,u)=>{let l=String(u+r+1).padStart(s," ");if(r+u!==e)return`${l}: ${Qe(n)}`;let c=`${" ".repeat(s+2+Qe(n.slice(0,t)).length)}^`;return`${l}: ${Qe(n)}
5
- ${c}`}).join(`
6
- `)}function zt(e){throw new m(e,"attribute_duplicate",`Attributes need to be unique
7
- https://svelte.dev/e/attribute_duplicate`)}function Wt(e){throw new m(e,"attribute_empty_shorthand",`Attribute shorthand cannot be empty
8
- https://svelte.dev/e/attribute_empty_shorthand`)}function Gt(e,t){throw new m(e,"block_duplicate_clause",`${t} cannot appear more than once within a block
9
- https://svelte.dev/e/block_duplicate_clause`)}function Ht(e){throw new m(e,"block_invalid_continuation_placement",`{:...} block is invalid at this position (did you forget to close the preceding element or block?)
10
- https://svelte.dev/e/block_invalid_continuation_placement`)}function Kt(e){throw new m(e,"block_invalid_elseif",`'elseif' should be 'else if'
11
- https://svelte.dev/e/block_invalid_elseif`)}function Xt(e,t,i){throw new m(e,"block_invalid_placement",`{#${t} ...} block cannot be ${i}
12
- https://svelte.dev/e/block_invalid_placement`)}function Qt(e){throw new m(e,"block_unclosed",`Block was left open
13
- https://svelte.dev/e/block_unclosed`)}function Yt(e){throw new m(e,"block_unexpected_close",`Unexpected block closing tag
14
- https://svelte.dev/e/block_unexpected_close`)}function Zt(e){throw new m(e,"const_tag_invalid_expression",`{@const ...} must consist of a single variable declaration
15
- https://svelte.dev/e/const_tag_invalid_expression`)}function Jt(e){throw new m(e,"css_empty_declaration",`Declaration cannot be empty
16
- https://svelte.dev/e/css_empty_declaration`)}function Ye(e){throw new m(e,"css_expected_identifier",`Expected a valid CSS identifier
17
- https://svelte.dev/e/css_expected_identifier`)}function ei(e){throw new m(e,"css_selector_invalid",`Invalid selector
18
- https://svelte.dev/e/css_selector_invalid`)}function ti(e){throw new m(e,"debug_tag_invalid_arguments",`{@debug ...} arguments must be identifiers, not arbitrary expressions
19
- https://svelte.dev/e/debug_tag_invalid_arguments`)}function Ze(e){throw new m(e,"declaration_tag_invalid_type","Declaration tags must be `let` or `const` declarations\nhttps://svelte.dev/e/declaration_tag_invalid_type")}function ii(e){throw new m(e,"directive_invalid_value",`Directive value must be a JavaScript expression enclosed in curly braces
20
- https://svelte.dev/e/directive_invalid_value`)}function si(e,t){throw new m(e,"directive_missing_name",`\`${t}\` name cannot be empty
21
- https://svelte.dev/e/directive_missing_name`)}function ri(e,t){throw new m(e,"element_invalid_closing_tag",`\`</${t}>\` attempted to close an element that was not open
22
- https://svelte.dev/e/element_invalid_closing_tag`)}function ni(e,t,i){throw new m(e,"element_invalid_closing_tag_autoclosed",`\`</${t}>\` attempted to close element that was already automatically closed by \`<${i}>\` (cannot nest \`<${i}>\` inside \`<${t}>\`)
23
- https://svelte.dev/e/element_invalid_closing_tag_autoclosed`)}function _e(e,t){throw new m(e,"element_unclosed",`\`<${t}>\` was left open
24
- https://svelte.dev/e/element_unclosed`)}function Je(e){throw new m(e,"expected_attribute_value",`Expected attribute value
25
- https://svelte.dev/e/expected_attribute_value`)}function ai(e){throw new m(e,"expected_block_type",`Expected 'if', 'each', 'await', 'key' or 'snippet'
26
- https://svelte.dev/e/expected_block_type`)}function et(e){throw new m(e,"expected_identifier",`Expected an identifier
27
- https://svelte.dev/e/expected_identifier`)}function oi(e){throw new m(e,"expected_pattern",`Expected identifier or destructure pattern
28
- https://svelte.dev/e/expected_pattern`)}function ui(e){throw new m(e,"expected_tag",`Expected 'html', 'render', 'attach', 'const', or 'debug'
29
- https://svelte.dev/e/expected_tag`)}function B(e,t){throw new m(e,"expected_token",`Expected token ${t}
30
- https://svelte.dev/e/expected_token`)}function li(e){throw new m(e,"expected_whitespace",`Expected whitespace
31
- https://svelte.dev/e/expected_whitespace`)}function ci(e,t){throw new m(e,"js_parse_error",`${t}
32
- https://svelte.dev/e/js_parse_error`)}function hi(e){throw new m(e,"render_tag_invalid_expression","`{@render ...}` tags can only contain call expressions\nhttps://svelte.dev/e/render_tag_invalid_expression")}function pi(e){throw new m(e,"script_duplicate","A component can have a single top-level `<script>` element and/or a single top-level `<script module>` element\nhttps://svelte.dev/e/script_duplicate")}function fi(e,t){throw new m(e,"script_invalid_attribute_value",`If the \`${t}\` attribute is supplied, it must be a boolean attribute
33
- https://svelte.dev/e/script_invalid_attribute_value`)}function di(e){throw new m(e,"script_invalid_context",`If the context attribute is supplied, its value must be "module"
34
- https://svelte.dev/e/script_invalid_context`)}function mi(e,t){throw new m(e,"script_reserved_attribute",`The \`${t}\` attribute is reserved and cannot be used
35
- https://svelte.dev/e/script_reserved_attribute`)}function bi(e){throw new m(e,"style_duplicate","A component can have a single top-level `<style>` element\nhttps://svelte.dev/e/style_duplicate")}function xi(e){throw new m(e,"svelte_component_invalid_this","Invalid component definition — must be an `{expression}`\nhttps://svelte.dev/e/svelte_component_invalid_this")}function gi(e){throw new m(e,"svelte_component_missing_this","`<svelte:component>` must have a 'this' attribute\nhttps://svelte.dev/e/svelte_component_missing_this")}function tt(e){throw new m(e,"svelte_element_missing_this","`<svelte:element>` must have a 'this' attribute with a value\nhttps://svelte.dev/e/svelte_element_missing_this")}function vi(e,t){throw new m(e,"svelte_meta_duplicate",`A component can only have one \`<${t}>\` element
36
- https://svelte.dev/e/svelte_meta_duplicate`)}function yi(e,t){throw new m(e,"svelte_meta_invalid_content",`<${t}> cannot have children
37
- https://svelte.dev/e/svelte_meta_invalid_content`)}function ki(e,t){throw new m(e,"svelte_meta_invalid_placement",`\`<${t}>\` tags cannot be inside elements or blocks
38
- https://svelte.dev/e/svelte_meta_invalid_placement`)}function wi(e,t){throw new m(e,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${t}
39
- https://svelte.dev/e/svelte_meta_invalid_tag`)}function Si(e){throw new m(e,"svelte_options_deprecated_tag",`"tag" option is deprecated — use "customElement" instead
40
- https://svelte.dev/e/svelte_options_deprecated_tag`)}function Ai(e){throw new m(e,"svelte_options_invalid_attribute","`<svelte:options>` can only receive static attributes\nhttps://svelte.dev/e/svelte_options_invalid_attribute")}function Ee(e,t){throw new m(e,"svelte_options_invalid_attribute_value",`Value must be ${t}, if specified
41
- https://svelte.dev/e/svelte_options_invalid_attribute_value`)}function _i(e){throw new m(e,"svelte_options_invalid_customelement",'"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none" | `ShadowRootInit`; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }\nhttps://svelte.dev/e/svelte_options_invalid_customelement')}function Ei(e){throw new m(e,"svelte_options_invalid_customelement_props",`"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"
42
- https://svelte.dev/e/svelte_options_invalid_customelement_props`)}function Ti(e){throw new m(e,"svelte_options_invalid_customelement_shadow",'"shadow" must be either "open", "none" or `ShadowRootInit` object.\nhttps://svelte.dev/e/svelte_options_invalid_customelement_shadow')}function it(e){throw new m(e,"svelte_options_invalid_tagname",`Tag name must be lowercase and hyphenated
43
- https://svelte.dev/e/svelte_options_invalid_tagname`)}function Ci(e){throw new m(e,"svelte_options_reserved_tagname",`Tag name is reserved
44
- https://svelte.dev/e/svelte_options_reserved_tagname`)}function Ni(e,t){throw new m(e,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${t}'
45
- https://svelte.dev/e/svelte_options_unknown_attribute`)}function Li(e){throw new m(e,"tag_invalid_name",`Expected a valid element or component name. Components must have a valid variable name or dot notation expression
46
- https://svelte.dev/e/tag_invalid_name`)}function Pi(e,t,i){throw new m(e,"tag_invalid_placement",`{@${t} ...} tag cannot be ${i}
47
- https://svelte.dev/e/tag_invalid_placement`)}function N(e){throw new m(e,"unexpected_eof",`Unexpected end of input
48
- https://svelte.dev/e/unexpected_eof`)}function qi(e,t){throw new m(e,"unexpected_reserved_word",`'${t}' is a reserved word in JavaScript and cannot be used here
49
- https://svelte.dev/e/unexpected_reserved_word`)}function Ii(e){throw new m(e,"unterminated_string_constant",`Unterminated string constant
50
- https://svelte.dev/e/unterminated_string_constant`)}function $i(e){throw new m(e,"void_element_invalid_content",`Void elements cannot have children or closing tags
51
- https://svelte.dev/e/void_element_invalid_content`)}var vr=[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,78,5,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,266,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,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,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],Bi=[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,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,57,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,200,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,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,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,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],yr="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Vi="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",st={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"},rt="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",kr={5:rt,"5module":rt+" export import",6:rt+" const class extends export import super"},Fi=/^in(stanceof)?$/,wr=new RegExp("["+Vi+"]"),Sr=new RegExp("["+Vi+yr+"]");function nt(e,t){var i=65536;for(var r=0;r<t.length;r+=2){if(i+=t[r],i>e)return!1;if(i+=t[r+1],i>=e)return!0}return!1}function A(e,t){if(e<65)return e===36;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<=65535)return e>=170&&wr.test(String.fromCharCode(e));if(t===!1)return!1;return nt(e,Bi)}function F(e,t){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<=65535)return e>=170&&Sr.test(String.fromCharCode(e));if(t===!1)return!1;return nt(e,Bi)||nt(e,vr)}var k=function(t,i){if(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};function I(e,t){return new k(e,{beforeExpr:!0,binop:t})}var R={beforeExpr:!0},P={startsExpr:!0},Q={};function y(e,t){if(t===void 0)t={};return t.keyword=e,Q[e]=new k(e,t)}var o={num:new k("num",P),regexp:new k("regexp",P),string:new k("string",P),name:new k("name",P),privateId:new k("privateId",P),eof:new k("eof"),bracketL:new k("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new k("]"),braceL:new k("{",{beforeExpr:!0,startsExpr:!0}),braceR:new k("}"),parenL:new k("(",{beforeExpr:!0,startsExpr:!0}),parenR:new k(")"),comma:new k(",",R),semi:new k(";",R),colon:new k(":",R),dot:new k("."),question:new k("?",R),questionDot:new k("?."),arrow:new k("=>",R),template:new k("template"),invalidTemplate:new k("invalidTemplate"),ellipsis:new k("...",R),backQuote:new k("`",P),dollarBraceL:new k("${",{beforeExpr:!0,startsExpr:!0}),eq:new k("=",{beforeExpr:!0,isAssign:!0}),assign:new k("_=",{beforeExpr:!0,isAssign:!0}),incDec:new k("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new k("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:I("||",1),logicalAND:I("&&",2),bitwiseOR:I("|",3),bitwiseXOR:I("^",4),bitwiseAND:I("&",5),equality:I("==/!=/===/!==",6),relational:I("</>/<=/>=",7),bitShift:I("<</>>/>>>",8),plusMin:new k("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:I("%",10),star:I("*",10),slash:I("/",10),starstar:new k("**",{beforeExpr:!0}),coalesce:I("??",1),_break:y("break"),_case:y("case",R),_catch:y("catch"),_continue:y("continue"),_debugger:y("debugger"),_default:y("default",R),_do:y("do",{isLoop:!0,beforeExpr:!0}),_else:y("else",R),_finally:y("finally"),_for:y("for",{isLoop:!0}),_function:y("function",P),_if:y("if"),_return:y("return",R),_switch:y("switch"),_throw:y("throw",R),_try:y("try"),_var:y("var"),_const:y("const"),_while:y("while",{isLoop:!0}),_with:y("with"),_new:y("new",{beforeExpr:!0,startsExpr:!0}),_this:y("this",P),_super:y("super",P),_class:y("class",P),_extends:y("extends",R),_export:y("export"),_import:y("import",P),_null:y("null",P),_true:y("true",P),_false:y("false",P),_in:y("in",{beforeExpr:!0,binop:7}),_instanceof:y("instanceof",{beforeExpr:!0,binop:7}),_typeof:y("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:y("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:y("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},q=/\r\n?|\n|\u2028|\u2029/,Ar=new RegExp(q.source,"g");function se(e){return e===10||e===13||e===8232||e===8233}function ji(e,t,i){if(i===void 0)i=e.length;for(var r=t;r<i;r++){var a=e.charCodeAt(r);if(se(a))return r<i-1&&a===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var Mi=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,_=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ui=Object.prototype,{hasOwnProperty:_r,toString:Er}=Ui,fe=Object.hasOwn||function(e,t){return _r.call(e,t)},Ri=Array.isArray||function(e){return Er.call(e)==="[object Array]"},Oi=Object.create(null);function Te(e){return Oi[e]||(Oi[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function Pe(e){if(e<=65535)return String.fromCharCode(e);return e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320)}var Tr=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,pe=function(t,i){this.line=t,this.column=i};pe.prototype.offset=function(t){return new pe(this.line,this.column+t)};var qe=function(t,i,r){if(this.start=i,this.end=r,t.sourceFile!==null)this.source=t.sourceFile};function zi(e,t){for(var i=1,r=0;;){var a=ji(e,r,t);if(a<0)return new pe(i,t-r);++i,r=a}}var at={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},Di=!1;function Cr(e){var t={};for(var i in at)t[i]=e&&fe(e,i)?e[i]:at[i];if(t.ecmaVersion==="latest")t.ecmaVersion=1e8;else if(t.ecmaVersion==null){if(!Di&&typeof console==="object"&&console.warn)Di=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
52
- Defaulting to 2020, but this will stop working in the future.`);t.ecmaVersion=11}else if(t.ecmaVersion>=2015)t.ecmaVersion-=2009;if(t.allowReserved==null)t.allowReserved=t.ecmaVersion<5;if(!e||e.allowHashBang==null)t.allowHashBang=t.ecmaVersion>=14;if(Ri(t.onToken)){var r=t.onToken;t.onToken=function(a){return r.push(a)}}if(Ri(t.onComment))t.onComment=Nr(t,t.onComment);if(t.sourceType==="commonjs"&&t.allowAwaitOutsideFunction)throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return t}function Nr(e,t){return function(i,r,a,s,n,u){var l={type:i?"Block":"Line",value:r,start:a,end:s};if(e.locations)l.loc=new qe(this,n,u);if(e.ranges)l.range=[a,s];t.push(l)}}var X=1,Y=2,lt=4,Wi=8,ct=16,Gi=32,Ie=64,Hi=128,Z=256,de=512,Ki=1024,$e=X|Y|Z;function ht(e,t){return Y|(e?lt:0)|(t?Wi:0)}var Ce=0,pt=1,U=2,Xi=3,Qi=4,Yi=5,S=function(t,i,r){this.options=t=Cr(t),this.sourceFile=t.sourceFile,this.keywords=Te(kr[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var a="";if(t.allowReserved!==!0){if(a=st[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module")a+=" await"}this.reservedWords=Te(a);var s=(a?a+" ":"")+st.strict;if(this.reservedWordsStrict=Te(s),this.reservedWordsStrictBind=Te(s+" "+st.strictBind),this.input=String(i),this.containsEsc=!1,this.pos=r||0,this.curLine=1,t.startLocation)this.lineStart=this.pos-t.startLocation.column,this.curLine=t.startLocation.line;else if(r){if(this.lineStart=this.input.lastIndexOf(`
53
- `,r-1)+1,this.options.locations)this.curLine=this.input.slice(0,this.lineStart).split(q).length}else this.lineStart=0;if(this.type=o.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"?Y:X),this.regexpState=null,this.privateNameStack=[]},O={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}};S.prototype.parse=function(){var t=this,i=this.options.program||this.startNode();return this.nextToken(),this.catchStackOverflow(function(){return t.parseTopLevel(i)})};O.inFunction.get=function(){return(this.currentVarScope().flags&Y)>0};O.inGenerator.get=function(){return(this.currentVarScope().flags&Wi)>0};O.inAsync.get=function(){return(this.currentVarScope().flags&lt)>0};O.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(Z|de))return!1;if(i&Y)return(i&lt)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};O.allowReturn.get=function(){if(this.inFunction)return!0;if(this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&X)return!0;return!1};O.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&Ie)>0||this.options.allowSuperOutsideMethod};O.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Hi)>0};O.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};O.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(Z|de)||i&Y&&!(i&ct))return!0}return!1};O.allowUsing.get=function(){var e=this.currentScope(),t=e.flags;if(t&Ki)return!1;if(!this.inModule&&t&X)return!1;return!0};O.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Z)>0};S.extend=function(){var t=[],i=arguments.length;while(i--)t[i]=arguments[i];var r=this;for(var a=0;a<t.length;a++)r=t[a](r);return r};S.parse=function(t,i){return new this(i,t).parse()};S.parseExpressionAt=function(t,i,r){var a=new this(r,t,i);return a.nextToken(),a.parseExpression()};S.tokenizer=function(t,i){return new this(i,t)};Object.defineProperties(S.prototype,O);var L=S.prototype,Lr=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;L.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){_.lastIndex=e,e+=_.exec(this.input)[0].length;var t=Lr.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){_.lastIndex=e+t[0].length;var i=_.exec(this.input),r=i.index+i[0].length,a=this.input.charAt(r);return a===";"||a==="}"||q.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(r+1)==="=")}if(e+=t[0].length,_.lastIndex=e,e+=_.exec(this.input)[0].length,this.input[e]===";")e++}};L.eat=function(e){if(this.type===e)return this.next(),!0;else return!1};L.isContextual=function(e){return this.type===o.name&&this.value===e&&!this.containsEsc};L.eatContextual=function(e){if(!this.isContextual(e))return!1;return this.next(),!0};L.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}};L.expectContextual=function(e){if(!this.eatContextual(e))this.unexpected()};L.canInsertSemicolon=function(){return this.type===o.eof||this.type===o.braceR||q.test(this.input.slice(this.lastTokEnd,this.start))};L.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon)this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc);return!0}};L.semicolon=function(){if(!this.eat(o.semi)&&!this.insertSemicolon())this.unexpected()};L.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma)this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc);if(!t)this.next();return!0}};L.expect=function(e){this.eat(e)||this.unexpected()};L.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};var Re=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};L.checkPatternErrors=function(e,t){if(!e)return;if(e.trailingComma>-1)this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1)this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")};L.checkExpressionErrors=function(e,t){if(!e)return!1;var{shorthandAssign:i,doubleProto:r}=e;if(!t)return i>=0||r>=0;if(i>=0)this.raise(i,"Shorthand property assignments are valid only in destructuring patterns");if(r>=0)this.raiseRecoverable(r,"Redefinition of __proto__ property")};L.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos))this.raise(this.yieldPos,"Yield expression cannot be a default value");if(this.awaitPos)this.raise(this.awaitPos,"Await expression cannot be a default value")};L.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression")return this.isSimpleAssignTarget(e.expression);return e.type==="Identifier"||e.type==="MemberExpression"};var d=S.prototype;d.parseTopLevel=function(e){var t=Object.create(null);if(!e.body)e.body=[];while(this.type!==o.eof){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var r=0,a=Object.keys(this.undefinedExports);r<a.length;r+=1){var s=a[r];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(e,"Program")};var ft={kind:"loop"},Pr={kind:"switch"};d.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;_.lastIndex=this.pos;var t=_.exec(this.input),i=this.pos+t[0].length,r=this.fullCharCodeAt(i);if(r===91||r===92)return!0;if(e)return!1;if(r===123)return!0;if(A(r)){var a=i;do i+=r<=65535?1:2;while(F(r=this.fullCharCodeAt(i)));if(r===92)return!0;var s=this.input.slice(a,i);if(!Fi.test(s))return!0}return!1};d.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;_.lastIndex=this.pos;var e=_.exec(this.input),t=this.pos+e[0].length,i;return!q.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(F(i=this.fullCharCodeAt(t+8))||i===92))};d.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;_.lastIndex=this.pos;var i=_.exec(this.input),r=this.pos+i[0].length;if(q.test(this.input.slice(this.pos,r)))return!1;if(e){var a=r+5,s;if(this.input.slice(r,a)!=="using"||a===this.input.length||F(s=this.fullCharCodeAt(a))||s===92)return!1;_.lastIndex=a;var n=_.exec(this.input);if(r=a+n[0].length,n&&q.test(this.input.slice(a,r)))return!1}var u=this.fullCharCodeAt(r);if(!A(u)&&u!==92)return!1;var l=r;do r+=u<=65535?1:2;while(F(u=this.fullCharCodeAt(r)));if(u===92)return!0;var c=this.input.slice(l,r);if(Fi.test(c))return!1;if(t&&!e&&c==="of"){_.lastIndex=r;var h=_.exec(this.input);if(r=r+h[0].length,this.input.charCodeAt(r)!==61||(u=this.input.charCodeAt(r+1))===61||u===62)return!1}return!0};d.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};d.isUsing=function(e){return this.isUsingKeyword(!1,e)};d.parseStatement=function(e,t,i){var r=this.type,a=this.startNode(),s;if(this.isLet(e))r=o._var,s="let";switch(r){case o._break:case o._continue:return this.parseBreakContinueStatement(a,r.keyword);case o._debugger:return this.parseDebuggerStatement(a);case o._do:return this.parseDoStatement(a);case o._for:return this.parseForStatement(a);case o._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6)this.unexpected();return this.parseFunctionStatement(a,!1,!e);case o._class:if(e)this.unexpected();return this.parseClass(a,!0);case o._if:return this.parseIfStatement(a);case o._return:return this.parseReturnStatement(a);case o._switch:return this.parseSwitchStatement(a);case o._throw:return this.parseThrowStatement(a);case o._try:return this.parseTryStatement(a);case o._const:case o._var:if(s=s||this.value,e&&s!=="var")this.unexpected();return this.parseVarStatement(a,s);case o._while:return this.parseWhileStatement(a);case o._with:return this.parseWithStatement(a);case o.braceL:return this.parseBlock(!0,a);case o.semi:return this.parseEmptyStatement(a);case o._export:case o._import:if(this.options.ecmaVersion>10&&r===o._import){_.lastIndex=this.pos;var n=_.exec(this.input),u=this.pos+n[0].length,l=this.input.charCodeAt(u);if(l===40||l===46)return this.parseExpressionStatement(a,this.parseExpression())}if(!this.options.allowImportExportEverywhere){if(!t)this.raise(this.start,"'import' and 'export' may only appear at the top level");if(!this.inModule)this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}return r===o._import?this.parseImport(a):this.parseExport(a,i);default:if(this.isAsyncFunction()){if(e)this.unexpected();return this.next(),this.parseFunctionStatement(a,!0,!e)}var c=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(c){if(!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");if(e)this.raise(this.start,"Using declaration is not allowed in single-statement positions");if(c==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.next(),this.parseVar(a,!1,c),this.semicolon(),this.finishNode(a,"VariableDeclaration")}var h=this.value,p=this.parseExpression();if(r===o.name&&p.type==="Identifier"&&this.eat(o.colon))return this.parseLabeledStatement(a,h,p,e);else return this.parseExpressionStatement(a,p)}};d.parseBreakContinueStatement=function(e,t){var i=t==="break";if(this.next(),this.eat(o.semi)||this.insertSemicolon())e.label=null;else if(this.type!==o.name)this.unexpected();else e.label=this.parseIdent(),this.semicolon();var r=0;for(;r<this.labels.length;++r){var a=this.labels[r];if(e.label==null||a.name===e.label.name){if(a.kind!=null&&(i||a.kind==="loop"))break;if(e.label&&i)break}}if(r===this.labels.length)this.raise(e.start,"Unsyntactic "+t);return this.finishNode(e,i?"BreakStatement":"ContinueStatement")};d.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};d.parseDoStatement=function(e){if(this.next(),this.labels.push(ft),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(o._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6)this.eat(o.semi);else this.semicolon();return this.finishNode(e,"DoWhileStatement")};d.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ft),this.enterScope(0),this.expect(o.parenL),this.type===o.semi){if(t>-1)this.unexpected(t);return this.parseFor(e,null)}var i=this.isLet();if(this.type===o._var||this.type===o._const||i){var r=this.startNode(),a=i?"let":this.value;return this.next(),this.parseVar(r,!0,a),this.finishNode(r,"VariableDeclaration"),this.parseForAfterInit(e,r,t)}var s=this.isContextual("let"),n=!1,u=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(u){var l=this.startNode();if(this.next(),u==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.parseVar(l,!0,u),this.finishNode(l,"VariableDeclaration"),this.parseForAfterInit(e,l,t)}var c=this.containsEsc,h=new Re,p=this.start,f=t>-1?this.parseExprSubscripts(h,"await"):this.parseExpression(!0,h);if(this.type===o._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(t>-1){if(this.type===o._in)this.unexpected(t);e.await=!0}else if(n&&this.options.ecmaVersion>=8){if(f.start===p&&!c&&f.type==="Identifier"&&f.name==="async")this.unexpected();else if(this.options.ecmaVersion>=9)e.await=!1}if(s&&n)this.raise(f.start,"The left-hand side of a for-of loop may not start with 'let'.");return this.toAssignable(f,!1,h),this.checkLValPattern(f),this.parseForIn(e,f)}else this.checkExpressionErrors(h,!0);if(t>-1)this.unexpected(t);return this.parseFor(e,f)};d.parseForAfterInit=function(e,t,i){if((this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1){if(this.type===o._in){if((t.kind==="using"||t.kind==="await using")&&!t.declarations[0].init)this.raise(this.start,"Using declaration is not allowed in for-in loops");if(this.options.ecmaVersion>=9&&i>-1)this.unexpected(i)}else if(this.options.ecmaVersion>=9)e.await=i>-1;return this.parseForIn(e,t)}if(i>-1)this.unexpected(i);return this.parseFor(e,t)};d.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,he|(i?0:ot),!1,t)};d.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(o._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};d.parseReturnStatement=function(e){if(!this.allowReturn)this.raise(this.start,"'return' outside of function");if(this.next(),this.eat(o.semi)||this.insertSemicolon())e.argument=null;else e.argument=this.parseExpression(),this.semicolon();return this.finishNode(e,"ReturnStatement")};d.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(o.braceL),this.labels.push(Pr),this.enterScope(Ki);var t;for(var i=!1;this.type!==o.braceR;)if(this.type===o._case||this.type===o._default){var r=this.type===o._case;if(t)this.finishNode(t,"SwitchCase");if(e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r)t.test=this.parseExpression();else{if(i)this.raiseRecoverable(this.lastTokStart,"Multiple default clauses");i=!0,t.test=null}this.expect(o.colon)}else{if(!t)this.unexpected();t.consequent.push(this.parseStatement(null))}if(this.exitScope(),t)this.finishNode(t,"SwitchCase");return this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};d.parseThrowStatement=function(e){if(this.next(),q.test(this.input.slice(this.lastTokEnd,this.start)))this.raise(this.lastTokEnd,"Illegal newline after throw");return e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var qr=[];d.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Gi:0),this.checkLValPattern(e,t?Qi:U),this.expect(o.parenR),e};d.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===o._catch){var t=this.startNode();if(this.next(),this.eat(o.parenL))t.param=this.parseCatchClauseParam();else{if(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")}if(e.finalizer=this.eat(o._finally)?this.parseBlock():null,!e.handler&&!e.finalizer)this.raise(e.start,"Missing catch or finally clause");return this.finishNode(e,"TryStatement")};d.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")};d.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(ft),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};d.parseWithStatement=function(e){if(this.strict)this.raise(this.start,"'with' in strict mode");return this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};d.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};d.parseLabeledStatement=function(e,t,i,r){for(var a=0,s=this.labels;a<s.length;a+=1){var n=s[a];if(n.name===t)this.raise(i.start,"Label '"+t+"' is already declared")}var u=this.type.isLoop?"loop":this.type===o._switch?"switch":null;for(var l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};d.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};d.parseBlock=function(e,t,i){if(e===void 0)e=!0;if(t===void 0)t=this.startNode();if(t.body=[],this.expect(o.braceL),e)this.enterScope(0);while(this.type!==o.braceR){var r=this.parseStatement(null);t.body.push(r)}if(i)this.strict=!1;if(this.next(),e)this.exitScope();return this.finishNode(t,"BlockStatement")};d.parseFor=function(e,t){return e.init=t,this.expect(o.semi),e.test=this.type===o.semi?null:this.parseExpression(),this.expect(o.semi),e.update=this.type===o.parenR?null:this.parseExpression(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};d.parseForIn=function(e,t){var i=this.type===o._in;if(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");return e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};d.parseVar=function(e,t,i,r){e.declarations=[],e.kind=i;for(;;){var a=this.startNode();if(this.parseVarId(a,i),this.eat(o.eq))a.init=this.parseMaybeAssign(t);else if(!r&&i==="const"&&!(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of")))this.unexpected();else if(!r&&(i==="using"||i==="await using")&&this.options.ecmaVersion>=17&&this.type!==o._in&&!this.isContextual("of"))this.raise(this.lastTokEnd,"Missing initializer in "+i+" declaration");else if(!r&&a.id.type!=="Identifier"&&!(t&&(this.type===o._in||this.isContextual("of"))))this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value");else a.init=null;if(e.declarations.push(this.finishNode(a,"VariableDeclarator")),!this.eat(o.comma))break}return e};d.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?pt:U,!1)};var he=1,ot=2,Zi=4;d.parseFunction=function(e,t,i,r,a){if(this.initFunction(e),this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===o.star&&t&ot)this.unexpected();e.generator=this.eat(o.star)}if(this.options.ecmaVersion>=8)e.async=!!r;if(t&he){if(e.id=t&Zi&&this.type!==o.name?null:this.parseIdent(),e.id&&!(t&ot))this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?pt:U:Xi)}var s=this.yieldPos,n=this.awaitPos,u=this.awaitIdentPos;if(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ht(e.async,e.generator)),!(t&he))e.id=this.type===o.name?this.parseIdent():null;return this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,a),this.yieldPos=s,this.awaitPos=n,this.awaitIdentPos=u,this.finishNode(e,t&he?"FunctionDeclaration":"FunctionExpression")};d.parseFunctionParams=function(e){this.expect(o.parenL),e.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};d.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),a=this.startNode(),s=!1;a.body=[],this.expect(o.braceL);while(this.type!==o.braceR){var n=this.parseClassElement(e.superClass!==null);if(n){if(a.body.push(n),n.type==="MethodDefinition"&&n.kind==="constructor"){if(s)this.raiseRecoverable(n.start,"Duplicate constructor in the same class");s=!0}else if(n.key&&n.key.type==="PrivateIdentifier"&&Ir(r,n))this.raiseRecoverable(n.key.start,"Identifier '#"+n.key.name+"' has already been declared")}}return this.strict=i,this.next(),e.body=this.finishNode(a,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};d.parseClassElement=function(e){if(this.eat(o.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),r="",a=!1,s=!1,n="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(o.braceL))return this.parseClassStaticBlock(i),i;if(this.isClassElementNameStart()||this.type===o.star)u=!0;else r="static"}if(i.static=u,!r&&t>=8&&this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===o.star)&&!this.canInsertSemicolon())s=!0;else r="async";if(!r&&(t>=9||!s)&&this.eat(o.star))a=!0;if(!r&&!s&&!a){var l=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())n=l;else r=l}if(r)i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=r,this.finishNode(i.key,"Identifier");else this.parseClassElementName(i);if(t<13||this.type===o.parenL||n!=="method"||a||s){var c=!i.static&&Ne(i,"constructor"),h=c&&e;if(c&&n!=="method")this.raise(i.key.start,"Constructor can't have get/set modifier");i.kind=c?"constructor":n,this.parseClassMethod(i,a,s,h)}else this.parseClassField(i);return i};d.isClassElementNameStart=function(){return this.type===o.name||this.type===o.privateId||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword};d.parseClassElementName=function(e){if(this.type===o.privateId){if(this.value==="constructor")this.raise(this.start,"Classes can't have an element named '#constructor'");e.computed=!1,e.key=this.parsePrivateIdent()}else this.parsePropertyName(e)};d.parseClassMethod=function(e,t,i,r){var a=e.key;if(e.kind==="constructor"){if(t)this.raise(a.start,"Constructor can't be a generator");if(i)this.raise(a.start,"Constructor can't be an async method")}else if(e.static&&Ne(e,"prototype"))this.raise(a.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,i,r);if(e.kind==="get"&&s.params.length!==0)this.raiseRecoverable(s.start,"getter should have no params");if(e.kind==="set"&&s.params.length!==1)this.raiseRecoverable(s.start,"setter should have exactly one param");if(e.kind==="set"&&s.params[0].type==="RestElement")this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params");return this.finishNode(e,"MethodDefinition")};d.parseClassField=function(e){if(Ne(e,"constructor"))this.raise(e.key.start,"Classes can't have a field named 'constructor'");else if(e.static&&Ne(e,"prototype"))this.raise(e.key.start,"Classes can't have a static field named 'prototype'");if(this.eat(o.eq))this.enterScope(de|Ie),e.value=this.parseMaybeAssign(),this.exitScope();else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};d.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;this.labels=[],this.enterScope(Z|Ie);while(this.type!==o.braceR){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};d.parseClassId=function(e,t){if(this.type===o.name){if(e.id=this.parseIdent(),t)this.checkLValSimple(e.id,U,!1)}else{if(t===!0)this.unexpected();e.id=null}};d.parseClassSuper=function(e){e.superClass=this.eat(o._extends)?this.parseExprSubscripts(null,!1):null};d.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};d.exitClassBody=function(){var e=this.privateNameStack.pop(),{declared:t,used:i}=e;if(!this.options.checkPrivateFields)return;var r=this.privateNameStack.length,a=r===0?null:this.privateNameStack[r-1];for(var s=0;s<i.length;++s){var n=i[s];if(!fe(t,n.name))if(a)a.used.push(n);else this.raiseRecoverable(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class")}};function Ir(e,t){var i=t.key.name,r=e[i],a="true";if(t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set"))a=(t.static?"s":"i")+t.kind;if(r==="iget"&&a==="iset"||r==="iset"&&a==="iget"||r==="sget"&&a==="sset"||r==="sset"&&a==="sget")return e[i]="true",!1;else if(!r)return e[i]=a,!1;else return!0}function Ne(e,t){var{computed:i,key:r}=e;return!i&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}d.parseExportAllDeclaration=function(e,t){if(this.options.ecmaVersion>=11)if(this.eatContextual("as"))e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart);else e.exported=null;if(this.expectContextual("from"),this.type!==o.string)this.unexpected();if(e.source=this.parseExprAtom(),this.options.ecmaVersion>=16)e.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};d.parseExport=function(e,t){if(this.next(),this.eat(o.star))return this.parseExportAllDeclaration(e,t);if(this.eat(o._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement()){if(e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration")this.checkVariableExport(t,e.declaration.declarations);else this.checkExport(t,e.declaration.id,e.declaration.id.start);if(e.specifiers=[],e.source=null,this.options.ecmaVersion>=16)e.attributes=[]}else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from")){if(this.type!==o.string)this.unexpected();if(e.source=this.parseExprAtom(),this.options.ecmaVersion>=16)e.attributes=this.parseWithClause()}else{for(var i=0,r=e.specifiers;i<r.length;i+=1){var a=r[i];if(this.checkUnreserved(a.local),this.checkLocalExport(a.local),a.local.type==="Literal")this.raise(a.local.start,"A string literal cannot be used as an exported binding without `from`.")}if(e.source=null,this.options.ecmaVersion>=16)e.attributes=[]}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};d.parseExportDeclaration=function(e){return this.parseStatement(null)};d.parseExportDefaultDeclaration=function(){var e;if(this.type===o._function||(e=this.isAsyncFunction())){var t=this.startNode();if(this.next(),e)this.next();return this.parseFunction(t,he|Zi,!1,e)}else if(this.type===o._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var r=this.parseMaybeAssign();return this.semicolon(),r}};d.checkExport=function(e,t,i){if(!e)return;if(typeof t!=="string")t=t.type==="Identifier"?t.name:t.value;if(fe(e,t))this.raiseRecoverable(i,"Duplicate export '"+t+"'");e[t]=!0};d.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t,t.start);else if(i==="ObjectPattern")for(var r=0,a=t.properties;r<a.length;r+=1){var s=a[r];this.checkPatternExport(e,s)}else if(i==="ArrayPattern")for(var n=0,u=t.elements;n<u.length;n+=1){var l=u[n];if(l)this.checkPatternExport(e,l)}else if(i==="Property")this.checkPatternExport(e,t.value);else if(i==="AssignmentPattern")this.checkPatternExport(e,t.left);else if(i==="RestElement")this.checkPatternExport(e,t.argument)};d.checkVariableExport=function(e,t){if(!e)return;for(var i=0,r=t;i<r.length;i+=1){var a=r[i];this.checkPatternExport(e,a.id)}};d.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};d.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")};d.parseExportSpecifiers=function(e){var t=[],i=!0;this.expect(o.braceL);while(!this.eat(o.braceR)){if(!i){if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break}else i=!1;t.push(this.parseExportSpecifier(e))}return t};d.parseImport=function(e){if(this.next(),this.type===o.string)e.specifiers=qr,e.source=this.parseExprAtom();else e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===o.string?this.parseExprAtom():this.unexpected();if(this.options.ecmaVersion>=16)e.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(e,"ImportDeclaration")};d.parseImportSpecifier=function(){var e=this.startNode();if(e.imported=this.parseModuleExportName(),this.eatContextual("as"))e.local=this.parseIdent();else this.checkUnreserved(e.imported),e.local=e.imported;return this.checkLValSimple(e.local,U),this.finishNode(e,"ImportSpecifier")};d.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,U),this.finishNode(e,"ImportDefaultSpecifier")};d.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,U),this.finishNode(e,"ImportNamespaceSpecifier")};d.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===o.name){if(e.push(this.parseImportDefaultSpecifier()),!this.eat(o.comma))return e}if(this.type===o.star)return e.push(this.parseImportNamespaceSpecifier()),e;this.expect(o.braceL);while(!this.eat(o.braceR)){if(!t){if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break}else t=!1;e.push(this.parseImportSpecifier())}return e};d.parseWithClause=function(){var e=[];if(!this.eat(o._with))return e;this.expect(o.braceL);var t={},i=!0;while(!this.eat(o.braceR)){if(!i){if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break}else i=!1;var r=this.parseImportAttribute(),a=r.key.type==="Identifier"?r.key.name:r.key.value;if(fe(t,a))this.raiseRecoverable(r.key.start,"Duplicate attribute key '"+a+"'");t[a]=!0,e.push(r)}return e};d.parseImportAttribute=function(){var e=this.startNode();if(e.key=this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(o.colon),this.type!==o.string)this.unexpected();return e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};d.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===o.string){var e=this.parseLiteral(this.value);if(Tr.test(e.value))this.raise(e.start,"An export name cannot include a lone surrogate.");return e}return this.parseIdent(!0)};d.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)};d.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]==="'")};var D=S.prototype;D.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await")this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":if(e.type="ObjectPattern",i)this.checkPatternErrors(i,!0);for(var r=0,a=e.properties;r<a.length;r+=1){var s=a[r];if(this.toAssignable(s,t),s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern"))this.raise(s.argument.start,"Unexpected token")}break;case"Property":if(e.kind!=="init")this.raise(e.key.start,"Object pattern can't contain getter or setter");this.toAssignable(e.value,t);break;case"ArrayExpression":if(e.type="ArrayPattern",i)this.checkPatternErrors(i,!0);this.toAssignableList(e.elements,t);break;case"SpreadElement":if(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":if(e.operator!=="=")this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else if(i)this.checkPatternErrors(i,!0);return e};D.toAssignableList=function(e,t){var i=e.length;for(var r=0;r<i;r++){var a=e[r];if(a)this.toAssignable(a,t)}if(i){var s=e[i-1];if(this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier")this.unexpected(s.argument.start)}return e};D.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};D.parseRestBinding=function(){var e=this.startNode();if(this.next(),this.options.ecmaVersion===6&&this.type!==o.name)this.unexpected();return e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};D.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case o.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(o.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case o.braceL:return this.parseObj(!0)}return this.parseIdent()};D.parseBindingList=function(e,t,i,r){var a=[],s=!0;while(!this.eat(e)){if(s)s=!1;else this.expect(o.comma);if(t&&this.type===o.comma)a.push(null);else if(i&&this.afterTrailingComma(e))break;else if(this.type===o.ellipsis){var n=this.parseRestBinding();if(this.parseBindingListItem(n),a.push(n),this.type===o.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");this.expect(e);break}else a.push(this.parseAssignableListItem(r))}return a};D.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};D.parseBindingListItem=function(e){return e};D.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(o.eq))return i;var r=this.startNodeAt(e,t);return r.left=i,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")};D.checkLValSimple=function(e,t,i){if(t===void 0)t=Ce;var r=t!==Ce;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name))this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode");if(r){if(t===U&&e.name==="let")this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name");if(i){if(fe(i,e.name))this.raiseRecoverable(e.start,"Argument name clash");i[e.name]=!0}if(t!==Yi)this.declareName(e.name,t,e.start)}break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(r)this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":if(r)this.raiseRecoverable(e.start,"Binding parenthesized expression");return this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}};D.checkLValPattern=function(e,t,i){if(t===void 0)t=Ce;switch(e.type){case"ObjectPattern":for(var r=0,a=e.properties;r<a.length;r+=1){var s=a[r];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var n=0,u=e.elements;n<u.length;n+=1){var l=u[n];if(l)this.checkLValInnerPattern(l,t,i)}break;default:this.checkLValSimple(e,t,i)}};D.checkLValInnerPattern=function(e,t,i){if(t===void 0)t=Ce;switch(e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var V=function(t,i,r,a,s){this.token=t,this.isExpr=!!i,this.preserveSpace=!!r,this.override=a,this.generator=!!s},w={b_stat:new V("{",!1),b_expr:new V("{",!0),b_tmpl:new V("${",!1),p_stat:new V("(",!1),p_expr:new V("(",!0),q_tmpl:new V("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new V("function",!1),f_expr:new V("function",!0),f_expr_gen:new V("function",!0,!1,null,!0),f_gen:new V("function",!1,!1,null,!0)},re=S.prototype;re.initialContext=function(){return[w.b_stat]};re.curContext=function(){return this.context[this.context.length-1]};re.braceIsBlock=function(e){var t=this.curContext();if(t===w.f_expr||t===w.f_stat)return!0;if(e===o.colon&&(t===w.b_stat||t===w.b_expr))return!t.isExpr;if(e===o._return||e===o.name&&this.exprAllowed)return q.test(this.input.slice(this.lastTokEnd,this.start));if(e===o._else||e===o.semi||e===o.eof||e===o.parenR||e===o.arrow)return!0;if(e===o.braceL)return t===w.b_stat;if(e===o._var||e===o._const||e===o.name)return!1;return!this.exprAllowed};re.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};re.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===o.dot)this.exprAllowed=!1;else if(t=i.updateContext)t.call(this,e);else this.exprAllowed=i.beforeExpr};re.overrideContext=function(e){if(this.curContext()!==e)this.context[this.context.length-1]=e};o.parenR.updateContext=o.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();if(e===w.b_stat&&this.curContext().token==="function")e=this.context.pop();this.exprAllowed=!e.isExpr};o.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?w.b_stat:w.b_expr),this.exprAllowed=!0};o.dollarBraceL.updateContext=function(){this.context.push(w.b_tmpl),this.exprAllowed=!0};o.parenL.updateContext=function(e){var t=e===o._if||e===o._for||e===o._with||e===o._while;this.context.push(t?w.p_stat:w.p_expr),this.exprAllowed=!0};o.incDec.updateContext=function(){};o._function.updateContext=o._class.updateContext=function(e){if(e.beforeExpr&&e!==o._else&&!(e===o.semi&&this.curContext()!==w.p_stat)&&!(e===o._return&&q.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===o.colon||e===o.braceL)&&this.curContext()===w.b_stat))this.context.push(w.f_expr);else this.context.push(w.f_stat);this.exprAllowed=!1};o.colon.updateContext=function(){if(this.curContext().token==="function")this.context.pop();this.exprAllowed=!0};o.backQuote.updateContext=function(){if(this.curContext()===w.q_tmpl)this.context.pop();else this.context.push(w.q_tmpl);this.exprAllowed=!1};o.star.updateContext=function(e){if(e===o._function){var t=this.context.length-1;if(this.context[t]===w.f_expr)this.context[t]=w.f_expr_gen;else this.context[t]=w.f_gen}this.exprAllowed=!0};o.name.updateContext=function(e){var t=!1;if(this.options.ecmaVersion>=6&&e!==o.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())t=!0}this.exprAllowed=t};var b=S.prototype;b.checkPropClash=function(e,t,i){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement")return;if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))return;var r=e.key,a;switch(r.type){case"Identifier":a=r.name;break;case"Literal":a=String(r.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){if(a==="__proto__"&&s==="init"){if(t.proto)if(i){if(i.doubleProto<0)i.doubleProto=r.start}else this.raiseRecoverable(r.start,"Redefinition of __proto__ property");t.proto=!0}return}a="$"+a;var n=t[a];if(n){var u;if(s==="init")u=this.strict&&n.init||n.get||n.set;else u=n.init||n[s];if(u)this.raiseRecoverable(r.start,"Redefinition of property")}else n=t[a]={init:!1,get:!1,set:!1};n[s]=!0};b.parseExpression=function(e,t){var i=this;return this.catchStackOverflow(function(){var{start:r,startLoc:a}=i,s=i.parseMaybeAssign(e,t);if(i.type===o.comma){var n=i.startNodeAt(r,a);n.expressions=[s];while(i.eat(o.comma))n.expressions.push(i.parseMaybeAssign(e,t));return i.finishNode(n,"SequenceExpression")}return s})};b.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(e);else this.exprAllowed=!1;var r=!1,a=-1,s=-1,n=-1;if(t)a=t.parenthesizedAssign,s=t.trailingComma,n=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1;else t=new Re,r=!0;var u=this.start,l=this.startLoc;if(this.type===o.parenL||this.type===o.name)this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await";var c=this.parseMaybeConditional(e,t);if(i)c=i.call(this,c,u,l);if(this.type.isAssign){var h=this.startNodeAt(u,l);if(h.operator=this.value,this.type===o.eq)c=this.toAssignable(c,!1,t);if(!r)t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1;if(t.shorthandAssign>=c.start)t.shorthandAssign=-1;if(this.type===o.eq)this.checkLValPattern(c);else this.checkLValSimple(c);if(h.left=c,this.next(),h.right=this.parseMaybeAssign(e),n>-1)t.doubleProto=n;return this.finishNode(h,"AssignmentExpression")}else if(r)this.checkExpressionErrors(t,!0);if(a>-1)t.parenthesizedAssign=a;if(s>-1)t.trailingComma=s;return c};b.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(!(a.type==="ArrowFunctionExpression"&&a.start===i)&&this.eat(o.question)){var s=this.startNodeAt(i,r);return s.test=a,s.consequent=this.parseMaybeAssign(),this.expect(o.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return a};b.parseExprOps=function(e,t){var i=this.start,r=this.startLoc,a=this.parseMaybeUnary(t,!1,!1,e);if(this.checkExpressionErrors(t))return a;return a.start===i&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,i,r,-1,e)};b.parseExprOp=function(e,t,i,r,a){var s=this.type.binop;if(s!=null&&(!a||this.type!==o._in)){if(s>r){var n=this.type===o.logicalOR||this.type===o.logicalAND,u=this.type===o.coalesce;if(u)s=o.logicalAND.binop;var l=this.value;this.next();var c=this.start,h=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,a),c,h,s,a),f=this.buildBinary(t,i,e,p,l,n||u);if(n&&this.type===o.coalesce||u&&(this.type===o.logicalOR||this.type===o.logicalAND))this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses");return this.parseExprOp(f,t,i,r,a)}}return e};b.buildBinary=function(e,t,i,r,a,s){if(r.type==="PrivateIdentifier")this.raise(r.start,"Private identifier can only be left side of binary expression");var n=this.startNodeAt(e,t);return n.left=i,n.operator=a,n.right=r,this.finishNode(n,s?"LogicalExpression":"BinaryExpression")};b.parseMaybeUnary=function(e,t,i,r){var a=this.start,s=this.startLoc,n;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(r),t=!0;else if(this.type.prefix){var u=this.startNode(),l=this.type===o.incDec;if(u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,l,r),this.checkExpressionErrors(e,!0),l)this.checkLValSimple(u.argument);else if(this.strict&&u.operator==="delete"&&Ji(u.argument))this.raiseRecoverable(u.start,"Deleting local variable in strict mode");else if(u.operator==="delete"&&ut(u.argument))this.raiseRecoverable(u.start,"Private fields can not be deleted");else t=!0;n=this.finishNode(u,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===o.privateId){if((r||this.privateNameStack.length===0)&&this.options.checkPrivateFields)this.unexpected();if(n=this.parsePrivateIdent(),this.type!==o._in)this.unexpected()}else{if(n=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return n;while(this.type.postfix&&!this.canInsertSemicolon()){var c=this.startNodeAt(a,s);c.operator=this.value,c.prefix=!1,c.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(c,"UpdateExpression")}}if(!i&&!(n.type==="ArrowFunctionExpression"&&n.start===a)&&this.eat(o.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(a,s,n,this.parseMaybeUnary(null,!1,!1,r),"**",!1);else return n};function Ji(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&Ji(e.expression)}function ut(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&ut(e.expression)||e.type==="ParenthesizedExpression"&&ut(e.expression)}b.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc,a=this.parseExprAtom(e,t);if(a.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return a;var s=this.parseSubscripts(a,i,r,!1,t);if(e&&s.type==="MemberExpression"){if(e.parenthesizedAssign>=s.start)e.parenthesizedAssign=-1;if(e.parenthesizedBind>=s.start)e.parenthesizedBind=-1;if(e.trailingComma>=s.start)e.trailingComma=-1}return s};b.parseSubscripts=function(e,t,i,r,a){var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,n=!1;while(!0){var u=this.parseSubscript(e,t,i,r,s,n,a);if(u.optional)n=!0;if(u===e||u.type==="ArrowFunctionExpression"){if(n){var l=this.startNodeAt(t,i);l.expression=u,u=this.finishNode(l,"ChainExpression")}return u}e=u}};b.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(o.arrow)};b.parseSubscriptAsyncArrow=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,r)};b.parseSubscript=function(e,t,i,r,a,s,n){var u=this.options.ecmaVersion>=11,l=u&&this.eat(o.questionDot);if(r&&l)this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(o.bracketL);if(c||l&&this.type!==o.parenL&&this.type!==o.backQuote||this.eat(o.dot)){var h=this.startNodeAt(t,i);if(h.object=e,c)h.property=this.parseExpression(),this.expect(o.bracketR);else if(this.type===o.privateId&&e.type!=="Super")h.property=this.parsePrivateIdent();else h.property=this.parseIdent(this.options.allowReserved!=="never");if(h.computed=!!c,u)h.optional=l;e=this.finishNode(h,"MemberExpression")}else if(!r&&this.eat(o.parenL)){var p=new Re,f=this.yieldPos,x=this.awaitPos,v=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var we=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1,p);if(a&&!l&&this.shouldParseAsyncArrow()){if(this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0)this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function");return this.yieldPos=f,this.awaitPos=x,this.awaitIdentPos=v,this.parseSubscriptAsyncArrow(t,i,we,n)}this.checkExpressionErrors(p,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=x||this.awaitPos,this.awaitIdentPos=v||this.awaitIdentPos;var ee=this.startNodeAt(t,i);if(ee.callee=e,ee.arguments=we,u)ee.optional=l;e=this.finishNode(ee,"CallExpression")}else if(this.type===o.backQuote){if(l||s)this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var te=this.startNodeAt(t,i);te.tag=e,te.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(te,"TaggedTemplateExpression")}return e};b.parseExprAtom=function(e,t,i){if(this.type===o.slash)this.readRegexp();var r,a=this.potentialArrowAt===this.start;switch(this.type){case o._super:if(!this.allowSuper)this.raise(this.start,"'super' keyword outside a method");if(r=this.startNode(),this.next(),this.type===o.parenL&&!this.allowDirectSuper)this.raise(r.start,"super() call outside constructor of a subclass");if(this.type!==o.dot&&this.type!==o.bracketL&&this.type!==o.parenL)this.unexpected();return this.finishNode(r,"Super");case o._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case o.name:var s=this.start,n=this.startLoc,u=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(o._function))return this.overrideContext(w.f_expr),this.parseFunction(this.startNodeAt(s,n),0,!1,!0,t);if(a&&!this.canInsertSemicolon()){if(this.eat(o.arrow))return this.parseArrowExpression(this.startNodeAt(s,n),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===o.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){if(l=this.parseIdent(!1),this.canInsertSemicolon()||!this.eat(o.arrow))this.unexpected();return this.parseArrowExpression(this.startNodeAt(s,n),[l],!0,t)}}return l;case o.regexp:var c=this.value;return r=this.parseLiteral(c.value),r.regex={pattern:c.pattern,flags:c.flags},r;case o.num:case o.string:return this.parseLiteral(this.value);case o._null:case o._true:case o._false:return r=this.startNode(),r.value=this.type===o._null?null:this.type===o._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case o.parenL:var h=this.start,p=this.parseParenAndDistinguishExpression(a,t);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p))e.parenthesizedAssign=h;if(e.parenthesizedBind<0)e.parenthesizedBind=h}return p;case o.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(o.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case o.braceL:return this.overrideContext(w.b_expr),this.parseObj(!1,e);case o._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case o._class:return this.parseClass(this.startNode(),!1);case o._new:return this.parseNew();case o.backQuote:return this.parseTemplate();case o._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(i);else return this.unexpected();default:return this.parseExprAtomDefault()}};b.parseExprAtomDefault=function(){this.unexpected()};b.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword import");if(this.next(),this.type===o.parenL&&!e)return this.parseDynamicImport(t);else if(this.type===o.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()};b.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)if(!this.eat(o.parenR))if(this.expect(o.comma),!this.afterTrailingComma(o.parenR)){if(e.options=this.parseMaybeAssign(),!this.eat(o.parenR)){if(this.expect(o.comma),!this.afterTrailingComma(o.parenR))this.unexpected()}}else e.options=null;else e.options=null;else if(!this.eat(o.parenR)){var t=this.start;if(this.eat(o.comma)&&this.eat(o.parenR))this.raiseRecoverable(t,"Trailing comma is not allowed in import()");else this.unexpected(t)}return this.finishNode(e,"ImportExpression")};b.parseImportMeta=function(e){this.next();var t=this.containsEsc;if(e.property=this.parseIdent(!0),e.property.name!=="meta")this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'");if(t)this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters");if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere)this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module");return this.finishNode(e,"MetaProperty")};b.parseLiteral=function(e){var t=this.startNode();if(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,"");return this.next(),this.finishNode(t,"Literal")};b.parseParenExpression=function(){this.expect(o.parenL);var e=this.parseExpression();return this.expect(o.parenR),e};b.shouldParseArrow=function(e){return!this.canInsertSemicolon()};b.parseParenAndDistinguishExpression=function(e,t){var i=this.start,r=this.startLoc,a,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n=this.start,u=this.startLoc,l=[],c=!0,h=!1,p=new Re,f=this.yieldPos,x=this.awaitPos,v;this.yieldPos=0,this.awaitPos=0;while(this.type!==o.parenR)if(c?c=!1:this.expect(o.comma),s&&this.afterTrailingComma(o.parenR,!0)){h=!0;break}else if(this.type===o.ellipsis){if(v=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===o.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,p,this.parseParenItem));var we=this.lastTokEnd,ee=this.lastTokEndLoc;if(this.expect(o.parenR),e&&this.shouldParseArrow(l)&&this.eat(o.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=x,this.parseParenArrowList(i,r,l,t);if(!l.length||h)this.unexpected(this.lastTokStart);if(v)this.unexpected(v);if(this.checkExpressionErrors(p,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=x||this.awaitPos,l.length>1)a=this.startNodeAt(n,u),a.expressions=l,this.finishNodeAt(a,"SequenceExpression",we,ee);else a=l[0]}else a=this.parseParenExpression();if(this.options.preserveParens){var te=this.startNodeAt(i,r);return te.expression=a,this.finishNode(te,"ParenthesizedExpression")}else return a};b.parseParenItem=function(e){return e};b.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,r)};var $r=[];b.parseNew=function(){if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===o.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;if(e.property=this.parseIdent(!0),e.property.name!=="target")this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'");if(i)this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters");if(!this.allowNewDotTarget)this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block");return this.finishNode(e,"MetaProperty")}var r=this.start,a=this.startLoc;if(e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,a,!0,!1),e.callee.type==="Super")this.raiseRecoverable(r,"Invalid use of 'super'");if(this.eat(o.parenL))e.arguments=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1);else e.arguments=$r;return this.finishNode(e,"NewExpression")};b.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();if(this.type===o.invalidTemplate){if(!t)this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal");i.value={raw:this.value.replace(/\r\n?/g,`
54
- `),cooked:null}}else i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
55
- `),cooked:this.value};return this.next(),i.tail=this.type===o.backQuote,this.finishNode(i,"TemplateElement")};b.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=!1;var i=this.startNode();this.next(),i.expressions=[];var r=this.parseTemplateElement({isTagged:t});i.quasis=[r];while(!r.tail){if(this.type===o.eof)this.raise(this.pos,"Unterminated template literal");this.expect(o.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(o.braceR),i.quasis.push(r=this.parseTemplateElement({isTagged:t}))}return this.next(),this.finishNode(i,"TemplateLiteral")};b.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===o.name||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===o.star)&&!q.test(this.input.slice(this.lastTokEnd,this.start))};b.parseObj=function(e,t){var i=this.startNode(),r=!0,a={};i.properties=[],this.next();while(!this.eat(o.braceR)){if(!r){if(this.expect(o.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(o.braceR))break}else r=!1;var s=this.parseProperty(e,t);if(!e)this.checkPropClash(s,a,t);i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};b.parseProperty=function(e,t){var i=this.startNode(),r,a,s,n;if(this.options.ecmaVersion>=9&&this.eat(o.ellipsis)){if(e){if(i.argument=this.parseIdent(!1),this.type===o.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");return this.finishNode(i,"RestElement")}if(i.argument=this.parseMaybeAssign(!1,t),this.type===o.comma&&t&&t.trailingComma<0)t.trailingComma=this.start;return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){if(i.method=!1,i.shorthand=!1,e||t)s=this.start,n=this.startLoc;if(!e)r=this.eat(o.star)}var u=this.containsEsc;if(this.parsePropertyName(i),!e&&!u&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i))a=!0,r=this.options.ecmaVersion>=9&&this.eat(o.star),this.parsePropertyName(i);else a=!1;return this.parsePropertyValue(i,e,r,a,s,n,t,u),this.finishNode(i,"Property")};b.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 r=e.value.start;if(e.kind==="get")this.raiseRecoverable(r,"getter should have no params");else this.raiseRecoverable(r,"setter should have exactly one param")}else if(e.kind==="set"&&e.value.params[0].type==="RestElement")this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};b.parsePropertyValue=function(e,t,i,r,a,s,n,u){if((i||r)&&this.type===o.colon)this.unexpected();if(this.eat(o.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===o.parenL){if(t)this.unexpected();e.method=!0,e.value=this.parseMethod(i,r),e.kind="init"}else if(!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==o.comma&&this.type!==o.braceR&&this.type!==o.eq)){if(i||r)this.unexpected();this.parseGetterSetter(e)}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||r)this.unexpected();if(this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos)this.awaitIdentPos=a;if(t)e.value=this.parseMaybeDefault(a,s,this.copyNode(e.key));else if(this.type===o.eq&&n){if(n.shorthandAssign<0)n.shorthandAssign=this.start;e.value=this.parseMaybeDefault(a,s,this.copyNode(e.key))}else e.value=this.copyNode(e.key);e.kind="init",e.shorthand=!0}else this.unexpected()};b.parsePropertyName=function(e){if(this.options.ecmaVersion>=6)if(this.eat(o.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(o.bracketR),e.key;else e.computed=!1;return e.key=this.type===o.num||this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};b.initFunction=function(e){if(e.id=null,this.options.ecmaVersion>=6)e.generator=e.expression=!1;if(this.options.ecmaVersion>=8)e.async=!1};b.parseMethod=function(e,t,i){var r=this.startNode(),a=this.yieldPos,s=this.awaitPos,n=this.awaitIdentPos;if(this.initFunction(r),this.options.ecmaVersion>=6)r.generator=e;if(this.options.ecmaVersion>=8)r.async=!!t;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ht(t,r.generator)|Ie|(i?Hi:0)),this.expect(o.parenL),r.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=n,this.finishNode(r,"FunctionExpression")};b.parseArrowExpression=function(e,t,i,r){var a=this.yieldPos,s=this.awaitPos,n=this.awaitIdentPos;if(this.enterScope(ht(i,!1)|ct),this.initFunction(e),this.options.ecmaVersion>=8)e.async=!!i;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=n,this.finishNode(e,"ArrowFunctionExpression")};b.parseFunctionBody=function(e,t,i,r){var a=t&&this.type!==o.braceL,s=this.strict,n=!1;if(a)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!s||u){if(n=this.strictDirective(this.end),n&&u)this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}var l=this.labels;if(this.labels=[],n)this.strict=!0;if(this.checkParams(e,!s&&!n&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id)this.checkLValSimple(e.id,Yi);e.body=this.parseBlock(!1,void 0,n&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()};b.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var r=i[t];if(r.type!=="Identifier")return!1}return!0};b.checkParams=function(e,t){var i=Object.create(null);for(var r=0,a=e.params;r<a.length;r+=1){var s=a[r];this.checkLValInnerPattern(s,pt,t?null:i)}};b.parseExprList=function(e,t,i,r){var a=[],s=!0;while(!this.eat(e)){if(!s){if(this.expect(o.comma),t&&this.afterTrailingComma(e))break}else s=!1;var n=void 0;if(i&&this.type===o.comma)n=null;else if(this.type===o.ellipsis){if(n=this.parseSpread(r),r&&this.type===o.comma&&r.trailingComma<0)r.trailingComma=this.start}else n=this.parseMaybeAssign(!1,r);a.push(n)}return a};b.checkUnreserved=function(e){var{start:t,end:i,name:r}=e;if(this.inGenerator&&r==="yield")this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator");if(this.inAsync&&r==="await")this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function");if(!(this.currentThisScope().flags&$e)&&r==="arguments")this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer");if(this.inClassStaticBlock&&(r==="arguments"||r==="await"))this.raise(t,"Cannot use "+r+" in class static initialization block");if(this.keywords.test(r))this.raise(t,"Unexpected keyword '"+r+"'");if(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1)return;var a=this.strict?this.reservedWordsStrict:this.reservedWords;if(a.test(r)){if(!this.inAsync&&r==="await")this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function");this.raiseRecoverable(t,"The keyword '"+r+"' is reserved")}};b.parseIdent=function(e){var t=this.parseIdentNode();if(this.next(!!e),this.finishNode(t,"Identifier"),!e){if(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos)this.awaitIdentPos=t.start}return t};b.parseIdentNode=function(){var e=this.startNode();if(this.type===o.name)e.name=this.value;else if(this.type.keyword){if(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=o.name}else this.unexpected();return e};b.parsePrivateIdent=function(){var e=this.startNode();if(this.type===o.privateId)e.name=this.value;else this.unexpected();if(this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields)if(this.privateNameStack.length===0)this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class");else this.privateNameStack[this.privateNameStack.length-1].used.push(e);return e};b.parseYield=function(e){if(!this.yieldPos)this.yieldPos=this.start;var t=this.startNode();if(this.next(),this.type===o.semi||this.canInsertSemicolon()||this.type!==o.star&&!this.type.startsExpr)t.delegate=!1,t.argument=null;else t.delegate=this.eat(o.star),t.argument=this.parseMaybeAssign(e);return this.finishNode(t,"YieldExpression")};b.parseAwait=function(e){if(!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")};var Le=S.prototype;Le.raise=function(e,t){var i=zi(this.input,e);if(t+=" ("+i.line+":"+i.column+")",this.sourceFile)t+=" in "+this.sourceFile;var r=SyntaxError(t);throw r.pos=e,r.loc=i,r.raisedAt=this.pos,r};Le.raiseRecoverable=Le.raise;Le.curPosition=function(){if(this.options.locations)return new pe(this.curLine,this.pos-this.lineStart)};var G=S.prototype,Rr=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};G.enterScope=function(e){this.scopeStack.push(new Rr(e))};G.exitScope=function(){this.scopeStack.pop()};G.treatFunctionsAsVarInScope=function(e){return e.flags&Y||!this.inModule&&e.flags&X};G.declareName=function(e,t,i){var r=!1;if(t===U){var a=this.currentScope();if(r=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&X)delete this.undefinedExports[e]}else if(t===Qi){var s=this.currentScope();s.lexical.push(e)}else if(t===Xi){var n=this.currentScope();if(this.treatFunctionsAsVar)r=n.lexical.indexOf(e)>-1;else r=n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1;n.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var l=this.scopeStack[u];if(l.lexical.indexOf(e)>-1&&!(l.flags&Gi&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){r=!0;break}if(l.var.push(e),this.inModule&&l.flags&X)delete this.undefinedExports[e];if(l.flags&$e)break}if(r)this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};G.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1)this.undefinedExports[e.name]=e};G.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};G.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&($e|de|Z))return t}};G.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&($e|de|Z)&&!(t.flags&ct))return t}};var Oe=function(t,i,r){if(this.type="",this.start=i,this.end=0,t.options.locations)this.loc=new qe(t,r);if(t.options.directSourceFile)this.sourceFile=t.options.directSourceFile;if(t.options.ranges)this.range=[i,0]},me=S.prototype;me.startNode=function(){return new Oe(this,this.start,this.startLoc)};me.startNodeAt=function(e,t){return new Oe(this,e,t)};function es(e,t,i,r){if(e.type=t,e.end=i,this.options.locations)e.loc.end=r;if(this.options.ranges)e.range[1]=i;return e}me.finishNode=function(e,t){return es.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};me.finishNodeAt=function(e,t,i,r){return es.call(this,e,t,i,r)};me.copyNode=function(e){var t=new Oe(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var ts=function(){};ts.prototype.reset=function(){};S.prototype.validateRegExpFlags=function(){};S.prototype.validateRegExpPattern=function(){};var dt=function(t){if(this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations)this.loc=new qe(t,t.startLoc,t.endLoc);if(t.options.ranges)this.range=[t.start,t.end]},g=S.prototype;g.next=function(e){if(!e&&this.type.keyword&&this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword);if(this.options.onToken)this.options.onToken(new dt(this));this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};g.getToken=function(){return this.next(),new dt(this)};if(typeof Symbol<"u")g[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===o.eof,value:t}}}};g.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace)this.skipSpace();if(this.start=this.pos,this.options.locations)this.startLoc=this.curPosition();if(this.pos>=this.input.length)return this.finishToken(o.eof);if(e.override)return e.override(this);else this.readToken(this.fullCharCodeAtPos())};g.readToken=function(e){if(A(e,this.options.ecmaVersion>=6)||e===92)return this.readWord();return this.getTokenFromCode(e)};g.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};g.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)};g.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");if(this.pos=i+2,this.options.locations)for(var r=void 0,a=t;(r=ji(this.input,a,this.pos))>-1;)++this.curLine,a=this.lineStart=r;if(this.options.onComment)this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())};g.skipLineComment=function(e){var t=this.pos,i=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!se(r))r=this.input.charCodeAt(++this.pos);if(this.options.onComment)this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())};g.skipSpace=function(){e:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10)++this.pos;case 10:case 8232:case 8233:if(++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&&Mi.test(String.fromCharCode(e)))++this.pos;else break e}}};g.finishToken=function(e,t){if(this.end=this.pos,this.options.locations)this.endLoc=this.curPosition();var i=this.type;this.type=e,this.value=t,this.updateContext(i)};g.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);if(this.options.ecmaVersion>=6&&e===46&&t===46)return this.pos+=3,this.finishToken(o.ellipsis);else return++this.pos,this.finishToken(o.dot)};g.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed)return++this.pos,this.readRegexp();if(e===61)return this.finishOp(o.assign,2);return this.finishOp(o.slash,1)};g.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,r=e===42?o.star:o.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42)++i,r=o.starstar,t=this.input.charCodeAt(this.pos+2);if(t===61)return this.finishOp(o.assign,i+1);return this.finishOp(r,i)};g.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(o.assign,3)}return this.finishOp(e===124?o.logicalOR:o.logicalAND,2)}if(t===61)return this.finishOp(o.assign,2);return this.finishOp(e===124?o.bitwiseOR:o.bitwiseAND,1)};g.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61)return this.finishOp(o.assign,2);return this.finishOp(o.bitwiseXOR,1)};g.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||q.test(this.input.slice(this.lastTokEnd,this.pos))))return this.skipLineComment(3),this.skipSpace(),this.nextToken();return this.finishOp(o.incDec,2)}if(t===61)return this.finishOp(o.assign,2);return this.finishOp(o.plusMin,1)};g.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;if(t===e){if(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61)return this.finishOp(o.assign,i+1);return this.finishOp(o.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45)return this.skipLineComment(4),this.skipSpace(),this.nextToken();if(t===61)i=2;return this.finishOp(o.relational,i)};g.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61)return this.finishOp(o.equality,this.input.charCodeAt(this.pos+2)===61?3:2);if(e===61&&t===62&&this.options.ecmaVersion>=6)return this.pos+=2,this.finishToken(o.arrow);return this.finishOp(e===61?o.eq:o.prefix,1)};g.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(o.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(o.assign,3)}return this.finishOp(o.coalesce,2)}}return this.finishOp(o.question,1)};g.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13){if(++this.pos,t=this.fullCharCodeAtPos(),A(t,!0)||t===92)return this.finishToken(o.privateId,this.readWord1())}this.raise(this.pos,"Unexpected character '"+Pe(t)+"'")};g.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(o.parenL);case 41:return++this.pos,this.finishToken(o.parenR);case 59:return++this.pos,this.finishToken(o.semi);case 44:return++this.pos,this.finishToken(o.comma);case 91:return++this.pos,this.finishToken(o.bracketL);case 93:return++this.pos,this.finishToken(o.bracketR);case 123:return++this.pos,this.finishToken(o.braceL);case 125:return++this.pos,this.finishToken(o.braceR);case 58:return++this.pos,this.finishToken(o.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(o.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(o.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Pe(e)+"'")};g.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)};g.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(i,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(q.test(r))this.raise(i,"Unterminated regular expression");if(!e){if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}else e=!1;++this.pos}var a=this.input.slice(i,this.pos);++this.pos;var s=this.pos,n=this.readWord1();if(this.containsEsc)this.unexpected(s);var u=this.regexpState||(this.regexpState=new ts(this));u.reset(i,a,n),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var l=null;try{l=new RegExp(a,n)}catch(c){}return this.finishToken(o.regexp,{pattern:a,flags:n,value:l})};g.readInt=function(e,t,i){var r=this.options.ecmaVersion>=12&&t===void 0,a=i&&this.input.charCodeAt(this.pos)===48,s=this.pos,n=0,u=0;for(var l=0,c=t==null?1/0:t;l<c;++l,++this.pos){var h=this.input.charCodeAt(this.pos),p=void 0;if(r&&h===95){if(a)this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals");if(u===95)this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore");if(l===0)this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits");u=h;continue}if(h>=97)p=h-97+10;else if(h>=65)p=h-65+10;else if(h>=48&&h<=57)p=h-48;else p=1/0;if(p>=e)break;u=h,n=n*e+p}if(r&&u===95)this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits");if(this.pos===s||t!=null&&this.pos-s!==t)return null;return n};function Or(e,t){if(t)return parseInt(e,8);return parseFloat(e.replace(/_/g,""))}function is(e){if(typeof BigInt!=="function")return null;return BigInt(e.replace(/_/g,""))}g.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null)this.raise(this.start+2,"Expected number in radix "+e);if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110)i=is(this.input.slice(t,this.pos)),++this.pos;else if(A(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");return this.finishToken(o.num,i)};g.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,void 0,!0)===null)this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict)this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var a=is(this.input.slice(t,this.pos));if(++this.pos,A(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");return this.finishToken(o.num,a)}if(i&&/[89]/.test(this.input.slice(t,this.pos)))i=!1;if(r===46&&!i)++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos);if((r===69||r===101)&&!i){if(r=this.input.charCodeAt(++this.pos),r===43||r===45)++this.pos;if(this.readInt(10)===null)this.raise(t,"Invalid number")}if(A(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");var s=Or(this.input.slice(t,this.pos),i);return this.finishToken(o.num,s)};g.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6)this.unexpected();var i=++this.pos;if(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};g.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;if(r===92)t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos;else if(r===8232||r===8233){if(this.options.ecmaVersion<10)this.raise(this.start,"Unterminated string constant");if(++this.pos,this.options.locations)this.curLine++,this.lineStart=this.pos}else{if(se(r))this.raise(this.start,"Unterminated string constant");++this.pos}}return t+=this.input.slice(i,this.pos++),this.finishToken(o.string,t)};var ss={};g.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ss)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};g.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ss;else this.raise(e,t)};g.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===o.template||this.type===o.invalidTemplate))if(i===36)return this.pos+=2,this.finishToken(o.dollarBraceL);else return++this.pos,this.finishToken(o.backQuote);return e+=this.input.slice(t,this.pos),this.finishToken(o.template,e)}if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(se(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:if(this.input.charCodeAt(this.pos)===10)++this.pos;case 10:e+=`
56
- `;break;default:e+=String.fromCharCode(i);break}if(this.options.locations)++this.curLine,this.lineStart=this.pos;t=this.pos}else++this.pos}};g.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(o.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":if(this.input[this.pos+1]===`
57
- `)++this.pos;case`
58
- `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};g.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
59
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Pe(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10)++this.pos;case 10:if(this.options.locations)this.lineStart=this.pos,++this.curLine;return"";case 56:case 57:if(this.strict)this.invalidStringToken(this.pos-1,"Invalid escape sequence");if(e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(r,8);if(a>255)r=r.slice(0,-1),a=parseInt(r,8);if(this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!=="0"||t===56||t===57)&&(this.strict||e))this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode");return String.fromCharCode(a)}if(se(t)){if(this.options.locations)this.lineStart=this.pos,++this.curLine;return""}return String.fromCharCode(t)}};g.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);if(i===null)this.invalidStringToken(t,"Bad character escape sequence");return i};g.readWord1=function(){this.containsEsc=!1;var e="",t=!0,i=this.pos,r=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var a=this.fullCharCodeAtPos();if(F(a,r))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(i,this.pos);var s=this.pos;if(this.input.charCodeAt(++this.pos)!==117)this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX");++this.pos;var n=this.readCodePoint();if(!(t?A:F)(n,r))this.invalidStringToken(s,"Invalid Unicode escape");e+=Pe(n),i=this.pos}else break;t=!1}return e+this.input.slice(i,this.pos)};g.readWord=function(){var e=this.readWord1(),t=o.name;if(this.keywords.test(e))t=Q[e];return this.finishToken(t,e)};var Dr="8.18.0";S.acorn={Parser:S,version:Dr,defaultOptions:at,Position:pe,SourceLocation:qe,getLineInfo:zi,Node:Oe,TokenType:k,tokTypes:o,keywordTypes:Q,TokContext:V,tokContexts:w,isIdentifierChar:F,isIdentifierStart:A,Token:dt,isNewLine:se,lineBreak:q,lineBreakG:Ar,nonASCIIwhitespace:Mi};var ne="",ns=[];function as(e,t){ne=e,ns=t}function os(e,t,i,r,a,s){let n=t;if(e&&n.includes(`
60
- `)){let l=ne.lastIndexOf(`
61
- `,i-1)+1,c=l,h=ne.charCodeAt(c);while(h===32||h===9)h=ne.charCodeAt(++c);if(c>l)n=Br(n,ne.slice(l,c))}let u={type:e?"Block":"Line",value:n,start:i,end:r};if(a&&s)u.loc={start:a,end:s};ns.push(u)}function Br(e,t){let i=e.startsWith(t)?t.length:0,r="",a=e.indexOf(`
62
- `,i);while(a!==-1){if(r+=e.slice(i,a+1),i=a+1,e.startsWith(t,i))i+=t.length;a=e.indexOf(`
63
- `,i)}return r+e.slice(i)}function us(e,t,i){let r=0,a=t.length;while(r<a){let s=r+a>>>1;if(t[s].start<i)r=s+1;else a=s}if(r>=t.length)return;if(E=t.slice(r).map(({type:s,value:n,start:u,end:l})=>({type:s,value:n,start:u,end:l})),T=0,mt(e,void 0,!1),T<E.length&&(E[T].start>=e.end||e.type==="Program")){e.trailingComments??=[];while(T<E.length)e.trailingComments.push(E[T++])}}var E=[],T=0,Vr=new Map([["BlockStatement","body"],["Program","body"],["ArrayExpression","elements"],["ObjectExpression","properties"]]);function rs(e,t){for(let i=e;i<t;i++){let r=ne.charCodeAt(i);if(r!==44&&r!==41&&r!==32&&r!==9)return!0}return!1}function mt(e,t,i){while(T<E.length&&E[T].start<e.start)e.leadingComments??=[],e.leadingComments.push(E[T++]);if(T>=E.length)return;let r=E[T].start;if(r<e.end||!rs(e.end,r)){let a=Vr.get(e.type),s=a!==void 0&&e[a].length===0;for(let n in e){if(T>=E.length)return;if(n==="type")continue;let u=e[n];if(!u||typeof u!=="object")continue;if(Array.isArray(u)){let l=n===a;for(let c=0;c<u.length;c++){let h=u[c];if(h&&typeof h==="object"&&h.type)mt(h,e,l?c===u.length-1:s)}}else if(u.type)mt(u,e,s)}if(T>=E.length)return}if(t!==void 0&&e.end===t.end)return;if(i)while(T<E.length){if(t&&E[T].start>=t.end)break;e.trailingComments??=[],e.trailingComments.push(E[T++])}else if(e.end<=E[T].start&&!rs(e.end,E[T].start))e.trailingComments=[E[T++]]}var bt=/(?:\s|\/\/.*|\/\*[\s\S]*?\*\/)*/g,Fr=new Map([["any","TSAnyKeyword"],["bigint","TSBigIntKeyword"],["boolean","TSBooleanKeyword"],["never","TSNeverKeyword"],["null","TSNullKeyword"],["number","TSNumberKeyword"],["object","TSObjectKeyword"],["string","TSStringKeyword"],["symbol","TSSymbolKeyword"],["undefined","TSUndefinedKeyword"],["unknown","TSUnknownKeyword"],["void","TSVoidKeyword"]]),jr=new Set("public private protected readonly declare abstract override static accessor".split(" ")),Mr=new Set("public private protected readonly override".split(" ")),Ur=new Set("var let const function class abstract enum interface type namespace module global".split(" ")),zr=new Set("var let const function class interface enum".split(" ")),ls=new Set(["TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"]),cs=1,Wr=32,Gr=256,Hr=0,Kr=1,be=2,Xr=3,Qr=4,xt=6,hs=7,xs=256,kt=1024,Yr=8|kt,Zr=be|xs,ps=1,Jr=2,fs=40,en=41,tn=44,ds=46,ms=58,De=61,bs=60,Be=123,sn=91,gt=42,rn=35,vt=34,yt=39,nn=SyntaxError("speculative parse failed");function gs(e){let t=e,i=t.acorn.tokTypes,r=new t.acorn.TokenType("@");class a extends t{inType=!1;$5=!1;$6=!1;$8=null;$o=null;$p=!1;$q=!1;$i=null;$b=[[]];$r=0;$13=0;constructor(s,n,u){super(s,n,u);let l=this.options.onComment;if(typeof l==="function")this.options.onComment=(c,h,p,f,x,v)=>{if(p<this.$13)return;this.$13=f,l.call(this,c,h,p,f,x,v)}}getTokenFromCode(s){if(s===64)return++this.pos,this.finishToken(r);return super.getTokenFromCode(s)}readToken_lt_gt(s){if(this.inType)return this.finishOp(i.relational,1);return super.readToken_lt_gt(s)}$9(s){let n=this.inType;this.inType=!0;let u=s();if(this.inType=n,!n&&this.type===i.relational)this.pos=this.start,this.nextToken();return u}$1(){return this.type===i.relational&&this.value==="<"}$k(){if(this.type===i.bitShift&&this.value==="<<")this.pos=this.start+1,this.finishToken(i.relational,"<");return this.$1()}$c(){return this.type===i.relational&&this.value===">"}$s(){return this.type===i.prefix&&this.value==="!"}hasPrecedingLineBreak(){return this.$14(this.lastTokEnd,this.start)}$14(s,n){for(let u=s;u<n;u++){let l=this.input.charCodeAt(u);if(l===10||l===13||l===8232||l===8233)return!0}return!1}$d(s=this.pos){return bt.lastIndex=s,bt.exec(this.input),bt.lastIndex}$2(){return this.input.charCodeAt(this.$d())}$3(){let s=this.$d(),n=s;while(n<this.input.length&&F(this.input.charCodeAt(n)))n++;return this.input.slice(s,n)}$a(){return!this.$14(this.pos,this.$d())}$15(){return this.$a()&&A(this.$2())&&!Object.hasOwn(Q,this.$3())}$16(){return{pos:this.pos,type:this.type,value:this.value,start:this.start,end:this.end,startLoc:this.startLoc,endLoc:this.endLoc,lastTokStart:this.lastTokStart,lastTokEnd:this.lastTokEnd,lastTokStartLoc:this.lastTokStartLoc,lastTokEndLoc:this.lastTokEndLoc,curLine:this.curLine,lineStart:this.lineStart,context:this.context.slice(),exprAllowed:this.exprAllowed,containsEsc:this.containsEsc,inType:this.inType,$5:this.$5,$6:this.$6,$8:this.$8,scopes:this.scopeStack.length,privateNames:this.privateNameStack.length,labels:this.labels,labelCount:this.labels.length,strict:this.strict,yieldPos:this.yieldPos,awaitPos:this.awaitPos,awaitIdentPos:this.awaitIdentPos,potentialArrowAt:this.potentialArrowAt,potentialArrowInForAwait:this.potentialArrowInForAwait}}$17(s){this.pos=s.pos,this.type=s.type,this.value=s.value,this.start=s.start,this.end=s.end,this.startLoc=s.startLoc,this.endLoc=s.endLoc,this.lastTokStart=s.lastTokStart,this.lastTokEnd=s.lastTokEnd,this.lastTokStartLoc=s.lastTokStartLoc,this.lastTokEndLoc=s.lastTokEndLoc,this.curLine=s.curLine,this.lineStart=s.lineStart,this.context=s.context,this.exprAllowed=s.exprAllowed,this.containsEsc=s.containsEsc,this.inType=s.inType,this.$5=s.$5,this.$6=s.$6,this.$8=s.$8,this.scopeStack.length=s.scopes,this.privateNameStack.length=s.privateNames,this.labels=s.labels,this.labels.length=s.labelCount,this.strict=s.strict,this.yieldPos=s.yieldPos,this.awaitPos=s.awaitPos,this.awaitIdentPos=s.awaitIdentPos,this.potentialArrowAt=s.potentialArrowAt,this.potentialArrowInForAwait=s.potentialArrowInForAwait}raise(s,n){if(this.$r>0)throw nn;return super.raise(s,n)}$1z(s,n){try{super.raise(s,n)}catch(u){throw u.$t=!0,u}throw Error("unreachable")}$f(s,n=!1){let u=this.$16();this.$r++;try{let l=s();if(n||l===void 0)this.$17(u);return l}catch(l){if(!(l instanceof SyntaxError)||!n&&l.$t)throw l;this.$17(u);return}finally{this.$r--}}$u(s){return this.$f(s,!0)===!0}$18(s){if(s.end=this.lastTokEnd,this.options.locations)s.loc.end=this.lastTokEndLoc}$l(s,n){if(s.start=n.start,this.options.locations)s.loc.start=n.loc.start}$4(s=!1){let n=this.startNode();return n.typeAnnotation=this.$9(()=>(this.next(),s?this.$20():this.$0())),this.finishNode(n,"TSTypeAnnotation")}$g(s,n){if(n&&this.eat(i.question))s.optional=!0,this.$18(s);if(this.type===i.colon)s.typeAnnotation=this.$4(),this.$18(s);return s}$20(){if(this.type!==i.name&&this.type!==i._this)return this.$0();if(this.isContextual("asserts")&&this.$a()&&A(this.$2())){let s=this.startNode();if(this.next(),s.parameterName=this.type===i._this?this.$v():this.parseIdent(),this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.$w(s,!0);return s.asserts=!0,s.typeAnnotation=null,this.finishNode(s,"TSTypePredicate")}if(this.$3()==="is"&&this.$a()){let s=this.startNode();return s.parameterName=this.type===i._this?this.$v():this.parseIdent(!0),this.$w(s,!1)}return this.$0()}$w(s,n){this.next();let u=this.startNode();return u.typeAnnotation=this.$0(),s.typeAnnotation=this.finishNode(u,"TSTypeAnnotation"),s.asserts=n,this.finishNode(s,"TSTypePredicate")}$v(){let s=this.startNode();return this.next(),this.finishNode(s,"TSThisType")}$0(){let s=this.$19();if(this.$5||this.type!==i._extends||this.hasPrecedingLineBreak())return s;let n=this.startNodeAt(s.start,s.loc?.start);return this.next(),n.checkType=s,n.extendsType=this.$h(!0,()=>this.$19()),this.expect(i.question),n.trueType=this.$h(!1,()=>this.$0()),this.expect(i.colon),n.falseType=this.$h(!1,()=>this.$0()),this.finishNode(n,"TSConditionalType")}$h(s,n){let u=this.$5;this.$5=s;let l=n();return this.$5=u,l}$19(){if(this.$21())return this.$1a("TSFunctionType");if(this.type===i._new||this.isContextual("abstract")&&this.$3()==="new")return this.$1a("TSConstructorType");return this.$1b("TSUnionType",i.bitwiseOR,()=>this.$1b("TSIntersectionType",i.bitwiseAND,()=>this.$1c()))}$1a(s){let n=this.startNode();if(s==="TSConstructorType"){if(n.abstract=this.isContextual("abstract"),n.abstract)this.next();this.next()}return this.$h(!1,()=>this.$m(n,i.arrow)),this.finishNode(n,s)}$m(s,n){if(this.$1())s.typeParameters=this.$7();if(this.expect(i.parenL),s.parameters=this.parseBindingList(i.parenR,!1,!0),this.type===n)s.typeAnnotation=this.$4(!0);else if(n===i.arrow)this.unexpected()}$21(){if(this.$1())return!0;if(this.type!==i.parenL)return!1;return this.$u(()=>{if(this.next(),this.type===i.parenR||this.type===i.ellipsis)return!0;if(this.type===i.name||this.type===i._this)this.next();else if(this.type===i.braceL||this.type===i.bracketL)this.parseBindingAtom();else return!1;let s=this.type;if(s===i.colon||s===i.comma||s===i.question||s===i.eq)return!0;if(s!==i.parenR)return!1;return this.next(),this.type===i.arrow})}$1b(s,n,u){let l=this.startNode(),c=this.eat(n),h=[];do h.push(u());while(this.eat(n));if(h.length===1&&!c)return h[0];return l.types=h,this.finishNode(l,s)}$1c(){if(this.type===i.name&&!this.containsEsc){let s=this.value;if(s==="keyof"||s==="unique"||s==="readonly"){let n=this.startNode();return this.next(),n.operator=s,n.typeAnnotation=this.$1c(),this.finishNode(n,"TSTypeOperator")}if(s==="infer"){let n=this.startNode();this.next();let u=this.startNode();u.name=this.$x();let l=this.$f(()=>this.$22());if(l)u.constraint=l;return n.typeParameter=this.finishNode(u,"TSTypeParameter"),this.finishNode(n,"TSInferType")}}return this.$h(!1,()=>this.$23())}$22(){if(!this.eat(i._extends))return;let s=this.$h(!0,()=>this.$0());if(this.$5||this.type!==i.question)return s;return}$x(){if(this.type!==i.name&&!this.type.keyword)this.unexpected();let s=this.type===i.name?this.value:this.type.keyword;return this.next(),s}$23(){let s=this.$24();while(!this.hasPrecedingLineBreak()&&this.eat(i.bracketL)){let n=this.startNodeAt(s.start,s.loc?.start);if(this.eat(i.bracketR))n.elementType=s,s=this.finishNode(n,"TSArrayType");else n.objectType=s,n.indexType=this.$0(),this.expect(i.bracketR),s=this.finishNode(n,"TSIndexedAccessType")}return s}$24(){switch(this.type){case i.name:case i._void:case i._null:{let s=Fr.get(this.value);if(s&&(this.type!==i.name||!this.containsEsc&&this.$2()!==ds)){let n=this.startNode();return this.next(),this.finishNode(n,s)}return this.$1d()}case i.string:case i.num:case i._true:case i._false:{let s=this.startNode();return s.literal=this.parseExprAtom(),this.finishNode(s,"TSLiteralType")}case i.plusMin:{if(this.value!=="-")break;let s=this.startNode(),n=this.startNode();if(this.next(),this.type!==i.num)this.unexpected();return n.operator="-",n.prefix=!0,n.argument=this.parseExprAtom(),s.literal=this.finishNode(n,"UnaryExpression"),this.finishNode(s,"TSLiteralType")}case i.backQuote:return this.$25();case i._this:{let s=this.$v();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){let n=this.startNodeAt(s.start,s.loc?.start);return n.parameterName=s,this.$w(n,!1)}return s}case i._typeof:return this.$26();case i._import:return this.$1e();case i.braceL:return this.$27()?this.$28():this.$29();case i.bracketL:return this.$2a();case i.parenL:{let s=this.startNode();return this.next(),s.typeAnnotation=this.$0(),this.expect(i.parenR),this.finishNode(s,"TSParenthesizedType")}default:if(this.type.keyword)return this.$1d()}return this.unexpected()}$1d(){let s=this.startNode();if(s.typeName=this.$j(),!this.hasPrecedingLineBreak()&&this.$1())s.typeArguments=this.$e();return this.finishNode(s,"TSTypeReference")}$j(){let s=this.parseIdent(!0);while(this.eat(i.dot)){let n=this.startNodeAt(s.start,s.loc?.start);n.left=s,n.right=this.parseIdent(!0),s=this.finishNode(n,"TSQualifiedName")}return s}$26(){let s=this.startNode();if(this.next(),s.exprName=this.type===i._import?this.$1e():this.$j(),!this.hasPrecedingLineBreak()&&this.$1())s.typeArguments=this.$e();return this.finishNode(s,"TSTypeQuery")}$1e(){let s=this.startNode();if(this.next(),s.argument=this.$1f(),this.eat(i.dot))s.qualifier=this.$j();if(this.$1())s.typeArguments=this.$e();return this.finishNode(s,"TSImportType")}$y(){if(this.type!==i.string)this.unexpected();return this.parseExprAtom()}$1f(){this.expect(i.parenL);let s=this.$y();return this.expect(i.parenR),s}$25(){let s=this.startNode(),n=this.startNode();this.next(),n.expressions=[];let u=this.parseTemplateElement({isTagged:!1});n.quasis=[u];while(!u.tail){if(this.type===i.eof)this.raise(this.pos,"Unterminated template literal");this.expect(i.dollarBraceL),n.expressions.push(this.$0()),this.expect(i.braceR),u=this.parseTemplateElement({isTagged:!1}),n.quasis.push(u)}return this.next(),s.literal=this.finishNode(n,"TemplateLiteral"),this.finishNode(s,"TSLiteralType")}$27(){return this.$u(()=>{if(this.next(),this.type===i.plusMin)return this.next(),this.isContextual("readonly");if(this.isContextual("readonly"))this.next();if(this.type!==i.bracketL)return!1;if(this.next(),this.type!==i.name)return!1;return this.next(),this.type===i._in})}$28(){let s=this.startNode();if(this.expect(i.braceL),this.type===i.plusMin)s.readonly=this.value,this.next(),this.expectContextual("readonly");else if(this.eatContextual("readonly"))s.readonly=!0;this.expect(i.bracketL);let n=this.startNode();if(n.name=this.$x(),this.expect(i._in),n.constraint=this.$0(),s.typeParameter=this.finishNode(n,"TSTypeParameter"),s.nameType=this.eatContextual("as")?this.$0():null,this.expect(i.bracketR),this.type===i.plusMin)s.optional=this.value,this.next(),this.expect(i.question);else if(this.eat(i.question))s.optional=!0;if(this.eat(i.colon))s.typeAnnotation=this.$0();return this.semicolon(),this.expect(i.braceR),this.finishNode(s,"TSMappedType")}$29(){let s=this.startNode();return s.members=this.$1g(),this.finishNode(s,"TSTypeLiteral")}$1g(){this.expect(i.braceL);let s=[];while(!this.eat(i.braceR))s.push(this.$2b());return s}$2b(){let s=this.startNode(),n="TSPropertySignature",u=this.type===i._new?this.$2():-1;if(this.type===i.parenL||this.$1())n="TSCallSignatureDeclaration",this.$m(s,i.colon);else if(u===fs||u===bs)n="TSConstructSignatureDeclaration",this.next(),this.$m(s,i.colon);else{let l=this.type===i._new?this.parseIdent(!0):null;if(this.isContextual("readonly")&&this.$n(!0))this.next(),s.readonly=!0;if(this.type===i.bracketL&&this.$1h())return this.$1i(s);let c="method";if(l)s.key=l;else{if((this.isContextual("get")||this.isContextual("set"))&&this.$n(!1))c=this.value,this.next();this.parsePropertyName(s)}if(this.eat(i.question))s.optional=!0;if(this.type===i.parenL||this.$1()){if(n="TSMethodSignature",c!=="method")s.kind=c;this.$m(s,i.colon),s.kind=c}else if(this.type===i.colon)s.typeAnnotation=this.$4()}return this.$1j(),this.finishNode(s,n)}$1j(){if(!this.eat(i.comma))this.semicolon()}$1h(){return this.$u(()=>{if(this.next(),this.type!==i.name)return!1;return this.next(),this.type===i.colon})}$1i(s){if(this.expect(i.bracketL),s.parameters=[this.$g(this.parseIdent(),!1)],this.expect(i.bracketR),this.type===i.colon)s.typeAnnotation=this.$4();return this.$1j(),this.finishNode(s,"TSIndexSignature")}$2a(){let s=this.startNode();this.expect(i.bracketL),s.elementTypes=[];while(!this.eat(i.bracketR))if(s.elementTypes.push(this.$2c()),this.type!==i.bracketR)this.expect(i.comma);return this.finishNode(s,"TSTupleType")}$2c(){let s=this.start,n=this.startLoc,u=this.eat(i.ellipsis),l;if((this.type===i.name||this.type.keyword)&&this.$2d()){let c=this.startNode();c.label=this.parseIdent(!0),c.optional=this.eat(i.question),this.expect(i.colon),c.elementType=this.$0(),l=this.finishNode(c,"TSNamedTupleMember")}else if(l=this.$0(),this.eat(i.question)){let c=this.startNodeAt(l.start,l.loc?.start);c.typeAnnotation=l,l=this.finishNode(c,"TSOptionalType")}if(u){let c=this.startNodeAt(s,n);c.typeAnnotation=l,l=this.finishNode(c,"TSRestType")}return l}$2d(){let s=this.$d();if(this.input.charCodeAt(s)===63)s=this.$d(s+1);return this.input.charCodeAt(s)===ms}$7(){return this.$9(()=>{let s=this.startNode();this.next(),s.params=[];while(!this.$c()){let n=this.startNode();while((this.type===i._const||this.type===i._in||this.isContextual("out"))&&A(this.$2()))n[this.value]=!0,this.next();if(n.name=this.$x(),this.eat(i._extends))n.constraint=this.$0();if(this.eat(i.eq))n.default=this.$0();if(s.params.push(this.finishNode(n,"TSTypeParameter")),!this.$c()){if(this.expect(i.comma),this.$c())s.extra={trailingComma:this.lastTokStart}}}if(this.next(),s.params.length===0)this.$1z(this.start,"Type parameter list cannot be empty.");return this.finishNode(s,"TSTypeParameterDeclaration")})}$e(){return this.$9(()=>{let s=this.startNode();this.next(),s.params=[];while(!this.$c())if(s.params.push(this.$0()),!this.$c())this.expect(i.comma);if(s.params.length===0)this.unexpected();return this.next(),this.finishNode(s,"TSTypeParameterInstantiation")})}$1k(){let s=[];do{let n=this.startNode();if(n.expression=this.$j(),this.$1())n.typeParameters=this.$e();s.push(this.finishNode(n,"TSExpressionWithTypeArguments"))}while(this.eat(i.comma));return s}$1l(s=!1){if(this.type!==i.name||this.containsEsc){if(this.type===i._const&&this.$3()==="enum")return this.$z(this.startNode());return}if(!this.$2e(this.value))return;if(this.value==="declare")return this.$2f(s);return this.$1m(this.startNode(),this.value)}$2e(s){switch(s){case"interface":case"type":case"namespace":return this.$15();case"enum":return A(this.$2());case"abstract":return this.$a()&&this.$3()==="class";case"module":{let n=this.$2();return this.$a()&&(n===vt||n===yt||A(n))}case"declare":return this.$a()&&Ur.has(this.$3());case"global":return this.$a()&&this.$2()===Be}return!1}$1m(s,n){switch(n){case"interface":return this.$1n(s);case"type":return this.$2g(s);case"enum":return this.$z(s);case"abstract":return this.$1o(s,!0);case"global":return s.global=!0,s.id=this.parseIdent(),s.body=this.$10(),this.finishNode(s,"TSModuleDeclaration")}return this.$2h(s)}$2f(s){let n=this.$6;this.$6=!0;let u=this.startNode();this.next();let l=this.value;if(l==="const"&&this.$3()==="enum")u.const=!0;if(!s&&zr.has(l))u.declare=!0;let c;if(u.const)c=this.$z(u);else if(l==="var"||l==="let"||l==="const")c=this.parseVarStatement(u,l,!0);else if(l==="function")this.next(),c=this.parseFunction(u,ps,!1,!1);else if(l==="class")c=this.parseClass(u,!0);else c=this.$1m(u,l);return c.declare=!0,this.$6=n,c}$1o(s,n){return this.next(),s.abstract=!0,this.parseClass(s,n)}$1n(s){if(this.next(),s.id=this.parseIdent(),this.checkLValSimple(s.id,hs),this.$1())s.typeParameters=this.$7();return this.$9(()=>{if(this.eat(i._extends))s.extends=this.$1k();let n=this.startNode();n.body=this.$1g(),s.body=this.finishNode(n,"TSInterfaceBody")}),this.finishNode(s,"TSInterfaceDeclaration")}$2g(s){if(this.next(),s.id=this.parseIdent(),this.checkLValSimple(s.id,xt),this.$1())s.typeParameters=this.$7();return s.typeAnnotation=this.$9(()=>(this.expect(i.eq),this.$0())),this.semicolon(),this.finishNode(s,"TSTypeAliasDeclaration")}$z(s){if(this.type===i._const)s.const=!0,this.next();this.next(),s.id=this.parseIdent(),this.checkLValSimple(s.id,Zr),this.expect(i.braceL),s.members=[];while(!this.eat(i.braceR)){let n=this.startNode();if(n.id=this.type===i.string?this.parseExprAtom():this.parseIdent(!0),this.eat(i.eq))n.initializer=this.parseMaybeAssign();if(s.members.push(this.finishNode(n,"TSEnumMember")),this.type!==i.braceR)this.expect(i.comma)}return this.finishNode(s,"TSEnumDeclaration")}$2h(s){if(this.next(),this.type===i.string){if(s.id=this.parseExprAtom(),this.type===i.braceL)s.body=this.$10();else this.semicolon();return this.finishNode(s,"TSModuleDeclaration")}return s.id=this.parseIdent(),this.checkLValSimple(s.id,Yr),this.$1p(s)}$1p(s){if(this.eat(i.dot)){let n=this.startNode();n.id=this.parseIdent(),s.body=this.$1p(n)}else s.body=this.$10();return this.finishNode(s,"TSModuleDeclaration")}$10(){this.enterScope(Gr);let s=this.startNode();this.enterScope(0),this.expect(i.braceL),s.body=[];while(!this.eat(i.braceR))s.body.push(this.parseStatement(null,!0));return this.exitScope(),this.exitScope(),this.finishNode(s,"TSModuleBlock")}$1q(s,n){if(s.isExport=n,s.id=this.parseIdent(),this.checkLValSimple(s.id,be),this.expect(i.eq),this.isContextual("require")&&this.$2()===fs){let u=this.startNode();this.next(),u.expression=this.$1f(),s.moduleReference=this.finishNode(u,"TSExternalModuleReference")}else s.moduleReference=this.$j();return this.semicolon(),this.finishNode(s,"TSImportEqualsDeclaration")}$2i(){let s=this.$d();if(this.input.charCodeAt(s)!==De)return!1;let n=this.input.charCodeAt(s+1);return n!==De&&n!==62}parseStatement(s,n,u){if(this.type===r)this.$1r(!0);let l=this.$1l();if(l)return l;return super.parseStatement(s,n,u)}parseVarStatement(s,n,u){return super.parseVarStatement(s,n,u||this.$6)}parseVarId(s,n){if(super.parseVarId(s,n),s.id.type==="Identifier"&&this.$s()&&!this.hasPrecedingLineBreak())this.next(),s.definite=!0;this.$g(s.id,!1)}parseCatchClauseParam(){let s=this.$g(this.parseBindingAtom(),!1),n=s.type==="Identifier";return this.enterScope(n?Wr:0),this.checkLValPattern(s,n?Qr:be),this.expect(i.parenR),s}parseImport(s){if(this.next(),s.importKind="value",this.type===i.string)s.specifiers=[],s.source=this.parseExprAtom();else{if(this.isContextual("type")){let n=this.$2();if(n===Be||n===gt||A(n)&&this.$3()!=="from")s.importKind="type",this.next()}if(this.type===i.name&&this.$2i())return this.$1q(s,!1);s.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),s.source=this.$y()}return this.$1s(s),this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseWithClause(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak())this.type=i._with;return this.type===i._with?super.parseWithClause():void 0}$1s(s){let n=this.parseWithClause();if(n)s.attributes=n}parseImportSpecifier(){return this.$1t("importKind",()=>super.parseImportSpecifier())}parseExportSpecifier(s){return this.$1t("exportKind",()=>super.parseExportSpecifier(s))}$1t(s,n){let u=this.isContextual("type")?this.$2():-1;if(u===vt||u===yt||A(u)&&this.$3()!=="as"){let c=this.startNode();this.next();let h=n();return this.$l(h,c),h[s]="type",h}let l=n();return l[s]="value",l}parseExport(s,n){if(this.next(),this.eat(i._import)){if(s.importKind="value",this.isContextual("type")&&A(this.$2())&&this.$3()!=="from")s.importKind="type",this.next();return this.$1q(s,!0)}if(this.eat(i.eq))return s.expression=this.parseExpression(),this.semicolon(),this.finishNode(s,"TSExportAssignment");if(this.eatContextual("as"))return this.expectContextual("namespace"),s.id=this.parseIdent(),this.semicolon(),this.finishNode(s,"TSNamespaceExportDeclaration");if(s.exportKind="value",this.isContextual("type")){let c=this.$2();if(c===Be||c===gt)s.exportKind="type",this.next()}if(this.eat(i.star))return this.parseExportAllDeclaration(s,n);if(this.eat(i._default)){if(this.isContextual("interface")&&this.$15())s.declaration=this.$1n(this.startNode());else if(this.isContextual("abstract")&&this.$3()==="class")s.declaration=this.$1o(this.startNode(),"nullableID");else s.declaration=this.parseExportDefaultDeclaration();return this.finishNode(s,"ExportDefaultDeclaration")}let u=this.isContextual("declare"),l=this.$1l(!0);if(l||this.shouldParseExportStatement()){if(s.declaration=l??this.parseStatement(null),u||s.declaration.type==="TSInterfaceDeclaration"||s.declaration.type==="TSTypeAliasDeclaration")s.exportKind="type";return s.specifiers=[],s.source=null,this.finishNode(s,"ExportNamedDeclaration")}if(s.declaration=null,s.specifiers=this.parseExportSpecifiers(n),this.eatContextual("from"))s.source=this.$y(),this.$1s(s);else{for(let c of s.specifiers)if(this.checkUnreserved(c.local),this.checkLocalExport(c.local),c.local.type==="Literal")this.raise(c.local.start,"A string literal cannot be used as an exported binding without `from`.");s.source=null}return this.semicolon(),this.finishNode(s,"ExportNamedDeclaration")}parseFunction(s,n,u,l,c){let h=n&ps;if(h)this.$i=s;super.parseFunction(s,n,u,l,c),this.$i=null;let p=!s.body;if(p)s.type="TSDeclareFunction";if(h&&s.id){if(p){if(this.$6&&this.currentScope().flags&cs)this.declareName(s.id.name,kt,s.id.start);this.checkLValSimple(s.id,Hr)}else if(!(n&Jr))this.checkLValSimple(s.id,this.strict||s.generator||s.async?this.treatFunctionsAsVar?Kr:be:Xr)}return s}parseFunctionParams(s){if(this.$1())s.typeParameters=this.$7();if(super.parseFunctionParams(s),this.type===i.colon)s.returnType=this.$4(!0)}parseFunctionBody(s,n,u,l){if(u&&this.type===i.colon)s.returnType=this.$4(!0);if(n||this.type===i.braceL){super.parseFunctionBody(s,n,u,l);return}this.semicolon(),this.exitScope()}parseMethod(s,n,u){let l=this.$o;this.$o=null;let c=super.parseMethod(s,n,u);if(!c.body)c.type="TSDeclareMethod";if(l)c.typeParameters=l;return c}parseBindingList(s,n,u,l){let c=l||this.$p;return this.$p=!1,super.parseBindingList(s,n,u,c)}$n(s){if(!s&&!this.$a())return!1;let n=this.$2();return n===sn||n===Be||n===gt||n===ds||n===rn||n===vt||n===yt||n>=48&&n<=57||A(n)}parseAssignableListItem(s){let n=this.$11(),u=this.start,l=this.startLoc,c,h=!1,p=!1;if(s)while(this.type===i.name&&Mr.has(this.value)&&!this.containsEsc&&this.$n(!1)){if(this.value==="readonly")h=!0;else if(this.value==="override")p=!0;else c=this.value;this.next()}let f;if(this.type===i._this)f=this.startNode(),f.name="this",this.next(),this.finishNode(f,"Identifier");else f=this.parseBindingAtom();let x=this.type===i.eq?this.parseMaybeDefault(u,l,f):this.parseMaybeDefault(f.start,f.loc?.start,this.$g(f,!0));if(n.length>0)x.decorators=n;if(!c&&!h&&!p)return x;let v=this.startNodeAt(u,l);if(c)v.accessibility=c;if(h)v.readonly=!0;if(p)v.override=!0;return v.parameter=x,this.finishNode(v,"TSParameterProperty")}parseBindingListItem(s){if(s.type==="RestElement")this.$g(s,!0);return s}checkLValSimple(s,n,u){if(this.$i&&s===this.$i.id){this.$i=null;return}if(!n&&ls.has(s.type))return this.checkLValSimple(s.expression,n,u);switch(s.type){case"TSParameterProperty":return this.checkLValInnerPattern(s.parameter,n,u);case"Identifier":if(s.name==="this")return}return super.checkLValSimple(s,n,u)}toAssignable(s,n,u){if(s&&!n&&ls.has(s.type))return s;return super.toAssignable(s,n,u)}declareName(s,n,u){let l=this.currentScope();if(n&kt){this.$1u(l,s),l.$1v??=[],l.$1v.push(s);return}if(n===xt||n===hs){if(l.$12??=[],n===xt&&l.$12.includes(s))this.raise(u,`type '${s}' has already been declared.`);l.$12.push(s),this.$1u(l,s);return}if(n&xs){if(l.$1w??=[],l.$1w.includes(s))return;super.declareName(s,be,u),l.$1w.push(s);return}super.declareName(s,n,u)}$1u(s,n){if(this.inModule&&s.flags&cs)delete this.undefinedExports[n]}checkLocalExport(s){for(let n=this.scopeStack.length-1;n>=0;n--){let u=this.scopeStack[n];if(u.$12?.includes(s.name)||u.$1v?.includes(s.name))return}super.checkLocalExport(s)}checkExport(){}raiseRecoverable(s,n){if(n==="Duplicate constructor in the same class")return;super.raiseRecoverable(s,n)}$11(){let s=[];while(this.type===r)s.push(this.$1x());return s}$1r(s){let n=this.$b[this.$b.length-1];while(this.type===r)n.push(this.$1x());if(this.type===i._export){if(!s)this.unexpected()}else if(this.type!==i._class&&!((this.isContextual("abstract")||this.isContextual("declare"))&&this.$3()==="class"))this.raise(this.start,"Leading decorators must be attached to a class declaration.")}$1x(){let s=this.startNode();this.next(),this.$b.push([]);let n=this.start,u=this.startLoc,l;if(this.type===i.parenL){if(this.next(),l=this.parseExpression(),this.expect(i.parenR),this.options.preserveParens){let h=this.startNodeAt(n,u);h.expression=l,l=this.finishNode(h,"ParenthesizedExpression")}}else{l=this.parseIdent(!1);while(this.eat(i.dot)){let h=this.startNodeAt(n,u);h.object=l,h.property=this.parseIdent(!0),h.computed=!1,l=this.finishNode(h,"MemberExpression")}}let c=this.$k()?this.$e():void 0;if(this.eat(i.parenL)){let h=this.startNodeAt(l.start,l.loc?.start);if(h.callee=l,h.arguments=this.parseExprList(i.parenR,!1,!1),c)h.typeArguments=c;l=this.finishNode(h,"CallExpression")}else if(c){let h=this.startNodeAt(l.start,l.loc?.start);h.expression=l,h.typeArguments=c,l=this.finishNode(h,"TSInstantiationExpression")}return s.expression=l,this.$b.pop(),this.finishNode(s,"Decorator")}shouldParseExportStatement(){return this.type===r||super.shouldParseExportStatement()}parseExprAtom(s,n,u){if(this.type===r)this.$1r(!1);return super.parseExprAtom(s,n,u)}parseProperty(s,n){if(s||this.type!==r)return super.parseProperty(s,n);let u=this.$11(),l=super.parseProperty(s,n);if(l.type==="SpreadElement")this.raise(l.start,"Decorators can't be used with SpreadElement");return l.decorators=u,l}parseClassId(s,n){let u=this.$b.length-1,l=this.$b[u];if(l.length>0)s.decorators=l,this.$l(s,l[0]),this.$b[u]=[];if(!this.isContextual("implements")||n===!0)super.parseClassId(s,n);if(this.$1())s.typeParameters=this.$7()}parseClassSuper(s){if(super.parseClassSuper(s),s.superClass&&this.$1())s.superTypeParameters=this.$e();if(this.eatContextual("implements"))s.implements=this.$9(()=>this.$1k())}parseClassElement(s){if(this.type===r){let p=this.$11();if(this.type===i.braceR)this.raise(this.start,"Decorators must be attached to a class element.");let f=this.parseClassElement(s);return f.decorators=p,this.$l(f,p[0]),f}if(this.eat(i.semi))return null;let n=this.startNode();while(this.type===i.name&&jr.has(this.value)&&!this.containsEsc&&this.$n(this.value==="static")){let p=this.value;if(this.next(),p==="static"&&this.type===i.braceL)return this.next(),this.parseClassStaticBlock(n),n;if(p==="public"||p==="private"||p==="protected")n.accessibility=p;else n[p]=!0}if(this.type===i.bracketL&&this.$1h())return this.$1i(n);n.static??=!1;let u="",l=!1,c=!1,h="method";if(this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===i.star)&&!this.canInsertSemicolon())c=!0;else u="async";if(!u&&this.eat(i.star))l=!0;if(!u&&!c&&!l){let p=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())h=p;else u=p}if(u)n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=u,this.finishNode(n.key,"Identifier");else this.parseClassElementName(n);if(this.eat(i.question))n.optional=!0;if(this.type===i.parenL||this.$1()||h!=="method"||l||c){let p=n.key,f=!n.static&&!n.computed&&(p.type==="Identifier"&&p.name==="constructor"||p.type==="Literal"&&p.value==="constructor");if(n.kind=f?"constructor":h,this.$1())n.typeParameters=this.$7();this.$p=f,this.parseClassMethod(n,l,c,f&&s)}else{if(!n.optional&&this.$s())this.next(),n.definite=!0;if(this.type===i.colon)n.typeAnnotation=this.$4();this.parseClassField(n)}return n}parseMaybeAssign(s,n,u){if(this.$k()){let l=this.$f(()=>{let c=this.$7(),h=super.parseMaybeAssign(s,n,u);if(h.type!=="ArrowFunctionExpression")return;return h.typeParameters=c,this.$l(h,c),h});if(l)return l}return super.parseMaybeAssign(s,n,u)}parseMaybeUnary(s,n,u,l){if(this.$k()){let c=this.startNode();return c.typeAnnotation=this.$9(()=>{this.next();let h=this.$0();if(!this.$c())this.unexpected();return this.next(),h}),c.expression=this.parseMaybeUnary(null,!1,!1,l),this.finishNode(c,"TSTypeAssertion")}return super.parseMaybeUnary(s,n,u,l)}parseMaybeConditional(s,n){let u=this.start,l=this.startLoc,c=this.parseExprOps(s,n);if(this.checkExpressionErrors(n))return c;if(this.type===i.question&&!(c.type==="ArrowFunctionExpression"&&c.start===u)&&!this.$2j()){this.next();let h=this.startNodeAt(u,l);return h.test=c,h.consequent=this.parseMaybeAssign(),this.expect(i.colon),h.alternate=this.parseMaybeAssign(s),this.finishNode(h,"ConditionalExpression")}return c}$2j(){let s=this.$d(),n=this.input.charCodeAt(s);if(n===ms||n===tn||n===en)return!0;return n===De&&this.input.charCodeAt(s+1)!==De}parseParenItem(s){return this.$g(s,!0)}$1y(){if(this.type!==i.colon)return!0;let s=this.$f(()=>{let n=this.$4(!0);return this.type===i.arrow&&!this.canInsertSemicolon()?n:void 0});if(!s)return!1;return this.$8=s,!0}shouldParseArrow(s){return this.$1y()&&super.shouldParseArrow(s)}shouldParseAsyncArrow(){return this.$1y()&&super.shouldParseAsyncArrow()}parseArrowExpression(s,n,u,l){if(this.$8)s.returnType=this.$8,this.$8=null;return super.parseArrowExpression(s,n,u,l)}parseExprList(s,n,u,l){if(!this.$q)return super.parseExprList(s,n,u,l);this.$q=!1;let c=[],h=!0;while(!this.eat(s)){if(h)h=!1;else if(this.expect(i.comma),n&&this.afterTrailingComma(s))break;if(this.type===i.ellipsis){let p=this.parseSpread(l);if(this.eat(i.question))p.optional=!0;if(this.type===i.colon)p.typeAnnotation=this.$4();c.push(p)}else c.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}return c}parseSubscript(s,n,u,l,c,h,p){if(this.$s()&&!this.hasPrecedingLineBreak()){let x=this.startNodeAt(n,u);return this.exprAllowed=!1,this.next(),x.expression=s,this.finishNode(x,"TSNonNullExpression")}if(c&&this.$1()){let x=this.$f(()=>this.$2k(n,u,p));if(x)return x}let f=this.type===i.questionDot&&this.$2()===bs;if(this.$1()||f||this.type===i.bitShift&&this.value==="<<"){let x=this.$f(()=>{if(f)this.next();this.$k();let v=this.$e();if(this.type===i.parenL&&!l)return v;if(this.type===i.backQuote)return f?void 0:v;if(f)return;if(this.$c()||this.type===i.bitShift||this.type.startsExpr&&this.type!==i.parenL&&!this.hasPrecedingLineBreak())return;return v});if(x){let v=this.startNodeAt(n,u);if(this.type===i.parenL&&!l){if(this.next(),v.callee=s,v.arguments=this.parseExprList(i.parenR,!0,!1),v.typeArguments=x,f)s.optional=!0;if(f||h)v.optional=f;return this.finishNode(v,"CallExpression")}if(this.type===i.backQuote)return v.tag=s,v.quasi=this.parseTemplate({isTagged:!0}),v.typeArguments=x,this.finishNode(v,"TaggedTemplateExpression");return v.expression=s,v.typeArguments=x,this.finishNode(v,"TSInstantiationExpression")}}if(c&&this.type===i.parenL)this.$q=!0;return super.parseSubscript(s,n,u,l,c,h,p)}$2k(s,n,u){let l=this.startNodeAt(s,n);if(l.typeParameters=this.$7(),this.expect(i.parenL),l.params=this.parseBindingList(i.parenR,!1,!0),this.type===i.colon)l.returnType=this.$4(!0);if(this.type!==i.arrow||this.canInsertSemicolon())return;return this.next(),this.parseArrowExpression(l,l.params,!0,u)}parseDynamicImport(s){if(this.next(),s.source=this.parseMaybeAssign(),this.eat(i.comma)&&this.type!==i.parenR)s.arguments=[this.parseExpression()];return this.expect(i.parenR),this.finishNode(s,"ImportExpression")}parseNew(){let s=super.parseNew();if(s.callee?.type!=="TSInstantiationExpression")return s;let n=this.startNodeAt(s.start,s.loc?.start);return n.callee=s.callee.expression,n.typeArguments=s.callee.typeArguments,n.arguments=s.arguments,this.finishNodeAt(n,"NewExpression",s.end,s.loc?.end)}parseExprOp(s,n,u,l,c){if(i._in.binop>l&&this.type===i.name&&(this.value==="as"||this.value==="satisfies")&&!this.containsEsc&&!this.hasPrecedingLineBreak()){let h=this.value==="satisfies",p=this.startNodeAt(n,u);return p.expression=s,p.typeAnnotation=this.$9(()=>{if(this.next(),!h&&this.type===i._const){let f=this.startNode();return f.typeName=this.parseIdent(!0),this.finishNode(f,"TSTypeReference")}return this.$0()}),this.finishNode(p,h?"TSSatisfiesExpression":"TSAsExpression"),this.parseExprOp(p,n,u,l,c)}return super.parseExprOp(s,n,u,l,c)}parseGetterSetter(s){s.kind=s.key.name,super.parseGetterSetter(s)}parsePropertyValue(s,n,u,l,c,h,p,f){if(!n&&this.$1()){if(this.$o=this.$7(),this.type!==i.parenL)this.unexpected();s.kind="init"}return super.parsePropertyValue(s,n,u,l,c,h,p,f)}}return a}var wt=!1,an=new Map("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 const class extends export import super".split(" ").map((e)=>[e,Q[e]])),vs=new Map;function Ve(e){let t=vs.get(e);if(!t){let i=new Set(e.source.slice(4,-2).split("|"));t={test:(r)=>i.has(r)},vs.set(e,t)}return t}var ks=(e)=>class extends e{constructor(...t){super(...t);this.keywords=Ve(this.keywords),this.reservedWords=Ve(this.reservedWords),this.reservedWordsStrict=Ve(this.reservedWordsStrict),this.reservedWordsStrictBind=Ve(this.reservedWordsStrictBind)}parseParenAndDistinguishExpression(t,i){let r=super.parseParenAndDistinguishExpression(t,i);if(r.type==="ParenthesizedExpression")wt=!0;return r}checkLocalExport(){}skipSpace(){let t=this.input,i=this.options.locations,r=this.pos,a=t.charCodeAt(r);for(;;)if(a===32||a===9)a=t.charCodeAt(++r);else if(a===10){if(a=t.charCodeAt(++r),i)this.curLine++,this.lineStart=r}else break;if(this.pos=r,a===47||a<33||a>=128)super.skipSpace()}readWord1(){let t=this.input,i=this.pos,r=i,a=t.charCodeAt(r);while(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36)a=t.charCodeAt(++r);if(a>=128||a===92)return super.readWord1();return this.containsEsc=!1,this.pos=r,t.slice(i,r)}readWord(){let t=this.readWord1();return this.finishToken(an.get(t)??o.name,t)}},on=S.extend(ks),un=S.extend(gs,ks),ln=/ \(\d+:\d+\)$/;function St(e,t,i,r,a,s=e.root.comments.length){let n=e.root.comments;as(t,n);let u={onComment:os,sourceType:"module",ecmaVersion:16,locations:e.loc,preserveParens:r};if(e.lfOnly)u.startLocation=j(i);let l;try{l=a(e.isTypeScript?un:on,u)}catch(c){let h=c.pos;if(h===void 0)throw c;ci(h,c.message.replace(ln,""))}if(n.length>s)us(l,n,i);return l}function Fe(e,t,i=0){return St(e,t,0,!1,(r,a)=>{if(i>0&&a.locations)a.startLocation=j(i);let s=new r(a,t,i).parse();return s.start=0,s},0)}var cn={count:0};function H(e,t,i,r=!1){cn.count+=1,wt=!1;let a=St(e,t,i,!0,(u,l)=>u.parseExpressionAt(t,i,l)),s=e.root.comments.at(-1),n=s&&s.end>a.end?s.end:a.end;return{node:wt&&!r?Ss(a):a,end:n}}function ws(e,t,i){return St(e,t,i,!1,(r,a)=>{let s=new r(a,t,i);try{return s.nextToken(),s.parseStatement(null,!0,Object.create(null))}catch(n){if(n.pos===t.length)N(t.length);throw n}})}function ys(e){return e!==null&&typeof e==="object"&&typeof e.type==="string"}function At(e,t){for(let i in e){let r=e[i];if(Array.isArray(r)){for(let a=0;a<r.length;a++)if(ys(r[a]))r[a]=t(r[a])}else if(ys(r))e[i]=t(r)}}function Ss(e){let t=e;while(t.type==="ParenthesizedExpression")t=t.expression;return At(t,Ss),t}var Et=new Set(["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"]),_t=/<!--[\s\S]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/y,hn=/\r(?!\n)|[\u2028\u2029]/;function z(e){if(e===32||e<=13&&e>=9)return!0;if(e<160)return!1;return e===160||e===5760||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}function ae(e,t){let i=t;while(i<e.length&&z(e.charCodeAt(i)))i++;return i}function je(e,t){let i=e.codePointAt(t);if(i===void 0||!A(i,!0))return t;let r=t+(i<=65535?1:2);while(r<e.length){let a=e.codePointAt(r);if(!F(a,!0))break;r+=a<=65535?1:2}return r}function pn(e){let t=e.indexOf("<");while(t!==-1){let i=e.charCodeAt(t+1);if(i===33||i===115){_t.lastIndex=t;let r=_t.exec(e);if(r){if(i===115)return r[2]==="ts";t=e.indexOf("<",_t.lastIndex);continue}}t=e.indexOf("<",t+1)}return!1}class Tt{source;index=0;loc;lfOnly;isTypeScript;css;root;stack;fragments;metaTags=new Set;lastAutoClosedTag;nextAngle=-1;nextBrace=-1;constructor(e,t,i={}){this.source=e,this.loc=i.loc??!1,this.lfOnly=this.loc&&!hn.test(e),this.isTypeScript=pn(e),this.css=i.css??!0,this.root={type:"Root",start:0,end:t,css:null,js:[],options:null,fragment:{type:"Fragment",nodes:[]},comments:[]},this.stack=[this.root],this.fragments=[this.root.fragment]}match(e){if(e.length===1)return this.source.charCodeAt(this.index)===e.charCodeAt(0);return this.source.startsWith(e,this.index)}matchRegex(e){return e.lastIndex=this.index,e.exec(this.source)?.[0]??null}eat(e,t=!1){if(this.match(e))return this.index+=e.length,!0;if(t)B(this.index,e);return!1}read(e){let t=this.matchRegex(e);if(t)this.index+=t.length;return t}readUntil(e){if(this.index>=this.source.length)N(this.source.length);let t=this.source.indexOf(e,this.index),i=t===-1?this.source.length:t,r=this.source.slice(this.index,i);return this.index=i,r}allowWhitespace(){this.index=ae(this.source,this.index)}requireWhitespace(){if(!z(this.source.charCodeAt(this.index)))li(this.index);this.allowWhitespace()}eatClosingBrace(){this.allowWhitespace(),this.eat("}",!0)}sourceLocation(e,t){return this.loc?{start:j(e),end:j(t)}:void 0}readIdentifierName(){let e=this.index,t=je(this.source,e),i=this.source.slice(e,t);if(this.index=t,Et.has(i))qi(e,i);let r={type:"Identifier",name:i,start:e,end:t};if(this.loc)r.loc=this.sourceLocation(e,t);return r}current(){return this.stack[this.stack.length-1]}append(e){this.fragments[this.fragments.length-1].nodes.push(e)}open(e,t){this.append(e),this.stack.push(e),this.fragments.push(t)}setFragment(e){this.fragments[this.fragments.length-1]=e}close(){this.stack.pop(),this.fragments.pop()}}var fn=["===","!==","==","!=","&&","||","??"];function Ct(e,t,i,r){return{type:"Literal",start:t,end:i,value:r,raw:e.slice(t,i)}}function As(e,t){let i=e.charCodeAt(t);if(i===34||i===39){for(let a=t+1;a<e.length;a++){let s=e.charCodeAt(a);if(s===i)return Ct(e,t,a+1,e.slice(t+1,a));if(s===92||s===10||s===13)return null}return null}let r=t;for(;r<e.length;r++){let a=e.charCodeAt(r);if(a<48||a>57)break}if(r===t||i===48&&r-t>1)return null;return Ct(e,t,r,Number(e.slice(t,r)))}function dn(e,t){let i=je(e,t);if(i===t)return As(e,t);let r=e.slice(t,i);if(r==="true"||r==="false"||r==="null")return Ct(e,t,i,r==="null"?null:r==="true");if(Et.has(r))return null;let a={type:"Identifier",start:t,end:i,name:r};for(let s=i;;){let n=e.charCodeAt(s),u,l;if(n===46){if(l=je(e,s+1),l===s+1)return null;u={type:"Identifier",start:s+1,end:l,name:e.slice(s+1,l)}}else if(n===91){if(u=As(e,s+1),!u||e.charCodeAt(u.end)!==93)return null;l=u.end+1}else return a;a={type:"MemberExpression",start:t,end:l,object:a,property:u,computed:n===91,optional:!1},s=l}}function Nt(e,t){if(e.charCodeAt(t)!==33||e.charCodeAt(t+1)===61)return dn(e,t);let i=Nt(e,ae(e,t+1));if(!i)return null;return{type:"UnaryExpression",start:t,end:i.end,operator:"!",prefix:!0,argument:i}}function _s(e,t){let i=ae(e,t);if(i>=e.length)return!1;let r=e.charCodeAt(i);return r===125||r===41}function mn(e,t){let i=Nt(e,t);if(!i||_s(e,i.end))return i;let r=ae(e,i.end),a=fn.find((n)=>e.startsWith(n,r));if(!a)return null;let s=Nt(e,ae(e,r+a.length));if(!s||!_s(e,s.end))return null;return{type:a==="&&"||a==="||"||a==="??"?"LogicalExpression":"BinaryExpression",start:i.start,end:s.end,left:i,operator:a,right:s}}function Es(e){e.loc={start:ie(e.start),end:ie(e.end)};for(let t of["object","property","argument","left","right"]){let i=e[t];if(i)Es(i)}}function C(e){let t=!e.loc||e.lfOnly?mn(e.source,e.index):null;if(t){if(e.index=t.end,e.loc)Es(t);return t}let{node:i,end:r}=H(e,e.source,e.index);return e.index=r,i}var Ts="AElig:5i AElig;:5i AMP:12 AMP;:12 Aacute:5d Aacute;:5d Abreve;:76 Acirc:5e Acirc;:5e Acy;:sw Afr;:2kn8 Agrave:5c Agrave;:5c Alpha;:pd Amacr;:74 And;:8cz Aogon;:78 Aopf;:2koo ApplyFunction;:6e9 Aring:5h Aring;:5h Ascr;:2kkc Assign;:6s4 Atilde:5f Atilde;:5f Auml:5g Auml;:5g Backslash;:6qe Barv;:8h3 Barwed;:6x2 Bcy;:sx Because;:6r9 Bernoullis;:6jw Beta;:pe Bfr;:2kn9 Bopf;:2kop Breve;:k8 Bscr;:6jw Bumpeq;:6ry CHcy;:tj COPY:4p COPY;:4p Cacute;:7a Cap;:6vm CapitalDifferentialD;:6kl Cayleys;:6jx Ccaron;:7g Ccedil:5j Ccedil;:5j Ccirc;:7c Cconint;:6r4 Cdot;:7e Cedilla;:54 CenterDot;:53 Cfr;:6jx Chi;:pz CircleDot;:6u1 CircleMinus;:6ty CirclePlus;:6tx CircleTimes;:6tz ClockwiseContourIntegral;:6r6 CloseCurlyDoubleQuote;:6cd CloseCurlyQuote;:6c9 Colon;:6rb Colone;:8dw Congruent;:6sh Conint;:6r3 ContourIntegral;:6r2 Copf;:6iq Coproduct;:6q8 CounterClockwiseContourIntegral;:6r7 Cross;:8bz Cscr;:2kke Cup;:6vn CupCap;:6rx DD;:6kl DDotrahd;:841 DJcy;:si DScy;:sl DZcy;:sv Dagger;:6ch Darr;:6n5 Dashv;:8h0 Dcaron;:7i Dcy;:t0 Del;:6pz Delta;:pg Dfr;:2knb DiacriticalAcute;:50 DiacriticalDot;:k9 DiacriticalDoubleAcute;:kd DiacriticalGrave;:2o DiacriticalTilde;:kc Diamond;:6v8 DifferentialD;:6km Dopf;:2kor Dot;:4o DotDot;:6ho DotEqual;:6s0 DoubleContourIntegral;:6r3 DoubleDot;:4o DoubleDownArrow;:6oj DoubleLeftArrow;:6og DoubleLeftRightArrow;:6ok DoubleLeftTee;:8h0 DoubleLongLeftArrow;:7w8 DoubleLongLeftRightArrow;:7wa DoubleLongRightArrow;:7w9 DoubleRightArrow;:6oi DoubleRightTee;:6ug DoubleUpArrow;:6oh DoubleUpDownArrow;:6ol DoubleVerticalBar;:6qt DownArrow;:6mr DownArrowBar;:843 DownArrowUpArrow;:6ph DownBreve;:lt DownLeftRightVector;:85s DownLeftTeeVector;:866 DownLeftVector;:6nx DownLeftVectorBar;:85y DownRightTeeVector;:867 DownRightVector;:6o1 DownRightVectorBar;:85z DownTee;:6uc DownTeeArrow;:6nb Downarrow;:6oj Dscr;:2kkf Dstrok;:7k ENG;:96 ETH:5s ETH;:5s Eacute:5l Eacute;:5l Ecaron;:7u Ecirc:5m Ecirc;:5m Ecy;:tp Edot;:7q Efr;:2knc Egrave:5k Egrave;:5k Element;:6q0 Emacr;:7m EmptySmallSquare;:7i3 EmptyVerySmallSquare;:7fv Eogon;:7s Eopf;:2kos Epsilon;:ph Equal;:8dx EqualTilde;:6rm Equilibrium;:6oc Escr;:6k0 Esim;:8dv Eta;:pj Euml:5n Euml;:5n Exists;:6pv ExponentialE;:6kn Fcy;:tg Ffr;:2knd FilledSmallSquare;:7i4 FilledVerySmallSquare;:7fu Fopf;:2kot ForAll;:6ps Fouriertrf;:6k1 Fscr;:6k1 GJcy;:sj GT:1q GT;:1q Gamma;:pf Gammad;:rg Gbreve;:7y Gcedil;:82 Gcirc;:7w Gcy;:sz Gdot;:80 Gfr;:2kne Gg;:6vt Gopf;:2kou GreaterEqual;:6sl GreaterEqualLess;:6vv GreaterFullEqual;:6sn GreaterGreater;:8f6 GreaterLess;:6t3 GreaterSlantEqual;:8e6 GreaterTilde;:6sz Gscr;:2kki Gt;:6sr HARDcy;:tm Hacek;:jr Hat;:2m Hcirc;:84 Hfr;:6j0 HilbertSpace;:6iz Hopf;:6j1 HorizontalLine;:7b4 Hscr;:6iz Hstrok;:86 HumpDownHump;:6ry HumpEqual;:6rz IEcy;:t1 IJlig;:8i IOcy;:sh Iacute:5p Iacute;:5p Icirc:5q Icirc;:5q Icy;:t4 Idot;:8g Ifr;:6j5 Igrave:5o Igrave;:5o Im;:6j5 Imacr;:8a ImaginaryI;:6ko Implies;:6oi Int;:6r0 Integral;:6qz Intersection;:6v6 InvisibleComma;:6eb InvisibleTimes;:6ea Iogon;:8e Iopf;:2kow Iota;:pl Iscr;:6j4 Itilde;:88 Iukcy;:sm Iuml:5r Iuml;:5r Jcirc;:8k Jcy;:t5 Jfr;:2knh Jopf;:2kox Jscr;:2kkl Jsercy;:so Jukcy;:sk KHcy;:th KJcy;:ss Kappa;:pm Kcedil;:8m Kcy;:t6 Kfr;:2kni Kopf;:2koy Kscr;:2kkm LJcy;:sp LT:1o LT;:1o Lacute;:8p Lambda;:pn Lang;:7vu Laplacetrf;:6j6 Larr;:6n2 Lcaron;:8t Lcedil;:8r Lcy;:t7 LeftAngleBracket;:7vs LeftArrow;:6mo LeftArrowBar;:6p0 LeftArrowRightArrow;:6o6 LeftCeiling;:6x4 LeftDoubleBracket;:7vq LeftDownTeeVector;:869 LeftDownVector;:6o3 LeftDownVectorBar;:861 LeftFloor;:6x6 LeftRightArrow;:6ms LeftRightVector;:85q LeftTee;:6ub LeftTeeArrow;:6n8 LeftTeeVector;:862 LeftTriangle;:6uq LeftTriangleBar;:89b LeftTriangleEqual;:6us LeftUpDownVector;:85t LeftUpTeeVector;:868 LeftUpVector;:6nz LeftUpVectorBar;:860 LeftVector;:6nw LeftVectorBar;:85u Leftarrow;:6og Leftrightarrow;:6ok LessEqualGreater;:6vu LessFullEqual;:6sm LessGreater;:6t2 LessLess;:8f5 LessSlantEqual;:8e5 LessTilde;:6sy Lfr;:2knj Ll;:6vs Lleftarrow;:6oq Lmidot;:8v LongLeftArrow;:7w5 LongLeftRightArrow;:7w7 LongRightArrow;:7w6 Longleftarrow;:7w8 Longleftrightarrow;:7wa Longrightarrow;:7w9 Lopf;:2koz LowerLeftArrow;:6mx LowerRightArrow;:6mw Lscr;:6j6 Lsh;:6nk Lstrok;:8x Lt;:6sq Map;:83p Mcy;:t8 MediumSpace;:6e7 Mellintrf;:6k3 Mfr;:2knk MinusPlus;:6qb Mopf;:2kp0 Mscr;:6k3 Mu;:po NJcy;:sq Nacute;:8z Ncaron;:93 Ncedil;:91 Ncy;:t9 NegativeMediumSpace;:6bv NegativeThickSpace;:6bv NegativeThinSpace;:6bv NegativeVeryThinSpace;:6bv NestedGreaterGreater;:6sr NestedLessLess;:6sq NewLine;:a Nfr;:2knl NoBreak;:6e8 NonBreakingSpace;:4g Nopf;:6j9 Not;:8h8 NotCongruent;:6si NotCupCap;:6st NotDoubleVerticalBar;:6qu NotElement;:6q1 NotEqual;:6sg NotEqualTilde;:6rm NotExists;:6pw NotGreater;:6sv NotGreaterEqual;:6sx NotGreaterFullEqual;:6sn NotGreaterGreater;:6sr NotGreaterLess;:6t5 NotGreaterSlantEqual;:8e6 NotGreaterTilde;:6t1 NotHumpDownHump;:6ry NotHumpEqual;:6rz NotLeftTriangle;:6wa NotLeftTriangleBar;:89b NotLeftTriangleEqual;:6wc NotLess;:6su NotLessEqual;:6sw NotLessGreater;:6t4 NotLessLess;:6sq NotLessSlantEqual;:8e5 NotLessTilde;:6t0 NotNestedGreaterGreater;:8f6 NotNestedLessLess;:8f5 NotPrecedes;:6tc NotPrecedesEqual;:8fj NotPrecedesSlantEqual;:6w0 NotReverseElement;:6q4 NotRightTriangle;:6wb NotRightTriangleBar;:89c NotRightTriangleEqual;:6wd NotSquareSubset;:6tr NotSquareSubsetEqual;:6w2 NotSquareSuperset;:6ts NotSquareSupersetEqual;:6w3 NotSubset;:6te NotSubsetEqual;:6tk NotSucceeds;:6td NotSucceedsEqual;:8fk NotSucceedsSlantEqual;:6w1 NotSucceedsTilde;:6tb NotSuperset;:6tf NotSupersetEqual;:6tl NotTilde;:6rl NotTildeEqual;:6ro NotTildeFullEqual;:6rr NotTildeTilde;:6rt NotVerticalBar;:6qs Nscr;:2kkp Ntilde:5t Ntilde;:5t Nu;:pp OElig;:9e Oacute:5v Oacute;:5v Ocirc:5w Ocirc;:5w Ocy;:ta Odblac;:9c Ofr;:2knm Ograve:5u Ograve;:5u Omacr;:98 Omega;:q1 Omicron;:pr Oopf;:2kp2 OpenCurlyDoubleQuote;:6cc OpenCurlyQuote;:6c8 Or;:8d0 Oscr;:2kkq Oslash:60 Oslash;:60 Otilde:5x Otilde;:5x Otimes;:8c7 Ouml:5y Ouml;:5y OverBar;:6da OverBrace;:732 OverBracket;:71w OverParenthesis;:730 PartialD;:6pu Pcy;:tb Pfr;:2knn Phi;:py Pi;:ps PlusMinus;:4x Poincareplane;:6j0 Popf;:6jd Pr;:8fv Precedes;:6t6 PrecedesEqual;:8fj PrecedesSlantEqual;:6t8 PrecedesTilde;:6ta Prime;:6cz Product;:6q7 Proportion;:6rb Proportional;:6ql Pscr;:2kkr Psi;:q0 QUOT:y QUOT;:y Qfr;:2kno Qopf;:6je Qscr;:2kks RBarr;:840 REG:4u REG;:4u Racute;:9g Rang;:7vv Rarr;:6n4 Rarrtl;:846 Rcaron;:9k Rcedil;:9i Rcy;:tc Re;:6jg ReverseElement;:6q3 ReverseEquilibrium;:6ob ReverseUpEquilibrium;:86n Rfr;:6jg Rho;:pt RightAngleBracket;:7vt RightArrow;:6mq RightArrowBar;:6p1 RightArrowLeftArrow;:6o4 RightCeiling;:6x5 RightDoubleBracket;:7vr RightDownTeeVector;:865 RightDownVector;:6o2 RightDownVectorBar;:85x RightFloor;:6x7 RightTee;:6ua RightTeeArrow;:6na RightTeeVector;:863 RightTriangle;:6ur RightTriangleBar;:89c RightTriangleEqual;:6ut RightUpDownVector;:85r RightUpTeeVector;:864 RightUpVector;:6ny RightUpVectorBar;:85w RightVector;:6o0 RightVectorBar;:85v Rightarrow;:6oi Ropf;:6jh RoundImplies;:86o Rrightarrow;:6or Rscr;:6jf Rsh;:6nl RuleDelayed;:8ac SHCHcy;:tl SHcy;:tk SOFTcy;:to Sacute;:9m Sc;:8fw Scaron;:9s Scedil;:9q Scirc;:9o Scy;:td Sfr;:2knq ShortDownArrow;:6mr ShortLeftArrow;:6mo ShortRightArrow;:6mq ShortUpArrow;:6mp Sigma;:pv SmallCircle;:6qg Sopf;:2kp6 Sqrt;:6qi Square;:7fl SquareIntersection;:6tv SquareSubset;:6tr SquareSubsetEqual;:6tt SquareSuperset;:6ts SquareSupersetEqual;:6tu SquareUnion;:6tw Sscr;:2kku Star;:6va Sub;:6vk Subset;:6vk SubsetEqual;:6ti Succeeds;:6t7 SucceedsEqual;:8fk SucceedsSlantEqual;:6t9 SucceedsTilde;:6tb SuchThat;:6q3 Sum;:6q9 Sup;:6vl Superset;:6tf SupersetEqual;:6tj Supset;:6vl THORN:66 THORN;:66 TRADE;:6jm TSHcy;:sr TScy;:ti Tab;:9 Tau;:pw Tcaron;:9w Tcedil;:9u Tcy;:te Tfr;:2knr Therefore;:6r8 Theta;:pk ThickSpace;:6e7 ThinSpace;:6bt Tilde;:6rg TildeEqual;:6rn TildeFullEqual;:6rp TildeTilde;:6rs Topf;:2kp7 TripleDot;:6hn Tscr;:2kkv Tstrok;:9y Uacute:62 Uacute;:62 Uarr;:6n3 Uarrocir;:85l Ubrcy;:su Ubreve;:a4 Ucirc:63 Ucirc;:63 Ucy;:tf Udblac;:a8 Ufr;:2kns Ugrave:61 Ugrave;:61 Umacr;:a2 UnderBar;:2n UnderBrace;:733 UnderBracket;:71x UnderParenthesis;:731 Union;:6v7 UnionPlus;:6tq Uogon;:aa Uopf;:2kp8 UpArrow;:6mp UpArrowBar;:842 UpArrowDownArrow;:6o5 UpDownArrow;:6mt UpEquilibrium;:86m UpTee;:6ud UpTeeArrow;:6n9 Uparrow;:6oh Updownarrow;:6ol UpperLeftArrow;:6mu UpperRightArrow;:6mv Upsi;:r6 Upsilon;:px Uring;:a6 Uscr;:2kkw Utilde;:a0 Uuml:64 Uuml;:64 VDash;:6uj Vbar;:8h7 Vcy;:sy Vdash;:6uh Vdashl;:8h2 Vee;:6v5 Verbar;:6c6 Vert;:6c6 VerticalBar;:6qr VerticalLine;:3g VerticalSeparator;:7rs VerticalTilde;:6rk VeryThinSpace;:6bu Vfr;:2knt Vopf;:2kp9 Vscr;:2kkx Vvdash;:6ui Wcirc;:ac Wedge;:6v4 Wfr;:2knu Wopf;:2kpa Wscr;:2kky Xfr;:2knv Xi;:pq Xopf;:2kpb Xscr;:2kkz YAcy;:tr YIcy;:sn YUcy;:tq Yacute:65 Yacute;:65 Ycirc;:ae Ycy;:tn Yfr;:2knw Yopf;:2kpc Yscr;:2kl0 Yuml;:ag ZHcy;:t2 Zacute;:ah Zcaron;:al Zcy;:t3 Zdot;:aj ZeroWidthSpace;:6bv Zeta;:pi Zfr;:6js Zopf;:6jo Zscr;:2kl1 aacute:69 aacute;:69 abreve;:77 ac;:6ri acE;:6ri acd;:6rj acirc:6a acirc;:6a acute:50 acute;:50 acy;:ts aelig:6e aelig;:6e af;:6e9 afr;:2kny agrave:68 agrave;:68 alefsym;:6k5 aleph;:6k5 alpha;:q9 amacr;:75 amalg;:8cf amp:12 amp;:12 and;:6qv andand;:8d1 andd;:8d8 andslope;:8d4 andv;:8d6 ang;:6qo ange;:884 angle;:6qo angmsd;:6qp angmsdaa;:888 angmsdab;:889 angmsdac;:88a angmsdad;:88b angmsdae;:88c angmsdaf;:88d angmsdag;:88e angmsdah;:88f angrt;:6qn angrtvb;:6v2 angrtvbd;:87x angsph;:6qq angst;:5h angzarr;:70c aogon;:79 aopf;:2kpe ap;:6rs apE;:8ds apacir;:8dr ape;:6ru apid;:6rv apos;:13 approx;:6rs approxeq;:6ru aring:6d aring;:6d ascr;:2kl2 ast;:16 asymp;:6rs asympeq;:6rx atilde:6b atilde;:6b auml:6c auml;:6c awconint;:6r7 awint;:8b5 bNot;:8h9 backcong;:6rw backepsilon;:s6 backprime;:6d1 backsim;:6rh backsimeq;:6vh barvee;:6v1 barwed;:6x1 barwedge;:6x1 bbrk;:71x bbrktbrk;:71y bcong;:6rw bcy;:tt bdquo;:6ce becaus;:6r9 because;:6r9 bemptyv;:88g bepsi;:s6 bernou;:6jw beta;:qa beth;:6k6 between;:6ss bfr;:2knz bigcap;:6v6 bigcirc;:7hr bigcup;:6v7 bigodot;:8ao bigoplus;:8ap bigotimes;:8aq bigsqcup;:8au bigstar;:7id bigtriangledown;:7gd bigtriangleup;:7g3 biguplus;:8as bigvee;:6v5 bigwedge;:6v4 bkarow;:83x blacklozenge;:8a3 blacksquare;:7fu blacktriangle;:7g4 blacktriangledown;:7ge blacktriangleleft;:7gi blacktriangleright;:7g8 blank;:74z blk12;:7f6 blk14;:7f5 blk34;:7f7 block;:7ew bne;:1p bnequiv;:6sh bnot;:6xc bopf;:2kpf bot;:6ud bottom;:6ud bowtie;:6vc boxDL;:7dj boxDR;:7dg boxDl;:7di boxDr;:7df boxH;:7dc boxHD;:7dy boxHU;:7e1 boxHd;:7dw boxHu;:7dz boxUL;:7dp boxUR;:7dm boxUl;:7do boxUr;:7dl boxV;:7dd boxVH;:7e4 boxVL;:7dv boxVR;:7ds boxVh;:7e3 boxVl;:7du boxVr;:7dr boxbox;:895 boxdL;:7dh boxdR;:7de boxdl;:7bk boxdr;:7bg boxh;:7b4 boxhD;:7dx boxhU;:7e0 boxhd;:7cc boxhu;:7ck boxminus;:6u7 boxplus;:6u6 boxtimes;:6u8 boxuL;:7dn boxuR;:7dk boxul;:7bs boxur;:7bo boxv;:7b6 boxvH;:7e2 boxvL;:7dt boxvR;:7dq boxvh;:7cs boxvl;:7c4 boxvr;:7bw bprime;:6d1 breve;:k8 brvbar:4m brvbar;:4m bscr;:2kl3 bsemi;:6dr bsim;:6rh bsime;:6vh bsol;:2k bsolb;:891 bsolhsub;:7uw bull;:6ci bullet;:6ci bump;:6ry bumpE;:8fi bumpe;:6rz bumpeq;:6rz cacute;:7b cap;:6qx capand;:8ck capbrcup;:8cp capcap;:8cr capcup;:8cn capdot;:8cg caps;:6qx caret;:6dd caron;:jr ccaps;:8ct ccaron;:7h ccedil:6f ccedil;:6f ccirc;:7d ccups;:8cs ccupssm;:8cw cdot;:7f cedil:54 cedil;:54 cemptyv;:88i cent:4i cent;:4i centerdot;:53 cfr;:2ko0 chcy;:uf check;:7pv checkmark;:7pv chi;:qv cir;:7gr cirE;:88z circ;:jq circeq;:6s7 circlearrowleft;:6nu circlearrowright;:6nv circledR;:4u circledS;:79k circledast;:6u3 circledcirc;:6u2 circleddash;:6u5 cire;:6s7 cirfnint;:8b4 cirmid;:8hb cirscir;:88y clubs;:7kz clubsuit;:7kz colon;:1m colone;:6s4 coloneq;:6s4 comma;:18 commat;:1s comp;:6pt compfn;:6qg complement;:6pt complexes;:6iq cong;:6rp congdot;:8dp conint;:6r2 copf;:2kpg coprod;:6q8 copy:4p copy;:4p copysr;:6jb crarr;:6np cross;:7pz cscr;:2kl4 csub;:8gf csube;:8gh csup;:8gg csupe;:8gi ctdot;:6wf cudarrl;:854 cudarrr;:851 cuepr;:6vy cuesc;:6vz cularr;:6nq cularrp;:859 cup;:6qy cupbrcap;:8co cupcap;:8cm cupcup;:8cq cupdot;:6tp cupor;:8cl cups;:6qy curarr;:6nr curarrm;:858 curlyeqprec;:6vy curlyeqsucc;:6vz curlyvee;:6vi curlywedge;:6vj curren:4k curren;:4k curvearrowleft;:6nq curvearrowright;:6nr cuvee;:6vi cuwed;:6vj cwconint;:6r6 cwint;:6r5 cylcty;:6y5 dArr;:6oj dHar;:86d dagger;:6cg daleth;:6k8 darr;:6mr dash;:6c0 dashv;:6ub dbkarow;:83z dblac;:kd dcaron;:7j dcy;:tw dd;:6km ddagger;:6ch ddarr;:6oa ddotseq;:8dz deg:4w deg;:4w delta;:qc demptyv;:88h dfisht;:873 dfr;:2ko1 dharl;:6o3 dharr;:6o2 diam;:6v8 diamond;:6v8 diamondsuit;:7l2 diams;:7l2 die;:4o digamma;:rh disin;:6wi div;:6v divide:6v divide;:6v divideontimes;:6vb divonx;:6vb djcy;:uq dlcorn;:6xq dlcrop;:6x9 dollar;:10 dopf;:2kph dot;:k9 doteq;:6s0 doteqdot;:6s1 dotminus;:6rc dotplus;:6qc dotsquare;:6u9 doublebarwedge;:6x2 downarrow;:6mr downdownarrows;:6oa downharpoonleft;:6o3 downharpoonright;:6o2 drbkarow;:840 drcorn;:6xr drcrop;:6x8 dscr;:2kl5 dscy;:ut dsol;:8ae dstrok;:7l dtdot;:6wh dtri;:7gf dtrif;:7ge duarr;:6ph duhar;:86n dwangle;:886 dzcy;:v3 dzigrarr;:7wf eDDot;:8dz eDot;:6s1 eacute:6h eacute;:6h easter;:8dq ecaron;:7v ecir;:6s6 ecirc:6i ecirc;:6i ecolon;:6s5 ecy;:ul edot;:7r ee;:6kn efDot;:6s2 efr;:2ko2 eg;:8ey egrave:6g egrave;:6g egs;:8eu egsdot;:8ew el;:8ex elinters;:73b ell;:6j7 els;:8et elsdot;:8ev emacr;:7n empty;:6px emptyset;:6px emptyv;:6px emsp13;:6bo emsp14;:6bp emsp;:6bn eng;:97 ensp;:6bm eogon;:7t eopf;:2kpi epar;:6vp eparsl;:89v eplus;:8dt epsi;:qd epsilon;:qd epsiv;:s5 eqcirc;:6s6 eqcolon;:6s5 eqsim;:6rm eqslantgtr;:8eu eqslantless;:8et equals;:1p equest;:6sf equiv;:6sh equivDD;:8e0 eqvparsl;:89x erDot;:6s3 erarr;:86p escr;:6jz esdot;:6s0 esim;:6rm eta;:qf eth:6o eth;:6o euml:6j euml;:6j euro;:6gc excl;:x exist;:6pv expectation;:6k0 exponentiale;:6kn fallingdotseq;:6s2 fcy;:uc female;:7k0 ffilig;:1dkz fflig;:1dkw ffllig;:1dl0 ffr;:2ko3 filig;:1dkx fjlig;:2u flat;:7l9 fllig;:1dky fltns;:7g1 fnof;:b6 fopf;:2kpj forall;:6ps fork;:6vo forkv;:8gp fpartint;:8b1 frac12:59 frac12;:59 frac13;:6kz frac14:58 frac14;:58 frac15;:6l1 frac16;:6l5 frac18;:6l7 frac23;:6l0 frac25;:6l2 frac34:5a frac34;:5a frac35;:6l3 frac38;:6l8 frac45;:6l4 frac56;:6l6 frac58;:6l9 frac78;:6la frasl;:6dg frown;:6xu fscr;:2kl7 gE;:6sn gEl;:8ek gacute;:dx gamma;:qb gammad;:rh gap;:8ee gbreve;:7z gcirc;:7x gcy;:tv gdot;:81 ge;:6sl gel;:6vv geq;:6sl geqq;:6sn geqslant;:8e6 ges;:8e6 gescc;:8fd gesdot;:8e8 gesdoto;:8ea gesdotol;:8ec gesl;:6vv gesles;:8es gfr;:2ko4 gg;:6sr ggg;:6vt gimel;:6k7 gjcy;:ur gl;:6t3 glE;:8eq gla;:8f9 glj;:8f8 gnE;:6sp gnap;:8ei gnapprox;:8ei gne;:8eg gneq;:8eg gneqq;:6sp gnsim;:6w7 gopf;:2kpk grave;:2o gscr;:6iy gsim;:6sz gsime;:8em gsiml;:8eo gt:1q gt;:1q gtcc;:8fb gtcir;:8e2 gtdot;:6vr gtlPar;:87p gtquest;:8e4 gtrapprox;:8ee gtrarr;:86w gtrdot;:6vr gtreqless;:6vv gtreqqless;:8ek gtrless;:6t3 gtrsim;:6sz gvertneqq;:6sp gvnE;:6sp hArr;:6ok hairsp;:6bu half;:59 hamilt;:6iz hardcy;:ui harr;:6ms harrcir;:85k harrw;:6nh hbar;:6j3 hcirc;:85 hearts;:7l1 heartsuit;:7l1 hellip;:6cm hercon;:6ux hfr;:2ko5 hksearow;:84l hkswarow;:84m hoarr;:6pr homtht;:6rf hookleftarrow;:6nd hookrightarrow;:6ne hopf;:2kpl horbar;:6c5 hscr;:2kl9 hslash;:6j3 hstrok;:87 hybull;:6df hyphen;:6c0 iacute:6l iacute;:6l ic;:6eb icirc:6m icirc;:6m icy;:u0 iecy;:tx iexcl:4h iexcl;:4h iff;:6ok ifr;:2ko6 igrave:6k igrave;:6k ii;:6ko iiiint;:8b0 iiint;:6r1 iinfin;:89o iiota;:6jt ijlig;:8j imacr;:8b image;:6j5 imagline;:6j4 imagpart;:6j5 imath;:8h imof;:6uv imped;:c5 in;:6q0 incare;:6it infin;:6qm infintie;:89p inodot;:8h int;:6qz intcal;:6uy integers;:6jo intercal;:6uy intlarhk;:8bb intprod;:8cc iocy;:up iogon;:8f iopf;:2kpm iota;:qh iprod;:8cc iquest:5b iquest;:5b iscr;:2kla isin;:6q0 isinE;:6wp isindot;:6wl isins;:6wk isinsv;:6wj isinv;:6q0 it;:6ea itilde;:89 iukcy;:uu iuml:6n iuml;:6n jcirc;:8l jcy;:u1 jfr;:2ko7 jmath;:fr jopf;:2kpn jscr;:2klb jsercy;:uw jukcy;:us kappa;:qi kappav;:s0 kcedil;:8n kcy;:u2 kfr;:2ko8 kgreen;:8o khcy;:ud kjcy;:v0 kopf;:2kpo kscr;:2klc lAarr;:6oq lArr;:6og lAtail;:84b lBarr;:83y lE;:6sm lEg;:8ej lHar;:86a lacute;:8q laemptyv;:88k lagran;:6j6 lambda;:qj lang;:7vs langd;:87l langle;:7vs lap;:8ed laquo:4r laquo;:4r larr;:6mo larrb;:6p0 larrbfs;:84f larrfs;:84d larrhk;:6nd larrlp;:6nf larrpl;:855 larrsim;:86r larrtl;:6n6 lat;:8ff latail;:849 late;:8fh lates;:8fh lbarr;:83w lbbrk;:7si lbrace;:3f lbrack;:2j lbrke;:87f lbrksld;:87j lbrkslu;:87h lcaron;:8u lcedil;:8s lceil;:6x4 lcub;:3f lcy;:u3 ldca;:852 ldquo;:6cc ldquor;:6ce ldrdhar;:86f ldrushar;:85n ldsh;:6nm le;:6sk leftarrow;:6mo leftarrowtail;:6n6 leftharpoondown;:6nx leftharpoonup;:6nw leftleftarrows;:6o7 leftrightarrow;:6ms leftrightarrows;:6o6 leftrightharpoons;:6ob leftrightsquigarrow;:6nh leftthreetimes;:6vf leg;:6vu leq;:6sk leqq;:6sm leqslant;:8e5 les;:8e5 lescc;:8fc lesdot;:8e7 lesdoto;:8e9 lesdotor;:8eb lesg;:6vu lesges;:8er lessapprox;:8ed lessdot;:6vq lesseqgtr;:6vu lesseqqgtr;:8ej lessgtr;:6t2 lesssim;:6sy lfisht;:870 lfloor;:6x6 lfr;:2ko9 lg;:6t2 lgE;:8ep lhard;:6nx lharu;:6nw lharul;:86i lhblk;:7es ljcy;:ux ll;:6sq llarr;:6o7 llcorner;:6xq llhard;:86j lltri;:7i2 lmidot;:8w lmoust;:71s lmoustache;:71s lnE;:6so lnap;:8eh lnapprox;:8eh lne;:8ef lneq;:8ef lneqq;:6so lnsim;:6w6 loang;:7vw loarr;:6pp lobrk;:7vq longleftarrow;:7w5 longleftrightarrow;:7w7 longmapsto;:7wc longrightarrow;:7w6 looparrowleft;:6nf looparrowright;:6ng lopar;:879 lopf;:2kpp loplus;:8bx lotimes;:8c4 lowast;:6qf lowbar;:2n loz;:7gq lozenge;:7gq lozf;:8a3 lpar;:14 lparlt;:87n lrarr;:6o6 lrcorner;:6xr lrhar;:6ob lrhard;:86l lrm;:6by lrtri;:6v3 lsaquo;:6d5 lscr;:2kld lsh;:6nk lsim;:6sy lsime;:8el lsimg;:8en lsqb;:2j lsquo;:6c8 lsquor;:6ca lstrok;:8y lt:1o lt;:1o ltcc;:8fa ltcir;:8e1 ltdot;:6vq lthree;:6vf ltimes;:6vd ltlarr;:86u ltquest;:8e3 ltrPar;:87q ltri;:7gj ltrie;:6us ltrif;:7gi lurdshar;:85m luruhar;:86e lvertneqq;:6so lvnE;:6so mDDot;:6re macr:4v macr;:4v male;:7k2 malt;:7q8 maltese;:7q8 map;:6na mapsto;:6na mapstodown;:6nb mapstoleft;:6n8 mapstoup;:6n9 marker;:7fy mcomma;:8bt mcy;:u4 mdash;:6c4 measuredangle;:6qp mfr;:2koa mho;:6jr micro:51 micro;:51 mid;:6qr midast;:16 midcir;:8hc middot:53 middot;:53 minus;:6qa minusb;:6u7 minusd;:6rc minusdu;:8bu mlcp;:8gr mldr;:6cm mnplus;:6qb models;:6uf mopf;:2kpq mp;:6qb mscr;:2kle mstpos;:6ri mu;:qk multimap;:6uw mumap;:6uw nGg;:6vt nGt;:6sr nGtv;:6sr nLeftarrow;:6od nLeftrightarrow;:6oe nLl;:6vs nLt;:6sq nLtv;:6sq nRightarrow;:6of nVDash;:6un nVdash;:6um nabla;:6pz nacute;:90 nang;:6qo nap;:6rt napE;:8ds napid;:6rv napos;:95 napprox;:6rt natur;:7la natural;:7la naturals;:6j9 nbsp:4g nbsp;:4g nbump;:6ry nbumpe;:6rz ncap;:8cj ncaron;:94 ncedil;:92 ncong;:6rr ncongdot;:8dp ncup;:8ci ncy;:u5 ndash;:6c3 ne;:6sg neArr;:6on nearhk;:84k nearr;:6mv nearrow;:6mv nedot;:6s0 nequiv;:6si nesear;:84o nesim;:6rm nexist;:6pw nexists;:6pw nfr;:2kob ngE;:6sn nge;:6sx ngeq;:6sx ngeqq;:6sn ngeqslant;:8e6 nges;:8e6 ngsim;:6t1 ngt;:6sv ngtr;:6sv nhArr;:6oe nharr;:6ni nhpar;:8he ni;:6q3 nis;:6ws nisd;:6wq niv;:6q3 njcy;:uy nlArr;:6od nlE;:6sm nlarr;:6my nldr;:6cl nle;:6sw nleftarrow;:6my nleftrightarrow;:6ni nleq;:6sw nleqq;:6sm nleqslant;:8e5 nles;:8e5 nless;:6su nlsim;:6t0 nlt;:6su nltri;:6wa nltrie;:6wc nmid;:6qs nopf;:2kpr not:4s not;:4s notin;:6q1 notinE;:6wp notindot;:6wl notinva;:6q1 notinvb;:6wn notinvc;:6wm notni;:6q4 notniva;:6q4 notnivb;:6wu notnivc;:6wt npar;:6qu nparallel;:6qu nparsl;:8hp npart;:6pu npolint;:8b8 npr;:6tc nprcue;:6w0 npre;:8fj nprec;:6tc npreceq;:8fj nrArr;:6of nrarr;:6mz nrarrc;:84z nrarrw;:6n1 nrightarrow;:6mz nrtri;:6wb nrtrie;:6wd nsc;:6td nsccue;:6w1 nsce;:8fk nscr;:2klf nshortmid;:6qs nshortparallel;:6qu nsim;:6rl nsime;:6ro nsimeq;:6ro nsmid;:6qs nspar;:6qu nsqsube;:6w2 nsqsupe;:6w3 nsub;:6tg nsubE;:8g5 nsube;:6tk nsubset;:6te nsubseteq;:6tk nsubseteqq;:8g5 nsucc;:6td nsucceq;:8fk nsup;:6th nsupE;:8g6 nsupe;:6tl nsupset;:6tf nsupseteq;:6tl nsupseteqq;:8g6 ntgl;:6t5 ntilde:6p ntilde;:6p ntlg;:6t4 ntriangleleft;:6wa ntrianglelefteq;:6wc ntriangleright;:6wb ntrianglerighteq;:6wd nu;:ql num;:z numero;:6ja numsp;:6br nvDash;:6ul nvHarr;:83o nvap;:6rx nvdash;:6uk nvge;:6sl nvgt;:1q nvinfin;:89q nvlArr;:83m nvle;:6sk nvlt;:1o nvltrie;:6us nvrArr;:83n nvrtrie;:6ut nvsim;:6rg nwArr;:6om nwarhk;:84j nwarr;:6mu nwarrow;:6mu nwnear;:84n oS;:79k oacute:6r oacute;:6r oast;:6u3 ocir;:6u2 ocirc:6s ocirc;:6s ocy;:u6 odash;:6u5 odblac;:9d odiv;:8c8 odot;:6u1 odsold;:88s oelig;:9f ofcir;:88v ofr;:2koc ogon;:kb ograve:6q ograve;:6q ogt;:88x ohbar;:88l ohm;:q1 oint;:6r2 olarr;:6nu olcir;:88u olcross;:88r oline;:6da olt;:88w omacr;:99 omega;:qx omicron;:qn omid;:88m ominus;:6ty oopf;:2kps opar;:88n operp;:88p oplus;:6tx or;:6qw orarr;:6nv ord;:8d9 order;:6k4 orderof;:6k4 ordf:4q ordf;:4q ordm:56 ordm;:56 origof;:6uu oror;:8d2 orslope;:8d3 orv;:8d7 oscr;:6k4 oslash:6w oslash;:6w osol;:6u0 otilde:6t otilde;:6t otimes;:6tz otimesas;:8c6 ouml:6u ouml;:6u ovbar;:6yl par;:6qt para:52 para;:52 parallel;:6qt parsim;:8hf parsl;:8hp part;:6pu pcy;:u7 percnt;:11 period;:1a permil;:6cw perp;:6ud pertenk;:6cx pfr;:2kod phi;:qu phiv;:r9 phmmat;:6k3 phone;:7im pi;:qo pitchfork;:6vo piv;:ra planck;:6j3 planckh;:6j2 plankv;:6j3 plus;:17 plusacir;:8bn plusb;:6u6 pluscir;:8bm plusdo;:6qc plusdu;:8bp pluse;:8du plusmn:4x plusmn;:4x plussim;:8bq plustwo;:8br pm;:4x pointint;:8b9 popf;:2kpt pound:4j pound;:4j pr;:6t6 prE;:8fn prap;:8fr prcue;:6t8 pre;:8fj prec;:6t6 precapprox;:8fr preccurlyeq;:6t8 preceq;:8fj precnapprox;:8ft precneqq;:8fp precnsim;:6w8 precsim;:6ta prime;:6cy primes;:6jd prnE;:8fp prnap;:8ft prnsim;:6w8 prod;:6q7 profalar;:6y6 profline;:6xe profsurf;:6xf prop;:6ql propto;:6ql prsim;:6ta prurel;:6uo pscr;:2klh psi;:qw puncsp;:6bs qfr;:2koe qint;:8b0 qopf;:2kpu qprime;:6dz qscr;:2kli quaternions;:6j1 quatint;:8ba quest;:1r questeq;:6sf quot:y quot;:y rAarr;:6or rArr;:6oi rAtail;:84c rBarr;:83z rHar;:86c race;:6rh racute;:9h radic;:6qi raemptyv;:88j rang;:7vt rangd;:87m range;:885 rangle;:7vt raquo:57 raquo;:57 rarr;:6mq rarrap;:86t rarrb;:6p1 rarrbfs;:84g rarrc;:84z rarrfs;:84e rarrhk;:6ne rarrlp;:6ng rarrpl;:85h rarrsim;:86s rarrtl;:6n7 rarrw;:6n1 ratail;:84a ratio;:6ra rationals;:6je rbarr;:83x rbbrk;:7sj rbrace;:3h rbrack;:2l rbrke;:87g rbrksld;:87i rbrkslu;:87k rcaron;:9l rcedil;:9j rceil;:6x5 rcub;:3h rcy;:u8 rdca;:853 rdldhar;:86h rdquo;:6cd rdquor;:6cd rdsh;:6nn real;:6jg realine;:6jf realpart;:6jg reals;:6jh rect;:7fx reg:4u reg;:4u rfisht;:871 rfloor;:6x7 rfr;:2kof rhard;:6o1 rharu;:6o0 rharul;:86k rho;:qp rhov;:s1 rightarrow;:6mq rightarrowtail;:6n7 rightharpoondown;:6o1 rightharpoonup;:6o0 rightleftarrows;:6o4 rightleftharpoons;:6oc rightrightarrows;:6o9 rightsquigarrow;:6n1 rightthreetimes;:6vg ring;:ka risingdotseq;:6s3 rlarr;:6o4 rlhar;:6oc rlm;:6bz rmoust;:71t rmoustache;:71t rnmid;:8ha roang;:7vx roarr;:6pq robrk;:7vr ropar;:87a ropf;:2kpv roplus;:8by rotimes;:8c5 rpar;:15 rpargt;:87o rppolint;:8b6 rrarr;:6o9 rsaquo;:6d6 rscr;:2klj rsh;:6nl rsqb;:2l rsquo;:6c9 rsquor;:6c9 rthree;:6vg rtimes;:6ve rtri;:7g9 rtrie;:6ut rtrif;:7g8 rtriltri;:89a ruluhar;:86g rx;:6ji sacute;:9n sbquo;:6ca sc;:6t7 scE;:8fo scap;:8fs scaron;:9t sccue;:6t9 sce;:8fk scedil;:9r scirc;:9p scnE;:8fq scnap;:8fu scnsim;:6w9 scpolint;:8b7 scsim;:6tb scy;:u9 sdot;:6v9 sdotb;:6u9 sdote;:8di seArr;:6oo searhk;:84l searr;:6mw searrow;:6mw sect:4n sect;:4n semi;:1n seswar;:84p setminus;:6qe setmn;:6qe sext;:7qu sfr;:2kog sfrown;:6xu sharp;:7lb shchcy;:uh shcy;:ug shortmid;:6qr shortparallel;:6qt shy:4t shy;:4t sigma;:qr sigmaf;:qq sigmav;:qq sim;:6rg simdot;:8dm sime;:6rn simeq;:6rn simg;:8f2 simgE;:8f4 siml;:8f1 simlE;:8f3 simne;:6rq simplus;:8bo simrarr;:86q slarr;:6mo smallsetminus;:6qe smashp;:8c3 smeparsl;:89w smid;:6qr smile;:6xv smt;:8fe smte;:8fg smtes;:8fg softcy;:uk sol;:1b solb;:890 solbar;:6yn sopf;:2kpw spades;:7kw spadesuit;:7kw spar;:6qt sqcap;:6tv sqcaps;:6tv sqcup;:6tw sqcups;:6tw sqsub;:6tr sqsube;:6tt sqsubset;:6tr sqsubseteq;:6tt sqsup;:6ts sqsupe;:6tu sqsupset;:6ts sqsupseteq;:6tu squ;:7fl square;:7fl squarf;:7fu squf;:7fu srarr;:6mq sscr;:2klk ssetmn;:6qe ssmile;:6xv sstarf;:6va star;:7ie starf;:7id straightepsilon;:s5 straightphi;:r9 strns;:4v sub;:6te subE;:8g5 subdot;:8fx sube;:6ti subedot;:8g3 submult;:8g1 subnE;:8gb subne;:6tm subplus;:8fz subrarr;:86x subset;:6te subseteq;:6ti subseteqq;:8g5 subsetneq;:6tm subsetneqq;:8gb subsim;:8g7 subsub;:8gl subsup;:8gj succ;:6t7 succapprox;:8fs succcurlyeq;:6t9 succeq;:8fk succnapprox;:8fu succneqq;:8fq succnsim;:6w9 succsim;:6tb sum;:6q9 sung;:7l6 sup1:55 sup1;:55 sup2:4y sup2;:4y sup3:4z sup3;:4z sup;:6tf supE;:8g6 supdot;:8fy supdsub;:8go supe;:6tj supedot;:8g4 suphsol;:7ux suphsub;:8gn suplarr;:86z supmult;:8g2 supnE;:8gc supne;:6tn supplus;:8g0 supset;:6tf supseteq;:6tj supseteqq;:8g6 supsetneq;:6tn supsetneqq;:8gc supsim;:8g8 supsub;:8gk supsup;:8gm swArr;:6op swarhk;:84m swarr;:6mx swarrow;:6mx swnwar;:84q szlig:67 szlig;:67 target;:6xi tau;:qs tbrk;:71w tcaron;:9x tcedil;:9v tcy;:ua tdot;:6hn telrec;:6xh tfr;:2koh there4;:6r8 therefore;:6r8 theta;:qg thetasym;:r5 thetav;:r5 thickapprox;:6rs thicksim;:6rg thinsp;:6bt thkap;:6rs thksim;:6rg thorn:72 thorn;:72 tilde;:kc times:5z times;:5z timesb;:6u8 timesbar;:8c1 timesd;:8c0 tint;:6r1 toea;:84o top;:6uc topbot;:6ye topcir;:8hd topf;:2kpx topfork;:8gq tosa;:84p tprime;:6d0 trade;:6jm triangle;:7g5 triangledown;:7gf triangleleft;:7gj trianglelefteq;:6us triangleq;:6sc triangleright;:7g9 trianglerighteq;:6ut tridot;:7ho trie;:6sc triminus;:8ca triplus;:8c9 trisb;:899 tritime;:8cb trpezium;:736 tscr;:2kll tscy;:ue tshcy;:uz tstrok;:9z twixt;:6ss twoheadleftarrow;:6n2 twoheadrightarrow;:6n4 uArr;:6oh uHar;:86b uacute:6y uacute;:6y uarr;:6mp ubrcy;:v2 ubreve;:a5 ucirc:6z ucirc;:6z ucy;:ub udarr;:6o5 udblac;:a9 udhar;:86m ufisht;:872 ufr;:2koi ugrave:6x ugrave;:6x uharl;:6nz uharr;:6ny uhblk;:7eo ulcorn;:6xo ulcorner;:6xo ulcrop;:6xb ultri;:7i0 umacr;:a3 uml:4o uml;:4o uogon;:ab uopf;:2kpy uparrow;:6mp updownarrow;:6mt upharpoonleft;:6nz upharpoonright;:6ny uplus;:6tq upsi;:qt upsih;:r6 upsilon;:qt upuparrows;:6o8 urcorn;:6xp urcorner;:6xp urcrop;:6xa uring;:a7 urtri;:7i1 uscr;:2klm utdot;:6wg utilde;:a1 utri;:7g5 utrif;:7g4 uuarr;:6o8 uuml:70 uuml;:70 uwangle;:887 vArr;:6ol vBar;:8h4 vBarv;:8h5 vDash;:6ug vangrt;:87w varepsilon;:s5 varkappa;:s0 varnothing;:6px varphi;:r9 varpi;:ra varpropto;:6ql varr;:6mt varrho;:s1 varsigma;:qq varsubsetneq;:6tm varsubsetneqq;:8gb varsupsetneq;:6tn varsupsetneqq;:8gc vartheta;:r5 vartriangleleft;:6uq vartriangleright;:6ur vcy;:tu vdash;:6ua vee;:6qw veebar;:6uz veeeq;:6sa vellip;:6we verbar;:3g vert;:3g vfr;:2koj vltri;:6uq vnsub;:6te vnsup;:6tf vopf;:2kpz vprop;:6ql vrtri;:6ur vscr;:2kln vsubnE;:8gb vsubne;:6tm vsupnE;:8gc vsupne;:6tn vzigzag;:87u wcirc;:ad wedbar;:8db wedge;:6qv wedgeq;:6s9 weierp;:6jc wfr;:2kok wopf;:2kq0 wp;:6jc wr;:6rk wreath;:6rk wscr;:2klo xcap;:6v6 xcirc;:7hr xcup;:6v7 xdtri;:7gd xfr;:2kol xhArr;:7wa xharr;:7w7 xi;:qm xlArr;:7w8 xlarr;:7w5 xmap;:7wc xnis;:6wr xodot;:8ao xopf;:2kq1 xoplus;:8ap xotime;:8aq xrArr;:7w9 xrarr;:7w6 xscr;:2klp xsqcup;:8au xuplus;:8as xutri;:7g3 xvee;:6v5 xwedge;:6v4 yacute:71 yacute;:71 yacy;:un ycirc;:af ycy;:uj yen:4l yen;:4l yfr;:2kom yicy;:uv yopf;:2kq2 yscr;:2klq yucy;:um yuml:73 yuml;:73 zacute;:ai zcaron;:am zcy;:tz zdot;:ak zeetrf;:6js zeta;:qe zfr;:2kon zhcy;:ty zigrarr;:6ot zopf;:2kq3 zscr;:2klr zwj;:6bx zwnj;:6bw";var bn=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376],xe,Lt=0;function xn(){if(xe)return xe;xe=new Map;for(let e of Ts.split(" ")){let t=e.indexOf(":");xe.set(e.slice(0,t),Number.parseInt(e.slice(t+1),36)),Lt=Math.max(Lt,t)}return xe}var Pt=(e)=>e>=48&&e<=57,gn=(e)=>Pt(e)||e>=65&&e<=70||e>=97&&e<=102,Cs=(e)=>Pt(e)||e>=65&&e<=90||e>=97&&e<=122,Me=0;function vn(e,t,i){if(e.charCodeAt(t)===35){let s=(e.charCodeAt(t+1)|32)===120,n=t+(s?2:1),u=n;while(u<e.length&&(s?gn:Pt)(e.charCodeAt(u)))u++;if(u===n)return 0;return Me=e.charCodeAt(u)===59?u+1:u,Number.parseInt(e.slice(n,u),s?16:10)}let r=xn(),a=t;while(a-t<Lt&&Cs(e.charCodeAt(a)))a++;if(e.charCodeAt(a)===59){let s=r.get(e.slice(t,a+1));if(s!==void 0)return Me=a+1,s}for(let s=a;s>t;s--){let n=r.get(e.slice(t,s));if(n===void 0)continue;if(i){let u=e.charCodeAt(s);if(Cs(u)||u===95||u===61)continue}return Me=s,n}return 0}function yn(e,t){if(e===10&&!t)return 32;if(e<128)return e;if(e<=159)return bn[e-128];if(e>=55296&&e<=57343)return 0;if(e<=196607)return e;if(e>=917504&&e<=917631||e>=917760&&e<=917999)return e;return 0}function ge(e,t){let i=e.indexOf("&");if(i===-1)return e;let r="",a=0;while(i!==-1){let s=vn(e,i+1,t);if(s)r+=e.slice(a,i)+String.fromCodePoint(yn(s,t)),a=Me;i=e.indexOf("&",s?a:i+1)}return r+e.slice(a)}var Ns=/<\/script\s*>/g,kn=new Set(["server","client","worker","test","default"]);function Ls(e,t,i){let{source:r,index:a}=e;if(a>=r.length)N(r.length);Ns.lastIndex=a;let s=Ns.exec(r);if(!s)_e(r.length,"script");e.index=s.index+s[0].length;let n=Fe(e,r.slice(0,s.index),a);if(n.start=a,n.loc)Object.assign(n.loc.start,ie(t)),Object.assign(n.loc.end,ie(e.index));let u="default";for(let l of i){if(kn.has(l.name))mi(l,l.name);if(l.name==="module"){if(l.value!==!0)fi(l,l.name);u="module"}if(l.name==="context"){let c=l.value;if(c===!0||!Array.isArray(c)||c.length!==1||c[0].type!=="Text"||c[0].data!=="module")di(l);u="module"}}return{type:"Script",start:t,end:e.index,context:u,content:n,attributes:i}}var Ps=/(even|odd|\+?(\d+|\d*n(\s*[+-]\s*\d+)?)|-\d*n(\s*\+\s*\d+))((?=\s*[,)])|\s+of(\s+|(?=[.#[*:&])))/y,qs=/\d+(\.\d+)?%/y,wn=/\\[0-9a-fA-F]{1,6}(\r\n|\s)?/y,Sn=/\s*>/y,K=-1,$t=34,An=35,_n=36,En=38,Rt=39,Tn=40,Cn=41,ve=42,Nn=43,Ln=45,Pn=46,Ot=47,qt=58,qn=59,Os=60,Is=61,In=62,$n=91,We=92,Rn=93,On=94,Ds=123,It=124,Dn=125,Bs=126,Ue=[];function Vs(e,t,i){let r=e.index;Ue=[];let a=e.css?Vn(e):Bn(e),s=e.index;return e.eat("</style",!0),e.read(Sn),{type:"StyleSheet",start:t,end:e.index,attributes:i,children:a,comments:Ue,content:{start:r,end:s,styles:e.source.slice(r,s),comment:null}}}function Bn(e){let{source:t,index:i}=e;while(i<t.length){let r=t.charCodeAt(i);if(r===Ot&&t.charCodeAt(i+1)===ve){let a=t.indexOf("*/",i+2);i=a===-1?t.length:a+2}else if(r===$t||r===Rt){i++;while(i<t.length){let a=t.charCodeAt(i);if(a===r||a===10)break;i+=a===We?2:1}i++}else if(r===Os&&t.startsWith("</style",i))break;else i++}return e.index=Math.min(i,t.length),[]}function Vn(e){let t=[];for(;;){if(oe(e,!0),e.match("</style")||e.index>=e.source.length)break;t.push(e.match("@")?Fs(e):js(e))}return t}function Fs(e){let t=e.index;e.eat("@",!0);let i=J(e),r=Dt(e,!0),a=null;if(e.match("{"))a=zs(e);else e.eat(";",!0);return{type:"Atrule",start:t,end:e.index,name:i,prelude:r,block:a}}function js(e){let t=e.index;return{type:"Rule",prelude:Ms(e,!1),block:zs(e),start:t,end:e.index}}function Ms(e,t){let i=[];oe(e,!0);let r=e.index;while(e.index<e.source.length){i.push(Fn(e,t));let a=e.index;if(oe(e,!0),e.match(t?")":"{"))return{type:"SelectorList",start:r,end:a,children:i};e.eat(",",!0),oe(e,!0)}return N(e.source.length)}function $s(e,t){return{type:"RelativeSelector",combinator:e,selectors:[],start:t,end:-1}}function Fn(e,t){let{source:i,index:r}=e,a=[],s=$s(null,e.index);while(e.index<i.length){let n=e.index,u=i.charCodeAt(n),l=s.selectors;if(u===En)e.index++,l.push({type:"NestingSelector",name:"&",start:n,end:e.index});else if(u===ve)e.index++,l.push(Rs(e,n,"*"));else if(u===An)e.index++,l.push({type:"IdSelector",name:J(e),start:n,end:e.index});else if(u===Pn)e.index++,l.push({type:"ClassSelector",name:J(e),start:n,end:e.index});else if(u===qt){let f=i.charCodeAt(n+1)===qt;e.index+=f?2:1;let x=J(e),v=null;if(e.eat("("))v=Ms(e,!0),e.eat(")",!0);if(f)l.push({type:"PseudoElementSelector",name:x,start:n,end:e.index,...v&&{args:v}});else l.push({type:"PseudoClassSelector",name:x,args:v,start:n,end:e.index})}else if(u===$n)e.index++,l.push(jn(e,n));else if(t&&e.matchRegex(Ps)){let f=e.read(Ps);l.push({type:"Nth",value:f,start:n,end:e.index})}else if(ze(u)&&e.matchRegex(qs)){let f=e.read(qs);l.push({type:"Percentage",value:f,start:n,end:e.index})}else if(Us(i,n)===0){let f=J(e);l.push(Rs(e,n,f))}let c=e.index;oe(e,!1);let h=e.match(",")||e.match(t?")":"{");if(e.index=c,h)return s.end=c,a.push(s),{type:"ComplexSelector",start:r,end:c,children:a};let p=Mn(e);if(p){if(s.selectors.length>0)s.end=c,a.push(s);if(s=$s(p,p.start),e.allowWhitespace(),e.match(",")||e.match(t?")":"{"))ei(e.index)}}return N(i.length)}function Rs(e,t,i){let r=i,a;if(e.eat("|"))a=r,r=e.eat("*")?"*":J(e);return{type:"TypeSelector",name:r,...a!==void 0&&{namespace:a},start:t,end:e.index}}function jn(e,t){let i=e.source;e.allowWhitespace();let r=J(e);e.allowWhitespace();let a=null,s=null,n=i.charCodeAt(e.index);if(n===Is)s="=";else if((n===Bs||n===On||n===_n||n===ve||n===It)&&i.charCodeAt(e.index+1)===Is)s=i.slice(e.index,e.index+2);if(s)e.index+=s.length,e.allowWhitespace(),a=Gn(e);e.allowWhitespace();let u=e.index;while(Gs(i.charCodeAt(e.index)))e.index++;let l=e.index>u?i.slice(u,e.index):null;return e.allowWhitespace(),e.eat("]",!0),{type:"AttributeSelector",start:t,end:e.index,name:r,matcher:s,value:a,flags:l}}function Us(e,t){let i=e.charCodeAt(t);if(i===Nn||i===Bs||i===In)return 1;if(i===It&&e.charCodeAt(t+1)===It)return 2;return 0}function Mn(e){let t=e.index;e.allowWhitespace();let i=e.index,r=Us(e.source,i);if(r>0){e.index+=r;let a=e.index;return e.allowWhitespace(),{type:"Combinator",name:e.source.slice(i,a),start:i,end:a}}if(e.index!==t)return{type:"Combinator",name:" ",start:t,end:e.index};return null}function zs(e){let t=e.index;e.eat("{",!0);let i=[];while(e.index<e.source.length){if(oe(e,!0),e.match("}"))break;i.push(Un(e))}return e.eat("}",!0),{type:"Block",start:t,end:e.index,children:i}}function Un(e){if(e.match("@"))return Fs(e);let t=e.index;Dt(e,!1);let i=e.source.charCodeAt(e.index);return e.index=t,i===Ds?js(e):zn(e)}function zn(e){let{source:t,index:i}=e;if(i>=t.length)N(t.length);let r=i;while(r<t.length){let l=t.charCodeAt(r);if(l===qt||z(l))break;r++}let a=t.slice(i,r);e.index=r,e.allowWhitespace(),e.eat(":");let s=e.index;e.allowWhitespace();let n=Dt(e,!0);if(!n&&!a.startsWith("--"))Jt({start:i,end:s});let u=e.index;if(!e.match("}"))e.eat(";",!0);return{type:"Declaration",start:i,end:u,property:a,value:n}}function Dt(e,t){let i=e.source,r=i.length,a="",s=e.index,n=null,u=!1,l=!1,c=K,h=e.index;while(h<r){let p=i.charCodeAt(h);if(u){u=!1,h++;continue}if(p===We){u=!0,h++;continue}if(p===c)c=K;else if(p===Cn)l=!1;else if(c===K&&(p===$t||p===Rt))c=p;else if(p===Tn){if(Wn(i,a,s,h))l=!0}else if((p===qn||p===Ds||p===Dn)&&!l&&c===K){if(e.index=h,!t)return"";if(a+=i.slice(s,h),n){let f=a.length-a.trimStart().length;for(let x of n)x.position=Math.max(0,x.position-f)}return a.trim()}else if(p===Ot&&!l&&c===K&&i.charCodeAt(h+1)===ve){a+=i.slice(s,h),e.index=h;let f=Ws(e);if(t)f.position=a.length,Ue.push(f),n??=[],n.push(f);h=e.index,s=h;continue}h++}return e.index=r,N(r)}function Wn(e,t,i,r){if(r-i>=3)return e.charCodeAt(r-3)===117&&e.charCodeAt(r-2)===114&&e.charCodeAt(r-1)===108;return(t+e.slice(i,r)).slice(-3)==="url"}function Gn(e){let t=e.source,i=e.eat('"')?$t:e.eat("'")?Rt:K,r=e.index,a=!1,s=r;while(s<t.length){let n=t.charCodeAt(s);if(a)a=!1;else if(n===We)a=!0;else if(i===K?n===Rn||z(n):n===i)return e.index=i===K?s:s+1,t.slice(r,s).trim();s++}return e.index=s,N(t.length)}function J(e){let{source:t,index:i}=e,r=t.charCodeAt(i);if(ze(r)||r===Ln&&ze(t.charCodeAt(i+1)))Ye(i);let a="",s=i,n=i;while(n<t.length){let u=t.charCodeAt(n);if(u===We){a+=t.slice(s,n),e.index=n;let l=e.matchRegex(wn);if(l){let c=String.fromCodePoint(Number.parseInt(l.slice(1),16));a+=c==="\\"?"\\\\":c,n+=l.length}else a+=`\\${t[n+1]}`,n+=2;s=n}else if(u>=160||Hn(u))n++;else break}if(a+=t.slice(s,n),e.index=n,a==="")Ye(i);return a}function oe(e,t){let i=e.source;e.allowWhitespace();for(;;){let r=i.charCodeAt(e.index);if(r===Ot&&i.charCodeAt(e.index+1)===ve){let a=Ws(e);if(t)Ue.push(a)}else if(r===Os&&e.eat("<!--"))e.readUntil("-->"),e.eat("-->",!0);else break;e.allowWhitespace()}}function Ws(e){let t=e.index;e.eat("/*",!0);let i=e.readUntil("*/");return e.eat("*/",!0),{type:"CSSComment",value:i,start:t,end:e.index}}function ze(e){return e>=48&&e<=57}function Gs(e){return e>=65&&e<=90||e>=97&&e<=122}function Hn(e){return Gs(e)||ze(e)||e===95||e===45}var Bt=/<\/textarea(\s[^>]*)?>/iy,Kn=/^![a-zA-Z]+$/,Xn=/^[a-zA-Z][a-zA-Z0-9]*:[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$/,Qn=/^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\u{10000}-\u{EFFFF}]*)?$/u,Yn=/^(?:\p{Lu}[$‌‍\p{ID_Continue}.]*|\p{ID_Start}[$‌‍\p{ID_Continue}]*(?:\.[$‌‍\p{ID_Continue}]+)+)$/u,Zn=new Set("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Jn=new Map([["use","UseDirective"],["animate","AnimateDirective"],["bind","BindDirective"],["class","ClassDirective"],["style","StyleDirective"],["on","OnDirective"],["let","LetDirective"],["in","TransitionDirective"],["out","TransitionDirective"],["transition","TransitionDirective"]]),Vt=new Map([["svelte:head",["SvelteHead",!0]],["svelte:options",["SvelteOptions",!0]],["svelte:window",["SvelteWindow",!0]],["svelte:document",["SvelteDocument",!0]],["svelte:body",["SvelteBody",!0]],["svelte:element",["SvelteElement",!1]],["svelte:component",["SvelteComponent",!1]],["svelte:self",["SvelteSelf",!1]],["svelte:fragment",["SvelteFragment",!1]],["svelte:boundary",["SvelteBoundary",!1]]]),Hs=[...Vt.keys()],ea=`${Hs.slice(0,-1).join(", ")} or ${Hs.at(-1)}`,Js=47,Ge=62,er=61,ta=34,ia=39,Ks=123,ue=(e)=>e===ta||e===ia;function sa(e,t,i){let r=t;for(;r<e.length;r++){let a=e.charCodeAt(r);if(z(a)||a===Js||a===Ge)break;if(i&&(ue(a)||a===er))break}return r}function He(e,t){let i=e.index;if(i>=e.source.length)N(e.source.length);let r=sa(e.source,i,t);return e.index=r,{name:e.source.slice(i,r),start:i,end:r,loc:e.sourceLocation(i,r)}}var ye=(e,t,i,r=i)=>({start:e,end:t,type:"Text",raw:i,data:r});function tr(e){return Zn.has(e)||e.charCodeAt(0)===33&&e.toLowerCase()==="!doctype"}function ra(e){let t=e.charCodeAt(0);if(t>=97&&t<=122&&!e.includes("."))return!1;return Yn.test(e)}function na(e){let t=!0;for(let i=0;i<e.length&&t;i++){let r=e.charCodeAt(i);t=r>=97&&r<=122||i>0&&r>=48&&r<=57}return t&&e.length>0||Kn.test(e)||Xn.test(e)||Qn.test(e)}function Xs(e,t){for(let i=e.length-1;i>=0;i--){let r=t(e[i]);if(r!==void 0)return r}return!1}function aa(e,t,i){let r=Vt.get(t);if(r)return r[0];if(i)return"Component";if(t==="title"){if(Xs(e.stack,({type:s})=>s==="SvelteHead"?!0:s==="RegularElement"||s==="Component"?!1:void 0))return"TitleElement"}if(t==="slot"){if(!Xs(e.stack,(s)=>s.type==="RegularElement"&&s.attributes.some((n)=>n.type==="Attribute"&&n.name==="shadowrootmode")?!0:void 0))return"SlotElement"}return"RegularElement"}function ir(e){let t=e.index++;if(e.eat("!--")){let i=e.readUntil("-->");e.eat("-->",!0),e.append({type:"Comment",start:t,end:e.index,data:i})}else if(e.eat("/"))oa(e,t);else ua(e,t)}function oa(e,t){let{name:i}=He(e,!1);if(e.allowWhitespace(),e.eat(">",!0),tr(i))$i(t);let r=e.current();while(r.name!==i){if(r.type!=="RegularElement"){let a=e.lastAutoClosedTag;if(a?.tag===i)ni(t,i,a.reason);ri(t,i)}r.end=t,e.close(),r=e.current()}if(r.end=e.index,e.close(),e.stack.length<(e.lastAutoClosedTag?.depth??0))e.lastAutoClosedTag=void 0}function ua(e,t){let i=He(e,!1),{name:r}=i,a=Vt.get(r);if(!a&&r.startsWith("svelte:"))wi(i,ea);let s=ra(r);if(!s&&!na(r))Li(i);if(a?.[1]){if(e.metaTags.has(r))vi(t,r);if(e.current().type!=="Root")ki(t,r);e.metaTags.add(r)}let n={type:aa(e,r,s),start:t,end:-1,name:r};if(e.loc)n.name_loc=i.loc;n.attributes=[],n.fragment={type:"Fragment",nodes:[]},e.allowWhitespace();let u=e.current();if(u.type==="RegularElement"&&Mt(u.name,r))u.end=t,e.close(),e.lastAutoClosedTag={tag:u.name,reason:r,depth:e.stack.length};let l=(r==="script"||r==="style")&&e.current().type==="Root";if(fa(e,n.attributes,l),n.type==="SvelteComponent"){let c=Qs(n);if(!c)gi(t);if(!Ys(c.value))xi(c.start);n.expression=Zs(c.value)}else if(n.type==="SvelteElement"){let c=Qs(n);if(!c)tt(t);if(c.value===!0)tt(c);n.tag=Ys(c.value)?Zs(c.value):pa(c.value[0])}if(l){ca(e,n,t);return}if(!e.eat("/")&&!tr(r))if(e.eat(">",!0),r==="textarea")n.fragment.nodes=rr(e,(c,h)=>(Bt.lastIndex=h,Bt.test(c)),"inside <textarea>"),e.read(Bt);else if(r==="script"||r==="style")n.fragment.nodes.push(la(e,`</${r}>`));else{e.open(n,n.fragment);return}else e.eat(">",!0);n.end=e.index,e.append(n)}function la(e,t){let i=e.index,r=e.source.indexOf(t,i);e.index=r===-1?e.source.length:r;let a=ye(i,e.index,e.source.slice(i,e.index));return e.eat(t,!0),a}function ca(e,t,i){e.eat(">",!0);let r=t.attributes,a=ha(e.root.fragment.nodes,i);if(t.name==="style"){let u=Vs(e,i,r);if(u.content.comment=a,e.root.css)bi(i);e.root.css=u;return}let s=Ls(e,i,r);if(a)s.content.leadingComments=[{type:"Line",value:a.data}];let n=s.context==="module"?"module":"instance";if(e.root[n])pi(i);e.root[n]=s}function ha(e,t){let i=e.length-1;if(i<0||e[i].end!==t)return null;for(let r=i;r>=0;r--){let a=e[r];if(a.type==="Comment")return a;if(a.type!=="Text"||a.data.trim())return null}return null}function Qs(e){let t=e.attributes,i=t.findIndex((r)=>r.type==="Attribute"&&r.name==="this");return i===-1?void 0:t.splice(i,1)[0]}function Ys(e){if(e===!0)return!1;if(!Array.isArray(e))return!0;return e.length===1&&e[0].type==="ExpressionTag"}function Zs(e){return(Array.isArray(e)?e[0]:e).expression}function pa(e){if(e.type!=="Text")return e.expression;return{type:"Literal",value:e.data,raw:`'${e.raw}'`,start:e.start,end:e.end}}function fa(e,t,i){let r=new Set;for(;;){let a=i?da(e):ba(e);if(!a)return;let{type:s}=a;if(s==="Attribute"||s==="BindDirective"||s==="StyleDirective"||s==="ClassDirective"){let n=`${s==="BindDirective"?"Attribute":s}${a.name}`;if(r.has(n))zt(a);if(a.name!=="this")r.add(n)}t.push(a),e.allowWhitespace()}}function Ft(e,t,i,r,a){let s={type:"Attribute",start:i,end:r,name:t.name};if(e.loc)s.name_loc=t.loc;return s.value=a,s}function sr(e){if(ue(e.source.charCodeAt(e.index)))B(e.index,"=")}function da(e){let t=e.index,i=He(e,!0);if(!i.name)return null;let r=!0;if(e.eat("=")){e.allowWhitespace();let{source:a}=e,s=e.index,n=-1;if(ue(a.charCodeAt(s))){let c=a.indexOf(a[s],s+1);if(c!==-1)n=c+1}if(n===-1){n=s;while(n<a.length&&a.charCodeAt(n)!==Ge&&!z(a.charCodeAt(n)))n++;if(n===s)Je(s)}e.index=n;let u=ue(a.charCodeAt(s))?1:0,l=a.slice(s+u,n-u);r=[ye(n-l.length-u,n-u,l,ge(l,!0))]}return sr(e),Ft(e,i,t,e.index,r)}function ma(e){let t=e.index,i=e.match("/*");if(!i&&!e.match("//"))return!1;e.index+=2;let r=e.readUntil(i?"*/":`
64
- `);if(i)e.eat("*/");let a={type:i?"Block":"Line",start:t,end:e.index,value:r},s=e.sourceLocation(t,e.index);if(s)a.loc=s;return e.root.comments.push(a),!0}function ba(e){while(ma(e))e.allowWhitespace();let t=e.index;if(e.eat("{"))return xa(e,t);let i=He(e,!0);if(!i.name)return null;let r=e.index;e.allowWhitespace();let a=!0;if(e.eat("=")){if(e.allowWhitespace(),e.match("/>"))a=[ye(e.index,e.index+1,"/")],e.index++;else a=va(e);r=e.index}else sr(e);let s=i.name.indexOf(":"),n=s>0?Jn.get(i.name.slice(0,s)):void 0;return n?ga(e,n,i,s,t,r,a):Ft(e,i,t,r,a)}function xa(e,t){if(e.allowWhitespace(),e.eat("@attach")){e.requireWhitespace();let a=C(e);return e.eatClosingBrace(),{type:"AttachTag",start:t,end:e.index,expression:a}}if(e.eat("...")){let a=C(e);return e.eatClosingBrace(),{type:"SpreadAttribute",start:t,end:e.index,expression:a}}let i=e.readIdentifierName();if(i.name==="")Wt(t);e.eatClosingBrace();let r={type:"ExpressionTag",start:i.start,end:i.end,expression:i};return Ft(e,i,t,e.index,r)}function ga(e,t,i,r,a,s,n){let[u,...l]=i.name.slice(r+1).split("|");if(u==="")si({start:a,end:a+r+1},i.name);let c={start:a,end:s,type:t,name:u};if(e.loc)c.name_loc=i.loc;if(c.type==="StyleDirective")return c.modifiers=l,c.value=n,c;let h=n===!0?void 0:Array.isArray(n)?n[0]:n;if(h&&(Array.isArray(n)&&n.length>1||h.type==="Text"))ii(h.start);let p=c;if(p.expression=h?.expression??null,p.modifiers=l,c.type==="TransitionDirective"){let f=i.name.slice(0,r);c.intro=f!=="out",c.outro=f!=="in"}if((t==="BindDirective"||t==="ClassDirective")&&!p.expression)p.expression={start:a+r+1,end:s,type:"Identifier",name:u};return c}function va(e){let t=e.source.charCodeAt(e.index),i=ue(t);if(i){if(e.index++,e.source.charCodeAt(e.index)===t)return e.index++,[ye(e.index-1,e.index-1,"")]}let r;try{r=rr(e,i?(a,s)=>a.charCodeAt(s)===t:ya,"in attribute value",i?t:void 0)}catch(a){let s=a.position?.[0];if(a.code==="js_parse_error"&&s!==void 0&&e.source.startsWith("/>",s-1))e.index=s,B(s,i?String.fromCharCode(t):"}");throw a}if(i)e.index++;else if(r.length===0)Je(e.index);return i||r.length>1||r[0].type==="Text"?r:r[0]}function ya(e,t){let i=e.charCodeAt(t);return z(i)||ue(i)||i===er||i===60||i===Ge||i===96||i===Js&&e.charCodeAt(t+1)===Ge}function rr(e,t,i,r){let{source:a}=e,s=[],n=e.index,u=(l)=>{if(l<=n)return;let c=a.slice(n,l);s.push(ye(n,l,c,ge(c,!0)))};while(e.index<a.length){let l=e.index;if(t(a,l))return u(l),s;if(a.charCodeAt(l)!==Ks){if(e.index++,r!==void 0)while(e.index<a.length&&a.charCodeAt(e.index)!==Ks&&a.charCodeAt(e.index)!==r)e.index++;continue}e.index++;let c=a.charCodeAt(e.index);if(c===35||c===64){e.index++;let p=e.index;while(e.index<a.length&&a.charCodeAt(e.index)>=97&&a.charCodeAt(e.index)<=122)e.index++;let f=a.slice(p,e.index);(c===35?Xt:Pi)(l,f,i)}u(l),e.allowWhitespace();let h=C(e);e.eatClosingBrace(),s.push({type:"ExpressionTag",start:l,end:e.index,expression:h}),n=e.index}N(a.length)}var ka=new Map([["html","html"],["svg","svg"],["mathml","mathml"],["http://www.w3.org/2000/svg","svg"],["http://www.w3.org/1998/Math/MathML","mathml"]]),wa=new Map([["type",(e)=>e==="String"||e==="Number"||e==="Boolean"||e==="Array"||e==="Object"],["reflect",(e)=>typeof e==="boolean"],["attribute",(e)=>typeof e==="string"]]),nr="[a-z0-9_.\\xB7\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u{10000}-\\u{EFFFF}-]",Sa=new RegExp(`^[a-z]${nr}*-${nr}*$`,"u"),Aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ")),Ke=(e)=>(t,i)=>{let r=Xe(i);if(typeof r!=="boolean")Ee(i,"true or false");t[e]=r},_a=new Map([["runes",Ke("runes")],["immutable",Ke("immutable")],["preserveWhitespace",Ke("preserveWhitespace")],["accessors",Ke("accessors")],["namespace",(e,t)=>{let i=ka.get(Xe(t));if(!i)Ee(t,'"html", "mathml" or "svg"');e.namespace=i}],["css",(e,t)=>{if(Xe(t)!=="injected")Ee(t,'"injected"');e.css="injected"}],["tag",(e,t)=>Si(t)],["customElement",(e,t)=>{let i=Ta(t);if(i)e.customElement=i}]]);function or(e){let t={start:e.start,end:e.end,attributes:e.attributes};for(let i of e.attributes){if(i.type!=="Attribute")Ai(i);let r=_a.get(i.name);if(!r)Ni(i,i.name);r(t,i)}return t}function Xe({value:e}){if(e===!0)return!0;let t=Array.isArray(e)?e:[e];if(t.length===0)return!0;if(t.length>1)return null;let[i]=t;if(i.type==="Text")return i.data;return i.expression.type==="Literal"?i.expression.value:null}function ar(e,t){if(typeof t!=="string")it(e);if(!t)return;if(!Sa.test(t))it(e);if(Aa.has(t))Ci(e)}function Ea(e,t){let i=new Map;for(let r of e.properties){if(r.type!=="Property"||r.computed||r.key.type!=="Identifier")t();if(!i.has(r.key.name))i.set(r.key.name,r.value)}return i}function Ta(e){let t=()=>_i(e);if(e.value===!0)t();let i=Array.isArray(e.value)?e.value[0]:e.value;if(i.type==="Text"){let c=Xe(e);return ar(e,c),{tag:c}}let{expression:r}=i;if(r.type!=="ObjectExpression"){if(r.type==="Literal"&&r.value===null)return;t()}let a=Ea(r,t),s={};if(a.has("tag")){let c=a.get("tag").value;ar(null,c),s.tag=c}let n=a.get("props");if(n){let c=()=>Ei(e);if(n.type!=="ObjectExpression")c();s.props={};for(let h of n.properties){if(h.type!=="Property"||h.computed||h.key.type!=="Identifier"||h.value.type!=="ObjectExpression")c();let p={};s.props[h.key.name]=p;for(let f of h.value.properties){if(f.type!=="Property"||f.computed||f.key.type!=="Identifier"||f.value.type!=="Literal")c();let x=f.value.value;if(!wa.get(f.key.name)?.(x))c();p[f.key.name]=x}}}let u=a.get("shadow");if(u)if(u.type==="ObjectExpression")s.shadow=u;else if(u.type==="Literal"&&(u.value==="open"||u.value==="none"))s.shadow=u.value;else Ti(e);let l=a.get("extend");if(l)s.extend=l;return s}var Ca={"{":"}","(":")","[":"]"};function ke(e,t,i=Ca){let r=Object.values(i),a=[],s=t;while(s<e.length){let n=e[s++];if(n==="'"||n==='"'||n==="`")s=Na(e,s,n);else if(Object.hasOwn(i,n))a.push(n);else if(r.includes(n)){let u=i[a.pop()];if(n!==u)B(s-1,u);if(a.length===0)return s}}N(e.length)}function Na(e,t,i){let r=t;while(r<e.length){let a=e[r++];if(a===i)return r;if(a==="\\")r++;else if(i==="`"&&a==="$"&&e[r]==="{")r=ke(e,r)}Ii(t)}var La=/\?\s*:/g;function le(e){let t=e.index,i=e.readIdentifierName();if(i.name!==""){let u=ur(e);return{...i,typeAnnotation:u}}let r=e.source[e.index];if(r!=="{"&&r!=="[")oi(e.index);e.index=ke(e.source,t);let{node:a}=H(e,`${e.source.slice(0,e.index)} = 1`,t),s=a.left,n=ur(e);if(s.typeAnnotation=n,n)s.end=n.end;return s}function ur(e){let t=e.index;if(e.allowWhitespace(),!e.eat(":")){e.index=t;return}let i="_ as ",r=e.index-i.length,a=e.source.slice(0,r)+i+e.source.slice(e.index).replace(La,":"),s=H(e,a,r).node;if(s.type==="AssignmentExpression"){let n=s.right.start;while(a[n]!=="=")n-=1;s=H(e,a.slice(0,n),r).node}if(s.type==="SequenceExpression")s=s.expressions[0];return e.index=s.end,{type:"TSTypeAnnotation",start:t,end:e.index,typeAnnotation:s.typeAnnotation}}var Pa=/\s*}/y,qa={IfBlock:"if",EachBlock:"each",KeyBlock:"key",AwaitBlock:"await",SnippetBlock:"snippet"},W=()=>({type:"Fragment",nodes:[]});function cr(e,t){if(e.eat("if")){e.requireWhitespace();let i=C(e);e.eatClosingBrace();let r=W();e.open({type:"IfBlock",elseif:!1,start:t,end:-1,test:i,consequent:r,alternate:null},r)}else if(e.eat("each"))Ia(e,t);else if(e.eat("await")){e.requireWhitespace();let i=C(e);e.allowWhitespace();let r={type:"AwaitBlock",start:t,end:-1,expression:i,value:null,error:null,pending:null,then:null,catch:null},a=W();if(e.eat("then"))r.value=lr(e),r.then=a;else if(e.eat("catch"))r.error=lr(e),r.catch=a;else r.pending=a;e.eat("}",!0),e.open(r,a)}else if(e.eat("key")){e.requireWhitespace();let i=C(e);e.eatClosingBrace();let r=W();e.open({type:"KeyBlock",start:t,end:-1,expression:i,fragment:r},r)}else if(e.eat("snippet"))$a(e,t);else ai(e.index)}function lr(e){if(e.matchRegex(Pa))return e.allowWhitespace(),null;e.requireWhitespace();let t=le(e);return e.allowWhitespace(),t}function Ia(e,t){e.requireWhitespace();let i=e.source,r;while(!r)try{r=C(e)}catch(l){let c=(l.position?.[0]??t)-2;while(c>t&&e.source.slice(c,c+2)!=="as")c-=1;if(c<=t)throw e.source=i,l;e.source=i.slice(0,c)}if(e.source=i,e.allowWhitespace(),!e.match("as")){if(r.type==="SequenceExpression")r=r.expressions[0];let l=r,c=null,h=l.end,p=(x)=>{if(x.type==="TSAsExpression"&&x.end===l.end)return c=x,h=x.expression.end,x.expression;return At(x,p),x},f=p(l);if(f.end=h,r=f,c){let x=c.typeAnnotation.start-2;while(e.source.slice(x,x+2)!=="as")x-=1;e.index=x}}let a=null,s,n;if(e.eat("as"))e.requireWhitespace(),a=le(e);else e.index=r.end;if(e.allowWhitespace(),e.eat(",")){if(e.allowWhitespace(),s=e.readIdentifierName().name,!s)et(e.index);e.allowWhitespace()}if(e.eat("("))e.allowWhitespace(),n=C(e),e.allowWhitespace(),e.eat(")",!0),e.allowWhitespace();e.eat("}",!0);let u=W();e.open({type:"EachBlock",start:t,end:-1,expression:r,body:u,context:a,index:s,key:n},u)}function $a(e,t){e.requireWhitespace();let i=e.readIdentifierName();if(i.name==="")et(e.index);e.allowWhitespace();let r=e.index,a;if(e.isTypeScript&&e.match("<")){let c=ke(e.source,r,{"<":">"});a=e.source.slice(r+1,c-1),e.index=c}e.allowWhitespace(),e.eat("(",!0);let s=1;while(e.index<e.source.length&&(!e.match(")")||s!==1)){if(e.match("("))s++;if(e.match(")"))s--;e.index+=1}e.eat(")",!0);let{node:n}=H(e,`${e.source.slice(0,e.index)} => {}`,r,!0),u=n.params;e.eatClosingBrace();let l=W();e.open({type:"SnippetBlock",start:t,end:-1,expression:i,typeParams:a,parameters:u,body:l},l)}function hr(e,t){let i=e.index-1,r=e.current();if(r.type==="IfBlock"){if(!e.eat("else"))B(i,"{:else} or {:else if}");if(e.eat("if"))Kt(i);if(e.allowWhitespace(),r.alternate=W(),e.setFragment(r.alternate),e.eat("if")){e.requireWhitespace();let a=C(e);e.eatClosingBrace();let s=W();e.open({start:t,end:-1,type:"IfBlock",elseif:!0,test:a,consequent:s,alternate:null},s)}else e.eatClosingBrace()}else if(r.type==="EachBlock"){if(!e.eat("else"))B(i,"{:else}");e.eatClosingBrace(),r.fallback=W(),e.setFragment(r.fallback)}else if(r.type==="AwaitBlock"){let a=e.eat("then")?"then":e.eat("catch")?"catch":B(i,"{:then ...} or {:catch ...}");if(r[a])Gt(i,`{:${a}}`);if(!e.eat("}")){e.requireWhitespace();let n=le(e);if(a==="then")r.value=n;else r.error=n;e.eatClosingBrace()}let s=W();r[a]=s,e.setFragment(s)}else Ht(i)}function pr(e){let t=e.current(),i=qa[t.type];if(!i)Yt(e.index-1);e.eat(i,!0),e.eatClosingBrace();while(t.type==="IfBlock"&&t.elseif)t.end=e.index,e.close(),t=e.current();t.end=e.index,e.close()}var Ra=/\s*}/y;function fr(e,t){if(e.eat("html")){e.requireWhitespace();let i=C(e);e.eatClosingBrace(),e.append({type:"HtmlTag",start:t,end:e.index,expression:i})}else if(e.eat("debug")){let i=[];if(!e.read(Ra)){let r=C(e);i=r.type==="SequenceExpression"?r.expressions:[r];for(let a of i)if(a.type!=="Identifier")ti(a.start);e.eatClosingBrace()}e.append({type:"DebugTag",start:t,end:e.index,identifiers:i})}else if(e.eat("const")){e.requireWhitespace();let i=le(e);e.allowWhitespace(),e.eat("=",!0),e.allowWhitespace();let r=e.index,a=C(e),s=e.index;if(a.type==="SequenceExpression"&&!e.source.substring(r,a.start).includes("("))Zt(a);e.eatClosingBrace();let n={type:"VariableDeclarator",id:i,init:a,start:i.start,end:s};e.append({type:"ConstTag",start:t,end:e.index,declaration:{type:"VariableDeclaration",kind:"const",declarations:[n],start:t+2,end:e.index-1}})}else if(e.eat("render")){e.requireWhitespace();let i=C(e);if(i.type!=="CallExpression"&&(i.type!=="ChainExpression"||i.expression.type!=="CallExpression"))hi(i);e.eatClosingBrace(),e.append({type:"RenderTag",start:t,end:e.index,expression:i})}else ui(e.index)}var Oa=/(?:var|interface|enum)\b/y,Da=/(?:let|const|type)\b/y;function dr(e){let t=e.index;if(e.index+=1,e.allowWhitespace(),e.eat("#"))cr(e,t);else if(e.eat(":"))hr(e,t);else if(e.eat("@"))fr(e,t);else if(e.match("/")&&!e.match("/*")&&!e.match("//"))e.index+=1,pr(e);else if(!Ba(e,t)){let i=C(e);e.eatClosingBrace(),e.append({type:"ExpressionTag",start:t,end:e.index,expression:i})}}function Ba(e,t){let i=e.index,r=e.matchRegex(Oa);if(r)Ze({start:i,end:i+r.length});if(!e.matchRegex(Da))return!1;let a=e.root.comments.length,s=ws(e,e.source,i);if(s.type==="ExpressionStatement")return e.root.comments.length=a,!1;if(s.kind!=="let"&&s.kind!=="const")Ze(s);return e.index=s.end,e.eatClosingBrace(),e.append({type:"DeclarationTag",start:t,end:e.index,declaration:s}),!0}function br(e){let{source:t,index:i}=e;if(e.nextAngle<i)e.nextAngle=mr(t,"<",i);if(e.nextBrace<i)e.nextBrace=mr(t,"{",i);let r=Math.min(e.nextAngle,e.nextBrace);e.index=r;let a=t.slice(i,r);e.append({type:"Text",start:i,end:r,raw:a,data:ge(a,!1)})}function mr(e,t,i){let r=e.indexOf(t,i);return r===-1?e.length:r}function Va(e,t){let i=e.charCodeAt(0)===65279?e.slice(1):e;Ae(i);let r=new Tt(i.trimEnd(),i.length,t);while(r.index<r.source.length)if(r.match("<"))ir(r);else if(r.match("{"))dr(r);else br(r);if(r.stack.length>1){let s=r.current();if(s.end=s.start+1,s.type==="RegularElement")_e(s,s.name);Qt(s)}let a=r.root.fragment.nodes.findIndex((s)=>s.type==="SvelteOptions");if(a!==-1){let[s]=r.root.fragment.nodes.splice(a,1),n=s;r.root.options=or(n);let{nodes:u}=n.fragment;if(u.length>0)yi({start:u[0].start,end:u[u.length-1].end},n.name)}return r.root}function Fa(e,t={}){return Ae(e),Fe({isTypeScript:t.typescript??!1,loc:t.loc??!1,root:{comments:[]}},e)}export{m as ParseError,Va as parse,Fa as parseModule};
1
+ import{isValidType as t}from"./is-valid-type.js";import{parse as o}from"./parse.js";import{ParseError as y,parseModule as a}from"./parse-module.js";export{y as ParseError,t as isValidType,o as parse,a as parseModule};
@@ -0,0 +1 @@
1
+ import{i,f}from"./shared-xbh87rns.js";var t=i.extend(f);function a(e){let o=new t({ecmaVersion:16,sourceType:"module"},e);try{return o.parseWholeType(),!0}catch(r){if(r instanceof SyntaxError)return!1;throw r}}export{a as isValidType};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveast",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "license": "MIT",
5
5
  "description": "Zero-dependency Svelte 5 parser, TypeScript included, with svelte/compiler's exact AST, 2-3x faster.",
6
6
  "author": "Eric Liu (https://github.com/metonym)",
@@ -0,0 +1 @@
1
+ import"./shared-xbh87rns.js";import{h,t,p}from"./shared-rhdkc546.js";function s(r,o={}){return h(r),p({isTypeScript:o.typescript??!1,loc:o.loc??!1,root:{comments:[]}},r)}export{t as ParseError,s as parseModule};