diff --git a/CONTRIBUTORS.svg b/CONTRIBUTORS.svg index 15bc6d8f..8192958b 100644 --- a/CONTRIBUTORS.svg +++ b/CONTRIBUTORS.svg @@ -9,7 +9,7 @@ - + diff --git a/asset-manifest.json b/asset-manifest.json index 27b23d2e..71f1e274 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,25 +1,25 @@ { "files": { - "main.css": "/static/css/main.94b5c0a4.css", - "main.js": "/static/js/main.25866c7b.js", + "main.css": "/static/css/main.316054d1.css", + "main.js": "/static/js/main.b48c80ce.js", "refractor-prismjs-vendor.js": "/static/js/refractor-prismjs-vendor.a6176727.js", "micromark-vendor.js": "/static/js/micromark-vendor.b136d0ae.js", - "parse5-vendor.js": "/static/js/parse5-vendor.06d64cd5.js", + "parse5-vendor.js": "/static/js/parse5-vendor.359035f3.js", "react-vendor.js": "/static/js/react-vendor.5af0076e.js", "index.html": "/index.html", - "main.94b5c0a4.css.map": "/static/css/main.94b5c0a4.css.map", - "main.25866c7b.js.map": "/static/js/main.25866c7b.js.map", + "main.316054d1.css.map": "/static/css/main.316054d1.css.map", + "main.b48c80ce.js.map": "/static/js/main.b48c80ce.js.map", "refractor-prismjs-vendor.a6176727.js.map": "/static/js/refractor-prismjs-vendor.a6176727.js.map", "micromark-vendor.b136d0ae.js.map": "/static/js/micromark-vendor.b136d0ae.js.map", - "parse5-vendor.06d64cd5.js.map": "/static/js/parse5-vendor.06d64cd5.js.map", + "parse5-vendor.359035f3.js.map": "/static/js/parse5-vendor.359035f3.js.map", "react-vendor.5af0076e.js.map": "/static/js/react-vendor.5af0076e.js.map" }, "entrypoints": [ "static/js/refractor-prismjs-vendor.a6176727.js", "static/js/micromark-vendor.b136d0ae.js", - "static/js/parse5-vendor.06d64cd5.js", + "static/js/parse5-vendor.359035f3.js", "static/js/react-vendor.5af0076e.js", - "static/css/main.94b5c0a4.css", - "static/js/main.25866c7b.js" + "static/css/main.316054d1.css", + "static/js/main.b48c80ce.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 4fd5304e..9c20fd5d 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -HeatMap for React.
\ No newline at end of file +HeatMap for React.
\ No newline at end of file diff --git a/static/css/main.94b5c0a4.css b/static/css/main.316054d1.css similarity index 63% rename from static/css/main.94b5c0a4.css rename to static/css/main.316054d1.css index 64c52c5b..7790c640 100644 --- a/static/css/main.94b5c0a4.css +++ b/static/css/main.316054d1.css @@ -1,2 +1,2 @@ -.code-preview-layout[data-color-mode*=light],[data-color-mode*=light],body[data-color-mode*=light]{--color-canvas-subtle:#f6f8fa;--color-border-muted:#d8dee4}.code-preview-layout[data-color-mode*=dark],[data-color-mode*=dark],body[data-color-mode*=dark]{--color-canvas-subtle:#161b22;--color-border-muted:#21262d}.w-rcpl.w-bordered{border:1px solid var(--color-border-muted)}.w-rcpl.w-bordered>.w-rcpl-toolbar{border-top:1px solid var(--color-border-muted)}.w-rcpl.w-bordered>.w-rcpl-code:not(.w-hidden){border-radius:0 0 6px 6px;border-top:1px dashed var(--color-border-muted)}.w-rcpl{background-color:var(--color-canvas-subtle);border-radius:5px}.w-rcpl-preview:not(:last-child){border-radius:5px 5px 0 0}.w-rcpl-code.w-hidden{height:0;overflow:hidden;padding:0}.w-rcpl-code{border-top-left-radius:0;border-top-right-radius:0;height:auto;margin-bottom:0!important;overflow:auto;transition:height cubic-bezier(.36,0,.66,-.56)}.w-rcpl-code>*{margin:0!important;padding:0!important}.w-disable-checkered>.w-rcpl-preview{background-image:none}.w-rcpl-preview{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E")}.w-rcpl-code,.w-rcpl-preview{padding:15px}.w-rcpl-extra,.w-rcpl-title{align-items:center;display:flex}.w-rcpl-toolbar button svg{display:block;height:18px;opacity:.37;transition:opacity .3s}.w-rcpl-toolbar button svg:hover{opacity:1}.w-rcpl-toolbar button{background-color:transparent;border:0;box-sizing:border-box;color:currentColor;cursor:pointer;display:inline-block;height:inherit;outline:none;padding:3px 4px;position:relative;transition:opacity .2s,background .2s}.w-rcpl-toolbar{display:flex;justify-content:space-between;padding:5px 5px 5px 8px}@media (prefers-color-scheme:dark){.wmde-markdown,.wmde-markdown-var{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;--color-danger-emphasis:#da3633;--color-attention-fg:#d29922;--color-attention-emphasis:#9e6a03;--color-done-fg:#a371f7;--color-done-emphasis:#8957e5;--color-success-fg:#3fb950;--color-success-emphasis:#238636;--color-copied-active-bg:#2e9b33;color-scheme:dark}}@media (prefers-color-scheme:light){.wmde-markdown,.wmde-markdown-var{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#d1242f;--color-danger-emphasis:#cf222e;--color-attention-fg:#9a6700;--color-attention-emphasis:#9a6700;--color-done-fg:#8250df;--color-done-emphasis:#8250df;--color-success-fg:#1a7f37;--color-success-emphasis:#1f883d;--color-copied-active-bg:#2e9b33;color-scheme:light}}.wmde-markdown-var[data-color-mode*=dark],.wmde-markdown[data-color-mode*=dark],[data-color-mode*=dark] .wmde-markdown,[data-color-mode*=dark] .wmde-markdown-var,body[data-color-mode*=dark]{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}.wmde-markdown-var[data-color-mode*=light],.wmde-markdown[data-color-mode*=light],[data-color-mode*=light] .wmde-markdown,[data-color-mode*=light] .wmde-markdown-var,body[data-color-mode*=light]{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}.wmde-markdown{-webkit-text-size-adjust:100%;word-wrap:break-word;background-color:var(--color-canvas-default);color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5}.wmde-markdown details,.wmde-markdown figcaption,.wmde-markdown figure{display:block}.wmde-markdown summary{display:list-item}.wmde-markdown [hidden]{display:none!important}.wmde-markdown a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.wmde-markdown a:active,.wmde-markdown a:hover{outline-width:0}.wmde-markdown abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wmde-markdown b,.wmde-markdown strong{font-weight:600}.wmde-markdown dfn{font-style:italic}.wmde-markdown h1{border-bottom:1px solid var(--color-border-muted);font-size:2em;font-weight:600;margin:.67em 0;padding-bottom:.3em}.wmde-markdown mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.wmde-markdown small{font-size:90%}.wmde-markdown sub,.wmde-markdown sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.wmde-markdown sub{bottom:-.25em}.wmde-markdown sup{top:-.5em}.wmde-markdown img{background-color:var(--color-canvas-default);border-style:none;box-sizing:content-box;display:inline-block;max-width:100%}.wmde-markdown code,.wmde-markdown kbd,.wmde-markdown pre,.wmde-markdown samp{font-family:monospace,monospace;font-size:1em}.wmde-markdown figure{margin:1em 40px}.wmde-markdown hr{background:transparent;background-color:var(--color-border-default);border:0;border-bottom:1px solid var(--color-border-muted);box-sizing:content-box;height:.25em;margin:24px 0;overflow:hidden;padding:0}.wmde-markdown input{font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible}.wmde-markdown [type=button],.wmde-markdown [type=reset],.wmde-markdown [type=submit]{-webkit-appearance:button}.wmde-markdown [type=button]::-moz-focus-inner,.wmde-markdown [type=reset]::-moz-focus-inner,.wmde-markdown [type=submit]::-moz-focus-inner{border-style:none;padding:0}.wmde-markdown [type=button]:-moz-focusring,.wmde-markdown [type=reset]:-moz-focusring,.wmde-markdown [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.wmde-markdown [type=checkbox],.wmde-markdown [type=radio]{box-sizing:border-box;padding:0}.wmde-markdown [type=number]::-webkit-inner-spin-button,.wmde-markdown [type=number]::-webkit-outer-spin-button{height:auto}.wmde-markdown [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.wmde-markdown [type=search]::-webkit-search-cancel-button,.wmde-markdown [type=search]::-webkit-search-decoration{-webkit-appearance:none}.wmde-markdown ::-webkit-input-placeholder{color:inherit;opacity:.54}.wmde-markdown ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.wmde-markdown a:hover{text-decoration:underline}.wmde-markdown hr:after,.wmde-markdown hr:before{content:"";display:table}.wmde-markdown hr:after{clear:both}.wmde-markdown table{border-collapse:collapse;border-spacing:0;display:block;max-width:100%;width:-moz-max-content;width:max-content}.wmde-markdown td,.wmde-markdown th{padding:0}.wmde-markdown details summary{cursor:pointer}.wmde-markdown details:not([open])>:not(summary){display:none!important}.wmde-markdown kbd{background-color:var(--color-canvas-subtle);border-bottom-color:var(--color-neutral-muted);border:1px solid var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted);color:var(--color-fg-default);display:inline-block;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;padding:3px 5px;vertical-align:middle}.wmde-markdown h1,.wmde-markdown h2,.wmde-markdown h3,.wmde-markdown h4,.wmde-markdown h5,.wmde-markdown h6{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}.wmde-markdown h2{border-bottom:1px solid var(--color-border-muted);font-size:1.5em;font-weight:600;padding-bottom:.3em}.wmde-markdown h3{font-size:1.25em;font-weight:600}.wmde-markdown h4{font-size:1em;font-weight:600}.wmde-markdown h5{font-size:.875em;font-weight:600}.wmde-markdown h6{color:var(--color-fg-muted);font-size:.85em;font-weight:600}.wmde-markdown p{margin-bottom:10px;margin-top:0}.wmde-markdown blockquote{border-left:.25em solid var(--color-border-default);color:var(--color-fg-muted);margin:0;padding:0 1em}.wmde-markdown ol,.wmde-markdown ul{margin-bottom:0;margin-top:0;padding-left:2em}.wmde-markdown ol ol,.wmde-markdown ul ol{list-style-type:lower-roman}.wmde-markdown ol ol ol,.wmde-markdown ol ul ol,.wmde-markdown ul ol ol,.wmde-markdown ul ul ol{list-style-type:lower-alpha}.wmde-markdown dd{margin-left:0}.wmde-markdown code,.wmde-markdown pre,.wmde-markdown tt{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.wmde-markdown pre{word-wrap:normal;margin-bottom:0;margin-top:0}.wmde-markdown .octicon{fill:currentColor;display:inline-block;overflow:visible!important;vertical-align:text-bottom}.wmde-markdown ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown ::placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown input::-webkit-inner-spin-button,.wmde-markdown input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.wmde-markdown [data-catalyst]{display:block}.wmde-markdown:after,.wmde-markdown:before{content:"";display:table}.wmde-markdown:after{clear:both}.wmde-markdown>:first-child{margin-top:0!important}.wmde-markdown>:last-child{margin-bottom:0!important}.wmde-markdown a:not([href]){color:inherit;text-decoration:none}.wmde-markdown .absent{color:var(--color-danger-fg)}.wmde-markdown a.anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.wmde-markdown .anchor:focus{outline:none}.wmde-markdown blockquote,.wmde-markdown details,.wmde-markdown dl,.wmde-markdown ol,.wmde-markdown p,.wmde-markdown pre,.wmde-markdown table,.wmde-markdown ul{margin-bottom:16px;margin-top:0}.wmde-markdown blockquote>:first-child{margin-top:0}.wmde-markdown blockquote>:last-child{margin-bottom:0}.wmde-markdown sup>a:before{content:"["}.wmde-markdown sup>a:after{content:"]"}.wmde-markdown h1 .octicon-link,.wmde-markdown h2 .octicon-link,.wmde-markdown h3 .octicon-link,.wmde-markdown h4 .octicon-link,.wmde-markdown h5 .octicon-link,.wmde-markdown h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.wmde-markdown h1:hover .anchor,.wmde-markdown h2:hover .anchor,.wmde-markdown h3:hover .anchor,.wmde-markdown h4:hover .anchor,.wmde-markdown h5:hover .anchor,.wmde-markdown h6:hover .anchor{text-decoration:none}.wmde-markdown h1:hover .anchor .octicon-link,.wmde-markdown h2:hover .anchor .octicon-link,.wmde-markdown h3:hover .anchor .octicon-link,.wmde-markdown h4:hover .anchor .octicon-link,.wmde-markdown h5:hover .anchor .octicon-link,.wmde-markdown h6:hover .anchor .octicon-link{visibility:visible}.wmde-markdown h1 code,.wmde-markdown h1 tt,.wmde-markdown h2 code,.wmde-markdown h2 tt,.wmde-markdown h3 code,.wmde-markdown h3 tt,.wmde-markdown h4 code,.wmde-markdown h4 tt,.wmde-markdown h5 code,.wmde-markdown h5 tt,.wmde-markdown h6 code,.wmde-markdown h6 tt{font-size:inherit;padding:0 .2em}.wmde-markdown ol.no-list,.wmde-markdown ul.no-list{list-style-type:none;padding:0}.wmde-markdown ol[type="1"]{list-style-type:decimal}.wmde-markdown ol[type=a]{list-style-type:lower-alpha}.wmde-markdown ol[type=i]{list-style-type:lower-roman}.wmde-markdown div>ol:not([type]){list-style-type:decimal}.wmde-markdown ol ol,.wmde-markdown ol ul,.wmde-markdown ul ol,.wmde-markdown ul ul{margin-bottom:0;margin-top:0}.wmde-markdown li>p{margin-top:16px}.wmde-markdown li+li{margin-top:.25em}.wmde-markdown dl{padding:0}.wmde-markdown dl dt{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}.wmde-markdown dl dd{margin-bottom:16px;padding:0 16px}.wmde-markdown table th{font-weight:600}.wmde-markdown table td,.wmde-markdown table th{border:1px solid var(--color-border-default);padding:6px 13px}.wmde-markdown table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.wmde-markdown table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.wmde-markdown table img{background-color:transparent}.wmde-markdown img[align=right]{padding-left:20px}.wmde-markdown img[align=left]{padding-right:20px}.wmde-markdown .emoji{background-color:transparent;max-width:none;vertical-align:text-top}.wmde-markdown span.frame{display:block;overflow:hidden}.wmde-markdown span.frame>span{border:1px solid var(--color-border-default);display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.wmde-markdown span.frame span img{display:block;float:left}.wmde-markdown span.frame span span{clear:both;color:var(--color-fg-default);display:block;padding:5px 0 0}.wmde-markdown span.align-center{clear:both;display:block;overflow:hidden}.wmde-markdown span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.wmde-markdown span.align-center span img{margin:0 auto;text-align:center}.wmde-markdown span.align-right{clear:both;display:block;overflow:hidden}.wmde-markdown span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.wmde-markdown span.align-right span img{margin:0;text-align:right}.wmde-markdown span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.wmde-markdown span.float-left span{margin:13px 0 0}.wmde-markdown span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.wmde-markdown span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.wmde-markdown code,.wmde-markdown tt{background-color:var(--color-neutral-muted);border-radius:6px;font-size:85%;margin:0;padding:.2em .4em}.wmde-markdown code br,.wmde-markdown tt br{display:none}.wmde-markdown del code{text-decoration:inherit}.wmde-markdown pre code{font-size:100%}.wmde-markdown pre>code{background:transparent;border:0;margin:0;padding:0;white-space:pre;word-break:normal}.wmde-markdown pre{background-color:var(--color-canvas-subtle);border-radius:6px;font-size:85%;line-height:1.45}.wmde-markdown pre code,.wmde-markdown pre tt{word-wrap:normal;background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0}.wmde-markdown pre>code{display:block;overflow:auto;padding:16px}.wmde-markdown .csv-data td,.wmde-markdown .csv-data th{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.wmde-markdown .csv-data .blob-num{background:var(--color-canvas-default);border:0;padding:10px 8px 9px;text-align:right}.wmde-markdown .csv-data tr{border-top:0}.wmde-markdown .csv-data th{background:var(--color-canvas-subtle);border-top:0;font-weight:600}.wmde-markdown .footnotes{border-top:1px solid var(--color-border-default);color:var(--color-fg-muted);font-size:12px}.wmde-markdown .footnotes ol{padding-left:16px}.wmde-markdown .footnotes li{position:relative}.wmde-markdown .footnotes li:target:before{border:2px solid var(--color-accent-emphasis);border-radius:6px;bottom:-8px;content:"";left:-24px;pointer-events:none;position:absolute;right:-8px;top:-8px}.wmde-markdown .footnotes li:target{color:var(--color-fg-default)}.wmde-markdown .footnotes .data-footnote-backref g-emoji{font-family:monospace}.wmde-markdown .task-list-item{list-style-type:none}.wmde-markdown .task-list-item label{font-weight:400}.wmde-markdown .task-list-item.enabled label{cursor:pointer}.wmde-markdown .task-list-item+.wmde-markdown .task-list-item{margin-top:3px}.wmde-markdown .task-list-item .handle{display:none}.wmde-markdown .contains-task-list input[type=checkbox],.wmde-markdown .task-list-item-checkbox{margin:0 .2em .25em -1.6em;vertical-align:middle}.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,.wmde-markdown .contains-task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.wmde-markdown ::-webkit-calendar-picker-indicator{filter:invert(50%)}.wmde-markdown pre{position:relative}.wmde-markdown pre .copied{background:var(--color-border-default);border-radius:5px;color:var(--color-fg-default);cursor:pointer;display:flex;font-size:12px;padding:6px;position:absolute;right:6px;top:6px;transition:all .3s;visibility:hidden}.wmde-markdown pre .copied .octicon-copy{display:block}.wmde-markdown pre .copied .octicon-check{display:none}.wmde-markdown pre:hover .copied{visibility:visible}.wmde-markdown pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.wmde-markdown pre .copied.active,.wmde-markdown pre:hover .copied:active{background:var(--color-copied-active-bg);color:var(--color-canvas-default)}.wmde-markdown pre .active .octicon-copy{display:none}.wmde-markdown pre .active .octicon-check{display:block}.wmde-markdown .markdown-alert{border-left:.25em solid var(--borderColor-default,var(--color-border-default));color:inherit;margin-bottom:16px;padding:.5rem 1em}.wmde-markdown .markdown-alert>:last-child{margin-bottom:0!important}.wmde-markdown .markdown-alert .markdown-alert-title{align-items:center;display:flex;font-size:14px;font-weight:500;line-height:1}.wmde-markdown .markdown-alert .markdown-alert-title svg.octicon{margin-right:8px!important;margin-right:var(--base-size-8,8px)!important}.wmde-markdown .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis,var(--color-accent-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--color-accent-fg);color:var(--fgColor-accent,var(--color-accent-fg))}.wmde-markdown .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis,var(--color-success-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--color-success-fg);color:var(--fgColor-success,var(--color-success-fg))}.wmde-markdown .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis,var(--color-done-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--color-done-fg);color:var(--fgColor-done,var(--color-done-fg))}.wmde-markdown .markdown-alert.markdown-alert-warning{border-left-color:var(--borderColor-attention-emphasis,var(--color-attention-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--color-attention-fg);color:var(--fgColor-attention,var(--color-attention-fg))}.wmde-markdown .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis,var(--color-danger-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--color-danger-fg);color:var(--fgColor-danger,var(--color-danger-fg))}.wmde-markdown .highlight-line{background-color:var(--color-neutral-muted)}.wmde-markdown .code-line.line-number:before{color:var(--color-fg-subtle);content:attr(line);display:inline-block;margin-right:16px;text-align:right;white-space:nowrap;width:1rem}.wmde-markdown .token.cdata,.wmde-markdown .token.comment,.wmde-markdown .token.doctype,.wmde-markdown .token.prolog{color:var(--color-prettylights-syntax-comment)}.wmde-markdown .token.namespace{opacity:.7}.wmde-markdown .token.constant,.wmde-markdown .token.deleted,.wmde-markdown .token.property,.wmde-markdown .token.selector,.wmde-markdown .token.symbol,.wmde-markdown .token.tag{color:var(--color-prettylights-syntax-entity-tag)}.wmde-markdown .token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.wmde-markdown .token.attr-name,.wmde-markdown .token.boolean,.wmde-markdown .token.builtin,.wmde-markdown .token.char,.wmde-markdown .token.number,.wmde-markdown .token.operator,.wmde-markdown .token.property-access,.wmde-markdown .token.selector .token.class,.wmde-markdown .token.string{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.wmde-markdown .code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.wmde-markdown .token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.wmde-markdown .code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.wmde-markdown .token.variable{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .language-css .token.string,.wmde-markdown .style .token.string,.wmde-markdown .token.atrule,.wmde-markdown .token.attr-value,.wmde-markdown .token.class-name,.wmde-markdown .token.color,.wmde-markdown .token.entity,.wmde-markdown .token.function,.wmde-markdown .token.url{color:var(--color-prettylights-syntax-string)}.wmde-markdown .token.important,.wmde-markdown .token.keyword,.wmde-markdown .token.regex,.wmde-markdown .token.rule{color:var(--color-prettylights-syntax-keyword)}.wmde-markdown .token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.wmde-markdown .token.bold,.wmde-markdown .token.important{font-weight:700}.wmde-markdown .token.italic{font-style:italic}.wmde-markdown .token.entity{cursor:help}svg.w-heatmap rect:hover{stroke:rgba(0,0,0,.14);stroke:var(--rhm-rect-hover-stroke,rgba(0,0,0,.14));stroke-width:1px}svg.w-heatmap rect:active{fill:#196127;fill:var(--rhm-rect-active,#196127);stroke-width:0}.w-overlay{-webkit-overflow-scrolling:touch;bottom:0;display:none;height:100%;left:0;outline:0;overflow:auto;position:fixed;right:0;text-align:center;top:0;width:100%;z-index:999}.w-overlay.open{z-index:9999}.w-overlay-open{overflow:hidden}.w-overlay-content{display:inline-block;margin:20px 0;outline:0;position:relative;text-align:left;vertical-align:middle;z-index:20}.w-overlay-inline{overflow:visible;overflow:initial;position:absolute}.w-overlay-inline .w-overlay-container{position:relative}.w-overlay-inline .w-overlay-backdrop{position:absolute}.w-overlay-container{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:0;z-index:99999}.w-overlay-container:before{content:" ";display:inline-block;height:100%;vertical-align:middle;width:1px}.w-overlay-backdrop{background-color:rgba(16,22,26,.7);bottom:0;left:0;opacity:1;overflow:auto;position:fixed;right:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:20}.w-overlay-enter .w-overlay-backdrop{opacity:0}.w-overlay-enter-active .w-overlay-backdrop{opacity:1;transition:opacity .3s ease-in}.w-overlay-exit .w-overlay-backdrop{opacity:1}.w-overlay-exit-active .w-overlay-backdrop{opacity:0;transition:opacity .3s ease-in}.w-overlay-enter .w-overlay-content{opacity:0;transform:scale(.5)}.w-overlay-enter-active .w-overlay-content,.w-overlay-exit .w-overlay-content{opacity:1;transform:translate(0);transition:transform .3s ease,opacity .3s ease}.w-overlay-exit-active .w-overlay-content{opacity:0;transform:scale(.5)}.w-overlay-enter,.w-overlay-enter-done,.w-overlay-exit{display:inherit}.w-overlay.w-overlay-trigger{bottom:auto;height:auto;left:auto;overflow:inherit;position:absolute;right:auto;top:auto;width:auto}.w-overlay.w-overlay-trigger .w-overlay-container{overflow:inherit;position:relative}.w-overlay.w-overlay-trigger .w-overlay-container:before{display:none}.w-overlay.w-overlay-trigger .w-overlay-content{margin:0}.w-overlay.w-overlay-trigger.rightTop .w-overlay-content{transform-origin:left top}.w-overlay.w-overlay-trigger.right .w-overlay-content{transform-origin:left center}.w-overlay.w-overlay-trigger.rightBottom .w-overlay-content{transform-origin:left bottom}.w-overlay.w-overlay-trigger.topLeft .w-overlay-content{transform-origin:bottom left}.w-overlay.w-overlay-trigger.top .w-overlay-content{transform-origin:bottom center}.w-overlay.w-overlay-trigger.topRight .w-overlay-content{transform-origin:bottom right}.w-overlay.w-overlay-trigger.leftTop .w-overlay-content{transform-origin:right top}.w-overlay.w-overlay-trigger.left .w-overlay-content{transform-origin:right center}.w-overlay.w-overlay-trigger.leftBottom .w-overlay-content{transform-origin:right bottom}.w-overlay.w-overlay-trigger.bottomLeft .w-overlay-content{transform-origin:top left}.w-overlay.w-overlay-trigger.bottom .w-overlay-content{transform-origin:top center}.w-overlay.w-overlay-trigger.bottomRight .w-overlay-content{transform-origin:top right}.w-overlay-trigger-disabled{cursor:not-allowed}.w-tooltip{display:inline-block;position:relative}.w-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.w-tooltip-inner{background-color:rgba(0,0,0,.75);border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);color:#fff;display:block;font-size:12px;max-width:250px;padding:5px 10px;text-align:left;text-decoration:none;word-break:break-all}.w-tooltip.right .w-tooltip-arrow,.w-tooltip.rightBottom .w-tooltip-arrow,.w-tooltip.rightTop .w-tooltip-arrow{border-right-color:rgba(0,0,0,.75);border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.w-tooltip.left .w-tooltip-arrow,.w-tooltip.leftBottom .w-tooltip-arrow,.w-tooltip.leftTop .w-tooltip-arrow{border-left-color:rgba(0,0,0,.75);border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.w-tooltip.leftTop .w-tooltip-arrow,.w-tooltip.rightTop .w-tooltip-arrow{top:15px}.w-tooltip.leftBottom .w-tooltip-arrow,.w-tooltip.rightBottom .w-tooltip-arrow{bottom:10px;top:auto}.w-tooltip.top .w-tooltip-arrow,.w-tooltip.topLeft .w-tooltip-arrow,.w-tooltip.topRight .w-tooltip-arrow{border-top-color:rgba(0,0,0,.75);border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.w-tooltip.bottom .w-tooltip-arrow,.w-tooltip.bottomLeft .w-tooltip-arrow,.w-tooltip.bottomRight .w-tooltip-arrow{border-bottom-color:rgba(0,0,0,.75);border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.w-tooltip.bottomLeft .w-tooltip-arrow,.w-tooltip.topLeft .w-tooltip-arrow{left:15px}.w-tooltip.bottomRight .w-tooltip-arrow,.w-tooltip.topRight .w-tooltip-arrow{left:auto;right:10px}.w-tooltip.bottom,.w-tooltip.bottomLeft,.w-tooltip.bottomRight{padding-top:5px}.w-tooltip.top,.w-tooltip.topLeft,.w-tooltip.topRight{padding-bottom:5px}.w-tooltip.right,.w-tooltip.rightBottom,.w-tooltip.rightTop{padding-left:5px}.w-tooltip.left,.w-tooltip.leftBottom,.w-tooltip.leftTop{padding-right:5px}.w-tooltip.no-arrow{padding:0!important} -/*# sourceMappingURL=main.94b5c0a4.css.map*/ \ No newline at end of file +.code-preview-layout[data-color-mode*=light],[data-color-mode*=light],body[data-color-mode*=light]{--color-canvas-subtle:#f6f8fa;--color-border-muted:#d8dee4}.code-preview-layout[data-color-mode*=dark],[data-color-mode*=dark],body[data-color-mode*=dark]{--color-canvas-subtle:#161b22;--color-border-muted:#21262d}.w-rcpl.w-bordered{border:1px solid var(--color-border-muted)}.w-rcpl.w-bordered>.w-rcpl-toolbar{border-top:1px solid var(--color-border-muted)}.w-rcpl.w-bordered>.w-rcpl-code:not(.w-hidden){border-radius:0 0 6px 6px;border-top:1px dashed var(--color-border-muted)}.w-rcpl{background-color:var(--color-canvas-subtle);border-radius:5px}.w-rcpl-preview:not(:last-child){border-radius:5px 5px 0 0}.w-rcpl-code.w-hidden{height:0;overflow:hidden;padding:0}.w-rcpl-code{border-top-left-radius:0;border-top-right-radius:0;height:auto;margin-bottom:0!important;overflow:auto;transition:height cubic-bezier(.36,0,.66,-.56)}.w-rcpl-code>*{margin:0!important;padding:0!important}.w-disable-checkered>.w-rcpl-preview{background-image:none}.w-rcpl-preview{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E")}.w-rcpl-code,.w-rcpl-preview{padding:15px}.w-rcpl-extra,.w-rcpl-title{align-items:center;display:flex}.w-rcpl-toolbar button svg{display:block;height:18px;opacity:.37;transition:opacity .3s}.w-rcpl-toolbar button svg:hover{opacity:1}.w-rcpl-toolbar button{background-color:transparent;border:0;box-sizing:border-box;color:currentColor;cursor:pointer;display:inline-block;height:inherit;outline:none;padding:3px 4px;position:relative;transition:opacity .2s,background .2s}.w-rcpl-toolbar{display:flex;justify-content:space-between;padding:5px 5px 5px 8px}@media (prefers-color-scheme:dark){.wmde-markdown,.wmde-markdown-var{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;--color-danger-emphasis:#da3633;--color-attention-fg:#d29922;--color-attention-emphasis:#9e6a03;--color-done-fg:#a371f7;--color-done-emphasis:#8957e5;--color-success-fg:#3fb950;--color-success-emphasis:#238636;--color-copied-active-bg:#2e9b33;color-scheme:dark}}@media (prefers-color-scheme:light){.wmde-markdown,.wmde-markdown-var{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#d1242f;--color-danger-emphasis:#cf222e;--color-attention-fg:#9a6700;--color-attention-emphasis:#9a6700;--color-done-fg:#8250df;--color-done-emphasis:#8250df;--color-success-fg:#1a7f37;--color-success-emphasis:#1f883d;--color-copied-active-bg:#2e9b33;color-scheme:light}}.wmde-markdown-var[data-color-mode*=dark],.wmde-markdown[data-color-mode*=dark],[data-color-mode*=dark] .wmde-markdown,[data-color-mode*=dark] .wmde-markdown-var,body[data-color-mode*=dark]{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--color-prettylights-syntax-entity-tag:#7ee787;--color-prettylights-syntax-keyword:#ff7b72;--color-prettylights-syntax-string:#a5d6ff;--color-prettylights-syntax-variable:#ffa657;--color-prettylights-syntax-brackethighlighter-unmatched:#f85149;--color-prettylights-syntax-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--color-prettylights-syntax-string-regexp:#7ee787;--color-prettylights-syntax-markup-list:#f2cc60;--color-prettylights-syntax-markup-heading:#1f6feb;--color-prettylights-syntax-markup-italic:#c9d1d9;--color-prettylights-syntax-markup-bold:#c9d1d9;--color-prettylights-syntax-markup-deleted-text:#ffdcd7;--color-prettylights-syntax-markup-deleted-bg:#67060c;--color-prettylights-syntax-markup-inserted-text:#aff5b4;--color-prettylights-syntax-markup-inserted-bg:#033a16;--color-prettylights-syntax-markup-changed-text:#ffdfb6;--color-prettylights-syntax-markup-changed-bg:#5a1e02;--color-prettylights-syntax-markup-ignored-text:#c9d1d9;--color-prettylights-syntax-markup-ignored-bg:#1158c7;--color-prettylights-syntax-meta-diff-range:#d2a8ff;--color-prettylights-syntax-brackethighlighter-angle:#8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark:#484f58;--color-prettylights-syntax-constant-other-reference-link:#a5d6ff;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0d1117;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:hsla(215,8%,47%,.4);--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-attention-subtle:rgba(187,128,9,.15);--color-danger-fg:#f85149;color-scheme:dark}.wmde-markdown-var[data-color-mode*=light],.wmde-markdown[data-color-mode*=light],[data-color-mode*=light] .wmde-markdown,[data-color-mode*=light] .wmde-markdown-var,body[data-color-mode*=light]{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-fg-default:#24292f;--color-fg-muted:#57606a;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:rgba(175,184,193,.2);--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-attention-subtle:#fff8c5;--color-danger-fg:#cf222e;color-scheme:light}.wmde-markdown{-webkit-text-size-adjust:100%;word-wrap:break-word;background-color:var(--color-canvas-default);color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5}.wmde-markdown details,.wmde-markdown figcaption,.wmde-markdown figure{display:block}.wmde-markdown summary{display:list-item}.wmde-markdown [hidden]{display:none!important}.wmde-markdown a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.wmde-markdown a:active,.wmde-markdown a:hover{outline-width:0}.wmde-markdown abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wmde-markdown b,.wmde-markdown strong{font-weight:600}.wmde-markdown dfn{font-style:italic}.wmde-markdown h1{border-bottom:1px solid var(--color-border-muted);font-size:2em;font-weight:600;margin:.67em 0;padding-bottom:.3em}.wmde-markdown mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.wmde-markdown small{font-size:90%}.wmde-markdown sub,.wmde-markdown sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.wmde-markdown sub{bottom:-.25em}.wmde-markdown sup{top:-.5em}.wmde-markdown img{background-color:var(--color-canvas-default);border-style:none;box-sizing:content-box;display:inline-block;max-width:100%}.wmde-markdown code,.wmde-markdown kbd,.wmde-markdown pre,.wmde-markdown samp{font-family:monospace,monospace;font-size:1em}.wmde-markdown figure{margin:1em 40px}.wmde-markdown hr{background:transparent;background-color:var(--color-border-default);border:0;border-bottom:1px solid var(--color-border-muted);box-sizing:content-box;height:.25em;margin:24px 0;overflow:hidden;padding:0}.wmde-markdown input{font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible}.wmde-markdown [type=button],.wmde-markdown [type=reset],.wmde-markdown [type=submit]{-webkit-appearance:button}.wmde-markdown [type=button]::-moz-focus-inner,.wmde-markdown [type=reset]::-moz-focus-inner,.wmde-markdown [type=submit]::-moz-focus-inner{border-style:none;padding:0}.wmde-markdown [type=button]:-moz-focusring,.wmde-markdown [type=reset]:-moz-focusring,.wmde-markdown [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.wmde-markdown [type=checkbox],.wmde-markdown [type=radio]{box-sizing:border-box;padding:0}.wmde-markdown [type=number]::-webkit-inner-spin-button,.wmde-markdown [type=number]::-webkit-outer-spin-button{height:auto}.wmde-markdown [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.wmde-markdown [type=search]::-webkit-search-cancel-button,.wmde-markdown [type=search]::-webkit-search-decoration{-webkit-appearance:none}.wmde-markdown ::-webkit-input-placeholder{color:inherit;opacity:.54}.wmde-markdown ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.wmde-markdown a:hover{text-decoration:underline}.wmde-markdown hr:after,.wmde-markdown hr:before{content:"";display:table}.wmde-markdown hr:after{clear:both}.wmde-markdown table{border-collapse:collapse;border-spacing:0;display:block;max-width:100%;width:-moz-max-content;width:max-content}.wmde-markdown td,.wmde-markdown th{padding:0}.wmde-markdown details summary{cursor:pointer}.wmde-markdown details:not([open])>:not(summary){display:none!important}.wmde-markdown kbd{background-color:var(--color-canvas-subtle);border-bottom-color:var(--color-neutral-muted);border:1px solid var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted);color:var(--color-fg-default);display:inline-block;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;padding:3px 5px;vertical-align:middle}.wmde-markdown h1,.wmde-markdown h2,.wmde-markdown h3,.wmde-markdown h4,.wmde-markdown h5,.wmde-markdown h6{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}.wmde-markdown h2{border-bottom:1px solid var(--color-border-muted);font-size:1.5em;font-weight:600;padding-bottom:.3em}.wmde-markdown h3{font-size:1.25em;font-weight:600}.wmde-markdown h4{font-size:1em;font-weight:600}.wmde-markdown h5{font-size:.875em;font-weight:600}.wmde-markdown h6{color:var(--color-fg-muted);font-size:.85em;font-weight:600}.wmde-markdown p{margin-bottom:10px;margin-top:0}.wmde-markdown blockquote{border-left:.25em solid var(--color-border-default);color:var(--color-fg-muted);margin:0;padding:0 1em}.wmde-markdown ol,.wmde-markdown ul{margin-bottom:0;margin-top:0;padding-left:2em}.wmde-markdown ol ol,.wmde-markdown ul ol{list-style-type:lower-roman}.wmde-markdown ol ol ol,.wmde-markdown ol ul ol,.wmde-markdown ul ol ol,.wmde-markdown ul ul ol{list-style-type:lower-alpha}.wmde-markdown dd{margin-left:0}.wmde-markdown code,.wmde-markdown pre,.wmde-markdown tt{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.wmde-markdown pre{word-wrap:normal;margin-bottom:0;margin-top:0}.wmde-markdown .octicon{fill:currentColor;display:inline-block;overflow:visible!important;vertical-align:text-bottom}.wmde-markdown ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown ::placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown input::-webkit-inner-spin-button,.wmde-markdown input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.wmde-markdown [data-catalyst]{display:block}.wmde-markdown:after,.wmde-markdown:before{content:"";display:table}.wmde-markdown:after{clear:both}.wmde-markdown>:first-child{margin-top:0!important}.wmde-markdown>:last-child{margin-bottom:0!important}.wmde-markdown a:not([href]){color:inherit;text-decoration:none}.wmde-markdown .absent{color:var(--color-danger-fg)}.wmde-markdown a.anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.wmde-markdown .anchor:focus{outline:none}.wmde-markdown blockquote,.wmde-markdown details,.wmde-markdown dl,.wmde-markdown ol,.wmde-markdown p,.wmde-markdown pre,.wmde-markdown table,.wmde-markdown ul{margin-bottom:16px;margin-top:0}.wmde-markdown blockquote>:first-child{margin-top:0}.wmde-markdown blockquote>:last-child{margin-bottom:0}.wmde-markdown sup>a:before{content:"["}.wmde-markdown sup>a:after{content:"]"}.wmde-markdown h1 .octicon-link,.wmde-markdown h2 .octicon-link,.wmde-markdown h3 .octicon-link,.wmde-markdown h4 .octicon-link,.wmde-markdown h5 .octicon-link,.wmde-markdown h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.wmde-markdown h1:hover .anchor,.wmde-markdown h2:hover .anchor,.wmde-markdown h3:hover .anchor,.wmde-markdown h4:hover .anchor,.wmde-markdown h5:hover .anchor,.wmde-markdown h6:hover .anchor{text-decoration:none}.wmde-markdown h1:hover .anchor .octicon-link,.wmde-markdown h2:hover .anchor .octicon-link,.wmde-markdown h3:hover .anchor .octicon-link,.wmde-markdown h4:hover .anchor .octicon-link,.wmde-markdown h5:hover .anchor .octicon-link,.wmde-markdown h6:hover .anchor .octicon-link{visibility:visible}.wmde-markdown h1 code,.wmde-markdown h1 tt,.wmde-markdown h2 code,.wmde-markdown h2 tt,.wmde-markdown h3 code,.wmde-markdown h3 tt,.wmde-markdown h4 code,.wmde-markdown h4 tt,.wmde-markdown h5 code,.wmde-markdown h5 tt,.wmde-markdown h6 code,.wmde-markdown h6 tt{font-size:inherit;padding:0 .2em}.wmde-markdown ol.no-list,.wmde-markdown ul.no-list{list-style-type:none;padding:0}.wmde-markdown ol[type="1"]{list-style-type:decimal}.wmde-markdown ol[type=a]{list-style-type:lower-alpha}.wmde-markdown ol[type=i]{list-style-type:lower-roman}.wmde-markdown div>ol:not([type]){list-style-type:decimal}.wmde-markdown ol ol,.wmde-markdown ol ul,.wmde-markdown ul ol,.wmde-markdown ul ul{margin-bottom:0;margin-top:0}.wmde-markdown li>p{margin-top:16px}.wmde-markdown li+li{margin-top:.25em}.wmde-markdown dl{padding:0}.wmde-markdown dl dt{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}.wmde-markdown dl dd{margin-bottom:16px;padding:0 16px}.wmde-markdown table th{font-weight:600}.wmde-markdown table td,.wmde-markdown table th{border:1px solid var(--color-border-default);padding:6px 13px}.wmde-markdown table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.wmde-markdown table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.wmde-markdown table img{background-color:transparent}.wmde-markdown img[align=right]{padding-left:20px}.wmde-markdown img[align=left]{padding-right:20px}.wmde-markdown .emoji{background-color:transparent;max-width:none;vertical-align:text-top}.wmde-markdown span.frame{display:block;overflow:hidden}.wmde-markdown span.frame>span{border:1px solid var(--color-border-default);display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.wmde-markdown span.frame span img{display:block;float:left}.wmde-markdown span.frame span span{clear:both;color:var(--color-fg-default);display:block;padding:5px 0 0}.wmde-markdown span.align-center{clear:both;display:block;overflow:hidden}.wmde-markdown span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.wmde-markdown span.align-center span img{margin:0 auto;text-align:center}.wmde-markdown span.align-right{clear:both;display:block;overflow:hidden}.wmde-markdown span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.wmde-markdown span.align-right span img{margin:0;text-align:right}.wmde-markdown span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.wmde-markdown span.float-left span{margin:13px 0 0}.wmde-markdown span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.wmde-markdown span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.wmde-markdown code,.wmde-markdown tt{background-color:var(--color-neutral-muted);border-radius:6px;font-size:85%;margin:0;padding:.2em .4em}.wmde-markdown code br,.wmde-markdown tt br{display:none}.wmde-markdown del code{text-decoration:inherit}.wmde-markdown pre code{font-size:100%}.wmde-markdown pre>code{background:transparent;border:0;margin:0;padding:0;white-space:pre;word-break:normal}.wmde-markdown pre{background-color:var(--color-canvas-subtle);border-radius:6px;font-size:85%;line-height:1.45}.wmde-markdown pre code,.wmde-markdown pre tt{word-wrap:normal;background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0}.wmde-markdown pre>code{display:block;overflow:auto;padding:16px}.wmde-markdown pre>code::-webkit-scrollbar{background:transparent;height:8px;width:8px}.wmde-markdown pre>code::-webkit-scrollbar-thumb{background:var(--color-fg-muted);border-radius:10px}.wmde-markdown .csv-data td,.wmde-markdown .csv-data th{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.wmde-markdown .csv-data .blob-num{background:var(--color-canvas-default);border:0;padding:10px 8px 9px;text-align:right}.wmde-markdown .csv-data tr{border-top:0}.wmde-markdown .csv-data th{background:var(--color-canvas-subtle);border-top:0;font-weight:600}.wmde-markdown .footnotes{border-top:1px solid var(--color-border-default);color:var(--color-fg-muted);font-size:12px}.wmde-markdown .footnotes ol{padding-left:16px}.wmde-markdown .footnotes li{position:relative}.wmde-markdown .footnotes li:target:before{border:2px solid var(--color-accent-emphasis);border-radius:6px;bottom:-8px;content:"";left:-24px;pointer-events:none;position:absolute;right:-8px;top:-8px}.wmde-markdown .footnotes li:target{color:var(--color-fg-default)}.wmde-markdown .footnotes .data-footnote-backref g-emoji{font-family:monospace}.wmde-markdown .task-list-item{list-style-type:none}.wmde-markdown .task-list-item label{font-weight:400}.wmde-markdown .task-list-item.enabled label{cursor:pointer}.wmde-markdown .task-list-item+.wmde-markdown .task-list-item{margin-top:3px}.wmde-markdown .task-list-item .handle{display:none}.wmde-markdown .contains-task-list input[type=checkbox],.wmde-markdown .task-list-item-checkbox{margin:0 .2em .25em -1.6em;vertical-align:middle}.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,.wmde-markdown .contains-task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.wmde-markdown ::-webkit-calendar-picker-indicator{filter:invert(50%)}.wmde-markdown pre{position:relative}.wmde-markdown pre .copied{background:var(--color-border-default);border-radius:5px;color:var(--color-fg-default);cursor:pointer;display:flex;font-size:12px;padding:6px;position:absolute;right:6px;top:6px;transition:all .3s;visibility:hidden}.wmde-markdown pre .copied .octicon-copy{display:block}.wmde-markdown pre .copied .octicon-check{display:none}.wmde-markdown pre:hover .copied{visibility:visible}.wmde-markdown pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.wmde-markdown pre .copied.active,.wmde-markdown pre:hover .copied:active{background:var(--color-copied-active-bg);color:var(--color-canvas-default)}.wmde-markdown pre .active .octicon-copy{display:none}.wmde-markdown pre .active .octicon-check{display:block}.wmde-markdown .markdown-alert{border-left:.25em solid var(--borderColor-default,var(--color-border-default));color:inherit;margin-bottom:16px;padding:.5rem 1em}.wmde-markdown .markdown-alert>:last-child{margin-bottom:0!important}.wmde-markdown .markdown-alert .markdown-alert-title{align-items:center;display:flex;font-size:14px;font-weight:500;line-height:1}.wmde-markdown .markdown-alert .markdown-alert-title svg.octicon{margin-right:8px!important;margin-right:var(--base-size-8,8px)!important}.wmde-markdown .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis,var(--color-accent-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--color-accent-fg);color:var(--fgColor-accent,var(--color-accent-fg))}.wmde-markdown .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis,var(--color-success-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--color-success-fg);color:var(--fgColor-success,var(--color-success-fg))}.wmde-markdown .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis,var(--color-done-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--color-done-fg);color:var(--fgColor-done,var(--color-done-fg))}.wmde-markdown .markdown-alert.markdown-alert-warning{border-left-color:var(--borderColor-attention-emphasis,var(--color-attention-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--color-attention-fg);color:var(--fgColor-attention,var(--color-attention-fg))}.wmde-markdown .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis,var(--color-danger-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--color-danger-fg);color:var(--fgColor-danger,var(--color-danger-fg))}.wmde-markdown .highlight-line{background-color:var(--color-neutral-muted)}.wmde-markdown .code-line.line-number:before{color:var(--color-fg-subtle);content:attr(line);display:inline-block;margin-right:16px;text-align:right;white-space:nowrap;width:1rem}.wmde-markdown .token.cdata,.wmde-markdown .token.comment,.wmde-markdown .token.doctype,.wmde-markdown .token.prolog{color:var(--color-prettylights-syntax-comment)}.wmde-markdown .token.namespace{opacity:.7}.wmde-markdown .token.constant,.wmde-markdown .token.deleted,.wmde-markdown .token.property,.wmde-markdown .token.selector,.wmde-markdown .token.symbol,.wmde-markdown .token.tag{color:var(--color-prettylights-syntax-entity-tag)}.wmde-markdown .token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.wmde-markdown .token.attr-name,.wmde-markdown .token.boolean,.wmde-markdown .token.builtin,.wmde-markdown .token.char,.wmde-markdown .token.number,.wmde-markdown .token.operator,.wmde-markdown .token.property-access,.wmde-markdown .token.selector .token.class,.wmde-markdown .token.string{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.wmde-markdown .code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.wmde-markdown .token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.wmde-markdown .code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.wmde-markdown .token.variable{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .language-css .token.string,.wmde-markdown .style .token.string,.wmde-markdown .token.atrule,.wmde-markdown .token.attr-value,.wmde-markdown .token.class-name,.wmde-markdown .token.color,.wmde-markdown .token.entity,.wmde-markdown .token.function,.wmde-markdown .token.url{color:var(--color-prettylights-syntax-string)}.wmde-markdown .token.important,.wmde-markdown .token.keyword,.wmde-markdown .token.regex,.wmde-markdown .token.rule{color:var(--color-prettylights-syntax-keyword)}.wmde-markdown .token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.wmde-markdown .token.bold,.wmde-markdown .token.important{font-weight:700}.wmde-markdown .token.italic{font-style:italic}.wmde-markdown .token.entity{cursor:help}svg.w-heatmap rect:hover{stroke:rgba(0,0,0,.14);stroke:var(--rhm-rect-hover-stroke,rgba(0,0,0,.14));stroke-width:1px}svg.w-heatmap rect:active{fill:#196127;fill:var(--rhm-rect-active,#196127);stroke-width:0}.w-overlay{-webkit-overflow-scrolling:touch;bottom:0;display:none;height:100%;left:0;outline:0;overflow:auto;position:fixed;right:0;text-align:center;top:0;width:100%;z-index:999}.w-overlay.open{z-index:9999}.w-overlay-open{overflow:hidden}.w-overlay-content{display:inline-block;margin:20px 0;outline:0;position:relative;text-align:left;vertical-align:middle;z-index:20}.w-overlay-inline{overflow:visible;overflow:initial;position:absolute}.w-overlay-inline .w-overlay-container{position:relative}.w-overlay-inline .w-overlay-backdrop{position:absolute}.w-overlay-container{bottom:0;left:0;overflow:auto;position:absolute;right:0;top:0;z-index:99999}.w-overlay-container:before{content:" ";display:inline-block;height:100%;vertical-align:middle;width:1px}.w-overlay-backdrop{background-color:rgba(16,22,26,.7);bottom:0;left:0;opacity:1;overflow:auto;position:fixed;right:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:20}.w-overlay-enter .w-overlay-backdrop{opacity:0}.w-overlay-enter-active .w-overlay-backdrop{opacity:1;transition:opacity .3s ease-in}.w-overlay-exit .w-overlay-backdrop{opacity:1}.w-overlay-exit-active .w-overlay-backdrop{opacity:0;transition:opacity .3s ease-in}.w-overlay-enter .w-overlay-content{opacity:0;transform:scale(.5)}.w-overlay-enter-active .w-overlay-content,.w-overlay-exit .w-overlay-content{opacity:1;transform:translate(0);transition:transform .3s ease,opacity .3s ease}.w-overlay-exit-active .w-overlay-content{opacity:0;transform:scale(.5)}.w-overlay-enter,.w-overlay-enter-done,.w-overlay-exit{display:inherit}.w-overlay.w-overlay-trigger{bottom:auto;height:auto;left:auto;overflow:inherit;position:absolute;right:auto;top:auto;width:auto}.w-overlay.w-overlay-trigger .w-overlay-container{overflow:inherit;position:relative}.w-overlay.w-overlay-trigger .w-overlay-container:before{display:none}.w-overlay.w-overlay-trigger .w-overlay-content{margin:0}.w-overlay.w-overlay-trigger.rightTop .w-overlay-content{transform-origin:left top}.w-overlay.w-overlay-trigger.right .w-overlay-content{transform-origin:left center}.w-overlay.w-overlay-trigger.rightBottom .w-overlay-content{transform-origin:left bottom}.w-overlay.w-overlay-trigger.topLeft .w-overlay-content{transform-origin:bottom left}.w-overlay.w-overlay-trigger.top .w-overlay-content{transform-origin:bottom center}.w-overlay.w-overlay-trigger.topRight .w-overlay-content{transform-origin:bottom right}.w-overlay.w-overlay-trigger.leftTop .w-overlay-content{transform-origin:right top}.w-overlay.w-overlay-trigger.left .w-overlay-content{transform-origin:right center}.w-overlay.w-overlay-trigger.leftBottom .w-overlay-content{transform-origin:right bottom}.w-overlay.w-overlay-trigger.bottomLeft .w-overlay-content{transform-origin:top left}.w-overlay.w-overlay-trigger.bottom .w-overlay-content{transform-origin:top center}.w-overlay.w-overlay-trigger.bottomRight .w-overlay-content{transform-origin:top right}.w-overlay-trigger-disabled{cursor:not-allowed}.w-tooltip{display:inline-block;position:relative}.w-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.w-tooltip-inner{background-color:rgba(0,0,0,.75);border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);color:#fff;display:block;font-size:12px;max-width:250px;padding:5px 10px;text-align:left;text-decoration:none;word-break:break-all}.w-tooltip.right .w-tooltip-arrow,.w-tooltip.rightBottom .w-tooltip-arrow,.w-tooltip.rightTop .w-tooltip-arrow{border-right-color:rgba(0,0,0,.75);border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.w-tooltip.left .w-tooltip-arrow,.w-tooltip.leftBottom .w-tooltip-arrow,.w-tooltip.leftTop .w-tooltip-arrow{border-left-color:rgba(0,0,0,.75);border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.w-tooltip.leftTop .w-tooltip-arrow,.w-tooltip.rightTop .w-tooltip-arrow{top:15px}.w-tooltip.leftBottom .w-tooltip-arrow,.w-tooltip.rightBottom .w-tooltip-arrow{bottom:10px;top:auto}.w-tooltip.top .w-tooltip-arrow,.w-tooltip.topLeft .w-tooltip-arrow,.w-tooltip.topRight .w-tooltip-arrow{border-top-color:rgba(0,0,0,.75);border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.w-tooltip.bottom .w-tooltip-arrow,.w-tooltip.bottomLeft .w-tooltip-arrow,.w-tooltip.bottomRight .w-tooltip-arrow{border-bottom-color:rgba(0,0,0,.75);border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.w-tooltip.bottomLeft .w-tooltip-arrow,.w-tooltip.topLeft .w-tooltip-arrow{left:15px}.w-tooltip.bottomRight .w-tooltip-arrow,.w-tooltip.topRight .w-tooltip-arrow{left:auto;right:10px}.w-tooltip.bottom,.w-tooltip.bottomLeft,.w-tooltip.bottomRight{padding-top:5px}.w-tooltip.top,.w-tooltip.topLeft,.w-tooltip.topRight{padding-bottom:5px}.w-tooltip.right,.w-tooltip.rightBottom,.w-tooltip.rightTop{padding-left:5px}.w-tooltip.left,.w-tooltip.leftBottom,.w-tooltip.leftTop{padding-right:5px}.w-tooltip.no-arrow{padding:0!important} +/*# sourceMappingURL=main.316054d1.css.map*/ \ No newline at end of file diff --git a/static/css/main.316054d1.css.map b/static/css/main.316054d1.css.map new file mode 100644 index 00000000..731b2a39 --- /dev/null +++ b/static/css/main.316054d1.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.316054d1.css","mappings":"AAAA,mGACE,6BAA8B,CAC9B,4BACF,CACA,gGACE,6BAA8B,CAC9B,4BACF,CAEA,mBACE,0CACF,CACA,mCACE,8CACF,CACA,+CAEE,yBAA0B,CAD1B,+CAEF,CAEA,QAEE,2CAA4C,CAD5C,iBAEF,CACA,iCACE,yBACF,CACA,sBACE,QAAS,CAET,eAAgB,CADhB,SAEF,CACA,aAIE,wBAA2B,CAC3B,yBAA4B,CAH5B,WAAY,CAIZ,yBAA2B,CAH3B,aAAc,CAFd,8CAMF,CACA,eAEE,kBAAoB,CADpB,mBAEF,CACA,qCACE,qBACF,CACA,gBACE,4TACF,CACA,6BACE,YACF,CACA,4BAEE,kBAAmB,CADnB,YAEF,CACA,2BAEE,aAAc,CACd,WAAY,CAFZ,WAAa,CAGb,sBACF,CACA,iCACE,SACF,CACA,uBAGE,4BAA6B,CAI7B,QAAS,CACT,qBAAsB,CAPtB,kBAAmB,CAQnB,cAAe,CALf,oBAAqB,CACrB,cAAe,CAKf,YAAa,CAJb,eAAgB,CAJhB,iBAAkB,CASlB,qCACF,CACA,gBACE,YAAa,CACb,6BAA8B,CAE9B,uBACF,CCpFA,mCACE,kCAGE,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,8BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAA6B,CAC7B,yCAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,4CAAiD,CACjD,yBAA0B,CAC1B,+BAAgC,CAChC,4BAA6B,CAC7B,kCAAmC,CACnC,uBAAwB,CACxB,6BAA8B,CAC9B,0BAA2B,CAC3B,gCAAiC,CACjC,gCAAiC,CAlDjC,iBAmDF,CACF,CACA,oCACE,kCAGE,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,2BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAAwC,CACxC,0CAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,gCAAiC,CACjC,yBAA0B,CAC1B,+BAAgC,CAChC,4BAA6B,CAC7B,kCAAmC,CACnC,uBAAwB,CACxB,6BAA8B,CAC9B,0BAA2B,CAC3B,gCAAiC,CACjC,gCAAiC,CAlDjC,kBAmDF,CACF,CACA,8LAME,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,8BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAA6B,CAC7B,yCAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,4CAAiD,CACjD,yBAA0B,CA1C1B,iBA2CF,CACA,mMAME,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,2BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAAwC,CACxC,0CAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,gCAAiC,CACjC,yBAA0B,CA1C1B,kBA2CF,CACA,eACE,6BAA8B,CAI9B,oBAAqB,CAErB,4CAA6C,CAD7C,6BAA8B,CAJ9B,2HAA4I,CAC5I,cAAe,CACf,eAIF,CACA,uEAGE,aACF,CACA,uBACE,iBACF,CACA,wBACE,sBACF,CACA,iBACE,4BAA6B,CAC7B,4BAA6B,CAC7B,oBACF,CACA,+CAEE,eACF,CACA,2BACE,kBAAmB,CACnB,wCAAyC,CACjC,gCACV,CACA,uCAEE,eACF,CACA,mBACE,iBACF,CACA,kBAKE,iDAAkD,CADlD,aAAc,CAFd,eAAgB,CADhB,cAAgB,CAEhB,mBAGF,CACA,oBACE,8CAA+C,CAC/C,+BACF,CACA,qBACE,aACF,CACA,sCAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBACF,CACA,mBACE,aACF,CACA,mBACE,SACF,CACA,mBAKE,4CAA6C,CAH7C,iBAAkB,CAElB,sBAAuB,CAHvB,oBAAqB,CAErB,cAGF,CACA,8EAIE,+BAAiC,CACjC,aACF,CACA,sBACE,eACF,CACA,kBAGE,sBAAuB,CAMvB,4CAA6C,CAL7C,QAAS,CACT,iDAAkD,CAJlD,sBAAuB,CAKvB,YAAc,CAEd,aAAc,CANd,eAAgB,CAKhB,SAGF,CACA,qBACE,YAAa,CAGb,mBAAoB,CACpB,iBAAkB,CAClB,mBAAoB,CAJpB,QAAS,CACT,gBAIF,CACA,sFAGE,yBACF,CACA,4IAGE,iBAAkB,CAClB,SACF,CACA,mIAGE,6BACF,CACA,2DAEE,qBAAsB,CACtB,SACF,CACA,gHAEE,WACF,CACA,6BACE,4BAA6B,CAC7B,mBACF,CACA,mHAEE,uBACF,CACA,2CACE,aAAc,CACd,WACF,CACA,4CACE,yBAA0B,CAC1B,YACF,CACA,uBACE,yBACF,CAKA,iDAFE,UAAW,CADX,aAOF,CAJA,wBAEE,UAEF,CACA,qBAEE,wBAAyB,CADzB,gBAAiB,CAEjB,aAAc,CAEd,cAAe,CADf,sBAAkB,CAAlB,iBAEF,CAmCA,oCAEE,SACF,CACA,+BACE,cACF,CACA,iDACE,sBACF,CACA,mBAOE,2CAA4C,CAC5C,8CAA4C,CAC5C,2CAA+C,CAC/C,iBAAkB,CAClB,oDAAqD,CANrD,6BAA8B,CAJ9B,oBAAqB,CAErB,sFAA6F,CAC7F,gBAAiB,CAFjB,eAAgB,CAIhB,qBAMF,CACA,4GAQE,eAAgB,CAChB,gBAAiB,CAFjB,kBAAmB,CADnB,eAIF,CACA,kBAIE,iDAAkD,CADlD,eAAgB,CAFhB,eAAgB,CAChB,mBAGF,CACA,kBAEE,gBAAiB,CADjB,eAEF,CACA,kBAEE,aAAc,CADd,eAEF,CACA,kBAEE,gBAAkB,CADlB,eAEF,CACA,kBAGE,2BAA4B,CAD5B,eAAiB,CADjB,eAGF,CACA,iBAEE,kBAAmB,CADnB,YAEF,CACA,0BAIE,mDAAqD,CADrD,2BAA4B,CAF5B,QAAS,CACT,aAGF,CACA,oCAGE,eAAgB,CADhB,YAAa,CAEb,gBACF,CACA,0CAEE,2BACF,CACA,gGAIE,2BACF,CACA,kBACE,aACF,CAMA,yDAHE,wFAA+F,CAC/F,cAQF,CANA,mBAKE,gBAAiB,CAHjB,eAAgB,CADhB,YAKF,CACA,wBAIE,iBAAkB,CAHlB,oBAAqB,CACrB,0BAA4B,CAC5B,0BAEF,CACA,kCACE,4BAA6B,CAC7B,SACF,CAHA,6BACE,4BAA6B,CAC7B,SACF,CACA,gGAGE,uBAAwB,CACxB,eAAgB,CAFhB,QAGF,CACA,+BACE,aACF,CAKA,2CAFE,UAAW,CADX,aAOF,CAJA,qBAEE,UAEF,CACA,4BACE,sBACF,CACA,2BACE,yBACF,CACA,6BACE,aAAc,CACd,oBACF,CACA,uBACE,4BACF,CACA,wBACE,UAAW,CAGX,aAAc,CADd,iBAAkB,CADlB,iBAGF,CACA,6BACE,YACF,CACA,gKASE,kBAAmB,CADnB,YAEF,CACA,uCACE,YACF,CACA,sCACE,eACF,CACA,4BACE,WACF,CACA,2BACE,WACF,CACA,gMAME,6BAA8B,CAC9B,qBAAsB,CACtB,iBACF,CACA,gMAME,oBACF,CACA,oRAME,kBACF,CACA,wQAaE,iBAAkB,CADlB,cAEF,CACA,oDAGE,oBAAqB,CADrB,SAEF,CACA,4BACE,uBACF,CACA,0BACE,2BACF,CACA,0BACE,2BACF,CACA,kCACE,uBACF,CACA,oFAKE,eAAgB,CADhB,YAEF,CACA,oBACE,eACF,CACA,qBACE,gBACF,CACA,kBACE,SACF,CACA,qBAGE,aAAc,CACd,iBAAkB,CAClB,eAAgB,CAHhB,eAAgB,CADhB,SAKF,CACA,qBAEE,kBAAmB,CADnB,cAEF,CACA,wBACE,eACF,CACA,gDAGE,4CAA6C,CAD7C,gBAEF,CACA,wBACE,4CAA6C,CAC7C,8CACF,CACA,sCACE,2CACF,CACA,yBACE,4BACF,CACA,gCACE,iBACF,CACA,+BACE,kBACF,CACA,sBAGE,4BAA6B,CAF7B,cAAe,CACf,uBAEF,CACA,0BACE,aAAc,CACd,eACF,CACA,+BAOE,4CAA6C,CAN7C,aAAc,CACd,UAAW,CAGX,eAAgB,CAChB,eAAgB,CAFhB,WAAY,CADZ,UAKF,CACA,mCACE,aAAc,CACd,UACF,CACA,oCAGE,UAAW,CACX,6BAA8B,CAH9B,aAAc,CACd,eAGF,CACA,iCAGE,UAAW,CAFX,aAAc,CACd,eAEF,CACA,sCACE,aAAc,CACd,kBAAmB,CACnB,eAAgB,CAChB,iBACF,CACA,0CACE,aAAc,CACd,iBACF,CACA,gCAGE,UAAW,CAFX,aAAc,CACd,eAEF,CACA,qCACE,aAAc,CACd,eAAgB,CAChB,eAAgB,CAChB,gBACF,CACA,yCACE,QAAS,CACT,gBACF,CACA,+BACE,aAAc,CACd,UAAW,CACX,iBAAkB,CAClB,eACF,CACA,oCACE,eACF,CACA,gCACE,aAAc,CACd,WAAY,CACZ,gBAAiB,CACjB,eACF,CACA,qCACE,aAAc,CACd,kBAAmB,CACnB,eAAgB,CAChB,gBACF,CACA,sCAKE,2CAA4C,CAC5C,iBAAkB,CAFlB,aAAc,CADd,QAAS,CADT,iBAKF,CACA,4CAEE,YACF,CACA,wBACE,uBACF,CACA,wBACE,cACF,CACA,wBAKE,sBAAuB,CACvB,QAAS,CAJT,QAAS,CADT,SAAU,CAGV,eAAgB,CADhB,iBAIF,CACA,mBAGE,2CAA4C,CAC5C,iBAAkB,CAHlB,aAAc,CACd,gBAGF,CACA,8CAQE,gBAAiB,CACjB,4BAA6B,CAC7B,QAAS,CART,cAAe,CAKf,mBAAoB,CAFpB,QAAS,CAFT,cAAe,CAGf,gBAAiB,CAFjB,SAOF,CACA,wBAGE,aAAc,CADd,aAAc,CADd,YAGF,CACA,2CACE,sBAAuB,CAEvB,UAAW,CADX,SAEF,CACA,iDACE,gCAAiC,CACjC,kBACF,CACA,wDAIE,cAAe,CACf,aAAc,CAFd,eAAgB,CADhB,WAAY,CAIZ,eAAgB,CAChB,kBACF,CACA,mCAGE,sCAAuC,CACvC,QAAS,CAHT,oBAAqB,CACrB,gBAGF,CACA,4BACE,YACF,CACA,4BAEE,qCAAsC,CACtC,YAAa,CAFb,eAGF,CACA,0BAGE,gDAAiD,CADjD,2BAA4B,CAD5B,cAGF,CACA,6BACE,iBACF,CACA,6BACE,iBACF,CACA,2CAQE,6CAA8C,CAC9C,iBAAkB,CALlB,WAAY,CAGZ,UAAW,CAFX,UAAW,CACX,mBAAoB,CALpB,iBAAkB,CAElB,UAAW,CADX,QAQF,CACA,oCACE,6BACF,CACA,yDACE,qBACF,CACA,+BACE,oBACF,CACA,qCACE,eACF,CACA,6CACE,cACF,CACA,8DACE,cACF,CACA,uCACE,YACF,CACA,gGAEE,0BAA6B,CAC7B,qBACF,CACA,sIAEE,0BACF,CACA,mDACE,kBACF,CACA,mBACE,iBACF,CACA,2BASE,sCAAuC,CADvC,iBAAkB,CAHlB,6BAA8B,CAD9B,cAAe,CAFf,YAAa,CASb,cAAe,CADf,WAAY,CAPZ,iBAAkB,CAIlB,SAAU,CADV,OAAQ,CAMR,kBAAoB,CAXpB,iBAYF,CACA,yCACE,aACF,CACA,0CACE,YACF,CACA,iCACE,kBACF,CACA,uCACE,sDAAuD,CACvD,iCACF,CACA,0EAEE,wCAAyC,CACzC,iCACF,CACA,yCACE,YACF,CACA,0CACE,aACF,CACA,+BAIE,8EAAiF,CAFjF,aAAc,CACd,kBAAmB,CAFnB,iBAIF,CACA,2CACE,yBACF,CACA,qDAEE,kBAAmB,CADnB,YAAa,CAIb,cAAe,CADf,eAAgB,CADhB,aAGF,CACA,iEACE,0BAAgD,CAAhD,6CACF,CACA,mDACE,iFACF,CACA,yEACE,4BAAoD,CAApD,kDACF,CACA,kDACE,mFACF,CACA,wEACE,6BAAsD,CAAtD,oDACF,CACA,wDACE,6EACF,CACA,8EACE,0BAAgD,CAAhD,8CACF,CACA,sDACE,uFACF,CACA,4EACE,+BAA0D,CAA1D,wDACF,CACA,sDACE,iFACF,CACA,4EACE,4BAAoD,CAApD,kDACF,CACA,+BACE,2CACF,CACA,6CAKE,4BAA6B,CAC7B,kBAAmB,CALnB,oBAAqB,CAGrB,iBAAkB,CADlB,gBAAiB,CAIjB,kBAAmB,CALnB,UAMF,CACA,qHAIE,8CACF,CACA,gCACE,UACF,CACA,kLAME,iDACF,CACA,uCACE,+CACF,CACA,kSASE,+CACF,CACA,8BACE,0DACF,CACA,yCACE,mEACF,CACA,+BACE,2DACF,CACA,0CACE,oEACF,CACA,+BACE,+CACF,CAOA,gSAKE,6CACF,CACA,qHAIE,8CACF,CACA,4BACE,sDACF,CACA,2DAEE,eACF,CACA,6BACE,iBACF,CACA,6BACE,WACF,CC1jCA,yBACE,sBAAyD,CAAzD,mDAAyD,CACzD,gBACF,CACA,0BACE,YAAa,CACb,mCAAqC,CACrC,cACF,CCRA,WASE,gCAAiC,CAFjC,QAAS,CAMT,YAAa,CAFb,WAAY,CANZ,MAAO,CACP,SAAU,CAJV,aAAc,CADd,cAAe,CAGf,OAAQ,CAMR,iBAAkB,CAPlB,KAAM,CASN,UAAW,CAJX,WAMF,CACA,gBACE,YACF,CACA,gBACE,eACF,CACA,mBAGE,oBAAqB,CAGrB,aAAc,CAJd,SAAU,CADV,iBAAkB,CAIlB,eAAgB,CADhB,qBAAsB,CAGtB,UACF,CACA,kBAEE,gBAAiB,CAAjB,gBAAiB,CADjB,iBAEF,CACA,uCACE,iBACF,CACA,sCACE,iBACF,CACA,qBAOE,QAAS,CAFT,MAAO,CAHP,aAAc,CADd,iBAAkB,CAKlB,OAAQ,CAFR,KAAM,CADN,aAKF,CACA,4BACE,WAAY,CACZ,oBAAqB,CACrB,WAAY,CAEZ,qBAAsB,CADtB,SAEF,CACA,oBAQE,kCAAuC,CAJvC,QAAS,CACT,MAAO,CACP,SAAU,CAGV,aAAc,CARd,cAAe,CAEf,OAAQ,CADR,KAAM,CAQN,wBAAyB,CACjB,qBAAiB,CAAjB,gBAAiB,CAJzB,UAKF,CACA,qCACE,SACF,CACA,4CACE,SAAU,CACV,8BACF,CACA,oCACE,SACF,CACA,2CACE,SAAU,CACV,8BACF,CACA,oCAEE,SAAU,CADV,mBAEF,CAMA,8EACE,SAAU,CACV,sBAAuB,CACvB,8CACF,CACA,0CAEE,SAAU,CADV,mBAEF,CACA,uDAGE,eACF,CCzGA,6BAKE,WAAY,CAGZ,WAAe,CALf,SAAU,CAGV,gBAAiB,CALjB,iBAAkB,CAGlB,UAAW,CAFX,QAAS,CAKT,UAEF,CACA,kDAEE,gBAAiB,CADjB,iBAEF,CACA,yDACE,YACF,CACA,gDACE,QACF,CACA,yDACE,yBACF,CACA,sDACE,4BACF,CACA,4DACE,4BACF,CACA,wDACE,4BACF,CACA,oDACE,8BACF,CACA,yDACE,6BACF,CACA,wDACE,0BACF,CACA,qDACE,6BACF,CACA,2DACE,6BACF,CACA,2DACE,yBACF,CACA,uDACE,2BACF,CACA,4DACE,0BACF,CACA,4BACE,kBACF,CC1DA,WAEE,oBAAqB,CADrB,iBAEF,CACA,iBAIE,wBAAyB,CACzB,kBAAmB,CAFnB,QAAS,CAFT,iBAAkB,CAClB,OAIF,CACA,iBAQE,gCAAqC,CACrC,iBAAkB,CAClB,mCAAwC,CALxC,UAAW,CADX,aAAc,CAHd,cAAe,CACf,eAAgB,CAChB,gBAAiB,CAGjB,eAAgB,CAChB,oBAAqB,CAIrB,oBACF,CACA,+GAGE,kCAAuC,CACvC,0BAA2B,CAC3B,MAAO,CACP,eAAgB,CAChB,OACF,CACA,4GAGE,iCAAsC,CACtC,0BAA2B,CAC3B,eAAgB,CAChB,OAAQ,CACR,OACF,CACA,yEAEE,QACF,CACA,+EAEE,WAAY,CACZ,QACF,CACA,yGAGE,gCAAqC,CACrC,sBAAuB,CACvB,QAAS,CACT,QAAS,CACT,gBACF,CACA,kHAGE,mCAAwC,CACxC,sBAAuB,CACvB,QAAS,CACT,gBAAiB,CACjB,KACF,CACA,2EAEE,SACF,CACA,6EAGE,SAAU,CADV,UAEF,CACA,+DAGE,eACF,CACA,sDAGE,kBACF,CACA,4DAGE,gBACF,CACA,yDAGE,iBACF,CACA,oBACE,mBACF","sources":["../../node_modules/react-code-preview-layout/esm/styles.css","../../node_modules/@uiw/react-markdown-preview/esm/styles/markdown.css","../../core/esm/style/index.css","../../node_modules/@uiw/react-overlay/esm/style/index.css","../../node_modules/@uiw/react-overlay-trigger/esm/style/index.css","../../node_modules/@uiw/react-tooltip/esm/style/index.css"],"sourcesContent":[".code-preview-layout[data-color-mode*='light'], [data-color-mode*='light'], body[data-color-mode*='light'] {\n --color-canvas-subtle: #f6f8fa;\n --color-border-muted: hsl(210, 18%, 87%);\n}\n.code-preview-layout[data-color-mode*='dark'], [data-color-mode*='dark'], body[data-color-mode*='dark'] {\n --color-canvas-subtle: #161b22;\n --color-border-muted: #21262d;\n}\n\n.w-rcpl.w-bordered {\n border: 1px solid var(--color-border-muted);\n}\n.w-rcpl.w-bordered > .w-rcpl-toolbar {\n border-top: 1px solid var(--color-border-muted);\n}\n.w-rcpl.w-bordered > .w-rcpl-code:not(.w-hidden) {\n border-top: 1px dashed var(--color-border-muted);\n border-radius: 0 0 6px 6px;\n}\n\n.w-rcpl {\n border-radius: 5px;\n background-color: var(--color-canvas-subtle);\n}\n.w-rcpl-preview:not(:last-child) {\n border-radius: 5px 5px 0 0;\n}\n.w-rcpl-code.w-hidden {\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.w-rcpl-code {\n transition: height cubic-bezier(0.360, 0.000, 0.660, -0.560);;\n height: auto;\n overflow: auto;\n border-top-left-radius: 0px;\n border-top-right-radius: 0px;\n margin-bottom: 0 !important;\n}\n.w-rcpl-code > * {\n padding: 0 !important;\n margin: 0 !important;\n}\n.w-disable-checkered > .w-rcpl-preview {\n background-image: none;\n}\n.w-rcpl-preview {\n background: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E\")\n}\n.w-rcpl-preview, .w-rcpl-code {\n padding: 15px;\n}\n.w-rcpl-extra, .w-rcpl-title {\n display: flex;\n align-items: center;\n}\n.w-rcpl-toolbar button svg {\n opacity: 0.37;\n display: block;\n height: 18px;\n transition: opacity 0.3s;\n}\n.w-rcpl-toolbar button svg:hover {\n opacity: 1;\n}\n.w-rcpl-toolbar button {\n color: currentColor;\n position: relative;\n background-color: transparent;\n display: inline-block;\n height: inherit;\n padding: 3px 4px;\n border: 0;\n box-sizing: border-box;\n cursor: pointer;\n outline: none;\n transition: opacity .2s, background .2s;\n}\n.w-rcpl-toolbar {\n display: flex;\n justify-content: space-between;\n padding: 5px 5px;\n padding-left: 8px;\n}","@media (prefers-color-scheme: dark) {\n .wmde-markdown,\n .wmde-markdown-var {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110, 118, 129, 0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187, 128, 9, 0.15);\n --color-danger-fg: #f85149;\n --color-danger-emphasis: #da3633;\n --color-attention-fg: #d29922;\n --color-attention-emphasis: #9e6a03;\n --color-done-fg: #a371f7;\n --color-done-emphasis: #8957e5;\n --color-success-fg: #3fb950;\n --color-success-emphasis: #238636;\n --color-copied-active-bg: #2e9b33;\n }\n}\n@media (prefers-color-scheme: light) {\n .wmde-markdown,\n .wmde-markdown-var {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #ffebe9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsl(210, 18%, 87%);\n --color-neutral-muted: rgba(175, 184, 193, 0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #d1242f;\n --color-danger-emphasis: #cf222e;\n --color-attention-fg: #9a6700;\n --color-attention-emphasis: #9a6700;\n --color-done-fg: #8250df;\n --color-done-emphasis: #8250df;\n --color-success-fg: #1a7f37;\n --color-success-emphasis: #1f883d;\n --color-copied-active-bg: #2e9b33;\n }\n}\n[data-color-mode*='dark'] .wmde-markdown,\n[data-color-mode*='dark'] .wmde-markdown-var,\n.wmde-markdown-var[data-color-mode*='dark'],\n.wmde-markdown[data-color-mode*='dark'],\nbody[data-color-mode*='dark'] {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110, 118, 129, 0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187, 128, 9, 0.15);\n --color-danger-fg: #f85149;\n}\n[data-color-mode*='light'] .wmde-markdown,\n[data-color-mode*='light'] .wmde-markdown-var,\n.wmde-markdown-var[data-color-mode*='light'],\n.wmde-markdown[data-color-mode*='light'],\nbody[data-color-mode*='light'] {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #ffebe9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsl(210, 18%, 87%);\n --color-neutral-muted: rgba(175, 184, 193, 0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n}\n.wmde-markdown {\n -webkit-text-size-adjust: 100%;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n font-size: 16px;\n line-height: 1.5;\n word-wrap: break-word;\n color: var(--color-fg-default);\n background-color: var(--color-canvas-default);\n}\n.wmde-markdown details,\n.wmde-markdown figcaption,\n.wmde-markdown figure {\n display: block;\n}\n.wmde-markdown summary {\n display: list-item;\n}\n.wmde-markdown [hidden] {\n display: none !important;\n}\n.wmde-markdown a {\n background-color: transparent;\n color: var(--color-accent-fg);\n text-decoration: none;\n}\n.wmde-markdown a:active,\n.wmde-markdown a:hover {\n outline-width: 0;\n}\n.wmde-markdown abbr[title] {\n border-bottom: none;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n.wmde-markdown b,\n.wmde-markdown strong {\n font-weight: 600;\n}\n.wmde-markdown dfn {\n font-style: italic;\n}\n.wmde-markdown h1 {\n margin: 0.67em 0;\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 2em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.wmde-markdown mark {\n background-color: var(--color-attention-subtle);\n color: var(--color-text-primary);\n}\n.wmde-markdown small {\n font-size: 90%;\n}\n.wmde-markdown sub,\n.wmde-markdown sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n.wmde-markdown sub {\n bottom: -0.25em;\n}\n.wmde-markdown sup {\n top: -0.5em;\n}\n.wmde-markdown img {\n display: inline-block;\n border-style: none;\n max-width: 100%;\n box-sizing: content-box;\n background-color: var(--color-canvas-default);\n}\n.wmde-markdown code,\n.wmde-markdown kbd,\n.wmde-markdown pre,\n.wmde-markdown samp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n.wmde-markdown figure {\n margin: 1em 40px;\n}\n.wmde-markdown hr {\n box-sizing: content-box;\n overflow: hidden;\n background: transparent;\n border: 0;\n border-bottom: 1px solid var(--color-border-muted);\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n}\n.wmde-markdown input {\n font: inherit;\n margin: 0;\n overflow: visible;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n.wmde-markdown [type='button'],\n.wmde-markdown [type='reset'],\n.wmde-markdown [type='submit'] {\n -webkit-appearance: button;\n}\n.wmde-markdown [type='button']::-moz-focus-inner,\n.wmde-markdown [type='reset']::-moz-focus-inner,\n.wmde-markdown [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n.wmde-markdown [type='button']:-moz-focusring,\n.wmde-markdown [type='reset']:-moz-focusring,\n.wmde-markdown [type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n.wmde-markdown [type='checkbox'],\n.wmde-markdown [type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n.wmde-markdown [type='number']::-webkit-inner-spin-button,\n.wmde-markdown [type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n.wmde-markdown [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n.wmde-markdown [type='search']::-webkit-search-cancel-button,\n.wmde-markdown [type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n.wmde-markdown ::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n.wmde-markdown ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n.wmde-markdown a:hover {\n text-decoration: underline;\n}\n.wmde-markdown hr::before {\n display: table;\n content: '';\n}\n.wmde-markdown hr::after {\n display: table;\n clear: both;\n content: '';\n}\n.wmde-markdown table {\n border-spacing: 0;\n border-collapse: collapse;\n display: block;\n width: max-content;\n max-width: 100%;\n}\n.wmde-markdown td,\n.wmde-markdown th {\n padding: 0;\n}\n.wmde-markdown details summary {\n cursor: pointer;\n}\n.wmde-markdown details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.wmde-markdown kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.wmde-markdown h1,\n.wmde-markdown h2,\n.wmde-markdown h3,\n.wmde-markdown h4,\n.wmde-markdown h5,\n.wmde-markdown h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.wmde-markdown td,\n.wmde-markdown th {\n padding: 0;\n}\n.wmde-markdown details summary {\n cursor: pointer;\n}\n.wmde-markdown details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.wmde-markdown kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.wmde-markdown h1,\n.wmde-markdown h2,\n.wmde-markdown h3,\n.wmde-markdown h4,\n.wmde-markdown h5,\n.wmde-markdown h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.wmde-markdown h2 {\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 1.5em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.wmde-markdown h3 {\n font-weight: 600;\n font-size: 1.25em;\n}\n.wmde-markdown h4 {\n font-weight: 600;\n font-size: 1em;\n}\n.wmde-markdown h5 {\n font-weight: 600;\n font-size: 0.875em;\n}\n.wmde-markdown h6 {\n font-weight: 600;\n font-size: 0.85em;\n color: var(--color-fg-muted);\n}\n.wmde-markdown p {\n margin-top: 0;\n margin-bottom: 10px;\n}\n.wmde-markdown blockquote {\n margin: 0;\n padding: 0 1em;\n color: var(--color-fg-muted);\n border-left: 0.25em solid var(--color-border-default);\n}\n.wmde-markdown ul,\n.wmde-markdown ol {\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 2em;\n}\n.wmde-markdown ol ol,\n.wmde-markdown ul ol {\n list-style-type: lower-roman;\n}\n.wmde-markdown ul ul ol,\n.wmde-markdown ul ol ol,\n.wmde-markdown ol ul ol,\n.wmde-markdown ol ol ol {\n list-style-type: lower-alpha;\n}\n.wmde-markdown dd {\n margin-left: 0;\n}\n.wmde-markdown tt,\n.wmde-markdown code {\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n}\n.wmde-markdown pre {\n margin-top: 0;\n margin-bottom: 0;\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n word-wrap: normal;\n}\n.wmde-markdown .octicon {\n display: inline-block;\n overflow: visible !important;\n vertical-align: text-bottom;\n fill: currentColor;\n}\n.wmde-markdown ::placeholder {\n color: var(--color-fg-subtle);\n opacity: 1;\n}\n.wmde-markdown input::-webkit-outer-spin-button,\n.wmde-markdown input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n appearance: none;\n}\n.wmde-markdown [data-catalyst] {\n display: block;\n}\n.wmde-markdown::before {\n display: table;\n content: '';\n}\n.wmde-markdown::after {\n display: table;\n clear: both;\n content: '';\n}\n.wmde-markdown > *:first-child {\n margin-top: 0 !important;\n}\n.wmde-markdown > *:last-child {\n margin-bottom: 0 !important;\n}\n.wmde-markdown a:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n.wmde-markdown .absent {\n color: var(--color-danger-fg);\n}\n.wmde-markdown a.anchor {\n float: left;\n padding-right: 4px;\n margin-left: -20px;\n line-height: 1;\n}\n.wmde-markdown .anchor:focus {\n outline: none;\n}\n.wmde-markdown p,\n.wmde-markdown blockquote,\n.wmde-markdown ul,\n.wmde-markdown ol,\n.wmde-markdown dl,\n.wmde-markdown table,\n.wmde-markdown pre,\n.wmde-markdown details {\n margin-top: 0;\n margin-bottom: 16px;\n}\n.wmde-markdown blockquote > :first-child {\n margin-top: 0;\n}\n.wmde-markdown blockquote > :last-child {\n margin-bottom: 0;\n}\n.wmde-markdown sup > a::before {\n content: '[';\n}\n.wmde-markdown sup > a::after {\n content: ']';\n}\n.wmde-markdown h1 .octicon-link,\n.wmde-markdown h2 .octicon-link,\n.wmde-markdown h3 .octicon-link,\n.wmde-markdown h4 .octicon-link,\n.wmde-markdown h5 .octicon-link,\n.wmde-markdown h6 .octicon-link {\n color: var(--color-fg-default);\n vertical-align: middle;\n visibility: hidden;\n}\n.wmde-markdown h1:hover .anchor,\n.wmde-markdown h2:hover .anchor,\n.wmde-markdown h3:hover .anchor,\n.wmde-markdown h4:hover .anchor,\n.wmde-markdown h5:hover .anchor,\n.wmde-markdown h6:hover .anchor {\n text-decoration: none;\n}\n.wmde-markdown h1:hover .anchor .octicon-link,\n.wmde-markdown h2:hover .anchor .octicon-link,\n.wmde-markdown h3:hover .anchor .octicon-link,\n.wmde-markdown h4:hover .anchor .octicon-link,\n.wmde-markdown h5:hover .anchor .octicon-link,\n.wmde-markdown h6:hover .anchor .octicon-link {\n visibility: visible;\n}\n.wmde-markdown h1 tt,\n.wmde-markdown h1 code,\n.wmde-markdown h2 tt,\n.wmde-markdown h2 code,\n.wmde-markdown h3 tt,\n.wmde-markdown h3 code,\n.wmde-markdown h4 tt,\n.wmde-markdown h4 code,\n.wmde-markdown h5 tt,\n.wmde-markdown h5 code,\n.wmde-markdown h6 tt,\n.wmde-markdown h6 code {\n padding: 0 0.2em;\n font-size: inherit;\n}\n.wmde-markdown ul.no-list,\n.wmde-markdown ol.no-list {\n padding: 0;\n list-style-type: none;\n}\n.wmde-markdown ol[type='1'] {\n list-style-type: decimal;\n}\n.wmde-markdown ol[type='a'] {\n list-style-type: lower-alpha;\n}\n.wmde-markdown ol[type='i'] {\n list-style-type: lower-roman;\n}\n.wmde-markdown div > ol:not([type]) {\n list-style-type: decimal;\n}\n.wmde-markdown ul ul,\n.wmde-markdown ul ol,\n.wmde-markdown ol ol,\n.wmde-markdown ol ul {\n margin-top: 0;\n margin-bottom: 0;\n}\n.wmde-markdown li > p {\n margin-top: 16px;\n}\n.wmde-markdown li + li {\n margin-top: 0.25em;\n}\n.wmde-markdown dl {\n padding: 0;\n}\n.wmde-markdown dl dt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: 600;\n}\n.wmde-markdown dl dd {\n padding: 0 16px;\n margin-bottom: 16px;\n}\n.wmde-markdown table th {\n font-weight: 600;\n}\n.wmde-markdown table th,\n.wmde-markdown table td {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default);\n}\n.wmde-markdown table tr {\n background-color: var(--color-canvas-default);\n border-top: 1px solid var(--color-border-muted);\n}\n.wmde-markdown table tr:nth-child(2n) {\n background-color: var(--color-canvas-subtle);\n}\n.wmde-markdown table img {\n background-color: transparent;\n}\n.wmde-markdown img[align='right'] {\n padding-left: 20px;\n}\n.wmde-markdown img[align='left'] {\n padding-right: 20px;\n}\n.wmde-markdown .emoji {\n max-width: none;\n vertical-align: text-top;\n background-color: transparent;\n}\n.wmde-markdown span.frame {\n display: block;\n overflow: hidden;\n}\n.wmde-markdown span.frame > span {\n display: block;\n float: left;\n width: auto;\n padding: 7px;\n margin: 13px 0 0;\n overflow: hidden;\n border: 1px solid var(--color-border-default);\n}\n.wmde-markdown span.frame span img {\n display: block;\n float: left;\n}\n.wmde-markdown span.frame span span {\n display: block;\n padding: 5px 0 0;\n clear: both;\n color: var(--color-fg-default);\n}\n.wmde-markdown span.align-center {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.wmde-markdown span.align-center > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: center;\n}\n.wmde-markdown span.align-center span img {\n margin: 0 auto;\n text-align: center;\n}\n.wmde-markdown span.align-right {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.wmde-markdown span.align-right > span {\n display: block;\n margin: 13px 0 0;\n overflow: hidden;\n text-align: right;\n}\n.wmde-markdown span.align-right span img {\n margin: 0;\n text-align: right;\n}\n.wmde-markdown span.float-left {\n display: block;\n float: left;\n margin-right: 13px;\n overflow: hidden;\n}\n.wmde-markdown span.float-left span {\n margin: 13px 0 0;\n}\n.wmde-markdown span.float-right {\n display: block;\n float: right;\n margin-left: 13px;\n overflow: hidden;\n}\n.wmde-markdown span.float-right > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: right;\n}\n.wmde-markdown code,\n.wmde-markdown tt {\n padding: 0.2em 0.4em;\n margin: 0;\n font-size: 85%;\n background-color: var(--color-neutral-muted);\n border-radius: 6px;\n}\n.wmde-markdown code br,\n.wmde-markdown tt br {\n display: none;\n}\n.wmde-markdown del code {\n text-decoration: inherit;\n}\n.wmde-markdown pre code {\n font-size: 100%;\n}\n.wmde-markdown pre > code {\n padding: 0;\n margin: 0;\n word-break: normal;\n white-space: pre;\n background: transparent;\n border: 0;\n}\n.wmde-markdown pre {\n font-size: 85%;\n line-height: 1.45;\n background-color: var(--color-canvas-subtle);\n border-radius: 6px;\n}\n.wmde-markdown pre code,\n.wmde-markdown pre tt {\n display: inline;\n max-width: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n line-height: inherit;\n word-wrap: normal;\n background-color: transparent;\n border: 0;\n}\n.wmde-markdown pre > code {\n padding: 16px;\n overflow: auto;\n display: block;\n}\n.wmde-markdown pre > code::-webkit-scrollbar {\n background: transparent;\n width: 8px;\n height: 8px;\n}\n.wmde-markdown pre > code::-webkit-scrollbar-thumb {\n background: var(--color-fg-muted);\n border-radius: 10px;\n}\n.wmde-markdown .csv-data td,\n.wmde-markdown .csv-data th {\n padding: 5px;\n overflow: hidden;\n font-size: 12px;\n line-height: 1;\n text-align: left;\n white-space: nowrap;\n}\n.wmde-markdown .csv-data .blob-num {\n padding: 10px 8px 9px;\n text-align: right;\n background: var(--color-canvas-default);\n border: 0;\n}\n.wmde-markdown .csv-data tr {\n border-top: 0;\n}\n.wmde-markdown .csv-data th {\n font-weight: 600;\n background: var(--color-canvas-subtle);\n border-top: 0;\n}\n.wmde-markdown .footnotes {\n font-size: 12px;\n color: var(--color-fg-muted);\n border-top: 1px solid var(--color-border-default);\n}\n.wmde-markdown .footnotes ol {\n padding-left: 16px;\n}\n.wmde-markdown .footnotes li {\n position: relative;\n}\n.wmde-markdown .footnotes li:target::before {\n position: absolute;\n top: -8px;\n right: -8px;\n bottom: -8px;\n left: -24px;\n pointer-events: none;\n content: '';\n border: 2px solid var(--color-accent-emphasis);\n border-radius: 6px;\n}\n.wmde-markdown .footnotes li:target {\n color: var(--color-fg-default);\n}\n.wmde-markdown .footnotes .data-footnote-backref g-emoji {\n font-family: monospace;\n}\n.wmde-markdown .task-list-item {\n list-style-type: none;\n}\n.wmde-markdown .task-list-item label {\n font-weight: 400;\n}\n.wmde-markdown .task-list-item.enabled label {\n cursor: pointer;\n}\n.wmde-markdown .task-list-item + .wmde-markdown .task-list-item {\n margin-top: 3px;\n}\n.wmde-markdown .task-list-item .handle {\n display: none;\n}\n.wmde-markdown .task-list-item-checkbox,\n.wmde-markdown .contains-task-list input[type='checkbox'] {\n margin: 0 0.2em 0.25em -1.6em;\n vertical-align: middle;\n}\n.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,\n.wmde-markdown .contains-task-list:dir(rtl) input[type='checkbox'] {\n margin: 0 -1.6em 0.25em 0.2em;\n}\n.wmde-markdown ::-webkit-calendar-picker-indicator {\n filter: invert(50%);\n}\n.wmde-markdown pre {\n position: relative;\n}\n.wmde-markdown pre .copied {\n visibility: hidden;\n display: flex;\n position: absolute;\n cursor: pointer;\n color: var(--color-fg-default);\n top: 6px;\n right: 6px;\n border-radius: 5px;\n background: var(--color-border-default);\n padding: 6px;\n font-size: 12px;\n transition: all 0.3s;\n}\n.wmde-markdown pre .copied .octicon-copy {\n display: block;\n}\n.wmde-markdown pre .copied .octicon-check {\n display: none;\n}\n.wmde-markdown pre:hover .copied {\n visibility: visible;\n}\n.wmde-markdown pre:hover .copied:hover {\n background: var(--color-prettylights-syntax-entity-tag);\n color: var(--color-canvas-default);\n}\n.wmde-markdown pre:hover .copied:active,\n.wmde-markdown pre .copied.active {\n background: var(--color-copied-active-bg);\n color: var(--color-canvas-default);\n}\n.wmde-markdown pre .active .octicon-copy {\n display: none;\n}\n.wmde-markdown pre .active .octicon-check {\n display: block;\n}\n.wmde-markdown .markdown-alert {\n padding: 0.5rem 1em;\n color: inherit;\n margin-bottom: 16px;\n border-left: 0.25em solid var(--borderColor-default, var(--color-border-default));\n}\n.wmde-markdown .markdown-alert > :last-child {\n margin-bottom: 0 !important;\n}\n.wmde-markdown .markdown-alert .markdown-alert-title {\n display: flex;\n align-items: center;\n line-height: 1;\n font-weight: 500;\n font-size: 14px;\n}\n.wmde-markdown .markdown-alert .markdown-alert-title svg.octicon {\n margin-right: var(--base-size-8, 8px) !important;\n}\n.wmde-markdown .markdown-alert.markdown-alert-note {\n border-left-color: var(--borderColor-accent-emphasis, var(--color-accent-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-note .markdown-alert-title {\n color: var(--fgColor-accent, var(--color-accent-fg));\n}\n.wmde-markdown .markdown-alert.markdown-alert-tip {\n border-left-color: var(--borderColor-success-emphasis, var(--color-success-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-tip .markdown-alert-title {\n color: var(--fgColor-success, var(--color-success-fg));\n}\n.wmde-markdown .markdown-alert.markdown-alert-important {\n border-left-color: var(--borderColor-done-emphasis, var(--color-done-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-important .markdown-alert-title {\n color: var(--fgColor-done, var(--color-done-fg));\n}\n.wmde-markdown .markdown-alert.markdown-alert-warning {\n border-left-color: var(--borderColor-attention-emphasis, var(--color-attention-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-warning .markdown-alert-title {\n color: var(--fgColor-attention, var(--color-attention-fg));\n}\n.wmde-markdown .markdown-alert.markdown-alert-caution {\n border-left-color: var(--borderColor-danger-emphasis, var(--color-danger-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-caution .markdown-alert-title {\n color: var(--fgColor-danger, var(--color-danger-fg));\n}\n.wmde-markdown .highlight-line {\n background-color: var(--color-neutral-muted);\n}\n.wmde-markdown .code-line.line-number::before {\n display: inline-block;\n width: 1rem;\n text-align: right;\n margin-right: 16px;\n color: var(--color-fg-subtle);\n content: attr(line);\n white-space: nowrap;\n}\n.wmde-markdown .token.comment,\n.wmde-markdown .token.prolog,\n.wmde-markdown .token.doctype,\n.wmde-markdown .token.cdata {\n color: var(--color-prettylights-syntax-comment);\n}\n.wmde-markdown .token.namespace {\n opacity: 0.7;\n}\n.wmde-markdown .token.property,\n.wmde-markdown .token.tag,\n.wmde-markdown .token.selector,\n.wmde-markdown .token.constant,\n.wmde-markdown .token.symbol,\n.wmde-markdown .token.deleted {\n color: var(--color-prettylights-syntax-entity-tag);\n}\n.wmde-markdown .token.maybe-class-name {\n color: var(--color-prettylights-syntax-variable);\n}\n.wmde-markdown .token.property-access,\n.wmde-markdown .token.operator,\n.wmde-markdown .token.boolean,\n.wmde-markdown .token.number,\n.wmde-markdown .token.selector .token.class,\n.wmde-markdown .token.attr-name,\n.wmde-markdown .token.string,\n.wmde-markdown .token.char,\n.wmde-markdown .token.builtin {\n color: var(--color-prettylights-syntax-constant);\n}\n.wmde-markdown .token.deleted {\n color: var(--color-prettylights-syntax-markup-deleted-text);\n}\n.wmde-markdown .code-line .token.deleted {\n background-color: var(--color-prettylights-syntax-markup-deleted-bg);\n}\n.wmde-markdown .token.inserted {\n color: var(--color-prettylights-syntax-markup-inserted-text);\n}\n.wmde-markdown .code-line .token.inserted {\n background-color: var(--color-prettylights-syntax-markup-inserted-bg);\n}\n.wmde-markdown .token.variable {\n color: var(--color-prettylights-syntax-constant);\n}\n.wmde-markdown .token.entity,\n.wmde-markdown .token.url,\n.wmde-markdown .language-css .token.string,\n.wmde-markdown .style .token.string {\n color: var(--color-prettylights-syntax-string);\n}\n.wmde-markdown .token.color,\n.wmde-markdown .token.atrule,\n.wmde-markdown .token.attr-value,\n.wmde-markdown .token.function,\n.wmde-markdown .token.class-name {\n color: var(--color-prettylights-syntax-string);\n}\n.wmde-markdown .token.rule,\n.wmde-markdown .token.regex,\n.wmde-markdown .token.important,\n.wmde-markdown .token.keyword {\n color: var(--color-prettylights-syntax-keyword);\n}\n.wmde-markdown .token.coord {\n color: var(--color-prettylights-syntax-meta-diff-range);\n}\n.wmde-markdown .token.important,\n.wmde-markdown .token.bold {\n font-weight: bold;\n}\n.wmde-markdown .token.italic {\n font-style: italic;\n}\n.wmde-markdown .token.entity {\n cursor: help;\n}\n","svg.w-heatmap rect:hover {\n stroke: var(--rhm-rect-hover-stroke, rgba(0, 0, 0, 0.14));\n stroke-width: 1px;\n}\nsvg.w-heatmap rect:active {\n fill: #196127;\n fill: var(--rhm-rect-active, #196127);\n stroke-width: 0;\n}\n",".w-overlay {\n position: fixed;\n overflow: auto;\n top: 0;\n right: 0;\n left: 0;\n outline: 0;\n bottom: 0;\n z-index: 999;\n -webkit-overflow-scrolling: touch;\n text-align: center;\n height: 100%;\n width: 100%;\n display: none;\n}\n.w-overlay.open {\n z-index: 9999;\n}\n.w-overlay-open {\n overflow: hidden;\n}\n.w-overlay-content {\n position: relative;\n outline: 0;\n display: inline-block;\n vertical-align: middle;\n text-align: left;\n margin: 20px 0;\n z-index: 20;\n}\n.w-overlay-inline {\n position: absolute;\n overflow: initial;\n}\n.w-overlay-inline .w-overlay-container {\n position: relative;\n}\n.w-overlay-inline .w-overlay-backdrop {\n position: absolute;\n}\n.w-overlay-container {\n position: absolute;\n overflow: auto;\n z-index: 99999;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.w-overlay-container:before {\n content: ' ';\n display: inline-block;\n height: 100%;\n width: 1px;\n vertical-align: middle;\n}\n.w-overlay-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 1;\n z-index: 20;\n background-color: rgba(16, 22, 26, 0.7);\n overflow: auto;\n -webkit-user-select: none;\n user-select: none;\n}\n.w-overlay-enter .w-overlay-backdrop {\n opacity: 0;\n}\n.w-overlay-enter-active .w-overlay-backdrop {\n opacity: 1;\n transition: opacity 300ms ease-in;\n}\n.w-overlay-exit .w-overlay-backdrop {\n opacity: 1;\n}\n.w-overlay-exit-active .w-overlay-backdrop {\n opacity: 0;\n transition: opacity 300ms ease-in;\n}\n.w-overlay-enter .w-overlay-content {\n transform: scale(0.5);\n opacity: 0;\n}\n.w-overlay-enter-active .w-overlay-content {\n opacity: 1;\n transform: translate(0);\n transition: transform 300ms ease, opacity 300ms ease;\n}\n.w-overlay-exit .w-overlay-content {\n opacity: 1;\n transform: translate(0);\n transition: transform 300ms ease, opacity 300ms ease;\n}\n.w-overlay-exit-active .w-overlay-content {\n transform: scale(0.5);\n opacity: 0;\n}\n.w-overlay-enter,\n.w-overlay-enter-done,\n.w-overlay-exit {\n display: inherit;\n}\n",".w-overlay.w-overlay-trigger {\n position: absolute;\n top: auto;\n left: auto;\n right: auto;\n bottom: auto;\n overflow: inherit;\n width: initial;\n height: initial;\n}\n.w-overlay.w-overlay-trigger .w-overlay-container {\n position: relative;\n overflow: inherit;\n}\n.w-overlay.w-overlay-trigger .w-overlay-container::before {\n display: none;\n}\n.w-overlay.w-overlay-trigger .w-overlay-content {\n margin: 0;\n}\n.w-overlay.w-overlay-trigger.rightTop .w-overlay-content {\n transform-origin: left top;\n}\n.w-overlay.w-overlay-trigger.right .w-overlay-content {\n transform-origin: left center;\n}\n.w-overlay.w-overlay-trigger.rightBottom .w-overlay-content {\n transform-origin: left bottom;\n}\n.w-overlay.w-overlay-trigger.topLeft .w-overlay-content {\n transform-origin: bottom left;\n}\n.w-overlay.w-overlay-trigger.top .w-overlay-content {\n transform-origin: bottom center;\n}\n.w-overlay.w-overlay-trigger.topRight .w-overlay-content {\n transform-origin: bottom right;\n}\n.w-overlay.w-overlay-trigger.leftTop .w-overlay-content {\n transform-origin: right top;\n}\n.w-overlay.w-overlay-trigger.left .w-overlay-content {\n transform-origin: right center;\n}\n.w-overlay.w-overlay-trigger.leftBottom .w-overlay-content {\n transform-origin: right bottom;\n}\n.w-overlay.w-overlay-trigger.bottomLeft .w-overlay-content {\n transform-origin: top left;\n}\n.w-overlay.w-overlay-trigger.bottom .w-overlay-content {\n transform-origin: top center;\n}\n.w-overlay.w-overlay-trigger.bottomRight .w-overlay-content {\n transform-origin: top right;\n}\n.w-overlay-trigger-disabled {\n cursor: not-allowed;\n}\n",".w-tooltip {\n position: relative;\n display: inline-block;\n}\n.w-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.w-tooltip-inner {\n font-size: 12px;\n max-width: 250px;\n padding: 5px 10px;\n display: block;\n color: #fff;\n text-align: left;\n text-decoration: none;\n background-color: rgba(0, 0, 0, 0.75);\n border-radius: 4px;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);\n word-break: break-all;\n}\n.w-tooltip.right .w-tooltip-arrow,\n.w-tooltip.rightTop .w-tooltip-arrow,\n.w-tooltip.rightBottom .w-tooltip-arrow {\n border-right-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 5px 5px 0;\n left: 0;\n margin-top: -5px;\n top: 50%;\n}\n.w-tooltip.left .w-tooltip-arrow,\n.w-tooltip.leftTop .w-tooltip-arrow,\n.w-tooltip.leftBottom .w-tooltip-arrow {\n border-left-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 0 5px 5px;\n margin-top: -5px;\n right: 0;\n top: 50%;\n}\n.w-tooltip.leftTop .w-tooltip-arrow,\n.w-tooltip.rightTop .w-tooltip-arrow {\n top: 15px;\n}\n.w-tooltip.leftBottom .w-tooltip-arrow,\n.w-tooltip.rightBottom .w-tooltip-arrow {\n bottom: 10px;\n top: auto;\n}\n.w-tooltip.top .w-tooltip-arrow,\n.w-tooltip.topLeft .w-tooltip-arrow,\n.w-tooltip.topRight .w-tooltip-arrow {\n border-top-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 5px 0;\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n}\n.w-tooltip.bottom .w-tooltip-arrow,\n.w-tooltip.bottomLeft .w-tooltip-arrow,\n.w-tooltip.bottomRight .w-tooltip-arrow {\n border-bottom-color: rgba(0, 0, 0, 0.75);\n border-width: 0 5px 5px;\n left: 50%;\n margin-left: -5px;\n top: 0;\n}\n.w-tooltip.bottomLeft .w-tooltip-arrow,\n.w-tooltip.topLeft .w-tooltip-arrow {\n left: 15px;\n}\n.w-tooltip.bottomRight .w-tooltip-arrow,\n.w-tooltip.topRight .w-tooltip-arrow {\n right: 10px;\n left: auto;\n}\n.w-tooltip.bottom,\n.w-tooltip.bottomLeft,\n.w-tooltip.bottomRight {\n padding-top: 5px;\n}\n.w-tooltip.top,\n.w-tooltip.topLeft,\n.w-tooltip.topRight {\n padding-bottom: 5px;\n}\n.w-tooltip.right,\n.w-tooltip.rightTop,\n.w-tooltip.rightBottom {\n padding-left: 5px;\n}\n.w-tooltip.left,\n.w-tooltip.leftTop,\n.w-tooltip.leftBottom {\n padding-right: 5px;\n}\n.w-tooltip.no-arrow {\n padding: 0 !important;\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/main.94b5c0a4.css.map b/static/css/main.94b5c0a4.css.map deleted file mode 100644 index 0192bb45..00000000 --- a/static/css/main.94b5c0a4.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.94b5c0a4.css","mappings":"AAAA,mGACE,6BAA8B,CAC9B,4BACF,CACA,gGACE,6BAA8B,CAC9B,4BACF,CAEA,mBACE,0CACF,CACA,mCACE,8CACF,CACA,+CAEE,yBAA0B,CAD1B,+CAEF,CAEA,QAEE,2CAA4C,CAD5C,iBAEF,CACA,iCACE,yBACF,CACA,sBACE,QAAS,CAET,eAAgB,CADhB,SAEF,CACA,aAIE,wBAA2B,CAC3B,yBAA4B,CAH5B,WAAY,CAIZ,yBAA2B,CAH3B,aAAc,CAFd,8CAMF,CACA,eAEE,kBAAoB,CADpB,mBAEF,CACA,qCACE,qBACF,CACA,gBACE,4TACF,CACA,6BACE,YACF,CACA,4BAEE,kBAAmB,CADnB,YAEF,CACA,2BAEE,aAAc,CACd,WAAY,CAFZ,WAAa,CAGb,sBACF,CACA,iCACE,SACF,CACA,uBAGE,4BAA6B,CAI7B,QAAS,CACT,qBAAsB,CAPtB,kBAAmB,CAQnB,cAAe,CALf,oBAAqB,CACrB,cAAe,CAKf,YAAa,CAJb,eAAgB,CAJhB,iBAAkB,CASlB,qCACF,CACA,gBACE,YAAa,CACb,6BAA8B,CAE9B,uBACF,CCpFA,mCACE,kCAGE,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,8BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAA6B,CAC7B,yCAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,4CAAiD,CACjD,yBAA0B,CAC1B,+BAAgC,CAChC,4BAA6B,CAC7B,kCAAmC,CACnC,uBAAwB,CACxB,6BAA8B,CAC9B,0BAA2B,CAC3B,gCAAiC,CACjC,gCAAiC,CAlDjC,iBAmDF,CACF,CACA,oCACE,kCAGE,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,2BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAAwC,CACxC,0CAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,gCAAiC,CACjC,yBAA0B,CAC1B,+BAAgC,CAChC,4BAA6B,CAC7B,kCAAmC,CACnC,uBAAwB,CACxB,6BAA8B,CAC9B,0BAA2B,CAC3B,gCAAiC,CACjC,gCAAiC,CAlDjC,kBAmDF,CACF,CACA,8LAME,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,8BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAA6B,CAC7B,yCAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,4CAAiD,CACjD,yBAA0B,CA1C1B,iBA2CF,CACA,mMAME,2CAA4C,CAC5C,4CAA6C,CAC7C,0CAA2C,CAC3C,2DAA4D,CAC5D,8CAA+C,CAC/C,2CAA4C,CAC5C,0CAA2C,CAC3C,4CAA6C,CAC7C,gEAAiE,CACjE,wDAAyD,CACzD,sDAAuD,CACvD,wDAAyD,CACzD,sDAAuD,CACvD,iDAAkD,CAClD,+CAAgD,CAChD,kDAAmD,CACnD,iDAAkD,CAClD,+CAAgD,CAChD,uDAAwD,CACxD,qDAAsD,CACtD,wDAAyD,CACzD,sDAAuD,CACvD,uDAAwD,CACxD,qDAAsD,CACtD,uDAAwD,CACxD,qDAAsD,CACtD,mDAAoD,CACpD,4DAA6D,CAC7D,6DAA8D,CAC9D,iEAAkE,CAClE,0BAA2B,CAC3B,wBAAyB,CACzB,yBAA0B,CAC1B,2BAA+B,CAC/B,6BAA8B,CAC9B,8BAA+B,CAC/B,4BAAwC,CACxC,0CAA+C,CAC/C,yBAA0B,CAC1B,+BAAgC,CAChC,gCAAiC,CACjC,yBAA0B,CA1C1B,kBA2CF,CACA,eACE,6BAA8B,CAI9B,oBAAqB,CAErB,4CAA6C,CAD7C,6BAA8B,CAJ9B,2HAA4I,CAC5I,cAAe,CACf,eAIF,CACA,uEAGE,aACF,CACA,uBACE,iBACF,CACA,wBACE,sBACF,CACA,iBACE,4BAA6B,CAC7B,4BAA6B,CAC7B,oBACF,CACA,+CAEE,eACF,CACA,2BACE,kBAAmB,CACnB,wCAAyC,CACjC,gCACV,CACA,uCAEE,eACF,CACA,mBACE,iBACF,CACA,kBAKE,iDAAkD,CADlD,aAAc,CAFd,eAAgB,CADhB,cAAgB,CAEhB,mBAGF,CACA,oBACE,8CAA+C,CAC/C,+BACF,CACA,qBACE,aACF,CACA,sCAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBACF,CACA,mBACE,aACF,CACA,mBACE,SACF,CACA,mBAKE,4CAA6C,CAH7C,iBAAkB,CAElB,sBAAuB,CAHvB,oBAAqB,CAErB,cAGF,CACA,8EAIE,+BAAiC,CACjC,aACF,CACA,sBACE,eACF,CACA,kBAGE,sBAAuB,CAMvB,4CAA6C,CAL7C,QAAS,CACT,iDAAkD,CAJlD,sBAAuB,CAKvB,YAAc,CAEd,aAAc,CANd,eAAgB,CAKhB,SAGF,CACA,qBACE,YAAa,CAGb,mBAAoB,CACpB,iBAAkB,CAClB,mBAAoB,CAJpB,QAAS,CACT,gBAIF,CACA,sFAGE,yBACF,CACA,4IAGE,iBAAkB,CAClB,SACF,CACA,mIAGE,6BACF,CACA,2DAEE,qBAAsB,CACtB,SACF,CACA,gHAEE,WACF,CACA,6BACE,4BAA6B,CAC7B,mBACF,CACA,mHAEE,uBACF,CACA,2CACE,aAAc,CACd,WACF,CACA,4CACE,yBAA0B,CAC1B,YACF,CACA,uBACE,yBACF,CAKA,iDAFE,UAAW,CADX,aAOF,CAJA,wBAEE,UAEF,CACA,qBAEE,wBAAyB,CADzB,gBAAiB,CAEjB,aAAc,CAGd,cAAe,CADf,sBAAkB,CAAlB,iBAEF,CAmCA,oCAEE,SACF,CACA,+BACE,cACF,CACA,iDACE,sBACF,CACA,mBAOE,2CAA4C,CAC5C,8CAA4C,CAC5C,2CAA+C,CAC/C,iBAAkB,CAClB,oDAAqD,CANrD,6BAA8B,CAJ9B,oBAAqB,CAErB,sFAA6F,CAC7F,gBAAiB,CAFjB,eAAgB,CAIhB,qBAMF,CACA,4GAQE,eAAgB,CAChB,gBAAiB,CAFjB,kBAAmB,CADnB,eAIF,CACA,kBAIE,iDAAkD,CADlD,eAAgB,CAFhB,eAAgB,CAChB,mBAGF,CACA,kBAEE,gBAAiB,CADjB,eAEF,CACA,kBAEE,aAAc,CADd,eAEF,CACA,kBAEE,gBAAkB,CADlB,eAEF,CACA,kBAGE,2BAA4B,CAD5B,eAAiB,CADjB,eAGF,CACA,iBAEE,kBAAmB,CADnB,YAEF,CACA,0BAIE,mDAAqD,CADrD,2BAA4B,CAF5B,QAAS,CACT,aAGF,CACA,oCAGE,eAAgB,CADhB,YAAa,CAEb,gBACF,CACA,0CAEE,2BACF,CACA,gGAIE,2BACF,CACA,kBACE,aACF,CAMA,yDAHE,wFAA+F,CAC/F,cAQF,CANA,mBAKE,gBAAiB,CAHjB,eAAgB,CADhB,YAKF,CACA,wBAIE,iBAAkB,CAHlB,oBAAqB,CACrB,0BAA4B,CAC5B,0BAEF,CACA,kCACE,4BAA6B,CAC7B,SACF,CAHA,6BACE,4BAA6B,CAC7B,SACF,CACA,gGAGE,uBAAwB,CACxB,eAAgB,CAFhB,QAGF,CACA,+BACE,aACF,CAKA,2CAFE,UAAW,CADX,aAOF,CAJA,qBAEE,UAEF,CACA,4BACE,sBACF,CACA,2BACE,yBACF,CACA,6BACE,aAAc,CACd,oBACF,CACA,uBACE,4BACF,CACA,wBACE,UAAW,CAGX,aAAc,CADd,iBAAkB,CADlB,iBAGF,CACA,6BACE,YACF,CACA,gKASE,kBAAmB,CADnB,YAEF,CACA,uCACE,YACF,CACA,sCACE,eACF,CACA,4BACE,WACF,CACA,2BACE,WACF,CACA,gMAME,6BAA8B,CAC9B,qBAAsB,CACtB,iBACF,CACA,gMAME,oBACF,CACA,oRAME,kBACF,CACA,wQAaE,iBAAkB,CADlB,cAEF,CACA,oDAGE,oBAAqB,CADrB,SAEF,CACA,4BACE,uBACF,CACA,0BACE,2BACF,CACA,0BACE,2BACF,CACA,kCACE,uBACF,CACA,oFAKE,eAAgB,CADhB,YAEF,CACA,oBACE,eACF,CACA,qBACE,gBACF,CACA,kBACE,SACF,CACA,qBAGE,aAAc,CACd,iBAAkB,CAClB,eAAgB,CAHhB,eAAgB,CADhB,SAKF,CACA,qBAEE,kBAAmB,CADnB,cAEF,CACA,wBACE,eACF,CACA,gDAGE,4CAA6C,CAD7C,gBAEF,CACA,wBACE,4CAA6C,CAC7C,8CACF,CACA,sCACE,2CACF,CACA,yBACE,4BACF,CACA,gCACE,iBACF,CACA,+BACE,kBACF,CACA,sBAGE,4BAA6B,CAF7B,cAAe,CACf,uBAEF,CACA,0BACE,aAAc,CACd,eACF,CACA,+BAOE,4CAA6C,CAN7C,aAAc,CACd,UAAW,CAGX,eAAgB,CAChB,eAAgB,CAFhB,WAAY,CADZ,UAKF,CACA,mCACE,aAAc,CACd,UACF,CACA,oCAGE,UAAW,CACX,6BAA8B,CAH9B,aAAc,CACd,eAGF,CACA,iCAGE,UAAW,CAFX,aAAc,CACd,eAEF,CACA,sCACE,aAAc,CACd,kBAAmB,CACnB,eAAgB,CAChB,iBACF,CACA,0CACE,aAAc,CACd,iBACF,CACA,gCAGE,UAAW,CAFX,aAAc,CACd,eAEF,CACA,qCACE,aAAc,CACd,eAAgB,CAChB,eAAgB,CAChB,gBACF,CACA,yCACE,QAAS,CACT,gBACF,CACA,+BACE,aAAc,CACd,UAAW,CACX,iBAAkB,CAClB,eACF,CACA,oCACE,eACF,CACA,gCACE,aAAc,CACd,WAAY,CACZ,gBAAiB,CACjB,eACF,CACA,qCACE,aAAc,CACd,kBAAmB,CACnB,eAAgB,CAChB,gBACF,CACA,sCAKE,2CAA4C,CAC5C,iBAAkB,CAFlB,aAAc,CADd,QAAS,CADT,iBAKF,CACA,4CAEE,YACF,CACA,wBACE,uBACF,CACA,wBACE,cACF,CACA,wBAKE,sBAAuB,CACvB,QAAS,CAJT,QAAS,CADT,SAAU,CAGV,eAAgB,CADhB,iBAIF,CACA,mBAGE,2CAA4C,CAC5C,iBAAkB,CAHlB,aAAc,CACd,gBAGF,CACA,8CAQE,gBAAiB,CACjB,4BAA6B,CAC7B,QAAS,CART,cAAe,CAKf,mBAAoB,CAFpB,QAAS,CAFT,cAAe,CAGf,gBAAiB,CAFjB,SAOF,CACA,wBAGE,aAAc,CADd,aAAc,CADd,YAGF,CACA,wDAIE,cAAe,CACf,aAAc,CAFd,eAAgB,CADhB,WAAY,CAIZ,eAAgB,CAChB,kBACF,CACA,mCAGE,sCAAuC,CACvC,QAAS,CAHT,oBAAqB,CACrB,gBAGF,CACA,4BACE,YACF,CACA,4BAEE,qCAAsC,CACtC,YAAa,CAFb,eAGF,CACA,0BAGE,gDAAiD,CADjD,2BAA4B,CAD5B,cAGF,CACA,6BACE,iBACF,CACA,6BACE,iBACF,CACA,2CAQE,6CAA8C,CAC9C,iBAAkB,CALlB,WAAY,CAGZ,UAAW,CAFX,UAAW,CACX,mBAAoB,CALpB,iBAAkB,CAElB,UAAW,CADX,QAQF,CACA,oCACE,6BACF,CACA,yDACE,qBACF,CACA,+BACE,oBACF,CACA,qCACE,eACF,CACA,6CACE,cACF,CACA,8DACE,cACF,CACA,uCACE,YACF,CACA,gGAEE,0BAA6B,CAC7B,qBACF,CACA,sIAEE,0BACF,CACA,mDACE,kBACF,CACA,mBACE,iBACF,CACA,2BASE,sCAAuC,CADvC,iBAAkB,CAHlB,6BAA8B,CAD9B,cAAe,CAFf,YAAa,CASb,cAAe,CADf,WAAY,CAPZ,iBAAkB,CAIlB,SAAU,CADV,OAAQ,CAMR,kBAAoB,CAXpB,iBAYF,CACA,yCACE,aACF,CACA,0CACE,YACF,CACA,iCACE,kBACF,CACA,uCACE,sDAAuD,CACvD,iCACF,CACA,0EAEE,wCAAyC,CACzC,iCACF,CACA,yCACE,YACF,CACA,0CACE,aACF,CACA,+BAIE,8EAAiF,CAFjF,aAAc,CACd,kBAAmB,CAFnB,iBAIF,CACA,2CACE,yBACF,CACA,qDAEE,kBAAmB,CADnB,YAAa,CAIb,cAAe,CADf,eAAgB,CADhB,aAGF,CACA,iEACE,0BAAgD,CAAhD,6CACF,CACA,mDACE,iFACF,CACA,yEACE,4BAAoD,CAApD,kDACF,CACA,kDACE,mFACF,CACA,wEACE,6BAAsD,CAAtD,oDACF,CACA,wDACE,6EACF,CACA,8EACE,0BAAgD,CAAhD,8CACF,CACA,sDACE,uFACF,CACA,4EACE,+BAA0D,CAA1D,wDACF,CACA,sDACE,iFACF,CACA,4EACE,4BAAoD,CAApD,kDACF,CACA,+BACE,2CACF,CACA,6CAKE,4BAA6B,CAC7B,kBAAmB,CALnB,oBAAqB,CAGrB,iBAAkB,CADlB,gBAAiB,CAIjB,kBAAmB,CALnB,UAMF,CACA,qHAIE,8CACF,CACA,gCACE,UACF,CACA,kLAME,iDACF,CACA,uCACE,+CACF,CACA,kSASE,+CACF,CACA,8BACE,0DACF,CACA,yCACE,mEACF,CACA,+BACE,2DACF,CACA,0CACE,oEACF,CACA,+BACE,+CACF,CAOA,gSAKE,6CACF,CACA,qHAIE,8CACF,CACA,4BACE,sDACF,CACA,2DAEE,eACF,CACA,6BACE,iBACF,CACA,6BACE,WACF,CCljCA,yBACE,sBAAyD,CAAzD,mDAAyD,CACzD,gBACF,CACA,0BACE,YAAa,CACb,mCAAqC,CACrC,cACF,CCRA,WASE,gCAAiC,CAFjC,QAAS,CAMT,YAAa,CAFb,WAAY,CANZ,MAAO,CACP,SAAU,CAJV,aAAc,CADd,cAAe,CAGf,OAAQ,CAMR,iBAAkB,CAPlB,KAAM,CASN,UAAW,CAJX,WAMF,CACA,gBACE,YACF,CACA,gBACE,eACF,CACA,mBAGE,oBAAqB,CAGrB,aAAc,CAJd,SAAU,CADV,iBAAkB,CAIlB,eAAgB,CADhB,qBAAsB,CAGtB,UACF,CACA,kBAEE,gBAAiB,CAAjB,gBAAiB,CADjB,iBAEF,CACA,uCACE,iBACF,CACA,sCACE,iBACF,CACA,qBAOE,QAAS,CAFT,MAAO,CAHP,aAAc,CADd,iBAAkB,CAKlB,OAAQ,CAFR,KAAM,CADN,aAKF,CACA,4BACE,WAAY,CACZ,oBAAqB,CACrB,WAAY,CAEZ,qBAAsB,CADtB,SAEF,CACA,oBAQE,kCAAuC,CAJvC,QAAS,CACT,MAAO,CACP,SAAU,CAGV,aAAc,CARd,cAAe,CAEf,OAAQ,CADR,KAAM,CAQN,wBAAyB,CACjB,qBAAiB,CAAjB,gBAAiB,CAJzB,UAKF,CACA,qCACE,SACF,CACA,4CACE,SAAU,CACV,8BACF,CACA,oCACE,SACF,CACA,2CACE,SAAU,CACV,8BACF,CACA,oCAEE,SAAU,CADV,mBAEF,CAMA,8EACE,SAAU,CACV,sBAAuB,CACvB,8CACF,CACA,0CAEE,SAAU,CADV,mBAEF,CACA,uDAGE,eACF,CCzGA,6BAKE,WAAY,CAGZ,WAAe,CALf,SAAU,CAGV,gBAAiB,CALjB,iBAAkB,CAGlB,UAAW,CAFX,QAAS,CAKT,UAEF,CACA,kDAEE,gBAAiB,CADjB,iBAEF,CACA,yDACE,YACF,CACA,gDACE,QACF,CACA,yDACE,yBACF,CACA,sDACE,4BACF,CACA,4DACE,4BACF,CACA,wDACE,4BACF,CACA,oDACE,8BACF,CACA,yDACE,6BACF,CACA,wDACE,0BACF,CACA,qDACE,6BACF,CACA,2DACE,6BACF,CACA,2DACE,yBACF,CACA,uDACE,2BACF,CACA,4DACE,0BACF,CACA,4BACE,kBACF,CC1DA,WAEE,oBAAqB,CADrB,iBAEF,CACA,iBAIE,wBAAyB,CACzB,kBAAmB,CAFnB,QAAS,CAFT,iBAAkB,CAClB,OAIF,CACA,iBAQE,gCAAqC,CACrC,iBAAkB,CAClB,mCAAwC,CALxC,UAAW,CADX,aAAc,CAHd,cAAe,CACf,eAAgB,CAChB,gBAAiB,CAGjB,eAAgB,CAChB,oBAAqB,CAIrB,oBACF,CACA,+GAGE,kCAAuC,CACvC,0BAA2B,CAC3B,MAAO,CACP,eAAgB,CAChB,OACF,CACA,4GAGE,iCAAsC,CACtC,0BAA2B,CAC3B,eAAgB,CAChB,OAAQ,CACR,OACF,CACA,yEAEE,QACF,CACA,+EAEE,WAAY,CACZ,QACF,CACA,yGAGE,gCAAqC,CACrC,sBAAuB,CACvB,QAAS,CACT,QAAS,CACT,gBACF,CACA,kHAGE,mCAAwC,CACxC,sBAAuB,CACvB,QAAS,CACT,gBAAiB,CACjB,KACF,CACA,2EAEE,SACF,CACA,6EAGE,SAAU,CADV,UAEF,CACA,+DAGE,eACF,CACA,sDAGE,kBACF,CACA,4DAGE,gBACF,CACA,yDAGE,iBACF,CACA,oBACE,mBACF","sources":["../../node_modules/react-code-preview-layout/esm/styles.css","../../node_modules/@uiw/react-markdown-preview/esm/styles/markdown.css","../../core/esm/style/index.css","../../node_modules/@uiw/react-overlay/esm/style/index.css","../../node_modules/@uiw/react-overlay-trigger/esm/style/index.css","../../node_modules/@uiw/react-tooltip/esm/style/index.css"],"sourcesContent":[".code-preview-layout[data-color-mode*='light'], [data-color-mode*='light'], body[data-color-mode*='light'] {\n --color-canvas-subtle: #f6f8fa;\n --color-border-muted: hsl(210, 18%, 87%);\n}\n.code-preview-layout[data-color-mode*='dark'], [data-color-mode*='dark'], body[data-color-mode*='dark'] {\n --color-canvas-subtle: #161b22;\n --color-border-muted: #21262d;\n}\n\n.w-rcpl.w-bordered {\n border: 1px solid var(--color-border-muted);\n}\n.w-rcpl.w-bordered > .w-rcpl-toolbar {\n border-top: 1px solid var(--color-border-muted);\n}\n.w-rcpl.w-bordered > .w-rcpl-code:not(.w-hidden) {\n border-top: 1px dashed var(--color-border-muted);\n border-radius: 0 0 6px 6px;\n}\n\n.w-rcpl {\n border-radius: 5px;\n background-color: var(--color-canvas-subtle);\n}\n.w-rcpl-preview:not(:last-child) {\n border-radius: 5px 5px 0 0;\n}\n.w-rcpl-code.w-hidden {\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.w-rcpl-code {\n transition: height cubic-bezier(0.360, 0.000, 0.660, -0.560);;\n height: auto;\n overflow: auto;\n border-top-left-radius: 0px;\n border-top-right-radius: 0px;\n margin-bottom: 0 !important;\n}\n.w-rcpl-code > * {\n padding: 0 !important;\n margin: 0 !important;\n}\n.w-disable-checkered > .w-rcpl-preview {\n background-image: none;\n}\n.w-rcpl-preview {\n background: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cpattern id='a' width='16' height='16' patternUnits='userSpaceOnUse'%3E%3Cpath fill='rgba(0, 0, 0, 0.06)' d='M0 0h8v8H0zm8 8h8v8H8z'/%3E%3C/pattern%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E\")\n}\n.w-rcpl-preview, .w-rcpl-code {\n padding: 15px;\n}\n.w-rcpl-extra, .w-rcpl-title {\n display: flex;\n align-items: center;\n}\n.w-rcpl-toolbar button svg {\n opacity: 0.37;\n display: block;\n height: 18px;\n transition: opacity 0.3s;\n}\n.w-rcpl-toolbar button svg:hover {\n opacity: 1;\n}\n.w-rcpl-toolbar button {\n color: currentColor;\n position: relative;\n background-color: transparent;\n display: inline-block;\n height: inherit;\n padding: 3px 4px;\n border: 0;\n box-sizing: border-box;\n cursor: pointer;\n outline: none;\n transition: opacity .2s, background .2s;\n}\n.w-rcpl-toolbar {\n display: flex;\n justify-content: space-between;\n padding: 5px 5px;\n padding-left: 8px;\n}","@media (prefers-color-scheme: dark) {\n .wmde-markdown,\n .wmde-markdown-var {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110, 118, 129, 0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187, 128, 9, 0.15);\n --color-danger-fg: #f85149;\n --color-danger-emphasis: #da3633;\n --color-attention-fg: #d29922;\n --color-attention-emphasis: #9e6a03;\n --color-done-fg: #a371f7;\n --color-done-emphasis: #8957e5;\n --color-success-fg: #3fb950;\n --color-success-emphasis: #238636;\n --color-copied-active-bg: #2e9b33;\n }\n}\n@media (prefers-color-scheme: light) {\n .wmde-markdown,\n .wmde-markdown-var {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #ffebe9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsl(210, 18%, 87%);\n --color-neutral-muted: rgba(175, 184, 193, 0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #d1242f;\n --color-danger-emphasis: #cf222e;\n --color-attention-fg: #9a6700;\n --color-attention-emphasis: #9a6700;\n --color-done-fg: #8250df;\n --color-done-emphasis: #8250df;\n --color-success-fg: #1a7f37;\n --color-success-emphasis: #1f883d;\n --color-copied-active-bg: #2e9b33;\n }\n}\n[data-color-mode*='dark'] .wmde-markdown,\n[data-color-mode*='dark'] .wmde-markdown-var,\n.wmde-markdown-var[data-color-mode*='dark'],\n.wmde-markdown[data-color-mode*='dark'],\nbody[data-color-mode*='dark'] {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110, 118, 129, 0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187, 128, 9, 0.15);\n --color-danger-fg: #f85149;\n}\n[data-color-mode*='light'] .wmde-markdown,\n[data-color-mode*='light'] .wmde-markdown-var,\n.wmde-markdown-var[data-color-mode*='light'],\n.wmde-markdown[data-color-mode*='light'],\nbody[data-color-mode*='light'] {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #ffebe9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsl(210, 18%, 87%);\n --color-neutral-muted: rgba(175, 184, 193, 0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n}\n.wmde-markdown {\n -webkit-text-size-adjust: 100%;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n font-size: 16px;\n line-height: 1.5;\n word-wrap: break-word;\n color: var(--color-fg-default);\n background-color: var(--color-canvas-default);\n}\n.wmde-markdown details,\n.wmde-markdown figcaption,\n.wmde-markdown figure {\n display: block;\n}\n.wmde-markdown summary {\n display: list-item;\n}\n.wmde-markdown [hidden] {\n display: none !important;\n}\n.wmde-markdown a {\n background-color: transparent;\n color: var(--color-accent-fg);\n text-decoration: none;\n}\n.wmde-markdown a:active,\n.wmde-markdown a:hover {\n outline-width: 0;\n}\n.wmde-markdown abbr[title] {\n border-bottom: none;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n.wmde-markdown b,\n.wmde-markdown strong {\n font-weight: 600;\n}\n.wmde-markdown dfn {\n font-style: italic;\n}\n.wmde-markdown h1 {\n margin: 0.67em 0;\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 2em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.wmde-markdown mark {\n background-color: var(--color-attention-subtle);\n color: var(--color-text-primary);\n}\n.wmde-markdown small {\n font-size: 90%;\n}\n.wmde-markdown sub,\n.wmde-markdown sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n.wmde-markdown sub {\n bottom: -0.25em;\n}\n.wmde-markdown sup {\n top: -0.5em;\n}\n.wmde-markdown img {\n display: inline-block;\n border-style: none;\n max-width: 100%;\n box-sizing: content-box;\n background-color: var(--color-canvas-default);\n}\n.wmde-markdown code,\n.wmde-markdown kbd,\n.wmde-markdown pre,\n.wmde-markdown samp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n.wmde-markdown figure {\n margin: 1em 40px;\n}\n.wmde-markdown hr {\n box-sizing: content-box;\n overflow: hidden;\n background: transparent;\n border: 0;\n border-bottom: 1px solid var(--color-border-muted);\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n}\n.wmde-markdown input {\n font: inherit;\n margin: 0;\n overflow: visible;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n.wmde-markdown [type='button'],\n.wmde-markdown [type='reset'],\n.wmde-markdown [type='submit'] {\n -webkit-appearance: button;\n}\n.wmde-markdown [type='button']::-moz-focus-inner,\n.wmde-markdown [type='reset']::-moz-focus-inner,\n.wmde-markdown [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n.wmde-markdown [type='button']:-moz-focusring,\n.wmde-markdown [type='reset']:-moz-focusring,\n.wmde-markdown [type='submit']:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n.wmde-markdown [type='checkbox'],\n.wmde-markdown [type='radio'] {\n box-sizing: border-box;\n padding: 0;\n}\n.wmde-markdown [type='number']::-webkit-inner-spin-button,\n.wmde-markdown [type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n.wmde-markdown [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n.wmde-markdown [type='search']::-webkit-search-cancel-button,\n.wmde-markdown [type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n.wmde-markdown ::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n.wmde-markdown ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n.wmde-markdown a:hover {\n text-decoration: underline;\n}\n.wmde-markdown hr::before {\n display: table;\n content: '';\n}\n.wmde-markdown hr::after {\n display: table;\n clear: both;\n content: '';\n}\n.wmde-markdown table {\n border-spacing: 0;\n border-collapse: collapse;\n display: block;\n width: -webkit-max-content;\n width: max-content;\n max-width: 100%;\n}\n.wmde-markdown td,\n.wmde-markdown th {\n padding: 0;\n}\n.wmde-markdown details summary {\n cursor: pointer;\n}\n.wmde-markdown details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.wmde-markdown kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.wmde-markdown h1,\n.wmde-markdown h2,\n.wmde-markdown h3,\n.wmde-markdown h4,\n.wmde-markdown h5,\n.wmde-markdown h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.wmde-markdown td,\n.wmde-markdown th {\n padding: 0;\n}\n.wmde-markdown details summary {\n cursor: pointer;\n}\n.wmde-markdown details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.wmde-markdown kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.wmde-markdown h1,\n.wmde-markdown h2,\n.wmde-markdown h3,\n.wmde-markdown h4,\n.wmde-markdown h5,\n.wmde-markdown h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.wmde-markdown h2 {\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 1.5em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.wmde-markdown h3 {\n font-weight: 600;\n font-size: 1.25em;\n}\n.wmde-markdown h4 {\n font-weight: 600;\n font-size: 1em;\n}\n.wmde-markdown h5 {\n font-weight: 600;\n font-size: 0.875em;\n}\n.wmde-markdown h6 {\n font-weight: 600;\n font-size: 0.85em;\n color: var(--color-fg-muted);\n}\n.wmde-markdown p {\n margin-top: 0;\n margin-bottom: 10px;\n}\n.wmde-markdown blockquote {\n margin: 0;\n padding: 0 1em;\n color: var(--color-fg-muted);\n border-left: 0.25em solid var(--color-border-default);\n}\n.wmde-markdown ul,\n.wmde-markdown ol {\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 2em;\n}\n.wmde-markdown ol ol,\n.wmde-markdown ul ol {\n list-style-type: lower-roman;\n}\n.wmde-markdown ul ul ol,\n.wmde-markdown ul ol ol,\n.wmde-markdown ol ul ol,\n.wmde-markdown ol ol ol {\n list-style-type: lower-alpha;\n}\n.wmde-markdown dd {\n margin-left: 0;\n}\n.wmde-markdown tt,\n.wmde-markdown code {\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n}\n.wmde-markdown pre {\n margin-top: 0;\n margin-bottom: 0;\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n word-wrap: normal;\n}\n.wmde-markdown .octicon {\n display: inline-block;\n overflow: visible !important;\n vertical-align: text-bottom;\n fill: currentColor;\n}\n.wmde-markdown ::placeholder {\n color: var(--color-fg-subtle);\n opacity: 1;\n}\n.wmde-markdown input::-webkit-outer-spin-button,\n.wmde-markdown input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n appearance: none;\n}\n.wmde-markdown [data-catalyst] {\n display: block;\n}\n.wmde-markdown::before {\n display: table;\n content: '';\n}\n.wmde-markdown::after {\n display: table;\n clear: both;\n content: '';\n}\n.wmde-markdown > *:first-child {\n margin-top: 0 !important;\n}\n.wmde-markdown > *:last-child {\n margin-bottom: 0 !important;\n}\n.wmde-markdown a:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n.wmde-markdown .absent {\n color: var(--color-danger-fg);\n}\n.wmde-markdown a.anchor {\n float: left;\n padding-right: 4px;\n margin-left: -20px;\n line-height: 1;\n}\n.wmde-markdown .anchor:focus {\n outline: none;\n}\n.wmde-markdown p,\n.wmde-markdown blockquote,\n.wmde-markdown ul,\n.wmde-markdown ol,\n.wmde-markdown dl,\n.wmde-markdown table,\n.wmde-markdown pre,\n.wmde-markdown details {\n margin-top: 0;\n margin-bottom: 16px;\n}\n.wmde-markdown blockquote > :first-child {\n margin-top: 0;\n}\n.wmde-markdown blockquote > :last-child {\n margin-bottom: 0;\n}\n.wmde-markdown sup > a::before {\n content: '[';\n}\n.wmde-markdown sup > a::after {\n content: ']';\n}\n.wmde-markdown h1 .octicon-link,\n.wmde-markdown h2 .octicon-link,\n.wmde-markdown h3 .octicon-link,\n.wmde-markdown h4 .octicon-link,\n.wmde-markdown h5 .octicon-link,\n.wmde-markdown h6 .octicon-link {\n color: var(--color-fg-default);\n vertical-align: middle;\n visibility: hidden;\n}\n.wmde-markdown h1:hover .anchor,\n.wmde-markdown h2:hover .anchor,\n.wmde-markdown h3:hover .anchor,\n.wmde-markdown h4:hover .anchor,\n.wmde-markdown h5:hover .anchor,\n.wmde-markdown h6:hover .anchor {\n text-decoration: none;\n}\n.wmde-markdown h1:hover .anchor .octicon-link,\n.wmde-markdown h2:hover .anchor .octicon-link,\n.wmde-markdown h3:hover .anchor .octicon-link,\n.wmde-markdown h4:hover .anchor .octicon-link,\n.wmde-markdown h5:hover .anchor .octicon-link,\n.wmde-markdown h6:hover .anchor .octicon-link {\n visibility: visible;\n}\n.wmde-markdown h1 tt,\n.wmde-markdown h1 code,\n.wmde-markdown h2 tt,\n.wmde-markdown h2 code,\n.wmde-markdown h3 tt,\n.wmde-markdown h3 code,\n.wmde-markdown h4 tt,\n.wmde-markdown h4 code,\n.wmde-markdown h5 tt,\n.wmde-markdown h5 code,\n.wmde-markdown h6 tt,\n.wmde-markdown h6 code {\n padding: 0 0.2em;\n font-size: inherit;\n}\n.wmde-markdown ul.no-list,\n.wmde-markdown ol.no-list {\n padding: 0;\n list-style-type: none;\n}\n.wmde-markdown ol[type='1'] {\n list-style-type: decimal;\n}\n.wmde-markdown ol[type='a'] {\n list-style-type: lower-alpha;\n}\n.wmde-markdown ol[type='i'] {\n list-style-type: lower-roman;\n}\n.wmde-markdown div > ol:not([type]) {\n list-style-type: decimal;\n}\n.wmde-markdown ul ul,\n.wmde-markdown ul ol,\n.wmde-markdown ol ol,\n.wmde-markdown ol ul {\n margin-top: 0;\n margin-bottom: 0;\n}\n.wmde-markdown li > p {\n margin-top: 16px;\n}\n.wmde-markdown li + li {\n margin-top: 0.25em;\n}\n.wmde-markdown dl {\n padding: 0;\n}\n.wmde-markdown dl dt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: 600;\n}\n.wmde-markdown dl dd {\n padding: 0 16px;\n margin-bottom: 16px;\n}\n.wmde-markdown table th {\n font-weight: 600;\n}\n.wmde-markdown table th,\n.wmde-markdown table td {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default);\n}\n.wmde-markdown table tr {\n background-color: var(--color-canvas-default);\n border-top: 1px solid var(--color-border-muted);\n}\n.wmde-markdown table tr:nth-child(2n) {\n background-color: var(--color-canvas-subtle);\n}\n.wmde-markdown table img {\n background-color: transparent;\n}\n.wmde-markdown img[align='right'] {\n padding-left: 20px;\n}\n.wmde-markdown img[align='left'] {\n padding-right: 20px;\n}\n.wmde-markdown .emoji {\n max-width: none;\n vertical-align: text-top;\n background-color: transparent;\n}\n.wmde-markdown span.frame {\n display: block;\n overflow: hidden;\n}\n.wmde-markdown span.frame > span {\n display: block;\n float: left;\n width: auto;\n padding: 7px;\n margin: 13px 0 0;\n overflow: hidden;\n border: 1px solid var(--color-border-default);\n}\n.wmde-markdown span.frame span img {\n display: block;\n float: left;\n}\n.wmde-markdown span.frame span span {\n display: block;\n padding: 5px 0 0;\n clear: both;\n color: var(--color-fg-default);\n}\n.wmde-markdown span.align-center {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.wmde-markdown span.align-center > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: center;\n}\n.wmde-markdown span.align-center span img {\n margin: 0 auto;\n text-align: center;\n}\n.wmde-markdown span.align-right {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.wmde-markdown span.align-right > span {\n display: block;\n margin: 13px 0 0;\n overflow: hidden;\n text-align: right;\n}\n.wmde-markdown span.align-right span img {\n margin: 0;\n text-align: right;\n}\n.wmde-markdown span.float-left {\n display: block;\n float: left;\n margin-right: 13px;\n overflow: hidden;\n}\n.wmde-markdown span.float-left span {\n margin: 13px 0 0;\n}\n.wmde-markdown span.float-right {\n display: block;\n float: right;\n margin-left: 13px;\n overflow: hidden;\n}\n.wmde-markdown span.float-right > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: right;\n}\n.wmde-markdown code,\n.wmde-markdown tt {\n padding: 0.2em 0.4em;\n margin: 0;\n font-size: 85%;\n background-color: var(--color-neutral-muted);\n border-radius: 6px;\n}\n.wmde-markdown code br,\n.wmde-markdown tt br {\n display: none;\n}\n.wmde-markdown del code {\n text-decoration: inherit;\n}\n.wmde-markdown pre code {\n font-size: 100%;\n}\n.wmde-markdown pre > code {\n padding: 0;\n margin: 0;\n word-break: normal;\n white-space: pre;\n background: transparent;\n border: 0;\n}\n.wmde-markdown pre {\n font-size: 85%;\n line-height: 1.45;\n background-color: var(--color-canvas-subtle);\n border-radius: 6px;\n}\n.wmde-markdown pre code,\n.wmde-markdown pre tt {\n display: inline;\n max-width: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n line-height: inherit;\n word-wrap: normal;\n background-color: transparent;\n border: 0;\n}\n.wmde-markdown pre > code {\n padding: 16px;\n overflow: auto;\n display: block;\n}\n.wmde-markdown .csv-data td,\n.wmde-markdown .csv-data th {\n padding: 5px;\n overflow: hidden;\n font-size: 12px;\n line-height: 1;\n text-align: left;\n white-space: nowrap;\n}\n.wmde-markdown .csv-data .blob-num {\n padding: 10px 8px 9px;\n text-align: right;\n background: var(--color-canvas-default);\n border: 0;\n}\n.wmde-markdown .csv-data tr {\n border-top: 0;\n}\n.wmde-markdown .csv-data th {\n font-weight: 600;\n background: var(--color-canvas-subtle);\n border-top: 0;\n}\n.wmde-markdown .footnotes {\n font-size: 12px;\n color: var(--color-fg-muted);\n border-top: 1px solid var(--color-border-default);\n}\n.wmde-markdown .footnotes ol {\n padding-left: 16px;\n}\n.wmde-markdown .footnotes li {\n position: relative;\n}\n.wmde-markdown .footnotes li:target::before {\n position: absolute;\n top: -8px;\n right: -8px;\n bottom: -8px;\n left: -24px;\n pointer-events: none;\n content: '';\n border: 2px solid var(--color-accent-emphasis);\n border-radius: 6px;\n}\n.wmde-markdown .footnotes li:target {\n color: var(--color-fg-default);\n}\n.wmde-markdown .footnotes .data-footnote-backref g-emoji {\n font-family: monospace;\n}\n.wmde-markdown .task-list-item {\n list-style-type: none;\n}\n.wmde-markdown .task-list-item label {\n font-weight: 400;\n}\n.wmde-markdown .task-list-item.enabled label {\n cursor: pointer;\n}\n.wmde-markdown .task-list-item + .wmde-markdown .task-list-item {\n margin-top: 3px;\n}\n.wmde-markdown .task-list-item .handle {\n display: none;\n}\n.wmde-markdown .task-list-item-checkbox,\n.wmde-markdown .contains-task-list input[type='checkbox'] {\n margin: 0 0.2em 0.25em -1.6em;\n vertical-align: middle;\n}\n.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,\n.wmde-markdown .contains-task-list:dir(rtl) input[type='checkbox'] {\n margin: 0 -1.6em 0.25em 0.2em;\n}\n.wmde-markdown ::-webkit-calendar-picker-indicator {\n filter: invert(50%);\n}\n.wmde-markdown pre {\n position: relative;\n}\n.wmde-markdown pre .copied {\n visibility: hidden;\n display: flex;\n position: absolute;\n cursor: pointer;\n color: var(--color-fg-default);\n top: 6px;\n right: 6px;\n border-radius: 5px;\n background: var(--color-border-default);\n padding: 6px;\n font-size: 12px;\n transition: all 0.3s;\n}\n.wmde-markdown pre .copied .octicon-copy {\n display: block;\n}\n.wmde-markdown pre .copied .octicon-check {\n display: none;\n}\n.wmde-markdown pre:hover .copied {\n visibility: visible;\n}\n.wmde-markdown pre:hover .copied:hover {\n background: var(--color-prettylights-syntax-entity-tag);\n color: var(--color-canvas-default);\n}\n.wmde-markdown pre:hover .copied:active,\n.wmde-markdown pre .copied.active {\n background: var(--color-copied-active-bg);\n color: var(--color-canvas-default);\n}\n.wmde-markdown pre .active .octicon-copy {\n display: none;\n}\n.wmde-markdown pre .active .octicon-check {\n display: block;\n}\n.wmde-markdown .markdown-alert {\n padding: 0.5rem 1em;\n color: inherit;\n margin-bottom: 16px;\n border-left: 0.25em solid var(--borderColor-default, var(--color-border-default));\n}\n.wmde-markdown .markdown-alert > :last-child {\n margin-bottom: 0 !important;\n}\n.wmde-markdown .markdown-alert .markdown-alert-title {\n display: flex;\n align-items: center;\n line-height: 1;\n font-weight: 500;\n font-size: 14px;\n}\n.wmde-markdown .markdown-alert .markdown-alert-title svg.octicon {\n margin-right: var(--base-size-8, 8px) !important;\n}\n.wmde-markdown .markdown-alert.markdown-alert-note {\n border-left-color: var(--borderColor-accent-emphasis, var(--color-accent-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-note .markdown-alert-title {\n color: var(--fgColor-accent, var(--color-accent-fg));\n}\n.wmde-markdown .markdown-alert.markdown-alert-tip {\n border-left-color: var(--borderColor-success-emphasis, var(--color-success-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-tip .markdown-alert-title {\n color: var(--fgColor-success, var(--color-success-fg));\n}\n.wmde-markdown .markdown-alert.markdown-alert-important {\n border-left-color: var(--borderColor-done-emphasis, var(--color-done-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-important .markdown-alert-title {\n color: var(--fgColor-done, var(--color-done-fg));\n}\n.wmde-markdown .markdown-alert.markdown-alert-warning {\n border-left-color: var(--borderColor-attention-emphasis, var(--color-attention-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-warning .markdown-alert-title {\n color: var(--fgColor-attention, var(--color-attention-fg));\n}\n.wmde-markdown .markdown-alert.markdown-alert-caution {\n border-left-color: var(--borderColor-danger-emphasis, var(--color-danger-emphasis));\n}\n.wmde-markdown .markdown-alert.markdown-alert-caution .markdown-alert-title {\n color: var(--fgColor-danger, var(--color-danger-fg));\n}\n.wmde-markdown .highlight-line {\n background-color: var(--color-neutral-muted);\n}\n.wmde-markdown .code-line.line-number::before {\n display: inline-block;\n width: 1rem;\n text-align: right;\n margin-right: 16px;\n color: var(--color-fg-subtle);\n content: attr(line);\n white-space: nowrap;\n}\n.wmde-markdown .token.comment,\n.wmde-markdown .token.prolog,\n.wmde-markdown .token.doctype,\n.wmde-markdown .token.cdata {\n color: var(--color-prettylights-syntax-comment);\n}\n.wmde-markdown .token.namespace {\n opacity: 0.7;\n}\n.wmde-markdown .token.property,\n.wmde-markdown .token.tag,\n.wmde-markdown .token.selector,\n.wmde-markdown .token.constant,\n.wmde-markdown .token.symbol,\n.wmde-markdown .token.deleted {\n color: var(--color-prettylights-syntax-entity-tag);\n}\n.wmde-markdown .token.maybe-class-name {\n color: var(--color-prettylights-syntax-variable);\n}\n.wmde-markdown .token.property-access,\n.wmde-markdown .token.operator,\n.wmde-markdown .token.boolean,\n.wmde-markdown .token.number,\n.wmde-markdown .token.selector .token.class,\n.wmde-markdown .token.attr-name,\n.wmde-markdown .token.string,\n.wmde-markdown .token.char,\n.wmde-markdown .token.builtin {\n color: var(--color-prettylights-syntax-constant);\n}\n.wmde-markdown .token.deleted {\n color: var(--color-prettylights-syntax-markup-deleted-text);\n}\n.wmde-markdown .code-line .token.deleted {\n background-color: var(--color-prettylights-syntax-markup-deleted-bg);\n}\n.wmde-markdown .token.inserted {\n color: var(--color-prettylights-syntax-markup-inserted-text);\n}\n.wmde-markdown .code-line .token.inserted {\n background-color: var(--color-prettylights-syntax-markup-inserted-bg);\n}\n.wmde-markdown .token.variable {\n color: var(--color-prettylights-syntax-constant);\n}\n.wmde-markdown .token.entity,\n.wmde-markdown .token.url,\n.wmde-markdown .language-css .token.string,\n.wmde-markdown .style .token.string {\n color: var(--color-prettylights-syntax-string);\n}\n.wmde-markdown .token.color,\n.wmde-markdown .token.atrule,\n.wmde-markdown .token.attr-value,\n.wmde-markdown .token.function,\n.wmde-markdown .token.class-name {\n color: var(--color-prettylights-syntax-string);\n}\n.wmde-markdown .token.rule,\n.wmde-markdown .token.regex,\n.wmde-markdown .token.important,\n.wmde-markdown .token.keyword {\n color: var(--color-prettylights-syntax-keyword);\n}\n.wmde-markdown .token.coord {\n color: var(--color-prettylights-syntax-meta-diff-range);\n}\n.wmde-markdown .token.important,\n.wmde-markdown .token.bold {\n font-weight: bold;\n}\n.wmde-markdown .token.italic {\n font-style: italic;\n}\n.wmde-markdown .token.entity {\n cursor: help;\n}\n","svg.w-heatmap rect:hover {\n stroke: var(--rhm-rect-hover-stroke, rgba(0, 0, 0, 0.14));\n stroke-width: 1px;\n}\nsvg.w-heatmap rect:active {\n fill: #196127;\n fill: var(--rhm-rect-active, #196127);\n stroke-width: 0;\n}\n",".w-overlay {\n position: fixed;\n overflow: auto;\n top: 0;\n right: 0;\n left: 0;\n outline: 0;\n bottom: 0;\n z-index: 999;\n -webkit-overflow-scrolling: touch;\n text-align: center;\n height: 100%;\n width: 100%;\n display: none;\n}\n.w-overlay.open {\n z-index: 9999;\n}\n.w-overlay-open {\n overflow: hidden;\n}\n.w-overlay-content {\n position: relative;\n outline: 0;\n display: inline-block;\n vertical-align: middle;\n text-align: left;\n margin: 20px 0;\n z-index: 20;\n}\n.w-overlay-inline {\n position: absolute;\n overflow: initial;\n}\n.w-overlay-inline .w-overlay-container {\n position: relative;\n}\n.w-overlay-inline .w-overlay-backdrop {\n position: absolute;\n}\n.w-overlay-container {\n position: absolute;\n overflow: auto;\n z-index: 99999;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.w-overlay-container:before {\n content: ' ';\n display: inline-block;\n height: 100%;\n width: 1px;\n vertical-align: middle;\n}\n.w-overlay-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 1;\n z-index: 20;\n background-color: rgba(16, 22, 26, 0.7);\n overflow: auto;\n -webkit-user-select: none;\n user-select: none;\n}\n.w-overlay-enter .w-overlay-backdrop {\n opacity: 0;\n}\n.w-overlay-enter-active .w-overlay-backdrop {\n opacity: 1;\n transition: opacity 300ms ease-in;\n}\n.w-overlay-exit .w-overlay-backdrop {\n opacity: 1;\n}\n.w-overlay-exit-active .w-overlay-backdrop {\n opacity: 0;\n transition: opacity 300ms ease-in;\n}\n.w-overlay-enter .w-overlay-content {\n transform: scale(0.5);\n opacity: 0;\n}\n.w-overlay-enter-active .w-overlay-content {\n opacity: 1;\n transform: translate(0);\n transition: transform 300ms ease, opacity 300ms ease;\n}\n.w-overlay-exit .w-overlay-content {\n opacity: 1;\n transform: translate(0);\n transition: transform 300ms ease, opacity 300ms ease;\n}\n.w-overlay-exit-active .w-overlay-content {\n transform: scale(0.5);\n opacity: 0;\n}\n.w-overlay-enter,\n.w-overlay-enter-done,\n.w-overlay-exit {\n display: inherit;\n}\n",".w-overlay.w-overlay-trigger {\n position: absolute;\n top: auto;\n left: auto;\n right: auto;\n bottom: auto;\n overflow: inherit;\n width: initial;\n height: initial;\n}\n.w-overlay.w-overlay-trigger .w-overlay-container {\n position: relative;\n overflow: inherit;\n}\n.w-overlay.w-overlay-trigger .w-overlay-container::before {\n display: none;\n}\n.w-overlay.w-overlay-trigger .w-overlay-content {\n margin: 0;\n}\n.w-overlay.w-overlay-trigger.rightTop .w-overlay-content {\n transform-origin: left top;\n}\n.w-overlay.w-overlay-trigger.right .w-overlay-content {\n transform-origin: left center;\n}\n.w-overlay.w-overlay-trigger.rightBottom .w-overlay-content {\n transform-origin: left bottom;\n}\n.w-overlay.w-overlay-trigger.topLeft .w-overlay-content {\n transform-origin: bottom left;\n}\n.w-overlay.w-overlay-trigger.top .w-overlay-content {\n transform-origin: bottom center;\n}\n.w-overlay.w-overlay-trigger.topRight .w-overlay-content {\n transform-origin: bottom right;\n}\n.w-overlay.w-overlay-trigger.leftTop .w-overlay-content {\n transform-origin: right top;\n}\n.w-overlay.w-overlay-trigger.left .w-overlay-content {\n transform-origin: right center;\n}\n.w-overlay.w-overlay-trigger.leftBottom .w-overlay-content {\n transform-origin: right bottom;\n}\n.w-overlay.w-overlay-trigger.bottomLeft .w-overlay-content {\n transform-origin: top left;\n}\n.w-overlay.w-overlay-trigger.bottom .w-overlay-content {\n transform-origin: top center;\n}\n.w-overlay.w-overlay-trigger.bottomRight .w-overlay-content {\n transform-origin: top right;\n}\n.w-overlay-trigger-disabled {\n cursor: not-allowed;\n}\n",".w-tooltip {\n position: relative;\n display: inline-block;\n}\n.w-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.w-tooltip-inner {\n font-size: 12px;\n max-width: 250px;\n padding: 5px 10px;\n display: block;\n color: #fff;\n text-align: left;\n text-decoration: none;\n background-color: rgba(0, 0, 0, 0.75);\n border-radius: 4px;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);\n word-break: break-all;\n}\n.w-tooltip.right .w-tooltip-arrow,\n.w-tooltip.rightTop .w-tooltip-arrow,\n.w-tooltip.rightBottom .w-tooltip-arrow {\n border-right-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 5px 5px 0;\n left: 0;\n margin-top: -5px;\n top: 50%;\n}\n.w-tooltip.left .w-tooltip-arrow,\n.w-tooltip.leftTop .w-tooltip-arrow,\n.w-tooltip.leftBottom .w-tooltip-arrow {\n border-left-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 0 5px 5px;\n margin-top: -5px;\n right: 0;\n top: 50%;\n}\n.w-tooltip.leftTop .w-tooltip-arrow,\n.w-tooltip.rightTop .w-tooltip-arrow {\n top: 15px;\n}\n.w-tooltip.leftBottom .w-tooltip-arrow,\n.w-tooltip.rightBottom .w-tooltip-arrow {\n bottom: 10px;\n top: auto;\n}\n.w-tooltip.top .w-tooltip-arrow,\n.w-tooltip.topLeft .w-tooltip-arrow,\n.w-tooltip.topRight .w-tooltip-arrow {\n border-top-color: rgba(0, 0, 0, 0.75);\n border-width: 5px 5px 0;\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n}\n.w-tooltip.bottom .w-tooltip-arrow,\n.w-tooltip.bottomLeft .w-tooltip-arrow,\n.w-tooltip.bottomRight .w-tooltip-arrow {\n border-bottom-color: rgba(0, 0, 0, 0.75);\n border-width: 0 5px 5px;\n left: 50%;\n margin-left: -5px;\n top: 0;\n}\n.w-tooltip.bottomLeft .w-tooltip-arrow,\n.w-tooltip.topLeft .w-tooltip-arrow {\n left: 15px;\n}\n.w-tooltip.bottomRight .w-tooltip-arrow,\n.w-tooltip.topRight .w-tooltip-arrow {\n right: 10px;\n left: auto;\n}\n.w-tooltip.bottom,\n.w-tooltip.bottomLeft,\n.w-tooltip.bottomRight {\n padding-top: 5px;\n}\n.w-tooltip.top,\n.w-tooltip.topLeft,\n.w-tooltip.topRight {\n padding-bottom: 5px;\n}\n.w-tooltip.right,\n.w-tooltip.rightTop,\n.w-tooltip.rightBottom {\n padding-left: 5px;\n}\n.w-tooltip.left,\n.w-tooltip.leftTop,\n.w-tooltip.leftBottom {\n padding-right: 5px;\n}\n.w-tooltip.no-arrow {\n padding: 0 !important;\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.25866c7b.js b/static/js/main.25866c7b.js deleted file mode 100644 index 18681edf..00000000 --- a/static/js/main.25866c7b.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.25866c7b.js.LICENSE.txt */ -(()=>{var e={256:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=256,e.exports=t},3147:(e,t,r)=>{"use strict";var a=r(730),n=r(8102),s=r(9257);function o(e,t){return t||(t=e.slice(0)),e.raw=t,e}var i=r(7804);r(4441);var d=function(){return d=Object.assign||function(e){for(var t,r=1,a=arguments.length;r0?k(L,--F):0,N--,10===M&&(N=1,O--),M}function z(){return M=F2||Y(M)>3?"":" "}function Z(e,t){for(;--t&&z()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return K(e,G()+(t<6&&32==V()&&32==z()))}function ee(e){for(;z();)switch(M){case e:return F;case 34:case 39:34!==e&&39!==e&&ee(M);break;case 40:41===e&&ee(e);break;case 92:z()}return F}function te(e,t){for(;z()&&e+M!==57&&(e+M!==84||47!==V()););return"/*"+K(t,F-1)+"*"+w(47===e?e:z())}function re(e){for(;!Y(V());)z();return K(e,F)}function ae(e,t){for(var r="",a=0;a6)switch(k(e,t+1)){case 109:if(45!==k(e,t+4))break;case 102:return T(e,/(.+:)(.+)-([^]+)/,"$1"+g+"$2-$3$1"+f+(108==k(e,t+3)?"$3":"$2-$3"))+e;case 115:return~A(e,"stretch")?se(T(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return T(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,a,n,s,o,i){return p+r+":"+a+i+(n?p+r+"-span:"+(s?o:+o-+a)+i:"")+e}));case 4949:if(121===k(e,t+6))return T(e,":",":"+g)+e;break;case 6444:switch(k(e,45===k(e,14)?18:11)){case 120:return T(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+g+(45===k(e,14)?"inline-":"")+"box$3$1"+g+"$2$3$1"+p+"$2box$3")+e;case 100:return T(e,":",":"+p)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return T(e,"scroll-","scroll-snap-")+e}return e}function oe(e,t,r,a){if(e.length>-1&&!e.return)switch(e.type){case y:return void(e.return=se(e.value,e.length,r));case v:return ae([q(e,{value:T(e.value,"@","@"+g)})],a);case h:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(S(t,a=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":W(q(e,{props:[T(t,/:(read-\w+)/,":"+f+"$1")]})),W(q(e,{props:[t]})),E(e,{props:I(r,a)});break;case"::placeholder":W(q(e,{props:[T(t,/:(plac\w+)/,":"+g+"input-$1")]})),W(q(e,{props:[T(t,/:(plac\w+)/,":"+f+"$1")]})),W(q(e,{props:[T(t,/:(plac\w+)/,p+"input-$1")]})),W(q(e,{props:[t]})),E(e,{props:I(r,a)})}return""}))}}function ie(e){return J(de("",null,null,null,[""],e=X(e),0,[0],e))}function de(e,t,r,a,n,s,o,i,d){for(var c=0,l=0,u=o,p=0,f=0,g=0,m=1,h=1,y=1,b=0,v="",x=n,R=s,E=a,j=v;h;)switch(g=b,b=z()){case 40:if(108!=g&&58==k(j,u-1)){-1!=A(j+=T($(b),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:j+=$(b);break;case 9:case 10:case 13:case 32:j+=Q(g);break;case 92:j+=Z(G()-1,7);continue;case 47:switch(V()){case 42:case 47:D(le(te(z(),G()),t,r,d),d);break;default:j+="/"}break;case 123*m:i[c++]=P(j)*y;case 125*m:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+l:-1==y&&(j=T(j,/\f/g,"")),f>0&&P(j)-u&&D(f>32?ue(j+";",a,r,u-1,d):ue(T(j," ","")+";",a,r,u-2,d),d);break;case 59:j+=";";default:if(D(E=ce(j,t,r,c,l,n,i,v,x=[],R=[],u,s),s),123===b)if(0===l)de(j,t,E,E,x,s,u,i,R);else switch(99===p&&110===k(j,3)?100:p){case 100:case 108:case 109:case 115:de(e,E,E,a&&D(ce(e,E,E,0,0,n,i,v,n,x=[],u,R),R),n,R,u,i,a?x:R);break;default:de(j,E,E,E,[""],R,0,i,R)}}c=l=f=0,m=y=1,v=j="",u=o;break;case 58:u=1+P(j),f=g;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==H())continue;switch(j+=w(b),b*m){case 38:y=l>0?1:(j+="\f",-1);break;case 44:i[c++]=(P(j)-1)*y,y=1;break;case 64:45===V()&&(j+=$(z())),p=V(),l=u=P(v=j+=re(G())),b++;break;case 45:45===g&&2==P(j)&&(m=0)}}return s}function ce(e,t,r,a,n,s,o,i,d,c,l,u){for(var p=n-1,f=0===n?s:[""],g=_(f),m=0,y=0,b=0;m0?f[v]+" "+x:T(x,/&\f/g,f[v])))&&(d[b++]=w);return U(e,t,r,0===n?h:i,d,c,l,u)}function le(e,t,r,a){return U(e,t,r,m,w(M),C(e,2,-2),0,a)}function ue(e,t,r,a,n){return U(e,t,r,y,C(e,0,a),C(e,a+1,-1),a,n)}const pe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var fe=r(8790),ge="undefined"!=typeof fe&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_ATTR)||"data-styled",me="active",he="data-styled-version",ye="6.1.3",be="/*!sc*/\n",ve="undefined"!=typeof window&&"HTMLElement"in window,xe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof fe&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof fe&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY)),Re=(new Set,Object.freeze([])),we=Object.freeze({});function Ee(e,t,r){return void 0===r&&(r=we),e.theme!==r.theme&&e.theme||t||r.theme}var je=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Se=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Te=/(^-|-$)/g;function Ae(e){return e.replace(Se,"-").replace(Te,"")}var ke=/(a)(d)/gi,Ce=52,Pe=function(e){return String.fromCharCode(e+(e>25?39:97))};function _e(e){var t,r="";for(t=Math.abs(e);t>Ce;t=t/Ce|0)r=Pe(t%Ce)+r;return(Pe(t%Ce)+r).replace(ke,"$1-$2")}var De,Ie=5381,Oe=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ne=function(e){return Oe(Ie,e)};function Be(e){return _e(Ne(e)>>>0)}function Fe(e){return e.displayName||e.name||"Component"}function Me(e){return"string"==typeof e&&!0}var Le="function"==typeof Symbol&&Symbol.for,Ue=Le?Symbol.for("react.memo"):60115,qe=Le?Symbol.for("react.forward_ref"):60112,We={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},He={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ze={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ve=((De={})[qe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},De[Ue]=ze,De);function Ge(e){return("type"in(t=e)&&t.type.$$typeof)===Ue?ze:"$$typeof"in e?Ve[e.$$typeof]:We;var t}var Ke=Object.defineProperty,Ye=Object.getOwnPropertyNames,Xe=Object.getOwnPropertySymbols,Je=Object.getOwnPropertyDescriptor,$e=Object.getPrototypeOf,Qe=Object.prototype;function Ze(e,t,r){if("string"!=typeof t){if(Qe){var a=$e(t);a&&a!==Qe&&Ze(e,a,r)}var n=Ye(t);Xe&&(n=n.concat(Xe(t)));for(var s=Ge(e),o=Ge(t),i=0;i0?" Args: ".concat(t.join(", ")):""))}var dt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,n=a;e>=n;)if((n<<=1)<0)throw it(16,"".concat(e));this.groupSizes=new Uint32Array(n),this.groupSizes.set(r),this.length=n;for(var s=a;s=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],a=this.indexOfGroup(e),n=a+r,s=a;s=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(d+="".concat(e,","))})),a+="".concat(o).concat(i,'{content:"').concat(d,'"}').concat(be)},s=0;s0?".".concat(t):e},l=d.slice();l.push((function(e){e.type===h&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Tt,r).replace(a,c))})),o.prefix&&l.push(oe),l.push(ne);var u=function(e,n,s,i){void 0===n&&(n=""),void 0===s&&(s=""),void 0===i&&(i="&"),t=i,r=n,a=new RegExp("\\".concat(r,"\\b"),"g");var d=e.replace(At,""),c=ie(s||n?"".concat(s," ").concat(n," { ").concat(d," }"):d);o.namespace&&(c=kt(c,o.namespace));var u,p=[];return ae(c,function(e){var t=_(e);return function(r,a,n,s){for(var o="",i=0;i="A"&&e<="Z"};function Mt(e){for(var t="",r=0;r>>0);if(!t.hasNameForId(this.componentId,s)){var o=r(n,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,o)}a=rt(a,s),this.staticRulesId=s}else{for(var i=Oe(this.baseHash,r.hash),d="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,r(d,".".concat(p),void 0,this.componentId)),a=rt(a,p)}}return a},e}(),Vt=i.createContext(void 0);Vt.Consumer;var Gt={};new Set;function Kt(e,t,r){var a=tt(e),n=e,s=!Me(e),o=t.attrs,c=void 0===o?Re:o,l=t.componentId,u=void 0===l?function(e,t){var r="string"!=typeof e?"sc":Ae(e);Gt[r]=(Gt[r]||0)+1;var a="".concat(r,"-").concat(Be(ye+r+Gt[r]));return t?"".concat(t,"-").concat(a):a}(t.displayName,t.parentComponentId):l,p=t.displayName,f=void 0===p?function(e){return Me(e)?"styled.".concat(e):"Styled(".concat(Fe(e),")")}(e):p,g=t.displayName&&t.componentId?"".concat(Ae(t.displayName),"-").concat(t.componentId):t.componentId||u,m=a&&n.attrs?n.attrs.concat(c).filter(Boolean):c,h=t.shouldForwardProp;if(a&&n.shouldForwardProp){var y=n.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;h=function(e,t){return y(e,t)&&b(e,t)}}else h=y}var v=new zt(r,g,a?n.componentStyle:void 0);function x(e,t){return function(e,t,r){var a=e.attrs,n=e.componentStyle,s=e.defaultProps,o=e.foldedComponentIds,c=e.styledComponentId,l=e.target,u=i.useContext(Vt),p=Ot(),f=e.shouldForwardProp||p.shouldForwardProp,g=function(e,t,r){for(var a,n=d(d({},t),{className:void 0,theme:r}),s=0;s2&&St.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,a)}}();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),r=bt(),a=at([r&&'nonce="'.concat(r,'"'),"".concat(ge,'="true"'),"".concat(he,'="').concat(ye,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw it(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw it(2);var r=((t={})[ge]="",t[he]=ye,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),a=bt();return a&&(r.nonce=a),[i.createElement("style",d({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new St({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw it(2);return i.createElement(Nt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw it(3)}})(),"__sc-".concat(ge,"__");var er=r(9424),tr=["className","prefixCls","element","top","size","strokeWidth","smooth","hideProgress","children"],rr={position:"sticky",bottom:15,right:15,visibility:"visible",opacity:0,transition:"visibility 0.3s linear 0s, opacity 0.3s linear 0s",cursor:"pointer",userSelect:"none"},ar={display:"block",transform:"rotate(-90deg)"},nr={transition:"stroke-dashoffset 0.3s linear 0s"},sr={position:"absolute",top:0,display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:12},or=document.documentElement;function ir(e){void 0===e&&(e={});var{className:t,prefixCls:r="w-back-to-up",element:a=or,top:o=120,size:d=35,strokeWidth:c=3,smooth:l=!0,hideProgress:u=!1,children:p}=e,f=(0,s.A)(e,tr),g=(0,i.useRef)(null),m=[t,r].filter(Boolean).join(" "),h=Object.assign({},rr,{position:a===or?"fixed":"sticky"},f.style,{width:d,height:d,opacity:0===o?1:0}),y=(0,i.useMemo)((()=>d/2),[d]),b=(0,i.useMemo)((()=>d/2-c/2),[d,c]),v=(0,i.useMemo)((()=>Math.PI*b*2),[b]),[x,R]=(0,i.useState)(v||0),w=e=>{var{clientHeight:t,scrollHeight:r,scrollTop:n}=a||or;R(v-v*(n/(r-t))||0),g.current&&o>0&&(g.current.style.opacity=n>o?"1":"0")};(0,i.useEffect)((()=>{var e=a===or?document:a;return e&&e.addEventListener("scroll",w,{passive:!0}),()=>{e&&e.removeEventListener("scroll",w)}}),[a]);return(0,er.jsxs)("div",(0,n.A)({className:m,ref:g},f,{onClick:e=>{a.scrollTo({top:0,behavior:l?"smooth":"auto"})},style:h,children:[!u&&(0,er.jsxs)("svg",{viewBox:"0 0 "+d+" "+d,width:d,height:d,focusable:"false",style:ar,children:[(0,er.jsx)("circle",{fill:"rgb(0 0 0 / 75%)",stroke:"rgb(200 200 200 / 85%)",strokeWidth:c,r:b,cx:y,cy:y}),(0,er.jsx)("circle",{fill:"none",stroke:"rgb(0 0 0 / 50%)",strokeWidth:c,r:b,cx:y,cy:y,strokeDasharray:v,strokeDashoffset:x||0,style:nr})]}),p&&(0,er.jsx)("div",{style:sr,children:p})]}))}var dr={corners:{fixed:!0,target:"__blank",zIndex:10},darkMode:{permanent:!0,dark:"Dark",light:"Light"},example:null},cr=[],lr={setCorners(e){dr=(0,n.A)({},dr,{corners:(0,n.A)({},dr.corners,e)}),fr()},setDarkMode(e){dr=(0,n.A)({},dr,{darkMode:(0,n.A)({},dr.darkMode,e)}),fr()},setExample(e){dr=(0,n.A)({},dr,{example:e}),fr()},setNavMenu(e){dr=(0,n.A)({},dr,{navMenu:(0,n.A)({},dr.navMenu,e)}),fr()}};function ur(){return dr}function pr(e){return cr=[...cr,e],()=>{cr=cr.filter((t=>t!==e))}}function fr(){for(var e of cr)e()}function gr(){return(0,i.useSyncExternalStore)(pr,ur)}const mr=document.createElement("template");mr.innerHTML='\n\n\n';class hr extends HTMLElement{static get observedAttributes(){return["style","z-index","target","height","width","href","color","fill","position","top","left","right","bottom","transform"]}constructor(){super(),this.right="0",this.shadow=this.attachShadow({mode:"open"}),this.shadow.appendChild(this.ownerDocument.importNode(mr.content,!0)),this.update()}setAttr(e,t){const r=this.shadow.querySelector("svg");/(href)/.test(e.toLocaleLowerCase())?r.lastElementChild.setAttribute("xlink:href",t):/(color|fill)/.test(e.toLocaleLowerCase())?r.firstElementChild.style[e]=t:/(z-index|position|top|left|right|bottom|transform)/.test(e.toLocaleLowerCase())?r.style[e]=t:r.setAttribute(e,t)}update(){[...this.getAttributeNames(),"right"].forEach((e=>{const t=this.getAttribute(e)||this[e]||"";this.setAttr(e,t)}))}attributeChangedCallback(e,t,r){t!==r&&this.setAttr(e,r)}}customElements.define("github-corners",hr);var yr,br,vr=["size","fixed","bottom","zIndex","className","style","bgColor","color","position"];function xr(e){var{size:t=80,fixed:r=!1,bottom:a,zIndex:o,style:i,bgColor:d="#151513",color:c="#fff",position:l="right"}=e,u=(0,s.A)(e,vr),p="left"===l?{left:0,right:"initial",transform:"scale(-1, 1)"}:{right:0,left:"initial",transform:"scale(1, 1)"};return a?(p.bottom=0,p.top="initial",p.transform="left"===l?"scale(-1, -1)":"scale(1, -1)"):(p.bottom="initial",p.top=0),(0,er.jsx)("github-corners",(0,n.A)({target:"__blank",width:t,height:t,href:e.href,position:r?"fixed":"absolute","z-index":o,style:i,fill:d,color:c},p,u))}var Rr,wr,Er,jr,Sr,Tr,Ar=function(e){for(var t=[],r=1;r(0,er.jsx)(i.Fragment,{children:e},t))),!r&&(0,er.jsx)(Nr,{href:o.corners.href,target:"_blank",rel:"noopener noreferrer",children:(0,er.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",width:"18px",strokeLinecap:"round",strokeLinejoin:"round",children:(0,er.jsx)("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"})})}),!t&&(0,er.jsx)("dark-mode",(0,n.A)({permanent:!0,style:{fontSize:19}},o.darkMode))]})]})}):(0,er.jsxs)(i.Fragment,{children:[!t&&(0,er.jsx)("dark-mode",(0,n.A)({permanent:!0,style:{position:"fixed",top:8,left:12,zIndex:99,fontSize:28}},o.darkMode)),!r&&(0,er.jsx)(xr,(0,n.A)({fixed:!0,target:"__blank",zIndex:10},o.corners))]})}var Fr={},Mr=(0,i.createContext)({}),Lr=(e,t)=>(0,n.A)({},e,t),Ur=e=>{var{children:t,value:r}=e,[a,s]=(0,i.useReducer)(Lr,(0,n.A)({},Fr,r));return(0,er.jsx)(Mr.Provider,{value:(0,n.A)({},a,{dispatch:s}),children:t})},qr=["tagName","className","children"],Wr=i.forwardRef(((e,t)=>{var{tagName:r="div",className:a,children:o}=e,d=(0,s.A)(e,qr),c=[ea+"-code",a].filter(Boolean).join(" ").trim();if((0,i.useContext)(Mr).collapse)return null;var l=e.href&&"string"===typeof r?"a":r,u=(0,n.A)({},d,{className:c,ref:t});return i.createElement(l,u,o)}));Wr.displayName="uiw.CodeLayoutCode";var Hr=["className","children"],zr=i.forwardRef(((e,t)=>{var{className:r,children:a}=e,o=(0,s.A)(e,Hr),i=[ea+"-preview",r].filter(Boolean).join(" ").trim();return(0,er.jsx)("div",(0,n.A)({},o,{className:i,ref:t,children:a}))}));zr.displayName="uiw.Preview";var Vr=r(8474),Gr=r.n(Vr),Kr=e=>(0,er.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:(0,er.jsx)("path",{d:"M8.64 5.23a1 1 0 0 0-1.41.13l-5 6a1 1 0 0 0 0 1.27l4.83 6a1 1 0 0 0 .78.37 1 1 0 0 0 .78-1.63L4.29 12l4.48-5.36a1 1 0 0 0-.13-1.41zm13.14 6.14-4.78-6a1 1 0 0 0-1.41-.15 1 1 0 0 0-.15 1.41L19.71 12l-4.48 5.37a1 1 0 0 0 .13 1.41A1 1 0 0 0 16 19a1 1 0 0 0 .77-.36l5-6a1 1 0 0 0 .01-1.27z","data-name":"code"})}),Yr=e=>(0,er.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:[(0,er.jsx)("path",{d:"M18 21h-6a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3zm-6-10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1z"}),(0,er.jsx)("path",{d:"M9.73 15H5.67A2.68 2.68 0 0 1 3 12.33V5.67A2.68 2.68 0 0 1 5.67 3h6.66A2.68 2.68 0 0 1 15 5.67V9.4h-2V5.67a.67.67 0 0 0-.67-.67H5.67a.67.67 0 0 0-.67.67v6.66a.67.67 0 0 0 .67.67h4.06z"})]}),Xr=e=>(0,er.jsxs)("svg",{viewBox:"0 0 24 24",fill:"green",children:[(0,er.jsx)("path",{d:"M9.71 11.29a1 1 0 0 0-1.42 1.42l3 3A1 1 0 0 0 12 16a1 1 0 0 0 .72-.34l7-8a1 1 0 0 0-1.5-1.32L12 13.54z"}),(0,er.jsx)("path",{d:"M21 11a1 1 0 0 0-1 1 8 8 0 0 1-8 8A8 8 0 0 1 6.33 6.36 7.93 7.93 0 0 1 12 4a8.79 8.79 0 0 1 1.9.22 1 1 0 1 0 .47-1.94A10.54 10.54 0 0 0 12 2a10 10 0 0 0-7 17.09A9.93 9.93 0 0 0 12 22a10 10 0 0 0 10-10 1 1 0 0 0-1-1z"})]}),Jr=e=>{var[t,r]=(0,i.useState)(!1);return(0,er.jsx)("button",{onClick:()=>{r(!0),Gr()(e.text||"",(()=>{var e=setTimeout((()=>{r(!1),clearTimeout(e)}),2e3)}))},children:t?(0,er.jsx)(Xr,{}):(0,er.jsx)(Yr,{})})},$r=["className","children","extra","text","copied","collapse","visibleButton","visible"],Qr=i.forwardRef(((e,t)=>{var{className:r,children:a,extra:o,text:d="",copied:c=!0,collapse:l=!0,visibleButton:u=!0,visible:p=!0}=e,f=(0,s.A)(e,$r),g=(0,i.useContext)(Mr),m=[ea+"-toolbar",r].filter(Boolean).join(" ").trim();if((0,i.useEffect)((()=>g.dispatch({collapse:l})),[l]),!p)return null;return(0,er.jsxs)("div",(0,n.A)({className:m},f,{ref:t,children:[(0,er.jsx)("div",{className:ea+"-title",children:a}),(0,er.jsxs)("div",{className:ea+"-extra",children:[o,c&&(0,er.jsx)(Jr,{text:d}),u&&(0,er.jsx)("button",{onClick:()=>g.dispatch({collapse:!g.collapse}),children:(0,er.jsx)(Kr,{})})]})]}))}));Qr.displayName="uiw.Toolbar";var Zr=["children","prefixCls","className","bordered","disableCheckered"],ea="w-rcpl",ta=i.forwardRef(((e,t)=>{var{children:r,prefixCls:a=ea,className:o,bordered:d=!0,disableCheckered:c}=e,l=(0,s.A)(e,Zr),u=[a,o,d?"w-bordered":null,c?"w-disable-checkered":null].filter(Boolean).join(" ").trim();return(0,er.jsx)("div",(0,n.A)({ref:t},l,{className:u,children:i.Children.map(r,((e,t)=>i.isValidElement(e)?i.cloneElement(e,(0,n.A)({},e.props,{key:t})):e))}))})),ra=i.forwardRef(((e,t)=>(0,er.jsx)(Ur,{value:{collapse:!1},children:(0,er.jsx)(ta,(0,n.A)({},e,{ref:t}))})));ra.Preview=zr,ra.Toolbar=Qr,ra.Code=Wr;const aa=ra;r(3521),r(3132),r(8108),r(9050);var na=e=>{for(var t,r=/([^?=&]+)=([^&]*)/g,a={};t=r.exec(e);)a[t[1]]=t[2];return a},sa=function(e){void 0===e&&(e="");var[t=""]=/mdx:(.[\w|:]+)/i.exec(e)||[];return t.replace(/^mdx:preview:?/,"")},oa=function(e){return void 0===e&&(e=""),e&&e.includes("mdx:preview")};const ia=function(e){if(null===e||void 0===e)return ca;if("function"===typeof e)return da(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r":"")+")"})}return l;function l(){let c,l,u,p=ua;if((!t||s(n,i,d[d.length-1]||void 0))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[pa,e];return null===e||void 0===e?ua:[e]}(r(n,d)),p[0]===fa))return p;if("children"in n&&n.children){const t=n;if(t.children&&p[0]!==ga)for(l=(a?t.children.length:-1)+o,u=d.concat(t);l>-1&&l0&&0===o.length)return}const i={};let d;for(d in t)xa.call(t,d)&&(i[d]="children"===d?o:t[d]);return i}(e)}var wa=r(9386),Ea=r(1689),ja=r(2564);function Sa(){Sa=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,a,n){var s=new RegExp(e,a);return t.set(s,n||t.get(e)),Ta(s,r.prototype)}function a(e,r){var a=t.get(r);return Object.keys(a).reduce((function(t,r){var n=a[r];if("number"==typeof n)t[r]=e[n];else{for(var s=0;void 0===e[n[s]]&&s+1]+)>/g,(function(e,t){var r=s[t];return"$"+(Array.isArray(r)?r.join("$"):r)})))}if("function"==typeof n){var o=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(a(e,o)),n.apply(this,e)}))}return e[Symbol.replace].call(this,r,n)},Sa.apply(this,arguments)}function Ta(e,t){return Ta=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ta(e,t)}function Aa(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Ca=function(e){return function(t){return void 0===t&&(t={}),function(e,t){if(t&&!e.registered(t))throw new Error('The default language "'+t+'" is not registered with refractor.')}(e,t.defaultLanguage),function(e){ha(e,"element",r)};function r(r,a,n){var s,o;if(n&&"pre"===n.tagName&&"code"===r.tagName){var i=(null==r||null==(s=r.data)?void 0:s.meta)||(null==r||null==(o=r.properties)?void 0:o.metastring)||"";r.properties.className?"boolean"==typeof r.properties.className?r.properties.className=[]:Array.isArray(r.properties.className)||(r.properties.className=[r.properties.className]):r.properties.className=[];var d,c,l=function(e){for(var t,r=ka(e.properties.className);!(t=r()).done;){var a=t.value;if("language-"===a.slice(0,9))return a.slice(9).toLowerCase()}return null}(r);if(!l&&t.defaultLanguage&&r.properties.className.push("language-"+(l=t.defaultLanguage)),r.properties.className.push("code-highlight"),l)try{var u,p;p=null!=(u=l)&&u.includes("diff-")?l.split("-")[1]:l,d=e.highlight(ya(r),p),n.properties.className=(n.properties.className||[]).concat("language-"+p)}catch(x){if(!t.ignoreMissing||!/Unknown language/.test(x.message))throw x;d=r}else d=r;d.children=(c=1,function e(t){return t.reduce((function(t,r){if("text"===r.type){var a=r.value,n=(a.match(/\n/g)||"").length;if(0===n)r.position={start:{line:c,column:1},end:{line:c,column:1}},t.push(r);else for(var s,o=a.split("\n"),i=ka(o.entries());!(s=i()).done;){var d=s.value,l=d[0],u=d[1];t.push({type:"text",value:l===o.length-1?u:u+"\n",position:{start:{line:c+l,column:1},end:{line:c+l,column:1}}})}return c+=n,t}if(Object.prototype.hasOwnProperty.call(r,"children")){var p=c;return r.children=e(r.children),t.push(r),r.position={start:{line:p,column:1},end:{line:c,column:1}},t}return t.push(r),t}),[])})(d.children),d.position=d.children.length>0?{start:{line:d.children[0].position.start.line,column:0},end:{line:d.children[d.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var f,g=function(e){var t=/{([\d,-]+)}/,r=e.split(",").map((function(e){return e.trim()})).join();if(t.test(r)){var a=t.exec(r)[1],n=wa(a);return function(e){return n.includes(e+1)}}return function(){return!1}}(i),m=function(e){var t=Sa(/showLineNumbers=(\d+)/i,{lines:1});if(t.test(e)){var r=t.exec(e);return Number(r.groups.lines)}return 1}(i),h=function(e){for(var t=new Array(e),r=0;r=n+1}));s.children=o.children,!i.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||y.some((function(e){return i.toLowerCase().includes(e)}))||(s.properties.line=[(n+m).toString()],s.properties.className.push("line-number")),g(n)&&s.properties.className.push("highlight-line"),("diff"===l||null!=(e=l)&&e.includes("diff-"))&&"-"===ya(s).substring(0,1)?s.properties.className.push("deleted"):("diff"===l||null!=(r=l)&&r.includes("diff-"))&&"+"===ya(s).substring(0,1)&&s.properties.className.push("inserted")},v=ka(h.entries());!(f=v()).done;)b();h.length>0&&""===ya(h[h.length-1]).trim()&&h.pop(),r.children=h}}}},Pa=(Ca(Ea.L),Ca(ja.L)),_a=r(5294),Da={},Ia={};function Oa(e,t){for(var r=t,a=0;a","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),en=$a(Za,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),tn=$a(en,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),rn={css1:Qa,css2:Za,css3:en,"selectors-3":en,"selectors-4":tn,latest:tn,progressive:$a(tn,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}})};function an(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e||"\\"===e||e>="\xa0"}function nn(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e||e>="\xa0"}function sn(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}var on={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},dn={'"':!0,"'":!0},cn={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0};var ln="css-selector-parser parse error: ";var un=function(){return un=Object.assign||function(e){for(var t,r=1,a=arguments.length;r0,E=o.pseudoClasses?[!0,o.pseudoClasses.definitions?Ua(o.pseudoClasses.definitions):Fa,"accept"===o.pseudoClasses.unknown]:[!1,Fa,!1],j=E[0],S=E[1],T=E[2],A=o.pseudoElements?[!0,"singleColon"===o.pseudoElements.notation||"both"===o.pseudoElements.notation,!o.pseudoElements.notation||"doubleColon"===o.pseudoElements.notation||"both"===o.pseudoElements.notation,o.pseudoElements.definitions?Ua(Array.isArray(o.pseudoElements.definitions)?{NoArgument:o.pseudoElements.definitions}:o.pseudoElements.definitions):Fa,"accept"===o.pseudoElements.unknown]:[!1,!1,!1,Fa,!1],k=A[0],C=A[1],P=A[2],_=A[3],D=A[4],I="",O=I.length,N=0,B="",F=function(e){return B===e},M=function(){return F("*")||an(B)},L=function(e){N=e,B=I.charAt(N)},U=function(){N++,B=I.charAt(N)},q=function(){var e=B;return N++,B=I.charAt(N),e};function W(e){var t=Math.min(O-1,N),r=new Error("".concat(ln).concat(e," Pos: ").concat(t,"."));throw r.position=t,r.name="ParserError",r}function H(e,t){if(!e)return W(t)}var z=function(){H(N=O},G=function(e){H(N=2&&W("Identifiers cannot start with two hyphens with strict mode on."),cn[B]&&W("Identifiers cannot start with hyphens followed by digits.");N0)return(t.commaSeparated?Rn.A:En.A)(e)}}(t.properties[a.property],a);if(!e.value)return void 0!==n;e.value.type;let s=e.value.value;if("i"===e.caseSensitivityModifier&&(s=s.toLowerCase(),n&&(n=n.toLowerCase())),void 0!==n)switch(e.operator){case"=":return s===n;case"$=":return s===n.slice(-s.length);case"*=":return n.includes(s);case"^=":return s===n.slice(0,s.length);case"|=":return s===n||s===n.slice(0,s.length)&&"-"===n.charAt(s.length);case"~=":return s===n||En.q(n).includes(s)}return!1}const Sn=[];function Tn(e,t){return(t.properties.className||Sn).includes(e.name)}function An(e,t){return t.properties.id===e.name}function kn(e,t){return e.name===t.tagName}function Cn(e,t){return function(r,a){let n=_n(r,"tag");const s=_n(null===a||void 0===a?"*":a,"range"),o=[];let i=-1;for(;++ie<=r;if(0===t)return e=>e===r;if(1===t)return r<0?Un.trueFunc:e=>e>=r;const a=Math.abs(t),n=(r%a+a)%a;return t>1?e=>e>=r&&e%a===n:e=>e<=r&&e%a===n}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,r=0,a=s(),n=o();if(t=Mn&&e.charCodeAt(t)<=Ln;)a=10*a+(e.charCodeAt(t)-Mn),t++;return t===r?null:a}function i(){for(;t1?s-1:0),i=1;i0},is:Xn,lang:function(e,t,r,a,n){return e.argument,e.argument.type,""!==n.language&&void 0!==n.language&&Pn(n.language,(0,Rn.q)(e.argument.value)).length>0},"last-child":function(e,t,r,a,n){return Gn(n,e),Boolean(n.elementCount&&n.elementIndex===n.elementCount-1)},"last-of-type":function(e,t,r,a,n){return Gn(n,e),"number"===typeof n.typeIndex&&"number"===typeof n.typeCount&&n.typeIndex===n.typeCount-1},not:function(e,t,r,a,n){return!Xn(e,t,r,a,n)},"nth-child":function(e,t,r,a,n){const s=Yn(e);return Gn(n,e),"number"===typeof n.elementIndex&&s(n.elementIndex)},"nth-last-child":function(e,t,r,a,n){const s=Yn(e);return Gn(n,e),Boolean("number"===typeof n.elementCount&&"number"===typeof n.elementIndex&&s(n.elementCount-n.elementIndex-1))},"nth-last-of-type":function(e,t,r,a,n){const s=Yn(e);return Gn(n,e),"number"===typeof n.typeCount&&"number"===typeof n.typeIndex&&s(n.typeCount-1-n.typeIndex)},"nth-of-type":function(e,t,r,a,n){const s=Yn(e);return Gn(n,e),"number"===typeof n.typeIndex&&s(n.typeIndex)},"only-child":function(e,t,r,a,n){return Gn(n,e),1===n.elementCount},"only-of-type":function(e,t,r,a,n){return Gn(n,e),1===n.typeCount},optional:function(e,t){return!$n(e,t)},"read-only":function(e,t,r,a,n){return!Jn(e,t,r,a,n)},"read-write":Jn,required:$n,root:function(e,t,r,a,n){return Boolean((!a||"root"===a.type)&&n.schema&&("html"===n.schema.space||"svg"===n.schema.space)&&("html"===t.tagName||"svg"===t.tagName))},scope:function(e,t,r,a,n){return n.scopeElements.includes(t)}},invalid:function(){},unknown:function(e){throw new Error("Unknown pseudo-selector `"+e.name+"`")}});function Gn(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Kn(e,t){return("button"===t.tagName||"input"===t.tagName||"select"===t.tagName||"textarea"===t.tagName||"optgroup"===t.tagName||"option"===t.tagName||"menuitem"===t.tagName||"fieldset"===t.tagName)&&In(t,"disabled")}function Yn(e){let t=e._cachedFn;if(!t){const r=e.argument;if("Formula"!==r.type)throw new Error("Expected `nth` formula, such as `even` or `2n+1` (`of` is not yet supported)");t=zn(r.a+"n+"+r.b),e._cachedFn=t}return t}function Xn(e,t,r,a,n){e.argument,e.argument.type;const s={...n,found:!1,one:!0,results:[],rootQuery:e.argument,scopeElements:[t],shallow:!1};return ts(s,t),s.results[0]===t}function Jn(e,t,r,a,n){return"input"===t.tagName||"textarea"===t.tagName?!In(t,"readOnly")&&!In(t,"disabled"):Boolean(n.editableOrEditingHost)}function $n(e,t){return("input"===t.tagName||"textarea"===t.tagName||"select"===t.tagName)&&In(t,"required")}function Qn(e,t){const r=e.children;let a=-1;for(;++a0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:es}function ns(e,t){if("element"===t.type){const r=t.tagName.toUpperCase(),a=(e.types.get(r)||0)+1;e.count++,e.types.set(r,a)}}function ss(e,t,r,a,n,s){let o={adjacentSibling:void 0,descendant:void 0,directChild:void 0,generalSibling:void 0};const i=function(e,t){const r=e.schema,a=e.language,n=e.direction,s=e.editableOrEditingHost;let o;if("element"===t.type){const a=t.properties.xmlLang||t.properties.lang,n=t.properties.type||"text",s=xn(t);null!==a&&void 0!==a&&(e.language=String(a)),r&&"html"===r.space?("true"===t.properties.contentEditable&&(e.editableOrEditingHost=!0),"svg"===t.tagName&&(e.schema=_a.JW),"rtl"===s?o=s:"ltr"===s||"auto"!==s&&"html"===t.tagName||"auto"!==s&&"input"===t.tagName&&"tel"===n?o="ltr":"auto"!==s&&"bdi"!==t.tagName||("textarea"===t.tagName?o=vn(ya(t)):"input"!==t.tagName||"email"!==n&&"search"!==n&&"tel"!==n&&"text"!==n?ha(t,(function(e){return"text"===e.type?(o=vn(e.value),o?fa:void 0):e===t||"element"!==e.type||"bdi"!==e.tagName&&"script"!==e.tagName&&"style"!==e.tagName&&"textare"!==e.tagName&&!xn(e)?void 0:ga})):o=t.properties.value?vn(String(t.properties.value)):"ltr"),o&&(e.direction=o)):e.editableOrEditingHost&&(e.editableOrEditingHost=!1)}return function(){e.schema=r,e.language=a,e.direction=n,e.editableOrEditingHost=s}}(e,r);if("element"===r.type){let i=e.rootQuery.rules;n&&n!==s&&(i=e.rootQuery.rules.filter((e=>void 0===e.combinator||">"===e.combinator&&n===s))),o=function(e,t,r,a,n){const s={adjacentSibling:void 0,descendant:void 0,directChild:void 0,generalSibling:void 0};let o=-1;for(;++o"===t.combinator?"directChild":"descendant",t):(e.found=!0,e.results.includes(r)||e.results.push(r))}void 0===i.combinator?rs(s,"descendant",i):"~"===i.combinator&&rs(s,"generalSibling",i)}return s}(e,as(t,i),r,a,n)}return!("children"in r)||e.shallow||e.one&&e.found||function(e,t,r,a){const n=as(t.descendant,t.directChild);let s,o=-1;const i={count:0,types:new Map},d={count:0,types:new Map};for(;++o1&&void 0!==arguments[1]?arguments[1]:"";return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((t=>{"text"===t.type?e+=t.value:"element"===t.type&&t.children&&Array.isArray(t.children)&&(e+=is(t.children))})),e},ds=e=>{const{selector:t,rewrite:r}=e||{};return e=>{if(r&&"function"===typeof r)if(t&&"string"===typeof t){const a=function(e,t,r){const a=os(e,t,r);return ts(a,t||void 0),a.results}(t,e);a&&a.length>0&&ha(e,a,((e,t,a)=>{r(e,t,a)}))}else ha(e,((e,t,a)=>{r(e,t,a)}))}},cs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,a=arguments.length>1?arguments[1]:void 0;for(;a/,"$2")||""))return;if(r){if(cs(e,a,"pre",r))return;return t.value=(t.value||"").replace(/^(\n|\s)+/,""),t}return t.value=(t.value||"").replace(/^(\n|\s)+/,""),t}}},ls=e=>{let{value:t=""}=e;const r=function(){return((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/([^?=&]+)(=([^&]*))/g)||[]).reduce(((e,t)=>(e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e)),{})}(t.replace(/^/,"$1").replace(/^rehype:/,""));return Object.keys(r).forEach((e=>{"true"===r[e]&&(r[e]=!0),"false"===r[e]&&(r[e]=!1),"string"!==typeof r[e]||/^0/.test(r[e])||isNaN(+r[e])||(r[e]=+r[e])})),r},us=(e,t,r)=>"string"===r?{...e,"data-config":JSON.stringify({...t,rehyp:!0})}:"attr"===r?{...e,...t}:{...e,"data-config":{...t,rehyp:!0}},ps=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{properties:t="data",codeBlockParames:r=!0}=e;return e=>{ha(e,"element",((e,a,n)=>{if(r&&"pre"===e.tagName&&e&&Array.isArray(e.children)&&n&&Array.isArray(n.children)&&n.children.length>1){const r=e.children[0];if(r&&"code"===r.tagName&&"number"===typeof a){const s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;for(;t>-1;){if(t--,!e[t])return;if(e[t]&&e[t].value&&""!==e[t].value.replace(/(\n|\s)/g,"")||"text"!==e[t].type){if(!/^rehype:/.test(e[t].value)||"comment"!==e[t].type)return;return e[t]}}}(n.children,a);if(s){const a=ls(s);Object.keys(a).length>0&&(e.properties={...e.properties,"data-type":"rehyp"},r.properties=us(r.properties,a,t))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(e.tagName)&&n&&Array.isArray(n.children)&&"number"===typeof a){const s=cs(n.children,a,"",r);if(s){const r=ls(s);Object.keys(r).length>0&&(e.properties=us(e.properties,r,t))}}}))}},fs="object"===typeof self?self:globalThis,gs=e=>((e,t)=>{const r=(t,r)=>(e.set(r,t),t),a=n=>{if(e.has(n))return e.get(n);const[s,o]=t[n];switch(s){case 0:case-1:return r(o,n);case 1:{const e=r([],n);for(const t of o)e.push(a(t));return e}case 2:{const e=r({},n);for(const[t,r]of o)e[a(t)]=a(r);return e}case 3:return r(new Date(o),n);case 4:{const{source:e,flags:t}=o;return r(new RegExp(e,t),n)}case 5:{const e=r(new Map,n);for(const[t,r]of o)e.set(a(t),a(r));return e}case 6:{const e=r(new Set,n);for(const t of o)e.add(a(t));return e}case 7:{const{name:e,message:t}=o;return r(new fs[e](t),n)}case 8:return r(BigInt(o),n);case"BigInt":return r(Object(BigInt(o)),n)}return r(new fs[s](o),n)};return a})(new Map,e)(0),ms="",{toString:hs}={},{keys:ys}=Object,bs=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const r=hs.call(e).slice(8,-1);switch(r){case"Array":return[1,ms];case"Object":return[2,ms];case"Date":return[3,ms];case"RegExp":return[4,ms];case"Map":return[5,ms];case"Set":return[6,ms]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},vs=e=>{let[t,r]=e;return 0===t&&("function"===r||"symbol"===r)},xs=function(e){let{json:t,lossy:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[];return((e,t,r,a)=>{const n=(e,t)=>{const n=a.push(e)-1;return r.set(t,n),n},s=a=>{if(r.has(a))return r.get(a);let[o,i]=bs(a);switch(o){case 0:{let t=a;switch(i){case"bigint":o=8,t=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+i);t=null;break;case"undefined":return n([-1],a)}return n([o,t],a)}case 1:{if(i)return n([i,[...a]],a);const e=[],t=n([o,e],a);for(const r of a)e.push(s(r));return t}case 2:{if(i)switch(i){case"BigInt":return n([i,a.toString()],a);case"Boolean":case"Number":case"String":return n([i,a.valueOf()],a)}if(t&&"toJSON"in a)return s(a.toJSON());const r=[],d=n([o,r],a);for(const t of ys(a))!e&&vs(bs(a[t]))||r.push([s(t),s(a[t])]);return d}case 3:return n([o,a.toISOString()],a);case 4:{const{source:e,flags:t}=a;return n([o,{source:e,flags:t}],a)}case 5:{const t=[],r=n([o,t],a);for(const[n,o]of a)(e||!vs(bs(n))&&!vs(bs(o)))&&t.push([s(n),s(o)]);return r}case 6:{const t=[],r=n([o,t],a);for(const n of a)!e&&vs(bs(n))||t.push(s(n));return r}}const{message:d}=a;return n([o,{name:i,message:d}],a)};return s})(!(t||r),!!t,new Map,a)(e),a},Rs="function"===typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?gs(xs(e,t)):structuredClone(e):(e,t)=>gs(xs(e,t)),ws=/[#.]/g;var Es=r(1141);const js=new Set(["button","menu","reset","submit"]),Ss={}.hasOwnProperty;function Ts(e,t,r){const a=r&&function(e){const t={};let r=-1;for(;++r2?i-2:0),c=2;c-1&&ee)return{line:t+1,column:e-(t>0?r[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,a=e&&e.column;if("number"===typeof t&&"number"===typeof a&&!Number.isNaN(t)&&!Number.isNaN(a)&&t-1 in r){const e=(r[t-2]||0)+a-1||0;if(e>-1&&e0&&"number"===typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"===typeof r.offset&&r.offset>-1?r.offset:void 0}}}const Qs=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Zs={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function eo(e,t){const r=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),a=Hn("type",{handlers:{root:ro,element:ao,text:no,comment:io,doctype:so,raw:co},unknown:lo}),n={parser:r?new Ys.iX(Zs):Ys.iX.getFragmentParser(void 0,Zs),handle(e){a(e,n)},stitches:!1,options:t||{}};a(e,n),uo(n,Js());const s=function(e,t){const r=t||{};return Bs({file:r.file||void 0,location:!1,schema:"svg"===r.space?_a.JW:_a.qy,verbose:r.verbose||!1},e)}(r?n.parser.document:n.parser.getFragment(),{file:n.options.file});return n.stitches&&ha(s,"comment",(function(e,t,r){const a=e;if(a.value.stitch&&r&&void 0!==t){return r.children[t]=a.value.stitch,t}})),"root"===s.type&&1===s.children.length&&s.children[0].type===e.type?s.children[0]:s}function to(e,t){let r=-1;if(e)for(;++r4&&(t.parser.tokenizer.state=0);const r={type:Ys.ou.k.CHARACTER,chars:e.value,location:fo(e)};uo(t,Js(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function so(e,t){const r={type:Ys.ou.k.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:fo(e)};uo(t,Js(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function oo(e,t){t.stitches=!0;const r=function(e){return Rs("children"in e?{...e,children:[]}:e)}(e);if("children"in e&&"children"in r){const a=eo({type:"root",children:e.children},t.options);r.children=a.children}io({type:"comment",value:{stitch:r}},t)}function io(e,t){const r=e.value,a={type:Ys.ou.k.COMMENT,data:r,location:fo(e)};uo(t,Js(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function co(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,po(t,Js(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function lo(e,t){const r=e;if(!t.options.passThrough||!t.options.passThrough.includes(r.type)){let e="";throw Qs.has(r.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+e)}oo(r,t)}function uo(e,t){po(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ys.V_.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function po(e,t){if(t&&void 0!==t.offset){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function fo(e){const t=Js(e)||{line:void 0,column:void 0,offset:void 0},r=Xs(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function go(e){return function(t,r){return eo(t,{...e,file:r})}}const mo=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ho=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,yo={};function bo(e,t){return((t||yo).jsx?ho:mo).test(e)}const vo={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var xo=r(1581);const Ro=xo.default||xo;function wo(e){return e&&"object"===typeof e?"position"in e||"type"in e?jo(e.position):"start"in e||"end"in e?jo(e):"line"in e||"column"in e?Eo(e):"":""}function Eo(e){return So(e&&e.line)+":"+So(e&&e.column)}function jo(e){return Eo(e&&e.start)+"-"+Eo(e&&e.end)}function So(e){return e&&"number"===typeof e?e:1}class To extends Error{constructor(e,t,r){super(),"string"===typeof t&&(r=t,t=void 0);let a="",n={},s=!1;if(t&&(n="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"===typeof e?a=e:!n.cause&&e&&(s=!0,a=e.message,n.cause=e),!n.ruleId&&!n.source&&"string"===typeof r){const e=r.indexOf(":");-1===e?n.ruleId=r:(n.source=r.slice(0,e),n.ruleId=r.slice(e+1))}if(!n.place&&n.ancestors&&n.ancestors){const e=n.ancestors[n.ancestors.length-1];e&&(n.place=e.position)}const o=n.place&&"start"in n.place?n.place.start:n.place;this.ancestors=n.ancestors||void 0,this.cause=n.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=o?o.line:void 0,this.name=wo(n.place)||"1:1",this.place=n.place||void 0,this.reason=this.message,this.ruleId=n.ruleId||void 0,this.source=n.source||void 0,this.stack=s&&n.cause&&"string"===typeof n.cause.stack?n.cause.stack:"",this.actual,this.expected,this.note,this.url}}To.prototype.file="",To.prototype.name="",To.prototype.reason="",To.prototype.message="",To.prototype.stack="",To.prototype.column=void 0,To.prototype.line=void 0,To.prototype.ancestors=void 0,To.prototype.cause=void 0,To.prototype.fatal=void 0,To.prototype.place=void 0,To.prototype.ruleId=void 0,To.prototype.source=void 0;const Ao={}.hasOwnProperty,ko=new Map,Co=/[A-Z]/g,Po=/-([a-z])/g,_o=new Set(["table","tbody","thead","tfoot","tr"]),Do=new Set(["td","th"]),Io="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Oo(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let a;if(t.development){if("function"!==typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=function(e,t){return r;function r(r,a,n,s){const o=Array.isArray(n.children),i=Js(r);return t(a,n,s,o,{columnNumber:i?i.column-1:void 0,fileName:e,lineNumber:i?i.line:void 0},void 0)}}(r,t.jsxDEV)}else{if("function"!==typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!==typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");a=function(e,t,r){return a;function a(e,a,n,s){const o=Array.isArray(n.children)?r:t;return s?o(a,n,s):o(a,n)}}(0,t.jsx,t.jsxs)}const n={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?_a.JW:_a.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},s=No(n,e,void 0);return s&&"string"!==typeof s?s:n.create(e,n.Fragment,{children:s||void 0},void 0)}function No(e,t,r){return"element"===t.type?function(e,t,r){const a=e.schema;let n=a;"svg"===t.tagName.toLowerCase()&&"html"===a.space&&(n=_a.JW,e.schema=n);e.ancestors.push(t);const s=Uo(e,t.tagName,!1),o=function(e,t){const r={};let a,n;for(n in t.properties)if("children"!==n&&Ao.call(t.properties,n)){const s=Lo(e,n,t.properties[n]);if(s){const[n,o]=s;e.tableCellAlignToStyle&&"align"===n&&"string"===typeof o&&Do.has(t.tagName)?a=o:r[n]=o}}if(a){(r.style||(r.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=a}return r}(e,t);let i=Mo(e,t);_o.has(t.tagName)&&(i=i.filter((function(e){return"string"!==typeof e||!Nn(e)})));return Bo(e,o,s,t),Fo(o,i),e.ancestors.pop(),e.schema=a,e.create(t,s,o,r)}(e,t,r):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}qo(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,r){const a=e.schema;let n=a;"svg"===t.name&&"html"===a.space&&(n=_a.JW,e.schema=n);e.ancestors.push(t);const s=null===t.name?e.Fragment:Uo(e,t.name,!0),o=function(e,t){const r={};for(const a of t.attributes)if("mdxJsxExpressionAttribute"===a.type)if(a.data&&a.data.estree&&e.evaluater){const t=a.data.estree.body[0];t.type;const n=t.expression;n.type;const s=n.properties[0];s.type,Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else qo(e,t.position);else{const n=a.name;let s;if(a.value&&"object"===typeof a.value)if(a.value.data&&a.value.data.estree&&e.evaluater){const t=a.value.data.estree.body[0];t.type,s=e.evaluater.evaluateExpression(t.expression)}else qo(e,t.position);else s=null===a.value||a.value;r[n]=s}return r}(e,t),i=Mo(e,t);return Bo(e,o,s,t),Fo(o,i),e.ancestors.pop(),e.schema=a,e.create(t,s,o,r)}(e,t,r):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);qo(e,t.position)}(e,t):"root"===t.type?function(e,t,r){const a={};return Fo(a,Mo(e,t)),e.create(t,e.Fragment,a,r)}(e,t,r):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function Bo(e,t,r,a){"string"!==typeof r&&r!==e.Fragment&&e.passNode&&(t.node=a)}function Fo(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function Mo(e,t){const r=[];let a=-1;const n=e.passKeys?new Map:ko;for(;++a13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535===(65535&r)||65534===(65535&r)||r>1114111?"\ufffd":String.fromCodePoint(r)}var ei=r(7018);const ti=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ri(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return Zo(r.slice(t?2:1),t?16:10)}return(0,ei.s)(r)||e}var ai=r(4618);const ni={}.hasOwnProperty;function si(e,t,r){return"string"!==typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(te),autolinkProtocol:S,autolinkEmail:S,atxHeading:s($),blockQuote:s(G),characterEscape:S,characterReference:S,codeFenced:s(K),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(K,o),codeText:s(Y,o),codeTextData:S,data:S,codeFlowValue:S,definition:s(X),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(J),hardBreakEscape:s(Q),hardBreakTrailing:s(Q),htmlFlow:s(Z,o),htmlFlowData:S,htmlText:s(Z,o),htmlTextData:S,image:s(ee),label:o,link:s(te),listItem:s(ae),listItemValue:p,listOrdered:s(re,u),listUnordered:s(re),paragraph:s(ne),reference:L,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s($),strong:s(se),thematicBreak:s(ie)},exit:{atxHeading:d(),atxHeadingSequence:R,autolink:d(),autolinkEmail:V,autolinkProtocol:z,blockQuote:d(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:W,characterReference:H,codeFenced:d(h),codeFencedFence:m,codeFencedFenceInfo:f,codeFencedFenceMeta:g,codeFlowValue:T,codeIndented:d(y),codeText:d(_),codeTextData:T,data:T,definition:d(),definitionDestinationString:x,definitionLabelString:b,definitionTitleString:v,emphasis:d(),hardBreakEscape:d(k),hardBreakTrailing:d(k),htmlFlow:d(C),htmlFlowData:T,htmlText:d(P),htmlTextData:T,image:d(I),label:N,labelText:O,lineEnding:A,link:d(D),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:U,resourceDestinationString:B,resourceTitleString:F,resource:M,setextHeading:d(j),setextHeadingLineSequence:E,setextHeadingText:w,strong:d(),thematicBreak:d()}};ii(t,(e||{}).mdastExtensions||[]);const r={};return a;function a(e){let a={type:"root",children:[]};const s={stack:[a],tokenStack:[],config:t,enter:i,exit:c,buffer:o,resume:l,data:r},d=[];let u=-1;for(;++u0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||ci).call(s,void 0,e[0])}for(a.position={start:oi(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:oi(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u55295&&s<57344){const t=e.charCodeAt(r+1);s<56320&&t>56319&&t<57344?(o=String.fromCharCode(s,t),n=1):o="\ufffd"}else o=String.fromCharCode(s);o&&(t.push(e.slice(a,r),encodeURIComponent(o)),a=r+n+1,o=""),n&&(r+=n,n=0)}return t.join("")+e.slice(a)}function fi(e,t){const r=[{type:"text",value:"\u21a9"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function gi(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function mi(e,t){const r=t.referenceType;let a="]";if("collapsed"===r?a+="[]":"full"===r&&(a+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+a}];const n=e.all(t),s=n[0];s&&"text"===s.type?s.value="["+s.value:n.unshift({type:"text",value:"["});const o=n[n.length-1];return o&&"text"===o.type?o.value+=a:n.push({type:"text",value:a}),n}function hi(e){const t=e.spread;return null===t||void 0===t?e.children.length>1:t}const yi=9,bi=32;function vi(e){const t=String(e),r=/\r?\n|\r/g;let a=r.exec(t),n=0;const s=[];for(;a;)s.push(xi(t.slice(n,a.index),n>0,!0),a[0]),n=a.index+a[0].length,a=r.exec(t);return s.push(xi(t.slice(n),n>0,!1)),s.join("")}function xi(e,t,r){let a=0,n=e.length;if(t){let t=e.codePointAt(a);for(;t===yi||t===bi;)a++,t=e.codePointAt(a)}if(r){let t=e.codePointAt(n-1);for(;t===yi||t===bi;)n--,t=e.codePointAt(n-1)}return n>a?e.slice(a,n):""}const Ri={blockquote:function(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){const r=t.value?t.value+"\n":"",a={};t.lang&&(a.className=["language-"+t.lang]);let n={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return t.meta&&(n.data={meta:t.meta}),e.patch(t,n),n=e.applyData(t,n),n={type:"element",tagName:"pre",properties:{},children:[n]},e.patch(t,n),n},delete:function(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:function(e,t){const r="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),n=pi(a.toLowerCase()),s=e.footnoteOrder.indexOf(a);let o,i=e.footnoteCounts.get(a);void 0===i?(i=0,e.footnoteOrder.push(a),o=e.footnoteOrder.length):o=s+1,i+=1,e.footnoteCounts.set(a,i);const d={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,d);const c={type:"element",tagName:"sup",properties:{},children:[d]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}},imageReference:function(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return mi(e,t);const n={src:pi(a.url||""),alt:t.alt};null!==a.title&&void 0!==a.title&&(n.title=a.title);const s={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,s),e.applyData(t,s)},image:function(e,t){const r={src:pi(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);const a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)},inlineCode:function(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const a={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,a),e.applyData(t,a)},linkReference:function(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return mi(e,t);const n={href:pi(a.url||"")};null!==a.title&&void 0!==a.title&&(n.title=a.title);const s={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)},link:function(e,t){const r={href:pi(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);const a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},listItem:function(e,t,r){const a=e.all(t),n=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const r=e.children;let a=-1;for(;!t&&++a0&&r.children.unshift({type:"text",value:" "}),r.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let i=-1;for(;++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=Js(t.children[1]),o=Xs(t.children[t.children.length-1]);s&&o&&(a.position={start:s,end:o}),n.push(a)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(n,!0)};return e.patch(t,s),e.applyData(t,s)},tableCell:function(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){const a=r?r.children:void 0,n=0===(a?a.indexOf(t):1)?"th":"td",s=r&&"table"===r.type?r.align:void 0,o=s?s.length:t.children.length;let i=-1;const d=[];for(;++i0&&r.push({type:"text",value:"\n"}),r}function Ci(e){let t=0,r=e.charCodeAt(t);for(;9===r||32===r;)t++,r=e.charCodeAt(t);return e.slice(t)}function Pi(e,t){const r=function(e,t){const r=t||ji,a=new Map,n=new Map,s=new Map,o={...Ri,...r.handlers},i={all:function(e){const t=[];if("children"in e){const r=e.children;let a=-1;for(;++a0&&u.push({type:"text",value:" "});let e="string"===typeof r?r:r(d,l);"string"===typeof e&&(e={type:"text",value:e}),u.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(l>1?"-"+l:""),dataFootnoteBackref:"",ariaLabel:"string"===typeof a?a:a(d,l),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=s[s.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...u)}else s.push(...u);const g={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(s,!0)};e.patch(n,g),i.push(g)}if(0!==i.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...Rs(o),id:"footnote-label"},children:[{type:"text",value:n}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(i,!0)},{type:"text",value:"\n"}]}}(r),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return n&&s.children.push({type:"text",value:"\n"},n),s}function _i(e,t){return e&&"run"in e?async function(r,a){const n=Pi(r,{file:a,...t});await e.run(n,a)}:function(r,a){return Pi(r,{file:a,...t||e})}}function Di(e){if(e)throw e}var Ii=r(1761);function Oi(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ni(){const e=[],t={run:function(){for(var t=arguments.length,r=new Array(t),a=0;a1?d-1:0),l=1;ln.length;let c;d&&n.push(s);try{c=e.apply(this,n)}catch(a){if(d&&r)throw a;return s(a)}d||(c&&c.then&&"function"===typeof c.then?c.then(o,s):c instanceof Error?s(c):o(c))}function s(e){if(!r){r=!0;for(var a=arguments.length,n=new Array(a>1?a-1:0),s=1;se.length){for(;s--;)if(47===e.codePointAt(s)){if(r){a=s+1;break}}else n<0&&(r=!0,n=s+1);return n<0?"":e.slice(a,n)}if(t===e)return"";let o=-1,i=t.length-1;for(;s--;)if(47===e.codePointAt(s)){if(r){a=s+1;break}}else o<0&&(r=!0,o=s+1),i>-1&&(e.codePointAt(s)===t.codePointAt(i--)?i<0&&(n=s):(i=-1,n=o));a===n?n=o:n<0&&(n=e.length);return e.slice(a,n)},dirname:function(e){if(Fi(e),0===e.length)return".";let t,r=-1,a=e.length;for(;--a;)if(47===e.codePointAt(a)){if(t){r=a;break}}else t||(t=!0);return r<0?47===e.codePointAt(0)?"/":".":1===r&&47===e.codePointAt(0)?"//":e.slice(0,r)},extname:function(e){Fi(e);let t,r=e.length,a=-1,n=0,s=-1,o=0;for(;r--;){const i=e.codePointAt(r);if(47!==i)a<0&&(t=!0,a=r+1),46===i?s<0?s=r:1!==o&&(o=1):s>-1&&(o=-1);else if(t){n=r+1;break}}if(s<0||a<0||0===o||1===o&&s===a-1&&s===n+1)return"";return e.slice(s,a)},join:function(){let e,t=-1;for(var r=arguments.length,a=new Array(r),n=0;n2){if(a=n.lastIndexOf("/"),a!==n.length-1){a<0?(n="",s=0):(n=n.slice(0,a),s=n.length-1-n.lastIndexOf("/")),o=d,i=0;continue}}else if(n.length>0){n="",s=0,o=d,i=0;continue}t&&(n=n.length>0?n+"/..":"..",s=2)}else n.length>0?n+="/"+e.slice(o+1,d):n=e.slice(o+1,d),s=d-o-1;o=d,i=0}else 46===r&&i>-1?i++:i=-1}return n}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.codePointAt(e.length-1)&&(r+="/");return t?"/"+r:r}(e)},sep:"/"};function Fi(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Mi={cwd:function(){return"/"}};function Li(e){return Boolean(null!==e&&"object"===typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function Ui(e){if("string"===typeof e)e=new URL(e);else if(!Li(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r1?a-1:0),s=1;s0){let[a,...s]=r;const o=t[n][1];Oi(o)&&Oi(a)&&(a=Ii(!0,o,a)),t[n]=[e,a,...s]}}}}const Xi=(new Yi).freeze();function Ji(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function $i(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Qi(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Zi(e){if(!Oi(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function ed(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function td(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new Wi(e)}const rd=[],ad={allowDangerousHtml:!0},nd=/^(https?|ircs?|mailto|xmpp)$/i,sd=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function od(e){const t=e.allowedElements,r=e.allowElement,a=e.children||"",n=e.className,s=e.components,o=e.disallowedElements,i=e.rehypePlugins||rd,d=e.remarkPlugins||rd,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ad}:ad,l=e.skipHtml,u=e.unwrapDisallowed,p=e.urlTransform||id,f=Xi().use(li).use(d).use(_i,c).use(i),g=new Wi;"string"===typeof a&&(g.value=a);for(const y of sd)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=f.parse(g);let h=f.runSync(m,g);return n&&(h={type:"element",tagName:"div",properties:{className:n},children:"root"===h.type?h.children:[h]}),ha(h,(function(e,a,n){if("raw"===e.type&&n&&"number"===typeof a)return l?n.children.splice(a,1):n.children[a]={type:"text",value:e.value},a;if("element"===e.type){let t;for(t in Vo)if(Object.hasOwn(Vo,t)&&Object.hasOwn(e.properties,t)){const r=e.properties[t],a=Vo[t];(null===a||a.includes(e.tagName))&&(e.properties[t]=p(String(r||""),t,e))}}if("element"===e.type){let s=t?!t.includes(e.tagName):!!o&&o.includes(e.tagName);if(!s&&r&&"number"===typeof a&&(s=!r(e,a,n)),s&&n&&"number"===typeof a)return u&&e.children?n.children.splice(a,1,...e.children):n.children.splice(a,1),a}})),Oo(h,{Fragment:er.Fragment,components:s,ignoreInvalidStyle:!0,jsx:er.jsx,jsxs:er.jsxs,passKeys:!0,passNode:!0})}function id(e){const t=e.indexOf(":"),r=e.indexOf("?"),a=e.indexOf("#"),n=e.indexOf("/");return t<0||n>-1&&t>n||r>-1&&t>r||a>-1&&t>a||nd.test(e.slice(0,t))?e:""}function dd(e,t){const r=String(e);if("string"!==typeof t)throw new TypeError("Expected character");let a=0,n=r.indexOf(t);for(;-1!==n;)a++,n=r.indexOf(t,n+t.length);return a}function cd(e,t,r){const a=ia((r||{}).ignore||[]),n=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let a=-1;for(;++a0?{type:"text",value:s}:void 0),!1===s?a.lastIndex=r+1:(i!==r&&l.push({type:"text",value:e.value.slice(i,r)}),Array.isArray(s)?l.push(...s):s&&l.push(s),i=r+u[0].length,c=!0),!a.global)break;u=a.exec(e.value)}c?(i?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],a=r.indexOf(")");const n=dd(e,"(");let s=dd(e,")");for(;-1!==a&&n>s;)e+=r.slice(0,a+1),r=r.slice(a+1),a=r.indexOf(")"),s++;return[e,r]}(r+a);if(!o[0])return!1;const i={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[i,{type:"text",value:o[1]}]:i}function wd(e,t,r,a){return!(!Ed(a,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function Ed(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,ui.Ny)(r)||(0,ui.es)(r))&&(!t||47!==r)}function jd(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Sd(){this.buffer()}function Td(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=t,r.identifier=(0,ai.B)(this.sliceSerialize(e)).toLowerCase()}function Ad(e){this.exit(e)}function kd(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Cd(){this.buffer()}function Pd(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=t,r.identifier=(0,ai.B)(this.sliceSerialize(e)).toLowerCase()}function _d(e){this.exit(e)}function Dd(e,t,r,a){const n=r.createTracker(a);let s=n.move("[^");const o=r.enter("footnoteReference"),i=r.enter("reference");return s+=n.move(r.safe(r.associationId(e),{...n.current(),before:s,after:"]"})),i(),o(),s+=n.move("]"),s}function Id(e,t,r,a){const n=r.createTracker(a);let s=n.move("[^");const o=r.enter("footnoteDefinition"),i=r.enter("label");return s+=n.move(r.safe(r.associationId(e),{...n.current(),before:s,after:"]"})),i(),s+=n.move("]:"+(e.children&&e.children.length>0?" ":"")),n.shift(4),s+=n.move(r.indentLines(r.containerFlow(e,n.current()),Od)),o(),s}function Od(e,t,r){return 0===t?e:(r?"":" ")+e}Dd.peek=function(){return"["};const Nd=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Bd(e){this.enter({type:"delete",children:[]},e)}function Fd(e){this.exit(e)}function Md(e,t,r,a){const n=r.createTracker(a),s=r.enter("strikethrough");let o=n.move("~~");return o+=r.containerPhrasing(e,{...n.current(),before:o,after:"~"}),o+=n.move("~~"),s(),o}function Ld(e){return null===e||void 0===e?"":String(e)}function Ud(e){return e.length}function qd(e){const t="string"===typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Wd(e,t,r){return">"+(r?"":" ")+e}function Hd(e,t,r){if("string"===typeof t&&(t=[t]),!t||0===t.length)return r;let a=-1;for(;++a",...d.current()})),c+=d.move(">")):(i=r.enter("destinationRaw"),c+=d.move(r.safe(e.url,{before:c,after:e.title?" ":")",...d.current()}))),i(),e.title&&(i=r.enter("title".concat(s)),c+=d.move(" "+n),c+=d.move(r.safe(e.title,{before:c,after:n,...d.current()})),c+=d.move(n),i()),c+=d.move(")"),o(),c}function Jd(e,t,r,a){const n=e.referenceType,s=r.enter("imageReference");let o=r.enter("label");const i=r.createTracker(a);let d=i.move("![");const c=r.safe(e.alt,{before:d,after:"]",...i.current()});d+=i.move(c+"]["),o();const l=r.stack;r.stack=[],o=r.enter("reference");const u=r.safe(r.associationId(e),{before:d,after:"]",...i.current()});return o(),r.stack=l,s(),"full"!==n&&c&&c===u?"shortcut"===n?d=d.slice(0,-1):d+=i.move("]"):d+=i.move(u+"]"),d}function $d(e,t,r){let a=e.value||"",n="`",s=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(a);)n+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++s\u007F]/.test(e.url))}function Zd(e,t,r,a){const n=Gd(r),s='"'===n?"Quote":"Apostrophe",o=r.createTracker(a);let i,d;if(Qd(e,r)){const t=r.stack;r.stack=[],i=r.enter("autolink");let a=o.move("<");return a+=o.move(r.containerPhrasing(e,{before:a,after:">",...o.current()})),a+=o.move(">"),i(),r.stack=t,a}i=r.enter("link"),d=r.enter("label");let c=o.move("[");return c+=o.move(r.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=r.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(r.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(d=r.enter("destinationRaw"),c+=o.move(r.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),d(),e.title&&(d=r.enter("title".concat(s)),c+=o.move(" "+n),c+=o.move(r.safe(e.title,{before:c,after:n,...o.current()})),c+=o.move(n),d()),c+=o.move(")"),i(),c}function ec(e,t,r,a){const n=e.referenceType,s=r.enter("linkReference");let o=r.enter("label");const i=r.createTracker(a);let d=i.move("[");const c=r.containerPhrasing(e,{before:d,after:"]",...i.current()});d+=i.move(c+"]["),o();const l=r.stack;r.stack=[],o=r.enter("reference");const u=r.safe(r.associationId(e),{before:d,after:"]",...i.current()});return o(),r.stack=l,s(),"full"!==n&&c&&c===u?"shortcut"===n?d=d.slice(0,-1):d+=i.move("]"):d+=i.move(u+"]"),d}function tc(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function rc(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Md.peek=function(){return"~"},Kd.peek=function(e,t,r){return r.options.emphasis||"*"},Yd.peek=function(){return"<"},Xd.peek=function(){return"!"},Jd.peek=function(){return"!"},$d.peek=function(){return"`"},Zd.peek=function(e,t,r){return Qd(e,r)?"<":"["},ec.peek=function(){return"["};const ac=ia(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function nc(e,t,r,a){const n=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(r),s=r.enter("strong"),o=r.createTracker(a);let i=o.move(n+n);return i+=o.move(r.containerPhrasing(e,{before:i,after:n,...o.current()})),i+=o.move(n+n),s(),i}nc.peek=function(e,t,r){return r.options.strong||"*"};const sc={blockquote:function(e,t,r,a){const n=r.enter("blockquote"),s=r.createTracker(a);s.move("> "),s.shift(2);const o=r.indentLines(r.containerFlow(e,s.current()),Wd);return n(),o},break:zd,code:function(e,t,r,a){const n=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(r),s=e.value||"",o="`"===n?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,r)){const e=r.enter("codeIndented"),t=r.indentLines(s,Vd);return e(),t}const i=r.createTracker(a),d=n.repeat(Math.max(function(e,t){const r=String(e);let a=r.indexOf(t),n=a,s=0,o=0;if("string"!==typeof t)throw new TypeError("Expected substring");for(;-1!==a;)a===n?++s>o&&(o=s):s=1,n=a+t.length,a=r.indexOf(t,n);return o}(s,n)+1,3)),c=r.enter("codeFenced");let l=i.move(d);if(e.lang){const t=r.enter("codeFencedLang".concat(o));l+=i.move(r.safe(e.lang,{before:l,after:" ",encode:["`"],...i.current()})),t()}if(e.lang&&e.meta){const t=r.enter("codeFencedMeta".concat(o));l+=i.move(" "),l+=i.move(r.safe(e.meta,{before:l,after:"\n",encode:["`"],...i.current()})),t()}return l+=i.move("\n"),s&&(l+=i.move(s+"\n")),l+=i.move(d),c(),l},definition:function(e,t,r,a){const n=Gd(r),s='"'===n?"Quote":"Apostrophe",o=r.enter("definition");let i=r.enter("label");const d=r.createTracker(a);let c=d.move("[");return c+=d.move(r.safe(r.associationId(e),{before:c,after:"]",...d.current()})),c+=d.move("]: "),i(),!e.url||/[\0- \u007F]/.test(e.url)?(i=r.enter("destinationLiteral"),c+=d.move("<"),c+=d.move(r.safe(e.url,{before:c,after:">",...d.current()})),c+=d.move(">")):(i=r.enter("destinationRaw"),c+=d.move(r.safe(e.url,{before:c,after:e.title?" ":"\n",...d.current()}))),i(),e.title&&(i=r.enter("title".concat(s)),c+=d.move(" "+n),c+=d.move(r.safe(e.title,{before:c,after:n,...d.current()})),c+=d.move(n),i()),o(),c},emphasis:Kd,hardBreak:zd,heading:function(e,t,r,a){const n=Math.max(Math.min(6,e.depth||1),1),s=r.createTracker(a);if(function(e,t){let r=!1;return ha(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,fa})),Boolean((!e.depth||e.depth<3)&&Ko(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),a=r.enter("phrasing"),o=r.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return a(),t(),o+"\n"+(1===n?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(n),i=r.enter("headingAtx"),d=r.enter("phrasing");s.move(o+" ");let c=r.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?o+" "+c:o,r.options.closeAtx&&(c+=" "+o),d(),i(),c},html:Yd,image:Xd,imageReference:Jd,inlineCode:$d,link:Zd,linkReference:ec,list:function(e,t,r,a){const n=r.enter("list"),s=r.bulletCurrent;let o=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(r):tc(r);const i=e.ordered?"."===o?")":".":function(e){const t=tc(e),r=e.options.bulletOther;if(!r)return"*"===t?"-":"*";if("*"!==r&&"+"!==r&&"-"!==r)throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}(r);let d=!(!t||!r.bulletLastUsed)&&o===r.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==r.stack[r.stack.length-1]||"listItem"!==r.stack[r.stack.length-2]||"list"!==r.stack[r.stack.length-3]||"listItem"!==r.stack[r.stack.length-4]||0!==r.indexStack[r.indexStack.length-1]||0!==r.indexStack[r.indexStack.length-2]||0!==r.indexStack[r.indexStack.length-3]||(d=!0),rc(r)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+s);let o=s.length+1;("tab"===n||"mixed"===n&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const i=r.createTracker(a);i.move(s+" ".repeat(o-s.length)),i.shift(o);const d=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,i.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(o))+e;return(r?s:s+" ".repeat(o-s.length))+e}));return d(),c},paragraph:function(e,t,r,a){const n=r.enter("paragraph"),s=r.enter("phrasing"),o=r.containerPhrasing(e,a);return s(),n(),o},root:function(e,t,r,a){return(e.children.some((function(e){return ac(e)}))?r.containerPhrasing:r.containerFlow).call(r,e,a)},strong:nc,text:function(e,t,r,a){return r.safe(e.value,a)},thematicBreak:function(e,t,r){const a=(rc(r)+(r.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(r));return r.options.ruleSpaces?a.slice(0,-1):a}};function oc(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function ic(e){this.exit(e),this.data.inTable=void 0}function dc(e){this.enter({type:"tableRow",children:[]},e)}function cc(e){this.exit(e)}function lc(e){this.enter({type:"tableCell",children:[]},e)}function uc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,pc));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function pc(e,t){return"|"===t?t:e}function fc(e){const t=e||{},r=t.tableCellPadding,a=t.tablePipeAlign,n=t.stringLength,s=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,r){let a=sc.inlineCode(e,t,r);r.stack.includes("tableCell")&&(a=a.replace(/\|/g,"\\$&"));return a},table:function(e,t,r,a){return i(function(e,t,r){const a=e.children;let n=-1;const s=[],o=t.enter("table");for(;++n1&&void 0!==arguments[1]?arguments[1]:{};const r=(t.align||[]).concat(),a=t.stringLength||Ud,n=[],s=[],o=[],i=[];let d=0,c=-1;for(;++cd&&(d=e[c].length);++li[l])&&(i[l]=e)}r.push(s)}s[c]=r,o[c]=n}let l=-1;if("object"===typeof r&&"length"in r)for(;++li[l]&&(i[l]=s),p[l]=s),u[l]=o}s.splice(1,0,u),o.splice(1,0,p),c=-1;const f=[];for(;++c0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}Tc[43]=Sc,Tc[45]=Sc,Tc[46]=Sc,Tc[95]=Sc,Tc[72]=[Sc,jc],Tc[104]=[Sc,jc],Tc[87]=[Sc,Ec],Tc[119]=[Sc,Ec];var Ic=r(1231),Oc=r(7245);const Nc={tokenize:function(e,t,r){const a=this;return(0,Oc.N)(e,(function(e){const n=a.events[a.events.length-1];return n&&"gfmFootnoteDefinitionIndent"===n[1].type&&4===n[2].sliceSerialize(n[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Bc(e,t,r){const a=this;let n=a.events.length;const s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let o;for(;n--;){const e=a.events[n][1];if("labelImage"===e.type){o=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(n){if(!o||!o._balanced)return r(n);const i=(0,ai.B)(a.sliceSerialize({start:o.end,end:a.now()}));if(94!==i.codePointAt(0)||!s.includes(i.slice(1)))return r(n);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(n),e.exit("gfmFootnoteCallLabelMarker"),t(n)}}function Fc(e,t){let r,a=e.length;for(;a--;)if("labelImage"===e[a][1].type&&"enter"===e[a][0]){r=e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},d=[e[a+1],e[a+2],["enter",n,t],e[a+3],e[a+4],["enter",s,t],["exit",s,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(a,e.length-a+1,...d),e}function Mc(e,t,r){const a=this,n=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s,o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),i};function i(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",d)}function d(i){if(o>999||93===i&&!s||null===i||91===i||(0,ui.Ee)(i))return r(i);if(93===i){e.exit("chunkString");const s=e.exit("gfmFootnoteCallString");return n.includes((0,ai.B)(a.sliceSerialize(s)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(i)}return(0,ui.Ee)(i)||(s=!0),o++,e.consume(i),92===i?c:d}function c(t){return 91===t||92===t||93===t?(e.consume(t),o++,d):d(t)}}function Lc(e,t,r){const a=this,n=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s,o,i=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),d};function d(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(t)}function c(t){if(i>999||93===t&&!o||null===t||91===t||(0,ui.Ee)(t))return r(t);if(93===t){e.exit("chunkString");const r=e.exit("gfmFootnoteDefinitionLabelString");return s=(0,ai.B)(a.sliceSerialize(r)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),u}return(0,ui.Ee)(t)||(o=!0),i++,e.consume(t),92===t?l:c}function l(t){return 91===t||92===t||93===t?(e.consume(t),i++,c):c(t)}function u(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),n.includes(s)||n.push(s),(0,Oc.N)(e,p,"gfmFootnoteDefinitionWhitespace")):r(t)}function p(e){return t(e)}}function Uc(e,t,r){return e.check(Ic.B,t,e.attempt(Nc,t,r))}function qc(e){e.exit("gfmFootnoteDefinition")}var Wc=r(2373),Hc=r(7535),zc=r(9723);function Vc(e){let t=(e||{}).singleTilde;const r={tokenize:function(e,r,a){const n=this.previous,s=this.events;let o=0;return function(t){if(126===n&&"characterEscape"!==s[s.length-1][1].type)return a(t);return e.enter("strikethroughSequenceTemporary"),i(t)};function i(s){const d=(0,Hc.S)(n);if(126===s)return o>1?a(s):(e.consume(s),o++,i);if(o<2&&!t)return a(s);const c=e.exit("strikethroughSequenceTemporary"),l=(0,Hc.S)(s);return c._open=!l||2===l&&Boolean(d),c._close=!d||2===d&&Boolean(l),r(s)}},resolveAll:function(e,t){let r=-1;for(;++r0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];r.push([...e]),e.length=0;let a=r.pop();for(;a;)e.push(...a),a=r.pop();this.map.length=0}}function Kc(e,t){let r=!1;const a=[];for(;t-1;){const e=a.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const n=t>-1?a.events[t][1].type:null,s="tableHead"===n||"tableRow"===n?x:i;if(s===x&&a.parser.lazy[a.now().line])return r(e);return s(e)};function i(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return d(e);return n=!0,o+=1,d(e)}(t)}function d(t){return null===t?r(t):(0,ui.HP)(t)?o>1?(o=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):r(t):(0,ui.On)(t)?(0,Oc.N)(e,d,"whitespace")(t):(o+=1,n&&(n=!1,s+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),n=!0,d):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||(0,ui.Ee)(t)?(e.exit("data"),d(t)):(e.consume(t),92===t?l:c)}function l(t){return 92===t||124===t?(e.consume(t),c):c(t)}function u(t){return a.interrupt=!1,a.parser.lazy[a.now().line]?r(t):(e.enter("tableDelimiterRow"),n=!1,(0,ui.On)(t)?(0,Oc.N)(e,p,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?g(t):124===t?(n=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):v(t)}function f(t){return(0,ui.On)(t)?(0,Oc.N)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(o+=1,n=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||(0,ui.HP)(t)?b(t):v(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),h(t)):v(t)}function h(t){return 45===t?(e.consume(t),h):58===t?(n=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return(0,ui.On)(t)?(0,Oc.N)(e,b,"whitespace")(t):b(t)}function b(r){return 124===r?p(r):(null===r||(0,ui.HP)(r))&&n&&s===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(r)):v(r)}function v(e){return r(e)}function x(t){return e.enter("tableRow"),R(t)}function R(r){return 124===r?(e.enter("tableCellDivider"),e.consume(r),e.exit("tableCellDivider"),R):null===r||(0,ui.HP)(r)?(e.exit("tableRow"),t(r)):(0,ui.On)(r)?(0,Oc.N)(e,R,"whitespace")(r):(e.enter("data"),w(r))}function w(t){return null===t||124===t||(0,ui.Ee)(t)?(e.exit("data"),R(t)):(e.consume(t),92===t?E:w)}function E(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function Xc(e,t){let r,a,n,s=-1,o=!0,i=0,d=[0,0,0,0],c=[0,0,0,0],l=!1,u=0;const p=new Gc;for(;++sr[2]+1){const t=r[2]+1,a=r[3]-r[2]-1;e.add(t,a,[])}}e.add(r[3]+1,0,[["exit",o,t]])}return void 0!==n&&(s.end=Object.assign({},Qc(t.events,n)),e.add(n,0,[["exit",s,t]]),s=void 0),s}function $c(e,t,r,a,n){const s=[],o=Qc(t.events,r);n&&(n.end=Object.assign({},o),s.push(["exit",n,t])),a.end=Object.assign({},o),s.push(["exit",a,t]),e.add(r+1,0,s)}function Qc(e,t){const r=e[t],a="enter"===r[0]?"start":"end";return r[1][a]}const Zc={tokenize:function(e,t,r){const a=this;return function(t){if(null!==a.previous||!a._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),n};function n(t){return(0,ui.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):r(t)}function s(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(t)}function o(a){return(0,ui.HP)(a)?t(a):(0,ui.On)(a)?e.check({tokenize:el},t,r)(a):r(a)}}};function el(e,t,r){return(0,Oc.N)(e,(function(e){return null===e?r(e):t(e)}),"whitespace")}const tl={};function rl(e){const t=e||tl,r=this.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),n=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(function(e){return(0,yc.y)([{text:Tc},{document:{91:{tokenize:Lc,continuation:{tokenize:Uc},exit:qc}},text:{91:{tokenize:Mc},93:{add:"after",tokenize:Bc,resolveTo:Fc}}},Vc(e),{flow:{null:{tokenize:Yc,resolveAll:Xc}}},{text:{91:Zc}}])}(t)),n.push([{transforms:[xd],enter:{literalAutolink:gd,literalAutolinkEmail:md,literalAutolinkHttp:md,literalAutolinkWww:md},exit:{literalAutolink:vd,literalAutolinkEmail:bd,literalAutolinkHttp:hd,literalAutolinkWww:yd}},{enter:{gfmFootnoteDefinition:jd,gfmFootnoteDefinitionLabelString:Sd,gfmFootnoteCall:kd,gfmFootnoteCallString:Cd},exit:{gfmFootnoteDefinition:Ad,gfmFootnoteDefinitionLabelString:Td,gfmFootnoteCall:_d,gfmFootnoteCallString:Pd}},{canContainEols:["delete"],enter:{strikethrough:Bd},exit:{strikethrough:Fd}},{enter:{table:oc,tableData:lc,tableHeader:lc,tableRow:dc},exit:{codeText:uc,table:ic,tableData:cc,tableHeader:cc,tableRow:cc}},{exit:{taskListCheckValueChecked:gc,taskListCheckValueUnchecked:gc,paragraph:mc}}]),s.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:pd,notInConstruct:fd},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:pd,notInConstruct:fd},{character:":",before:"[ps]",after:"\\/",inConstruct:pd,notInConstruct:fd}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Id,footnoteReference:Dd}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Nd}],handlers:{delete:Md}},fc(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:hc}}]}}(t))}const al=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/i,nl=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)(\/.*)?\]/i,sl=function(){let{legacyTitle:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=>{ha(t,"blockquote",((t,r,a)=>{let n="",s="",o=!0,i=t.children.map((t=>{if(o&&"paragraph"===t.type){const r=t.children[0],a="text"===r.type?r.value:"",i=e?nl:al,d=a.match(i);if(d&&(o=!1,n=d[1].toLocaleLowerCase(),s=e&&d[2]||n.toLocaleUpperCase(),a.includes("\n")&&(t.children[0]={type:"text",value:a.replace(i,"").replace(/^\n+/,"")}),!a.includes("\n"))){const e=[];t.children.forEach(((t,r)=>{0!=r&&(1==r&&"break"===t.type||e.push(t))})),t.children=[...e]}}return t}));n&&(t.data={hName:"div",hProperties:{class:"markdown-alert markdown-alert-".concat(n),dir:"auto"}},i.unshift({type:"paragraph",children:[ol(n),{type:"text",value:s.replace(/^\//,"")}],data:{hProperties:{class:"markdown-alert-title",dir:"auto"}}})),t.children=[...i]}))}};function ol(e){var t;return{type:"emphasis",data:{hName:"svg",hProperties:{class:"octicon",viewBox:"0 0 16 16",width:"16",height:"16",ariaHidden:"true"}},children:[{type:"emphasis",data:{hName:"path",hProperties:{d:null!==(t=il[e])&&void 0!==t?t:""}},children:[]}]}}const il={note:"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z",tip:"M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z",important:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",warning:"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",caution:"M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"};function dl(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?dl(t.parentElement):null}function cl(e){var t=e=>{var t=dl(e.target);t&&(t.classList.add("active"),Gr()(t.dataset.code,(function(){setTimeout((()=>{t.classList.remove("active")}),2e3)})))};(0,i.useEffect)((()=>{var r,a;return null==(r=e.current)||r.removeEventListener("click",t,!1),null==(a=e.current)||a.addEventListener("click",t,!1),()=>{var r;null==(r=e.current)||r.removeEventListener("click",t,!1)}}),[e])}var ll=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement","urlTransform"],ul=e=>e;const pl=i.forwardRef(((e,t)=>{var{prefixCls:r="wmde-markdown wmde-markdown-color",className:a,source:o,style:d,disableCopy:c=!1,skipHtml:l=!0,onScroll:u,onMouseOver:p,pluginsFilter:f,wrapperElement:g={},warpperElement:m={},urlTransform:h}=e,y=(0,s.A)(e,ll),b=i.useRef(null);(0,i.useImperativeHandle)(t,(()=>(0,n.A)({},e,{mdp:b})),[b,e]);var v=(r||"")+" "+(a||"");cl(b);var x=[...y.rehypePlugins||[]],R={allowElement:(e,t,r)=>y.allowElement?y.allowElement(e,t,r):/^[A-Za-z0-9]+$/.test(e.tagName)};l&&x.push(go);var w=[sl,...y.remarkPlugins||[],rl],E=(0,n.A)({},m,g);return(0,er.jsx)("div",(0,n.A)({ref:b,onScroll:u,onMouseOver:p},E,{className:v,style:d,children:(0,er.jsx)(od,(0,n.A)({},R,y,{skipHtml:l,urlTransform:h||ul,rehypePlugins:f?f("rehype",x):x,remarkPlugins:f?f("remark",w):w,children:o||""}))}))}));var fl=function(e){return void 0===e&&(e={}),e=>{ha(e,(e=>{"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=(0,n.A)({},e.properties,{"data-meta":String(e.data.meta)}))}))}},gl=function(e){return void 0===e&&(e={}),e=>{ha(e,(e=>{if("element"===e.type&&"code"===e.tagName&&e.properties&&e.properties.dataMeta){e.data||(e.data={});var t=e.properties.dataMeta;"string"===typeof t&&(e.data.meta=t),delete e.properties.dataMeta}}))}};const ml=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,hl=Object.hasOwnProperty;function yl(e){const t="element"===e.type?e.tagName.toLowerCase():"",r=2===t.length&&104===t.charCodeAt(0)?t.charCodeAt(1):0;return r>48&&r<55?r-48:void 0}const bl={},vl=new class{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let a=function(e,t){if("string"!==typeof e)return"";t||(e=e.toLowerCase());return e.replace(ml,"").replace(/ /g,"-")}(e,!0===t);const n=a;for(;hl.call(r.occurrences,a);)r.occurrences[n]++,a=n+"-"+r.occurrences[n];return r.occurrences[a]=0,a}reset(){this.occurrences=Object.create(null)}};const xl=function(e){if(null===e||void 0===e)return wl;if("string"===typeof e)return function(e){return Rl(t);function t(t){return t.tagName===e}}(e);if("object"===typeof e)return function(e){const t=[];let r=-1;for(;++r0&&void 0!==arguments[0]?arguments[0]:{};const{openDelimiter:t="rehype:ignore:start",closeDelimiter:r="rehype:ignore:end"}=e;return e=>{ha(e,((e,a,n)=>{if("element"===e.type||"root"===e.type){let a=!1;e.children=e.children.filter((e=>{if("raw"===e.type||"comment"===e.type){let n=(e.value||"").trim();if(n=n.replace(/^/,"$1"),n===t)return a=!0,!1;if(n===r)return a=!1,!1}return!a}))}}))}};var Dl={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};var Il=[function(e){const t=(e||bl).prefix||"";return function(e){vl.reset(),ha(e,"element",(function(e){yl(e)&&!e.properties.id&&(e.properties.id=t+vl.slug(ya(e)))}))}},function(e){const t=e||Sl;let r=t.properties;const a=t.headingProperties,n=t.behavior||"prepend",s=t.content,o=t.group,i=xl(t.test);let d;return"after"===n||"before"===n?d=function(e,t,a){if("number"!==typeof t||!a)return;const i=kl(s||jl,e),d=Al(e,Pl(r,e),i);let c="before"===n?[d,e]:[e,d];if(o){const t=Cl(o,e);t&&!Array.isArray(t)&&"element"===t.type&&(t.children=c,c=[t])}return a.children.splice(t,1,...c),[ga,t+c.length]}:"wrap"===n?d=function(e){let t=e.children,a=[];"function"===typeof s?(t=[],a=s(e)):s&&(a=Tl(s));return e.children=[Al(e,Pl(r,e),Array.isArray(a)?[...t,...a]:[...t,a])],[ga]}:(d=function(e){const t=kl(s||jl,e);return e.children["prepend"===n?"unshift":"push"](Al(e,Pl(r,e),t)),[ga]},r||(r={ariaHidden:"true",tabIndex:-1})),function(e){ha(e,"element",(function(e,t,r){if(yl(e)&&e.properties.id&&i(e,t,r))return Object.assign(e.properties,Pl(a,e)),d(e,t,r)}))}},_l];const Ol=i.forwardRef(((e,t)=>{var r,a,s,o=[fl,go,gl,...Il,[ds,{rewrite:(a=null!=(r=e.disableCopy)&&r,s=e.rehypeRewrite,(e,t,r)=>{if("element"===e.type&&r&&"root"===r.type&&/h(1|2|3|4|5|6)/.test(e.tagName)){var o=e.children&&e.children[0];o&&o.properties&&"true"===o.properties.ariaHidden&&(o.properties=(0,n.A)({class:"anchor"},o.properties),o.children=[Dl])}if("element"===e.type&&"pre"===e.tagName&&!a){var i=is(e.children);e.children.push((void 0===(d=i)&&(d=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":d},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}))}var d;s&&s(e,null===t?void 0:t,null===r?void 0:r)})}],[ps,{properties:"attr"}],...e.rehypePlugins||[],[Pa,{ignoreMissing:!0}]];return(0,er.jsx)(pl,(0,n.A)({},e,{rehypePlugins:o,ref:t}))}));var Nl,Bl=["components","data","node"],Fl=["source","components","data","rehypeRewrite"],Ml=aa.Preview,Ll=aa.Code,Ul=aa.Toolbar,ql=Zt(Ol)(Nl||(Nl=o(["\n margin: 0 auto;\n box-shadow:\n rgb(8 15 41 / 8%) 0.5rem 0.5rem 2rem 0px,\n rgb(8 15 41 / 8%) 0px 0px 1px 0px;\n border: 1px solid var(--color-border-default, #30363d);\n text-align: left;\n max-width: 56rem;\n overflow: auto;\n padding: 2rem;\n border-radius: 0.55rem;\n"]))),Wl=e=>{var{components:t,data:r,node:a}=e,o=(0,s.A)(e,Bl);if(a&&"element"===a.type&&"pre"===a.tagName){var i,d,c,l=a.children[0];if(!l)return(0,er.jsx)("pre",(0,n.A)({},o));var u=(null==(i=l.data)?void 0:i.meta)||(null==(d=l.properties)?void 0:d.dataMeta);if(!oa(u))return(0,er.jsx)("pre",(0,n.A)({},o));var p=null==a||null==(c=a.position)?void 0:c.start.line,f=sa(u)||String(p),g=t[""+f];if(f&&"function"===typeof g){var m=r[f].value||"",{title:h,boreder:y=1,checkered:b=1,code:v=1,toolbar:x=1}=na(u||"");return(0,er.jsxs)(aa,{bordered:!!Number(y),disableCheckered:!Number(b),style:{marginBottom:16},children:[(0,er.jsx)(Ml,{children:(0,er.jsx)(g,{})}),!!Number(x)&&(0,er.jsx)(Ul,{text:m,visibleButton:!!Number(v),children:h||"Code Example"}),!!Number(v)&&(0,er.jsx)(Ll,{tagName:"pre",style:{marginBottom:0},className:o.className,children:o.children})]})}}return(0,er.jsx)("code",(0,n.A)({},o))};function Hl(e){var{components:t,data:r}=e,a=(0,s.A)(e,Fl);return(0,er.jsx)(ql,(0,n.A)({disableCopy:!0,rehypePlugins:[_l,...a.rehypePlugins||[]]},a,{source:r.source,components:(0,n.A)({},t,{pre:e=>(0,er.jsx)(Wl,(0,n.A)({},e,{components:r.components,data:r.data}))})}))}var zl,Vl,Gl,Kl,Yl,Xl=["version","title","description","source","logo","components","data","markdownProps","exampleProps","className","children","disableCorners","disableDarkMode","disableHeader","disableBackToUp"],Jl=Zt.div(zl||(zl=o(["\n max-width: 56rem;\n margin: 0 auto;\n padding: 2.3rem 3rem;\n display: flex;\n justify-content: center;\n"]))),$l=Zt.div(Vl||(Vl=o(["\n padding-bottom: 12rem;\n"]))),Ql=Zt.header(Gl||(Gl=o(["\n padding: 9rem 0 2rem 0;\n text-align: center;\n h1 {\n font-weight: 900;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif,\n 'Apple Color Emoji', 'Segoe UI Emoji';\n }\n"]))),Zl=Zt.sup(Kl||(Kl=o(["\n font-weight: 200;\n font-size: 0.78rem;\n margin-left: 0.5em;\n margin-top: -0.3em;\n position: absolute;\n white-space: nowrap;\n"]))),eu=Zt.p(Yl||(Yl=o(["\n max-width: 460px;\n margin: 0 auto;\n color: var(--color-fg-subtle, #6e7781);\n"]))),tu=(0,i.forwardRef)(((e,t)=>{var{version:r,title:a,description:o,source:i,logo:d=Cr,components:c,data:l,markdownProps:u,exampleProps:p,className:f="",children:g,disableCorners:m=!1,disableDarkMode:h=!1,disableHeader:y=!1,disableBackToUp:b=!1}=e,v=(0,s.A)(e,Xl),x=gr();return(0,er.jsxs)($l,(0,n.A)({className:"wmde-markdown-var "+f},v,{children:[(0,er.jsx)(Br,{version:r,logo:d,disableDarkMode:h,disableCorners:m}),!y&&(0,er.jsxs)(Ql,{children:[d,a&&(0,er.jsxs)("h1",{children:[a,r&&(0,er.jsx)(Zl,{children:r})]}),o&&(0,er.jsx)(eu,{children:o})]}),x.example&&(0,er.jsx)(Jl,(0,n.A)({},p,{children:x.example})),(0,er.jsx)(Hl,(0,n.A)({},u,{source:i,data:{data:l,components:c,source:i}})),g,!b&&(0,er.jsx)(ir,{children:"Top"})]}))})),ru=tu;ru.Github=function(e){return(0,i.useEffect)((()=>lr.setCorners((0,n.A)({},e))),[e]),null},ru.Corners=function(e){return(0,i.useEffect)((()=>lr.setDarkMode((0,n.A)({},e))),[e]),null},ru.Example=function(e){var{children:t}=e;return(0,i.useEffect)((()=>lr.setExample(t)),[t]),null},ru.NavMenu=function(e){return(0,i.useEffect)((()=>lr.setNavMenu(e)),[e]),null};const au=ru,nu={components:{34:function(){var e=a(r(7804)),t=a(r(6204));function a(e){return e&&e.__esModule?e:{default:e}}function n(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);re.length)&&(t=e.length);for(var r=0,a=Array(t);re.length)&&(t=e.length);for(var r=0,a=Array(t);re.length)&&(t=e.length);for(var r=0,a=Array(t);re.length)&&(t=e.length);for(var r=0,a=Array(t);r r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}, {\n date: \'2016/01/12\',\n count: 20\n}, {\n date: \'2016/01/13\',\n count: 10\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx,\n content: \'\'\n };\n})), [{\n date: \'2016/04/11\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/04\',\n count: 11\n}]);\nvar Demo = function Demo() {\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n weekLabels: [\'\', \'Mon\', \'\', \'Wed\', \'\', \'Fri\', \'\'],\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n
\n \n
\n )\n};\n\nexport default Demo"},68:{name:68,meta:{},code:"\"use strict\";\n\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _reactHeatMap = _interopRequireDefault(require(\"@uiw/react-heat-map\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { \"default\": e }; }\nvar value = [{\n date: '2016/01/11',\n count: 2\n}, {\n date: '2016/04/12',\n count: 2\n}, {\n date: '2016/05/01',\n count: 5\n}, {\n date: '2016/05/02',\n count: 5\n}, {\n date: '2016/05/03',\n count: 1\n}, {\n date: '2016/05/04',\n count: 11\n}, {\n date: '2016/05/08',\n count: 32\n}];\nvar Demo = function Demo() {\n return /*#__PURE__*/_react[\"default\"].createElement(_reactHeatMap[\"default\"], {\n value: value,\n width: 600,\n style: {\n color: '#ad001d',\n '--rhm-rect-active': 'red'\n },\n startDate: new Date('2016/01/01'),\n panelColors: {\n 0: '#f4decd',\n 2: '#e4b293',\n 4: '#d48462',\n 10: '#c2533a',\n 20: '#ad001d',\n 30: '#000'\n }\n });\n};\nreturn Demo;",language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo"},107:{name:107,meta:{},code:'"use strict";\n\nfunction _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }\nfunction _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(5),\n _useState2 = _slicedToArray(_useState, 2),\n range = _useState2[0],\n setRange = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("input", {\n type: "range",\n min: "0",\n max: "5",\n step: "0.1",\n value: range,\n onChange: function onChange(e) {\n return setRange(e.target.value);\n }\n }), " ", range, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n width: 600,\n style: {\n \'--rhm-rect\': \'#b9b9b9\'\n },\n startDate: new Date(\'2016/01/01\'),\n legendRender: function legendRender(props) {\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n y: props.y + 10,\n rx: range\n }));\n },\n rectProps: {\n rx: range\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n
\n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo"},148:{name:148,meta:{},code:'"use strict";\n\nvar _react = _interopRequireDefault(require("react"));\nvar _reactTooltip = _interopRequireDefault(require("@uiw/react-tooltip"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n return /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n width: 600,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n // if (!data.count) return ;\n return /*#__PURE__*/_react["default"].createElement(_reactTooltip["default"], {\n placement: "top",\n content: "count: ".concat(data.count || 0)\n }, /*#__PURE__*/_react["default"].createElement("rect", props));\n }\n });\n};\nreturn Demo;',language:"jsx",value:"import React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo"},187:{name:187,meta:{},code:'"use strict";\n\nfunction _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }\nfunction _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(0),\n _useState2 = _slicedToArray(_useState, 2),\n size = _useState2[0],\n setSize = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("label", {\n style: {\n userSelect: \'none\'\n }\n }, /*#__PURE__*/_react["default"].createElement("input", {\n type: "checkbox",\n checked: size === 0,\n onChange: function onChange(e) {\n return setSize(e.target.checked ? 0 : 12);\n }\n }), size === 0 ? \' Hide\' : \' Show\', " Legend"), /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n legendCellSize: size,\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n
\n \n \n
\n )\n};\nexport default Demo"},229:{name:229,meta:{},code:'"use strict";\n\nfunction _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }\nfunction _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(\'\'),\n _useState2 = _slicedToArray(_useState, 2),\n selected = _useState2[0],\n setSelected = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n if (selected !== \'\') {\n props.opacity = data.date === selected ? 1 : 0.45;\n }\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n onClick: function onClick() {\n setSelected(data.date === selected ? \'\' : data.date);\n }\n }));\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n
\n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo"}},source:"HeatMap \u65e5\u5386\u70ed\u56fe\n===\n\x3c!--rehype:style=text-align: center;--\x3e\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n[![Build & Deploy](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml)\n[![Coverage Status](https://img.shields.io/npm/dm/@uiw/react-heat-map.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-heat-map.svg)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-heat-map)](https://bundlephobia.com/result?p=@uiw/react-heat-map)\n[![Open in Gitpod](https://shields.io/badge/Open%20in-Gitpod-green?logo=Gitpod)](https://gitpod.io/#https://github.com/uiwjs/react-codemirror)\n\x3c!--rehype:style=text-align: center;--\x3e\n\nA lightweight calendar heatmap react component built on SVG, customizable version of GitHub's contribution graph. Try it out on [website example](https://uiwjs.github.io/react-heat-map/).\n\n\x3c!--rehype:ignore:start--\x3e\n\n[![](https://user-images.githubusercontent.com/1680273/186116433-d58c2b6d-8468-4322-943c-9b63c2e447e4.png)](https://uiwjs.github.io/react-heat-map)\n\n\x3c!--rehype:ignore:end--\x3e\n\n## Install\n\n```bash\n# Not dependent on uiw.\nnpm install @uiw/react-heat-map --save\n```\n\n## Basic Usage\n\nBasic usage example, Please pay warning to the time setting.\n\n\u26a0\ufe0f Example: ~~`2016-01-11`\x3c!--rehype:style=color: red;background-color: #ffd8d8;--\x3e~~ -> `2016/01/11`\x3c!--rehype:style=color: green;background: #a7e4b5;--\x3e, Support `Safari`\x3c!--rehype:style=background-color: #87d499;--\x3e\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n
\n \n
\n )\n};\n\nexport default Demo\n```\n\n## Set Color\n\nSet the theme color style.\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo\n```\n\n## Set Rect Style\n\nSet the radius of the rect.\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n
\n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Tooltip\n\nA simple text popup tip.\n\n```jsx mdx:preview\nimport React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo\n```\n\n## Show/Hide Legend\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n
\n \n \n
\n )\n};\nexport default Demo\n```\n\n## Selected Rect\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n
\n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Props\n\n| Property | Description | Type | Default |\n| ---- | ---- | ---- | ---- |\n| value | Data to be displayed, **required** | Array | `[]` |\n| rectSize | Grid size | number | `11` |\n| legendCellSize | Size of the legend cells, in pixel. Value equal to `0` hide legend. | number | `11` |\n| startDate | Start date | Date | `new Date()` |\n| endDate | End date | Date | - |\n| space | Interval between grid sizes | number | `2` |\xa0\n| monthPlacement | position of month labels | `'top' | 'bottom'` | `top` |\xa0\n| rectProps | Grid node attribute settings | `React.SVGProps` | `2` |\n| weekLabels | Week display | string[] | `['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']` |\xa0\n| monthLabels | Month display | string[] | `['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']` |\xa0\n| panelColors | Backgroud color of active colors | `Record` | `{ 0: '#EBEDF0', 8: '#7BC96F', 4: '#C6E48B', 12: '#239A3B', 32: '#196127' }` |\xa0\n| rectRender | Single `day` block re-render | `(data: E & { key: number }, valueItem: HeatMapValue & { date: string, column: number, row: number, index: number }) => React.ReactElement` | - |\n| legendRender | Single `legend` block re-render | `(props: React.SVGProps) => React.ReactNode` | - |\n\n## Development\n\n**`development`**\n\nRuns the project in development mode. \n\n```bash\nnpm install\n```\n\n```bash\n# Step 1, run first, listen to the component compile and output the .js file\n# listen for compilation output type .d.ts file\nnpm run watch\n# Step 2, development mode, listen to compile preview website instance\nnpm run start\n```\n\n**`production`**\n\nBuilds the app for production to the build folder.\n\n```bash\nnpm run build\nnpm run doc\n```\n\nThe build is minified and the filenames include the hashes.\nYour app is ready to be deployed!\n\n## Contributors\n\nAs always, thanks to our amazing contributors!\n\n
\n \n\n\nMade with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).\n\n## License\n\nLicensed under the MIT License.\n",headings:[],headingsList:[]};function su(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ou,iu,du,cu=r(2073),lu=r(6204);const uu=Zt.div(ou||(ou=su(["\n background-color: #fff;\n border-radius: 5px;\n box-shadow: 0 0 0 1px rgb(16 22 26 / 10%), 0 0 0 rgb(16 22 26 / 0%), 0 1px 1px rgb(16 22 26 / 20%);\n margin: 0 auto;\n margin-top: 70px;\n width: 663px;\n svg {\n border-radius: 5px;\n }\n"]))),pu=Zt.div(iu||(iu=su(["\n user-select: none;\n font-size: 12px;\n margin-top: 10px !important;\n padding: 10px;\n padding-left: 0px;\n border-radius: 5px;\n width: 663px;\n margin: 0 auto;\n label {\n display: flex;\n align-items: center;\n input {\n margin-right: 5px;\n margin-left: 10px;\n }\n }\n"]))),fu=Zt.div(du||(du=su(["\n display: flex;\n flex-direction: column;\n"]))),gu=[{date:"2016/01/11",count:2,content:""},...[...Array(17)].map(((e,t)=>({date:"2016/02/".concat(t+10),count:t,content:""}))),{date:"2016/03/02",count:5,content:""},{date:"2016/03/04",count:11,content:""},{date:"2016/03/14",count:31,content:""},{date:"2016/03/16",count:2,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/05/01",count:5,content:""},{date:"2016/05/02",count:5,content:""},{date:"2016/05/04",count:11,content:""},{date:"2016/05/14",count:31,content:""},{date:"2016/05/16",count:2,content:""},{date:"2016/05/17",count:2,content:""},{date:"2016/05/18",count:2,content:""},{date:"2016/05/19",count:8,content:""},{date:"2016/05/20",count:6,content:""},{date:"2016/05/21",count:41,content:""},{date:"2016/05/22",count:6,content:""},{date:"2016/06/11",count:2,content:""},{date:"2016/07/01",count:5,content:""},{date:"2016/07/02",count:5,content:""},{date:"2016/07/04",count:11,content:""},{date:"2016/07/14",count:31,content:""},{date:"2016/07/16",count:2,content:""},{date:"2016/07/17",count:2,content:""},{date:"2016/07/18",count:2,content:""},{date:"2016/07/19",count:8,content:""},{date:"2016/07/20",count:6,content:""},{date:"2016/07/21",count:41,content:""},{date:"2016/07/22",count:6,content:""},...[...Array(17)].map(((e,t)=>({date:"2016/08/".concat(t+10),count:t,content:""})))],mu=[{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/04/01",count:5,content:""},{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/20",count:6,content:""},{date:"2016/04/21",count:41,content:""},{date:"2016/04/22",count:6,content:""}],hu={0:"rgb(255 255 255 / 25%)",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#ff7b00"};function yu(){const[e,t]=(0,i.useState)(gu),[r,a]=(0,i.useState)(),[n,s]=(0,i.useState)(!1),[o,d]=(0,i.useState)(!1),[c,l]=(0,i.useState)(!1),[u,p]=(0,i.useState)(11),[f,g]=(0,i.useState)("top"),[m,h]=(0,i.useState)(),[y,b]=(0,i.useState)(void 0),[v,x]=(0,i.useState)(void 0);return(0,er.jsxs)(fu,{children:[(0,er.jsx)(uu,{children:(0,er.jsx)(lu.default,{style:{backgroundColor:o?"#000":"#fff",color:o?"#888":"#000"},panelColors:o?hu:void 0,width:663,rectSize:u,legendCellSize:m,weekLabels:y,monthLabels:v,startDate:new Date("2016/01/01"),endDate:n?new Date("2016/6/01"):void 0,monthPlacement:f,value:e,rectProps:{rx:c?5:0,onClick:e=>{a(e.target.dataset.date)}},legendRender:e=>(0,er.jsx)("rect",{...e,rx:c?5:0}),rectRender:(e,t)=>(0,er.jsx)(cu.default,{placement:"top",content:"count: ".concat(t.count||0),children:(0,er.jsx)("rect",{...e})})})}),(0,er.jsxs)(pu,{children:[(0,er.jsxs)("div",{style:{paddingLeft:10,paddingBottom:20},children:[(0,er.jsx)("button",{onClick:()=>t(gu),children:"Value 1"}),(0,er.jsx)("button",{onClick:()=>t(mu),children:"Value 2"}),(0,er.jsx)("span",{children:r})]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"checkbox",checked:n,onChange:e=>s(e.target.checked)}),"endDate = ",n?"2016/6/01":"undefined"]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"checkbox",checked:o,onChange:e=>d(e.target.checked)}),o?"Dark":"Light"]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"checkbox",checked:c,onChange:e=>l(e.target.checked)}),c?"Circle":"Rect"]}),(0,er.jsxs)("label",{style:{marginTop:15},children:[(0,er.jsx)("input",{type:"radio",name:"weekLabels",checked:void 0===y,onChange:e=>b(void 0)}),"weekLabels = undefined, Default: ",JSON.stringify(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"radio",name:"weekLabels",checked:!1===y,onChange:e=>b(!1)}),"weekLabels = false"]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"radio",name:"weekLabels",checked:Array.isArray(y),onChange:e=>b(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])}),"weekLabels = ",JSON.stringify(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])]}),(0,er.jsxs)("label",{style:{marginTop:15},children:[(0,er.jsx)("input",{type:"radio",name:"monthLabels",checked:void 0===v,onChange:e=>x(void 0)}),"monthLabels = undefined, Default:"," ",JSON.stringify(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"])]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"radio",name:"monthLabels",checked:!1===v,onChange:e=>x(!1)}),"monthLabels = false"]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"radio",name:"monthLabels",checked:Array.isArray(v),onChange:e=>x(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])}),"monthLabels = ",JSON.stringify(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])]}),(0,er.jsxs)("div",{style:{display:"flex",marginTop:10},children:[(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"radio",name:"rectSize",checked:11===u,onChange:e=>p(11)}),"rectSize = 11"]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"radio",name:"rectSize",checked:12===u,onChange:e=>p(12)}),"rectSize = 12"]}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"radio",name:"rectSize",checked:14===u,onChange:e=>p(14)}),"rectSize = 14"]})]}),(0,er.jsxs)("div",{style:{display:"flex",marginTop:16},children:[(0,er.jsx)("label",{children:(0,er.jsxs)("select",{value:f,onChange:e=>g(e.target.value),children:[(0,er.jsx)("option",{value:"top",children:"monthPlacement = top"}),(0,er.jsx)("option",{value:"bottom",children:"monthPlacement = bottom"})]})}),(0,er.jsxs)("label",{children:[(0,er.jsx)("input",{type:"number",value:m||"",onChange:e=>h(Number(e.target.value)||0)}),"legendCellSize = ",m]})]})]})]})}const bu=au.Github,vu=au.Example,xu=document.getElementById("root");(0,a.H)(xu).render((0,er.jsxs)(au,{source:nu.source,components:nu.components,data:nu.data,title:"HeatMap for React",description:"React component create calendar heatmap to visualize time series data, a la github contribution graph.",version:"v".concat("2.2.2"),children:[(0,er.jsx)(bu,{href:"https://github.com/uiwjs/react-heat-map"}),(0,er.jsx)(vu,{children:(0,er.jsx)(yu,{})})]}))},6204:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>R});var a=r(8102),n=r(9257),s=r(7804),o=r(9424),i={textAnchor:"middle",fontSize:"inherit",fill:"currentColor"},d=e=>{var{weekLabels:t=[],rectSize:r=0,topPad:a=0,space:n=0}=e;return(0,s.useMemo)((()=>(0,o.jsx)(s.Fragment,{children:[...Array(7)].map(((e,s)=>t&&t[s]?(0,o.jsx)("text",{className:"w-heatmap-week",x:15,y:a,dy:(s+1)*(r+n)-5,style:i,children:t[s]},s):null))})),[r,n,a,t])},c=864e5;function l(e){return e instanceof Date&&!isNaN(e.getTime())}function u(e){return e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate()}var p=e=>{var{monthLabels:t=[],rectSize:r=0,space:a=0,leftPad:n=0,colNum:d=0,rectY:l=15,startDate:u}=e,p=(0,s.useMemo)((()=>!1===t||d<1?[]:[...Array(7*d)].map(((e,r)=>{if(r/7%1===0){var a=new Date(u.getTime()+r*c),n=a.getMonth();return{col:r/7,index:r,month:n,day:a.getDate(),monthStr:t[n],date:a}}return null})).filter(Boolean).filter(((e,t,r)=>r[t-1]&&r[t-1].month!==e.month))),[d,t,u]);return(0,o.jsx)(s.Fragment,{children:[...p].map(((e,t)=>(0,o.jsx)("text",{"data-size":r,x:n+a+a,y:l,dx:e.col*(r+a),textAnchor:"start",style:i,children:e.monthStr},t)))})},f=["style","value","render","key"],g=e=>{var{style:t,value:r,render:i}=e,d=(0,n.A)(e,f),c=(0,a.A)({},d,{style:(0,a.A)({display:"block",cursor:"pointer"},t)});if(i&&"function"===typeof i){var l=i((0,a.A)({},c),r);if(l&&s.isValidElement(l))return l}return(0,o.jsx)("rect",(0,a.A)({},c))},m=["panelColors","leftPad","topPad","rectY","space","rectSize","legendCellSize","legendRender"];function h(e){var{panelColors:t,leftPad:r=0,topPad:i=0,rectY:d=15,space:c=0,rectSize:l=0,legendCellSize:u=0,legendRender:p}=e,f=(0,n.A)(e,m),h=u||l;return(0,s.useMemo)((()=>(0,o.jsx)(s.Fragment,{children:Object.keys(t||{}).map(((e,n)=>{var o=(0,a.A)({},f,{key:n,x:(h+1)*n+r,y:d,fill:t[Number(e)],width:h,height:h});return p?p(o):(0,s.createElement)(g,(0,a.A)({},o,{key:n}))}))})),[t,f,h,d,r,l,p])}var y=e=>{var{transform:t,gridNum:r=0,startY:n=0,panelColors:i={},initStartDate:d,space:p=2,value:f=[],rectSize:m=11,endDate:h,rectProps:y,rectRender:b}=e,v=(0,s.useMemo)((()=>function(e){void 0===e&&(e=[]);var t={};return e.forEach((e=>{e.date&&l(new Date(e.date))&&(e.date=u(new Date(e.date)),t[e.date]=e)})),t}(f)),[f]),x=(0,s.useMemo)((()=>{return void 0===(e=Object.keys(i).map((e=>parseInt(e,10))))&&(e=[]),e.sort(((e,t)=>et?1:0));var e}),[i]);return(0,o.jsx)("g",{transform:t,children:r>0&&[...Array(r)].map(((e,t)=>(0,o.jsx)("g",{"data-column":t,children:[...Array(7)].map(((e,r)=>{var n=new Date(d.getTime()+c*(7*t+r)),o=u(n),l=(0,a.A)({},v[o],{date:o,row:r,column:t,index:7*t+r}),f=(0,a.A)({},y,{fill:"var(--rhm-rect, #EBEDF0)",width:m,height:m,x:t*(m+p),y:(m+p)*r,render:b,value:l});return h instanceof Date&&n.getTime()>h.getTime()?null:(o&&v[o]&&i&&Object.keys(i).length>0?f.fill=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r={});for(var a="",n=0;ne){a=r[t[n]];break}a=r[t[n]]}return a}(v[o].count||0,x,i):i&&i[0]&&(f.fill=i[0]),(0,s.createElement)(g,(0,a.A)({},f,{key:r,value:l,"data-date":o,"data-index":l.index,"data-row":l.row,"data-column":l.column})))}))},t)))})},b=["rectSize","legendCellSize","space","monthPlacement","startDate","endDate","rectProps","rectRender","legendRender","value","weekLabels","monthLabels","panelColors","style"];function v(e){var t=e||{},{rectSize:r=11,legendCellSize:i=11,space:u=2,monthPlacement:f="top",startDate:g=new Date,endDate:m,rectProps:v,rectRender:x,legendRender:R,value:w=[],weekLabels:E=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthLabels:j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],panelColors:S={0:"var(--rhm-rect, #EBEDF0)",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#196127"},style:T}=t,A=(0,n.A)(t,b),[k,C]=(0,s.useState)(0),[P,_]=(0,s.useState)(E?28:5),D="top"===f?20:5,[I,O]=(0,s.useState)(j?D:5),N=s.createRef();(0,s.useEffect)((()=>_(E?28:5)),[E]),(0,s.useEffect)((()=>{if(N.current){var e=N.current.clientWidth-P||0;C(Math.floor(e/(r+u))||0)}}),[r,N,u,P]),(0,s.useEffect)((()=>{O(j?D:5)}),[j]);var B=(0,s.useMemo)((()=>{if(l(g))return g.getDay()?new Date(g.getTime()-g.getDay()*c):g;var e=new Date;return new Date(e.getTime()-e.getDay()*c)}),[g]),F="top"===f?15:105+u,M="top"===f?I+8*r+6:(j?I+r+u:I)+8*r+6;return(0,o.jsxs)("svg",(0,a.A)({ref:N,style:(0,a.A)({},{color:"var(--rhm-text-color, #24292e)",userSelect:"none",display:"block",fontSize:10},T)},A,{children:[0!==i&&(0,o.jsx)(h,{legendRender:R,panelColors:S,rectSize:r,rectY:M,legendCellSize:i,leftPad:P,topPad:I,space:u}),(0,o.jsx)(d,{weekLabels:E,rectSize:r,space:u,topPad:I}),(0,o.jsx)(p,{monthLabels:j,rectSize:r,space:u,leftPad:P,colNum:k,rectY:F,startDate:B}),(0,o.jsx)(y,{transform:"translate("+P+", "+I+")",gridNum:k,initStartDate:B,endDate:m,rectProps:v,rectSize:r,rectRender:x,panelColors:S,value:w,space:u})]}))}var x=["prefixCls","className"];function R(e){var{prefixCls:t="w-heatmap",className:r}=e,s=(0,n.A)(e,x),i=[r,t].filter(Boolean).join(" ");return(0,o.jsx)(v,(0,a.A)({className:i},s))}},8474:function(e){e.exports=function(){"use strict";function e(e,t){if("undefined"===typeof document)return;const r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style={position:"absolute",left:"-9999px"},document.body.appendChild(r);const a=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);r.select();let n=!1;try{n=!!document.execCommand("copy")}catch(s){n=!1}document.body.removeChild(r),a&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(a)),t&&t(n)}return e}()},2073:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>K});var a=r(8102),n=r(9257),s=r(7804);function o(){}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}function c(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=r(4689);const u=!1,p=s.createContext(null);var f=function(e){return e.scrollTop},g="unmounted",m="exited",h="entering",y="entered",b="exiting",v=function(e){function t(t,r){var a;a=e.call(this,t,r)||this;var n,s=r&&!r.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?s?(n=m,a.appearStatus=h):n=y:n=t.unmountOnExit||t.mountOnEnter?g:m,a.state={status:n},a.nextCallback=null,a}d(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===g?{status:m}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==h&&r!==y&&(t=h):r!==h&&r!==y||(t=b)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,a=this.props.timeout;return e=t=r=a,null!=a&&"number"!==typeof a&&(e=a.exit,t=a.enter,r=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);r&&f(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===m&&this.setState({status:g})},r.performEnter=function(e){var t=this,r=this.props.enter,a=this.context?this.context.isMounting:e,n=this.props.nodeRef?[a]:[l.findDOMNode(this),a],s=n[0],o=n[1],i=this.getTimeouts(),d=a?i.appear:i.enter;!e&&!r||u?this.safeSetState({status:y},(function(){t.props.onEntered(s)})):(this.props.onEnter(s,o),this.safeSetState({status:h},(function(){t.props.onEntering(s,o),t.onTransitionEnd(d,(function(){t.safeSetState({status:y},(function(){t.props.onEntered(s,o)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),a=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!u?(this.props.onExit(a),this.safeSetState({status:b},(function(){e.props.onExiting(a),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:m},(function(){e.props.onExited(a)}))}))}))):this.safeSetState({status:m},(function(){e.props.onExited(a)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(a){r&&(r=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),a=null==e&&!this.props.addEndListener;if(r&&!a){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],s=n[0],o=n[1];this.props.addEndListener(s,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===g)return null;var t=this.props,r=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.createElement(p.Provider,{value:null},"function"===typeof r?r(e,a):s.cloneElement(s.Children.only(r),a))},t}(s.Component);function x(){}v.contextType=p,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:x,onEntering:x,onEntered:x,onExit:x,onExiting:x,onExited:x},v.UNMOUNTED=g,v.EXITED=m,v.ENTERING=h,v.ENTERED=y,v.EXITING=b;const R=v;var w=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return a=t,void((r=e).classList?r.classList.remove(a):"string"===typeof r.className?r.className=c(r.className,a):r.setAttribute("class",c(r.className&&r.className.baseVal||"",a)));var r,a}))},E=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n()=>{r.current&&a.current&&(a.current.removeChild(r.current),r.current=void 0)}),[]),S?(a.current||(a.current=document.body),r.current||(r.current=document.createElement("div"),a.current.appendChild(r.current)),l.createPortal(e.children,r.current)):null}var A=r(9424),k=["className","style","isOpen","prefixCls","usePortal","maskClosable","backdropProps","portalProps","hasBackdrop","unmountOnExit","timeout","transitionName","onOpening","onOpened","onClosing","onClosed","onClose","onEnter","onExiting","onEntering","onEntered","onExit","children","dialogProps"];function C(e){var{className:t,style:r,isOpen:i=!1,prefixCls:d="w-overlay",usePortal:c=!0,maskClosable:l=!0,backdropProps:u={},portalProps:p={},hasBackdrop:f=!0,unmountOnExit:g=!0,timeout:m=300,transitionName:h="w-overlay",onOpening:y=o,onOpened:b=o,onClosing:v=o,onClosed:x=o,onClose:R=o,onEnter:w=o,onExiting:E=o,onEntering:S=o,onEntered:C=o,onExit:P=o,children:_,dialogProps:D={}}=e,I=(0,n.A)(e,k),[O,N]=(0,s.useState)(),[B,F]=(0,s.useState)(!1),M=(0,s.useRef)(null),L=(0,s.useRef)(null);(0,s.useEffect)((()=>{O!==e.isOpen&&e.isOpen&&F(!0),O===e.isOpen||e.isOpen||(W(),N(!1))}),[e.isOpen]),(0,s.useEffect)((()=>{B&&(f&&c&&document.body.classList.add(d+"-open"),N(!0))}),[B]);var U="object"===typeof _?(0,s.cloneElement)(_,(0,a.A)({},D,{style:(0,a.A)({},_.props.style,D.style),className:[_.props.className,d+"-content"].filter(Boolean).join(" ").trim(),tabIndex:0})):(0,A.jsx)("span",(0,a.A)({},D,{className:d+"-content",children:_}));function q(e){e.target!==M.current&&c||(l&&f&&(W(),N(!1),R&&R(e)),u&&u.onMouseDown&&u.onMouseDown(e))}function W(){f&&c&&document.body.classList.remove(d+"-open")}var H=(0,A.jsx)(j,(0,a.A)({classNames:h,unmountOnExit:g,timeout:m,in:O,onEnter:e=>{w(L.current,e)},onEntering:e=>{y(L.current,e),S(L.current)},onEntered:e=>{b(L.current,e),C(L.current)},onExiting:()=>{v(L.current),E(L.current)},onExited:()=>{var e;e=L.current,F(!1),x&&x(e),P(L.current)},nodeRef:L},I,{children:e=>(0,A.jsxs)("div",{style:r,ref:L,className:[d,t,c?null:d+"-inline",O?d+"-enter-done":null].filter(Boolean).join(" ").trim(),children:[f&&(0,s.cloneElement)((0,A.jsx)("div",{}),(0,a.A)({},u,{onMouseDown:q,className:[d+"-backdrop",u.className].filter(Boolean).join(" ").trim(),tabIndex:l?0:null})),c?(0,A.jsx)("div",{ref:M,onMouseDown:q,className:d+"-container",children:(0,s.cloneElement)(U,{"data-status":e})}):(0,s.cloneElement)(U,{"data-status":e})]})}));return B&&c?(0,A.jsx)(T,(0,a.A)({},(0,a.A)({},p),{children:H})):H}function P(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}function _(e){return"function"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}const D=!("undefined"===typeof window||!window.document||!window.document.createElement)?function(e,t){return e&&e.contains&&"function"===typeof e.contains&&_(t)?e.contains(t):e&&e.compareDocumentPosition&&_(t)?e===t||!!e.compareDocumentPosition(t):P(e,t)}:P;function I(e,t){if("undefined"===typeof window)return 0;var r=t?"scrollTop":"scrollLeft",a=e===window,n=a?e[t?"pageYOffset":"pageXOffset"]:e[r];return a&&"number"!==typeof n&&(n=document.documentElement[r]),n}function O(e,t){var r="x"===t?"Left":"Top",a="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+a+"Width"])}const N="undefined"!==typeof window&&"undefined"!==typeof document;var B=N&&!(!window.MSInputMethodContext||!document.documentMode),F=N&&/MSIE 10/.test(navigator.userAgent);function M(e){return 11===e?B:10===e?F:B||F}function L(e,t,r,a){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],M(10)?parseInt(r["offset"+e],10)+parseInt(a["margin"+("Height"===e?"Top":"Left")],10)+parseInt(a["margin"+("Height"===e?"Bottom":"Right")],10):0)}function U(e){var t={};try{if(M(10)){t=e.getBoundingClientRect();var r=I(e,!0),n=I(e);t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch(f){}var s,o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?function(e){var t=e.body,r=e.documentElement,a=getComputedStyle(r);return{height:L("Height",t,r,a),width:L("Width",t,r,a)}}(e.ownerDocument):{},d=i.width||e.clientWidth||o.right-o.left,c=i.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-d,u=e.offsetHeight-c;if(o.offsetLeft=e.offsetLeft||e.scrollLeft||0,o.offsetTop=e.offsetTop||e.offsetTop||0,l||u){var p=function(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}(e);l-=O(p,"x"),u-=O(p,"y"),o.width-=l,o.height-=u}return s=o,(0,a.A)({},s,{right:s.left+s.width,bottom:s.top+s.height})}function q(e){var t=e.getBoundingClientRect();return{width:e.offsetWidth||e.scrollWidth||t.width||0,height:e.offsetHeight||e.scrollHeight||t.height||0}}function W(e){var{trigger:t,popup:r,placement:n,usePortal:s,autoAdjustOverflow:o}=e||{},i={left:0,top:0,placement:n};if(!t||!r||!document)return i;var d=Math.max(document.documentElement.clientHeight,window.innerHeight||0),c=Math.max(document.documentElement.clientWidth,window.innerWidth||0);i.placement=n;var l=I(t.ownerDocument.documentElement,!0),u=I(t.ownerDocument.documentElement),p=(0,a.A)({},U(t),q(t)),f=(0,a.A)({},U(r),q(r)),g=d-p.bottom,m=c-p.left-p.width;switch(i.top=p.top+l,i.left=p.left,s||(i.top=p.offsetTop,i.left=p.offsetLeft),n&&/^(top)/.test(n)&&(i.top-=f.height),n&&/^(right)/.test(n)&&(i.left+=p.width),n&&/^(bottom)/.test(n)&&(i.top+=p.height),n&&/^(left)/.test(n)&&(i.left-=f.width),i.placement){case"bottomLeft":case"topLeft":case"rightTop":case"leftTop":default:break;case"bottom":case"top":i.left=i.left-(f.width-p.width)/2;break;case"bottomRight":case"topRight":i.left=i.left+u+p.width-f.width;break;case"right":case"left":i.top=i.top-(f.height-p.height)/2;break;case"rightBottom":case"leftBottom":i.top=i.top-f.height+p.height}return o&&(n&&/^(top)/.test(n)&&p.topf.height&&(i.placement=n.replace(/^top/,"bottom"),i.top=i.top+f.height+p.height),n&&/^(bottom)/.test(n)&&gf.height&&(i.placement=n.replace(/^bottom/,"top"),i.top=i.top-f.height-p.height),n&&/^(right)/.test(n)&&me&&"object"===typeof e?e:{show:e,hide:e};const V=s.forwardRef(((e,t)=>{var r,{className:i,prefixCls:d="w-overlay-trigger",usePortal:c=!0,isOutside:l=!1,isClickOutside:u=!0,disabled:p=!1,isOpen:f=!1,trigger:g="hover",placement:m="top",autoAdjustOverflow:h,transitionName:y,children:b,overlay:v,onVisibleChange:x=o,onEnter:R=o}=e,w=(0,n.A)(e,H),E=(0,s.useRef)(999),j=(0,s.useRef)(),S=(0,s.useRef)(),T=(0,s.useRef)([]),k=(0,s.useRef)(null),[P,_]=(0,s.useState)(!!e.isOpen),[I,O]=(0,s.useState)({placement:m,top:0,bottom:0,left:0,right:0,zIndex:E.current});(0,s.useImperativeHandle)(t,(()=>({hide:()=>K(),show:()=>Y(),overlayDom:S})));var N=s.Children.only(b),B=(0,a.A)({},w,{placement:m,isOpen:P,dialogProps:{}}),F={};(0,s.useEffect)((()=>(u&&P&&(document&&document.addEventListener("mousedown",L),window.addEventListener("resize",M)),()=>{document&&u&&document.removeEventListener("mousedown",L),window.removeEventListener("resize",M)})),[P]),(0,s.useEffect)((()=>{e.isOpen!==P&&_(!!e.isOpen)}),[e.isOpen]),(0,s.useEffect)((()=>{var e=W({placement:I.placement||m,trigger:j.current,popup:S.current,usePortal:c,autoAdjustOverflow:h});O((0,a.A)({},e,{zIndex:E.current})),x(P)}),[P]);var M=()=>{P&&(E.current-=1,_(!1),x&&x(!1))},L=e=>{var t=S.current,r=j.current;t&&r&&e.target&&!D(t,e.target)&&!D(r,e.target)&&(E.current-=1,_(!1),x&&x(!1))};function U(){if(T.current.length>0){for(var e of T.current)window.clearTimeout(e);T.current=[]}}function q(){var t;U(),k.current="show";var r=z(e.delay);if(r.show||null!=(t=e.children)&&t.props.disabled){var a=window.setTimeout((()=>{"show"===k.current&&Y()}),r.show);clearTimeout(a),T.current.push(a)}else Y()}function V(t){if(U(),t||!e.isOutside){k.current="hide";var r=z(e.delay);if(r.hide){var a=window.setTimeout((()=>{"hide"===k.current&&K()}),r.hide);T.current.push(a)}else K()}}function G(e,t,r){var a=t.currentTarget,n=t.relatedTarget||t.nativeEvent[r],s=!0;(S.current&&D(S.current,n)||j.current&&D(j.current,n))&&(s=!1),n&&n===a||D(a,n)||e(s,t)}function K(){P&&(E.current<=999?E.current=999:E.current-=1,_(!1))}function Y(){var e;if(!P){var t=null==(e=j.current)?void 0:e.style.zIndex;t?E.current=Number(t)+1:E.current+=1,_(!0)}}return"click"!==g||p||(F.onClick=e=>{var{onClick:t}=N&&s.isValidElement(N)?N.props:{};P?K():Y(),t&&t(e,!P)}),"focus"!==g||p||(F.onFocus=()=>q()),"hover"!==g||p||(F.onMouseOver=F.onMouseEnter=e=>{G(q,e,"fromElement")},F.onMouseOut=F.onMouseLeave=e=>{G(V,e,"toElement")},B.dialogProps&&(B.dialogProps.onMouseLeave=e=>{G(V,e,"toElement")})),B.style=(0,a.A)({},B.style,I),(0,A.jsxs)(s.Fragment,{children:[(0,s.cloneElement)(N,Object.assign({},N.props,(0,a.A)({},F,{ref:j,style:(0,a.A)({},null==(r=N.props)?void 0:r.style,{zIndex:E.current}),className:[N.props.className,p?d+"-disabled":null].filter(Boolean).join(" ").trim()}))),(0,A.jsx)(C,(0,a.A)({},B,{style:(0,a.A)({},B.style,I),onEnter:function(e,t){R&&R(e,t);var r=W({placement:I.placement||m,trigger:j.current,popup:S.current,usePortal:c,autoAdjustOverflow:h});O((0,a.A)({},r,{zIndex:E.current}))},className:[d,i,I.placement].filter(Boolean).join(" ").trim(),usePortal:c,transitionName:y,isOpen:P,hasBackdrop:!1,children:(0,s.cloneElement)(v,Object.assign((0,a.A)({},v.props,{ref:S,className:[v.props&&v.props.className,m].filter(Boolean).join(" ").trim()})))}))]})}));var G=["prefixCls","className","placement","isOpen","trigger","delay","usePortal","visibleArrow","onVisibleChange"];const K=function(e){void 0===e&&(e={});var{prefixCls:t="w-tooltip",className:r,placement:s="top",isOpen:o=!1,trigger:i,delay:d,usePortal:c=!0,visibleArrow:l=!0,onVisibleChange:u}=e,p=(0,n.A)(e,G),f=[t,r,l?null:"no-arrow"].filter(Boolean).join(" ").trim();return(0,A.jsx)(V,(0,a.A)({usePortal:c,isOpen:o,trigger:i,delay:d,onVisibleChange:u,placement:s},p,{overlay:(0,A.jsxs)("div",{className:f,children:[l&&(0,A.jsx)("div",{className:t+"-arrow"}),(0,A.jsx)("div",{className:t+"-inner",children:e.content})]}),children:"object"===typeof e.children?e.children:(0,A.jsx)("span",{children:e.children})}))}},4441:(e,t,r)=>{var a=r(5707).default;const n=document,s="_dark_mode_theme_",o="permanent",i="colorschemechange",d="light",c="dark",l=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get(){const e=this.getAttribute(t);return null===e?"":e},set(e){this.setAttribute(t,e)}})};class u extends HTMLElement{static get observedAttributes(){return["mode",d,c,o]}constructor(){super(),a(this,"LOCAL_NANE",s),this.t()}connectedCallback(){l(this,"mode"),l(this,c),l(this,d),function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get(){return this.hasAttribute(t)},set(e){e?this.setAttribute(t,""):this.removeAttribute(t)}})}(this,o);const e=localStorage.getItem(s);e&&[d,c].includes(e)&&(this.mode=e,this.permanent=!0),this.permanent&&!e&&localStorage.setItem(s,this.mode);const t=[d,c].includes(e);this.permanent&&e?this.o():(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(this.mode=c,this.o()),window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches&&(this.mode=d,this.o())),this.permanent||t||(window.matchMedia("(prefers-color-scheme: light)").onchange=e=>{this.mode=e.matches?d:c,this.o()},window.matchMedia("(prefers-color-scheme: dark)").onchange=e=>{this.mode=e.matches?c:d,this.o()});new MutationObserver(((e,r)=>{this.mode=n.documentElement.dataset.colorMode,this.permanent&&t&&(localStorage.setItem(s,this.mode),this.i("permanentcolorscheme",{permanent:this.permanent})),this.h(),this.i(i,{colorScheme:this.mode})})).observe(n.documentElement,{attributes:!0}),this.i(i,{colorScheme:this.mode}),this.h()}attributeChangedCallback(e,t,r){if("mode"===e&&t!==r&&[d,c].includes(r)){const e=localStorage.getItem(s);this.mode===e?(this.mode=r,this.h(),this.o()):this.mode&&this.mode!==e&&(this.h(),this.o())}else e!==d&&e!==c||t===r||this.h();"permanent"===e&&"boolean"===typeof this.permanent&&(this.permanent?localStorage.setItem(s,this.mode):localStorage.removeItem(s))}o(){n.documentElement.setAttribute("data-color-mode",this.mode)}h(){this.icon.textContent=this.mode===d?"\ud83c\udf12":"\ud83c\udf1e",this.text.textContent=this.mode===d?this.getAttribute(c):this.getAttribute(d),!this.text.textContent&&this.text.parentElement&&this.text&&this.text.parentElement.removeChild(this.text)}t(){var e=this.attachShadow({mode:"open"});this.label=n.createElement("span"),this.label.setAttribute("class","wrapper"),this.label.onclick=()=>{this.mode=this.mode===d?c:d,this.permanent&&localStorage.setItem(s,this.mode),this.o(),this.h()},e.appendChild(this.label),this.icon=n.createElement("span"),this.label.appendChild(this.icon),this.text=n.createElement("span"),this.label.appendChild(this.text);const t="_dark_mode_style_";if(!n.getElementById(t)){var r=n.createElement("style");r.id=t,r.textContent="\n[data-color-mode*='dark'], [data-color-mode*='dark'] body {\n color-scheme: dark;\n --color-theme-bg: #0d1117;\n --color-theme-text: #c9d1d9;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}\n\n[data-color-mode*='light'], [data-color-mode*='light'] body {\n color-scheme: light;\n --color-theme-bg: #fff;\n --color-theme-text: #24292f;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}",n.head.appendChild(r)}var a=n.createElement("style");a.textContent="\n .wrapper { cursor: pointer; user-select: none; position: relative; }\n .wrapper > span + span { margin-left: .4rem; }\n ",e.appendChild(a)}i(e,t){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}}customElements.define("dark-mode",u)},8108:(e,t)=>{"use strict";function r(e,t){return(Array.isArray(t)?t:[t]).some((function(t){return"string"===typeof t&&(t=new RegExp(t)),t.test(e||"")}))}},9050:(e,t)=>{"use strict"},144:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},1761:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},o=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var a,n=t.call(e,"constructor"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!s)return!1;for(a in e);return"undefined"===typeof a||t.call(e,a)},i=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},d=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(n)return n(e,r).value}return e[r]};e.exports=function e(){var t,r,a,n,c,l,u=arguments[0],p=1,f=arguments.length,g=!1;for("boolean"===typeof u&&(g=u,u=arguments[1]||{},p=2),(null==u||"object"!==typeof u&&"function"!==typeof u)&&(u={});p{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,d=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(d,c):c}e.exports=function(e,d){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];d=d||{};var u=1,p=1;function f(e){var t=e.match(r);t&&(u+=t.length);var a=e.lastIndexOf("\n");p=~a?e.length-a:p+e.length}function g(){var e={line:u,column:p};return function(t){return t.position=new m(e),v(),t}}function m(e){this.start=e,this.end={line:u,column:p},this.source=d.source}m.prototype.content=e;var h=[];function y(t){var r=new Error(d.source+":"+u+":"+p+": "+t);if(r.reason=t,r.filename=d.source,r.line=u,r.column=p,r.source=e,!d.silent)throw r;h.push(r)}function b(t){var r=t.exec(e);if(r){var a=r[0];return f(a),e=e.slice(a.length),r}}function v(){b(a)}function x(e){var t;for(e=e||[];t=R();)!1!==t&&e.push(t);return e}function R(){var t=g();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;c!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,c===e.charAt(r-1))return y("End of comment missing");var a=e.slice(2,r-2);return p+=2,f(a),e=e.slice(r),p+=2,t({type:"comment",comment:a})}}function w(){var e=g(),r=b(n);if(r){if(R(),!b(s))return y("property missing ':'");var a=b(o),d=e({type:"declaration",property:l(r[0].replace(t,c)),value:a?l(a[0].replace(t,c)):c});return b(i),d}}return v(),function(){var e,t=[];for(x(t);e=w();)!1!==e&&(t.push(e),x(t));return t}()}},3670:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},9386:(e,t)=>{function r(e){let t,r=[];for(let a of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(a))r.push(parseInt(a,10));else if(t=a.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,a,n,s]=t;if(a&&s){a=parseInt(a),s=parseInt(s);const e=a{var t,r,a=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===n||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:n}catch(e){t=n}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var i,d=[],c=!1,l=-1;function u(){c&&i&&(c=!1,i.length?d=i.concat(d):l=-1,d.length&&p())}function p(){if(!c){var e=o(u);c=!0;for(var t=d.length;t;){for(i=d,d=[];++l1)for(var r=1;r{"use strict";e.exports=function(e){var t=this;this.Compiler=function(r){return a(r,Object.assign({},t.data("settings"),e,{extensions:t.data("toMarkdownExtensions")||[]}))}};var a=r(7503)},4014:e=>{"use strict";e.exports=function(e,t){var r,a,n=0,s=0;if("string"!==typeof t||1!==t.length)throw new Error("Expected character");e=String(e),a=e.indexOf(t),r=a;for(;-1!==a;)n++,a===r?n>s&&(s=n):n=1,r=a+1,a=e.indexOf(t,r);return s}},7503:(e,t,r)=>{e.exports=r(4127)},3927:e=>{e.exports=function e(t,r){var a,n=-1;if(r.extensions)for(;++n{e.exports=function(e,t,r){var o=r.enter("blockquote"),i=n(a(e,r),s);return o(),i};var a=r(9960),n=r(6242);function s(e,t,r){return">"+(r?"":" ")+e}},5301:(e,t,r)=>{e.exports=function(e,t,r,n){var s=-1;for(;++s{e.exports=function(e,t,r){var l,u,p,f,g=o(r),m=e.value||"",h="`"===g?"GraveAccent":"Tilde";s(e,r)?(p=r.enter("codeIndented"),l=i(m,c)):(u=a(g,Math.max(n(m,g)+1,3)),p=r.enter("codeFenced"),l=u,e.lang&&(f=r.enter("codeFencedLang"+h),l+=d(r,e.lang,{before:"`",after:" ",encode:["`"]}),f()),e.lang&&e.meta&&(f=r.enter("codeFencedMeta"+h),l+=" "+d(r,e.meta,{before:" ",after:"\n",encode:["`"]}),f()),l+="\n",m&&(l+=m+"\n"),l+=u);return p(),l};var a=r(6040),n=r(4014),s=r(3342),o=r(7156),i=r(6242),d=r(8671);function c(e,t,r){return(r?"":" ")+e}},6141:(e,t,r)=>{e.exports=function(e,t,r){var o=n(r),i='"'===o?"Quote":"Apostrophe",d=r.enter("definition"),c=r.enter("label"),l="["+s(r,a(e),{before:"[",after:"]"})+"]: ";c(),!e.url||/[ \t\r\n]/.test(e.url)?(c=r.enter("destinationLiteral"),l+="<"+s(r,e.url,{before:"<",after:">"})+">"):(c=r.enter("destinationRaw"),l+=s(r,e.url,{before:" ",after:" "}));c(),e.title&&(c=r.enter("title"+i),l+=" "+o+s(r,e.title,{before:o,after:o})+o,c());return d(),l};var a=r(6755),n=r(1989),s=r(8671)},6490:(e,t,r)=>{e.exports=s,s.peek=function(e,t,r){return r.options.emphasis||"*"};var a=r(6451),n=r(4046);function s(e,t,r){var s=a(r),o=r.enter("emphasis"),i=n(e,r,{before:s,after:s});return o(),s+i+s}},1384:(e,t,r)=>{e.exports=function(e,t,r){var o,i,d,c,l=Math.max(Math.min(6,e.depth||1),1);if(n(e,r))return o=r.enter("headingSetext"),i=r.enter("phrasing"),d=s(e,r,{before:"\n",after:"\n"}),i(),o(),d+"\n"+a(1===l?"=":"-",d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf("\n"))+1));c=a("#",l),o=r.enter("headingAtx"),i=r.enter("phrasing"),d=(d=s(e,r,{before:"# ",after:"\n"}))?c+" "+d:c,r.options.closeAtx&&(d+=" "+c);return i(),o(),d};var a=r(6040),n=r(723),s=r(4046)},3437:e=>{function t(e){return e.value||""}e.exports=t,t.peek=function(){return"<"}},6951:(e,t,r)=>{e.exports=s,s.peek=function(){return"!"};var a=r(6755),n=r(8671);function s(e,t,r){var s,o,i=e.referenceType,d=r.enter("imageReference"),c=r.enter("label"),l=n(r,e.alt,{before:"[",after:"]"}),u="!["+l+"]";return c(),o=r.stack,r.stack=[],c=r.enter("reference"),s=n(r,a(e),{before:"[",after:"]"}),c(),r.stack=o,d(),"full"!==i&&l&&l===s?"shortcut"!==i&&(u+="[]"):u+="["+s+"]",u}},3179:(e,t,r)=>{e.exports=s,s.peek=function(){return"!"};var a=r(1989),n=r(8671);function s(e,t,r){var s=a(r),o='"'===s?"Quote":"Apostrophe",i=r.enter("image"),d=r.enter("label"),c="!["+n(r,e.alt,{before:"[",after:"]"})+"](";return d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),c+="<"+n(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),c+=n(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+o),c+=" "+s+n(r,e.title,{before:s,after:s})+s,d()),c+=")",i(),c}},6438:(e,t,r)=>{t.blockquote=r(2939),t.break=r(5301),t.code=r(1873),t.definition=r(6141),t.emphasis=r(6490),t.hardBreak=r(5301),t.heading=r(1384),t.html=r(3437),t.image=r(3179),t.imageReference=r(6951),t.inlineCode=r(1951),t.link=r(6296),t.linkReference=r(1220),t.list=r(8948),t.listItem=r(4246),t.paragraph=r(8336),t.root=r(4368),t.strong=r(2855),t.text=r(6847),t.thematicBreak=r(6749)},1951:(e,t,r)=>{e.exports=n,n.peek=function(){return"`"};var a=r(4186);function n(e,t,r){for(var n,s,o,i,d=e.value||"",c="`",l=-1;new RegExp("(^|[^`])"+c+"([^`]|$)").test(d);)c+="`";for(/[^ \r\n]/.test(d)&&(/[ \r\n`]/.test(d.charAt(0))||/[ \r\n`]/.test(d.charAt(d.length-1)))&&(d=" "+d+" ");++l{e.exports=o,o.peek=function(){return"["};var a=r(6755),n=r(4046),s=r(8671);function o(e,t,r){var o,i,d=e.referenceType,c=r.enter("linkReference"),l=r.enter("label"),u=n(e,r,{before:"[",after:"]"}),p="["+u+"]";return l(),i=r.stack,r.stack=[],l=r.enter("reference"),o=s(r,a(e),{before:"[",after:"]"}),l(),r.stack=i,c(),"full"!==d&&u&&u===o?"shortcut"!==d&&(p+="[]"):p+="["+o+"]",p}},6296:(e,t,r)=>{e.exports=i,i.peek=function(e,t,r){return n(e,r)?"<":"["};var a=r(1989),n=r(1455),s=r(4046),o=r(8671);function i(e,t,r){var i,d,c,l,u=a(r),p='"'===u?"Quote":"Apostrophe";return n(e,r)?(l=r.stack,r.stack=[],i=r.enter("autolink"),c="<"+s(e,r,{before:"<",after:">"})+">",i(),r.stack=l,c):(i=r.enter("link"),d=r.enter("label"),c="["+s(e,r,{before:"[",after:"]"})+"](",d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),c+="<"+o(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),c+=o(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+p),c+=" "+u+o(r,e.title,{before:u,after:u})+u,d()),c+=")",i(),c)}},4246:(e,t,r)=>{e.exports=function(e,t,r){var d,c,l,u=n(r),p=s(r);t&&t.ordered&&(u=(t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+".");d=u.length+1,("tab"===p||"mixed"===p&&(t&&t.spread||e.spread))&&(d=4*Math.ceil(d/4));return l=r.enter("listItem"),c=i(o(e,r),(function(e,t,r){if(t)return(r?"":a(" ",d))+e;return(r?u:u+a(" ",d-u.length))+e})),l(),c};var a=r(6040),n=r(6261),s=r(9972),o=r(9960),i=r(6242)},8948:(e,t,r)=>{e.exports=function(e,t,r){var n=r.enter("list"),s=a(e,r);return n(),s};var a=r(9960)},8336:(e,t,r)=>{e.exports=function(e,t,r){var n=r.enter("paragraph"),s=r.enter("phrasing"),o=a(e,r,{before:"\n",after:"\n"});return s(),n(),o};var a=r(4046)},4368:(e,t,r)=>{e.exports=function(e,t,r){return a(e,r)};var a=r(9960)},2855:(e,t,r)=>{e.exports=s,s.peek=function(e,t,r){return r.options.strong||"*"};var a=r(3298),n=r(4046);function s(e,t,r){var s=a(r),o=r.enter("strong"),i=n(e,r,{before:s,after:s});return o(),s+s+i+s+s}},6847:(e,t,r)=>{e.exports=function(e,t,r,n){return a(r,e.value,n)};var a=r(8671)},6749:(e,t,r)=>{e.exports=function(e,t,r){var o=a(s(r)+(r.options.ruleSpaces?" ":""),n(r));return r.options.ruleSpaces?o.slice(0,-1):o};var a=r(6040),n=r(3516),s=r(2647)},4127:(e,t,r)=>{e.exports=function(e,t){var r,u=t||{},p={enter:function(e){return p.stack.push(e),t;function t(){p.stack.pop()}},stack:[],unsafe:[],join:[],handlers:{},options:{}};n(p,{unsafe:i,join:o,handlers:s}),n(p,u),p.options.tightDefinitions&&(p.join=[l].concat(p.join));p.handle=a("type",{invalid:d,unknown:c,handlers:p.handlers}),(r=p.handle(e,null,p,{before:"\n",after:"\n"}))&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n");return r};var a=r(5040),n=r(3927),s=r(6438),o=r(1131),i=r(341);function d(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function c(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function l(e,t){if("definition"===e.type&&e.type===t.type)return 0}},1131:(e,t,r)=>{e.exports=[function(e,t,r,s){if("list"===t.type&&t.type===e.type&&Boolean(e.ordered)===Boolean(t.ordered)||"code"===t.type&&a(t,s)&&("list"===e.type||e.type===t.type&&a(e,s)))return!1;if("boolean"===typeof r.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&n(t,s)))return;return r.spread?1:0}}];var a=r(3342),n=r(723)},341:e=>{e.exports=[{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing"},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing"},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*"},{character:"*",inConstruct:"phrasing"},{atBreak:!0,character:"+"},{atBreak:!0,character:"-"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing"},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:["phrasing","label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{before:"[^A-Za-z]",character:"_",inConstruct:"phrasing"},{character:"_",after:"[^A-Za-z]",inConstruct:"phrasing"},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent","phrasing"]},{atBreak:!0,character:"~"}]},6755:(e,t,r)=>{e.exports=function(e){if(e.label||!e.identifier)return e.label||"";return e.identifier.replace(n,"$1").replace(s,o)};var a=r(8976),n=/\\([!-/:-@[-`{-~])/g,s=/&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function o(e,t){return a(t)||e}},6261:e=>{e.exports=function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},6451:e=>{e.exports=function(e){var t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}},7156:e=>{e.exports=function(e){var t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}},9972:e=>{e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},1989:e=>{e.exports=function(e){var t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}},3516:e=>{e.exports=function(e){var t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}},2647:e=>{e.exports=function(e){var t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}},3298:e=>{e.exports=function(e){var t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}},9960:(e,t,r)=>{e.exports=function(e,t){var r,n=e.children||[],s=[],o=-1;for(;++o{e.exports=function(e,t,r){var a,n,s,o=e.children||[],i=[],d=-1,c=r.before;for(;++d0&&("\r"===c||"\n"===c)&&"html"===s.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),c=" "),i.push(t.handle(s,e,t,{before:c,after:a})),c=i[i.length-1].slice(-1);return i.join("")}},3342:e=>{e.exports=function(e,t){return!t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)}},723:(e,t,r)=>{e.exports=function(e,t){return t.options.setext&&(!e.depth||e.depth<3)&&a(e)};var a=r(6619)},1455:(e,t,r)=>{e.exports=function(e,t){var r=a(e);return!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url)};var a=r(6619)},6242:e=>{e.exports=function(e,r){var a,n=[],s=0,o=0;for(;a=t.exec(e);)i(e.slice(s,a.index)),n.push(a[0]),s=a.index+a[0].length,o++;return i(e.slice(s)),n.join("");function i(e){n.push(r(e,o,!e))}};var t=/\r?\n|\r/g},4186:e=>{e.exports=function(e){var t,r;e._compiled||(t=e.before?"(?:"+e.before+")":"",r=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(r||""),"g"));return e._compiled}},9753:e=>{function t(e,t,r){var a;if(!t)return r;for("string"===typeof t&&(t=[t]),a=-1;++a{e.exports=function(e,t,r){var i,d,c,l,u,p,f,g,m=(r.before||"")+(t||"")+(r.after||""),h=[],y=[],b={},v=-1;for(;++v=g||c+1{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&r(e.children)||"length"in e&&r(e))||""}function r(e){for(var r=[],a=-1;++a{"use strict";var t;e.exports=function(e){var r,a="&"+e+";";if((t=t||document.createElement("i")).innerHTML=a,59===(r=t.textContent).charCodeAt(r.length-1)&&"semi"!==e)return!1;return r!==a&&r}},5040:e=>{"use strict";e.exports=function(e,a){var n=a||{};function s(a){var n=s.invalid,o=s.handlers;return a&&r.call(a,e)&&(n=r.call(o,a[e])?o[a[e]]:s.unknown),(n||t).apply(this,arguments)}return s.handlers=n.handlers||{},s.invalid=n.invalid,s.unknown=n.unknown,s};var t=Function.prototype,r={}.hasOwnProperty},3521:(e,t,r)=>{"use strict";var a=r(8617),n=r(2155),s=r(4957);e.exports=a().use(n).use(s).freeze()},6157:e=>{"use strict";e.exports=function(e){if(e)throw e}},9580:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},5117:(e,t,r)=>{"use strict";e.exports=function(e,t,r){"string"!==typeof t&&(r=t,t=void 0);return function(e){var t=e||{},r=function(e,t){var r=-1;for(;++r-1&&(F.call(this,e),M.call(this,e))}function U(){g("atHardBreak",!0)}function q(){var e=this.resume();this.stack[this.stack.length-1].value=e}function W(){var e=this.resume();this.stack[this.stack.length-1].value=e}function H(){var e=this.resume();this.stack[this.stack.length-1].value=e}function z(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function V(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function G(e){this.stack[this.stack.length-2].identifier=o(this.sliceSerialize(e)).toLowerCase()}function K(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,g("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function Y(){var e=this.resume();this.stack[this.stack.length-1].url=e}function X(){var e=this.resume();this.stack[this.stack.length-1].title=e}function J(){g("inReference")}function $(){g("referenceType","collapsed")}function Q(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=o(this.sliceSerialize(e)).toLowerCase(),g("referenceType","full")}function Z(e){g("characterReferenceType",e.type)}function ee(e){var t,r,a=this.sliceSerialize(e),n=m("characterReferenceType");n?(t=i(a,"characterReferenceMarkerNumeric"===n?10:16),g("characterReferenceType")):t=u(a),(r=this.stack.pop()).value+=t,r.position.end=h(e.end)}function te(e){M.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function re(e){M.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function ae(){return{type:"blockquote",children:[]}}function ne(){return{type:"code",lang:null,meta:null,value:""}}function se(){return{type:"inlineCode",value:""}}function oe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ie(){return{type:"emphasis",children:[]}}function de(){return{type:"heading",depth:void 0,children:[]}}function ce(){return{type:"break"}}function le(){return{type:"html",value:""}}function ue(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function fe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ge(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function he(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function be(){return{type:"thematicBreak"}}}(r)(l(d(r).document().write(c()(e,t,!0))))};var a=r(439),n=r(3175),s=r(4915),o=r(8419),i=r(7012),d=r(1140),c=r(2961),l=r(1188),u=r(1580),p=r(3215);function f(e,t){var r,a;for(r in t)a=s.call(e,r)?e[r]:e[r]={},"canContainEols"===r||"transforms"===r?e[r]=[].concat(a,t[r]):Object.assign(a,t[r])}},1900:(e,t,r)=>{"use strict";e.exports=r(5117)},439:e=>{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&r(e.children)||"length"in e&&r(e))||""}function r(e){for(var r=[],a=-1;++a{"use strict";var t;e.exports=function(e){var r,a="&"+e+";";if((t=t||document.createElement("i")).innerHTML=a,59===(r=t.textContent).charCodeAt(r.length-1)&&"semi"!==e)return!1;return r!==a&&r}},2155:(e,t,r)=>{"use strict";e.exports=function(e){var t=this;this.Parser=function(r){return a(r,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var a=r(1900)},8952:(e,t,r)=>{"use strict";var a=r(7222);e.exports=s,s.wrap=a;var n=[].slice;function s(){var e=[],t={run:function(){var t=-1,r=n.call(arguments,0,-1),s=arguments[arguments.length-1];if("function"!==typeof s)throw new Error("Expected function as last argument, not "+s);(function o(i){var d=e[++t],c=n.call(arguments,0).slice(1),l=r.length,u=-1;if(i)s(i);else{for(;++u{"use strict";var t=[].slice;e.exports=function(e,r){var a;return function(){var r,o=t.call(arguments,0),i=e.length>o.length;i&&o.push(n);try{r=e.apply(null,o)}catch(d){if(i&&a)throw d;return n(d)}i||(r&&"function"===typeof r.then?r.then(s,n):r instanceof Error?n(r):s(r))};function n(){a||(a=!0,r.apply(null,arguments))}function s(e){n(null,e)}}},8617:(e,t,r)=>{"use strict";var a=r(6157),n=r(3670),s=r(1761),o=r(9580),i=r(8952),d=r(2063);e.exports=function e(){var t,r=[],n=i(),b={},v=-1;return x.data=function(e,r){if("string"===typeof e)return 2===arguments.length?(m("data",t),b[e]=r,x):l.call(b,e)&&b[e]||null;if(e)return m("data",t),b=e,x;return b},x.freeze=R,x.attachers=r,x.use=function(e){var a;if(m("use",t),null===e||void 0===e);else if("function"===typeof e)l.apply(null,arguments);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?d(e):n(e)}a&&(b.settings=s(b.settings||{},a));return x;function n(e){d(e.plugins),e.settings&&(a=s(a||{},e.settings))}function i(e){if("function"===typeof e)l(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?l.apply(null,e):n(e)}}function d(e){var t=-1;if(null===e||void 0===e);else{if("object"!==typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t{"use strict";var t={}.hasOwnProperty;function r(e){return e&&"object"===typeof e||(e={}),n(e.line)+":"+n(e.column)}function a(e){return e&&"object"===typeof e||(e={}),r(e.start)+"-"+r(e.end)}function n(e){return e&&"number"===typeof e?e:1}e.exports=function(e){if(!e||"object"!==typeof e)return"";if(t.call(e,"position")||t.call(e,"type"))return a(e.position);if(t.call(e,"start")||t.call(e,"end"))return a(e);if(t.call(e,"line")||t.call(e,"column"))return r(e);return""}},4449:(e,t,r)=>{"use strict";var a=r(3215);function n(){}e.exports=o,n.prototype=Error.prototype,o.prototype=new n;var s=o.prototype;function o(e,t,r){var n,s,o;"string"===typeof t&&(r=t,t=null),n=function(e){var t,r=[null,null];"string"===typeof e&&(-1===(t=e.indexOf(":"))?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1)));return r}(r),s=a(t)||"1:1",o={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(o=t,t=t.start):o.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=s,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=o,this.source=n[0],this.ruleId=n[1]}s.file="",s.name="",s.reason="",s.message="",s.stack="",s.fatal=null,s.column=null,s.line=null},2063:(e,t,r)=>{"use strict";e.exports=r(207)},2088:(e,t,r)=>{"use strict";var a=r(7986),n=r(5657),s=r(3670);e.exports=d;var o={}.hasOwnProperty,i=["history","path","basename","stem","extname","dirname"];function d(e){var t,r;if(e){if("string"===typeof e||s(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof d))return new d(e);for(this.data={},this.messages=[],this.history=[],this.cwd=n.cwd(),r=-1;++r-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+a.sep+"`")}function l(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function u(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}d.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(d.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){l(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(d.prototype,"dirname",{get:function(){return"string"===typeof this.path?a.dirname(this.path):void 0},set:function(e){u(this.path,"dirname"),this.path=a.join(e||"",this.basename)}}),Object.defineProperty(d.prototype,"basename",{get:function(){return"string"===typeof this.path?a.basename(this.path):void 0},set:function(e){l(e,"basename"),c(e,"basename"),this.path=a.join(this.dirname||"",e)}}),Object.defineProperty(d.prototype,"extname",{get:function(){return"string"===typeof this.path?a.extname(this.path):void 0},set:function(e){if(c(e,"extname"),u(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=a.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(d.prototype,"stem",{get:function(){return"string"===typeof this.path?a.basename(this.path,this.extname):void 0},set:function(e){l(e,"stem"),c(e,"stem"),this.path=a.join(this.dirname||"",e+(this.extname||""))}})},207:(e,t,r)=>{"use strict";var a=r(4449),n=r(2088);e.exports=n,n.prototype.message=function(e,t,r){var n=new a(e,t,r);this.path&&(n.name=this.path+":"+n.name,n.file=this.path);return n.fatal=!1,this.messages.push(n),n},n.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},n.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},7986:(e,t)=>{"use strict";function r(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var a,n,s,o,i=0,d=-1;if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');if(r(e),a=e.length,void 0===t||!t.length||t.length>e.length){for(;a--;)if(47===e.charCodeAt(a)){if(s){i=a+1;break}}else d<0&&(s=!0,d=a+1);return d<0?"":e.slice(i,d)}if(t===e)return"";n=-1,o=t.length-1;for(;a--;)if(47===e.charCodeAt(a)){if(s){i=a+1;break}}else n<0&&(s=!0,n=a+1),o>-1&&(e.charCodeAt(a)===t.charCodeAt(o--)?o<0&&(d=a):(o=-1,d=n));i===d?d=n:d<0&&(d=e.length);return e.slice(i,d)},t.dirname=function(e){var t,a,n;if(r(e),!e.length)return".";t=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(a){t=n;break}}else a||(a=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,a,n,s=-1,o=0,i=-1,d=0;r(e),n=e.length;for(;n--;)if(47!==(a=e.charCodeAt(n)))i<0&&(t=!0,i=n+1),46===a?s<0?s=n:1!==d&&(d=1):s>-1&&(d=-1);else if(t){o=n+1;break}if(s<0||i<0||0===d||1===d&&s===i-1&&s===o+1)return"";return e.slice(s,i)},t.join=function(){var e,t=-1;for(;++t2){if((a=n.lastIndexOf("/"))!==n.length-1){a<0?(n="",s=0):s=(n=n.slice(0,a)).length-1-n.lastIndexOf("/"),o=d,i=0;continue}}else if(n.length){n="",s=0,o=d,i=0;continue}t&&(n=n.length?n+"/..":"..",s=2)}else n.length?n+="/"+e.slice(o+1,d):n=e.slice(o+1,d),s=d-o-1;o=d,i=0}else 46===r&&i>-1?i++:i=-1}return n}(e,!t),a.length||t||(a=".");a.length&&47===e.charCodeAt(e.length-1)&&(a+="/");return t?"/"+a:a}(e)},t.sep="/"},5657:(e,t)=>{"use strict";t.cwd=function(){return"/"}},6040:e=>{"use strict";var t,r="";e.exports=function(e,a){if("string"!==typeof e)throw new TypeError("expected a string");if(1===a)return e;if(2===a)return e+e;var n=e.length*a;if(t!==e||"undefined"===typeof t)t=e,r="";else if(r.length>=n)return r.substr(0,n);for(;n>r.length&&a>1;)1&a&&(r+=e),a>>=1,e+=e;return r=(r+=e).substr(0,n)}},1863:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0>>1,n=e[a];if(!(0>>1;as(d,r))cs(l,d)?(e[a]=l,e[c]=r,a=c):(e[a]=d,e[i]=r,a=i);else{if(!(cs(l,r)))break e;e[a]=l,e[c]=r,a=c}}}return t}function s(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var i=Date,d=i.now();t.unstable_now=function(){return i.now()-d}}var c=[],l=[],u=1,p=null,f=3,g=!1,m=!1,h=!1,y="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,v="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=a(l);null!==t;){if(null===t.callback)n(l);else{if(!(t.startTime<=e))break;n(l),t.sortIndex=t.expirationTime,r(c,t)}t=a(l)}}function R(e){if(h=!1,x(e),!m)if(null!==a(c))m=!0,I(w);else{var t=a(l);null!==t&&O(R,t.startTime-e)}}function w(e,r){m=!1,h&&(h=!1,b(T),T=-1),g=!0;var s=f;try{for(x(r),p=a(c);null!==p&&(!(p.expirationTime>r)||e&&!C());){var o=p.callback;if("function"===typeof o){p.callback=null,f=p.priorityLevel;var i=o(p.expirationTime<=r);r=t.unstable_now(),"function"===typeof i?p.callback=i:p===a(c)&&n(c),x(r)}else n(c);p=a(c)}if(null!==p)var d=!0;else{var u=a(l);null!==u&&O(R,u.startTime-r),d=!1}return d}finally{p=null,f=s,g=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,j=!1,S=null,T=-1,A=5,k=-1;function C(){return!(t.unstable_now()-ke||125o?(e.sortIndex=s,r(l,e),null===a(c)&&e===a(l)&&(h?(b(T),T=-1):h=!0,O(R,s-o))):(e.sortIndex=i,r(c,e),m||g||(m=!0,I(w))),e},t.unstable_shouldYield=C,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},7710:(e,t,r)=>{"use strict";e.exports=r(1863)},3569:e=>{e.exports=function(e,t,r,a){var n=r?r.call(a,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var s=Object.keys(e),o=Object.keys(t);if(s.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),d=0;d{var a=r(5498);e.exports=function(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},1327:(e,t,r)=>{var a=r(564).default;e.exports=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5498:(e,t,r)=>{var a=r(564).default,n=r(1327);e.exports=function(e){var t=n(e,"string");return"symbol"==a(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},564:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},3132:function(e,t,r){!function(e){"use strict";var t=Object.freeze({__proto__:null,get DEFAULT_EXTENSIONS(){return F6},get File(){return eX},get buildExternalHelpers(){return TX},get createConfigItem(){return A2},get createConfigItemAsync(){return S2},get createConfigItemSync(){return T2},get getEnv(){return HX},get loadOptions(){return E2},get loadOptionsAsync(){return R2},get loadOptionsSync(){return w2},get loadPartialConfig(){return b2},get loadPartialConfigAsync(){return h2},get loadPartialConfigSync(){return y2},get parse(){return I6},get parseAsync(){return N6},get parseSync(){return O6},get resolvePlugin(){return LX},get resolvePreset(){return UX},get template(){return zS},get tokTypes(){return wj},get transform(){return w6},get transformAsync(){return j6},get transformFile(){return S6},get transformFileAsync(){return A6},get transformFileSync(){return T6},get transformFromAst(){return C6},get transformFromAstAsync(){return _6},get transformFromAstSync(){return P6},get transformSync(){return E6},get traverse(){return Iz},get types(){return $x},get version(){return B6}});function a(e,t,r){if(n())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var s=new(e.bind.apply(e,a));return r&&m(s,r.prototype),s}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(n=function(){return!!e})()}function s(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,s,o,i=[],d=!0,c=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;d=!1}else for(;!(d=(a=s.call(r)).done)&&(i.push(a.value),i.length!==t);d=!0);}catch(e){c=!0,n=e}finally{try{if(!d&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw n}}return i}}function o(){o=function(){return t};var e,t={},r=Object.prototype,a=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},i=s.iterator||"@@iterator",d=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,a){var s=t&&t.prototype instanceof b?t:b,o=Object.create(s.prototype),i=new _(a||[]);return n(o,"_invoke",{value:A(e,r,i)}),o}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",g="suspendedYield",m="executing",h="completed",y={};function b(){}function v(){}function x(){}var R={};l(R,i,(function(){return this}));var w=Object.getPrototypeOf,E=w&&w(w(D([])));E&&E!==r&&a.call(E,i)&&(R=E);var j=x.prototype=b.prototype=Object.create(R);function S(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,s,o,i){var d=p(e[n],e,s);if("throw"!==d.type){var c=d.arg,l=c.value;return l&&"object"==typeof l&&a.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,o,i)}),(function(e){r("throw",e,o,i)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return r("throw",e,o,i)}))}i(d.arg)}var s;n(this,"_invoke",{value:function(e,a){function n(){return new t((function(t,n){r(e,a,t,n)}))}return s=s?s.then(n,n):n()}})}function A(t,r,a){var n=f;return function(s,o){if(n===m)throw Error("Generator is already running");if(n===h){if("throw"===s)throw o;return{value:e,done:!0}}for(a.method=s,a.arg=o;;){var i=a.delegate;if(i){var d=k(i,a);if(d){if(d===y)continue;return d}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===f)throw n=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=m;var c=p(t,r,a);if("normal"===c.type){if(n=a.done?h:g,c.arg===y)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(n=h,a.method="throw",a.arg=c.arg)}}}function k(t,r){var a=r.method,n=t.iterator[a];if(n===e)return r.delegate=null,"throw"===a&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),y;var s=p(n,t.iterator,r.arg);if("throw"===s.type)return r.method="throw",r.arg=s.arg,r.delegate=null,y;var o=s.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function D(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,s=function r(){for(;++n=0;--s){var o=this.tryEntries[s],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var d=a.call(o,"catchLoc"),c=a.call(o,"finallyLoc");if(d&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;P(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,a){return this.delegate={iterator:D(t),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=e),y}},t}function i(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function d(e){var t=i(e,"string");return"symbol"==typeof t?t:t+""}function c(e,t,r,a,n,s,o){try{var i=e[s](o),d=i.value}catch(n$){return void r(n$)}i.done?t(d):Promise.resolve(d).then(a,n)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var s=e.apply(t,r);function o(e){c(s,a,n,o,i,"next",e)}function i(e){c(s,a,n,o,i,"throw",e)}o(void 0)}))}}function u(e,t){for(var r=0;r=0||(n[r]=e[r]);return n}function v(e,t){if(null==e)return{};var r,a,n=b(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function x(e,t){return t||(t=e.slice(0)),e.raw=t,e}function R(e,t){return j(e)||s(e,t)||T(e,t)||C()}function w(e){return E(e)||S(e)||T(e)||k()}function E(e){if(Array.isArray(e))return A(e)}function j(e){if(Array.isArray(e))return e}function S(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function T(e,t){if(e){if("string"===typeof e)return A(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e,t){for(var r=0,a=Object.keys(t);rn.length)return!1;for(var o=0,i=s.length-1;o1)for(var r=1;re)return!1;if((r+=t[a+1])>=e)return!0}return!1}function So(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&xo.test(String.fromCharCode(e)):jo(e,wo)))}function To(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ro.test(String.fromCharCode(e)):jo(e,wo)||jo(e,Eo))))}function Ao(e){for(var t=!0,r=0;r=48&&e<=57},Lo={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Uo={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function qo(e,t,r,a,n,s){for(var o=r,i=a,d=n,c="",l=null,u=r,p=t.length;;){if(r>=p){s.unterminated(o,i,d),c+=t.slice(u,r);break}var f=t.charCodeAt(r);if(Wo(e,f,t,r)){c+=t.slice(u,r);break}if(92===f){c+=t.slice(u,r);var g=Ho(t,r,a,n,"template"===e,s);null!==g.ch||l?c+=g.ch:l={pos:r,lineStart:a,curLine:n},r=g.pos,a=g.lineStart,n=g.curLine,u=r}else 8232===f||8233===f?(++n,a=++r):10===f||13===f?"template"===e?(c+=t.slice(u,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,u=a=r):s.unterminated(o,i,d):++r}return{pos:r,str:c,firstInvalidLoc:l,lineStart:a,curLine:n,containsInvalid:!!l}}function Wo(e,t,r,a){return"template"===e?96===t||36===t&&123===r.charCodeAt(a+1):t===("double"===e?34:39)}function Ho(e,t,r,a,n,s){var o=!n;t++;var i=function(e){return{pos:t,ch:e,lineStart:r,curLine:a}},d=e.charCodeAt(t++);switch(d){case 110:return i("\n");case 114:return i("\r");case 120:var c,l=zo(e,t,r,a,2,!1,o,s);return c=l.code,t=l.pos,i(null===c?null:String.fromCharCode(c));case 117:var u,p=Go(e,t,r,a,o,s);return u=p.code,t=p.pos,i(null===u?null:String.fromCodePoint(u));case 116:return i("\t");case 98:return i("\b");case 118:return i("\v");case 102:return i("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return i("");case 56:case 57:if(n)return i(null);s.strictNumericEscape(t-1,r,a);default:if(d>=48&&d<=55){var f=t-1,g=e.slice(f,t+2).match(/^[0-7]+/)[0],m=parseInt(g,8);m>255&&(g=g.slice(0,-1),m=parseInt(g,8)),t+=g.length-1;var h=e.charCodeAt(t);if("0"!==g||56===h||57===h){if(n)return i(null);s.strictNumericEscape(f,r,a)}return i(String.fromCharCode(m))}return i(String.fromCharCode(d))}}function zo(e,t,r,a,n,s,o,i){var d,c=t,l=Vo(e,t,r,a,16,n,s,!1,i,!o);return d=l.n,t=l.pos,null===d&&(o?i.invalidEscapeSequence(c,r,a):t=c-1),{code:d,pos:t}}function Vo(e,t,r,a,n,s,o,i,d,c){for(var l=t,u=16===n?Lo.hex:Lo.decBinOct,p=16===n?Uo.hex:10===n?Uo.dec:8===n?Uo.oct:Uo.bin,f=!1,g=0,m=0,h=null==s?1/0:s;m=97?y-97+10:y>=65?y-65+10:Mo(y)?y-48:1/0)>=n){if(b<=9&&c)return{n:null,pos:t};if(b<=9&&d.invalidDigit(t,r,a,n))b=0;else{if(!o)break;b=0,f=!0}}++t,g=g*n+b}else{var v=e.charCodeAt(t-1),x=e.charCodeAt(t+1);if(i){if(Number.isNaN(x)||!p(x)||u.has(v)||u.has(x)){if(c)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,a)}}else{if(c)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,a)}++t}}return t===l||null!=s&&t-l!==s||f?{n:null,pos:t}:{n:g,pos:t}}function Go(e,t,r,a,n,s){var o;if(123===e.charCodeAt(t)){var i=zo(e,++t,r,a,e.indexOf("}",t)-t,!0,n,s);if(o=i.code,t=i.pos,++t,null!==o&&o>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else{var d=zo(e,t,r,a,4,!1,n,s);o=d.code,t=d.pos}return{code:o,pos:t}}var Ko=["consequent","body","alternate"],Yo=["body","expressions"],Xo=["left","init"],Jo=["leadingComments","trailingComments","innerComments"],$o=["||","&&","??"],Qo=["++","--"],Zo=[">","<",">=","<="],ei=["==","===","!=","!=="],ti=[].concat(ei,["in","instanceof"]),ri=[].concat(w(ti),Zo),ai=["-","/","%","*","**","&","|",">>",">>>","<<","^"],ni=["+"].concat(ai,w(ri),["|>"]),si=["=","+="].concat(w(ai.map((function(e){return e+"="}))),w($o.map((function(e){return e+"="})))),oi=["delete","!"],ii=["+","-","~"],di=["typeof"],ci=["void","throw"].concat(oi,ii,di),li={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},ui=Symbol.for("var used to be block scoped"),pi=Symbol.for("should not be considered a local binding"),fi={},gi={},mi={},hi={},yi={},bi={},vi={};function xi(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function Ri(e){return{validate:e}}function wi(e){return"string"===typeof e?_i(e):_i.apply(void 0,w(e))}function Ei(e){return Ri(wi(e))}function ji(e){return{validate:e,optional:!0}}function Si(e){return{validate:wi(e),optional:!0}}function Ti(e){return Bi(Ii("array"),Ci(e))}function Ai(e){return Ti(wi(e))}function ki(e){return Ri(Ai(e))}function Ci(e){function t(t,r,a){if(Array.isArray(a))for(var n=0;n=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return a}var Fi=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],Mi=["default","optional","deprecated","validate"],Li={};function Ui(){for(var e=arguments.length,t=new Array(e),r=0;r0:d&&"object"===typeof d)throw new Error("field defaults can only be primitives or empty arrays currently");a[o]={default:Array.isArray(d)?[]:d,optional:i.optional,deprecated:i.deprecated,validate:i.validate}}for(var c=t.visitor||r.visitor||[],l=t.aliases||r.aliases||[],u=t.builder||r.builder||t.visitor||[],p=0,f=Object.keys(t);p+s+1)throw new TypeError("RestElement must be last element of "+n)}}}),Wi("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:_i("Expression"),optional:!0}}}),Wi("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:Bi(Ii("array"),Ci(_i("Expression")))}},aliases:["Expression"]}),Wi("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:_i("Expression")}}}),Wi("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:_i("Expression"),optional:!0},consequent:{validate:Bi(Ii("array"),Ci(_i("Statement")))}}}),Wi("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:_i("Expression")},cases:{validate:Bi(Ii("array"),Ci(_i("SwitchCase")))}}}),Wi("ThisExpression",{aliases:["Expression"]}),Wi("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:_i("Expression")}}}),Wi("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:Bi(_i("BlockStatement"),Object.assign((function(e){if(co.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:_i("CatchClause")},finalizer:{optional:!0,validate:_i("BlockStatement")}}}),Wi("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:_i("Expression")},operator:{validate:Pi.apply(void 0,w(ci))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),Wi("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:co.env.BABEL_TYPES_8_BREAKING?_i("Identifier","MemberExpression"):_i("Expression")},operator:{validate:Pi.apply(void 0,w(Qo))}},visitor:["argument"],aliases:["Expression"]}),Wi("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:Ii("boolean"),optional:!0},kind:{validate:Pi("var","let","const","using","await using")},declarations:{validate:Bi(Ii("array"),Ci(_i("VariableDeclarator")))}},validate:function(e,t,r){if(co.env.BABEL_TYPES_8_BREAKING&&yo("ForXStatement",e,{left:r})&&1!==r.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type)}}),Wi("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!co.env.BABEL_TYPES_8_BREAKING)return _i("LVal");var e=_i("Identifier","ArrayPattern","ObjectPattern"),t=_i("Identifier");return function(r,a,n){(r.init?e:t)(r,a,n)}}()},definite:{optional:!0,validate:Ii("boolean")},init:{optional:!0,validate:_i("Expression")}}}),Wi("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:_i("Expression")},body:{validate:_i("Statement")}}}),Wi("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:_i("Expression")},body:{validate:_i("Statement")}}}),Wi("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},Gi(),{left:{validate:_i("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:_i("Expression")},decorators:{validate:Bi(Ii("array"),Ci(_i("Decorator"))),optional:!0}})}),Wi("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},Gi(),{elements:{validate:Bi(Ii("array"),Ci(Di("null","PatternLike","LVal")))}})}),Wi("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},Hi(),zi(),{expression:{validate:Ii("boolean")},body:{validate:_i("BlockStatement","Expression")},predicate:{validate:_i("DeclaredPredicate","InferredPredicate"),optional:!0}})}),Wi("ClassBody",{visitor:["body"],fields:{body:{validate:Bi(Ii("array"),Ci(_i("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),Wi("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:_i("Identifier"),optional:!0},typeParameters:{validate:_i("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:_i("ClassBody")},superClass:{optional:!0,validate:_i("Expression")},superTypeParameters:{validate:_i("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:Bi(Ii("array"),Ci(_i("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:Bi(Ii("array"),Ci(_i("Decorator"))),optional:!0},mixins:{validate:_i("InterfaceExtends"),optional:!0}}}),Wi("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:_i("Identifier"),optional:!0},typeParameters:{validate:_i("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:_i("ClassBody")},superClass:{optional:!0,validate:_i("Expression")},superTypeParameters:{validate:_i("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:Bi(Ii("array"),Ci(_i("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:Bi(Ii("array"),Ci(_i("Decorator"))),optional:!0},mixins:{validate:_i("InterfaceExtends"),optional:!0},declare:{validate:Ii("boolean"),optional:!0},abstract:{validate:Ii("boolean"),optional:!0}},validate:function(){var e=_i("Identifier");return function(t,r,a){co.env.BABEL_TYPES_8_BREAKING&&(yo("ExportDefaultDeclaration",t)||e(a,"id",a.id))}}()}),Wi("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:_i("StringLiteral")},exportKind:ji(Pi("type","value")),attributes:{optional:!0,validate:Bi(Ii("array"),Ci(_i("ImportAttribute")))},assertions:{optional:!0,validate:Bi(Ii("array"),Ci(_i("ImportAttribute")))}}}),Wi("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:_i("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:ji(Pi("value"))}}),Wi("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:Bi(_i("Declaration"),Object.assign((function(e,t,r){if(co.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(co.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},attributes:{optional:!0,validate:Bi(Ii("array"),Ci(_i("ImportAttribute")))},assertions:{optional:!0,validate:Bi(Ii("array"),Ci(_i("ImportAttribute")))},specifiers:{default:[],validate:Bi(Ii("array"),Ci(function(){var e=_i("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=_i("ExportSpecifier");return co.env.BABEL_TYPES_8_BREAKING?function(r,a,n){(r.source?e:t)(r,a,n)}:e}()))},source:{validate:_i("StringLiteral"),optional:!0},exportKind:ji(Pi("type","value"))}}),Wi("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:_i("Identifier")},exported:{validate:_i("Identifier","StringLiteral")},exportKind:{validate:Pi("type","value"),optional:!0}}}),Wi("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!co.env.BABEL_TYPES_8_BREAKING)return _i("VariableDeclaration","LVal");var e=_i("VariableDeclaration"),t=_i("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,a,n){yo("VariableDeclaration",n)?e(r,a,n):t(r,a,n)}}()},right:{validate:_i("Expression")},body:{validate:_i("Statement")},await:{default:!1}}}),Wi("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:Bi(Ii("array"),Ci(_i("ImportAttribute")))},assertions:{optional:!0,validate:Bi(Ii("array"),Ci(_i("ImportAttribute")))},module:{optional:!0,validate:Ii("boolean")},phase:{default:null,validate:Pi("source","defer")},specifiers:{validate:Bi(Ii("array"),Ci(_i("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:_i("StringLiteral")},importKind:{validate:Pi("type","typeof","value"),optional:!0}}}),Wi("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:_i("Identifier")}}}),Wi("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:_i("Identifier")}}}),Wi("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:_i("Identifier")},imported:{validate:_i("Identifier","StringLiteral")},importKind:{validate:Pi("type","typeof","value"),optional:!0}}}),Wi("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:Pi("source","defer")},source:{validate:_i("Expression")},options:{validate:_i("Expression"),optional:!0}}}),Wi("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:Bi(_i("Identifier"),Object.assign((function(e,t,r){if(co.env.BABEL_TYPES_8_BREAKING){var a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!yo("Identifier",e.property,{name:a}))throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:_i("Identifier")}}});var Ki=function(){return{abstract:{validate:Ii("boolean"),optional:!0},accessibility:{validate:Pi("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:Ii("boolean"),optional:!0},key:{validate:Bi(function(){var e=_i("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=_i("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),_i("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},Yi=function(){return Object.assign({},Hi(),Ki(),{params:{validate:Bi(Ii("array"),Ci(_i("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:Pi("get","set","method","constructor"),default:"method"},access:{validate:Bi(Ii("string"),Pi("public","private","protected")),optional:!0},decorators:{validate:Bi(Ii("array"),Ci(_i("Decorator"))),optional:!0}})};Wi("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},Yi(),zi(),{body:{validate:_i("BlockStatement")}})}),Wi("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},Gi(),{properties:{validate:Bi(Ii("array"),Ci(_i("RestElement","ObjectProperty")))}})}),Wi("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:_i("Expression")}}}),Wi("Super",{aliases:["Expression"]}),Wi("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:_i("Expression")},quasi:{validate:_i("TemplateLiteral")},typeParameters:{validate:_i("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),Wi("TemplateElement",{builder:["value","tail"],fields:{value:{validate:Bi(Oi({raw:{validate:Ii("string")},cooked:{validate:Ii("string"),optional:!0}}),(function(e){var t=e.value.raw,r=!1,a=function(){throw new Error("Internal @babel/types error.")},n=qo("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:a,invalidEscapeSequence:a,numericSeparatorInEscapeSequence:a,unexpectedNumericSeparator:a,invalidDigit:a,invalidCodePoint:a}),s=n.str,o=n.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=o?null:s}))},tail:{default:!1}}}),Wi("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:Bi(Ii("array"),Ci(_i("TemplateElement")))},expressions:{validate:Bi(Ii("array"),Ci(_i("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of "+e.type+" quasis should be exactly one more than the number of expressions.\nExpected "+(r.length+1)+" quasis but got "+e.quasis.length)}))}}}),Wi("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:Bi(Ii("boolean"),Object.assign((function(e,t,r){if(co.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})),default:!1},argument:{optional:!0,validate:_i("Expression")}}}),Wi("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:_i("Expression")}}}),Wi("Import",{aliases:["Expression"]}),Wi("BigIntLiteral",{builder:["value"],fields:{value:{validate:Ii("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),Wi("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:_i("Identifier")}}}),Wi("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:_i("Expression")},property:{validate:function(){var e=_i("Identifier"),t=_i("Expression"),r=Object.assign((function(r,a,n){(r.computed?t:e)(r,a,n)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:!1},optional:{validate:co.env.BABEL_TYPES_8_BREAKING?Bi(Ii("boolean"),Ni()):Ii("boolean")}}}),Wi("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:_i("Expression")},arguments:{validate:Bi(Ii("array"),Ci(_i("Expression","SpreadElement","ArgumentPlaceholder")))},optional:{validate:co.env.BABEL_TYPES_8_BREAKING?Bi(Ii("boolean"),Ni()):Ii("boolean")},typeArguments:{validate:_i("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:_i("TSTypeParameterInstantiation"),optional:!0}}}),Wi("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},Ki(),{value:{validate:_i("Expression"),optional:!0},definite:{validate:Ii("boolean"),optional:!0},typeAnnotation:{validate:_i("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:Bi(Ii("array"),Ci(_i("Decorator"))),optional:!0},readonly:{validate:Ii("boolean"),optional:!0},declare:{validate:Ii("boolean"),optional:!0},variance:{validate:_i("Variance"),optional:!0}})}),Wi("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},Ki(),{key:{validate:Bi(function(){var e=_i("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=_i("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),_i("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:_i("Expression"),optional:!0},definite:{validate:Ii("boolean"),optional:!0},typeAnnotation:{validate:_i("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:Bi(Ii("array"),Ci(_i("Decorator"))),optional:!0},readonly:{validate:Ii("boolean"),optional:!0},declare:{validate:Ii("boolean"),optional:!0},variance:{validate:_i("Variance"),optional:!0}})}),Wi("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:_i("PrivateName")},value:{validate:_i("Expression"),optional:!0},typeAnnotation:{validate:_i("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:Bi(Ii("array"),Ci(_i("Decorator"))),optional:!0},static:{validate:Ii("boolean"),default:!1},readonly:{validate:Ii("boolean"),optional:!0},definite:{validate:Ii("boolean"),optional:!0},variance:{validate:_i("Variance"),optional:!0}}}),Wi("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Yi(),zi(),{kind:{validate:Pi("get","set","method"),default:"method"},key:{validate:_i("PrivateName")},body:{validate:_i("BlockStatement")}})}),Wi("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:_i("Identifier")}}}),Wi("StaticBlock",{visitor:["body"],fields:{body:{validate:Bi(Ii("array"),Ci(_i("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]});var Xi=Ui("Flow"),Ji=function(e){var t="DeclareClass"===e;Xi(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat(w(t?["mixins","implements"]:[]),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:Ei("Identifier"),typeParameters:Si("TypeParameterDeclaration"),extends:ji(Ai("InterfaceExtends"))},t?{mixins:ji(Ai("InterfaceExtends")),implements:ji(Ai("ClassImplements"))}:{},{body:Ei("ObjectTypeAnnotation")})})};Xi("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:Ei("FlowType")}}),Xi("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:Ri(Ii("boolean"))}}),Xi("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("ClassImplements",{visitor:["id","typeParameters"],fields:{id:Ei("Identifier"),typeParameters:Si("TypeParameterInstantiation")}}),Ji("DeclareClass"),Xi("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ei("Identifier"),predicate:Si("DeclaredPredicate")}}),Ji("DeclareInterface"),Xi("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ei(["Identifier","StringLiteral"]),body:Ei("BlockStatement"),kind:ji(Pi("CommonJS","ES"))}}),Xi("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:Ei("TypeAnnotation")}}),Xi("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ei("Identifier"),typeParameters:Si("TypeParameterDeclaration"),right:Ei("FlowType")}}),Xi("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ei("Identifier"),typeParameters:Si("TypeParameterDeclaration"),supertype:Si("FlowType"),impltype:Si("FlowType")}}),Xi("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ei("Identifier")}}),Xi("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:Si("Flow"),specifiers:ji(Ai(["ExportSpecifier","ExportNamespaceSpecifier"])),source:Si("StringLiteral"),default:ji(Ii("boolean"))}}),Xi("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:Ei("StringLiteral"),exportKind:ji(Pi("type","value"))}}),Xi("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:Ei("Flow")}}),Xi("ExistsTypeAnnotation",{aliases:["FlowType"]}),Xi("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:Si("TypeParameterDeclaration"),params:Ri(Ai("FunctionTypeParam")),rest:Si("FunctionTypeParam"),this:Si("FunctionTypeParam"),returnType:Ei("FlowType")}}),Xi("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:Si("Identifier"),typeAnnotation:Ei("FlowType"),optional:ji(Ii("boolean"))}}),Xi("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:Ei(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Si("TypeParameterInstantiation")}}),Xi("InferredPredicate",{aliases:["FlowPredicate"]}),Xi("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:Ei(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Si("TypeParameterInstantiation")}}),Ji("InterfaceDeclaration"),Xi("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:ji(Ai("InterfaceExtends")),body:Ei("ObjectTypeAnnotation")}}),Xi("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:Ri(Ai("FlowType"))}}),Xi("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:Ei("FlowType")}}),Xi("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:Ri(Ii("number"))}}),Xi("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:Ri(Ai(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:Ai("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:Ai("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:Ai("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:Ii("boolean"),default:!1},inexact:ji(Ii("boolean"))}}),Xi("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:Ei("Identifier"),value:Ei("FlowType"),optional:Ri(Ii("boolean")),static:Ri(Ii("boolean")),method:Ri(Ii("boolean"))}}),Xi("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:Ei("FlowType"),static:Ri(Ii("boolean"))}}),Xi("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:Si("Identifier"),key:Ei("FlowType"),value:Ei("FlowType"),static:Ri(Ii("boolean")),variance:Si("Variance")}}),Xi("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:Ei(["Identifier","StringLiteral"]),value:Ei("FlowType"),kind:Ri(Pi("init","get","set")),static:Ri(Ii("boolean")),proto:Ri(Ii("boolean")),optional:Ri(Ii("boolean")),variance:Si("Variance"),method:Ri(Ii("boolean"))}}),Xi("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:Ei("FlowType")}}),Xi("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ei("Identifier"),typeParameters:Si("TypeParameterDeclaration"),supertype:Si("FlowType"),impltype:Ei("FlowType")}}),Xi("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:Ei("Identifier"),qualification:Ei(["Identifier","QualifiedTypeIdentifier"])}}),Xi("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:Ri(Ii("string"))}}),Xi("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:Ri(Ai("FlowType"))}}),Xi("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:Ei("FlowType")}}),Xi("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:Ei("Identifier"),typeParameters:Si("TypeParameterDeclaration"),right:Ei("FlowType")}}),Xi("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:Ei("FlowType")}}),Xi("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:Ei("Expression"),typeAnnotation:Ei("TypeAnnotation")}}),Xi("TypeParameter",{visitor:["bound","default","variance"],fields:{name:Ri(Ii("string")),bound:Si("TypeAnnotation"),default:Si("FlowType"),variance:Si("Variance")}}),Xi("TypeParameterDeclaration",{visitor:["params"],fields:{params:Ri(Ai("TypeParameter"))}}),Xi("TypeParameterInstantiation",{visitor:["params"],fields:{params:Ri(Ai("FlowType"))}}),Xi("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:Ri(Ai("FlowType"))}}),Xi("Variance",{builder:["kind"],fields:{kind:Ri(Pi("minus","plus"))}}),Xi("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Xi("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:Ei("Identifier"),body:Ei(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),Xi("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:Ri(Ii("boolean")),members:ki("EnumBooleanMember"),hasUnknownMembers:Ri(Ii("boolean"))}}),Xi("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:Ri(Ii("boolean")),members:ki("EnumNumberMember"),hasUnknownMembers:Ri(Ii("boolean"))}}),Xi("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:Ri(Ii("boolean")),members:ki(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:Ri(Ii("boolean"))}}),Xi("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:ki("EnumDefaultedMember"),hasUnknownMembers:Ri(Ii("boolean"))}}),Xi("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Ei("Identifier"),init:Ei("BooleanLiteral")}}),Xi("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Ei("Identifier"),init:Ei("NumericLiteral")}}),Xi("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:Ei("Identifier"),init:Ei("StringLiteral")}}),Xi("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:Ei("Identifier")}}),Xi("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Ei("FlowType"),indexType:Ei("FlowType")}}),Xi("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:Ei("FlowType"),indexType:Ei("FlowType"),optional:Ri(Ii("boolean"))}});var $i=Ui("JSX");$i("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:_i("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:_i("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),$i("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:_i("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),$i("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:_i("JSXOpeningElement")},closingElement:{optional:!0,validate:_i("JSXClosingElement")},children:{validate:Bi(Ii("array"),Ci(_i("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:Ii("boolean"),optional:!0}})}),$i("JSXEmptyExpression",{}),$i("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:_i("Expression","JSXEmptyExpression")}}}),$i("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:_i("Expression")}}}),$i("JSXIdentifier",{builder:["name"],fields:{name:{validate:Ii("string")}}}),$i("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:_i("JSXMemberExpression","JSXIdentifier")},property:{validate:_i("JSXIdentifier")}}}),$i("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:_i("JSXIdentifier")},name:{validate:_i("JSXIdentifier")}}}),$i("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:_i("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:Bi(Ii("array"),Ci(_i("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:_i("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),$i("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:_i("Expression")}}}),$i("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:Ii("string")}}}),$i("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:_i("JSXOpeningFragment")},closingFragment:{validate:_i("JSXClosingFragment")},children:{validate:Bi(Ii("array"),Ci(_i("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),$i("JSXOpeningFragment",{aliases:["Immutable"]}),$i("JSXClosingFragment",{aliases:["Immutable"]});for(var Qi=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Zi={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},ed=0,td=Qi;ed=0)){if(mt(i))return[i];if(Zn(i))a.set(i.type,i);else if(pr(i))n.has(i.types)||(t.push.apply(t,w(i.types)),n.add(i.types));else if(Nt(i)){var d=Yb(i.id);if(r.has(d)){var c,l=r.get(d);l.typeParameters?i.typeParameters&&((c=l.typeParameters.params).push.apply(c,w(i.typeParameters.params)),l.typeParameters.params=Xb(l.typeParameters.params)):l=i.typeParameters}else r.set(d,i)}else s.push(i)}}for(var u,p=P(a);!(u=p()).done;){var f=R(u.value,2)[1];s.push(f)}for(var g,m=P(r);!(g=m()).done;){var h=R(g.value,2)[1];s.push(h)}return s}function Jb(e){var t=Xb(e);return 1===t.length?t[0]:eu(t)}function $b(e){return re(e)?e.name:e.right.name+"."+$b(e.left)}function Qb(e){for(var t=Array.from(e),r=new Map,a=new Map,n=new Set,s=[],o=0;o=0)){if(fa(i))return[i];if(cs(i))a.set(i.type,i);else if(Ma(i))n.has(i.types)||(t.push.apply(t,w(i.types)),n.add(i.types));else if(Ca(i)&&i.typeParameters){var d=$b(i.typeName);if(r.has(d)){var c,l=r.get(d);l.typeParameters?i.typeParameters&&((c=l.typeParameters.params).push.apply(c,w(i.typeParameters.params)),l.typeParameters.params=Qb(l.typeParameters.params)):l=i.typeParameters}else r.set(d,i)}else s.push(i)}}for(var u,p=P(a);!(u=p()).done;){var f=R(u.value,2)[1];s.push(f)}for(var g,m=P(r);!(g=m()).done;){var h=R(g.value,2)[1];s.push(h)}return s}function Zb(e){var t=e.map((function(e){return pn(e)?e.typeAnnotation:e})),r=Qb(t);return 1===r.length?r[0]:Tp(r)}function ev(){return gc("void",Yd(0),!0)}var tv=Function.call.bind(Object.prototype.hasOwnProperty);function rv(e,t,r,a){return e&&"string"===typeof e.type?sv(e,t,r,a):e}function av(e,t,r,a){return Array.isArray(e)?e.map((function(e){return rv(e,t,r,a)})):rv(e,t,r,a)}function nv(e,t,r){return void 0===t&&(t=!0),void 0===r&&(r=!1),sv(e,t,r,new Map)}function sv(e,t,r,a){if(void 0===t&&(t=!0),void 0===r&&(r=!1),!e)return e;var n=e.type,s={type:e.type};if(re(e))s.name=e.name,tv(e,"optional")&&"boolean"===typeof e.optional&&(s.optional=e.optional),tv(e,"typeAnnotation")&&(s.typeAnnotation=t?av(e.typeAnnotation,!0,r,a):e.typeAnnotation);else{if(!tv(hi,n))throw new Error('Unknown node type: "'+n+'"');for(var o=0,i=Object.keys(hi[n]);o=Number.MAX_SAFE_INTEGER?Tx.uid=0:Tx.uid++};var kx=Function.call.bind(Object.prototype.toString);function Cx(e){return"[object RegExp]"===kx(e)}function Px(e){if("object"!==typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function _x(e){if(void 0===e)return zd("undefined");if(!0===e||!1===e)return Jd(e);if(null===e)return Xd();if("string"===typeof e)return Kd(e);var t;if("number"===typeof e)return t=Number.isFinite(e)?Yd(Math.abs(e)):Sd("/",Number.isNaN(e)?Yd(0):Yd(1),Yd(0)),(e<0||Object.is(e,-0))&&(t=gc("-",t)),t;if(Cx(e))return $d(e.source,e.toString().match(/\/([a-z]+|)$/)[1]);if(Array.isArray(e))return Ed(e.map(_x));if(Px(e)){for(var r=[],a=0,n=Object.keys(e);a=0)return!0}else if(s===e)return!0}return!1}function Ux(e){return ke(e)&&("var"!==e.kind||e[ui])}function qx(e){return ee(e)||Fe(e)||Ux(e)}function Wx(e){return!!mo(e.type,"Immutable")||!!re(e)&&"undefined"===e.name}function Hx(e,t){if("object"!==typeof e||"object"!==typeof t||null==e||null==t)return e===t;if(e.type!==t.type)return!1;for(var r=Object.keys(hi[e.type]||e.type),a=fi[e.type],n=0,s=r;n1?e:e[0]})),tR=Zx((function(e){return e})),rR=Zx((function(e){if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]})),aR={code:function(e){return"(\n"+e+"\n)"},validate:function(e){if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===aR.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:function(e){var t=R(e.program.body,1)[0];return Qx(t),t.expression}},nR={code:function(e){return e},validate:function(){},unwrap:function(e){return e.program}},sR=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function oR(e,t){var r=t.placeholderWhitelist,a=void 0===r?e.placeholderWhitelist:r,n=t.placeholderPattern,s=void 0===n?e.placeholderPattern:n,o=t.preserveComments,i=void 0===o?e.preserveComments:o,d=t.syntacticPlaceholders,c=void 0===d?e.syntacticPlaceholders:d;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:a,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:c}}function iR(e){if(null!=e&&"object"!==typeof e)throw new Error("Unknown template options.");var t=e||{},r=t.placeholderWhitelist,a=t.placeholderPattern,n=t.preserveComments,s=t.syntacticPlaceholders,o=b(t,sR);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=a&&!(a instanceof RegExp)&&!1!==a)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=n&&"boolean"!==typeof n)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=s&&"boolean"!==typeof s)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===s&&(null!=r||null!=a))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:o,placeholderWhitelist:r||void 0,placeholderPattern:null==a?void 0:a,preserveComments:null==n?void 0:n,syntacticPlaceholders:null==s?void 0:s}}function dR(e){if(Array.isArray(e))return e.reduce((function(e,t,r){return e["$"+r]=t,e}),{});if("object"===typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}var cR=p((function(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r})),lR=p((function(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}));function uR(e,t){var r=e.line,a=e.column,n=e.index;return new cR(r,a+t,n+t)}var pR,fR="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",gR={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:fR},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:fR}},mR={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},hR=function(e){return"UpdateExpression"===e.type?mR.UpdateExpression[""+e.prefix]:mR[e.type]},yR={AccessorIsGenerator:function(e){return"A "+e.kind+"ter cannot be a generator."},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:function(e){return"Missing initializer in "+e.kind+" declaration."},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:function(e){return"`"+e.exportName+"` has already been exported. Exported identifiers must be unique."},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:function(e){return"'import."+e.phase+"(...)' can only be parsed when using the 'createImportExpressions' option."},ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:function(e){return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '"+e.localName+"' as '"+e.exportName+"' } from 'some-module'`?"},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:function(e){return"'"+("ForInStatement"===e.type?"for-in":"for-of")+"' loop variable declaration may not have an initializer."},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:function(e){return"Unsyntactic "+("BreakStatement"===e.type?"break":"continue")+"."},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:function(e){return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'+e.importName+'" as foo }`?'},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:function(e){return"`import()` requires exactly "+(1===e.maxArgumentCount?"one argument":"one or two arguments")+"."},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:function(e){return"Expected number in radix "+e.radix+"."},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:function(e){return"Escape sequence in keyword "+e.reservedWord+"."},InvalidIdentifier:function(e){return"Invalid identifier "+e.identifierName+"."},InvalidLhs:function(e){var t=e.ancestor;return"Invalid left-hand side in "+hR(t)+"."},InvalidLhsBinding:function(e){var t=e.ancestor;return"Binding invalid left-hand side in "+hR(t)+"."},InvalidLhsOptionalChaining:function(e){var t=e.ancestor;return"Invalid optional chaining in the left-hand side of "+hR(t)+"."},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:function(e){return"Unexpected character '"+e.unexpected+"'."},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:function(e){return"Private name #"+e.identifierName+" is not defined."},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:function(e){return"Label '"+e.labelName+"' is already declared."},LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:function(e){return"This experimental syntax requires enabling the parser plugin: "+e.missingPlugin.map((function(e){return JSON.stringify(e)})).join(", ")+"."},MissingOneOfPlugins:function(e){return"This experimental syntax requires enabling one of the following parser plugin(s): "+e.missingPlugin.map((function(e){return JSON.stringify(e)})).join(", ")+"."},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:function(e){return'Duplicate key "'+e.key+'" is not allowed in module attributes.'},ModuleExportNameHasLoneSurrogate:function(e){return"An export name cannot include a lone surrogate, found '\\u"+e.surrogateCharCode.toString(16)+"'."},ModuleExportUndefined:function(e){return"Export '"+e.localName+"' is not defined."},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:function(e){var t=e.identifierName;return"Private names are only allowed in property accesses (`obj.#"+t+"`) or in `in` expressions (`#"+t+" in obj`)."},PrivateNameRedeclaration:function(e){return"Duplicate private name #"+e.identifierName+"."},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:function(e){return"Unexpected keyword '"+e.keyword+"'."},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:function(e){return"Unexpected reserved word '"+e.reservedWord+"'."},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:function(e){var t=e.expected,r=e.unexpected;return"Unexpected token"+(r?" '"+r+"'.":"")+(t?', expected "'+t+'"':"")},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:function(e){var t=e.target;return"The only valid meta property for "+t+" is "+t+"."+e.onlyValidPropertyName+"."},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:function(e){return"Identifier '"+e.identifierName+"' has already been declared."},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},bR={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:function(e){return"Assigning to '"+e.referenceName+"' in strict mode."},StrictEvalArgumentsBinding:function(e){return"Binding '"+e.bindingName+"' in strict mode."},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},vR=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),xR={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:function(e){var t=e.token;return"Invalid topic token "+t+". In order to use "+t+' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "'+t+'" }.'},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:function(e){var t=e.type;return"Hack-style pipe body cannot be an unparenthesized "+hR({type:t})+"; please wrap it in parentheses."},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},RR=["toMessage"],wR=["message"];function ER(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:r})}function jR(e){var t=e.toMessage,r=b(e,RR);return function e(a,n){var s=new SyntaxError;return Object.assign(s,r,{loc:a,pos:a.index}),"missingPlugin"in n&&Object.assign(s,{missingPlugin:n.missingPlugin}),ER(s,"clone",(function(t){var r;void 0===t&&(t={});var s=null!=(r=t.loc)?r:a,o=s.line,i=s.column,d=s.index;return e(new cR(o,i,d),Object.assign({},n,t.details))})),ER(s,"details",n),Object.defineProperty(s,"message",{configurable:!0,get:function(){var e=t(n)+" ("+a.line+":"+a.column+")";return this.message=e,e},set:function(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),s}}function SR(e,t){if(Array.isArray(e))return function(t){return SR(t,e[0])};for(var r={},a=function(){var a=s[n],o=e[a],i="string"===typeof o?{message:function(){return o}}:"function"===typeof o?{message:o}:o,d=i.message,c=b(i,wR),l="string"===typeof d?function(){return d}:d;r[a]=jR(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:a,toMessage:l},t?{syntaxPlugin:t}:{},c))},n=0,s=Object.keys(e);n0&&o.start===n.start&&this.resetStartLocation(n,a)}return n},r.parseSubscript=function(t,r,a,n){var s=e.prototype.parseSubscript.call(this,t,r,a,n);if(n.optionalChainMember){if("OptionalMemberExpression"!==s.type&&"OptionalCallExpression"!==s.type||(s.type=s.type.substring(8)),n.stop){var o=this.startNodeAtNode(s);return o.expression=s,this.finishNode(o,"ChainExpression")}}else"MemberExpression"!==s.type&&"CallExpression"!==s.type||(s.optional=!1);return s},r.isOptionalMemberExpression=function(t){return"ChainExpression"===t.type?"MemberExpression"===t.expression.type:e.prototype.isOptionalMemberExpression.call(this,t)},r.hasPropertyAsPrivateName=function(t){return"ChainExpression"===t.type&&(t=t.expression),e.prototype.hasPropertyAsPrivateName.call(this,t)},r.isObjectProperty=function(e){return"Property"===e.type&&"init"===e.kind&&!e.method},r.isObjectMethod=function(e){return"Property"===e.type&&(e.method||"get"===e.kind||"set"===e.kind)},r.finishNodeAt=function(t,r,a){return CR(e.prototype.finishNodeAt.call(this,t,r,a))},r.resetStartLocation=function(t,r){e.prototype.resetStartLocation.call(this,t,r),CR(t)},r.resetEndLocation=function(t,r){void 0===r&&(r=this.state.lastTokEndLoc),e.prototype.resetEndLocation.call(this,t,r),CR(t)},p(t)}(e)},_R=p((function(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t})),DR={brace:new _R("{"),j_oTag:new _R("...",!0)};DR.template=new _R("`",!0);var IR=!0,OR=!0,NR=!0,BR=!0,FR=!0,MR=!0,LR=p((function(e,t){void 0===t&&(t={}),this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null})),UR=new Map;function qR(e,t){void 0===t&&(t={}),t.keyword=e;var r=JR(e,t);return UR.set(e,r),r}function WR(e,t){return JR(e,{beforeExpr:IR,binop:t})}var HR=-1,zR=[],VR=[],GR=[],KR=[],YR=[],XR=[];function JR(e,t){var r,a,n,s;return void 0===t&&(t={}),++HR,VR.push(e),GR.push(null!=(r=t.binop)?r:-1),KR.push(null!=(a=t.beforeExpr)&&a),YR.push(null!=(n=t.startsExpr)&&n),XR.push(null!=(s=t.prefix)&&s),zR.push(new LR(e,t)),HR}function $R(e,t){var r,a,n,s;return void 0===t&&(t={}),++HR,UR.set(e,HR),VR.push(e),GR.push(null!=(r=t.binop)?r:-1),KR.push(null!=(a=t.beforeExpr)&&a),YR.push(null!=(n=t.startsExpr)&&n),XR.push(null!=(s=t.prefix)&&s),zR.push(new LR("name",t)),HR}var QR={bracketL:JR("[",{beforeExpr:IR,startsExpr:OR}),bracketHashL:JR("#[",{beforeExpr:IR,startsExpr:OR}),bracketBarL:JR("[|",{beforeExpr:IR,startsExpr:OR}),bracketR:JR("]"),bracketBarR:JR("|]"),braceL:JR("{",{beforeExpr:IR,startsExpr:OR}),braceBarL:JR("{|",{beforeExpr:IR,startsExpr:OR}),braceHashL:JR("#{",{beforeExpr:IR,startsExpr:OR}),braceR:JR("}"),braceBarR:JR("|}"),parenL:JR("(",{beforeExpr:IR,startsExpr:OR}),parenR:JR(")"),comma:JR(",",{beforeExpr:IR}),semi:JR(";",{beforeExpr:IR}),colon:JR(":",{beforeExpr:IR}),doubleColon:JR("::",{beforeExpr:IR}),dot:JR("."),question:JR("?",{beforeExpr:IR}),questionDot:JR("?."),arrow:JR("=>",{beforeExpr:IR}),template:JR("template"),ellipsis:JR("...",{beforeExpr:IR}),backQuote:JR("`",{startsExpr:OR}),dollarBraceL:JR("${",{beforeExpr:IR,startsExpr:OR}),templateTail:JR("...`",{startsExpr:OR}),templateNonTail:JR("...${",{beforeExpr:IR,startsExpr:OR}),at:JR("@"),hash:JR("#",{startsExpr:OR}),interpreterDirective:JR("#!..."),eq:JR("=",{beforeExpr:IR,isAssign:BR}),assign:JR("_=",{beforeExpr:IR,isAssign:BR}),slashAssign:JR("_=",{beforeExpr:IR,isAssign:BR}),xorAssign:JR("_=",{beforeExpr:IR,isAssign:BR}),moduloAssign:JR("_=",{beforeExpr:IR,isAssign:BR}),incDec:JR("++/--",{prefix:FR,postfix:MR,startsExpr:OR}),bang:JR("!",{beforeExpr:IR,prefix:FR,startsExpr:OR}),tilde:JR("~",{beforeExpr:IR,prefix:FR,startsExpr:OR}),doubleCaret:JR("^^",{startsExpr:OR}),doubleAt:JR("@@",{startsExpr:OR}),pipeline:WR("|>",0),nullishCoalescing:WR("??",1),logicalOR:WR("||",1),logicalAND:WR("&&",2),bitwiseOR:WR("|",3),bitwiseXOR:WR("^",4),bitwiseAND:WR("&",5),equality:WR("==/!=/===/!==",6),lt:WR("/<=/>=",7),gt:WR("/<=/>=",7),relational:WR("/<=/>=",7),bitShift:WR("<>/>>>",8),bitShiftL:WR("<>/>>>",8),bitShiftR:WR("<>/>>>",8),plusMin:JR("+/-",{beforeExpr:IR,binop:9,prefix:FR,startsExpr:OR}),modulo:JR("%",{binop:10,startsExpr:OR}),star:JR("*",{binop:10}),slash:WR("/",10),exponent:JR("**",{beforeExpr:IR,binop:11,rightAssociative:!0}),_in:qR("in",{beforeExpr:IR,binop:7}),_instanceof:qR("instanceof",{beforeExpr:IR,binop:7}),_break:qR("break"),_case:qR("case",{beforeExpr:IR}),_catch:qR("catch"),_continue:qR("continue"),_debugger:qR("debugger"),_default:qR("default",{beforeExpr:IR}),_else:qR("else",{beforeExpr:IR}),_finally:qR("finally"),_function:qR("function",{startsExpr:OR}),_if:qR("if"),_return:qR("return",{beforeExpr:IR}),_switch:qR("switch"),_throw:qR("throw",{beforeExpr:IR,prefix:FR,startsExpr:OR}),_try:qR("try"),_var:qR("var"),_const:qR("const"),_with:qR("with"),_new:qR("new",{beforeExpr:IR,startsExpr:OR}),_this:qR("this",{startsExpr:OR}),_super:qR("super",{startsExpr:OR}),_class:qR("class",{startsExpr:OR}),_extends:qR("extends",{beforeExpr:IR}),_export:qR("export"),_import:qR("import",{startsExpr:OR}),_null:qR("null",{startsExpr:OR}),_true:qR("true",{startsExpr:OR}),_false:qR("false",{startsExpr:OR}),_typeof:qR("typeof",{beforeExpr:IR,prefix:FR,startsExpr:OR}),_void:qR("void",{beforeExpr:IR,prefix:FR,startsExpr:OR}),_delete:qR("delete",{beforeExpr:IR,prefix:FR,startsExpr:OR}),_do:qR("do",{isLoop:NR,beforeExpr:IR}),_for:qR("for",{isLoop:NR}),_while:qR("while",{isLoop:NR}),_as:$R("as",{startsExpr:OR}),_assert:$R("assert",{startsExpr:OR}),_async:$R("async",{startsExpr:OR}),_await:$R("await",{startsExpr:OR}),_defer:$R("defer",{startsExpr:OR}),_from:$R("from",{startsExpr:OR}),_get:$R("get",{startsExpr:OR}),_let:$R("let",{startsExpr:OR}),_meta:$R("meta",{startsExpr:OR}),_of:$R("of",{startsExpr:OR}),_sent:$R("sent",{startsExpr:OR}),_set:$R("set",{startsExpr:OR}),_source:$R("source",{startsExpr:OR}),_static:$R("static",{startsExpr:OR}),_using:$R("using",{startsExpr:OR}),_yield:$R("yield",{startsExpr:OR}),_asserts:$R("asserts",{startsExpr:OR}),_checks:$R("checks",{startsExpr:OR}),_exports:$R("exports",{startsExpr:OR}),_global:$R("global",{startsExpr:OR}),_implements:$R("implements",{startsExpr:OR}),_intrinsic:$R("intrinsic",{startsExpr:OR}),_infer:$R("infer",{startsExpr:OR}),_is:$R("is",{startsExpr:OR}),_mixins:$R("mixins",{startsExpr:OR}),_proto:$R("proto",{startsExpr:OR}),_require:$R("require",{startsExpr:OR}),_satisfies:$R("satisfies",{startsExpr:OR}),_keyof:$R("keyof",{startsExpr:OR}),_readonly:$R("readonly",{startsExpr:OR}),_unique:$R("unique",{startsExpr:OR}),_abstract:$R("abstract",{startsExpr:OR}),_declare:$R("declare",{startsExpr:OR}),_enum:$R("enum",{startsExpr:OR}),_module:$R("module",{startsExpr:OR}),_namespace:$R("namespace",{startsExpr:OR}),_interface:$R("interface",{startsExpr:OR}),_type:$R("type",{startsExpr:OR}),_opaque:$R("opaque",{startsExpr:OR}),name:JR("name",{startsExpr:OR}),string:JR("string",{startsExpr:OR}),num:JR("num",{startsExpr:OR}),bigint:JR("bigint",{startsExpr:OR}),decimal:JR("decimal",{startsExpr:OR}),regexp:JR("regexp",{startsExpr:OR}),privateName:JR("#name",{startsExpr:OR}),eof:JR("eof"),jsxName:JR("jsxName"),jsxText:JR("jsxText",{beforeExpr:!0}),jsxTagStart:JR("jsxTagStart",{startsExpr:!0}),jsxTagEnd:JR("jsxTagEnd"),placeholder:JR("%%",{startsExpr:!0})};function ZR(e){return e>=93&&e<=132}function ew(e){return e<=92}function tw(e){return e>=58&&e<=132}function rw(e){return e>=58&&e<=136}function aw(e){return KR[e]}function nw(e){return YR[e]}function sw(e){return e>=29&&e<=33}function ow(e){return e>=129&&e<=131}function iw(e){return e>=90&&e<=92}function dw(e){return e>=58&&e<=92}function cw(e){return e>=39&&e<=59}function lw(e){return 34===e}function uw(e){return XR[e]}function pw(e){return e>=121&&e<=123}function fw(e){return e>=124&&e<=130}function gw(e){return VR[e]}function mw(e){return GR[e]}function hw(e){return 57===e}function yw(e){return e>=24&&e<=25}function bw(e){return zR[e]}function vw(e,t,r){return 64===e&&64===t&&So(r)}zR[8].updateContext=function(e){e.pop()},zR[5].updateContext=zR[7].updateContext=zR[23].updateContext=function(e){e.push(DR.brace)},zR[22].updateContext=function(e){e[e.length-1]===DR.template?e.pop():e.push(DR.template)},zR[142].updateContext=function(e){e.push(DR.j_expr,DR.j_oTag)};var xw=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Rw(e){return xw.has(e)}var ww={OTHER:0,PROGRAM:1,FUNCTION:2,ARROW:4,SIMPLE_CATCH:8,SUPER:16,DIRECT_SUPER:32,CLASS:64,STATIC_BLOCK:128,TS_MODULE:256,VAR:387},Ew={KIND_VALUE:1,KIND_TYPE:2,SCOPE_VAR:4,SCOPE_LEXICAL:8,SCOPE_FUNCTION:16,SCOPE_OUTSIDE:32,FLAG_NONE:64,FLAG_CLASS:128,FLAG_TS_ENUM:256,FLAG_TS_CONST_ENUM:512,FLAG_TS_EXPORT_ONLY:1024,FLAG_FLOW_DECLARE_FN:2048,FLAG_TS_IMPORT:4096,FLAG_NO_LET_IN_LEXICAL:8192,TYPE_CLASS:8331,TYPE_LEXICAL:8201,TYPE_CATCH_PARAM:9,TYPE_VAR:5,TYPE_FUNCTION:17,TYPE_TS_INTERFACE:130,TYPE_TS_TYPE:2,TYPE_TS_ENUM:8459,TYPE_TS_AMBIENT:1024,TYPE_NONE:64,TYPE_OUTSIDE:65,TYPE_TS_CONST_ENUM:8971,TYPE_TS_NAMESPACE:1024,TYPE_TS_TYPE_IMPORT:4098,TYPE_TS_VALUE_IMPORT:4096,TYPE_FLOW_DECLARE_FN:2048},jw={OTHER:0,FLAG_STATIC:4,KIND_GETTER:2,KIND_SETTER:1,KIND_ACCESSOR:3,STATIC_GETTER:6,STATIC_SETTER:5,INSTANCE_GETTER:2,INSTANCE_SETTER:1},Sw={Var:1,Lexical:2,Function:4},Tw=p((function(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e})),Aw=function(){function e(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}var t=e.prototype;return t.createScope=function(e){return new Tw(e)},t.enter=function(e){this.scopeStack.push(this.createScope(e))},t.exit=function(){return this.scopeStack.pop().flags},t.treatFunctionsAsVarInScope=function(e){return!!(e.flags&(ww.FUNCTION|ww.STATIC_BLOCK)||!this.parser.inModule&&e.flags&ww.PROGRAM)},t.declareName=function(e,t,r){var a=this.currentScope();if(t&Ew.SCOPE_LEXICAL||t&Ew.SCOPE_FUNCTION){this.checkRedeclarationInScope(a,e,t,r);var n=a.names.get(e)||0;t&Ew.SCOPE_FUNCTION?n|=Sw.Function:(a.firstLexicalName||(a.firstLexicalName=e),n|=Sw.Lexical),a.names.set(e,n),t&Ew.SCOPE_LEXICAL&&this.maybeExportDefined(a,e)}else if(t&Ew.SCOPE_VAR)for(var s=this.scopeStack.length-1;s>=0&&(a=this.scopeStack[s],this.checkRedeclarationInScope(a,e,t,r),a.names.set(e,(a.names.get(e)||0)|Sw.Var),this.maybeExportDefined(a,e),!(a.flags&ww.VAR));--s);this.parser.inModule&&a.flags&ww.PROGRAM&&this.undefinedExports.delete(e)},t.maybeExportDefined=function(e,t){this.parser.inModule&&e.flags&ww.PROGRAM&&this.undefinedExports.delete(t)},t.checkRedeclarationInScope=function(e,t,r,a){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(TR.VarRedeclaration,a,{identifierName:t})},t.isRedeclaredInScope=function(e,t,r){if(!(r&Ew.KIND_VALUE))return!1;if(r&Ew.SCOPE_LEXICAL)return e.names.has(t);var a=e.names.get(t);return r&Ew.SCOPE_FUNCTION?(a&Sw.Lexical)>0||!this.treatFunctionsAsVarInScope(e)&&(a&Sw.Var)>0:(a&Sw.Lexical)>0&&!(e.flags&ww.SIMPLE_CATCH&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(a&Sw.Function)>0},t.checkLocalExport=function(e){var t=e.name;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)},t.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},t.currentVarScopeFlags=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&ww.VAR)return t}},t.currentThisScopeFlags=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&(ww.VAR|ww.CLASS)&&!(t&ww.ARROW))return t}},p(e,[{key:"inTopLevel",get:function(){return(this.currentScope().flags&ww.PROGRAM)>0}},{key:"inFunction",get:function(){return(this.currentVarScopeFlags()&ww.FUNCTION)>0}},{key:"allowSuper",get:function(){return(this.currentThisScopeFlags()&ww.SUPER)>0}},{key:"allowDirectSuper",get:function(){return(this.currentThisScopeFlags()&ww.DIRECT_SUPER)>0}},{key:"inClass",get:function(){return(this.currentThisScopeFlags()&ww.CLASS)>0}},{key:"inClassAndNotInNonArrowFunction",get:function(){var e=this.currentThisScopeFlags();return(e&ww.CLASS)>0&&0===(e&ww.FUNCTION)}},{key:"inStaticBlock",get:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&ww.STATIC_BLOCK)return!0;if(t&(ww.VAR|ww.CLASS))return!1}}},{key:"inNonArrowFunction",get:function(){return(this.currentThisScopeFlags()&ww.FUNCTION)>0}},{key:"treatFunctionsAsVar",get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())}}])}(),kw=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n0||(n&Sw.Lexical)>0}return!1},r.checkLocalExport=function(t){this.scopeStack[0].declareFunctions.has(t.name)||e.prototype.checkLocalExport.call(this,t)},p(t)}(Aw);function Pw(e,t){var r;void 0===e.trailingComments?e.trailingComments=t:(r=e.trailingComments).unshift.apply(r,t)}function _w(e,t){var r;void 0===e.leadingComments?e.leadingComments=t:(r=e.leadingComments).unshift.apply(r,t)}function Dw(e,t){var r;void 0===e.innerComments?e.innerComments=t:(r=e.innerComments).unshift.apply(r,t)}function Iw(e,t,r){for(var a=null,n=t.length;null===a&&n>0;)a=t[--n];null===a||a.start>r.start?Dw(e,r.comments):Pw(a,r.comments)}var Ow=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var r=t.prototype;return r.addComment=function(e){this.filename&&(e.loc.filename=this.filename);var t=this.state.commentsLen;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++},r.processComment=function(e){var t=this.state.commentStack,r=t.length;if(0!==r){var a=r-1,n=t[a];n.start===e.end&&(n.leadingNode=e,a--);for(var s=e.start;a>=0;a--){var o=t[a],i=o.end;if(!(i>s)){i===s&&(o.trailingNode=e);break}o.containingNode=e,this.finalizeComment(o),t.splice(a,1)}}},r.finalizeComment=function(e){var t=e.comments;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Pw(e.leadingNode,t),null!==e.trailingNode&&_w(e.trailingNode,t);else{var r=e.containingNode,a=e.start;if(44===this.input.charCodeAt(a-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Iw(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Iw(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Iw(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Iw(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Iw(r,r.specifiers,e);break;default:Dw(r,t)}else Dw(r,t)}},r.finalizeRemainingComments=function(){for(var e=this.state.commentStack,t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]},r.resetPreviousNodeTrailingComments=function(e){var t=this.state.commentStack,r=t.length;if(0!==r){var a=t[r-1];a.leadingNode===e&&(a.leadingNode=null)}},r.resetPreviousIdentifierLeadingComments=function(e){var t=this.state.commentStack,r=t.length;0!==r&&(t[r-1].trailingNode===e?t[r-1].trailingNode=null:r>=2&&t[r-2].trailingNode===e&&(t[r-2].trailingNode=null))},r.takeSurroundingComments=function(e,t,r){var a=this.state.commentStack,n=a.length;if(0!==n)for(var s=n-1;s>=0;s--){var o=a[s],i=o.end;if(o.start===r)o.leadingNode=e;else if(i===t)o.trailingNode=e;else if(i0},set:function(e){e?this.flags|=1:this.flags&=-2}},{key:"maybeInArrowParameters",get:function(){return(2&this.flags)>0},set:function(e){e?this.flags|=2:this.flags&=-3}},{key:"inType",get:function(){return(4&this.flags)>0},set:function(e){e?this.flags|=4:this.flags&=-5}},{key:"noAnonFunctionType",get:function(){return(8&this.flags)>0},set:function(e){e?this.flags|=8:this.flags&=-9}},{key:"hasFlowComment",get:function(){return(16&this.flags)>0},set:function(e){e?this.flags|=16:this.flags&=-17}},{key:"isAmbientContext",get:function(){return(32&this.flags)>0},set:function(e){e?this.flags|=32:this.flags&=-33}},{key:"inAbstractClass",get:function(){return(64&this.flags)>0},set:function(e){e?this.flags|=64:this.flags&=-65}},{key:"inDisallowConditionalTypesContext",get:function(){return(128&this.flags)>0},set:function(e){e?this.flags|=128:this.flags&=-129}},{key:"soloAwait",get:function(){return(256&this.flags)>0},set:function(e){e?this.flags|=256:this.flags&=-257}},{key:"inFSharpPipelineDirectBody",get:function(){return(512&this.flags)>0},set:function(e){e?this.flags|=512:this.flags&=-513}},{key:"canStartJSXElement",get:function(){return(1024&this.flags)>0},set:function(e){e?this.flags|=1024:this.flags&=-1025}},{key:"containsEsc",get:function(){return(2048&this.flags)>0},set:function(e){e?this.flags|=2048:this.flags&=-2049}}])}();function zw(e,t,r){return new cR(r,e-t,e)}var Vw=new Set([103,109,115,105,121,117,100,118]),Gw=p((function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new lR(e.startLoc,e.endLoc)})),Kw=function(e){function t(t,r){var a;return(a=e.call(this)||this).isLookahead=void 0,a.tokens=[],a.errorHandlers_readInt={invalidDigit:function(e,t,r,n){return!!a.options.errorRecovery&&(a.raise(TR.InvalidDigit,zw(e,t,r),{radix:n}),!0)},numericSeparatorInEscapeSequence:a.errorBuilder(TR.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:a.errorBuilder(TR.UnexpectedNumericSeparator)},a.errorHandlers_readCodePoint=Object.assign({},a.errorHandlers_readInt,{invalidEscapeSequence:a.errorBuilder(TR.InvalidEscapeSequence),invalidCodePoint:a.errorBuilder(TR.InvalidCodePoint)}),a.errorHandlers_readStringContents_string=Object.assign({},a.errorHandlers_readCodePoint,{strictNumericEscape:function(e,t,r){a.recordStrictModeErrors(TR.StrictNumericEscape,zw(e,t,r))},unterminated:function(e,t,r){throw a.raise(TR.UnterminatedString,zw(e-1,t,r))}}),a.errorHandlers_readStringContents_template=Object.assign({},a.errorHandlers_readCodePoint,{strictNumericEscape:a.errorBuilder(TR.StrictNumericEscape),unterminated:function(e,t,r){throw a.raise(TR.UnterminatedTemplate,zw(e,t,r))}}),a.state=new Hw,a.state.init(t),a.input=r,a.length=r.length,a.comments=[],a.isLookahead=!1,a}f(t,e);var r=t.prototype;return r.pushToken=function(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength},r.next=function(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Gw(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()},r.eat=function(e){return!!this.match(e)&&(this.next(),!0)},r.match=function(e){return this.state.type===e},r.createLookaheadState=function(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}},r.lookahead=function(){var e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;var t=this.state;return this.state=e,t},r.nextTokenStart=function(){return this.nextTokenStartSince(this.state.pos)},r.nextTokenStartSince=function(e){return Mw.lastIndex=e,Mw.test(this.input)?Mw.lastIndex:e},r.lookaheadCharCode=function(){return this.input.charCodeAt(this.nextTokenStart())},r.nextTokenInLineStart=function(){return this.nextTokenInLineStartSince(this.state.pos)},r.nextTokenInLineStartSince=function(e){return Lw.lastIndex=e,Lw.test(this.input)?Lw.lastIndex:e},r.lookaheadInLineCharCode=function(){return this.input.charCodeAt(this.nextTokenInLineStart())},r.codePointAtPos=function(e){var t=this.input.charCodeAt(e);if(55296===(64512&t)&&++e=this.length?this.finishToken(139):this.getTokenFromCode(this.codePointAtPos(this.state.pos))},r.skipBlockComment=function(e){var t;this.isLookahead||(t=this.state.curPosition());var r=this.state.pos,a=this.input.indexOf(e,r+2);if(-1===a)throw this.raise(TR.UnterminatedComment,this.state.curPosition());for(this.state.pos=a+e.length,Bw.lastIndex=r+2;Bw.test(this.input)&&Bw.lastIndex<=a;)++this.state.curLine,this.state.lineStart=Bw.lastIndex;if(!this.isLookahead){var n={type:"CommentBlock",value:this.input.slice(r+2,a),start:r,end:a+e.length,loc:new lR(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}},r.skipLineComment=function(e){var t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());var a=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose))break e;var o=this.skipLineComment(3);void 0!==o&&(this.addComment(o),this.options.attachComment&&t.push(o))}else{if(60!==r||this.inModule||!this.options.annexB)break e;var i=this.state.pos;if(33!==this.input.charCodeAt(i+1)||45!==this.input.charCodeAt(i+2)||45!==this.input.charCodeAt(i+3))break e;var d=this.skipLineComment(4);void 0!==d&&(this.addComment(d),this.options.attachComment&&t.push(d))}}}if(t.length>0){var c={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(c)}},r.finishToken=function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)},r.replaceToken=function(e){this.state.type=e,this.updateContext()},r.readToken_numberSign=function(){if(0!==this.state.pos||!this.readToken_interpreter()){var e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(TR.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?TR.RecordExpressionHashIncorrectStartSyntaxType:TR.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else So(t)?(++this.state.pos,this.finishToken(138,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}},r.readToken_dot=function(){var e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))},r.readToken_slash=function(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)},r.readToken_interpreter=function(){if(0!==this.state.pos||this.length<2)return!1;var e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;var t=this.state.pos;for(this.state.pos+=1;!Fw(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))},r.getTokenFromCode=function(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(TR.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(TR.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return void this.readRadixNumber(16);if(111===t||79===t)return void this.readRadixNumber(8);if(98===t||66===t)return void this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(So(e))return void this.readWord(e)}throw this.raise(TR.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})},r.finishOp=function(e,t){var r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)},r.readRegexp=function(){for(var e,t,r=this.state.startLoc,a=this.state.start+1,n=this.state.pos;;++n){if(n>=this.length)throw this.raise(TR.UnterminatedRegExp,uR(r,1));var s=this.input.charCodeAt(n);if(Fw(s))throw this.raise(TR.UnterminatedRegExp,uR(r,1));if(e)e=!1;else{if(91===s)t=!0;else if(93===s&&t)t=!1;else if(47===s&&!t)break;e=92===s}}var o=this.input.slice(a,n);++n;for(var i="",d=function(){return uR(r,n+2-a)};n=2&&48===this.input.charCodeAt(t);if(d){var c=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(TR.StrictOctalLiteral,r),!this.state.strict){var l=c.indexOf("_");l>0&&this.raise(TR.ZeroDigitNumericSeparator,uR(r,l))}i=d&&!/[89]/.test(c)}var u=this.input.charCodeAt(this.state.pos);if(46!==u||i||(++this.state.pos,this.readInt(10),a=!0,u=this.input.charCodeAt(this.state.pos)),69!==u&&101!==u||i||(43!==(u=this.input.charCodeAt(++this.state.pos))&&45!==u||++this.state.pos,null===this.readInt(10)&&this.raise(TR.InvalidOrMissingExponent,r),a=!0,o=!0,u=this.input.charCodeAt(this.state.pos)),110===u&&((a||d)&&this.raise(TR.InvalidBigIntLiteral,r),++this.state.pos,n=!0),109===u&&(this.expectPlugin("decimal",this.state.curPosition()),(o||d)&&this.raise(TR.InvalidDecimal,r),++this.state.pos,s=!0),So(this.codePointAtPos(this.state.pos)))throw this.raise(TR.NumberIdentifier,this.state.curPosition());var p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n)this.finishToken(135,p);else if(s)this.finishToken(136,p);else{var f=i?parseInt(p,8):parseFloat(p);this.finishToken(134,f)}},r.readCodePoint=function(e){var t=Go(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint),r=t.code,a=t.pos;return this.state.pos=a,r},r.readString=function(e){var t=qo(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string),r=t.str,a=t.pos,n=t.curLine,s=t.lineStart;this.state.pos=a+1,this.state.lineStart=s,this.state.curLine=n,this.finishToken(133,r)},r.readTemplateContinuation=function(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()},r.readTemplateToken=function(){var e=this.input[this.state.pos],t=qo("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template),r=t.str,a=t.firstInvalidLoc,n=t.pos,s=t.curLine,o=t.lineStart;this.state.pos=n+1,this.state.lineStart=o,this.state.curLine=s,a&&(this.state.firstInvalidTemplateEscapePos=new cR(a.curLine,a.pos-a.lineStart,a.pos)),96===this.input.codePointAt(n)?this.finishToken(24,a?null:e+r+"`"):(this.state.pos++,this.finishToken(25,a?null:e+r+"${"))},r.recordStrictModeErrors=function(e,t){var r=t.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,t):this.state.strictErrors.set(r,[e,t])},r.readWord1=function(e){this.state.containsEsc=!1;var t="",r=this.state.pos,a=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos=0;o--){var i=s[o];if(i.loc.index===n)return s[o]=e(a,r);if(i.loc.index0}},{key:"hasYield",get:function(){return(this.currentFlags()&aE.PARAM_YIELD)>0}},{key:"hasReturn",get:function(){return(this.currentFlags()&aE.PARAM_RETURN)>0}},{key:"hasIn",get:function(){return(this.currentFlags()&aE.PARAM_IN)>0}}])}();function sE(e,t){return(e?aE.PARAM_AWAIT:0)|(t?aE.PARAM_YIELD:0)}var oE=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var r=t.prototype;return r.addExtra=function(e,t,r,a){if(void 0===a&&(a=!0),e){var n=e.extra=e.extra||{};a?n[t]=r:Object.defineProperty(n,t,{enumerable:a,value:r})}},r.isContextual=function(e){return this.state.type===e&&!this.state.containsEsc},r.isUnparsedContextual=function(e,t){var r=e+t.length;if(this.input.slice(e,r)===t){var a=this.input.charCodeAt(r);return!(To(a)||55296===(64512&a))}return!1},r.isLookaheadContextual=function(e){var t=this.nextTokenStart();return this.isUnparsedContextual(t,e)},r.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},r.expectContextual=function(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}},r.canInsertSemicolon=function(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()},r.hasPrecedingLineBreak=function(){return Nw.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))},r.hasFollowingLineBreak=function(){return Uw.lastIndex=this.state.end,Uw.test(this.input)},r.isLineTerminator=function(){return this.eat(13)||this.canInsertSemicolon()},r.semicolon=function(e){void 0===e&&(e=!0),(e?this.isLineTerminator():this.eat(13))||this.raise(TR.MissingSemicolon,this.state.lastTokEndLoc)},r.expect=function(e,t){this.eat(e)||this.unexpected(t,e)},r.tryParse=function(e,t){void 0===t&&(t=this.state.clone());var r={node:null};try{var a=e((function(e){throw void 0===e&&(e=null),r.node=e,r}));if(this.state.errors.length>t.errors.length){var n=this.state;return this.state=t,this.state.tokensLength=n.tokensLength,{node:a,error:n.errors[t.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:a,error:null,thrown:!1,aborted:!1,failState:null}}catch(n$){var s=this.state;if(this.state=t,n$ instanceof SyntaxError)return{node:null,error:n$,thrown:!0,aborted:!1,failState:s};if(n$===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:s};throw n$}},r.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssignLoc,a=e.doubleProtoLoc,n=e.privateKeyLoc,s=e.optionalParametersLoc;if(!t)return!!r||!!a||!!s||!!n;null!=r&&this.raise(TR.InvalidCoverInitializedName,r),null!=a&&this.raise(TR.DuplicateProto,a),null!=n&&this.raise(TR.UnexpectedPrivateField,n),null!=s&&this.unexpected(s)},r.isLiteralPropertyName=function(){return rw(this.state.type)},r.isPrivateName=function(e){return"PrivateName"===e.type},r.getPrivateNameSV=function(e){return e.id.name},r.hasPropertyAsPrivateName=function(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)},r.isObjectProperty=function(e){return"ObjectProperty"===e.type},r.isObjectMethod=function(e){return"ObjectMethod"===e.type},r.initializeScopes=function(e){var t=this;void 0===e&&(e="module"===this.options.sourceType);var r=this.state.labels;this.state.labels=[];var a=this.exportedIdentifiers;this.exportedIdentifiers=new Set;var n=this.inModule;this.inModule=e;var s=this.scope,o=this.getScopeHandler();this.scope=new o(this,e);var i=this.prodParam;this.prodParam=new nE;var d=this.classScope;this.classScope=new Xw(this);var c=this.expressionScope;return this.expressionScope=new Qw(this),function(){t.state.labels=r,t.exportedIdentifiers=a,t.inModule=n,t.scope=s,t.prodParam=i,t.classScope=d,t.expressionScope=c}},r.enterInitialScopes=function(){var e=aE.PARAM;this.inModule&&(e|=aE.PARAM_AWAIT),this.scope.enter(ww.PROGRAM),this.prodParam.enter(e)},r.checkDestructuringPrivate=function(e){var t=e.privateKeyLoc;null!==t&&this.expectPlugin("destructuringPrivate",t)},p(t)}(Kw),iE=p((function(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null})),dE=p((function(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new lR(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)})),cE=dE.prototype;function lE(e){return uE(e)}function uE(e){var t=e.type,r=e.start,a=e.end,n=e.loc,s=e.range,o=e.extra,i=e.name,d=Object.create(cE);return d.type=t,d.start=r,d.end=a,d.loc=n,d.range=s,d.extra=o,d.name=i,"Placeholder"===t&&(d.expectedNode=e.expectedNode),d}function pE(e){var t=e.type,r=e.start,a=e.end,n=e.loc,s=e.range,o=e.extra;if("Placeholder"===t)return lE(e);var i=Object.create(cE);return i.type=t,i.start=r,i.end=a,i.loc=n,i.range=s,void 0!==e.raw?i.raw=e.raw:i.extra=o,i.value=e.value,i}cE.__clone=function(){for(var e=new dE(void 0,this.start,this.loc.start),t=Object.keys(this),r=0,a=t.length;r async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:function(e){return"`declare export "+e.unsupportedExportKind+"` is not supported. Use `"+e.suggestion+"` instead."},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function yE(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}function bE(e){return"type"===e.importKind||"typeof"===e.importKind}var vE={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function xE(e,t){for(var r=[],a=[],n=0;nr.index+1&&this.raise(hE.UnexpectedSpaceBetweenModuloChecks,r),this.eat(10)?(t.value=e.prototype.parseExpression.call(this),this.expect(11),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")},r.flowParseTypeAndPredicateInitialiser=function(){var e=this.state.inType;this.state.inType=!0,this.expect(14);var t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]},r.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")},r.flowParseDeclareFunction=function(e){this.next();var t=e.id=this.parseIdentifier(),r=this.startNode(),a=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);var n=this.flowParseFunctionTypeParams();r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11);var s=this.flowParseTypeAndPredicateInitialiser();return r.returnType=s[0],e.predicate=s[1],a.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(a,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,Ew.TYPE_FLOW_DECLARE_FN,e.id.loc.start),this.finishNode(e,"DeclareFunction")},r.flowParseDeclare=function(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(hE.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e)):this.isContextual(130)?this.flowParseDeclareTypeAlias(e):this.isContextual(131)?this.flowParseDeclareOpaqueType(e):this.isContextual(129)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()},r.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,Ew.TYPE_VAR,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")},r.flowParseDeclareModule=function(t){var r=this;this.scope.enter(ww.OTHER),this.match(133)?t.id=e.prototype.parseExprAtom.call(this):t.id=this.parseIdentifier();var a=t.body=this.startNode(),n=a.body=[];for(this.expect(5);!this.match(8);){var s=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(hE.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),e.prototype.parseImport.call(this,s)):(this.expectContextual(125,hE.UnsupportedStatementInDeclareModule),s=this.flowParseDeclare(s,!0)),n.push(s)}this.scope.exit(),this.expect(8),this.finishNode(a,"BlockStatement");var o=null,i=!1;return n.forEach((function(e){yE(e)?("CommonJS"===o&&r.raise(hE.AmbiguousDeclareModuleKind,e),o="ES"):"DeclareModuleExports"===e.type&&(i&&r.raise(hE.DuplicateDeclareModuleExports,e),"ES"===o&&r.raise(hE.AmbiguousDeclareModuleKind,e),o="CommonJS",i=!0)})),t.kind=o||"CommonJS",this.finishNode(t,"DeclareModule")},r.flowParseDeclareExportDeclaration=function(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!t){var r=this.state.value;throw this.raise(hE.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:vE[r]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()},r.flowParseDeclareModuleExports=function(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},r.flowParseDeclareTypeAlias=function(e){this.next();var t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t},r.flowParseDeclareOpaqueType=function(e){this.next();var t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t},r.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")},r.flowParseInterfaceish=function(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?Ew.TYPE_FUNCTION:Ew.TYPE_LEXICAL,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(113))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})},r.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},r.flowParseInterface=function(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")},r.checkNotUnderscore=function(e){"_"===e&&this.raise(hE.UnexpectedReservedUnderscore,this.state.startLoc)},r.checkReservedType=function(e,t,r){mE.has(e)&&this.raise(r?hE.AssignReservedType:hE.UnexpectedReservedType,t,{reservedType:e})},r.flowParseRestrictedIdentifier=function(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)},r.flowParseTypeAlias=function(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,Ew.TYPE_LEXICAL,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")},r.flowParseOpaqueType=function(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,Ew.TYPE_LEXICAL,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")},r.flowParseTypeParameter=function(e){void 0===e&&(e=!1);var t=this.state.startLoc,r=this.startNode(),a=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=a,r.bound=n.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(hE.MissingTypeParamDefault,t),this.finishNode(r,"TypeParameter")},r.flowParseTypeParameterDeclaration=function(){var e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();var r=!1;do{var a=this.flowParseTypeParameter(r);t.params.push(a),a.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")},r.flowParseTypeParameterInstantiation=function(){var e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);var r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},r.flowParseTypeParameterInstantiationCallOrNew=function(){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},r.flowParseInterfaceType=function(){var e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")},r.flowParseObjectPropertyKey=function(){return this.match(134)||this.match(133)?e.prototype.parseExprAtom.call(this):this.parseIdentifier(!0)},r.flowParseObjectTypeIndexer=function(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")},r.flowParseObjectTypeInternalSlot=function(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")},r.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},r.flowParseObjectTypeCallProperty=function(e,t){var r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")},r.flowParseObjectType=function(e){var t=e.allowStatic,r=e.allowExact,a=e.allowSpread,n=e.allowProto,s=e.allowInexact,o=this.state.inType;this.state.inType=!0;var i,d,c=this.startNode();c.callProperties=[],c.properties=[],c.indexers=[],c.internalSlots=[];var l=!1;for(r&&this.match(6)?(this.expect(6),i=9,d=!0):(this.expect(5),i=8,d=!1),c.exact=d;!this.match(i);){var u=!1,p=null,f=null,g=this.startNode();if(n&&this.isContextual(118)){var m=this.lookahead();14!==m.type&&17!==m.type&&(this.next(),p=this.state.startLoc,t=!1)}if(t&&this.isContextual(106)){var h=this.lookahead();14!==h.type&&17!==h.type&&(this.next(),u=!0)}var y=this.flowParseVariance();if(this.eat(0))null!=p&&this.unexpected(p),this.eat(0)?(y&&this.unexpected(y.loc.start),c.internalSlots.push(this.flowParseObjectTypeInternalSlot(g,u))):c.indexers.push(this.flowParseObjectTypeIndexer(g,u,y));else if(this.match(10)||this.match(47))null!=p&&this.unexpected(p),y&&this.unexpected(y.loc.start),c.callProperties.push(this.flowParseObjectTypeCallProperty(g,u));else{var b="init";(this.isContextual(99)||this.isContextual(104))&&rw(this.lookahead().type)&&(b=this.state.value,this.next());var v=this.flowParseObjectTypeProperty(g,u,p,y,b,a,null!=s?s:!d);null===v?(l=!0,f=this.state.lastTokStartLoc):c.properties.push(v)}this.flowObjectTypeSemicolon(),!f||this.match(8)||this.match(9)||this.raise(hE.UnexpectedExplicitInexactInObject,f)}this.expect(i),a&&(c.inexact=l);var x=this.finishNode(c,"ObjectTypeAnnotation");return this.state.inType=o,x},r.flowParseObjectTypeProperty=function(e,t,r,a,n,s,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?o||this.raise(hE.InexactInsideExact,this.state.lastTokStartLoc):this.raise(hE.InexactInsideNonObject,this.state.lastTokStartLoc),a&&this.raise(hE.InexactVariance,a),null):(s||this.raise(hE.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=r&&this.unexpected(r),a&&this.raise(hE.SpreadVariance,a),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=n;var i=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),a&&this.unexpected(a.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(hE.ThisParamBannedInConstructor,e.value.this)):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(i=!0),e.value=this.flowParseTypeInitialiser(),e.variance=a),e.optional=i,this.finishNode(e,"ObjectTypeProperty")},r.flowCheckGetterSetterParams=function(e){var t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?hE.GetterMayNotHaveThisParam:hE.SetterMayNotHaveThisParam,e.value.this),r!==t&&this.raise("get"===e.kind?TR.BadGetterArity:TR.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(TR.BadSetterRestParameter,e)},r.flowObjectTypeSemicolon=function(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()},r.flowParseQualifiedTypeIdentifier=function(e,t){null!=e||(e=this.state.startLoc);for(var r=t||this.flowParseRestrictedIdentifier(!0);this.eat(16);){var a=this.startNodeAt(e);a.qualification=r,a.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(a,"QualifiedTypeIdentifier")}return r},r.flowParseGenericType=function(e,t){var r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")},r.flowParseTypeofType=function(){var e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},r.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(0);this.state.pos0){var g=[].concat(o);if(f.length>0){this.state=s,this.state.noArrowAt=g;for(var m=0;m1&&this.raise(hE.AmbiguousConditionalArrow,s.startLoc),l&&1===p.length){this.state=s,g.push(p[0].start),this.state.noArrowAt=g;var b=this.tryParseConditionalConsequent();c=b.consequent,l=b.failed}}return this.getArrowLikeExpressions(c,!0),this.state.noArrowAt=o,this.expect(14),i.test=e,i.consequent=c,i.alternate=this.forwardNoArrowParamsConversionAt(i,(function(){return a.parseMaybeAssign(void 0,void 0)})),this.finishNode(i,"ConditionalExpression")},r.tryParseConditionalConsequent=function(){this.state.noArrowParamsConversionAt.push(this.state.start);var e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}},r.getArrowLikeExpressions=function(e,t){for(var r=this,a=[e],n=[];0!==a.length;){var s=a.pop();"ArrowFunctionExpression"===s.type&&"BlockStatement"!==s.body.type?(s.typeParameters||!s.returnType?this.finishArrowValidation(s):n.push(s),a.push(s.body)):"ConditionalExpression"===s.type&&(a.push(s.consequent),a.push(s.alternate))}return t?(n.forEach((function(e){return r.finishArrowValidation(e)})),[n,[]]):xE(n,(function(e){return e.params.every((function(e){return r.isAssignable(e,!0)}))}))},r.finishArrowValidation=function(t){var r;this.toAssignableList(t.params,null==(r=t.extra)?void 0:r.trailingCommaLoc,!1),this.scope.enter(ww.FUNCTION|ww.ARROW),e.prototype.checkParams.call(this,t,!1,!0),this.scope.exit()},r.forwardNoArrowParamsConversionAt=function(e,t){var r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r},r.parseParenItem=function(t,r){var a=e.prototype.parseParenItem.call(this,t,r);if(this.eat(17)&&(a.optional=!0,this.resetEndLocation(t)),this.match(14)){var n=this.startNodeAt(r);return n.expression=a,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return a},r.assertModuleNodeAllowed=function(t){"ImportDeclaration"===t.type&&("type"===t.importKind||"typeof"===t.importKind)||"ExportNamedDeclaration"===t.type&&"type"===t.exportKind||"ExportAllDeclaration"===t.type&&"type"===t.exportKind||e.prototype.assertModuleNodeAllowed.call(this,t)},r.parseExportDeclaration=function(t){if(this.isContextual(130)){t.exportKind="type";var r=this.startNode();return this.next(),this.match(5)?(t.specifiers=this.parseExportSpecifiers(!0),e.prototype.parseExportFrom.call(this,t),null):this.flowParseTypeAlias(r)}if(this.isContextual(131)){t.exportKind="type";var a=this.startNode();return this.next(),this.flowParseOpaqueType(a,!1)}if(this.isContextual(129)){t.exportKind="type";var n=this.startNode();return this.next(),this.flowParseInterface(n)}if(this.shouldParseEnums()&&this.isContextual(126)){t.exportKind="value";var s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}return e.prototype.parseExportDeclaration.call(this,t)},r.eatExportStar=function(t){return!!e.prototype.eatExportStar.call(this,t)||!(!this.isContextual(130)||55!==this.lookahead().type)&&(t.exportKind="type",this.next(),this.next(),!0)},r.maybeParseExportNamespaceSpecifier=function(t){var r=this.state.startLoc,a=e.prototype.maybeParseExportNamespaceSpecifier.call(this,t);return a&&"type"===t.exportKind&&this.unexpected(r),a},r.parseClassId=function(t,r,a){e.prototype.parseClassId.call(this,t,r,a),this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration())},r.parseClassMember=function(t,r,a){var n=this.state.startLoc;if(this.isContextual(125)){if(e.prototype.parseClassMemberFromModifier.call(this,t,r))return;r.declare=!0}e.prototype.parseClassMember.call(this,t,r,a),r.declare&&("ClassProperty"!==r.type&&"ClassPrivateProperty"!==r.type&&"PropertyDefinition"!==r.type?this.raise(hE.DeclareClassElement,n):r.value&&this.raise(hE.DeclareClassFieldInitializer,r.value))},r.isIterator=function(e){return"iterator"===e||"asyncIterator"===e},r.readIterator=function(){var t=e.prototype.readWord1.call(this),r="@@"+t;this.isIterator(t)&&this.state.inType||this.raise(TR.InvalidIdentifier,this.state.curPosition(),{identifierName:r}),this.finishToken(132,r)},r.getTokenFromCode=function(t){var r=this.input.charCodeAt(this.state.pos+1);123===t&&124===r?this.finishOp(6,2):!this.state.inType||62!==t&&60!==t?this.state.inType&&63===t?46===r?this.finishOp(18,2):this.finishOp(17,1):vw(t,r,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):e.prototype.getTokenFromCode.call(this,t):this.finishOp(62===t?48:47,1)},r.isAssignable=function(t,r){return"TypeCastExpression"===t.type?this.isAssignable(t.expression,r):e.prototype.isAssignable.call(this,t,r)},r.toAssignable=function(t,r){void 0===r&&(r=!1),r||"AssignmentExpression"!==t.type||"TypeCastExpression"!==t.left.type||(t.left=this.typeCastToParameter(t.left)),e.prototype.toAssignable.call(this,t,r)},r.toAssignableList=function(t,r,a){for(var n=0;n1)&&t||this.raise(hE.TypeCastInPattern,n.typeAnnotation)}return e},r.parseArrayLike=function(t,r,a,n){var s=e.prototype.parseArrayLike.call(this,t,r,a,n);return r&&!this.state.maybeInArrowParameters&&this.toReferencedList(s.elements),s},r.isValidLVal=function(t,r,a){return"TypeCastExpression"===t||e.prototype.isValidLVal.call(this,t,r,a)},r.parseClassProperty=function(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.prototype.parseClassProperty.call(this,t)},r.parseClassPrivateProperty=function(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.prototype.parseClassPrivateProperty.call(this,t)},r.isClassMethod=function(){return this.match(47)||e.prototype.isClassMethod.call(this)},r.isClassProperty=function(){return this.match(14)||e.prototype.isClassProperty.call(this)},r.isNonstaticConstructor=function(t){return!this.match(14)&&e.prototype.isNonstaticConstructor.call(this,t)},r.pushClassMethod=function(t,r,a,n,s,o){if(r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),e.prototype.pushClassMethod.call(this,t,r,a,n,s,o),r.params&&s){var i=r.params;i.length>0&&this.isThisParam(i[0])&&this.raise(hE.ThisParamBannedInConstructor,r)}else if("MethodDefinition"===r.type&&s&&r.value.params){var d=r.value.params;d.length>0&&this.isThisParam(d[0])&&this.raise(hE.ThisParamBannedInConstructor,r)}},r.pushClassPrivateMethod=function(t,r,a,n){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),e.prototype.pushClassPrivateMethod.call(this,t,r,a,n)},r.parseClassSuper=function(t){if(e.prototype.parseClassSuper.call(this,t),t.superClass&&this.match(47)&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();var r=t.implements=[];do{var a=this.startNode();a.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?a.typeParameters=this.flowParseTypeParameterInstantiation():a.typeParameters=null,r.push(this.finishNode(a,"ClassImplements"))}while(this.eat(12))}},r.checkGetterSetterParams=function(t){e.prototype.checkGetterSetterParams.call(this,t);var r=this.getObjectOrClassMethodParams(t);if(r.length>0){var a=r[0];this.isThisParam(a)&&"get"===t.kind?this.raise(hE.GetterMayNotHaveThisParam,a):this.isThisParam(a)&&this.raise(hE.SetterMayNotHaveThisParam,a)}},r.parsePropertyNamePrefixOperator=function(e){e.variance=this.flowParseVariance()},r.parseObjPropValue=function(t,r,a,n,s,o,i){var d;t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&!o&&(d=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());var c=e.prototype.parseObjPropValue.call(this,t,r,a,n,s,o,i);return d&&((c.value||c).typeParameters=d),c},r.parseAssignableListItemTypes=function(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(hE.PatternIsOptional,e),this.isThisParam(e)&&this.raise(hE.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(hE.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(hE.ThisParamNoDefault,e),this.resetEndLocation(e),e},r.parseMaybeDefault=function(t,r){var a=e.prototype.parseMaybeDefault.call(this,t,r);return"AssignmentPattern"===a.type&&a.typeAnnotation&&a.right.start0&&this.raise(hE.ThisParamMustBeFirst,t.params[s]);e.prototype.checkParams.call(this,t,r,a,n)}},r.parseParenAndDistinguishExpression=function(t){return e.prototype.parseParenAndDistinguishExpression.call(this,t&&-1===this.state.noArrowAt.indexOf(this.state.start))},r.parseSubscripts=function(t,r,a){var n=this;if("Identifier"===t.type&&"async"===t.name&&-1!==this.state.noArrowAt.indexOf(r.index)){this.next();var s=this.startNodeAt(r);s.callee=t,s.arguments=e.prototype.parseCallExpressionArguments.call(this,11,!1),t=this.finishNode(s,"CallExpression")}else if("Identifier"===t.type&&"async"===t.name&&this.match(47)){var o=this.state.clone(),i=this.tryParse((function(e){return n.parseAsyncArrowWithTypeParameters(r)||e()}),o);if(!i.error&&!i.aborted)return i.node;var d=this.tryParse((function(){return e.prototype.parseSubscripts.call(n,t,r,a)}),o);if(d.node&&!d.error)return d.node;if(i.node)return this.state=i.failState,i.node;if(d.node)return this.state=d.failState,d.node;throw i.error||d.error}return e.prototype.parseSubscripts.call(this,t,r,a)},r.parseSubscript=function(t,r,a,n){var s=this;if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,a)return n.stop=!0,t;this.next();var o=this.startNodeAt(r);return o.callee=t,o.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),o.arguments=this.parseCallExpressionArguments(11,!1),o.optional=!0,this.finishCallExpression(o,!0)}if(!a&&this.shouldParseTypes()&&this.match(47)){var i=this.startNodeAt(r);i.callee=t;var d=this.tryParse((function(){return i.typeArguments=s.flowParseTypeParameterInstantiationCallOrNew(),s.expect(10),i.arguments=e.prototype.parseCallExpressionArguments.call(s,11,!1),n.optionalChainMember&&(i.optional=!1),s.finishCallExpression(i,n.optionalChainMember)}));if(d.node)return d.error&&(this.state=d.failState),d.node}return e.prototype.parseSubscript.call(this,t,r,a,n)},r.parseNewCallee=function(t){var r=this;e.prototype.parseNewCallee.call(this,t);var a=null;this.shouldParseTypes()&&this.match(47)&&(a=this.tryParse((function(){return r.flowParseTypeParameterInstantiationCallOrNew()})).node),t.typeArguments=a},r.parseAsyncArrowWithTypeParameters=function(t){var r=this.startNodeAt(t);if(this.parseFunctionParams(r,!1),this.parseArrow(r))return e.prototype.parseArrowExpression.call(this,r,void 0,!0)},r.readToken_mult_modulo=function(t){var r=this.input.charCodeAt(this.state.pos+1);if(42===t&&47===r&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();e.prototype.readToken_mult_modulo.call(this,t)},r.readToken_pipe_amp=function(t){var r=this.input.charCodeAt(this.state.pos+1);124!==t||125!==r?e.prototype.readToken_pipe_amp.call(this,t):this.finishOp(9,2)},r.parseTopLevel=function(t,r){var a=e.prototype.parseTopLevel.call(this,t,r);return this.state.hasFlowComment&&this.raise(hE.UnterminatedFlowComment,this.state.curPosition()),a},r.skipBlockComment=function(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return e.prototype.skipBlockComment.call(this,this.state.hasFlowComment?"*-/":"*/");if(this.state.hasFlowComment)throw this.raise(hE.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();var t=this.skipFlowComment();t&&(this.state.pos+=t,this.state.hasFlowComment=!0)},r.skipFlowComment=function(){for(var e=this.state.pos,t=2;[32,9].includes(this.input.charCodeAt(e+t));)t++;var r=this.input.charCodeAt(t+e),a=this.input.charCodeAt(t+e+1);return 58===r&&58===a?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==a&&t},r.hasFlowCommentCompletion=function(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(TR.UnterminatedComment,this.state.curPosition())},r.flowEnumErrorBooleanMemberNotInitialized=function(e,t){var r=t.enumName,a=t.memberName;this.raise(hE.EnumBooleanMemberNotInitialized,e,{memberName:a,enumName:r})},r.flowEnumErrorInvalidMemberInitializer=function(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?hE.EnumInvalidMemberInitializerSymbolType:hE.EnumInvalidMemberInitializerPrimaryType:hE.EnumInvalidMemberInitializerUnknownType,e,t)},r.flowEnumErrorNumberMemberNotInitialized=function(e,t){this.raise(hE.EnumNumberMemberNotInitialized,e,t)},r.flowEnumErrorStringMemberInconsistentlyInitialized=function(e,t){this.raise(hE.EnumStringMemberInconsistentlyInitialized,e,t)},r.flowEnumMemberInit=function(){var e=this,t=this.state.startLoc,r=function(){return e.match(12)||e.match(8)};switch(this.state.type){case 134:var a=this.parseNumericLiteral(this.state.value);return r()?{type:"number",loc:a.loc.start,value:a}:{type:"invalid",loc:t};case 133:var n=this.parseStringLiteral(this.state.value);return r()?{type:"string",loc:n.loc.start,value:n}:{type:"invalid",loc:t};case 85:case 86:var s=this.parseBooleanLiteral(this.match(85));return r()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:t};default:return{type:"invalid",loc:t}}},r.flowEnumMemberRaw=function(){var e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}},r.flowEnumCheckExplicitTypeMismatch=function(e,t,r){var a=t.explicitType;null!==a&&a!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)},r.flowEnumMembers=function(e){for(var t=e.enumName,r=e.explicitType,a=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;!this.match(8);){if(this.eat(21)){s=!0;break}var o=this.startNode(),i=this.flowEnumMemberRaw(),d=i.id,c=i.init,l=d.name;if(""!==l){/^[a-z]/.test(l)&&this.raise(hE.EnumInvalidMemberName,d,{memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:t}),a.has(l)&&this.raise(hE.EnumDuplicateMemberName,d,{memberName:l,enumName:t}),a.add(l);var u={enumName:t,explicitType:r,memberName:l};switch(o.id=d,c.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"boolean"),o.init=c.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"number"),o.init=c.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"string"),o.init=c.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,u);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,u);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}}return{members:n,hasUnknownMembers:s}},r.flowEnumStringMembers=function(e,t,r){var a=r.enumName;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(var n=0;n=f){for(var g=0,m=i.defaultedMembers;g=f){for(var y=0,b=i.defaultedMembers;y",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},SE=SR(RE||(RE=x(["jsx"])))({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:function(e){return"Expected corresponding JSX closing tag for <"+e.openingTagName+">."},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:function(e){var t=e.unexpected;return"Unexpected token `"+t+"`. Did you mean `"+e.HTMLEntity+"` or `{'"+t+"'}`?"},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function TE(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function AE(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return AE(e.object)+"."+AE(e.property);throw new Error("Node had unexpected type: "+e.type)}var kE,CE=function(e){return function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var r=t.prototype;return r.jsxReadToken=function(){for(var t="",r=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(SE.UnterminatedJsxContent,this.state.startLoc);var a=this.input.charCodeAt(this.state.pos);switch(a){case 60:case 123:return this.state.pos===this.state.start?void(60===a&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):e.prototype.getTokenFromCode.call(this,a)):(t+=this.input.slice(r,this.state.pos),void this.finishToken(141,t));case 38:t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos;break;default:Fw(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!0),r=this.state.pos):++this.state.pos}}},r.jsxReadNewLine=function(e){var t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t},r.jsxReadString=function(e){for(var t="",r=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(TR.UnterminatedString,this.state.startLoc);var a=this.input.charCodeAt(this.state.pos);if(a===e)break;38===a?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):Fw(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(133,t)},r.jsxReadEntity=function(){var e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;var t=10;120===this.codePointAtPos(this.state.pos)&&(t=16,++this.state.pos);var r=this.readInt(t,void 0,!1,"bail");if(null!==r&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(r)}else{for(var a=0,n=!1;a++<10&&this.state.pos1)for(var a=0;a0?!(a&Ew.FLAG_TS_ENUM)||!!(a&Ew.FLAG_TS_CONST_ENUM)!==(4&n)>0:a&Ew.FLAG_CLASS&&(8&n)>0?!!(t.names.get(r)&Sw.Lexical)&&!!(a&Ew.KIND_VALUE):!!(a&Ew.KIND_TYPE&&(1&n)>0)||e.prototype.isRedeclaredInScope.call(this,t,r,a)},r.checkLocalExport=function(t){var r=t.name;if(!this.hasImport(r)){for(var a=this.scopeStack.length-1;a>=0;a--){var n=this.scopeStack[a].tsNames.get(r);if((1&n)>0||(16&n)>0)return}e.prototype.checkLocalExport.call(this,t)}},p(t)}(Aw),DE=function(e,t){return hasOwnProperty.call(e,t)&&e[t]},IE=function e(t){return"ParenthesizedExpression"===t.type?e(t.expression):t},OE={ALLOW_EMPTY:1,IS_FUNCTION_PARAMS:2,IS_CONSTRUCTOR_PARAMS:4},NE=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var r=t.prototype;return r.toAssignable=function(e,t){var r,a;void 0===t&&(t=!1);var n=void 0;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(n=IE(e),t?"Identifier"===n.type?this.expressionScope.recordArrowParameterBindingError(TR.InvalidParenthesizedAssignment,e):"MemberExpression"===n.type||this.isOptionalMemberExpression(n)||this.raise(TR.InvalidParenthesizedAssignment,e):this.raise(TR.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(var s=0,o=e.properties.length,i=o-1;s() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:function(e){var t=e.typeParameterName;return"Single type parameter "+t+" should have a trailing comma. Example usage: <"+t+",>."},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:function(e){return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got "+e.type+"."}});function UE(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function qE(e){return"private"===e||"public"===e||"protected"===e}function WE(e){return"in"===e||"out"===e}var HE,zE=function(e){return function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n0&&(this.raise(TR.BadGetterArity,this.state.curPosition()),this.isThisParam(a[n][0])&&this.raise(LE.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===a.kind){if(1!==a[n].length)this.raise(TR.BadSetterArity,this.state.curPosition());else{var o=a[n][0];this.isThisParam(o)&&this.raise(LE.AccesorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===o.type&&o.optional&&this.raise(LE.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===o.type&&this.raise(LE.SetAccesorCannotHaveRestParameter,this.state.curPosition())}a[s]&&this.raise(LE.SetAccesorCannotHaveReturnType,a[s])}else a.kind="method";return this.finishNode(a,"TSMethodSignature")}var i=r;t&&(i.readonly=!0);var d=this.tsTryParseTypeAnnotation();return d&&(i.typeAnnotation=d),this.tsParseTypeMemberSemicolon(),this.finishNode(i,"TSPropertySignature")},r.tsParseTypeMember=function(){var t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){var r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},t);var a=this.tsTryParseIndexSignature(t);return a||(e.prototype.parsePropertyName.call(this,t),t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||!this.tsTokenCanFollowModifier()||(t.kind=t.key.name,e.prototype.parsePropertyName.call(this,t)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))},r.tsParseTypeLiteral=function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")},r.tsParseObjectTypeMembers=function(){this.expect(5);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e},r.tsIsStartOfMappedType=function(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))},r.tsParseMappedTypeParameter=function(){var e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")},r.tsParseMappedType=function(){var e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")},r.tsParseTupleType=function(){var e=this,t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var r=!1;return t.elementTypes.forEach((function(t){var a=t.type;!r||"TSRestType"===a||"TSOptionalType"===a||"TSNamedTupleMember"===a&&t.optional||e.raise(LE.OptionalTypeBeforeRequired,t),r||(r="TSNamedTupleMember"===a&&t.optional||"TSOptionalType"===a)})),this.finishNode(t,"TSTupleType")},r.tsParseTupleElementType=function(){var e,t,r,a,n,s=this.state.startLoc,o=this.eat(21),i=tw(this.state.type)?this.lookaheadCharCode():null;if(58===i)e=!0,r=!1,t=this.parseIdentifier(!0),this.expect(14),a=this.tsParseType();else if(63===i){r=!0;var d=this.state.startLoc,c=this.state.value,l=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(e=!0,t=this.createIdentifier(this.startNodeAt(d),c),this.expect(17),this.expect(14),a=this.tsParseType()):(e=!1,a=l,this.expect(17))}else a=this.tsParseType(),r=this.eat(17),e=this.eat(14);if(e)t?((n=this.startNodeAtNode(t)).optional=r,n.label=t,n.elementType=a,this.eat(17)&&(n.optional=!0,this.raise(LE.TupleOptionalAfterType,this.state.lastTokStartLoc))):((n=this.startNodeAtNode(a)).optional=r,this.raise(LE.InvalidTupleMemberLabel,a),n.label=a,n.elementType=this.tsParseType()),a=this.finishNode(n,"TSNamedTupleMember");else if(r){var u=this.startNodeAtNode(a);u.typeAnnotation=a,a=this.finishNode(u,"TSOptionalType")}if(o){var p=this.startNodeAt(s);p.typeAnnotation=a,a=this.finishNode(p,"TSRestType")}return a},r.tsParseParenthesizedType=function(){var e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")},r.tsParseFunctionOrConstructorType=function(e,t){var r=this,a=this.startNode();return"TSConstructorType"===e&&(a.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((function(){return r.tsFillSignature(19,a)})),this.finishNode(a,e)},r.tsParseLiteralTypeNode=function(){var t=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:t.literal=e.prototype.parseExprAtom.call(this);break;default:this.unexpected()}return this.finishNode(t,"TSLiteralType")},r.tsParseTemplateLiteralType=function(){var t=this.startNode();return t.literal=e.prototype.parseTemplate.call(this,!1),this.finishNode(t,"TSLiteralType")},r.parseTemplateSubstitution=function(){return this.state.inType?this.tsParseType():e.prototype.parseTemplateSubstitution.call(this)},r.tsParseThisTypeOrThisTypePredicate=function(){var e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e},r.tsParseNonArrayType=function(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){var e=this.startNode(),t=this.lookahead();return 134!==t.type&&135!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:var r=this.state.type;if(ZR(r)||88===r||84===r){var a=88===r?"TSVoidKeyword":84===r?"TSNullKeyword":UE(this.state.value);if(void 0!==a&&46!==this.lookaheadCharCode()){var n=this.startNode();return this.next(),this.finishNode(n,a)}return this.tsParseTypeReference()}}this.unexpected()},r.tsParseArrayTypeOrHigher=function(){for(var e=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){var t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{var r=this.startNodeAtNode(e);r.objectType=e,r.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(r,"TSIndexedAccessType")}return e},r.tsParseTypeOperator=function(){var e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")},r.tsCheckTypeAnnotationForReadOnly=function(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(LE.UnexpectedReadonly,e)}},r.tsParseInferType=function(){var e=this,t=this.startNode();this.expectContextual(115);var r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsTryParse((function(){return e.tsParseConstraintForInferType()})),t.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(t,"TSInferType")},r.tsParseConstraintForInferType=function(){var e=this;if(this.eat(81)){var t=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseType()}));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}},r.tsParseTypeOperatorOrHigher=function(){var e=this;return pw(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((function(){return e.tsParseArrayTypeOrHigher()}))},r.tsParseUnionOrIntersectionType=function(e,t,r){var a=this.startNode(),n=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||n?(a.types=s,this.finishNode(a,e)):s[0]},r.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)},r.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)},r.tsIsStartOfFunctionType=function(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},r.tsSkipParameterStart=function(){if(ZR(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){var t=this.state.errors,r=t.length;try{return this.parseObjectLike(8,!0),t.length===r}catch(s){return!1}}if(this.match(0)){this.next();var a=this.state.errors,n=a.length;try{return e.prototype.parseBindingList.call(this,3,93,OE.ALLOW_EMPTY),a.length===n}catch(o){return!1}}return!1},r.tsIsUnambiguouslyStartOfFunctionType=function(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1},r.tsParseTypeOrTypePredicateAnnotation=function(e){var t=this;return this.tsInType((function(){var r=t.startNode();t.expect(e);var a=t.startNode(),n=!!t.tsTryParse(t.tsParseTypePredicateAsserts.bind(t));if(n&&t.match(78)){var s=t.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===s.type?(a.parameterName=s,a.asserts=!0,a.typeAnnotation=null,s=t.finishNode(a,"TSTypePredicate")):(t.resetStartLocationFromNode(s,a),s.asserts=!0),r.typeAnnotation=s,t.finishNode(r,"TSTypeAnnotation")}var o=t.tsIsIdentifier()&&t.tsTryParse(t.tsParseTypePredicatePrefix.bind(t));if(!o)return n?(a.parameterName=t.parseIdentifier(),a.asserts=n,a.typeAnnotation=null,r.typeAnnotation=t.finishNode(a,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")):t.tsParseTypeAnnotation(!1,r);var i=t.tsParseTypeAnnotation(!1);return a.parameterName=o,a.typeAnnotation=i,a.asserts=n,r.typeAnnotation=t.finishNode(a,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")}))},r.tsTryParseTypeOrTypePredicateAnnotation=function(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)},r.tsTryParseTypeAnnotation=function(){if(this.match(14))return this.tsParseTypeAnnotation()},r.tsTryParseType=function(){return this.tsEatThenParseType(14)},r.tsParseTypePredicatePrefix=function(){var e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e},r.tsParseTypePredicateAsserts=function(){if(109!==this.state.type)return!1;var e=this.state.containsEsc;return this.next(),!(!ZR(this.state.type)&&!this.match(78))&&(e&&this.raise(TR.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)},r.tsParseTypeAnnotation=function(e,t){var r=this;return void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),this.tsInType((function(){e&&r.expect(14),t.typeAnnotation=r.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")},r.tsParseType=function(){var e=this;ME(this.state.inType);var t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;var r=this.startNodeAtNode(t);return r.checkType=t,r.extendsType=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseNonConditionalType()})),this.expect(17),r.trueType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.expect(14),r.falseType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.finishNode(r,"TSConditionalType")},r.isAbstractConstructorSignature=function(){return this.isContextual(124)&&77===this.lookahead().type},r.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()},r.tsParseTypeAssertion=function(){var e=this;this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(LE.ReservedTypeAssertion,this.state.startLoc);var t=this.startNode();return t.typeAnnotation=this.tsInType((function(){return e.next(),e.match(75)?e.tsParseTypeReference():e.tsParseType()})),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")},r.tsParseHeritageClause=function(e){var t=this,r=this.state.startLoc,a=this.tsParseDelimitedList("HeritageClauseElement",(function(){var e=t.startNode();return e.expression=t.tsParseEntityName(),t.match(47)&&(e.typeParameters=t.tsParseTypeArguments()),t.finishNode(e,"TSExpressionWithTypeArguments")}));return a.length||this.raise(LE.EmptyHeritageClauseType,r,{token:e}),a},r.tsParseInterfaceDeclaration=function(e,t){if(void 0===t&&(t={}),this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),ZR(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Ew.TYPE_TS_INTERFACE)):(e.id=null,this.raise(LE.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));var r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")},r.tsParseTypeAliasDeclaration=function(e){var t=this;return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Ew.TYPE_TS_TYPE),e.typeAnnotation=this.tsInType((function(){if(e.typeParameters=t.tsTryParseTypeParameters(t.tsParseInOutModifiers),t.expect(29),t.isContextual(114)&&16!==t.lookahead().type){var r=t.startNode();return t.next(),t.finishNode(r,"TSIntrinsicKeyword")}return t.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")},r.tsInNoContext=function(e){var t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}},r.tsInType=function(e){var t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}},r.tsInDisallowConditionalTypesContext=function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}},r.tsInAllowConditionalTypesContext=function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}},r.tsEatThenParseType=function(e){if(this.match(e))return this.tsNextThenParseType()},r.tsExpectThenParseType=function(e){var t=this;return this.tsInType((function(){return t.expect(e),t.tsParseType()}))},r.tsNextThenParseType=function(){var e=this;return this.tsInType((function(){return e.next(),e.tsParseType()}))},r.tsParseEnumMember=function(){var t=this.startNode();return t.id=this.match(133)?e.prototype.parseStringLiteral.call(this,this.state.value):this.parseIdentifier(!0),this.eat(29)&&(t.initializer=e.prototype.parseMaybeAssignAllowIn.call(this)),this.finishNode(t,"TSEnumMember")},r.tsParseEnumDeclaration=function(e,t){return void 0===t&&(t={}),t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?Ew.TYPE_TS_CONST_ENUM:Ew.TYPE_TS_ENUM),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")},r.tsParseModuleBlock=function(){var t=this.startNode();return this.scope.enter(ww.OTHER),this.expect(5),e.prototype.parseBlockOrModuleBlockBody.call(this,t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")},r.tsParseModuleOrNamespaceDeclaration=function(e,t){if(void 0===t&&(t=!1),e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,Ew.TYPE_TS_NAMESPACE),this.eat(16)){var r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(ww.TS_MODULE),this.prodParam.enter(aE.PARAM),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")},r.tsParseAmbientExternalModuleDeclaration=function(t){return this.isContextual(112)?(t.global=!0,t.id=this.parseIdentifier()):this.match(133)?t.id=e.prototype.parseStringLiteral.call(this,this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(ww.TS_MODULE),this.prodParam.enter(aE.PARAM),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")},r.tsParseImportEqualsDeclaration=function(e,t,r){e.isExport=r||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,Ew.TYPE_TS_VALUE_IMPORT),this.expect(29);var a=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==a.type&&this.raise(LE.ImportAliasHasImportType,a),e.moduleReference=a,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")},r.tsIsExternalModuleReference=function(){return this.isContextual(119)&&40===this.lookaheadCharCode()},r.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},r.tsParseExternalModuleReference=function(){var t=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),t.expression=e.prototype.parseExprAtom.call(this),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExternalModuleReference")},r.tsLookAhead=function(e){var t=this.state.clone(),r=e();return this.state=t,r},r.tsTryParseAndCatch=function(e){var t=this.tryParse((function(t){return e()||t()}));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node},r.tsTryParse=function(e){var t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t},r.tsTryParseDeclare=function(t){var r=this;if(!this.isLineTerminator()){var a,n=this.state.type;return this.isContextual(100)&&(n=74,a="let"),this.tsInAmbientContext((function(){switch(n){case 68:return t.declare=!0,e.prototype.parseFunctionStatement.call(r,t,!1,!1);case 80:return t.declare=!0,r.parseClass(t,!0,!1);case 126:return r.tsParseEnumDeclaration(t,{declare:!0});case 112:return r.tsParseAmbientExternalModuleDeclaration(t);case 75:case 74:return r.match(75)&&r.isLookaheadContextual("enum")?(r.expect(75),r.tsParseEnumDeclaration(t,{const:!0,declare:!0})):(t.declare=!0,r.parseVarStatement(t,a||r.state.value,!0));case 129:var s=r.tsParseInterfaceDeclaration(t,{declare:!0});if(s)return s;default:if(ZR(n))return r.tsParseDeclaration(t,r.state.value,!0,null)}}))}},r.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)},r.tsParseExpressionStatement=function(e,t,r){switch(t.name){case"declare":var a=this.tsTryParseDeclare(e);return a&&(a.declare=!0),a;case"global":if(this.match(5)){this.scope.enter(ww.TS_MODULE),this.prodParam.enter(aE.PARAM);var n=e;return n.global=!0,n.id=t,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1,r)}},r.tsParseDeclaration=function(e,t,r,a){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||ZR(this.state.type)))return this.tsParseAbstractDeclaration(e,a);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(e);if(ZR(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&ZR(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&ZR(this.state.type))return this.tsParseTypeAliasDeclaration(e)}},r.tsCheckLineTerminator=function(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()},r.tsTryParseGenericAsyncArrowFunction=function(t){var r=this;if(this.match(47)){var a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;var n=this.tsTryParseAndCatch((function(){var a=r.startNodeAt(t);return a.typeParameters=r.tsParseTypeParameters(r.tsParseConstModifier),e.prototype.parseFunctionParams.call(r,a),a.returnType=r.tsTryParseTypeOrTypePredicateAnnotation(),r.expect(19),a}));if(this.state.maybeInArrowParameters=a,n)return e.prototype.parseArrowExpression.call(this,n,null,!0)}},r.tsParseTypeArgumentsInExpression=function(){if(47===this.reScan_lt())return this.tsParseTypeArguments()},r.tsParseTypeArguments=function(){var e=this,t=this.startNode();return t.params=this.tsInType((function(){return e.tsInNoContext((function(){return e.expect(47),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))}))})),0===t.params.length?this.raise(LE.EmptyTypeArguments,t):this.state.inType||this.curContext()!==DR.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")},r.tsIsDeclarationStart=function(){return fw(this.state.type)},r.isExportDefaultSpecifier=function(){return!this.tsIsDeclarationStart()&&e.prototype.isExportDefaultSpecifier.call(this)},r.parseAssignableListItem=function(e,t){var r=this.state.startLoc,a={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},a);var n=a.accessibility,s=a.override,o=a.readonly;e&OE.IS_CONSTRUCTOR_PARAMS||!(n||o||s)||this.raise(LE.UnexpectedParameterModifier,r);var i=this.parseMaybeDefault();this.parseAssignableListItemTypes(i,e);var d=this.parseMaybeDefault(i.loc.start,i);if(n||o||s){var c=this.startNodeAt(r);return t.length&&(c.decorators=t),n&&(c.accessibility=n),o&&(c.readonly=o),s&&(c.override=s),"Identifier"!==d.type&&"AssignmentPattern"!==d.type&&this.raise(LE.UnsupportedParameterPropertyKind,c),c.parameter=d,this.finishNode(c,"TSParameterProperty")}return t.length&&(i.decorators=t),d},r.isSimpleParameter=function(t){return"TSParameterProperty"===t.type&&e.prototype.isSimpleParameter.call(this,t.parameter)||e.prototype.isSimpleParameter.call(this,t)},r.tsDisallowOptionalPattern=function(e){for(var t=0,r=e.params;ta&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){var o=this.startNodeAt(r);return o.expression=t,o.typeAnnotation=this.tsInType((function(){return s.next(),s.match(75)?(n&&s.raise(TR.UnexpectedKeyword,s.state.startLoc,{keyword:"const"}),s.tsParseTypeReference()):s.tsParseType()})),this.finishNode(o,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(o,r,a)}return e.prototype.parseExprOp.call(this,t,r,a)},r.checkReservedWord=function(t,r,a,n){this.state.isAmbientContext||e.prototype.checkReservedWord.call(this,t,r,a,n)},r.checkImportReflection=function(t){e.prototype.checkImportReflection.call(this,t),t.module&&"value"!==t.importKind&&this.raise(LE.ImportReflectionHasImportType,t.specifiers[0].loc.start)},r.checkDuplicateExports=function(){},r.isPotentialImportPhase=function(t){if(e.prototype.isPotentialImportPhase.call(this,t))return!0;if(this.isContextual(130)){var r=this.lookaheadCharCode();return t?123===r||42===r:61!==r}return!t&&this.isContextual(87)},r.applyImportPhase=function(t,r,a,n){e.prototype.applyImportPhase.call(this,t,r,a,n),r?t.exportKind="type"===a?"type":"value":t.importKind="type"===a||"typeof"===a?a:"value"},r.parseImport=function(t){if(this.match(133))return t.importKind="value",e.prototype.parseImport.call(this,t);var r;if(ZR(this.state.type)&&61===this.lookaheadCharCode())return t.importKind="value",this.tsParseImportEqualsDeclaration(t);if(this.isContextual(130)){var a=this.parseMaybeImportPhase(t,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(t,a);r=e.prototype.parseImportSpecifiersAndAfter.call(this,t,a)}else r=e.prototype.parseImport.call(this,t);return"type"===r.importKind&&r.specifiers.length>1&&"ImportDefaultSpecifier"===r.specifiers[0].type&&this.raise(LE.TypeImportCannotSpecifyDefaultAndNamed,r),r},r.parseExport=function(t,r){if(this.match(83)){this.next();var a=t,n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(a,!1):a.importKind="value",this.tsParseImportEqualsDeclaration(a,n,!0)}if(this.eat(29)){var s=t;return s.expression=e.prototype.parseExpression.call(this),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExportAssignment")}if(this.eatContextual(93)){var o=t;return this.expectContextual(128),o.id=this.parseIdentifier(),this.semicolon(),this.finishNode(o,"TSNamespaceExportDeclaration")}return e.prototype.parseExport.call(this,t,r)},r.isAbstractClass=function(){return this.isContextual(124)&&80===this.lookahead().type},r.parseExportDefaultExpression=function(){if(this.isAbstractClass()){var t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0)}if(this.match(129)){var r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return e.prototype.parseExportDefaultExpression.call(this)},r.parseVarStatement=function(t,r,a){void 0===a&&(a=!1);var n=this.state.isAmbientContext,s=e.prototype.parseVarStatement.call(this,t,r,a||n);if(!n)return s;for(var o=0,i=s.declarations;o0))&&XE(e.object)}function GE(e,t){var r,a=e.type;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===a){var n=e.value;if("string"===typeof n||"boolean"===typeof n)return!0}}else if("StringLiteral"===a||"BooleanLiteral"===a)return!0;return!(!KE(e,t)&&!YE(e,t))||"TemplateLiteral"===a&&0===e.expressions.length||!!VE(e)}function KE(e,t){return t?"Literal"===e.type&&("number"===typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function YE(e,t){if("UnaryExpression"===e.type){var r=e.operator,a=e.argument;if("-"===r&&KE(a,t))return!0}return!1}function XE(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&XE(e.object)}var JE=SR(HE||(HE=x(["placeholders"])))({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),$E=function(e){return function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var r=t.prototype;return r.parsePlaceholder=function(t){if(this.match(144)){var r=this.startNode();return this.next(),this.assertNoSpace(),r.name=e.prototype.parseIdentifier.call(this,!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(r,t)}},r.finishPlaceholder=function(e,t){var r=e;return r.expectedNode&&r.type||(r=this.finishNode(r,"Placeholder")),r.expectedNode=t,r},r.getTokenFromCode=function(t){37===t&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(144,2):e.prototype.getTokenFromCode.call(this,t)},r.parseExprAtom=function(t){return this.parsePlaceholder("Expression")||e.prototype.parseExprAtom.call(this,t)},r.parseIdentifier=function(t){return this.parsePlaceholder("Identifier")||e.prototype.parseIdentifier.call(this,t)},r.checkReservedWord=function(t,r,a,n){void 0!==t&&e.prototype.checkReservedWord.call(this,t,r,a,n)},r.parseBindingAtom=function(){return this.parsePlaceholder("Pattern")||e.prototype.parseBindingAtom.call(this)},r.isValidLVal=function(t,r,a){return"Placeholder"===t||e.prototype.isValidLVal.call(this,t,r,a)},r.toAssignable=function(t,r){t&&"Placeholder"===t.type&&"Expression"===t.expectedNode?t.expectedNode="Pattern":e.prototype.toAssignable.call(this,t,r)},r.chStartsBindingIdentifier=function(t,r){return!!e.prototype.chStartsBindingIdentifier.call(this,t,r)||144===this.lookahead().type},r.verifyBreakContinue=function(t,r){t.label&&"Placeholder"===t.label.type||e.prototype.verifyBreakContinue.call(this,t,r)},r.parseExpressionStatement=function(t,r){var a;if("Placeholder"!==r.type||null!=(a=r.extra)&&a.parenthesized)return e.prototype.parseExpressionStatement.call(this,t,r);if(this.match(14)){var n=t;return n.label=this.finishPlaceholder(r,"Identifier"),this.next(),n.body=e.prototype.parseStatementOrSloppyAnnexBFunctionDeclaration.call(this),this.finishNode(n,"LabeledStatement")}this.semicolon();var s=t;return s.name=r.name,this.finishPlaceholder(s,"Statement")},r.parseBlock=function(t,r,a){return this.parsePlaceholder("BlockStatement")||e.prototype.parseBlock.call(this,t,r,a)},r.parseFunctionId=function(t){return this.parsePlaceholder("Identifier")||e.prototype.parseFunctionId.call(this,t)},r.parseClass=function(t,r,a){var n=r?"ClassDeclaration":"ClassExpression";this.next();var s=this.state.strict,o=this.parsePlaceholder("Identifier");if(o){if(!(this.match(81)||this.match(144)||this.match(5))){if(a||!r)return t.id=null,t.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(t,n);throw this.raise(JE.ClassNameIsRequired,this.state.startLoc)}t.id=o}else this.parseClassId(t,r,a);return e.prototype.parseClassSuper.call(this,t),t.body=this.parsePlaceholder("ClassBody")||e.prototype.parseClassBody.call(this,!!t.superClass,s),this.finishNode(t,n)},r.parseExport=function(t,r){var a=this.parsePlaceholder("Identifier");if(!a)return e.prototype.parseExport.call(this,t,r);var n=t;if(!this.isContextual(98)&&!this.match(12))return n.specifiers=[],n.source=null,n.declaration=this.finishPlaceholder(a,"Declaration"),this.finishNode(n,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");var s=this.startNode();return s.exported=a,n.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],e.prototype.parseExport.call(this,n,r)},r.isExportDefaultSpecifier=function(){if(this.match(65)){var t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(gw(144),this.nextTokenStartSince(t+4)))return!0}return e.prototype.isExportDefaultSpecifier.call(this)},r.maybeParseExportDefaultSpecifier=function(t,r){var a;return!(null==(a=t.specifiers)||!a.length)||e.prototype.maybeParseExportDefaultSpecifier.call(this,t,r)},r.checkExport=function(t){var r=t.specifiers;null!=r&&r.length&&(t.specifiers=r.filter((function(e){return"Placeholder"===e.exported.type}))),e.prototype.checkExport.call(this,t),t.specifiers=r},r.parseImport=function(t){var r=this.parsePlaceholder("Identifier");if(!r)return e.prototype.parseImport.call(this,t);if(t.specifiers=[],!this.isContextual(98)&&!this.match(12))return t.source=this.finishPlaceholder(r,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");var a=this.startNodeAtNode(r);return a.local=r,t.specifiers.push(this.finishNode(a,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t)),this.expectContextual(98),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")},r.parseImportSource=function(){return this.parsePlaceholder("StringLiteral")||e.prototype.parseImportSource.call(this)},r.assertNoSpace=function(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(JE.UnexpectedSpace,this.state.lastTokEndLoc)},p(t)}(e)},QE=function(e){return function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var r=t.prototype;return r.parseV8Intrinsic=function(){if(this.match(54)){var e=this.state.startLoc,t=this.startNode();if(this.next(),ZR(this.state.type)){var r=this.parseIdentifierName(),a=this.createIdentifier(t,r);if(a.type="V8IntrinsicIdentifier",this.match(10))return a}this.unexpected(e)}},r.parseExprAtom=function(t){return this.parseV8Intrinsic()||e.prototype.parseExprAtom.call(this,t)},p(t)}(e)};function ZE(e,t){var r="string"===typeof t?[t,{}]:t,a=r[0],n=r[1],s=Object.keys(n),o=0===s.length;return e.some((function(e){if("string"===typeof e)return o&&e===a;var t=e[0],r=e[1];if(t!==a)return!1;for(var i=0;i1?a[1][r]:null}var tj=["minimal","fsharp","hack","smart"],rj=["^^","@@","^","%","#"];function aj(e){if(ZE(e,"decorators")){if(ZE(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");var t=ej(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!==typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");var r=ej(e,"decorators","allowCallParenthesized");if(null!=r&&"boolean"!==typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(ZE(e,"flow")&&ZE(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(ZE(e,"placeholders")&&ZE(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(ZE(e,"pipelineOperator")){var a=ej(e,"pipelineOperator","proposal");if(!tj.includes(a)){var n=tj.map((function(e){return'"'+e+'"'})).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '+n+".")}var s=["recordAndTuple",{syntaxType:"hash"}],o=ZE(e,s);if("hack"===a){if(ZE(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(ZE(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");var i=ej(e,"pipelineOperator","topicToken");if(!rj.includes(i)){var d=rj.map((function(e){return'"'+e+'"'})).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '+d+".")}if("#"===i&&o)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `'+JSON.stringify(s)+"`.")}else if("smart"===a&&o)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `'+JSON.stringify(s)+"`.")}if(ZE(e,"moduleAttributes")){if(ZE(e,"importAssertions")||ZE(e,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if("may-2020"!==ej(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(ZE(e,"importAssertions")&&ZE(e,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(ZE(e,"recordAndTuple")){var c=ej(e,"recordAndTuple","syntaxType");if(null!=c){var l=["hash","bar"];if(!l.includes(c))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+l.map((function(e){return"'"+e+"'"})).join(", "))}}if(ZE(e,"asyncDoExpressions")&&!ZE(e,"doExpressions")){var u=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw u.missingPlugins="doExpressions",u}if(ZE(e,"optionalChainingAssign")&&"2023-07"!==ej(e,"optionalChainingAssign","version"))throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var nj={estree:PR,jsx:CE,flow:EE,typescript:zE,v8intrinsic:QE,placeholders:$E},sj=Object.keys(nj),oj={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function ij(e){if(null==e)return Object.assign({},oj);if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");for(var t={},r=0,a=Object.keys(oj);r=c&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=c&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=c&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else i.left=o;return this.next(),i.right=this.parseMaybeAssign(),this.checkLVal(o,{in:this.finishNode(i,"AssignmentExpression")}),i}return r&&this.checkExpressionErrors(e,!0),o},r.parseMaybeConditional=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprOps(e);return this.shouldExitDescending(a,r)?a:this.parseConditional(a,t,e)},r.parseConditional=function(e,t,r){if(this.eat(17)){var a=this.startNodeAt(t);return a.test=e,a.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),a.alternate=this.parseMaybeAssign(),this.finishNode(a,"ConditionalExpression")}return e},r.parseMaybeUnaryOrPrivate=function(e){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(e)},r.parseExprOps=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(a,r)?a:this.parseExprOp(a,t,-1)},r.parseExprOp=function(e,t,r){if(this.isPrivateName(e)){var a=this.getPrivateNameSV(e);(r>=mw(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(TR.PrivateInExpectedIn,e,{identifierName:a}),this.classScope.usePrivateName(a,e.loc.start)}var n=this.state.type;if(cw(n)&&(this.prodParam.hasIn||!this.match(58))){var s=mw(n);if(s>r){if(39===n){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}var o=this.startNodeAt(t);o.left=e,o.operator=this.state.value;var i=41===n||42===n,d=40===n;if(d&&(s=mw(42)),this.next(),39===n&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(TR.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);o.right=this.parseExprOpRightExpr(n,s);var c=this.finishNode(o,i||d?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(d&&(41===l||42===l)||i&&40===l)throw this.raise(TR.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,r)}}return e},r.parseExprOpRightExpr=function(e,t){var r=this,a=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((function(){return r.parseHackPipeBody()}));case"smart":return this.withTopicBindingContext((function(){if(r.prodParam.hasYield&&r.isContextual(108))throw r.raise(TR.PipeBodyIsTighter,r.state.startLoc);return r.parseSmartPipelineBodyInStyle(r.parseExprOpBaseRightExpr(e,t),a)}));case"fsharp":return this.withSoloAwaitPermittingContext((function(){return r.parseFSharpPipelineBody(t)}))}return this.parseExprOpBaseRightExpr(e,t)},r.parseExprOpBaseRightExpr=function(e,t){var r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,hw(e)?t-1:t)},r.parseHackPipeBody=function(){var e,t=this.state.startLoc,r=this.parseMaybeAssign();return!vR.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(TR.PipeUnparenthesizedBody,t,{type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(TR.PipeTopicUnused,t),r},r.checkExponentialAfterUnary=function(e){this.match(57)&&this.raise(TR.UnexpectedTokenUnaryExponentiation,e.argument)},r.parseMaybeUnary=function(e,t){var r=this.state.startLoc,a=this.isContextual(96);if(a&&this.isAwaitAllowed()){this.next();var n=this.parseAwait(r);return t||this.checkExponentialAfterUnary(n),n}var s=this.match(34),o=this.startNode();if(uw(this.state.type)){o.operator=this.state.value,o.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");var i=this.match(89);if(this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&i){var d=o.argument;"Identifier"===d.type?this.raise(TR.StrictDelete,o):this.hasPropertyAsPrivateName(d)&&this.raise(TR.DeletePrivateField,o)}if(!s)return t||this.checkExponentialAfterUnary(o),this.finishNode(o,"UnaryExpression")}var c=this.parseUpdate(o,s,e);if(a){var l=this.state.type;if((this.hasPlugin("v8intrinsic")?nw(l):nw(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(TR.AwaitNotInAsyncContext,r),this.parseAwait(r)}return c},r.parseUpdate=function(e,t,r){if(t){var a=e;return this.checkLVal(a.argument,{in:this.finishNode(a,"UpdateExpression")}),e}var n=this.state.startLoc,s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return s;for(;lw(this.state.type)&&!this.canInsertSemicolon();){var o=this.startNodeAt(n);o.operator=this.state.value,o.prefix=!1,o.argument=s,this.next(),this.checkLVal(s,{in:s=this.finishNode(o,"UpdateExpression")})}return s},r.parseExprSubscripts=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprAtom(e);return this.shouldExitDescending(a,r)?a:this.parseSubscripts(a,t)},r.parseSubscripts=function(e,t,r){var a={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,a),a.maybeAsyncArrow=!1}while(!a.stop);return e},r.parseSubscript=function(e,t,r,a){var n=this.state.type;if(!r&&15===n)return this.parseBind(e,t,r,a);if(yw(n))return this.parseTaggedTemplateExpression(e,t,a);var s=!1;if(18===n){if(r&&(this.raise(TR.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return a.stop=!0,e;a.optionalChainMember=s=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,a,s);var o=this.eat(0);return o||s||this.eat(16)?this.parseMember(e,t,a,o,s):(a.stop=!0,e)},r.parseMember=function(e,t,r,a,n){var s=this.startNodeAt(t);return s.object=e,s.computed=a,a?(s.property=this.parseExpression(),this.expect(3)):this.match(138)?("Super"===e.type&&this.raise(TR.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),r.optionalChainMember?(s.optional=n,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")},r.parseBind=function(e,t,r,a){var n=this.startNodeAt(t);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),a.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,r)},r.parseCoverCallAndAsyncArrowHead=function(e,t,r,a){var n=this.state.maybeInArrowParameters,s=null;this.state.maybeInArrowParameters=!0,this.next();var o=this.startNodeAt(t);o.callee=e;var i=r.maybeAsyncArrow,d=r.optionalChainMember;i&&(this.expressionScope.enter(tE()),s=new iE),d&&(o.optional=a),o.arguments=a?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,s);var c=this.finishCallExpression(o,d);return i&&this.shouldParseAsyncArrow()&&!a?(r.stop=!0,this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),c)):(i&&(this.checkExpressionErrors(s,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=n,c},r.toReferencedArguments=function(e,t){this.toReferencedListDeep(e.arguments,t)},r.parseTaggedTemplateExpression=function(e,t,r){var a=this.startNodeAt(t);return a.tag=e,a.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(TR.OptionalChainingNoTemplate,t),this.finishNode(a,"TaggedTemplateExpression")},r.atPossibleAsyncArrow=function(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt},r.expectImportAttributesPlugin=function(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")},r.finishCallExpression=function(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),0===e.arguments.length||e.arguments.length>2)this.raise(TR.ImportCallArity,e,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(var r=0,a=e.arguments;r1?((t=this.startNodeAt(i)).expressions=d,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,p)):t=d[0],this.wrapParenthesis(r,t))},r.wrapParenthesis=function(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;var r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")},r.shouldParseArrow=function(e){return!this.canInsertSemicolon()},r.parseArrow=function(e){if(this.eat(19))return e},r.parseParenItem=function(e,t){return e},r.parseNewOrNewTarget=function(){var e=this.startNode();if(this.next(),this.match(16)){var t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();var r=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(TR.UnexpectedNewTarget,r),r}return this.parseNew(e)},r.parseNew=function(e){if(this.parseNewCallee(e),this.eat(10)){var t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")},r.parseNewCallee=function(e){var t=this.match(83),r=this.parseNoCallExpr();e.callee=r,!t||"Import"!==r.type&&"ImportExpression"!==r.type||this.raise(TR.ImportCallNotNewExpression,r)},r.parseTemplateElement=function(e){var t=this.state,r=t.start,a=t.startLoc,n=t.end,s=t.value,o=r+1,i=this.startNodeAt(uR(a,1));null===s&&(e||this.raise(TR.InvalidEscapeSequenceTemplate,uR(this.state.firstInvalidTemplateEscapePos,1)));var d=this.match(24),c=d?-1:-2,l=n+c;i.value={raw:this.input.slice(o,l).replace(/\r\n?/g,"\n"),cooked:null===s?null:s.slice(1,c)},i.tail=d,this.next();var u=this.finishNode(i,"TemplateElement");return this.resetEndLocation(u,uR(this.state.lastTokEndLoc,c)),u},r.parseTemplate=function(e){for(var t=this.startNode(),r=this.parseTemplateElement(e),a=[r],n=[];!r.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),a.push(r=this.parseTemplateElement(e));return t.expressions=n,t.quasis=a,this.finishNode(t,"TemplateLiteral")},r.parseTemplateSubstitution=function(){return this.parseExpression()},r.parseObjectLike=function(e,t,r,a){r&&this.expectPlugin("recordAndTuple");var n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var s=Object.create(null),o=!0,i=this.startNode();for(i.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(i);break}var d=void 0;t?d=this.parseBindingProperty():(d=this.parsePropertyDefinition(a),this.checkProto(d,r,s,a)),r&&!this.isObjectProperty(d)&&"SpreadElement"!==d.type&&this.raise(TR.InvalidRecordProperty,d),d.shorthand&&this.addExtra(d,"shorthand",!0),i.properties.push(d)}this.next(),this.state.inFSharpPipelineDirectBody=n;var c="ObjectExpression";return t?c="ObjectPattern":r&&(c="RecordExpression"),this.finishNode(i,c)},r.addTrailingCommaExtraToNode=function(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)},r.maybeAsyncOrAccessorProp=function(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))},r.parsePropertyDefinition=function(e){var t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(TR.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());var r,a=this.startNode(),n=!1,s=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(a.decorators=t,t=[]),a.method=!1,e&&(r=this.state.startLoc);var o=this.eat(55);this.parsePropertyNamePrefixOperator(a);var i=this.state.containsEsc;if(this.parsePropertyName(a,e),!o&&!i&&this.maybeAsyncOrAccessorProp(a)){var d=a.key,c=d.name;"async"!==c||this.hasPrecedingLineBreak()||(n=!0,this.resetPreviousNodeTrailingComments(d),o=this.eat(55),this.parsePropertyName(a)),"get"!==c&&"set"!==c||(s=!0,this.resetPreviousNodeTrailingComments(d),a.kind=c,this.match(55)&&(o=!0,this.raise(TR.AccessorIsGenerator,this.state.curPosition(),{kind:c}),this.next()),this.parsePropertyName(a))}return this.parseObjPropValue(a,r,o,n,!1,s,e)},r.getGetterSetterExpectedParamCount=function(e){return"get"===e.kind?0:1},r.getObjectOrClassMethodParams=function(e){return e.params},r.checkGetterSetterParams=function(e){var t,r=this.getGetterSetterExpectedParamCount(e),a=this.getObjectOrClassMethodParams(e);a.length!==r&&this.raise("get"===e.kind?TR.BadGetterArity:TR.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=a[a.length-1])?void 0:t.type)&&this.raise(TR.BadSetterRestParameter,e)},r.parseObjectMethod=function(e,t,r,a,n){if(n){var s=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(r||t||this.match(10))return a&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")},r.parseObjectProperty=function(e,t,r,a){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(a),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,uE(e.key));else if(this.match(29)){var n=this.state.startLoc;null!=a?null===a.shorthandAssignLoc&&(a.shorthandAssignLoc=n):this.raise(TR.InvalidCoverInitializedName,n),e.value=this.parseMaybeDefault(t,uE(e.key))}else e.value=uE(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}},r.parseObjPropValue=function(e,t,r,a,n,s,o){var i=this.parseObjectMethod(e,r,a,n,s)||this.parseObjectProperty(e,t,n,o);return i||this.unexpected(),i},r.parsePropertyName=function(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{var r,a=this.state,n=a.type,s=a.value;if(tw(n))r=this.parseIdentifier(!0);else switch(n){case 134:r=this.parseNumericLiteral(s);break;case 133:r=this.parseStringLiteral(s);break;case 135:r=this.parseBigIntLiteral(s);break;case 136:r=this.parseDecimalLiteral(s);break;case 138:var o=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=o):this.raise(TR.UnexpectedPrivateField,o),r=this.parsePrivateName();break;default:this.unexpected()}e.key=r,138!==n&&(e.computed=!1)}},r.initFunction=function(e,t){e.id=null,e.generator=!1,e.async=t},r.parseMethod=function(e,t,r,a,n,s,o){void 0===o&&(o=!1),this.initFunction(e,r),e.generator=t,this.scope.enter(ww.FUNCTION|ww.SUPER|(o?ww.CLASS:0)|(n?ww.DIRECT_SUPER:0)),this.prodParam.enter(sE(r,e.generator)),this.parseFunctionParams(e,a);var i=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),i},r.parseArrayLike=function(e,t,r,a){r&&this.expectPlugin("recordAndTuple");var n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,a,s),this.state.inFSharpPipelineDirectBody=n,this.finishNode(s,r?"TupleExpression":"ArrayExpression")},r.parseArrowExpression=function(e,t,r,a){this.scope.enter(ww.FUNCTION|ww.ARROW);var n=sE(r,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=aE.PARAM_IN),this.prodParam.enter(n),this.initFunction(e,r);var s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,a)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")},r.setArrowFunctionParameters=function(e,t,r){this.toAssignableList(t,r,!1),e.params=t},r.parseFunctionBodyAndFinish=function(e,t,r){return void 0===r&&(r=!1),this.parseFunctionBody(e,!1,r),this.finishNode(e,t)},r.parseFunctionBody=function(e,t,r){var a=this;void 0===r&&(r=!1);var n=t&&!this.match(5);if(this.expressionScope.enter(rE()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{var s=this.state.strict,o=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|aE.PARAM_RETURN),e.body=this.parseBlock(!0,!1,(function(n){var o=!a.isSimpleParamList(e.params);n&&o&&a.raise(TR.IllegalLanguageModeDirective,"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end);var i=!s&&a.state.strict;a.checkParams(e,!a.state.strict&&!t&&!r&&!o,t,i),a.state.strict&&e.id&&a.checkIdentifier(e.id,Ew.TYPE_OUTSIDE,i)})),this.prodParam.exit(),this.state.labels=o}this.expressionScope.exit()},r.isSimpleParameter=function(e){return"Identifier"===e.type},r.isSimpleParamList=function(e){for(var t=0,r=e.length;t10)&&Rw(e))if(r&&Bo(e))this.raise(TR.UnexpectedKeyword,t,{keyword:e});else if((this.state.strict?a?No:Io:Do)(e,this.inModule))this.raise(TR.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(TR.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(TR.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(TR.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(TR.ArgumentsInClass,t)},r.isAwaitAllowed=function(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)},r.parseAwait=function(e){var t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(TR.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(TR.ObsoleteAwaitStar,t),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")},r.isAmbiguousAwait=function(){if(this.hasPrecedingLineBreak())return!0;var e=this.state.type;return 53===e||10===e||0===e||yw(e)||102===e&&!this.state.containsEsc||137===e||56===e||this.hasPlugin("v8intrinsic")&&54===e},r.parseYield=function(){var e=this.startNode();this.expressionScope.recordParameterInitializerError(TR.YieldInParameter,e),this.next();var t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")},r.parseImportCall=function(e){return this.next(),e.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(e.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(e.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(e,"ImportExpression")},r.checkPipelineAtInfixOperator=function(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(TR.PipelineHeadSequenceExpression,t)},r.parseSmartPipelineBodyInStyle=function(e,t){if(this.isSimpleReference(e)){var r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}var a=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),a.expression=e,this.finishNode(a,"PipelineTopicExpression")},r.isSimpleReference=function(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}},r.checkSmartPipeTopicBodyEarlyErrors=function(e){if(this.match(19))throw this.raise(TR.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(TR.PipelineTopicUnused,e)},r.withTopicBindingContext=function(e){var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}},r.withSmartMixTopicForbiddingContext=function(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}},r.withSoloAwaitPermittingContext=function(e){var t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}},r.allowInAnd=function(e){var t=this.prodParam.currentFlags();if(aE.PARAM_IN&~t){this.prodParam.enter(t|aE.PARAM_IN);try{return e()}finally{this.prodParam.exit()}}return e()},r.disallowInAnd=function(e){var t=this.prodParam.currentFlags();if(aE.PARAM_IN&t){this.prodParam.enter(t&~aE.PARAM_IN);try{return e()}finally{this.prodParam.exit()}}return e()},r.registerTopicReference=function(){this.state.topicContext.maxTopicIndex=0},r.topicReferenceIsAllowedInCurrentContext=function(){return this.state.topicContext.maxNumOfResolvableTopics>=1},r.topicReferenceWasUsedInCurrentContext=function(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0},r.parseFSharpPipelineBody=function(e){var t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;var r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;var a=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,a},r.parseModuleExpression=function(){this.expectPlugin("moduleBlocks");var e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);var t=this.startNodeAt(this.state.endLoc);this.next();var r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")},r.parsePropertyNamePrefixOperator=function(e){},p(t)}(NE),cj={kind:Ww.Loop},lj={kind:Ww.Switch},uj={Expression:0,Declaration:1,HangingDeclaration:2,NullableId:4,Async:8},pj={StatementOnly:0,AllowImportExport:1,AllowDeclaration:2,AllowFunctionDeclaration:4,AllowLabeledFunction:8},fj=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,gj=new RegExp("in(?:stanceof)?","y");function mj(e,t){for(var r=0;r0)for(var a=0,n=Array.from(this.scope.undefinedExports);a0?("boolean"!==typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(TR.DecoratorsBeforeAfterExport,t.decorators[0]),(a=t.decorators).unshift.apply(a,e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t));return t},r.canHaveLeadingDecorator=function(){return this.match(80)},r.parseDecorators=function(e){var t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(TR.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(TR.UnexpectedLeadingDecorator,this.state.startLoc);return t},r.parseDecorator=function(){this.expectOnePlugin(["decorators","decorators-legacy"]);var e=this.startNode();if(this.next(),this.hasPlugin("decorators")){var t,r=this.state.startLoc;if(this.match(10)){var a=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(a,t);var n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(t),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==t&&this.raise(TR.DecoratorArgumentsOutsideParentheses,n)}else{for(t=this.parseIdentifier(!1);this.eat(16);){var s=this.startNodeAt(r);s.object=t,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),s.computed=!1,t=this.finishNode(s,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")},r.parseMaybeDecoratorArguments=function(e){if(this.eat(10)){var t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e},r.parseBreakContinueStatement=function(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")},r.verifyBreakContinue=function(e,t){var r;for(r=0;r=0;i--){var d=this.state.labels[i];if(d.statementStart!==e.start)break;d.statementStart=this.state.start,d.kind=o}return this.state.labels.push({name:t,kind:o,statementStart:this.state.start}),e.body=a&pj.AllowLabeledFunction?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},r.parseExpressionStatement=function(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},r.parseBlock=function(e,t,r){void 0===e&&(e=!1),void 0===t&&(t=!0);var a=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(ww.OTHER),this.parseBlockBody(a,e,!1,8,r),t&&this.scope.exit(),this.finishNode(a,"BlockStatement")},r.isValidDirective=function(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized},r.parseBlockBody=function(e,t,r,a,n){var s=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?o:void 0,r,a,n)},r.parseBlockOrModuleBlockBody=function(e,t,r,a,n){for(var s=this.state.strict,o=!1,i=!1;!this.match(a);){var d=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!i){if(this.isValidDirective(d)){var c=this.stmtToDirective(d);t.push(c),o||"use strict"!==c.value.value||(o=!0,this.setStrict(!0));continue}i=!0,this.state.strictErrors.clear()}e.push(d)}null==n||n.call(this,o),s||this.setStrict(!1),this.next()},r.parseFor=function(e,t){var r=this;return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((function(){return r.parseStatement()})),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")},r.parseForIn=function(e,t,r){var a=this,n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"!==t.type||null==t.declarations[0].init||n&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(TR.ForInOfLoopInitializer,t,{type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(TR.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((function(){return a.parseStatement()})),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},r.parseVar=function(e,t,r,a){void 0===a&&(a=!1);var n=e.declarations=[];for(e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),s.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==s.init||a||("Identifier"===s.id.type||t&&(this.match(58)||this.isContextual(102))?"const"!==r&&"using"!==r&&"await using"!==r||this.match(58)||this.isContextual(102)||this.raise(TR.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:r}):this.raise(TR.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),n.push(this.finishNode(s,"VariableDeclarator")),!this.eat(12))break}return e},r.parseVarId=function(e,t){var r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:"var"===t?Ew.TYPE_VAR:Ew.TYPE_LEXICAL}),e.id=r},r.parseAsyncFunctionExpression=function(e){return this.parseFunction(e,uj.Async)},r.parseFunction=function(e,t){var r=this;void 0===t&&(t=uj.Expression);var a=t&uj.HangingDeclaration,n=!!(t&uj.Declaration),s=n&&!(t&uj.NullableId),o=!!(t&uj.Async);this.initFunction(e,o),this.match(55)&&(a&&this.raise(TR.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),n&&(e.id=this.parseFunctionId(s));var i=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(ww.FUNCTION),this.prodParam.enter(sE(o,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((function(){r.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),n&&!a&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=i,e},r.parseFunctionId=function(e){return e||ZR(this.state.type)?this.parseIdentifier():null},r.parseFunctionParams=function(e,t){this.expect(10),this.expressionScope.enter(Zw()),e.params=this.parseBindingList(11,41,OE.IS_FUNCTION_PARAMS|(t?OE.IS_CONSTRUCTOR_PARAMS:0)),this.expressionScope.exit()},r.registerFunctionStatementId=function(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?Ew.TYPE_VAR:Ew.TYPE_LEXICAL:Ew.TYPE_FUNCTION,e.id.loc.start)},r.parseClass=function(e,t,r){this.next();var a=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,a),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},r.isClassProperty=function(){return this.match(29)||this.match(13)||this.match(8)},r.isClassMethod=function(){return this.match(10)},r.nameIsConstructor=function(e){return"Identifier"===e.type&&"constructor"===e.name||"StringLiteral"===e.type&&"constructor"===e.value},r.isNonstaticConstructor=function(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)},r.parseClassBody=function(e,t){var r=this;this.classScope.enter();var a={hadConstructor:!1,hadSuperClass:e},n=[],s=this.startNode();if(s.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((function(){for(;!r.match(8);)if(r.eat(13)){if(n.length>0)throw r.raise(TR.DecoratorSemicolon,r.state.lastTokEndLoc)}else if(r.match(26))n.push(r.parseDecorator());else{var e=r.startNode();n.length&&(e.decorators=n,r.resetStartLocationFromNode(e,n[0]),n=[]),r.parseClassMember(s,e,a),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&r.raise(TR.DecoratorConstructor,e)}})),this.state.strict=t,this.next(),n.length)throw this.raise(TR.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(s,"ClassBody")},r.parseClassMemberFromModifier=function(e,t){var r=this.parseIdentifier(!0);if(this.isClassMethod()){var a=t;return a.kind="method",a.computed=!1,a.key=r,a.static=!1,this.pushClassMethod(e,a,!1,!1,!1,!1),!0}if(this.isClassProperty()){var n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1},r.parseClassMember=function(e,t,r){var a=this.isContextual(106);if(a){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,a)},r.parseClassMemberWithIsStatic=function(e,t,r,a){var n=t,s=t,o=t,i=t,d=t,c=n,l=n;if(t.static=a,this.parsePropertyNamePrefixOperator(t),this.eat(55)){c.kind="method";var u=this.match(138);return this.parseClassElementName(c),u?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(TR.ConstructorIsGenerator,n.key),void this.pushClassMethod(e,n,!0,!1,!1,!1))}var p=!this.state.containsEsc&&ZR(this.state.type),f=this.parseClassElementName(t),g=p?f.name:null,m=this.isPrivateName(f),h=this.state.startLoc;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(c.kind="method",m)return void this.pushClassPrivateMethod(e,s,!1,!1);var y=this.isNonstaticConstructor(n),b=!1;y&&(n.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(TR.DuplicateConstructor,f),y&&this.hasPlugin("typescript")&&t.override&&this.raise(TR.OverrideOnConstructor,f),r.hadConstructor=!0,b=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,y,b)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(e,i):this.pushClassProperty(e,o);else if("async"!==g||this.isLineTerminator())if("get"!==g&&"set"!==g||this.match(55)&&this.isLineTerminator())if("accessor"!==g||this.isLineTerminator())this.isLineTerminator()?m?this.pushClassPrivateProperty(e,i):this.pushClassProperty(e,o):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(f);var v=this.match(138);this.parseClassElementName(o),this.pushClassAccessorProperty(e,d,v)}else{this.resetPreviousNodeTrailingComments(f),c.kind=g;var x=this.match(138);this.parseClassElementName(n),x?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(TR.ConstructorIsAccessor,n.key),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else{this.resetPreviousNodeTrailingComments(f);var R=this.eat(55);l.optional&&this.unexpected(h),c.kind="method";var w=this.match(138);this.parseClassElementName(c),this.parsePostMemberNameModifiers(l),w?this.pushClassPrivateMethod(e,s,R,!0):(this.isNonstaticConstructor(n)&&this.raise(TR.ConstructorIsAsync,n.key),this.pushClassMethod(e,n,R,!0,!1,!1))}},r.parseClassElementName=function(e){var t=this.state,r=t.type,a=t.value;if(132!==r&&133!==r||!e.static||"prototype"!==a||this.raise(TR.StaticPrototype,this.state.startLoc),138===r){"constructor"===a&&this.raise(TR.ConstructorClassPrivateField,this.state.startLoc);var n=this.parsePrivateName();return e.key=n,n}return this.parsePropertyName(e),e.key},r.parseClassStaticBlock=function(e,t){var r;this.scope.enter(ww.CLASS|ww.STATIC_BLOCK|ww.SUPER);var a=this.state.labels;this.state.labels=[],this.prodParam.enter(aE.PARAM);var n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=a,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(TR.DecoratorStaticBlock,t)},r.pushClassProperty=function(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(TR.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))},r.pushClassPrivateProperty=function(e,t){var r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),jw.OTHER,r.key.loc.start)},r.pushClassAccessorProperty=function(e,t,r){r||t.computed||!this.nameIsConstructor(t.key)||this.raise(TR.ConstructorClassField,t.key);var a=this.parseClassAccessorProperty(t);e.body.push(a),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),jw.OTHER,a.key.loc.start)},r.pushClassMethod=function(e,t,r,a,n,s){e.body.push(this.parseMethod(t,r,a,n,s,"ClassMethod",!0))},r.pushClassPrivateMethod=function(e,t,r,a){var n=this.parseMethod(t,r,a,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);var s="get"===n.kind?n.static?jw.STATIC_GETTER:jw.INSTANCE_GETTER:"set"===n.kind?n.static?jw.STATIC_SETTER:jw.INSTANCE_SETTER:jw.OTHER;this.declareClassPrivateMethodInScope(n,s)},r.declareClassPrivateMethodInScope=function(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)},r.parsePostMemberNameModifiers=function(e){},r.parseClassPrivateProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")},r.parseClassProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")},r.parseClassAccessorProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")},r.parseInitializer=function(e){this.scope.enter(ww.CLASS|ww.SUPER),this.expressionScope.enter(rE()),this.prodParam.enter(aE.PARAM),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()},r.parseClassId=function(e,t,r,a){if(void 0===a&&(a=Ew.TYPE_CLASS),ZR(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,a);else{if(!r&&t)throw this.raise(TR.MissingClassName,this.state.startLoc);e.id=null}},r.parseClassSuper=function(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null},r.parseExport=function(e,t){var r=this.parseMaybeImportPhase(e,!0),a=this.maybeParseExportDefaultSpecifier(e,r),n=!a||this.eat(12),s=n&&this.eatExportStar(e),o=s&&this.maybeParseExportNamespaceSpecifier(e),i=n&&(!o||this.eat(12)),d=a||s;if(s&&!o){if(a&&this.unexpected(),t)throw this.raise(TR.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}var c,l=this.maybeParseExportNamedSpecifiers(e);if(a&&n&&!s&&!l&&this.unexpected(null,5),o&&i&&this.unexpected(null,98),d||l){if(c=!1,t)throw this.raise(TR.UnsupportedDecoratorExport,e);this.parseExportFrom(e,d)}else c=this.maybeParseExportDeclaration(e);if(d||l||c){var u,p=e;if(this.checkExport(p,!0,!1,!!p.source),"ClassDeclaration"===(null==(u=p.declaration)?void 0:u.type))this.maybeTakeDecorators(t,p.declaration,p);else if(t)throw this.raise(TR.UnsupportedDecoratorExport,e);return this.finishNode(p,"ExportNamedDeclaration")}if(this.eat(65)){var f=e,g=this.parseExportDefaultExpression();if(f.declaration=g,"ClassDeclaration"===g.type)this.maybeTakeDecorators(t,g,f);else if(t)throw this.raise(TR.UnsupportedDecoratorExport,e);return this.checkExport(f,!0,!0),this.finishNode(f,"ExportDefaultDeclaration")}this.unexpected(null,5)},r.eatExportStar=function(e){return this.eat(55)},r.maybeParseExportDefaultSpecifier=function(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);var r=t||this.parseIdentifier(!0),a=this.startNodeAtNode(r);return a.exported=r,e.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],!0}return!1},r.maybeParseExportNamespaceSpecifier=function(e){if(this.isContextual(93)){var t;null!=(t=e).specifiers||(t.specifiers=[]);var r=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1},r.maybeParseExportNamedSpecifiers=function(e){if(this.match(5)){var t,r=e;r.specifiers||(r.specifiers=[]);var a="type"===r.exportKind;return(t=r.specifiers).push.apply(t,this.parseExportSpecifiers(a)),r.source=null,r.declaration=null,this.hasPlugin("importAssertions")&&(r.assertions=[]),!0}return!1},r.maybeParseExportDeclaration=function(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)},r.isAsyncFunction=function(){if(!this.isContextual(95))return!1;var e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")},r.parseExportDefaultExpression=function(){var e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,uj.Declaration|uj.NullableId);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,uj.Declaration|uj.NullableId|uj.Async);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(TR.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(TR.UnsupportedDefaultExport,this.state.startLoc);var t=this.parseMaybeAssignAllowIn();return this.semicolon(),t},r.parseExportDeclaration=function(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()},r.isExportDefaultSpecifier=function(){var e=this.state.type;if(ZR(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){var t=this.lookahead().type;if(ZR(t)&&98!==t||5===t)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;var r=this.nextTokenStart(),a=this.isUnparsedContextual(r,"from");if(44===this.input.charCodeAt(r)||ZR(this.state.type)&&a)return!0;if(this.match(65)&&a){var n=this.input.charCodeAt(this.nextTokenStartSince(r+4));return 34===n||39===n}return!1},r.parseExportFrom=function(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()},r.shouldParseExportDeclaration=function(){var e=this.state.type;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(TR.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)||this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(TR.UsingDeclarationExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()},r.checkExport=function(e,t,r,a){var n;if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var s,o=e.declaration;"Identifier"!==o.type||"from"!==o.name||o.end-o.start!==4||null!=(s=o.extra)&&s.parenthesized||this.raise(TR.ExportDefaultFromAsIdentifier,o)}}else if(null!=(n=e.specifiers)&&n.length)for(var i=0,d=e.specifiers;i0&&this.raise(TR.ImportReflectionHasAssertion,t[0].loc.start)}},r.checkJSONModuleImport=function(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){var t=e.specifiers;if(null!=t){var r=t.find((function(e){var t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==r&&this.raise(TR.ImportJSONBindingNotDefault,r.loc.start)}}},r.isPotentialImportPhase=function(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))},r.applyImportPhase=function(e,t,r,a){t||("module"===r?(this.expectPlugin("importReflection",a),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===r?(this.expectPlugin("sourcePhaseImports",a),e.phase="source"):"defer"===r?(this.expectPlugin("deferredImportEvaluation",a),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))},r.parseMaybeImportPhase=function(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;var r=this.parseIdentifier(!0),a=this.state.type;return(tw(a)?98!==a||102===this.lookaheadCharCode():12!==a)?(this.resetPreviousIdentifierLeadingComments(r),this.applyImportPhase(e,t,r.name,r.loc.start),null):(this.applyImportPhase(e,t,null),r)},r.isPrecedingIdImportPhase=function(e){var t=this.state.type;return ZR(t)?98!==t||102===this.lookaheadCharCode():12!==t},r.parseImport=function(e){return this.match(133)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))},r.parseImportSpecifiersAndAfter=function(e,t){e.specifiers=[];var r=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),a=r&&this.maybeParseStarImportSpecifier(e);return r&&!a&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)},r.parseImportSourceAndAttributes=function(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")},r.parseImportSource=function(){return this.match(133)||this.unexpected(),this.parseExprAtom()},r.parseImportSpecifierLocal=function(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))},r.finishImportSpecifier=function(e,t,r){return void 0===r&&(r=Ew.TYPE_LEXICAL),this.checkLVal(e.local,{in:{type:t},binding:r}),this.finishNode(e,t)},r.parseImportAttributes=function(){this.expect(5);var e=[],t=new Set;do{if(this.match(8))break;var r=this.startNode(),a=this.state.value;if(t.has(a)&&this.raise(TR.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:a}),t.add(a),this.match(133)?r.key=this.parseStringLiteral(a):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(TR.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e},r.parseModuleAttributes=function(){var e=[],t=new Set;do{var r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(TR.ModuleAttributeDifferentFromType,r.key),t.has(r.key.name)&&this.raise(TR.ModuleAttributesWithDuplicateKeys,r.key,{key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(133))throw this.raise(TR.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e},r.maybeParseImportAttributes=function(e){var t,r=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?t=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),t=this.parseImportAttributes()),r=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(!0!==this.getPluginOption("importAttributes","deprecatedAssertSyntax")&&this.raise(TR.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(e,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),t=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))t=[];else{if(!this.hasPlugin("moduleAttributes"))return;t=[]}!r&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t},r.maybeParseDefaultImportSpecifier=function(e,t){if(t){var r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishImportSpecifier(r,"ImportDefaultSpecifier")),!0}return!!tw(this.state.type)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)},r.maybeParseStarImportSpecifier=function(e){if(this.match(55)){var t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1},r.parseNamedImportSpecifiers=function(e){var t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(TR.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}var r=this.startNode(),a=this.match(133),n=this.isContextual(130);r.imported=this.parseModuleExportName();var s=this.parseImportSpecifier(r,a,"type"===e.importKind||"typeof"===e.importKind,n,void 0);e.specifiers.push(s)}},r.parseImportSpecifier=function(e,t,r,a,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{var s=e.imported;if(t)throw this.raise(TR.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=uE(s))}return this.finishImportSpecifier(e,"ImportSpecifier",n)},r.isThisParam=function(e){return"Identifier"===e.type&&"this"===e.name},p(t)}(dj),yj=function(e){function t(t,r){var a;return t=ij(t),(a=e.call(this,t,r)||this).options=t,a.initializeScopes(),a.plugins=bj(a.options.plugins),a.filename=t.sourceFilename,a}f(t,e);var r=t.prototype;return r.getScopeHandler=function(){return Aw},r.parse=function(){this.enterInitialScopes();var e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e.comments.length=this.state.commentsLen,e},p(t)}(hj);function bj(e){for(var t=new Map,r=0;r!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,kj.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}),kj}function Pj(e){return null!=e&&e&&"false"!==e&&"0"!==e}var _j=(Pj(co.env.BABEL_8_BREAKING),Cj()),Dj={exports:{}},Ij=String,Oj=function(){return{isColorSupported:!1,reset:Ij,bold:Ij,dim:Ij,italic:Ij,underline:Ij,inverse:Ij,hidden:Ij,strikethrough:Ij,black:Ij,red:Ij,green:Ij,yellow:Ij,blue:Ij,magenta:Ij,cyan:Ij,white:Ij,gray:Ij,bgBlack:Ij,bgRed:Ij,bgGreen:Ij,bgYellow:Ij,bgBlue:Ij,bgMagenta:Ij,bgCyan:Ij,bgWhite:Ij}};Dj.exports=Oj();var Nj=Dj.exports.createColors=Oj,Bj=Dj.exports,Fj="object"!==typeof co||"0"!==co.env.FORCE_COLOR&&"false"!==co.env.FORCE_COLOR?Bj:Nj(!1),Mj=function(e,t){return function(r){return e(t(r))}},Lj=new Set(["as","async","from","get","of","set"]);function Uj(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:Mj(Mj(e.white,e.bgRed),e.bold)}}var qj,Wj=/\r\n|[\n\r\u2028\u2029]/,Hj=/^[()[\]{}]$/,zj=/^[a-z][\w-]*$/i,Vj=function(e,t,r){if("name"===e.type){if(Bo(e.value)||Io(e.value,!0)||Lj.has(e.value))return"keyword";if(zj.test(e.value)&&("<"===r[t-1]||""),o(s.gutter,n),e.length>0?" "+e:"",u].join("")}return" "+o(s.gutter,n)+(e.length>0?" "+e:"")})).join("\n");return r.message&&!u&&(f=""+" ".repeat(p+1)+r.message+"\n"+f),a?n.reset(f):f}var sS=H,oS=J,iS=_n,dS=re,cS=Dr,lS=pe,uS=Wr,pS=wn,fS=se,gS=Sx,mS=Fx,hS=/^[_$A-Z0-9]+$/;function yS(e,t,r){var a=r.placeholderWhitelist,n=r.placeholderPattern,s=r.preserveComments,o=r.syntacticPlaceholders,i=xS(t,r.parser,o);gS(i,{preserveComments:s}),e.validate(i);var d={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:a,placeholderPattern:n,syntacticPlaceholders:o};return mS(i,bS,d),Object.assign({ast:i},d.syntactic.placeholders.length?d.syntactic:d.legacy)}function bS(e,t,r){var a,n,s=r.syntactic.placeholders.length>0;if(uS(e)){if(!1===r.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");n=e.name.name,s=!0}else{if(s||r.syntacticPlaceholders)return;if(dS(e)||cS(e))n=e.name;else{if(!fS(e))return;n=e.value}}if(s&&(null!=r.placeholderPattern||null!=r.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(s||!1!==r.placeholderPattern&&(r.placeholderPattern||hS).test(n)||null!=(a=r.placeholderWhitelist)&&a.has(n)){var o,i=(t=t.slice())[t.length-1],d=i.node,c=i.key;fS(e)||uS(e,{expectedNode:"StringLiteral"})?o="string":lS(d)&&"arguments"===c||sS(d)&&"arguments"===c||iS(d)&&"params"===c?o="param":oS(d)&&!uS(e)?(o="statement",t=t.slice(0,-1)):o=pS(e)&&uS(e)?"statement":"other";var l=s?r.syntactic:r.legacy,u=l.placeholders,p=l.placeholderNames;u.push({name:n,type:o,resolve:function(e){return vS(e,t)},isDuplicate:p.has(n)}),p.add(n)}}function vS(e,t){for(var r=e,a=0;a1?a-1:0),o=1;o1)throw new Error("Unexpected extra params.");return MS(DS(e,t,oR(n,iR(s[0]))))}if(Array.isArray(t)){var i=r.get(t);return i||(i=IS(e,t,n),r.set(t,i)),MS(i(s))}if("object"===typeof t&&t){if(s.length>0)throw new Error("Unexpected extra params.");return FS(e,oR(n,iR(t)))}throw new Error("Unexpected template param "+typeof t)}),{ast:function(t){for(var r=arguments.length,s=new Array(r>1?r-1:0),o=1;o1)throw new Error("Unexpected extra params.");return DS(e,t,oR(oR(n,iR(s[0])),BS))()}if(Array.isArray(t)){var i=a.get(t);return i||(i=IS(e,t,oR(n,BS)),a.set(t,i)),i(s)()}throw new Error("Unexpected template param "+typeof t)}})}function MS(e){var t="";try{throw new Error}catch(n$){n$.stack&&(t=n$.stack.split("\n").slice(3).join("\n"))}return function(r){try{return e(r)}catch(a){throw a.stack+="\n =============\n"+t,a}}}var LS=FS(eR),US=FS(rR),qS=FS(tR),WS=FS(aR),HS=FS(nR),zS=Object.assign(LS.bind(void 0),{smart:LS,statement:US,statements:qS,expression:WS,program:HS,ast:LS.ast}),VS=Object.freeze({__proto__:null,default:zS,expression:WS,program:HS,smart:LS,statement:US,statements:qS});function GS(e,t,r){return Object.freeze({minVersion:e,ast:function(){return zS.program.ast(t,{preserveComments:!0})},metadata:r})}var KS={__proto__:null,OverloadYield:GS("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:GS("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(i,e,a),a=null),a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:GS("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;ir.length)&&(a=r.length);for(var e=0,n=Array(a);e=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]}}),createForOfIteratorHelperLoose:GS("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]}}),createSuper:GS("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]}}),decorate:GS("7.1.5",'function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s1){for(var t=Array(n),f=0;f=0||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]}}),objectWithoutPropertiesLoose:GS("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),possibleConstructorReturn:GS("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]}}),readOnlyError:GS("7.0.0-beta.0","function _readOnlyError(r){throw new TypeError('\"'+r+'\" is read-only')}",{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{}}),regeneratorRuntime:GS("7.18.0",'function _regeneratorRuntime(){"use strict";\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a \'"+n+"\' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}',{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),set:GS("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]}}),setFunctionName:GS("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{}}),setPrototypeOf:GS("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{}}),skipFirstGeneratorNext:GS("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{}}),slicedToArray:GS("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),superPropBase:GS("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]}}),taggedTemplateLiteral:GS("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{}}),taggedTemplateLiteralLoose:GS("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{}}),tdz:GS("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{}}),temporalRef:GS("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]}}),temporalUndefined:GS("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:GS("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),toConsumableArray:GS("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]}}),toPrimitive:GS("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{}}),toPropertyKey:GS("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]}}),toSetter:GS("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{}}),typeof:GS("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{}}),unsupportedIterableToArray:GS("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]}}),usingCtx:GS("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,n){var e=Error();return e.name="SuppressedError",e.error=r,e.suppressed=n,e},n={},e=[];function using(r,n){if(null!=n){if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==o&&(o=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof o)throw new TypeError("Property [Symbol.dispose] is not a function.");e.push({v:n,d:o,a:r})}else r&&e.push({d:n,a:r});return n}return{e:n,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o=this.e;function next(){for(;r=e.pop();)try{var r,t=r.d&&r.d.call(r.v);if(r.a)return Promise.resolve(t).then(next,err)}catch(r){return err(r)}if(o!==n)throw o}function err(e){return o=o!==n?new r(e,o):e,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:GS("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]}}),wrapNativeSuper:GS("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]}}),wrapRegExp:GS("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]}}),writeOnlyError:GS("7.12.13","function _writeOnlyError(r){throw new TypeError('\"'+r+'\" is write-only')}",{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{}})};Object.assign(KS,{AwaitValue:GS("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:GS("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]}}),classApplyDescriptorDestructureSet:GS("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{}}),classApplyDescriptorGet:GS("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{}}),classApplyDescriptorSet:GS("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{}}),classCheckPrivateStaticAccess:GS("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]}}),classCheckPrivateStaticFieldDescriptor:GS("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{}}),classExtractFieldDescriptor:GS("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]}}),classPrivateFieldDestructureSet:GS("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldGet:GS("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldSet:GS("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateMethodGet:GS("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),classPrivateMethodSet:GS("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{}}),classStaticPrivateFieldDestructureSet:GS("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecGet:GS("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecSet:GS("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateMethodSet:GS("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{}}),defineEnumerableProperties:GS("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{}}),objectSpread:GS("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r0;)e=e[n],n=a.shift();if(!(arguments.length>2))return e[n];e[n]=r}catch(iNe){throw iNe.message+=" (when accessing "+t+")",iNe}}function $S(e,t,r,a,n,s){var o=t.locals,i=t.dependencies,d=t.exportBindingAssignments,c=t.exportName,l=new Set(a||[]);r&&l.add(r);for(var u=0,p=(Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))})(o);u100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(i){var d=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*n;case"days":case"day":case"d":return d*a;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function i(n){var s=Math.abs(n);return s>=a?Math.round(n/a)+"d":s>=r?Math.round(n/r)+"h":s>=t?Math.round(n/t)+"m":s>=e?Math.round(n/e)+"s":n+"ms"}function d(n){var s=Math.abs(n);return s>=a?c(n,s,a,"day"):s>=r?c(n,s,r,"hour"):s>=t?c(n,s,t,"minute"):s>=e?c(n,s,e,"second"):n+" ms"}function c(e,t,r,a){var n=t>=1.5*r;return Math.round(e/r)+" "+a+(n?"s":"")}return IA=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return o(e);if("number"===r&&isFinite(e))return t.long?d(e):i(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},IA}function MA(e){function t(e){for(var t=0,a=0;a=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function a(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var a=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(n=a))})),t.splice(n,0,r)}}function n(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n$){}}function s(){var e;try{e=t.storage.getItem("debug")}catch(n$){}return!e&&"undefined"!==typeof co&&"env"in co&&(e=co.env.DEBUG),e}function o(){try{return localStorage}catch(n$){}}t.formatArgs=a,t.save=n,t.load=s,t.useColors=r,t.storage=o(),t.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=LA(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(n$){return"[UnexpectedJSONParseError]: "+n$.message}}}(BA,BA.exports);var UA=BA.exports,qA=nv,WA=kc,HA=Cc,zA=zd,VA=hc,GA=yc;function KA(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){var t=e.get("declaration"),r=t.isFunctionDeclaration()||t.isClassDeclaration(),a=t.isFunctionExpression()||t.isClassExpression(),n=t.isScope()?t.scope.parent:t.scope,s=t.node.id,o=!1;s?a&&n.hasBinding(s.name)&&(o=!0,s=n.generateUidIdentifier(s.name)):(o=!0,s=n.generateUidIdentifier("default"),(r||a)&&(t.node.id=qA(s)));var i=r?t.node:VA("var",[GA(qA(s),t.node)]),d=WA(null,[HA(qA(s),zA("default"))]);return e.insertAfter(d),e.replaceWith(i),o&&n.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var c=e.get("declaration"),l=c.getOuterBindingIdentifiers(),u=Object.keys(l).map((function(e){return HA(zA(e),zA(e))})),p=WA(null,u);return e.insertAfter(p),e.replaceWith(c.node),e}function YA(e){var t=e.context,r=e.node;if(r.computed&&t.maybeQueue(e.get("key")),r.decorators)for(var a,n=P(e.get("decorators"));!(a=n()).done;){var s=a.value;t.maybeQueue(s)}}var XA={FunctionParent:function(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&YA(e))},Property:function(e){e.isObjectProperty()||(e.skip(),YA(e))}},JA={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&YA(e))},ObjectProperty:function(e,t){var r,a=e.node,n=e.scope,s=a.key.name;!a.shorthand||s!==t.oldName&&s!==t.newName||n.getBindingIdentifier(s)!==t.binding.identifier||(a.shorthand=!1,null!=(r=a.extra)&&r.shorthand&&(a.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var r=e.getOuterBindingIdentifiers();for(var a in r)a===t.oldName&&(r[a].name=t.newName)}}},$A=function(){function e(e,t,r){this.newName=r,this.oldName=t,this.binding=e}var t=e.prototype;return t.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){var r=t.node.declaration;if(On(r)&&!r.id)return}t.isExportAllDeclaration()||KA(t)}},t.maybeConvertFromClassFunctionDeclaration=function(e){return e},t.maybeConvertFromClassFunctionExpression=function(e){return e},t.rename=function(){var e=this.binding,t=this.oldName,r=this.newName,a=e.scope,n=e.path,s=n.find((function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()}));s&&s.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(s),kz(arguments[0]||a.block,gA(JA),a,this,a.path,{discriminant:!0}),arguments[0]||(a.removeOwnBinding(t),a.bindings[r]=e,this.binding.identifier.name=r),s&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))},p(e)}(),QA=function(){function e(e){var t=e.identifier,r=e.scope,a=e.path,n=e.kind;this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=a,this.kind=n,"var"!==n&&"hoisted"!==n||!ZA(a)||this.reassign(a),this.clearValue()}var t=e.prototype;return t.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},t.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},t.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},t.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},t.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},t.dereference=function(){this.references--,this.referenced=!!this.references},p(e)}();function ZA(e){for(var t=e.parentPath,r=e.key;t;t=(a=t).parentPath,r=a.key,a){var a;if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&"body"===r)return!0}return!1}var ek,tk,rk={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function ak(){return tk?ek:(tk=1,ek=rk)}function nk(e){return null!=e&&e&&"false"!==e&&"0"!==e}var sk=(nk(co.env.BABEL_8_BREAKING),ak()),ok=pi,ik=_d,dk=nv,ck=Nx,lk=zd,uk=N,pk=bn,fk=H,gk=Vn,mk=Ne,hk=Fe,yk=Me,bk=Le,vk=Ue,xk=ee,Rk=re,wk=He,Ek=Mn,jk=ue,Sk=Un,Tk=Yn,Ak=ie,kk=ge,Ck=Wn,Pk=In,_k=ce,Dk=Qe,Ik=Ze,Ok=tt,Nk=Ee,Bk=Te,Fk=ke,Mk=ms,Lk=Zd,Uk=Yd,qk=yx,Wk=hc,Hk=yc,zk=Jr,Vk=$r,Gk=he,Kk=ea,Yk=Ye,Xk=ft,Jk=Kn,$k=ev;function Qk(e,t){switch(null==e?void 0:e.type){default:var r;if(wk(e)||Jk(e))if((yk(e)||vk(e)||wk(e))&&e.source)Qk(e.source,t);else if((vk(e)||wk(e))&&null!=(r=e.specifiers)&&r.length)for(var a,n=P(e.specifiers);!(a=n()).done;)Qk(a.value,t);else(bk(e)||vk(e))&&e.declaration&&Qk(e.declaration,t);else Tk(e)?Qk(e.local,t):!Ek(e)||Ak(e)||_k(e)||Ok(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Qk(e.object,t),Qk(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Qk(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(var s,o=P(e.properties);!(s=o()).done;)Qk(s.value,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":Qk(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Qk(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),Qk(e.argument,t);break;case"AwaitExpression":t.push("await"),Qk(e.argument,t);break;case"AssignmentExpression":Qk(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":Qk(e.id,t);break;case"ParenthesizedExpression":Qk(e.expression,t);break;case"MetaProperty":Qk(e.meta,t),Qk(e.property,t);break;case"JSXElement":Qk(e.openingElement,t);break;case"JSXOpeningElement":Qk(e.name,t);break;case"JSXFragment":Qk(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":Qk(e.namespace,t),Qk(e.name,t)}}var Zk={ForStatement:function(e){var t=e.get("init");if(t.isVar()){var r=e.scope;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration:function(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){var a=e.scope;(a.getFunctionParent()||a.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope;if(!yk(t)){var a=t.declaration;if(hk(a)||xk(a)){var n=a.id;if(!n)return;var s=r.getBinding(n.name);null==s||s.reference(e)}else if(Fk(a))for(var o,i=P(a.declarations);!(o=i()).done;)for(var d=o.value,c=0,l=Object.keys(ck(d));c1&&(r+=t),"_"+r},t.generateUidBasedOnNode=function(e,t){var r=[];Qk(e,r);var a=r.join("$");return a=a.replace(/^_/,"")||t||"ref",this.generateUid(a.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return lk(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(Nk(e)||Dk(e)||Kk(e))return!0;if(Rk(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),dk(r))},t.checkBlockScopedCollisions=function(e,t,r,a){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.hub.buildError(a,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new $A(r,e,t).rename(arguments[2]))},t._renameFromMap=function(e,t,r,a){e[t]&&(e[r]=a,e[t]=null)},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,a=Object.keys(t.bindings);r0)&&this.isPure(e.body,t);if(mk(e)){for(var o,i=P(e.body);!(o=i()).done;){var d=o.value;if(!this.isPure(d,t))return!1}return!0}if(pk(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(uk(e)||Vk(e)){for(var c,l=P(e.elements);!(c=l()).done;){var u=c.value;if(null!==u&&!this.isPure(u,t))return!1}return!0}if(kk(e)||zk(e)){for(var p,f=P(e.properties);!(p=f()).done;){var g=p.value;if(!this.isPure(g,t))return!1}return!0}if(Sk(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(n=e.decorators)?void 0:n.length)>0);if(Ck(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(s=e.decorators)?void 0:s.length)>0)&&!((Gk(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(Bk(e))return this.isPure(e.argument,t);if(Ok(e)){for(var m,h=P(e.expressions);!(m=h()).done;){var y=m.value;if(!this.isPure(y,t))return!1}return!0}return Ik(e)?Mk(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t):jk(e)?!e.computed&&Rk(e.object)&&"Symbol"===e.object.name&&Rk(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0}):fk(e)?Mk(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&se(e.arguments[0]):Pk(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);var t=this.getProgramParent();if(!t.crawling){var r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&fA(Zk)){for(var a,n=P(Zk.enter);!(a=n()).done;)a.value.call(r,e,r);var s=Zk[e.type];if(s)for(var o,i=P(s.enter);!(o=i()).done;)o.value.call(r,e,r)}e.traverse(Zk,r),this.crawling=!1;for(var d,c=P(r.assignments);!(d=c()).done;){for(var l=d.value,u=l.getBindingIdentifiers(),p=0,f=Object.keys(u);p0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[i-2]?2:"="===e[i-1]?1:0,o=new dC(3*i/4-s),a=s>0?i-4:i;var d=0;for(t=0,r=0;t>16&255,o[d++]=n>>8&255,o[d++]=255&n;return 2===s?(n=iC[e.charCodeAt(t)]<<2|iC[e.charCodeAt(t+1)]>>4,o[d++]=255&n):1===s&&(n=iC[e.charCodeAt(t)]<<10|iC[e.charCodeAt(t+1)]<<4|iC[e.charCodeAt(t+2)]>>2,o[d++]=n>>8&255,o[d++]=255&n),o}function pC(e){return oC[e>>18&63]+oC[e>>12&63]+oC[e>>6&63]+oC[63&e]}function fC(e,t,r){for(var a,n=[],s=t;sd?d:i+o));return 1===a?(t=e[r-1],n+=oC[t>>2],n+=oC[t<<4&63],n+="=="):2===a&&(t=(e[r-2]<<8)+e[r-1],n+=oC[t>>10],n+=oC[t>>4&63],n+=oC[t<<2&63],n+="="),s.push(n),s.join("")}function mC(e,t,r,a,n){var s,o,i=8*n-a-1,d=(1<>1,l=-7,u=r?n-1:0,p=r?-1:1,f=e[t+u];for(u+=p,s=f&(1<<-l)-1,f>>=-l,l+=i;l>0;s=256*s+e[t+u],u+=p,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=a;l>0;o=256*o+e[t+u],u+=p,l-=8);if(0===s)s=1-c;else{if(s===d)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,a),s-=c}return(f?-1:1)*o*Math.pow(2,s-a)}function hC(e,t,r,a,n,s){var o,i,d,c=8*s-n-1,l=(1<>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=a?0:s-1,g=a?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-o))<1&&(o--,d*=2),(t+=o+u>=1?p/d:p*Math.pow(2,1-u))*d>=2&&(o++,d/=2),o+u>=l?(i=0,o=l):o+u>=1?(i=(t*d-1)*Math.pow(2,n),o+=u):(i=t*Math.pow(2,u-1)*Math.pow(2,n),o=0));n>=8;e[r+f]=255&i,f+=g,i/=256,n-=8);for(o=o<0;e[r+f]=255&o,f+=g,o/=256,c-=8);e[r+f-g]|=128*m}var yC={}.toString,bC=Array.isArray||function(e){return"[object Array]"==yC.call(e)},vC=50;function xC(){return wC.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function RC(e,t){if(xC()=xC())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xC().toString(16)+" bytes");return 0|e}function DC(e){return!(null==e||!e._isBuffer)}function IC(e,t){if(DC(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return cP(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return pP(e).length;default:if(a)return cP(e).length;t=(""+t).toLowerCase(),a=!0}}function OC(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return JC(this,t,r);case"utf8":case"utf-8":return VC(this,t,r);case"ascii":return YC(this,t,r);case"latin1":case"binary":return XC(this,t,r);case"base64":return zC(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $C(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function NC(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function BC(e,t,r,a,n){if(0===e.length)return-1;if("string"===typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"===typeof t&&(t=wC.from(t,a)),DC(t))return 0===t.length?-1:FC(e,t,r,a,n);if("number"===typeof t)return t&=255,wC.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):FC(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function FC(e,t,r,a,n){var s,o=1,i=e.length,d=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,i/=2,d/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var l=-1;for(s=r;si&&(r=i-d),s=r;s>=0;s--){for(var u=!0,p=0;pn&&(a=n):a=n;var s=t.length;if(s%2!==0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var o=0;o239?4:c>223?3:c>191?2:1;if(n+u<=r)switch(u){case 1:c<128&&(l=c);break;case 2:128===(192&(s=e[n+1]))&&(d=(31&c)<<6|63&s)>127&&(l=d);break;case 3:s=e[n+1],o=e[n+2],128===(192&s)&&128===(192&o)&&(d=(15&c)<<12|(63&s)<<6|63&o)>2047&&(d<55296||d>57343)&&(l=d);break;case 4:s=e[n+1],o=e[n+2],i=e[n+3],128===(192&s)&&128===(192&o)&&128===(192&i)&&(d=(15&c)<<18|(63&s)<<12|(63&o)<<6|63&i)>65535&&d<1114112&&(l=d)}null===l?(l=65533,u=1):l>65535&&(l-=65536,a.push(l>>>10&1023|55296),l=56320|1023&l),a.push(l),n+=u}return KC(a)}wC.TYPED_ARRAY_SUPPORT=void 0===vs.TYPED_ARRAY_SUPPORT||vs.TYPED_ARRAY_SUPPORT,xC(),wC.poolSize=8192,wC._augment=function(e){return e.__proto__=wC.prototype,e},wC.from=function(e,t,r){return EC(null,e,t,r)},wC.TYPED_ARRAY_SUPPORT&&(wC.prototype.__proto__=Uint8Array.prototype,wC.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&wC[Symbol.species]),wC.alloc=function(e,t,r){return SC(null,e,t,r)},wC.allocUnsafe=function(e){return TC(null,e)},wC.allocUnsafeSlow=function(e){return TC(null,e)},wC.isBuffer=mP,wC.compare=function(e,t){if(!DC(e)||!DC(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,n=0,s=Math.min(r,a);n0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},wC.prototype.compare=function(e,t,r,a,n){if(!DC(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw new RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(n>>>=0)-(a>>>=0),o=(r>>>=0)-(t>>>=0),i=Math.min(s,o),d=this.slice(a,n),c=e.slice(t,r),l=0;ln)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return MC(this,e,t,r);case"utf8":case"utf-8":return LC(this,e,t,r);case"ascii":return UC(this,e,t,r);case"latin1":case"binary":return qC(this,e,t,r);case"base64":return WC(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return HC(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},wC.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var GC=4096;function KC(e){var t=e.length;if(t<=GC)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var n="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function ZC(e,t,r,a,n,s){if(!DC(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function eP(e,t,r,a){t<0&&(t=65535+t+1);for(var n=0,s=Math.min(e.length-r,2);n>>8*(a?n:1-n)}function tP(e,t,r,a){t<0&&(t=4294967295+t+1);for(var n=0,s=Math.min(e.length-r,4);n>>8*(a?n:3-n)&255}function rP(e,t,r,a,n,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function aP(e,t,r,a,n){return n||rP(e,t,r,4),hC(e,t,r,a,23,4),r+4}function nP(e,t,r,a,n){return n||rP(e,t,r,8),hC(e,t,r,a,52,8),r+8}wC.prototype.slice=function(e,t){var r,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(n*=256);)a+=this[e+--t]*n;return a},wC.prototype.readUInt8=function(e,t){return t||QC(e,1,this.length),this[e]},wC.prototype.readUInt16LE=function(e,t){return t||QC(e,2,this.length),this[e]|this[e+1]<<8},wC.prototype.readUInt16BE=function(e,t){return t||QC(e,2,this.length),this[e]<<8|this[e+1]},wC.prototype.readUInt32LE=function(e,t){return t||QC(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},wC.prototype.readUInt32BE=function(e,t){return t||QC(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},wC.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||QC(e,t,this.length);for(var a=this[e],n=1,s=0;++s=(n*=128)&&(a-=Math.pow(2,8*t)),a},wC.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||QC(e,t,this.length);for(var a=t,n=1,s=this[e+--a];a>0&&(n*=256);)s+=this[e+--a]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},wC.prototype.readInt8=function(e,t){return t||QC(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},wC.prototype.readInt16LE=function(e,t){t||QC(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},wC.prototype.readInt16BE=function(e,t){t||QC(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},wC.prototype.readInt32LE=function(e,t){return t||QC(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},wC.prototype.readInt32BE=function(e,t){return t||QC(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},wC.prototype.readFloatLE=function(e,t){return t||QC(e,4,this.length),mC(this,e,!0,23,4)},wC.prototype.readFloatBE=function(e,t){return t||QC(e,4,this.length),mC(this,e,!1,23,4)},wC.prototype.readDoubleLE=function(e,t){return t||QC(e,8,this.length),mC(this,e,!0,52,8)},wC.prototype.readDoubleBE=function(e,t){return t||QC(e,8,this.length),mC(this,e,!1,52,8)},wC.prototype.writeUIntLE=function(e,t,r,a){e=+e,t|=0,r|=0,a||ZC(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+n]=e/s&255;return t+r},wC.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,1,255,0),wC.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},wC.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,2,65535,0),wC.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):eP(this,e,t,!0),t+2},wC.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,2,65535,0),wC.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):eP(this,e,t,!1),t+2},wC.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,4,4294967295,0),wC.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):tP(this,e,t,!0),t+4},wC.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,4,4294967295,0),wC.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):tP(this,e,t,!1),t+4},wC.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);ZC(this,e,t,r,n-1,-n)}var s=0,o=1,i=0;for(this[t]=255&e;++s=0&&(o*=256);)e<0&&0===i&&0!==this[t+s+1]&&(i=1),this[t+s]=(e/o|0)-i&255;return t+r},wC.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,1,127,-128),wC.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},wC.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,2,32767,-32768),wC.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):eP(this,e,t,!0),t+2},wC.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,2,32767,-32768),wC.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):eP(this,e,t,!1),t+2},wC.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,4,2147483647,-2147483648),wC.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):tP(this,e,t,!0),t+4},wC.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||ZC(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),wC.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):tP(this,e,t,!1),t+4},wC.prototype.writeFloatLE=function(e,t,r){return aP(this,e,t,!0,r)},wC.prototype.writeFloatBE=function(e,t,r){return aP(this,e,t,!1,r)},wC.prototype.writeDoubleLE=function(e,t,r){return nP(this,e,t,!0,r)},wC.prototype.writeDoubleBE=function(e,t,r){return nP(this,e,t,!1,r)},wC.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--n)e[n+t]=this[n+r];else if(s<1e3||!wC.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(s=t;s55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function lP(e){for(var t=[],r=0;r>8,n=r%256,s.push(n),s.push(a);return s}function pP(e){return uC(oP(e))}function fP(e,t,r,a){for(var n=0;n=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function gP(e){return e!==e}function mP(e){return null!=e&&(!!e._isBuffer||hP(e)||yP(e))}function hP(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function yP(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&hP(e.slice(0,0))}var bP,vP={exports:{}};function xP(){return bP||(bP=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),o=0;o>>=1,c&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(g)}function g(e,t){return e[0]-t[0]}function m(e){for(var a=new Int32Array(5),n=16384,s=n-36,o=new Uint8Array(n),i=o.subarray(0,s),c=0,l="",u=0;u0&&(c===n&&(l+=d.decode(o),c=0),o[c++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(l+=d.decode(i),o.copyWithin(0,s,c),c-=s),f>0&&(o[c++]=t),c=h(o,c,a,g,0),1!==g.length&&(c=h(o,c,a,g,1),c=h(o,c,a,g,2),c=h(o,c,a,g,3),4!==g.length&&(c=h(o,c,a,g,4)))}}}return l+d.decode(o.subarray(0,c))}function h(e,t,r,a,s){var o=a[s],i=o-r[s];r[s]=o,i=i<0?-i<<1|1:i<<1;do{var d=31&i;(i>>>=5)>0&&(d|=32),e[t++]=n[d]}while(i>0);return t}e.decode=c,e.encode=m,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,vP.exports)),vP.exports}var RP,wP={exports:{}},EP={exports:{}};function jP(){return RP||(RP=1,e=EP,function(t,r){e.exports=r()}(0,(function(){var e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function a(t){return e.test(t)}function n(e){return e.startsWith("//")}function s(e){return e.startsWith("/")}function o(e){return e.startsWith("file:")}function i(e){return/^[.?#]/.test(e)}function d(e){var r=t.exec(e);return l(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function c(e){var t=r.exec(e),a=t[2];return l("file:","",t[1]||"","",s(a)?a:"/"+a,t[3]||"",t[4]||"")}function l(e,t,r,a,n,s,o){return{scheme:e,user:t,host:r,port:a,path:n,query:s,hash:o,type:7}}function u(e){if(n(e)){var t=d("http:"+e);return t.scheme="",t.type=6,t}if(s(e)){var r=d("http://foo.com"+e);return r.scheme="",r.host="",r.type=5,r}if(o(e))return c(e);if(a(e))return d(e);var i=d("http://foo.com/"+e);return i.scheme="",i.host="",i.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,i}function p(e){if(e.endsWith("/.."))return e;var t=e.lastIndexOf("/");return e.slice(0,t+1)}function f(e,t){g(t,t.type),"/"===e.path?e.path=t.path:e.path=p(t.path)+e.path}function g(e,t){for(var r=t<=4,a=e.path.split("/"),n=1,s=0,o=!1,i=1;ia&&(a=s)}g(r,a);var o=r.query+r.hash;switch(a){case 2:case 3:return o;case 4:var d=r.path.slice(1);return d?i(t||e)&&!i(d)?"./"+d+o:d+o:o||".";case 5:return r.path+o;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+o}}return m}))),EP.exports;var e}!function(e,t){!function(e,r){r(t,xP(),jP())}(0,(function(e,t,r){function a(e,t){return t&&!t.endsWith("/")&&(t+="/"),r(e,t)}function n(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}var s=0,o=1,i=2,d=3,c=4,l=1,u=2;function f(e,t){var r=g(e,0);if(r===e.length)return e;t||(e=e.slice());for(var a=r;a>1),o=e[n][s]-t;if(0===o)return b=!0,n;o<0?r=n+1:a=n-1}return b=!1,r-1}function x(e,t,r){for(var a=r+1;a=0&&e[a][s]===t;r=a--);return r}function w(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function E(e,t,r,a){var n=r.lastKey,o=r.lastNeedle,i=r.lastIndex,d=0,c=e.length-1;if(a===n){if(t===o)return b=-1!==i&&e[i][s]===t,i;t>=o?d=-1===i?0:i:c=i}return r.lastKey=a,r.lastNeedle=t,r.lastIndex=v(e,t,d,c)}function j(e,t){for(var r=t.map(T),a=0;at;a--)e[a]=e[a-1];e[t]=r}function T(){return{__proto__:null}}var A=function(e,t){var r=k(e);if(!("sections"in r))return new F(r,t);var a=[],n=[],s=[],o=[],i=[];return C(r,t,a,n,s,o,i,0,0,1/0,1/0),X({version:3,file:r.file,names:o,sources:n,sourcesContent:s,mappings:a,ignoreList:i})};function k(e){return"string"===typeof e?JSON.parse(e):e}function C(e,t,r,a,n,s,o,i,d,c,l){for(var u=e.sections,p=0;pg)return;for(var P=D(r,A),I=0===T?f:0,O=x[T],N=0;N=m)return;if(1!==B.length){var L=b+B[o],q=B[i],W=B[d];P.push(4===B.length?[M,L,q,W]:[M,L,q,W,v+B[c]])}else P.push([M])}}}function _(e,t){for(var r=0;r=a.length)return null;var n=a[t],s=te(n,M(e)._decodedMemo,t,r,B);return-1===s?null:n[s]}function W(e,t){var r=t.line,a=t.column,n=t.bias;if(--r<0)throw new Error(I);if(a<0)throw new Error(O);var s=U(e);if(r>=s.length)return Z(null,null,null,null);var l=s[r],u=te(l,M(e)._decodedMemo,r,a,n||B);if(-1===u)return Z(null,null,null,null);var p=l[u];if(1===p.length)return Z(null,null,null,null);var f=e.names;return Z(e.resolvedSources[p[o]],p[i]+1,p[d],5===p.length?f[p[c]]:null)}function H(e,t){return ae(e,t.source,t.line,t.column,t.bias||B,!1)}function z(e,t){return ae(e,t.source,t.line,t.column,t.bias||N,!0)}function V(e,t){for(var r=U(e),a=e.names,n=e.resolvedSources,s=0;s=0&&!(t>=e[a][n]);r=a--);return r}function T(e,t,r){for(var a=e.length;a>t;a--)e[a]=e[a-1];e[t]=r}function A(e){for(var t=e.length,r=t,a=r-1;a>=0&&!(e[a].length>0);r=a,a--);r1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)},t._append=function(e,t,r){var a=e.length,n=this._position;if(this._last=e.charCodeAt(a-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,r||this._map){var s=t.column,o=t.identifierName,i=t.identifierNamePos,d=t.filename,c=t.line;null==o&&null==i||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);var l=e.indexOf("\n"),u=0;for(0!==l&&this._mark(c,s,o,i,d);-1!==l;)n.line++,n.column=0,(u=l+1)=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t},t.endsWithCharAndNewline=function(){var e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}},t.hasContent=function(){return 0!==this._queueCursor||!!this._last},t.exactSource=function(e,t){if(this._map){this.source("start",e);var r=e.identifierName,a=this._sourcePosition;r&&(this._canMarkIdName=!1,a.identifierName=r),t(),r&&(this._canMarkIdName=!0,a.identifierName=void 0,a.identifierNamePos=void 0),this.source("end",e)}else t()},t.source=function(e,t){this._map&&this._normalizePosition(e,t,0)},t.sourceWithOffset=function(e,t,r){this._map&&this._normalizePosition(e,t,r)},t.withSource=function(e,t,r){this._map&&this.source(e,t),r()},t._normalizePosition=function(e,t,r){var a=t[e],n=this._sourcePosition;a&&(n.line=a.line,n.column=Math.max(a.column+r,0),n.filename=t.filename)},t.getCurrentColumn=function(){for(var e=this._queue,t=this._queueCursor,r=-1,a=0,n=0;n",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function o_(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}var i_=function(e,t){var r=t.type;return("ClassDeclaration"===r||"ClassExpression"===r)&&t.superClass===e},d_=function(e,t){var r=t.type;return("MemberExpression"===r||"OptionalMemberExpression"===r)&&t.object===e||("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r)&&t.callee===e||"TaggedTemplateExpression"===r&&t.tag===e||"TSNonNullExpression"===r};function c_(e,t){return YP(t)}function l_(e,t,r){if(!(r.length<3)){var a=t.type;return"UnionTypeAnnotation"===a||"IntersectionTypeAnnotation"===a||"ArrayTypeAnnotation"===a||"TypeAnnotation"===a&&XP(r[r.length-3])}}function u_(e,t){return d_(e,t)||i_(e,t)}function p_(e,t,r){return I_(r,3)}function f_(e,t,r){return!e.async&&I_(r,1)}function g_(e,t){var r=t.type;if("**"===e.operator&&"BinaryExpression"===r&&"**"===t.operator)return t.left===e;if(i_(e,t))return!0;if(d_(e,t)||"UnaryExpression"===r||"SpreadElement"===r||"AwaitExpression"===r)return!0;if("BinaryExpression"===r||"LogicalExpression"===r){var a=s_.get(t.operator),n=s_.get(e.operator);if(a===n&&t.right===e&&"LogicalExpression"!==r||a>n)return!0}}function m_(e,t){var r=t.type;return"ArrayTypeAnnotation"===r||"NullableTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"UnionTypeAnnotation"===r}function h_(e,t){return e_(t)&&t.objectType===e}function y_(){return!0}function b_(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r||"TSIntersectionType"===r||"TSUnionType"===r||"TSRestType"===r}function v_(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r}function x_(e,t){var r=t.type;return("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r||"TSInstantiationExpression"===r)&&!!t.typeParameters}function R_(e,t){if("in"===e.operator){var r=t.type;return"VariableDeclarator"===r||"ForStatement"===r||"ForInStatement"===r||"ForOfStatement"===r}return!1}function w_(e,t){var r=t.type;return!("ForStatement"===r||"ThrowStatement"===r||"ReturnStatement"===r||"IfStatement"===r&&t.test===e||"WhileStatement"===r&&t.test===e||"ForInStatement"===r&&t.right===e||"SwitchStatement"===r&&t.discriminant===e||"ExpressionStatement"===r&&t.expression===e)}function E_(e,t){var r=t.type;return"BinaryExpression"===r||"LogicalExpression"===r||"UnaryExpression"===r||"SpreadElement"===r||d_(e,t)||"AwaitExpression"===r&&n_(e)||"ConditionalExpression"===r&&e===t.test||i_(e,t)}function j_(e,t,r){return I_(r,5)}function S_(e,t){return d_(e,t)||JP(t)&&"**"===t.operator&&t.left===e||i_(e,t)}function T_(e,t,r){return I_(r,5)}function A_(e,t){return QP(t)||k_(e,t)}function k_(e,t){var r=t.type;return!!("UnaryExpression"===r||"SpreadElement"===r||"BinaryExpression"===r||"LogicalExpression"===r||"ConditionalExpression"===r&&t.test===e||"AwaitExpression"===r||o_(r))||S_(e,t)}function C_(e,t){return $P(t)&&t.callee===e||t_(t)&&t.object===e}function P_(e,t){return!!r_(e.left)||k_(e,t)}function __(e,t){var r=t.type;if(o_(r))return!0;if("LogicalExpression"!==r)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}}function D_(e,t,r){var a,n=t.type;if(null!=(a=e.extra)&&a.parenthesized&&"AssignmentExpression"===n&&t.left===e){var s=t.right.type;if(("FunctionExpression"===s||"ClassExpression"===s)&&null==t.right.id)return!0}return"let"===e.name?I_(r,t_(t,{object:e,computed:!0})||a_(t,{object:e,computed:!0,optional:!1})?57:32):"async"===e.name&&ZP(t)&&e===t.left}function I_(e,t){var r=1&t,a=2&t,n=4&t,s=8&t,o=16&t,i=32&t,d=e.length-1;if(!(d<=0)){for(var c=e[d],l=e[--d];d>=0;){var u=l.type;if(r&&"ExpressionStatement"===u&&l.expression===c||n&&"ExportDefaultDeclaration"===u&&c===l.declaration||a&&"ArrowFunctionExpression"===u&&l.body===c||s&&"ForStatement"===u&&l.init===c||o&&"ForInStatement"===u&&l.left===c||i&&"ForOfStatement"===u&&l.left===c)return!0;if(!(d>0&&(d_(c,l)&&"NewExpression"!==u||"SequenceExpression"===u&&l.expressions[0]===c||"UpdateExpression"===u&&!l.prefix||"ConditionalExpression"===u&&l.test===c||("BinaryExpression"===u||"LogicalExpression"===u)&&l.left===c||"AssignmentExpression"===u&&l.left===c)))return!1;c=l,l=e[--d]}return!1}}var O_=mi,N_=H,B_=ue,F_=pe;function M_(e){var t=new Map;function r(e,r){var a=t.get(e);t.set(e,a?function(e,t,n){var s;return null!=(s=a(e,t,n))?s:r(e,t,n)}:r)}for(var a=0,n=Object.keys(e);a1}),jD(t))if(SD(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()}function XD(e){this.print(e.id,e),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))}var JD=Le,$D=Ue;function QD(e,t){(JD(t)||$D(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e)),this.space(),this.print(e.body,e)}function ZD(e){this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))}function eI(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function tI(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function rI(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space()),this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function aI(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function nI(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function sI(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this._methodHead(e)}function oI(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e))}var iI=re;function dI(e,t,r){this.print(e.typeParameters,e);var a=yI.call(this,t,r);a&&this.sourceIdentifierName(a.name,a.pos),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);var n="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,n),this._noLineTerminator=n}function cI(e,t){for(var r=e.length,a=0;a"),this.space(),this.print(e.body,e)}function hI(e,t){var r,a;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(r=t.leadingComments)&&r.length||null!=(a=t.trailingComments)&&a.length)}function yI(e,t){var r=e;if(!r&&t){var a=t.type;"VariableDeclarator"===a?r=t.id:"AssignmentExpression"===a||"AssignmentPattern"===a?r=t.left:"ObjectProperty"===a||"ClassProperty"===a?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==a&&"ClassAccessorProperty"!==a||(r=t.key)}if(r){var n,s,o;if("Identifier"===r.type)n={pos:null==(s=r.loc)?void 0:s.start,name:(null==(o=r.loc)?void 0:o.identifierName)||r.name};else if("PrivateName"===r.type){var i;n={pos:null==(i=r.loc)?void 0:i.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var d;n={pos:null==(d=r.loc)?void 0:d.start,name:r.value}}return n}}var bI=Fe,vI=Xr,xI=ot,RI=ze,wI=Ve,EI=wn;function jI(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))}function SI(e){this.print(e.local,e)}function TI(e){this.print(e.exported,e)}function AI(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))}function kI(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}var CI,PI,_I=!1;function DI(e){var t=this.format.importAttributesKeyword,r=e.attributes,a=e.assertions;!r||t||_I||(_I=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));var n="assert"===t||!t&&a;this.word(n?"assert":"with"),this.space(),n||"with"===t?(this.tokenChar(123),this.space(),this.printList(r||a,e),this.space(),this.tokenChar(125)):this.printList(r||a,e)}function II(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function OI(e,t){bI(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}function NI(e){if(OI(this,e),this.word("export"),this.space(),e.declaration){var t=e.declaration;this.print(t,e),EI(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var r,a,n=e.specifiers.slice(0),s=!1;;){var o=n[0];if(!vI(o)&&!xI(o))break;s=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}(n.length||!n.length&&!s)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n,e),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(r=e.attributes)&&r.length||null!=(a=e.assertions)&&a.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e)),this.semicolon()}}function BI(e){OI(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();var t=e.declaration;this.print(t,e),EI(t)||this.semicolon()}function FI(e){var t,r;this.word("import"),this.space();var a="type"===e.importKind||"typeof"===e.importKind;a?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());for(var n=e.specifiers.slice(0),s=!!n.length;s;){var o=n[0];if(!RI(o)&&!wI(o))break;this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}n.length?(this.tokenChar(123),this.space(),this.printList(n,e),this.space(),this.tokenChar(125)):a&&!s&&(this.tokenChar(123),this.tokenChar(125)),(s||a)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function MI(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function LI(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)}function UI(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40),this.print(e.source,e),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options,e)),this.tokenChar(41)}function qI(){if(PI)return CI;PI=1;var e={},t=e.hasOwnProperty,r=function(e,r){for(var a in e)t.call(e,a)&&r(a,e[a])},a=function(e,t){return t?(r(t,(function(t,r){e[t]=r})),e):e},n=function(e,t){for(var r=e.length,a=-1;++a=55296&&U<=56319&&M>F+1){var q=B.charCodeAt(F+1);if(q>=56320&&q<=57343){var W=(1024*(U-55296)+q-56320+65536).toString(16);j||(W=W.toUpperCase()),R+="\\u{"+W+"}",++F;continue}}}if(!s.escapeEverything){if(y.test(L)){R+=L;continue}if('"'==L){R+=w==L?'\\"':L;continue}if("`"==L){R+=w==L?"\\`":L;continue}if("'"==L){R+=w==L?"\\'":L;continue}}if("\0"!=L||x||h.test(B.charAt(F+1)))if(m.test(L))R+=g[L];else{var H=L.charCodeAt(0);if(s.minimal&&8232!=H&&8233!=H)R+=L;else{var z=H.toString(16);j||(z=z.toUpperCase());var V=z.length>2||x,G="\\"+(V?"u":"x")+("0000"+z).slice(V?-4:-2);R+=G}}else R+="\\0"}return s.wrap&&(R=w+R+w),"`"==w&&(R=R.replace(/\$\{/g,"\\${")),s.isScriptContext?R.replace(/<\/(script|style)/gi,"<\\/$1").replace(//,"$2")||""))return;if(r){if(ss(e,a,"pre",r))return;return t.value=(t.value||"").replace(/^(\n|\s)+/,""),t}return t.value=(t.value||"").replace(/^(\n|\s)+/,""),t}}},os=e=>{let{value:t=""}=e;const r=function(){return((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/([^?=&]+)(=([^&]*))/g)||[]).reduce(((e,t)=>(e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e)),{})}(t.replace(/^/,"$1").replace(/^rehype:/,""));return Object.keys(r).forEach((e=>{"true"===r[e]&&(r[e]=!0),"false"===r[e]&&(r[e]=!1),"string"!==typeof r[e]||/^0/.test(r[e])||isNaN(+r[e])||(r[e]=+r[e])})),r},is=(e,t,r)=>"string"===r?{...e,"data-config":JSON.stringify({...t,rehyp:!0})}:"attr"===r?{...e,...t}:{...e,"data-config":{...t,rehyp:!0}},ds=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{properties:t="data",codeBlockParames:r=!0}=e;return e=>{pa(e,"element",((e,a,n)=>{if(r&&"pre"===e.tagName&&e&&Array.isArray(e.children)&&n&&Array.isArray(n.children)&&n.children.length>1){const r=e.children[0];if(r&&"code"===r.tagName&&"number"===typeof a){const s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;for(;t>-1;){if(t--,!e[t])return;if(e[t]&&e[t].value&&""!==e[t].value.replace(/(\n|\s)/g,"")||"text"!==e[t].type){if(!/^rehype:/.test(e[t].value)||"comment"!==e[t].type)return;return e[t]}}}(n.children,a);if(s){const a=os(s);Object.keys(a).length>0&&(e.properties={...e.properties,"data-type":"rehyp"},r.properties=is(r.properties,a,t))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(e.tagName)&&n&&Array.isArray(n.children)&&"number"===typeof a){const s=ss(n.children,a,"",r);if(s){const r=os(s);Object.keys(r).length>0&&(e.properties=is(e.properties,r,t))}}}))}},cs="object"===typeof self?self:globalThis,ls=e=>((e,t)=>{const r=(t,r)=>(e.set(r,t),t),a=n=>{if(e.has(n))return e.get(n);const[s,o]=t[n];switch(s){case 0:case-1:return r(o,n);case 1:{const e=r([],n);for(const t of o)e.push(a(t));return e}case 2:{const e=r({},n);for(const[t,r]of o)e[a(t)]=a(r);return e}case 3:return r(new Date(o),n);case 4:{const{source:e,flags:t}=o;return r(new RegExp(e,t),n)}case 5:{const e=r(new Map,n);for(const[t,r]of o)e.set(a(t),a(r));return e}case 6:{const e=r(new Set,n);for(const t of o)e.add(a(t));return e}case 7:{const{name:e,message:t}=o;return r(new cs[e](t),n)}case 8:return r(BigInt(o),n);case"BigInt":return r(Object(BigInt(o)),n)}return r(new cs[s](o),n)};return a})(new Map,e)(0),us="",{toString:ps}={},{keys:fs}=Object,gs=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const r=ps.call(e).slice(8,-1);switch(r){case"Array":return[1,us];case"Object":return[2,us];case"Date":return[3,us];case"RegExp":return[4,us];case"Map":return[5,us];case"Set":return[6,us]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},ms=e=>{let[t,r]=e;return 0===t&&("function"===r||"symbol"===r)},hs=function(e){let{json:t,lossy:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[];return((e,t,r,a)=>{const n=(e,t)=>{const n=a.push(e)-1;return r.set(t,n),n},s=a=>{if(r.has(a))return r.get(a);let[o,i]=gs(a);switch(o){case 0:{let t=a;switch(i){case"bigint":o=8,t=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+i);t=null;break;case"undefined":return n([-1],a)}return n([o,t],a)}case 1:{if(i)return n([i,[...a]],a);const e=[],t=n([o,e],a);for(const r of a)e.push(s(r));return t}case 2:{if(i)switch(i){case"BigInt":return n([i,a.toString()],a);case"Boolean":case"Number":case"String":return n([i,a.valueOf()],a)}if(t&&"toJSON"in a)return s(a.toJSON());const r=[],d=n([o,r],a);for(const t of fs(a))!e&&ms(gs(a[t]))||r.push([s(t),s(a[t])]);return d}case 3:return n([o,a.toISOString()],a);case 4:{const{source:e,flags:t}=a;return n([o,{source:e,flags:t}],a)}case 5:{const t=[],r=n([o,t],a);for(const[n,o]of a)(e||!ms(gs(n))&&!ms(gs(o)))&&t.push([s(n),s(o)]);return r}case 6:{const t=[],r=n([o,t],a);for(const n of a)!e&&ms(gs(n))||t.push(s(n));return r}}const{message:d}=a;return n([o,{name:i,message:d}],a)};return s})(!(t||r),!!t,new Map,a)(e),a},ys="function"===typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?ls(hs(e,t)):structuredClone(e):(e,t)=>ls(hs(e,t)),bs=/[#.]/g;var vs=r(1141);const xs=new Set(["button","menu","reset","submit"]),Rs={}.hasOwnProperty;function ws(e,t,r){const a=r&&function(e){const t={};let r=-1;for(;++r2?i-2:0),c=2;c1?r[e.line-2]:0)+e.column-1;if(a-1&&e<=t.length){let a=0;for(;;){let n=r[a];if(void 0===n){const e=ks(t,r[a-1]);n=-1===e?t.length+1:e+1,r[a]=n}if(n>e)return{line:a+1,column:e-(a>0?r[a-1]:0)+1,offset:e};a++}}}}}(t),n=a.toPoint(0),s=a.toPoint(t.length);r.position={start:n,end:s}}return r}case"#documentType":return r={type:"doctype"},Os(e,t,r),r;case"#text":{const a=t;return r={type:"text",value:a.value},Os(e,a,r),r}default:return r=function(e,t){const r=e.schema;e.schema=t.namespaceURI===Cs.svg?Aa.JW:Aa.qy;let a=-1;const n={};for(;++a0&&"number"===typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"===typeof r.offset&&r.offset>-1?r.offset:void 0}}}const Ys=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Js={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Xs(e,t){const r=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),a=Ln("type",{handlers:{root:Qs,element:Zs,text:eo,comment:ao,doctype:to,raw:no},unknown:so}),n={parser:r?new zs.iX(Js):zs.iX.getFragmentParser(void 0,Js),handle(e){a(e,n)},stitches:!1,options:t||{}};a(e,n),oo(n,Vs());const s=function(e,t){const r=t||{};return Ds({file:r.file||void 0,location:!1,schema:"svg"===r.space?Aa.JW:Aa.qy,verbose:r.verbose||!1},e)}(r?n.parser.document:n.parser.getFragment(),{file:n.options.file});return n.stitches&&pa(s,"comment",(function(e,t,r){const a=e;if(a.value.stitch&&r&&void 0!==t){return r.children[t]=a.value.stitch,t}})),"root"===s.type&&1===s.children.length&&s.children[0].type===e.type?s.children[0]:s}function $s(e,t){let r=-1;if(e)for(;++r4&&(t.parser.tokenizer.state=0);const r={type:zs.ou.k.CHARACTER,chars:e.value,location:co(e)};oo(t,Vs(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function to(e,t){const r={type:zs.ou.k.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:co(e)};oo(t,Vs(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ro(e,t){t.stitches=!0;const r=function(e){return ys("children"in e?{...e,children:[]}:e)}(e);if("children"in e&&"children"in r){const a=Xs({type:"root",children:e.children},t.options);r.children=a.children}ao({type:"comment",value:{stitch:r}},t)}function ao(e,t){const r=e.value,a={type:zs.ou.k.COMMENT,data:r,location:co(e)};oo(t,Vs(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function no(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,io(t,Vs(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function so(e,t){const r=e;if(!t.options.passThrough||!t.options.passThrough.includes(r.type)){let e="";throw Ys.has(r.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+e)}ro(r,t)}function oo(e,t){io(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=zs.V_.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function io(e,t){if(t&&void 0!==t.offset){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function co(e){const t=Vs(e)||{line:void 0,column:void 0,offset:void 0},r=Gs(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function lo(e){return function(t,r){return Xs(t,{...e,file:r})}}const uo=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,po=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,fo={};function go(e,t){return((t||fo).jsx?po:uo).test(e)}const mo={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var ho=r(1581);const yo=ho.default||ho;function bo(e){return e&&"object"===typeof e?"position"in e||"type"in e?xo(e.position):"start"in e||"end"in e?xo(e):"line"in e||"column"in e?vo(e):"":""}function vo(e){return Ro(e&&e.line)+":"+Ro(e&&e.column)}function xo(e){return vo(e&&e.start)+"-"+vo(e&&e.end)}function Ro(e){return e&&"number"===typeof e?e:1}class wo extends Error{constructor(e,t,r){super(),"string"===typeof t&&(r=t,t=void 0);let a="",n={},s=!1;if(t&&(n="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"===typeof e?a=e:!n.cause&&e&&(s=!0,a=e.message,n.cause=e),!n.ruleId&&!n.source&&"string"===typeof r){const e=r.indexOf(":");-1===e?n.ruleId=r:(n.source=r.slice(0,e),n.ruleId=r.slice(e+1))}if(!n.place&&n.ancestors&&n.ancestors){const e=n.ancestors[n.ancestors.length-1];e&&(n.place=e.position)}const o=n.place&&"start"in n.place?n.place.start:n.place;this.ancestors=n.ancestors||void 0,this.cause=n.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=o?o.line:void 0,this.name=bo(n.place)||"1:1",this.place=n.place||void 0,this.reason=this.message,this.ruleId=n.ruleId||void 0,this.source=n.source||void 0,this.stack=s&&n.cause&&"string"===typeof n.cause.stack?n.cause.stack:"",this.actual,this.expected,this.note,this.url}}wo.prototype.file="",wo.prototype.name="",wo.prototype.reason="",wo.prototype.message="",wo.prototype.stack="",wo.prototype.column=void 0,wo.prototype.line=void 0,wo.prototype.ancestors=void 0,wo.prototype.cause=void 0,wo.prototype.fatal=void 0,wo.prototype.place=void 0,wo.prototype.ruleId=void 0,wo.prototype.source=void 0;const Eo={}.hasOwnProperty,jo=new Map,So=/[A-Z]/g,To=/-([a-z])/g,Ao=new Set(["table","tbody","thead","tfoot","tr"]),ko=new Set(["td","th"]),Co="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Po(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let a;if(t.development){if("function"!==typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=function(e,t){return r;function r(r,a,n,s){const o=Array.isArray(n.children),i=Vs(r);return t(a,n,s,o,{columnNumber:i?i.column-1:void 0,fileName:e,lineNumber:i?i.line:void 0},void 0)}}(r,t.jsxDEV)}else{if("function"!==typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!==typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");a=function(e,t,r){return a;function a(e,a,n,s){const o=Array.isArray(n.children)?r:t;return s?o(a,n,s):o(a,n)}}(0,t.jsx,t.jsxs)}const n={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?Aa.JW:Aa.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},s=_o(n,e,void 0);return s&&"string"!==typeof s?s:n.create(e,n.Fragment,{children:s||void 0},void 0)}function _o(e,t,r){return"element"===t.type?function(e,t,r){const a=e.schema;let n=a;"svg"===t.tagName.toLowerCase()&&"html"===a.space&&(n=Aa.JW,e.schema=n);e.ancestors.push(t);const s=Fo(e,t.tagName,!1),o=function(e,t){const r={};let a,n;for(n in t.properties)if("children"!==n&&Eo.call(t.properties,n)){const s=No(e,n,t.properties[n]);if(s){const[n,o]=s;e.tableCellAlignToStyle&&"align"===n&&"string"===typeof o&&ko.has(t.tagName)?a=o:r[n]=o}}if(a){(r.style||(r.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=a}return r}(e,t);let i=Oo(e,t);Ao.has(t.tagName)&&(i=i.filter((function(e){return"string"!==typeof e||!_n(e)})));return Do(e,o,s,t),Io(o,i),e.ancestors.pop(),e.schema=a,e.create(t,s,o,r)}(e,t,r):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Bo(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,r){const a=e.schema;let n=a;"svg"===t.name&&"html"===a.space&&(n=Aa.JW,e.schema=n);e.ancestors.push(t);const s=null===t.name?e.Fragment:Fo(e,t.name,!0),o=function(e,t){const r={};for(const a of t.attributes)if("mdxJsxExpressionAttribute"===a.type)if(a.data&&a.data.estree&&e.evaluater){const t=a.data.estree.body[0];t.type;const n=t.expression;n.type;const s=n.properties[0];s.type,Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else Bo(e,t.position);else{const n=a.name;let s;if(a.value&&"object"===typeof a.value)if(a.value.data&&a.value.data.estree&&e.evaluater){const t=a.value.data.estree.body[0];t.type,s=e.evaluater.evaluateExpression(t.expression)}else Bo(e,t.position);else s=null===a.value||a.value;r[n]=s}return r}(e,t),i=Oo(e,t);return Do(e,o,s,t),Io(o,i),e.ancestors.pop(),e.schema=a,e.create(t,s,o,r)}(e,t,r):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Bo(e,t.position)}(e,t):"root"===t.type?function(e,t,r){const a={};return Io(a,Oo(e,t)),e.create(t,e.Fragment,a,r)}(e,t,r):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function Do(e,t,r,a){"string"!==typeof r&&r!==e.Fragment&&e.passNode&&(t.node=a)}function Io(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function Oo(e,t){const r=[];let a=-1;const n=e.passKeys?new Map:jo;for(;++a13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535===(65535&r)||65534===(65535&r)||r>1114111?"\ufffd":String.fromCodePoint(r)}var Xo=r(7018);const $o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qo(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return Jo(r.slice(t?2:1),t?16:10)}return(0,Xo.s)(r)||e}var Zo=r(4618);const ei={}.hasOwnProperty;function ti(e,t,r){return"string"!==typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(te),autolinkProtocol:S,autolinkEmail:S,atxHeading:s($),blockQuote:s(V),characterEscape:S,characterReference:S,codeFenced:s(K),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(K,o),codeText:s(Y,o),codeTextData:S,data:S,codeFlowValue:S,definition:s(J),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(X),hardBreakEscape:s(Q),hardBreakTrailing:s(Q),htmlFlow:s(Z,o),htmlFlowData:S,htmlText:s(Z,o),htmlTextData:S,image:s(ee),label:o,link:s(te),listItem:s(ae),listItemValue:p,listOrdered:s(re,u),listUnordered:s(re),paragraph:s(ne),reference:L,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s($),strong:s(se),thematicBreak:s(ie)},exit:{atxHeading:d(),atxHeadingSequence:R,autolink:d(),autolinkEmail:G,autolinkProtocol:z,blockQuote:d(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:W,characterReference:H,codeFenced:d(h),codeFencedFence:m,codeFencedFenceInfo:f,codeFencedFenceMeta:g,codeFlowValue:T,codeIndented:d(y),codeText:d(_),codeTextData:T,data:T,definition:d(),definitionDestinationString:x,definitionLabelString:b,definitionTitleString:v,emphasis:d(),hardBreakEscape:d(k),hardBreakTrailing:d(k),htmlFlow:d(C),htmlFlowData:T,htmlText:d(P),htmlTextData:T,image:d(I),label:N,labelText:O,lineEnding:A,link:d(D),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:U,resourceDestinationString:F,resourceTitleString:B,resource:M,setextHeading:d(j),setextHeadingLineSequence:E,setextHeadingText:w,strong:d(),thematicBreak:d()}};ai(t,(e||{}).mdastExtensions||[]);const r={};return a;function a(e){let a={type:"root",children:[]};const s={stack:[a],tokenStack:[],config:t,enter:i,exit:c,buffer:o,resume:l,data:r},d=[];let u=-1;for(;++u0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||si).call(s,void 0,e[0])}for(a.position={start:ri(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ri(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u55295&&s<57344){const t=e.charCodeAt(r+1);s<56320&&t>56319&&t<57344?(o=String.fromCharCode(s,t),n=1):o="\ufffd"}else o=String.fromCharCode(s);o&&(t.push(e.slice(a,r),encodeURIComponent(o)),a=r+n+1,o=""),n&&(r+=n,n=0)}return t.join("")+e.slice(a)}function ci(e,t){const r=[{type:"text",value:"\u21a9"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function li(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function ui(e,t){const r=t.referenceType;let a="]";if("collapsed"===r?a+="[]":"full"===r&&(a+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+a}];const n=e.all(t),s=n[0];s&&"text"===s.type?s.value="["+s.value:n.unshift({type:"text",value:"["});const o=n[n.length-1];return o&&"text"===o.type?o.value+=a:n.push({type:"text",value:a}),n}function pi(e){const t=e.spread;return null===t||void 0===t?e.children.length>1:t}function fi(e){const t=String(e),r=/\r?\n|\r/g;let a=r.exec(t),n=0;const s=[];for(;a;)s.push(gi(t.slice(n,a.index),n>0,!0),a[0]),n=a.index+a[0].length,a=r.exec(t);return s.push(gi(t.slice(n),n>0,!1)),s.join("")}function gi(e,t,r){let a=0,n=e.length;if(t){let t=e.codePointAt(a);for(;9===t||32===t;)a++,t=e.codePointAt(a)}if(r){let t=e.codePointAt(n-1);for(;9===t||32===t;)n--,t=e.codePointAt(n-1)}return n>a?e.slice(a,n):""}const mi={blockquote:function(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){const r=t.value?t.value+"\n":"",a={};t.lang&&(a.className=["language-"+t.lang]);let n={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return t.meta&&(n.data={meta:t.meta}),e.patch(t,n),n=e.applyData(t,n),n={type:"element",tagName:"pre",properties:{},children:[n]},e.patch(t,n),n},delete:function(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:function(e,t){const r="string"===typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),n=di(a.toLowerCase()),s=e.footnoteOrder.indexOf(a);let o,i=e.footnoteCounts.get(a);void 0===i?(i=0,e.footnoteOrder.push(a),o=e.footnoteOrder.length):o=s+1,i+=1,e.footnoteCounts.set(a,i);const d={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,d);const c={type:"element",tagName:"sup",properties:{},children:[d]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}},imageReference:function(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return ui(e,t);const n={src:di(a.url||""),alt:t.alt};null!==a.title&&void 0!==a.title&&(n.title=a.title);const s={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,s),e.applyData(t,s)},image:function(e,t){const r={src:di(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);const a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)},inlineCode:function(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const a={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,a),e.applyData(t,a)},linkReference:function(e,t){const r=String(t.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return ui(e,t);const n={href:di(a.url||"")};null!==a.title&&void 0!==a.title&&(n.title=a.title);const s={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)},link:function(e,t){const r={href:di(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);const a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},listItem:function(e,t,r){const a=e.all(t),n=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const r=e.children;let a=-1;for(;!t&&++a0&&r.children.unshift({type:"text",value:" "}),r.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let i=-1;for(;++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=Vs(t.children[1]),o=Gs(t.children[t.children.length-1]);s&&o&&(a.position={start:s,end:o}),n.push(a)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(n,!0)};return e.patch(t,s),e.applyData(t,s)},tableCell:function(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){const a=r?r.children:void 0,n=0===(a?a.indexOf(t):1)?"th":"td",s=r&&"table"===r.type?r.align:void 0,o=s?s.length:t.children.length;let i=-1;const d=[];for(;++i0&&r.push({type:"text",value:"\n"}),r}function Ei(e){let t=0,r=e.charCodeAt(t);for(;9===r||32===r;)t++,r=e.charCodeAt(t);return e.slice(t)}function ji(e,t){const r=function(e,t){const r=t||bi,a=new Map,n=new Map,s=new Map,o={...mi,...r.handlers},i={all:function(e){const t=[];if("children"in e){const r=e.children;let a=-1;for(;++a0&&u.push({type:"text",value:" "});let e="string"===typeof r?r:r(d,l);"string"===typeof e&&(e={type:"text",value:e}),u.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(l>1?"-"+l:""),dataFootnoteBackref:"",ariaLabel:"string"===typeof a?a:a(d,l),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=s[s.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...u)}else s.push(...u);const g={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(s,!0)};e.patch(n,g),i.push(g)}if(0!==i.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...ys(o),id:"footnote-label"},children:[{type:"text",value:n}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(i,!0)},{type:"text",value:"\n"}]}}(r),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return n&&s.children.push({type:"text",value:"\n"},n),s}function Si(e,t){return e&&"run"in e?async function(r,a){const n=ji(r,{file:a,...t});await e.run(n,a)}:function(r,a){return ji(r,{file:a,...e||t})}}function Ti(e){if(e)throw e}var Ai=r(1761);function ki(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ci(){const e=[],t={run:function(){for(var t=arguments.length,r=new Array(t),a=0;a1?d-1:0),l=1;ln.length;let c;d&&n.push(s);try{c=e.apply(this,n)}catch(a){if(d&&r)throw a;return s(a)}d||(c&&c.then&&"function"===typeof c.then?c.then(o,s):c instanceof Error?s(c):o(c))}function s(e){if(!r){r=!0;for(var a=arguments.length,n=new Array(a>1?a-1:0),s=1;se.length){for(;s--;)if(47===e.codePointAt(s)){if(r){a=s+1;break}}else n<0&&(r=!0,n=s+1);return n<0?"":e.slice(a,n)}if(t===e)return"";let o=-1,i=t.length-1;for(;s--;)if(47===e.codePointAt(s)){if(r){a=s+1;break}}else o<0&&(r=!0,o=s+1),i>-1&&(e.codePointAt(s)===t.codePointAt(i--)?i<0&&(n=s):(i=-1,n=o));a===n?n=o:n<0&&(n=e.length);return e.slice(a,n)},dirname:function(e){if(_i(e),0===e.length)return".";let t,r=-1,a=e.length;for(;--a;)if(47===e.codePointAt(a)){if(t){r=a;break}}else t||(t=!0);return r<0?47===e.codePointAt(0)?"/":".":1===r&&47===e.codePointAt(0)?"//":e.slice(0,r)},extname:function(e){_i(e);let t,r=e.length,a=-1,n=0,s=-1,o=0;for(;r--;){const i=e.codePointAt(r);if(47!==i)a<0&&(t=!0,a=r+1),46===i?s<0?s=r:1!==o&&(o=1):s>-1&&(o=-1);else if(t){n=r+1;break}}if(s<0||a<0||0===o||1===o&&s===a-1&&s===n+1)return"";return e.slice(s,a)},join:function(){let e,t=-1;for(var r=arguments.length,a=new Array(r),n=0;n2){if(a=n.lastIndexOf("/"),a!==n.length-1){a<0?(n="",s=0):(n=n.slice(0,a),s=n.length-1-n.lastIndexOf("/")),o=d,i=0;continue}}else if(n.length>0){n="",s=0,o=d,i=0;continue}t&&(n=n.length>0?n+"/..":"..",s=2)}else n.length>0?n+="/"+e.slice(o+1,d):n=e.slice(o+1,d),s=d-o-1;o=d,i=0}else 46===r&&i>-1?i++:i=-1}return n}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.codePointAt(e.length-1)&&(r+="/");return t?"/"+r:r}(e)},sep:"/"};function _i(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Di={cwd:function(){return"/"}};function Ii(e){return Boolean(null!==e&&"object"===typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function Oi(e){if("string"===typeof e)e=new URL(e);else if(!Ii(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r1?a-1:0),s=1;s0){let[a,...s]=r;const o=t[n][1];ki(o)&&ki(a)&&(a=Ai(!0,o,a)),t[n]=[e,a,...s]}}}}const Hi=(new Wi).freeze();function zi(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Gi(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Vi(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ki(e){if(!ki(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Yi(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ji(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new Fi(e)}const Xi=[],$i={allowDangerousHtml:!0},Qi=/^(https?|ircs?|mailto|xmpp)$/i,Zi=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ed(e){const t=e.allowedElements,r=e.allowElement,a=e.children||"",n=e.className,s=e.components,o=e.disallowedElements,i=e.rehypePlugins||Xi,d=e.remarkPlugins||Xi,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...$i}:$i,l=e.skipHtml,u=e.unwrapDisallowed,p=e.urlTransform||td,f=Hi().use(oi).use(d).use(Si,c).use(i),g=new Fi;"string"===typeof a&&(g.value=a);for(const y of Zi)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=f.parse(g);let h=f.runSync(m,g);return n&&(h={type:"element",tagName:"div",properties:{className:n},children:"root"===h.type?h.children:[h]}),pa(h,(function(e,a,n){if("raw"===e.type&&n&&"number"===typeof a)return l?n.children.splice(a,1):n.children[a]={type:"text",value:e.value},a;if("element"===e.type){let t;for(t in qo)if(Object.hasOwn(qo,t)&&Object.hasOwn(e.properties,t)){const r=e.properties[t],a=qo[t];(null===a||a.includes(e.tagName))&&(e.properties[t]=p(String(r||""),t,e))}}if("element"===e.type){let s=t?!t.includes(e.tagName):!!o&&o.includes(e.tagName);if(!s&&r&&"number"===typeof a&&(s=!r(e,a,n)),s&&n&&"number"===typeof a)return u&&e.children?n.children.splice(a,1,...e.children):n.children.splice(a,1),a}})),Po(h,{Fragment:Xt.Fragment,components:s,ignoreInvalidStyle:!0,jsx:Xt.jsx,jsxs:Xt.jsxs,passKeys:!0,passNode:!0})}function td(e){const t=e.indexOf(":"),r=e.indexOf("?"),a=e.indexOf("#"),n=e.indexOf("/");return t<0||n>-1&&t>n||r>-1&&t>r||a>-1&&t>a||Qi.test(e.slice(0,t))?e:""}function rd(e,t){const r=String(e);if("string"!==typeof t)throw new TypeError("Expected character");let a=0,n=r.indexOf(t);for(;-1!==n;)a++,n=r.indexOf(t,n+t.length);return a}function ad(e,t,r){const a=aa((r||{}).ignore||[]),n=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let a=-1;for(;++a0?{type:"text",value:s}:void 0),!1===s?a.lastIndex=r+1:(i!==r&&l.push({type:"text",value:e.value.slice(i,r)}),Array.isArray(s)?l.push(...s):s&&l.push(s),i=r+u[0].length,c=!0),!a.global)break;u=a.exec(e.value)}c?(i?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],a=r.indexOf(")");const n=rd(e,"(");let s=rd(e,")");for(;-1!==a&&n>s;)e+=r.slice(0,a+1),r=r.slice(a+1),a=r.indexOf(")"),s++;return[e,r]}(r+a);if(!o[0])return!1;const i={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[i,{type:"text",value:o[1]}]:i}function hd(e,t,r,a){return!(!yd(a,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function yd(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,ii.Ny)(r)||(0,ii.es)(r))&&(!t||47!==r)}function bd(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function vd(){this.buffer()}function xd(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=t,r.identifier=(0,Zo.B)(this.sliceSerialize(e)).toLowerCase()}function Rd(e){this.exit(e)}function wd(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ed(){this.buffer()}function jd(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=t,r.identifier=(0,Zo.B)(this.sliceSerialize(e)).toLowerCase()}function Sd(e){this.exit(e)}function Td(e,t,r,a){const n=r.createTracker(a);let s=n.move("[^");const o=r.enter("footnoteReference"),i=r.enter("reference");return s+=n.move(r.safe(r.associationId(e),{...n.current(),before:s,after:"]"})),i(),o(),s+=n.move("]"),s}function Ad(e,t,r,a){const n=r.createTracker(a);let s=n.move("[^");const o=r.enter("footnoteDefinition"),i=r.enter("label");return s+=n.move(r.safe(r.associationId(e),{...n.current(),before:s,after:"]"})),i(),s+=n.move("]:"+(e.children&&e.children.length>0?" ":"")),n.shift(4),s+=n.move(r.indentLines(r.containerFlow(e,n.current()),kd)),o(),s}function kd(e,t,r){return 0===t?e:(r?"":" ")+e}Td.peek=function(){return"["};const Cd=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Pd(e){this.enter({type:"delete",children:[]},e)}function _d(e){this.exit(e)}function Dd(e,t,r,a){const n=r.createTracker(a),s=r.enter("strikethrough");let o=n.move("~~");return o+=r.containerPhrasing(e,{...n.current(),before:o,after:"~"}),o+=n.move("~~"),s(),o}function Id(e){return e.length}function Od(e){return null===e||void 0===e?"":String(e)}function Nd(e){const t="string"===typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Fd(e,t,r){return">"+(r?"":" ")+e}function Bd(e,t,r){if("string"===typeof t&&(t=[t]),!t||0===t.length)return r;let a=-1;for(;++a",...d.current()})),c+=d.move(">")):(i=r.enter("destinationRaw"),c+=d.move(r.safe(e.url,{before:c,after:e.title?" ":")",...d.current()}))),i(),e.title&&(i=r.enter(`title${s}`),c+=d.move(" "+n),c+=d.move(r.safe(e.title,{before:c,after:n,...d.current()})),c+=d.move(n),i()),c+=d.move(")"),o(),c}function Kd(e,t,r,a){const n=e.referenceType,s=r.enter("imageReference");let o=r.enter("label");const i=r.createTracker(a);let d=i.move("![");const c=r.safe(e.alt,{before:d,after:"]",...i.current()});d+=i.move(c+"]["),o();const l=r.stack;r.stack=[],o=r.enter("reference");const u=r.safe(r.associationId(e),{before:d,after:"]",...i.current()});return o(),r.stack=l,s(),"full"!==n&&c&&c===u?"shortcut"===n?d=d.slice(0,-1):d+=i.move("]"):d+=i.move(u+"]"),d}function Yd(e,t,r){let a=e.value||"",n="`",s=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(a);)n+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++s\u007F]/.test(e.url))}function Xd(e,t,r,a){const n=Ud(r),s='"'===n?"Quote":"Apostrophe",o=r.createTracker(a);let i,d;if(Jd(e,r)){const t=r.stack;r.stack=[],i=r.enter("autolink");let a=o.move("<");return a+=o.move(r.containerPhrasing(e,{before:a,after:">",...o.current()})),a+=o.move(">"),i(),r.stack=t,a}i=r.enter("link"),d=r.enter("label");let c=o.move("[");return c+=o.move(r.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=r.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(r.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(d=r.enter("destinationRaw"),c+=o.move(r.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),d(),e.title&&(d=r.enter(`title${s}`),c+=o.move(" "+n),c+=o.move(r.safe(e.title,{before:c,after:n,...o.current()})),c+=o.move(n),d()),c+=o.move(")"),i(),c}function $d(e,t,r,a){const n=e.referenceType,s=r.enter("linkReference");let o=r.enter("label");const i=r.createTracker(a);let d=i.move("[");const c=r.containerPhrasing(e,{before:d,after:"]",...i.current()});d+=i.move(c+"]["),o();const l=r.stack;r.stack=[],o=r.enter("reference");const u=r.safe(r.associationId(e),{before:d,after:"]",...i.current()});return o(),r.stack=l,s(),"full"!==n&&c&&c===u?"shortcut"===n?d=d.slice(0,-1):d+=i.move("]"):d+=i.move(u+"]"),d}function Qd(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Zd(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}zd.peek=function(e,t,r){return r.options.emphasis||"*"},Gd.peek=function(){return"<"},Vd.peek=function(){return"!"},Kd.peek=function(){return"!"},Yd.peek=function(){return"`"},Xd.peek=function(e,t,r){return Jd(e,r)?"<":"["},$d.peek=function(){return"["};const ec=aa(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function tc(e,t,r,a){const n=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(r),s=r.enter("strong"),o=r.createTracker(a),i=o.move(n+n);let d=o.move(r.containerPhrasing(e,{after:n,before:i,...o.current()}));const c=d.charCodeAt(0),l=Hd(a.before.charCodeAt(a.before.length-1),c,n);l.inside&&(d=qd(c)+d.slice(1));const u=d.charCodeAt(d.length-1),p=Hd(a.after.charCodeAt(0),u,n);p.inside&&(d=d.slice(0,-1)+qd(u));const f=o.move(n+n);return s(),r.attentionEncodeSurroundingInfo={after:p.outside,before:l.outside},i+d+f}tc.peek=function(e,t,r){return r.options.strong||"*"};const rc={blockquote:function(e,t,r,a){const n=r.enter("blockquote"),s=r.createTracker(a);s.move("> "),s.shift(2);const o=r.indentLines(r.containerFlow(e,s.current()),Fd);return n(),o},break:Md,code:function(e,t,r,a){const n=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(r),s=e.value||"",o="`"===n?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,r)){const e=r.enter("codeIndented"),t=r.indentLines(s,Ld);return e(),t}const i=r.createTracker(a),d=n.repeat(Math.max(function(e,t){const r=String(e);let a=r.indexOf(t),n=a,s=0,o=0;if("string"!==typeof t)throw new TypeError("Expected substring");for(;-1!==a;)a===n?++s>o&&(o=s):s=1,n=a+t.length,a=r.indexOf(t,n);return o}(s,n)+1,3)),c=r.enter("codeFenced");let l=i.move(d);if(e.lang){const t=r.enter(`codeFencedLang${o}`);l+=i.move(r.safe(e.lang,{before:l,after:" ",encode:["`"],...i.current()})),t()}if(e.lang&&e.meta){const t=r.enter(`codeFencedMeta${o}`);l+=i.move(" "),l+=i.move(r.safe(e.meta,{before:l,after:"\n",encode:["`"],...i.current()})),t()}return l+=i.move("\n"),s&&(l+=i.move(s+"\n")),l+=i.move(d),c(),l},definition:function(e,t,r,a){const n=Ud(r),s='"'===n?"Quote":"Apostrophe",o=r.enter("definition");let i=r.enter("label");const d=r.createTracker(a);let c=d.move("[");return c+=d.move(r.safe(r.associationId(e),{before:c,after:"]",...d.current()})),c+=d.move("]: "),i(),!e.url||/[\0- \u007F]/.test(e.url)?(i=r.enter("destinationLiteral"),c+=d.move("<"),c+=d.move(r.safe(e.url,{before:c,after:">",...d.current()})),c+=d.move(">")):(i=r.enter("destinationRaw"),c+=d.move(r.safe(e.url,{before:c,after:e.title?" ":"\n",...d.current()}))),i(),e.title&&(i=r.enter(`title${s}`),c+=d.move(" "+n),c+=d.move(r.safe(e.title,{before:c,after:n,...d.current()})),c+=d.move(n),i()),o(),c},emphasis:zd,hardBreak:Md,heading:function(e,t,r,a){const n=Math.max(Math.min(6,e.depth||1),1),s=r.createTracker(a);if(function(e,t){let r=!1;return pa(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,ca})),Boolean((!e.depth||e.depth<3)&&Ho(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),a=r.enter("phrasing"),o=r.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return a(),t(),o+"\n"+(1===n?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(n),i=r.enter("headingAtx"),d=r.enter("phrasing");s.move(o+" ");let c=r.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(c)&&(c=qd(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,r.options.closeAtx&&(c+=" "+o),d(),i(),c},html:Gd,image:Vd,imageReference:Kd,inlineCode:Yd,link:Xd,linkReference:$d,list:function(e,t,r,a){const n=r.enter("list"),s=r.bulletCurrent;let o=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(r):Qd(r);const i=e.ordered?"."===o?")":".":function(e){const t=Qd(e),r=e.options.bulletOther;if(!r)return"*"===t?"-":"*";if("*"!==r&&"+"!==r&&"-"!==r)throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}(r);let d=!(!t||!r.bulletLastUsed)&&o===r.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==r.stack[r.stack.length-1]||"listItem"!==r.stack[r.stack.length-2]||"list"!==r.stack[r.stack.length-3]||"listItem"!==r.stack[r.stack.length-4]||0!==r.indexStack[r.indexStack.length-1]||0!==r.indexStack[r.indexStack.length-2]||0!==r.indexStack[r.indexStack.length-3]||(d=!0),Zd(r)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+s);let o=s.length+1;("tab"===n||"mixed"===n&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const i=r.createTracker(a);i.move(s+" ".repeat(o-s.length)),i.shift(o);const d=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,i.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(o))+e;return(r?s:s+" ".repeat(o-s.length))+e}));return d(),c},paragraph:function(e,t,r,a){const n=r.enter("paragraph"),s=r.enter("phrasing"),o=r.containerPhrasing(e,a);return s(),n(),o},root:function(e,t,r,a){return(e.children.some((function(e){return ec(e)}))?r.containerPhrasing:r.containerFlow).call(r,e,a)},strong:tc,text:function(e,t,r,a){return r.safe(e.value,a)},thematicBreak:function(e,t,r){const a=(Zd(r)+(r.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(r));return r.options.ruleSpaces?a.slice(0,-1):a}};function ac(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function nc(e){this.exit(e),this.data.inTable=void 0}function sc(e){this.enter({type:"tableRow",children:[]},e)}function oc(e){this.exit(e)}function ic(e){this.enter({type:"tableCell",children:[]},e)}function dc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,cc));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function cc(e,t){return"|"===t?t:e}function lc(e){const t=e||{},r=t.tableCellPadding,a=t.tablePipeAlign,n=t.stringLength,s=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,r){let a=rc.inlineCode(e,t,r);r.stack.includes("tableCell")&&(a=a.replace(/\|/g,"\\$&"));return a},table:function(e,t,r,a){return i(function(e,t,r){const a=e.children;let n=-1;const s=[],o=t.enter("table");for(;++nc&&(c=e[l].length);++sd[s])&&(d[s]=e)}t.push(o)}o[l]=t,i[l]=a}let u=-1;if("object"===typeof a&&"length"in a)for(;++ud[u]&&(d[u]=n),f[u]=n),p[u]=o}o.splice(1,0,p),i.splice(1,0,f),l=-1;const g=[];for(;++l0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}Ec[43]=wc,Ec[45]=wc,Ec[46]=wc,Ec[95]=wc,Ec[72]=[wc,Rc],Ec[104]=[wc,Rc],Ec[87]=[wc,xc],Ec[119]=[wc,xc];var Pc=r(1231),_c=r(7245);const Dc={tokenize:function(e,t,r){const a=this;return(0,_c.N)(e,(function(e){const n=a.events[a.events.length-1];return n&&"gfmFootnoteDefinitionIndent"===n[1].type&&4===n[2].sliceSerialize(n[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Ic(e,t,r){const a=this;let n=a.events.length;const s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let o;for(;n--;){const e=a.events[n][1];if("labelImage"===e.type){o=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(n){if(!o||!o._balanced)return r(n);const i=(0,Zo.B)(a.sliceSerialize({start:o.end,end:a.now()}));if(94!==i.codePointAt(0)||!s.includes(i.slice(1)))return r(n);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(n),e.exit("gfmFootnoteCallLabelMarker"),t(n)}}function Oc(e,t){let r,a=e.length;for(;a--;)if("labelImage"===e[a][1].type&&"enter"===e[a][0]){r=e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},d=[e[a+1],e[a+2],["enter",n,t],e[a+3],e[a+4],["enter",s,t],["exit",s,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(a,e.length-a+1,...d),e}function Nc(e,t,r){const a=this,n=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s,o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),i};function i(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",d)}function d(i){if(o>999||93===i&&!s||null===i||91===i||(0,ii.Ee)(i))return r(i);if(93===i){e.exit("chunkString");const s=e.exit("gfmFootnoteCallString");return n.includes((0,Zo.B)(a.sliceSerialize(s)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(i)}return(0,ii.Ee)(i)||(s=!0),o++,e.consume(i),92===i?c:d}function c(t){return 91===t||92===t||93===t?(e.consume(t),o++,d):d(t)}}function Fc(e,t,r){const a=this,n=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s,o,i=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),d};function d(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(t)}function c(t){if(i>999||93===t&&!o||null===t||91===t||(0,ii.Ee)(t))return r(t);if(93===t){e.exit("chunkString");const r=e.exit("gfmFootnoteDefinitionLabelString");return s=(0,Zo.B)(a.sliceSerialize(r)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),u}return(0,ii.Ee)(t)||(o=!0),i++,e.consume(t),92===t?l:c}function l(t){return 91===t||92===t||93===t?(e.consume(t),i++,c):c(t)}function u(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),n.includes(s)||n.push(s),(0,_c.N)(e,p,"gfmFootnoteDefinitionWhitespace")):r(t)}function p(e){return t(e)}}function Bc(e,t,r){return e.check(Pc.B,t,e.attempt(Dc,t,r))}function Mc(e){e.exit("gfmFootnoteDefinition")}var Lc=r(2373),Uc=r(9723);function qc(e){let t=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:function(e,r,a){const n=this.previous,s=this.events;let o=0;return function(t){if(126===n&&"characterEscape"!==s[s.length-1][1].type)return a(t);return e.enter("strikethroughSequenceTemporary"),i(t)};function i(s){const d=(0,Wd.S)(n);if(126===s)return o>1?a(s):(e.consume(s),o++,i);if(o<2&&!t)return a(s);const c=e.exit("strikethroughSequenceTemporary"),l=(0,Wd.S)(s);return c._open=!l||2===l&&Boolean(d),c._close=!d||2===d&&Boolean(l),r(s)}},resolveAll:function(e,t){let r=-1;for(;++r0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];r.push([...e]),e.length=0;let a=r.pop();for(;a;)e.push(...a),a=r.pop();this.map.length=0}}function Hc(e,t){let r=!1;const a=[];for(;t-1;){const e=a.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const n=t>-1?a.events[t][1].type:null,s="tableHead"===n||"tableRow"===n?x:i;if(s===x&&a.parser.lazy[a.now().line])return r(e);return s(e)};function i(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return d(e);return n=!0,o+=1,d(e)}(t)}function d(t){return null===t?r(t):(0,ii.HP)(t)?o>1?(o=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):r(t):(0,ii.On)(t)?(0,_c.N)(e,d,"whitespace")(t):(o+=1,n&&(n=!1,s+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),n=!0,d):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||(0,ii.Ee)(t)?(e.exit("data"),d(t)):(e.consume(t),92===t?l:c)}function l(t){return 92===t||124===t?(e.consume(t),c):c(t)}function u(t){return a.interrupt=!1,a.parser.lazy[a.now().line]?r(t):(e.enter("tableDelimiterRow"),n=!1,(0,ii.On)(t)?(0,_c.N)(e,p,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?g(t):124===t?(n=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):v(t)}function f(t){return(0,ii.On)(t)?(0,_c.N)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(o+=1,n=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||(0,ii.HP)(t)?b(t):v(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),h(t)):v(t)}function h(t){return 45===t?(e.consume(t),h):58===t?(n=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return(0,ii.On)(t)?(0,_c.N)(e,b,"whitespace")(t):b(t)}function b(r){return 124===r?p(r):(null===r||(0,ii.HP)(r))&&n&&s===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(r)):v(r)}function v(e){return r(e)}function x(t){return e.enter("tableRow"),R(t)}function R(r){return 124===r?(e.enter("tableCellDivider"),e.consume(r),e.exit("tableCellDivider"),R):null===r||(0,ii.HP)(r)?(e.exit("tableRow"),t(r)):(0,ii.On)(r)?(0,_c.N)(e,R,"whitespace")(r):(e.enter("data"),w(r))}function w(t){return null===t||124===t||(0,ii.Ee)(t)?(e.exit("data"),R(t)):(e.consume(t),92===t?E:w)}function E(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function Gc(e,t){let r,a,n,s=-1,o=!0,i=0,d=[0,0,0,0],c=[0,0,0,0],l=!1,u=0;const p=new Wc;for(;++sr[2]+1){const t=r[2]+1,a=r[3]-r[2]-1;e.add(t,a,[])}}e.add(r[3]+1,0,[["exit",o,t]])}return void 0!==n&&(s.end=Object.assign({},Yc(t.events,n)),e.add(n,0,[["exit",s,t]]),s=void 0),s}function Kc(e,t,r,a,n){const s=[],o=Yc(t.events,r);n&&(n.end=Object.assign({},o),s.push(["exit",n,t])),a.end=Object.assign({},o),s.push(["exit",a,t]),e.add(r+1,0,s)}function Yc(e,t){const r=e[t],a="enter"===r[0]?"start":"end";return r[1][a]}const Jc={name:"tasklistCheck",tokenize:function(e,t,r){const a=this;return function(t){if(null!==a.previous||!a._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),n};function n(t){return(0,ii.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):r(t)}function s(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(t)}function o(a){return(0,ii.HP)(a)?t(a):(0,ii.On)(a)?e.check({tokenize:Xc},t,r)(a):r(a)}}};function Xc(e,t,r){return(0,_c.N)(e,(function(e){return null===e?r(e):t(e)}),"whitespace")}const $c={};function Qc(e){const t=e||$c,r=this.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),n=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(function(e){return(0,gc.y)([{text:Ec},{document:{91:{name:"gfmFootnoteDefinition",tokenize:Fc,continuation:{tokenize:Bc},exit:Mc}},text:{91:{name:"gfmFootnoteCall",tokenize:Nc},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Ic,resolveTo:Oc}}},qc(e),{flow:{null:{name:"table",tokenize:zc,resolveAll:Gc}}},{text:{91:Jc}}])}(t)),n.push([{transforms:[gd],enter:{literalAutolink:dd,literalAutolinkEmail:cd,literalAutolinkHttp:cd,literalAutolinkWww:cd},exit:{literalAutolink:fd,literalAutolinkEmail:pd,literalAutolinkHttp:ld,literalAutolinkWww:ud}},{enter:{gfmFootnoteDefinition:bd,gfmFootnoteDefinitionLabelString:vd,gfmFootnoteCall:wd,gfmFootnoteCallString:Ed},exit:{gfmFootnoteDefinition:Rd,gfmFootnoteDefinitionLabelString:xd,gfmFootnoteCall:Sd,gfmFootnoteCallString:jd}},{canContainEols:["delete"],enter:{strikethrough:Pd},exit:{strikethrough:_d}},{enter:{table:ac,tableData:ic,tableHeader:ic,tableRow:sc},exit:{codeText:dc,table:nc,tableData:oc,tableHeader:oc,tableRow:oc}},{exit:{taskListCheckValueChecked:uc,taskListCheckValueUnchecked:uc,paragraph:pc}}]),s.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:od,notInConstruct:id},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:od,notInConstruct:id},{character:":",before:"[ps]",after:"\\/",inConstruct:od,notInConstruct:id}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Ad,footnoteReference:Td}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Cd}],handlers:{delete:Dd}},lc(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:fc}}]}}(t))}const Zc=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/i,el=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)(\/.*)?\]/i,tl=function(){let{legacyTitle:e=!1,tagName:t="div"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r=>{pa(r,"blockquote",((r,a,n)=>{let s="",o="",i=!0,d=r.children.map((t=>{if(i&&"paragraph"===t.type){const r=t.children[0],a="text"===r.type?r.value:"",n=e?el:Zc,d=a.match(n);if(d&&(i=!1,s=d[1].toLocaleLowerCase(),o=e&&d[2]||s.toLocaleUpperCase(),a.includes("\n")&&(t.children[0]={type:"text",value:a.replace(n,"").replace(/^\n+/,"")}),!a.includes("\n"))){const e=[];t.children.forEach(((t,r)=>{0!=r&&(1==r&&"break"===t.type||e.push(t))})),t.children=[...e]}}return t}));s&&(r.data={hName:t,hProperties:{class:`markdown-alert markdown-alert-${s}`,dir:"auto"}},d.unshift({type:"paragraph",children:[rl(s),{type:"text",value:o.replace(/^\//,"")}],data:{hProperties:{class:"markdown-alert-title",dir:"auto"}}})),r.children=[...d]}))}};function rl(e){return{type:"emphasis",data:{hName:"svg",hProperties:{class:"octicon",viewBox:"0 0 16 16",width:"16",height:"16",ariaHidden:"true"}},children:[{type:"emphasis",data:{hName:"path",hProperties:{d:al[e]??""}},children:[]}]}}const al={note:"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z",tip:"M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z",important:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",warning:"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",caution:"M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"};function nl(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?nl(t.parentElement):null}function sl(e){var t=e=>{var t=nl(e.target);t&&(t.classList.add("active"),Wr()(t.dataset.code,(function(){setTimeout((()=>{t.classList.remove("active")}),2e3)})))};(0,i.useEffect)((()=>{var r,a;return null==(r=e.current)||r.removeEventListener("click",t,!1),null==(a=e.current)||a.addEventListener("click",t,!1),()=>{var r;null==(r=e.current)||r.removeEventListener("click",t,!1)}}),[e])}var ol=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement","urlTransform"],il=e=>e;const dl=i.forwardRef(((e,t)=>{var{prefixCls:r="wmde-markdown wmde-markdown-color",className:a,source:o,style:d,disableCopy:c=!1,skipHtml:l=!0,onScroll:u,onMouseOver:p,pluginsFilter:f,wrapperElement:g={},warpperElement:m={},urlTransform:h}=e,y=(0,s.A)(e,ol),b=i.useRef(null);(0,i.useImperativeHandle)(t,(()=>(0,n.A)({},e,{mdp:b})),[b,e]);var v=(r||"")+" "+(a||"");sl(b);var x=[...y.rehypePlugins||[]],R={allowElement:(e,t,r)=>y.allowElement?y.allowElement(e,t,r):/^[A-Za-z0-9]+$/.test(e.tagName)};l&&x.push(lo);var w=[tl,...y.remarkPlugins||[],Qc],E=(0,n.A)({},m,g);return(0,Xt.jsx)("div",(0,n.A)({ref:b,onScroll:u,onMouseOver:p},E,{className:v,style:d,children:(0,Xt.jsx)(ed,(0,n.A)({},R,y,{skipHtml:l,urlTransform:h||il,rehypePlugins:f?f("rehype",x):x,remarkPlugins:f?f("remark",w):w,children:o||""}))}))}));var cl=function(e){return void 0===e&&(e={}),e=>{pa(e,(e=>{"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=(0,n.A)({},e.properties,{"data-meta":String(e.data.meta)}))}))}},ll=function(e){return void 0===e&&(e={}),e=>{pa(e,(e=>{if("element"===e.type&&"code"===e.tagName&&e.properties&&e.properties.dataMeta){e.data||(e.data={});var t=e.properties.dataMeta;"string"===typeof t&&(e.data.meta=t),delete e.properties.dataMeta}}))}};const ul=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,pl=Object.hasOwnProperty;function fl(e){const t="element"===e.type?e.tagName.toLowerCase():"",r=2===t.length&&104===t.charCodeAt(0)?t.charCodeAt(1):0;return r>48&&r<55?r-48:void 0}const gl={},ml=new class{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let a=function(e,t){if("string"!==typeof e)return"";t||(e=e.toLowerCase());return e.replace(ul,"").replace(/ /g,"-")}(e,!0===t);const n=a;for(;pl.call(r.occurrences,a);)r.occurrences[n]++,a=n+"-"+r.occurrences[n];return r.occurrences[a]=0,a}reset(){this.occurrences=Object.create(null)}};const hl=function(e){if(null===e||void 0===e)return bl;if("string"===typeof e)return function(e){return yl(t);function t(t){return t.tagName===e}}(e);if("object"===typeof e)return function(e){const t=[];let r=-1;for(;++r0&&void 0!==arguments[0]?arguments[0]:{};const{openDelimiter:t="rehype:ignore:start",closeDelimiter:r="rehype:ignore:end"}=e;return e=>{pa(e,((e,a,n)=>{if("element"===e.type||"root"===e.type){let a=!1;e.children=e.children.filter((e=>{if("raw"===e.type||"comment"===e.type){let n=(e.value||"").trim();if(n=n.replace(/^/,"$1"),n===t)return a=!0,!1;if(n===r)return a=!1,!1}return!a}))}}))}};var kl={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};var Cl=[function(e){const t=(e||gl).prefix||"";return function(e){ml.reset(),pa(e,"element",(function(e){fl(e)&&!e.properties.id&&(e.properties.id=t+ml.slug(fa(e)))}))}},function(e){const t=e||Rl;let r=t.properties;const a=t.headingProperties,n=t.behavior||"prepend",s=t.content,o=t.group,i=hl(t.test);let d;return"after"===n||"before"===n?d=function(e,t,a){if("number"!==typeof t||!a)return;const i=jl(s||xl,e),d=El(e,Tl(r,e),i);let c="before"===n?[d,e]:[e,d];if(o){const t=Sl(o,e);t&&!Array.isArray(t)&&"element"===t.type&&(t.children=c,c=[t])}return a.children.splice(t,1,...c),[la,t+c.length]}:"wrap"===n?d=function(e){let t=e.children,a=[];"function"===typeof s?(t=[],a=s(e)):s&&(a=wl(s));return e.children=[El(e,Tl(r,e),Array.isArray(a)?[...t,...a]:[...t,a])],[la]}:(d=function(e){const t=jl(s||xl,e);return e.children["prepend"===n?"unshift":"push"](El(e,Tl(r,e),t)),[la]},r||(r={ariaHidden:"true",tabIndex:-1})),function(e){pa(e,"element",(function(e,t,r){if(fl(e)&&e.properties.id&&i(e,t,r))return Object.assign(e.properties,Tl(a,e)),d(e,t,r)}))}},Al];const Pl=i.forwardRef(((e,t)=>{var r,a,s,o=[cl,lo,ll,...Cl,[ns,{rewrite:(a=null!=(r=e.disableCopy)&&r,s=e.rehypeRewrite,(e,t,r)=>{if("element"===e.type&&r&&"root"===r.type&&/h(1|2|3|4|5|6)/.test(e.tagName)){var o=e.children&&e.children[0];o&&o.properties&&"true"===o.properties.ariaHidden&&(o.properties=(0,n.A)({class:"anchor"},o.properties),o.children=[kl])}if("element"===e.type&&"pre"===e.tagName&&!a){var i=as(e.children);e.children.push((void 0===(d=i)&&(d=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":d},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}))}var d;s&&s(e,null===t?void 0:t,null===r?void 0:r)})}],[ds,{properties:"attr"}],...e.rehypePlugins||[],[Ta,{ignoreMissing:!0}]];return(0,Xt.jsx)(dl,(0,n.A)({},e,{rehypePlugins:o,ref:t}))}));var _l,Dl=["components","data","node"],Il=["source","components","data","rehypeRewrite"],Ol=Zr.Preview,Nl=Zr.Code,Fl=Zr.Toolbar,Bl=Jt(Pl)(_l||(_l=o(["\n margin: 0 auto;\n box-shadow:\n rgb(8 15 41 / 8%) 0.5rem 0.5rem 2rem 0px,\n rgb(8 15 41 / 8%) 0px 0px 1px 0px;\n border: 1px solid var(--color-border-default, #30363d);\n text-align: left;\n max-width: 56rem;\n overflow: auto;\n padding: 2rem;\n border-radius: 0.55rem;\n"]))),Ml=e=>{var{components:t,data:r,node:a}=e,o=(0,s.A)(e,Dl);if(a&&"element"===a.type&&"pre"===a.tagName){var i,d,c,l=a.children[0];if(!l)return(0,Xt.jsx)("pre",(0,n.A)({},o));var u=(null==(i=l.data)?void 0:i.meta)||(null==(d=l.properties)?void 0:d.dataMeta);if(!ra(u))return(0,Xt.jsx)("pre",(0,n.A)({},o));var p=null==a||null==(c=a.position)?void 0:c.start.line,f=ta(u)||String(p),g=t[""+f];if(f&&"function"===typeof g){var m=r[f].value||"",{title:h,boreder:y=1,checkered:b=1,code:v=1,toolbar:x=1}=ea(u||"");return(0,Xt.jsxs)(Zr,{bordered:!!Number(y),disableCheckered:!Number(b),style:{marginBottom:16},children:[(0,Xt.jsx)(Ol,{children:(0,Xt.jsx)(g,{})}),!!Number(x)&&(0,Xt.jsx)(Fl,{text:m,visibleButton:!!Number(v),children:h||"Code Example"}),!!Number(v)&&(0,Xt.jsx)(Nl,{tagName:"pre",style:{marginBottom:0},className:o.className,children:o.children})]})}}return(0,Xt.jsx)("code",(0,n.A)({},o))};function Ll(e){var{components:t,data:r}=e,a=(0,s.A)(e,Il);return(0,Xt.jsx)(Bl,(0,n.A)({disableCopy:!0,rehypePlugins:[Al,...a.rehypePlugins||[]]},a,{source:r.source,components:(0,n.A)({},t,{pre:e=>(0,Xt.jsx)(Ml,(0,n.A)({},e,{components:r.components,data:r.data}))})}))}var Ul,ql,Wl,Hl,zl,Gl=["version","title","description","source","logo","components","data","markdownProps","exampleProps","className","children","disableCorners","disableDarkMode","disableHeader","disableBackToUp"],Vl=Jt.div(Ul||(Ul=o(["\n max-width: 56rem;\n margin: 0 auto;\n padding: 2.3rem 3rem;\n display: flex;\n justify-content: center;\n"]))),Kl=Jt.div(ql||(ql=o(["\n padding-bottom: 12rem;\n"]))),Yl=Jt.header(Wl||(Wl=o(["\n padding: 9rem 0 2rem 0;\n text-align: center;\n h1 {\n font-weight: 900;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif,\n 'Apple Color Emoji', 'Segoe UI Emoji';\n }\n"]))),Jl=Jt.sup(Hl||(Hl=o(["\n font-weight: 200;\n font-size: 0.78rem;\n margin-left: 0.5em;\n margin-top: -0.3em;\n position: absolute;\n white-space: nowrap;\n"]))),Xl=Jt.p(zl||(zl=o(["\n max-width: 460px;\n margin: 0 auto;\n color: var(--color-fg-subtle, #6e7781);\n"]))),$l=(0,i.forwardRef)(((e,t)=>{var{version:r,title:a,description:o,source:i,logo:d=Sr,components:c,data:l,markdownProps:u,exampleProps:p,className:f="",children:g,disableCorners:m=!1,disableDarkMode:h=!1,disableHeader:y=!1,disableBackToUp:b=!1}=e,v=(0,s.A)(e,Gl),x=lr();return(0,Xt.jsxs)(Kl,(0,n.A)({className:"wmde-markdown-var "+f},v,{children:[(0,Xt.jsx)(Dr,{version:r,logo:d,disableDarkMode:h,disableCorners:m}),!y&&(0,Xt.jsxs)(Yl,{children:[d,a&&(0,Xt.jsxs)("h1",{children:[a,r&&(0,Xt.jsx)(Jl,{children:r})]}),o&&(0,Xt.jsx)(Xl,{children:o})]}),x.example&&(0,Xt.jsx)(Vl,(0,n.A)({},p,{children:x.example})),(0,Xt.jsx)(Ll,(0,n.A)({},u,{source:i,data:{data:l,components:c,source:i}})),g,!b&&(0,Xt.jsx)(ar,{children:"Top"})]}))})),Ql=$l;Ql.Github=function(e){return(0,i.useEffect)((()=>or.setCorners((0,n.A)({},e))),[e]),null},Ql.Corners=function(e){return(0,i.useEffect)((()=>or.setDarkMode((0,n.A)({},e))),[e]),null},Ql.Example=function(e){var{children:t}=e;return(0,i.useEffect)((()=>or.setExample(t)),[t]),null},Ql.NavMenu=function(e){return(0,i.useEffect)((()=>or.setNavMenu(e)),[e]),null};const Zl=Ql,eu={components:{34:function(){var e=a(r(7804)),t=a(r(6204));function a(e){return e&&e.__esModule?e:{default:e}}function n(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);re.length)&&(t=e.length);for(var r=0,a=Array(t);re.length)&&(t=e.length);for(var r=0,a=Array(t);re.length)&&(t=e.length);for(var r=0,a=Array(t);re.length)&&(t=e.length);for(var r=0,a=Array(t);r r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}, {\n date: \'2016/01/12\',\n count: 20\n}, {\n date: \'2016/01/13\',\n count: 10\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx,\n content: \'\'\n };\n})), [{\n date: \'2016/04/11\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/04\',\n count: 11\n}]);\nvar Demo = function Demo() {\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n weekLabels: [\'\', \'Mon\', \'\', \'Wed\', \'\', \'Fri\', \'\'],\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n
\n \n
\n )\n};\n\nexport default Demo"},68:{name:68,meta:{},code:"\"use strict\";\n\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _reactHeatMap = _interopRequireDefault(require(\"@uiw/react-heat-map\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { \"default\": e }; }\nvar value = [{\n date: '2016/01/11',\n count: 2\n}, {\n date: '2016/04/12',\n count: 2\n}, {\n date: '2016/05/01',\n count: 17\n}, {\n date: '2016/05/02',\n count: 5\n}, {\n date: '2016/05/03',\n count: 27\n}, {\n date: '2016/05/04',\n count: 11\n}, {\n date: '2016/05/08',\n count: 32\n}];\nvar Demo = function Demo() {\n return /*#__PURE__*/_react[\"default\"].createElement(_reactHeatMap[\"default\"], {\n value: value,\n width: 600,\n style: {\n color: '#ad001d',\n '--rhm-rect-active': 'red'\n },\n startDate: new Date('2016/01/01'),\n panelColors: {\n 0: '#f4decd',\n 7: '#e4b293',\n 14: '#d48462',\n 21: '#c2533a',\n 28: '#ad001d',\n 35: '#6c0012'\n }\n });\n};\nreturn Demo;",language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:17 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:27 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo"},105:{name:105,meta:{},code:"\"use strict\";\n\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _reactHeatMap = _interopRequireDefault(require(\"@uiw/react-heat-map\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { \"default\": e }; }\nvar value = [{\n date: '2016/01/11',\n count: 2\n}, {\n date: '2016/04/12',\n count: 2\n}, {\n date: '2016/05/01',\n count: 17\n}, {\n date: '2016/05/02',\n count: 5\n}, {\n date: '2016/05/03',\n count: 27\n}, {\n date: '2016/05/04',\n count: 11\n}, {\n date: '2016/05/08',\n count: 32\n}];\nvar Demo = function Demo() {\n return /*#__PURE__*/_react[\"default\"].createElement(_reactHeatMap[\"default\"], {\n value: value,\n width: 600,\n style: {\n color: '#ad001d',\n '--rhm-rect-active': 'red'\n },\n startDate: new Date('2016/01/01'),\n panelColors: ['#f4decd', '#e4b293', '#d48462', '#c2533a', '#ad001d', '#6c0012']\n });\n};\nreturn Demo;",language:"jsx",value:"import React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:17 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:27 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo"},137:{name:137,meta:{},code:'"use strict";\n\nfunction _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }\nfunction _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(5),\n _useState2 = _slicedToArray(_useState, 2),\n range = _useState2[0],\n setRange = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("input", {\n type: "range",\n min: "0",\n max: "5",\n step: "0.1",\n value: range,\n onChange: function onChange(e) {\n return setRange(e.target.value);\n }\n }), " ", range, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n width: 600,\n style: {\n \'--rhm-rect\': \'#b9b9b9\'\n },\n startDate: new Date(\'2016/01/01\'),\n legendRender: function legendRender(props) {\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n y: props.y + 10,\n rx: range\n }));\n },\n rectProps: {\n rx: range\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n
\n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo"},178:{name:178,meta:{},code:'"use strict";\n\nvar _react = _interopRequireDefault(require("react"));\nvar _reactTooltip = _interopRequireDefault(require("@uiw/react-tooltip"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n return /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n value: value,\n width: 600,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n // if (!data.count) return ;\n return /*#__PURE__*/_react["default"].createElement(_reactTooltip["default"], {\n placement: "top",\n content: "count: ".concat(data.count || 0)\n }, /*#__PURE__*/_react["default"].createElement("rect", props));\n }\n });\n};\nreturn Demo;',language:"jsx",value:"import React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo"},217:{name:217,meta:{},code:'"use strict";\n\nfunction _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }\nfunction _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(0),\n _useState2 = _slicedToArray(_useState, 2),\n size = _useState2[0],\n setSize = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("label", {\n style: {\n userSelect: \'none\'\n }\n }, /*#__PURE__*/_react["default"].createElement("input", {\n type: "checkbox",\n checked: size === 0,\n onChange: function onChange(e) {\n return setSize(e.target.checked ? 0 : 12);\n }\n }), size === 0 ? \' Hide\' : \' Show\', " Legend"), /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n legendCellSize: size,\n startDate: new Date(\'2016/01/01\')\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n
\n \n \n
\n )\n};\nexport default Demo"},259:{name:259,meta:{},code:'"use strict";\n\nfunction _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }\nvar _react = _interopRequireWildcard(require("react"));\nvar _reactHeatMap = _interopRequireDefault(require("@uiw/react-heat-map"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }\nfunction _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nvar value = [{\n date: \'2016/01/11\',\n count: 2\n}].concat(_toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/01/".concat(idx + 10),\n count: idx\n };\n})), _toConsumableArray(_toConsumableArray(Array(17)).map(function (_, idx) {\n return {\n date: "2016/02/".concat(idx + 10),\n count: idx\n };\n})), [{\n date: \'2016/04/12\',\n count: 2\n}, {\n date: \'2016/05/01\',\n count: 5\n}, {\n date: \'2016/05/02\',\n count: 5\n}, {\n date: \'2016/05/03\',\n count: 1\n}, {\n date: \'2016/05/04\',\n count: 11\n}, {\n date: \'2016/05/08\',\n count: 32\n}]);\nvar Demo = function Demo() {\n var _useState = (0, _react.useState)(\'\'),\n _useState2 = _slicedToArray(_useState, 2),\n selected = _useState2[0],\n setSelected = _useState2[1];\n return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_reactHeatMap["default"], {\n width: 600,\n value: value,\n startDate: new Date(\'2016/01/01\'),\n rectRender: function rectRender(props, data) {\n if (selected !== \'\') {\n props.opacity = data.date === selected ? 1 : 0.45;\n }\n return /*#__PURE__*/_react["default"].createElement("rect", _extends({}, props, {\n onClick: function onClick() {\n setSelected(data.date === selected ? \'\' : data.date);\n }\n }));\n }\n }));\n};\nreturn Demo;',language:"jsx",value:"import React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n
\n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo"}},source:"HeatMap \u65e5\u5386\u70ed\u56fe\n===\n\x3c!--rehype:style=text-align: center;--\x3e\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n[![Build & Deploy](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-heat-map/actions/workflows/ci.yml)\n[![Coverage Status](https://img.shields.io/npm/dm/@uiw/react-heat-map.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm version](https://img.shields.io/npm/v/@uiw/react-heat-map.svg)](https://www.npmjs.com/package/@uiw/react-heat-map)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-heat-map)](https://bundlephobia.com/result?p=@uiw/react-heat-map)\n[![Open in Gitpod](https://shields.io/badge/Open%20in-Gitpod-green?logo=Gitpod)](https://gitpod.io/#https://github.com/uiwjs/react-codemirror)\n\x3c!--rehype:style=text-align: center;--\x3e\n\nA lightweight calendar heatmap react component built on SVG, customizable version of GitHub's contribution graph. Try it out on [website example](https://uiwjs.github.io/react-heat-map/).\n\n\x3c!--rehype:ignore:start--\x3e\n\n[![](https://user-images.githubusercontent.com/1680273/186116433-d58c2b6d-8468-4322-943c-9b63c2e447e4.png)](https://uiwjs.github.io/react-heat-map)\n\n\x3c!--rehype:ignore:end--\x3e\n\n## Install\n\n```bash\n# Not dependent on uiw.\nnpm install @uiw/react-heat-map --save\n```\n\n## Basic Usage\n\nBasic usage example, Please pay warning to the time setting.\n\n\u26a0\ufe0f Example: ~~`2016-01-11`\x3c!--rehype:style=color: red;background-color: #ffd8d8;--\x3e~~ -> `2016/01/11`\x3c!--rehype:style=color: green;background: #a7e4b5;--\x3e, Support `Safari`\x3c!--rehype:style=background-color: #87d499;--\x3e\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count: 2 },\n { date: '2016/01/12', count: 20 },\n { date: '2016/01/13', count: 10 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),\n { date: '2016/04/11', count: 2 },\n { date: '2016/05/01', count: 5 },\n { date: '2016/05/02', count: 5 },\n { date: '2016/05/04', count: 11 },\n];\n\nconst Demo = () => {\n return (\n
\n \n
\n )\n};\n\nexport default Demo\n```\n\n## Set Color\n\nSet the theme color style.\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:17 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:27 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo\n```\n\nDynamic color based on maximum value\n\n```jsx mdx:preview\nimport React from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:17 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:27 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n \n )\n};\nexport default Demo\n```\n\n## Set Rect Style\n\nSet the radius of the rect.\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [range, setRange] = useState(5)\n return (\n
\n setRange(e.target.value)} /> {range}\n }\n rectProps={{\n rx: range\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Tooltip\n\nA simple text popup tip.\n\n```jsx mdx:preview\nimport React from 'react';\nimport Tooltip from '@uiw/react-tooltip';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx, })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n return (\n {\n // if (!data.count) return ;\n return (\n \n \n \n );\n }}\n />\n )\n};\nexport default Demo\n```\n\n## Show/Hide Legend\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [size, setSize] = useState(0)\n return (\n
\n \n \n
\n )\n};\nexport default Demo\n```\n\n## Selected Rect\n\n```jsx mdx:preview\nimport React, { useState } from 'react';\nimport HeatMap from '@uiw/react-heat-map';\n\nconst value = [\n { date: '2016/01/11', count:2 },\n ...[...Array(17)].map((_, idx) => ({ date: `2016/01/${idx + 10}`, count: idx })),\n ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx })),\n { date: '2016/04/12', count:2 },\n { date: '2016/05/01', count:5 },\n { date: '2016/05/02', count:5 },\n { date: '2016/05/03', count:1 },\n { date: '2016/05/04', count:11 },\n { date: '2016/05/08', count:32 },\n];\n\nconst Demo = () => {\n const [selected, setSelected] = useState('')\n return (\n
\n {\n if (selected !== '') {\n props.opacity = data.date === selected ? 1 : 0.45\n }\n return (\n {\n setSelected(data.date === selected ? '' : data.date);\n }} />\n );\n }}\n />\n
\n )\n};\nexport default Demo\n```\n\n## Props\n\n| Property | Description | Type | Default |\n| ---- | ---- | ---- | ---- |\n| `value` | Data to be displayed, **required** | Array | `[]` |\n| `rectSize` | Grid size | number | `11` |\n| `legendCellSize` | Size of the legend cells, in pixel. Value equal to `0` hide legend. | number | `11` |\n| `startDate` | Start date | Date | `new Date()` |\n| `endDate` | End date | Date | - |\n| `space` | Interval between grid sizes | number | `2` |\xa0\n| `monthPlacement` | position of month labels | `'top' | 'bottom'` | `top` |\xa0\n| `rectProps` | Grid node attribute settings | `React.SVGProps` | `2` |\n| `weekLabels` | Week display | string[] | `['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']` |\xa0\n| `monthLabels` | Month display | string[] | `['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']` |\xa0\n| `panelColors` | Backgroud color of active colors | `Record` | `['var(--rhm-rect, #EBEDF0)','#C6E48B','#7BC96F', '#239A3B', '#196127']` |\xa0\n| `rectRender` | Single `day` block re-render | `(data: E & { key: number }, valueItem: HeatMapValue & { date: string, column: number, row: number, index: number }) => React.ReactElement` | - |\n| `legendRender` | Single `legend` block re-render | `(props: React.SVGProps) => React.ReactNode` | - |\n\n## Development\n\n**`development`**\n\nRuns the project in development mode. \n\n```bash\nnpm install\n```\n\n```bash\n# Step 1, run first, listen to the component compile and output the .js file\n# listen for compilation output type .d.ts file\nnpm run watch\n# Step 2, development mode, listen to compile preview website instance\nnpm run start\n```\n\n**`production`**\n\nBuilds the app for production to the build folder.\n\n```bash\nnpm run build\nnpm run doc\n```\n\nThe build is minified and the filenames include the hashes.\nYour app is ready to be deployed!\n\n## Contributors\n\nAs always, thanks to our amazing contributors!\n\n\n \n\n\nMade with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).\n\n## License\n\nLicensed under the MIT License.\n",headings:[],headingsList:[]};var tu=r(2073),ru=r(6204);const au=Jt.div` + background-color: #fff; + border-radius: 5px; + box-shadow: 0 0 0 1px rgb(16 22 26 / 10%), 0 0 0 rgb(16 22 26 / 0%), 0 1px 1px rgb(16 22 26 / 20%); + margin: 0 auto; + margin-top: 70px; + width: 663px; + svg { + border-radius: 5px; + } +`,nu=Jt.div` + user-select: none; + font-size: 12px; + margin-top: 10px !important; + padding: 10px; + padding-left: 0px; + border-radius: 5px; + width: 663px; + margin: 0 auto; + label { + display: flex; + align-items: center; + input { + margin-right: 5px; + margin-left: 10px; + } + } +`,su=Jt.div` + display: flex; + flex-direction: column; +`,ou=[{date:"2016/01/11",count:2,content:""},...[...Array(17)].map(((e,t)=>({date:`2016/02/${t+10}`,count:t,content:""}))),{date:"2016/03/02",count:5,content:""},{date:"2016/03/04",count:11,content:""},{date:"2016/03/14",count:31,content:""},{date:"2016/03/16",count:2,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/05/01",count:5,content:""},{date:"2016/05/02",count:5,content:""},{date:"2016/05/04",count:11,content:""},{date:"2016/05/14",count:31,content:""},{date:"2016/05/16",count:2,content:""},{date:"2016/05/17",count:2,content:""},{date:"2016/05/18",count:2,content:""},{date:"2016/05/19",count:8,content:""},{date:"2016/05/20",count:6,content:""},{date:"2016/05/21",count:41,content:""},{date:"2016/05/22",count:6,content:""},{date:"2016/06/11",count:2,content:""},{date:"2016/07/01",count:5,content:""},{date:"2016/07/02",count:5,content:""},{date:"2016/07/04",count:11,content:""},{date:"2016/07/14",count:31,content:""},{date:"2016/07/16",count:2,content:""},{date:"2016/07/17",count:2,content:""},{date:"2016/07/18",count:2,content:""},{date:"2016/07/19",count:8,content:""},{date:"2016/07/20",count:6,content:""},{date:"2016/07/21",count:41,content:""},{date:"2016/07/22",count:6,content:""},...[...Array(17)].map(((e,t)=>({date:`2016/08/${t+10}`,count:t,content:""})))],iu=[{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/11",count:2,content:""},{date:"2016/04/01",count:5,content:""},{date:"2016/04/02",count:5,content:""},{date:"2016/04/04",count:11,content:""},{date:"2016/04/14",count:31,content:""},{date:"2016/04/16",count:2,content:""},{date:"2016/04/17",count:2,content:""},{date:"2016/04/18",count:2,content:""},{date:"2016/04/19",count:8,content:""},{date:"2016/04/20",count:6,content:""},{date:"2016/04/21",count:41,content:""},{date:"2016/04/22",count:6,content:""}],du={0:"rgb(255 255 255 / 25%)",8:"#7BC96F",4:"#C6E48B",12:"#239A3B",32:"#ff7b00"};function cu(){const[e,t]=(0,i.useState)(ou),[r,a]=(0,i.useState)(),[n,s]=(0,i.useState)(!1),[o,d]=(0,i.useState)(!1),[c,l]=(0,i.useState)(!1),[u,p]=(0,i.useState)(11),[f,g]=(0,i.useState)("top"),[m,h]=(0,i.useState)(),[y,b]=(0,i.useState)(void 0),[v,x]=(0,i.useState)(void 0);return(0,Xt.jsxs)(su,{children:[(0,Xt.jsx)(au,{children:(0,Xt.jsx)(ru.default,{style:{backgroundColor:o?"#000":"#fff",color:o?"#888":"#000"},panelColors:o?du:void 0,width:663,rectSize:u,legendCellSize:m,weekLabels:y,monthLabels:v,startDate:new Date("2016/01/01"),endDate:n?new Date("2016/6/01"):void 0,monthPlacement:f,value:e,rectProps:{rx:c?5:0,onClick:e=>{a(e.target.dataset.date)}},legendRender:e=>(0,i.createElement)("rect",{...e,key:e.key,rx:c?5:0}),rectRender:(e,t)=>(0,Xt.jsx)(tu.default,{placement:"top",content:`count: ${t.count||0}`,children:(0,Xt.jsx)("rect",{...e})},t.index)})}),(0,Xt.jsxs)(nu,{children:[(0,Xt.jsxs)("div",{style:{paddingLeft:10,paddingBottom:20},children:[(0,Xt.jsx)("button",{onClick:()=>t(ou),children:"Value 1"}),(0,Xt.jsx)("button",{onClick:()=>t(iu),children:"Value 2"}),(0,Xt.jsx)("span",{children:r})]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"checkbox",checked:n,onChange:e=>s(e.target.checked)}),"endDate = ",n?"2016/6/01":"undefined"]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"checkbox",checked:o,onChange:e=>d(e.target.checked)}),o?"Dark":"Light"]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"checkbox",checked:c,onChange:e=>l(e.target.checked)}),c?"Circle":"Rect"]}),(0,Xt.jsxs)("label",{style:{marginTop:15},children:[(0,Xt.jsx)("input",{type:"radio",name:"weekLabels",checked:void 0===y,onChange:e=>b(void 0)}),"weekLabels = undefined, Default: ",JSON.stringify(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"radio",name:"weekLabels",checked:!1===y,onChange:e=>b(!1)}),"weekLabels = false"]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"radio",name:"weekLabels",checked:Array.isArray(y),onChange:e=>b(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])}),"weekLabels = ",JSON.stringify(["\u65e5","\u4e00","","\u4e09","","\u4e94","\u516d"])]}),(0,Xt.jsxs)("label",{style:{marginTop:15},children:[(0,Xt.jsx)("input",{type:"radio",name:"monthLabels",checked:void 0===v,onChange:e=>x(void 0)}),"monthLabels = undefined, Default:"," ",JSON.stringify(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"])]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"radio",name:"monthLabels",checked:!1===v,onChange:e=>x(!1)}),"monthLabels = false"]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"radio",name:"monthLabels",checked:Array.isArray(v),onChange:e=>x(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])}),"monthLabels = ",JSON.stringify(["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"])]}),(0,Xt.jsxs)("div",{style:{display:"flex",marginTop:10},children:[(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"radio",name:"rectSize",checked:11===u,onChange:e=>p(11)}),"rectSize = 11"]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"radio",name:"rectSize",checked:12===u,onChange:e=>p(12)}),"rectSize = 12"]}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"radio",name:"rectSize",checked:14===u,onChange:e=>p(14)}),"rectSize = 14"]})]}),(0,Xt.jsxs)("div",{style:{display:"flex",marginTop:16},children:[(0,Xt.jsx)("label",{children:(0,Xt.jsxs)("select",{value:f,onChange:e=>g(e.target.value),children:[(0,Xt.jsx)("option",{value:"top",children:"monthPlacement = top"}),(0,Xt.jsx)("option",{value:"bottom",children:"monthPlacement = bottom"})]})}),(0,Xt.jsxs)("label",{children:[(0,Xt.jsx)("input",{type:"number",value:m||"",onChange:e=>h(Number(e.target.value)||0)}),"legendCellSize = ",m]})]})]})]})}const lu=Zl.Github,uu=Zl.Example,pu=document.getElementById("root");(0,a.H)(pu).render((0,Xt.jsxs)(Zl,{source:eu.source,components:eu.components,data:eu.data,title:"HeatMap for React",description:"React component create calendar heatmap to visualize time series data, a la github contribution graph.",version:"v2.2.2",children:[(0,Xt.jsx)(lu,{href:"https://github.com/uiwjs/react-heat-map"}),(0,Xt.jsx)(uu,{children:(0,Xt.jsx)(cu,{})})]}))},6204:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var a=r(8102),n=r(9257),s=r(7804),o=r(9424),i={textAnchor:"middle",fontSize:"inherit",fill:"currentColor"},d=e=>{var{weekLabels:t=[],rectSize:r=0,topPad:a=0,space:n=0}=e;return(0,s.useMemo)((()=>(0,o.jsx)(s.Fragment,{children:[...Array(7)].map(((e,s)=>t&&t[s]?(0,o.jsx)("text",{className:"w-heatmap-week",x:15,y:a,dy:(s+1)*(r+n)-5,style:i,children:t[s]},s):null))})),[r,n,a,t])},c=864e5;function l(e){return e instanceof Date&&!isNaN(e.getTime())}function u(e){return e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate()}var p=(e,t)=>{var r=Math.ceil(t/(e.length-1)),a={};return e.forEach(((e,t)=>{a[t*r]=e})),a},f=e=>{var{monthLabels:t=[],rectSize:r=0,space:a=0,leftPad:n=0,colNum:d=0,rectY:l=15,startDate:u}=e,p=(0,s.useMemo)((()=>!1===t||d<1?[]:[...Array(7*d)].map(((e,r)=>{if(r/7%1===0){var a=new Date(u.getTime()+r*c),n=a.getMonth();return{col:r/7,index:r,month:n,day:a.getDate(),monthStr:t[n],date:a}}return null})).filter(Boolean).filter(((e,t,r)=>r[t-1]&&r[t-1].month!==e.month))),[d,t,u]);return(0,o.jsx)(s.Fragment,{children:[...p].map(((e,t)=>(0,o.jsx)("text",{"data-size":r,x:n+a+a,y:l,dx:e.col*(r+a),textAnchor:"start",style:i,children:e.monthStr},t)))})},g=["style","value","render","key"],m=e=>{var{style:t,value:r,render:i}=e,d=(0,n.A)(e,g),c=(0,a.A)({},d,{style:(0,a.A)({display:"block",cursor:"pointer"},t)});if(i&&"function"===typeof i){var l=i((0,a.A)({},c),r);if(l&&s.isValidElement(l))return l}return(0,o.jsx)("rect",(0,a.A)({},c))},h=["panelColors","leftPad","topPad","rectY","space","rectSize","legendCellSize","legendRender"];function y(e){var{panelColors:t,leftPad:r=0,topPad:i=0,rectY:d=15,space:c=0,rectSize:l=0,legendCellSize:u=0,legendRender:p}=e,f=(0,n.A)(e,h),g=u||l;return(0,s.useMemo)((()=>(0,o.jsx)(s.Fragment,{children:Object.keys(t||{}).map(((e,n)=>{var o=(0,a.A)({},f,{key:n,x:(g+1)*n+r,y:d,fill:t[Number(e)],width:g,height:g});return p?p(o):(0,s.createElement)(m,(0,a.A)({},o,{key:n}))}))})),[t,f,g,d,r,l,p])}var b=e=>{var{transform:t,gridNum:r=0,startY:n=0,panelColors:i={},initStartDate:d,space:p=2,value:f=[],rectSize:g=11,endDate:h,rectProps:y,rectRender:b}=e,v=(0,s.useMemo)((()=>function(e){void 0===e&&(e=[]);var t={};return e.forEach((e=>{e.date&&l(new Date(e.date))&&(e.date=u(new Date(e.date)),t[e.date]=e)})),t}(f)),[f]),x=(0,s.useMemo)((()=>{return void 0===(e=Object.keys(i).map((e=>parseInt(e,10))))&&(e=[]),e.sort(((e,t)=>et?1:0));var e}),[i]);return(0,o.jsx)("g",{transform:t,children:r>0&&[...Array(r)].map(((e,t)=>(0,o.jsx)("g",{"data-column":t,children:[...Array(7)].map(((e,r)=>{var n=new Date(d.getTime()+c*(7*t+r)),o=u(n),l=(0,a.A)({},v[o],{date:o,row:r,column:t,index:7*t+r}),f=(0,a.A)({},y,{fill:"var(--rhm-rect, #EBEDF0)",width:g,height:g,x:t*(g+p),y:(g+p)*r,render:b,value:l});return h instanceof Date&&n.getTime()>h.getTime()?null:(o&&v[o]&&i&&Object.keys(i).length>0?f.fill=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r={});for(var a="",n=0;ne){a=r[t[n]];break}a=r[t[n]]}return a}(v[o].count||0,x,i):i&&i[0]&&(f.fill=i[0]),(0,s.createElement)(m,(0,a.A)({},f,{key:r,value:l,"data-date":o,"data-index":l.index,"data-row":l.row,"data-column":l.column})))}))},t)))})},v=["rectSize","legendCellSize","space","monthPlacement","startDate","endDate","rectProps","rectRender","legendRender","value","weekLabels","monthLabels","panelColors","style"];function x(e){var t=e||{},{rectSize:r=11,legendCellSize:i=11,space:u=2,monthPlacement:g="top",startDate:m=new Date,endDate:h,rectProps:x,rectRender:R,legendRender:w,value:E=[],weekLabels:j=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthLabels:S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],panelColors:T=["var(--rhm-rect, #EBEDF0)","#C6E48B","#7BC96F","#239A3B","#196127"],style:A}=t,k=(0,n.A)(t,v),C=Math.max(...E.map((e=>e.count)),0),P=Array.isArray(T)?p(T,C):T;console.log("panelColorsObject",P);var[_,D]=(0,s.useState)(0),[I,O]=(0,s.useState)(j?28:5),N="top"===g?20:5,[F,B]=(0,s.useState)(S?N:5),M=s.createRef();(0,s.useEffect)((()=>O(j?28:5)),[j]),(0,s.useEffect)((()=>{if(M.current){var e=M.current.clientWidth-I||0;D(Math.floor(e/(r+u))||0)}}),[r,M,u,I]),(0,s.useEffect)((()=>{B(S?N:5)}),[S]);var L=(0,s.useMemo)((()=>{if(l(m))return m.getDay()?new Date(m.getTime()-m.getDay()*c):m;var e=new Date;return new Date(e.getTime()-e.getDay()*c)}),[m]),U="top"===g?15:105+u,q="top"===g?F+8*r+6:(S?F+r+u:F)+8*r+6;return(0,o.jsxs)("svg",(0,a.A)({ref:M,style:(0,a.A)({},{color:"var(--rhm-text-color, #24292e)",userSelect:"none",display:"block",fontSize:10},A)},k,{children:[0!==i&&(0,o.jsx)(y,{legendRender:w,panelColors:P,rectSize:r,rectY:q,legendCellSize:i,leftPad:I,topPad:F,space:u}),(0,o.jsx)(d,{weekLabels:j,rectSize:r,space:u,topPad:F}),(0,o.jsx)(f,{monthLabels:S,rectSize:r,space:u,leftPad:I,colNum:_,rectY:U,startDate:L}),(0,o.jsx)(b,{transform:"translate("+I+", "+F+")",gridNum:_,initStartDate:L,endDate:h,rectProps:x,rectSize:r,rectRender:R,panelColors:P,value:E,space:u})]}))}var R=["prefixCls","className"];function w(e){var{prefixCls:t="w-heatmap",className:r}=e,s=(0,n.A)(e,R),i=[r,t].filter(Boolean).join(" ");return(0,o.jsx)(x,(0,a.A)({className:i},s))}},8474:function(e){e.exports=function(){"use strict";function e(e,t){if("undefined"===typeof document)return;const r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style={position:"absolute",left:"-9999px"},document.body.appendChild(r);const a=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);r.select();let n=!1;try{n=!!document.execCommand("copy")}catch(s){n=!1}document.body.removeChild(r),a&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(a)),t&&t(n)}return e}()},2073:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>K});var a=r(8102),n=r(9257),s=r(7804);function o(){}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}function c(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=r(4689);const u=!1,p=s.createContext(null);var f=function(e){return e.scrollTop},g="unmounted",m="exited",h="entering",y="entered",b="exiting",v=function(e){function t(t,r){var a;a=e.call(this,t,r)||this;var n,s=r&&!r.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?s?(n=m,a.appearStatus=h):n=y:n=t.unmountOnExit||t.mountOnEnter?g:m,a.state={status:n},a.nextCallback=null,a}d(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===g?{status:m}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==h&&r!==y&&(t=h):r!==h&&r!==y||(t=b)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,a=this.props.timeout;return e=t=r=a,null!=a&&"number"!==typeof a&&(e=a.exit,t=a.enter,r=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);r&&f(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===m&&this.setState({status:g})},r.performEnter=function(e){var t=this,r=this.props.enter,a=this.context?this.context.isMounting:e,n=this.props.nodeRef?[a]:[l.findDOMNode(this),a],s=n[0],o=n[1],i=this.getTimeouts(),d=a?i.appear:i.enter;!e&&!r||u?this.safeSetState({status:y},(function(){t.props.onEntered(s)})):(this.props.onEnter(s,o),this.safeSetState({status:h},(function(){t.props.onEntering(s,o),t.onTransitionEnd(d,(function(){t.safeSetState({status:y},(function(){t.props.onEntered(s,o)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),a=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!u?(this.props.onExit(a),this.safeSetState({status:b},(function(){e.props.onExiting(a),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:m},(function(){e.props.onExited(a)}))}))}))):this.safeSetState({status:m},(function(){e.props.onExited(a)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(a){r&&(r=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),a=null==e&&!this.props.addEndListener;if(r&&!a){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],s=n[0],o=n[1];this.props.addEndListener(s,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===g)return null;var t=this.props,r=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.createElement(p.Provider,{value:null},"function"===typeof r?r(e,a):s.cloneElement(s.Children.only(r),a))},t}(s.Component);function x(){}v.contextType=p,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:x,onEntering:x,onEntered:x,onExit:x,onExiting:x,onExited:x},v.UNMOUNTED=g,v.EXITED=m,v.ENTERING=h,v.ENTERED=y,v.EXITING=b;const R=v;var w=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return a=t,void((r=e).classList?r.classList.remove(a):"string"===typeof r.className?r.className=c(r.className,a):r.setAttribute("class",c(r.className&&r.className.baseVal||"",a)));var r,a}))},E=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n()=>{r.current&&a.current&&(a.current.removeChild(r.current),r.current=void 0)}),[]),S?(a.current||(a.current=document.body),r.current||(r.current=document.createElement("div"),a.current.appendChild(r.current)),l.createPortal(e.children,r.current)):null}var A=r(9424),k=["className","style","isOpen","prefixCls","usePortal","maskClosable","backdropProps","portalProps","hasBackdrop","unmountOnExit","timeout","transitionName","onOpening","onOpened","onClosing","onClosed","onClose","onEnter","onExiting","onEntering","onEntered","onExit","children","dialogProps"];function C(e){var{className:t,style:r,isOpen:i=!1,prefixCls:d="w-overlay",usePortal:c=!0,maskClosable:l=!0,backdropProps:u={},portalProps:p={},hasBackdrop:f=!0,unmountOnExit:g=!0,timeout:m=300,transitionName:h="w-overlay",onOpening:y=o,onOpened:b=o,onClosing:v=o,onClosed:x=o,onClose:R=o,onEnter:w=o,onExiting:E=o,onEntering:S=o,onEntered:C=o,onExit:P=o,children:_,dialogProps:D={}}=e,I=(0,n.A)(e,k),[O,N]=(0,s.useState)(),[F,B]=(0,s.useState)(!1),M=(0,s.useRef)(null),L=(0,s.useRef)(null);(0,s.useEffect)((()=>{O!==e.isOpen&&e.isOpen&&B(!0),O===e.isOpen||e.isOpen||(W(),N(!1))}),[e.isOpen]),(0,s.useEffect)((()=>{F&&(f&&c&&document.body.classList.add(d+"-open"),N(!0))}),[F]);var U="object"===typeof _?(0,s.cloneElement)(_,(0,a.A)({},D,{style:(0,a.A)({},_.props.style,D.style),className:[_.props.className,d+"-content"].filter(Boolean).join(" ").trim(),tabIndex:0})):(0,A.jsx)("span",(0,a.A)({},D,{className:d+"-content",children:_}));function q(e){e.target!==M.current&&c||(l&&f&&(W(),N(!1),R&&R(e)),u&&u.onMouseDown&&u.onMouseDown(e))}function W(){f&&c&&document.body.classList.remove(d+"-open")}var H=(0,A.jsx)(j,(0,a.A)({classNames:h,unmountOnExit:g,timeout:m,in:O,onEnter:e=>{w(L.current,e)},onEntering:e=>{y(L.current,e),S(L.current)},onEntered:e=>{b(L.current,e),C(L.current)},onExiting:()=>{v(L.current),E(L.current)},onExited:()=>{var e;e=L.current,B(!1),x&&x(e),P(L.current)},nodeRef:L},I,{children:e=>(0,A.jsxs)("div",{style:r,ref:L,className:[d,t,c?null:d+"-inline",O?d+"-enter-done":null].filter(Boolean).join(" ").trim(),children:[f&&(0,s.cloneElement)((0,A.jsx)("div",{}),(0,a.A)({},u,{onMouseDown:q,className:[d+"-backdrop",u.className].filter(Boolean).join(" ").trim(),tabIndex:l?0:null})),c?(0,A.jsx)("div",{ref:M,onMouseDown:q,className:d+"-container",children:(0,s.cloneElement)(U,{"data-status":e})}):(0,s.cloneElement)(U,{"data-status":e})]})}));return F&&c?(0,A.jsx)(T,(0,a.A)({},(0,a.A)({},p),{children:H})):H}function P(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}function _(e){return"function"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}const D=!("undefined"===typeof window||!window.document||!window.document.createElement)?function(e,t){return e&&e.contains&&"function"===typeof e.contains&&_(t)?e.contains(t):e&&e.compareDocumentPosition&&_(t)?e===t||!!e.compareDocumentPosition(t):P(e,t)}:P;function I(e,t){if("undefined"===typeof window)return 0;var r=t?"scrollTop":"scrollLeft",a=e===window,n=a?e[t?"pageYOffset":"pageXOffset"]:e[r];return a&&"number"!==typeof n&&(n=document.documentElement[r]),n}function O(e,t){var r="x"===t?"Left":"Top",a="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+a+"Width"])}const N="undefined"!==typeof window&&"undefined"!==typeof document;var F=N&&!(!window.MSInputMethodContext||!document.documentMode),B=N&&/MSIE 10/.test(navigator.userAgent);function M(e){return 11===e?F:10===e?B:F||B}function L(e,t,r,a){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],M(10)?parseInt(r["offset"+e],10)+parseInt(a["margin"+("Height"===e?"Top":"Left")],10)+parseInt(a["margin"+("Height"===e?"Bottom":"Right")],10):0)}function U(e){var t={};try{if(M(10)){t=e.getBoundingClientRect();var r=I(e,!0),n=I(e);t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch(f){}var s,o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?function(e){var t=e.body,r=e.documentElement,a=getComputedStyle(r);return{height:L("Height",t,r,a),width:L("Width",t,r,a)}}(e.ownerDocument):{},d=i.width||e.clientWidth||o.right-o.left,c=i.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-d,u=e.offsetHeight-c;if(o.offsetLeft=e.offsetLeft||e.scrollLeft||0,o.offsetTop=e.offsetTop||e.offsetTop||0,l||u){var p=function(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}(e);l-=O(p,"x"),u-=O(p,"y"),o.width-=l,o.height-=u}return s=o,(0,a.A)({},s,{right:s.left+s.width,bottom:s.top+s.height})}function q(e){var t=e.getBoundingClientRect();return{width:e.offsetWidth||e.scrollWidth||t.width||0,height:e.offsetHeight||e.scrollHeight||t.height||0}}function W(e){var{trigger:t,popup:r,placement:n,usePortal:s,autoAdjustOverflow:o}=e||{},i={left:0,top:0,placement:n};if(!t||!r||!document)return i;var d=Math.max(document.documentElement.clientHeight,window.innerHeight||0),c=Math.max(document.documentElement.clientWidth,window.innerWidth||0);i.placement=n;var l=I(t.ownerDocument.documentElement,!0),u=I(t.ownerDocument.documentElement),p=(0,a.A)({},U(t),q(t)),f=(0,a.A)({},U(r),q(r)),g=d-p.bottom,m=c-p.left-p.width;switch(i.top=p.top+l,i.left=p.left,s||(i.top=p.offsetTop,i.left=p.offsetLeft),n&&/^(top)/.test(n)&&(i.top-=f.height),n&&/^(right)/.test(n)&&(i.left+=p.width),n&&/^(bottom)/.test(n)&&(i.top+=p.height),n&&/^(left)/.test(n)&&(i.left-=f.width),i.placement){case"bottomLeft":case"topLeft":case"rightTop":case"leftTop":default:break;case"bottom":case"top":i.left=i.left-(f.width-p.width)/2;break;case"bottomRight":case"topRight":i.left=i.left+u+p.width-f.width;break;case"right":case"left":i.top=i.top-(f.height-p.height)/2;break;case"rightBottom":case"leftBottom":i.top=i.top-f.height+p.height}return o&&(n&&/^(top)/.test(n)&&p.topf.height&&(i.placement=n.replace(/^top/,"bottom"),i.top=i.top+f.height+p.height),n&&/^(bottom)/.test(n)&&gf.height&&(i.placement=n.replace(/^bottom/,"top"),i.top=i.top-f.height-p.height),n&&/^(right)/.test(n)&&me&&"object"===typeof e?e:{show:e,hide:e};const G=s.forwardRef(((e,t)=>{var r,{className:i,prefixCls:d="w-overlay-trigger",usePortal:c=!0,isOutside:l=!1,isClickOutside:u=!0,disabled:p=!1,isOpen:f=!1,trigger:g="hover",placement:m="top",autoAdjustOverflow:h,transitionName:y,children:b,overlay:v,onVisibleChange:x=o,onEnter:R=o}=e,w=(0,n.A)(e,H),E=(0,s.useRef)(999),j=(0,s.useRef)(),S=(0,s.useRef)(),T=(0,s.useRef)([]),k=(0,s.useRef)(null),[P,_]=(0,s.useState)(!!e.isOpen),[I,O]=(0,s.useState)({placement:m,top:0,bottom:0,left:0,right:0,zIndex:E.current});(0,s.useImperativeHandle)(t,(()=>({hide:()=>K(),show:()=>Y(),overlayDom:S})));var N=s.Children.only(b),F=(0,a.A)({},w,{placement:m,isOpen:P,dialogProps:{}}),B={};(0,s.useEffect)((()=>(u&&P&&(document&&document.addEventListener("mousedown",L),window.addEventListener("resize",M)),()=>{document&&u&&document.removeEventListener("mousedown",L),window.removeEventListener("resize",M)})),[P]),(0,s.useEffect)((()=>{e.isOpen!==P&&_(!!e.isOpen)}),[e.isOpen]),(0,s.useEffect)((()=>{var e=W({placement:I.placement||m,trigger:j.current,popup:S.current,usePortal:c,autoAdjustOverflow:h});O((0,a.A)({},e,{zIndex:E.current})),x(P)}),[P]);var M=()=>{P&&(E.current-=1,_(!1),x&&x(!1))},L=e=>{var t=S.current,r=j.current;t&&r&&e.target&&!D(t,e.target)&&!D(r,e.target)&&(E.current-=1,_(!1),x&&x(!1))};function U(){if(T.current.length>0){for(var e of T.current)window.clearTimeout(e);T.current=[]}}function q(){var t;U(),k.current="show";var r=z(e.delay);if(r.show||null!=(t=e.children)&&t.props.disabled){var a=window.setTimeout((()=>{"show"===k.current&&Y()}),r.show);clearTimeout(a),T.current.push(a)}else Y()}function G(t){if(U(),t||!e.isOutside){k.current="hide";var r=z(e.delay);if(r.hide){var a=window.setTimeout((()=>{"hide"===k.current&&K()}),r.hide);T.current.push(a)}else K()}}function V(e,t,r){var a=t.currentTarget,n=t.relatedTarget||t.nativeEvent[r],s=!0;(S.current&&D(S.current,n)||j.current&&D(j.current,n))&&(s=!1),n&&n===a||D(a,n)||e(s,t)}function K(){P&&(E.current<=999?E.current=999:E.current-=1,_(!1))}function Y(){var e;if(!P){var t=null==(e=j.current)?void 0:e.style.zIndex;t?E.current=Number(t)+1:E.current+=1,_(!0)}}return"click"!==g||p||(B.onClick=e=>{var{onClick:t}=N&&s.isValidElement(N)?N.props:{};P?K():Y(),t&&t(e,!P)}),"focus"!==g||p||(B.onFocus=()=>q()),"hover"!==g||p||(B.onMouseOver=B.onMouseEnter=e=>{V(q,e,"fromElement")},B.onMouseOut=B.onMouseLeave=e=>{V(G,e,"toElement")},F.dialogProps&&(F.dialogProps.onMouseLeave=e=>{V(G,e,"toElement")})),F.style=(0,a.A)({},F.style,I),(0,A.jsxs)(s.Fragment,{children:[(0,s.cloneElement)(N,Object.assign({},N.props,(0,a.A)({},B,{ref:j,style:(0,a.A)({},null==(r=N.props)?void 0:r.style,{zIndex:E.current}),className:[N.props.className,p?d+"-disabled":null].filter(Boolean).join(" ").trim()}))),(0,A.jsx)(C,(0,a.A)({},F,{style:(0,a.A)({},F.style,I),onEnter:function(e,t){R&&R(e,t);var r=W({placement:I.placement||m,trigger:j.current,popup:S.current,usePortal:c,autoAdjustOverflow:h});O((0,a.A)({},r,{zIndex:E.current}))},className:[d,i,I.placement].filter(Boolean).join(" ").trim(),usePortal:c,transitionName:y,isOpen:P,hasBackdrop:!1,children:(0,s.cloneElement)(v,Object.assign((0,a.A)({},v.props,{ref:S,className:[v.props&&v.props.className,m].filter(Boolean).join(" ").trim()})))}))]})}));var V=["prefixCls","className","placement","isOpen","trigger","delay","usePortal","visibleArrow","onVisibleChange"];const K=function(e){void 0===e&&(e={});var{prefixCls:t="w-tooltip",className:r,placement:s="top",isOpen:o=!1,trigger:i,delay:d,usePortal:c=!0,visibleArrow:l=!0,onVisibleChange:u}=e,p=(0,n.A)(e,V),f=[t,r,l?null:"no-arrow"].filter(Boolean).join(" ").trim();return(0,A.jsx)(G,(0,a.A)({usePortal:c,isOpen:o,trigger:i,delay:d,onVisibleChange:u,placement:s},p,{overlay:(0,A.jsxs)("div",{className:f,children:[l&&(0,A.jsx)("div",{className:t+"-arrow"}),(0,A.jsx)("div",{className:t+"-inner",children:e.content})]}),children:"object"===typeof e.children?e.children:(0,A.jsx)("span",{children:e.children})}))}},4441:()=>{const e=document,t="_dark_mode_theme_",r="permanent",a="colorschemechange",n="light",s="dark",o=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get(){const e=this.getAttribute(t);return null===e?"":e},set(e){this.setAttribute(t,e)}})};class i extends HTMLElement{static get observedAttributes(){return["mode",n,s,r]}LOCAL_NANE=(()=>t)();constructor(){super(),this.t()}connectedCallback(){o(this,"mode"),o(this,s),o(this,n),function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,r,{enumerable:!0,get(){return this.hasAttribute(t)},set(e){e?this.setAttribute(t,""):this.removeAttribute(t)}})}(this,r);const i=localStorage.getItem(t);i&&[n,s].includes(i)&&(this.mode=i,this.permanent=!0),this.permanent&&!i&&localStorage.setItem(t,this.mode);const d=[n,s].includes(i);this.permanent&&i?this.o():(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(this.mode=s,this.o()),window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches&&(this.mode=n,this.o())),this.permanent||d||(window.matchMedia("(prefers-color-scheme: light)").onchange=e=>{this.mode=e.matches?n:s,this.o()},window.matchMedia("(prefers-color-scheme: dark)").onchange=e=>{this.mode=e.matches?s:n,this.o()});new MutationObserver(((r,n)=>{this.mode=e.documentElement.dataset.colorMode,this.permanent&&d&&(localStorage.setItem(t,this.mode),this.i("permanentcolorscheme",{permanent:this.permanent})),this.h(),this.i(a,{colorScheme:this.mode})})).observe(e.documentElement,{attributes:!0}),this.i(a,{colorScheme:this.mode}),this.h()}attributeChangedCallback(e,r,a){if("mode"===e&&r!==a&&[n,s].includes(a)){const e=localStorage.getItem(t);this.mode===e?(this.mode=a,this.h(),this.o()):this.mode&&this.mode!==e&&(this.h(),this.o())}else e!==n&&e!==s||r===a||this.h();"permanent"===e&&"boolean"===typeof this.permanent&&(this.permanent?localStorage.setItem(t,this.mode):localStorage.removeItem(t))}o(){e.documentElement.setAttribute("data-color-mode",this.mode)}h(){this.icon.textContent=this.mode===n?"\ud83c\udf12":"\ud83c\udf1e",this.text.textContent=this.mode===n?this.getAttribute(s):this.getAttribute(n),!this.text.textContent&&this.text.parentElement&&this.text&&this.text.parentElement.removeChild(this.text)}t(){var r=this.attachShadow({mode:"open"});this.label=e.createElement("span"),this.label.setAttribute("class","wrapper"),this.label.onclick=()=>{this.mode=this.mode===n?s:n,this.permanent&&localStorage.setItem(t,this.mode),this.o(),this.h()},r.appendChild(this.label),this.icon=e.createElement("span"),this.label.appendChild(this.icon),this.text=e.createElement("span"),this.label.appendChild(this.text);const a="_dark_mode_style_";if(!e.getElementById(a)){var o=e.createElement("style");o.id=a,o.textContent="\n[data-color-mode*='dark'], [data-color-mode*='dark'] body {\n color-scheme: dark;\n --color-theme-bg: #0d1117;\n --color-theme-text: #c9d1d9;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}\n\n[data-color-mode*='light'], [data-color-mode*='light'] body {\n color-scheme: light;\n --color-theme-bg: #fff;\n --color-theme-text: #24292f;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}",e.head.appendChild(o)}var i=e.createElement("style");i.textContent="\n .wrapper { cursor: pointer; user-select: none; position: relative; }\n .wrapper > span + span { margin-left: .4rem; }\n ",r.appendChild(i)}i(e,t){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}}customElements.define("dark-mode",i)},8108:(e,t)=>{"use strict";function r(e,t){return(Array.isArray(t)?t:[t]).some((function(t){return"string"===typeof t&&(t=new RegExp(t)),t.test(e||"")}))}},9050:(e,t)=>{"use strict"},144:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},1761:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},o=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var a,n=t.call(e,"constructor"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!s)return!1;for(a in e);return"undefined"===typeof a||t.call(e,a)},i=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},d=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(n)return n(e,r).value}return e[r]};e.exports=function e(){var t,r,a,n,c,l,u=arguments[0],p=1,f=arguments.length,g=!1;for("boolean"===typeof u&&(g=u,u=arguments[1]||{},p=2),(null==u||"object"!==typeof u&&"function"!==typeof u)&&(u={});p{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,d=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(d,c):c}e.exports=function(e,d){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];d=d||{};var u=1,p=1;function f(e){var t=e.match(r);t&&(u+=t.length);var a=e.lastIndexOf("\n");p=~a?e.length-a:p+e.length}function g(){var e={line:u,column:p};return function(t){return t.position=new m(e),v(),t}}function m(e){this.start=e,this.end={line:u,column:p},this.source=d.source}m.prototype.content=e;var h=[];function y(t){var r=new Error(d.source+":"+u+":"+p+": "+t);if(r.reason=t,r.filename=d.source,r.line=u,r.column=p,r.source=e,!d.silent)throw r;h.push(r)}function b(t){var r=t.exec(e);if(r){var a=r[0];return f(a),e=e.slice(a.length),r}}function v(){b(a)}function x(e){var t;for(e=e||[];t=R();)!1!==t&&e.push(t);return e}function R(){var t=g();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;c!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,c===e.charAt(r-1))return y("End of comment missing");var a=e.slice(2,r-2);return p+=2,f(a),e=e.slice(r),p+=2,t({type:"comment",comment:a})}}function w(){var e=g(),r=b(n);if(r){if(R(),!b(s))return y("property missing ':'");var a=b(o),d=e({type:"declaration",property:l(r[0].replace(t,c)),value:a?l(a[0].replace(t,c)):c});return b(i),d}}return v(),function(){var e,t=[];for(x(t);e=w();)!1!==e&&(t.push(e),x(t));return t}()}},3670:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},9386:(e,t)=>{function r(e){let t,r=[];for(let a of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(a))r.push(parseInt(a,10));else if(t=a.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,a,n,s]=t;if(a&&s){a=parseInt(a),s=parseInt(s);const e=a{var t,r,a=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===n||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:n}catch(e){t=n}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var i,d=[],c=!1,l=-1;function u(){c&&i&&(c=!1,i.length?d=i.concat(d):l=-1,d.length&&p())}function p(){if(!c){var e=o(u);c=!0;for(var t=d.length;t;){for(i=d,d=[];++l1)for(var r=1;r{"use strict";e.exports=function(e){var t=this;this.Compiler=function(r){return a(r,Object.assign({},t.data("settings"),e,{extensions:t.data("toMarkdownExtensions")||[]}))}};var a=r(7503)},4014:e=>{"use strict";e.exports=function(e,t){var r,a,n=0,s=0;if("string"!==typeof t||1!==t.length)throw new Error("Expected character");e=String(e),a=e.indexOf(t),r=a;for(;-1!==a;)n++,a===r?n>s&&(s=n):n=1,r=a+1,a=e.indexOf(t,r);return s}},7503:(e,t,r)=>{e.exports=r(4127)},3927:e=>{e.exports=function e(t,r){var a,n=-1;if(r.extensions)for(;++n{e.exports=function(e,t,r){var o=r.enter("blockquote"),i=n(a(e,r),s);return o(),i};var a=r(9960),n=r(6242);function s(e,t,r){return">"+(r?"":" ")+e}},5301:(e,t,r)=>{e.exports=function(e,t,r,n){var s=-1;for(;++s{e.exports=function(e,t,r){var l,u,p,f,g=o(r),m=e.value||"",h="`"===g?"GraveAccent":"Tilde";s(e,r)?(p=r.enter("codeIndented"),l=i(m,c)):(u=a(g,Math.max(n(m,g)+1,3)),p=r.enter("codeFenced"),l=u,e.lang&&(f=r.enter("codeFencedLang"+h),l+=d(r,e.lang,{before:"`",after:" ",encode:["`"]}),f()),e.lang&&e.meta&&(f=r.enter("codeFencedMeta"+h),l+=" "+d(r,e.meta,{before:" ",after:"\n",encode:["`"]}),f()),l+="\n",m&&(l+=m+"\n"),l+=u);return p(),l};var a=r(6040),n=r(4014),s=r(3342),o=r(7156),i=r(6242),d=r(8671);function c(e,t,r){return(r?"":" ")+e}},6141:(e,t,r)=>{e.exports=function(e,t,r){var o=n(r),i='"'===o?"Quote":"Apostrophe",d=r.enter("definition"),c=r.enter("label"),l="["+s(r,a(e),{before:"[",after:"]"})+"]: ";c(),!e.url||/[ \t\r\n]/.test(e.url)?(c=r.enter("destinationLiteral"),l+="<"+s(r,e.url,{before:"<",after:">"})+">"):(c=r.enter("destinationRaw"),l+=s(r,e.url,{before:" ",after:" "}));c(),e.title&&(c=r.enter("title"+i),l+=" "+o+s(r,e.title,{before:o,after:o})+o,c());return d(),l};var a=r(6755),n=r(1989),s=r(8671)},6490:(e,t,r)=>{e.exports=s,s.peek=function(e,t,r){return r.options.emphasis||"*"};var a=r(6451),n=r(4046);function s(e,t,r){var s=a(r),o=r.enter("emphasis"),i=n(e,r,{before:s,after:s});return o(),s+i+s}},1384:(e,t,r)=>{e.exports=function(e,t,r){var o,i,d,c,l=Math.max(Math.min(6,e.depth||1),1);if(n(e,r))return o=r.enter("headingSetext"),i=r.enter("phrasing"),d=s(e,r,{before:"\n",after:"\n"}),i(),o(),d+"\n"+a(1===l?"=":"-",d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf("\n"))+1));c=a("#",l),o=r.enter("headingAtx"),i=r.enter("phrasing"),d=(d=s(e,r,{before:"# ",after:"\n"}))?c+" "+d:c,r.options.closeAtx&&(d+=" "+c);return i(),o(),d};var a=r(6040),n=r(723),s=r(4046)},3437:e=>{function t(e){return e.value||""}e.exports=t,t.peek=function(){return"<"}},6951:(e,t,r)=>{e.exports=s,s.peek=function(){return"!"};var a=r(6755),n=r(8671);function s(e,t,r){var s,o,i=e.referenceType,d=r.enter("imageReference"),c=r.enter("label"),l=n(r,e.alt,{before:"[",after:"]"}),u="!["+l+"]";return c(),o=r.stack,r.stack=[],c=r.enter("reference"),s=n(r,a(e),{before:"[",after:"]"}),c(),r.stack=o,d(),"full"!==i&&l&&l===s?"shortcut"!==i&&(u+="[]"):u+="["+s+"]",u}},3179:(e,t,r)=>{e.exports=s,s.peek=function(){return"!"};var a=r(1989),n=r(8671);function s(e,t,r){var s=a(r),o='"'===s?"Quote":"Apostrophe",i=r.enter("image"),d=r.enter("label"),c="!["+n(r,e.alt,{before:"[",after:"]"})+"](";return d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),c+="<"+n(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),c+=n(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+o),c+=" "+s+n(r,e.title,{before:s,after:s})+s,d()),c+=")",i(),c}},6438:(e,t,r)=>{t.blockquote=r(2939),t.break=r(5301),t.code=r(1873),t.definition=r(6141),t.emphasis=r(6490),t.hardBreak=r(5301),t.heading=r(1384),t.html=r(3437),t.image=r(3179),t.imageReference=r(6951),t.inlineCode=r(1951),t.link=r(6296),t.linkReference=r(1220),t.list=r(8948),t.listItem=r(4246),t.paragraph=r(8336),t.root=r(4368),t.strong=r(2855),t.text=r(6847),t.thematicBreak=r(6749)},1951:(e,t,r)=>{e.exports=n,n.peek=function(){return"`"};var a=r(4186);function n(e,t,r){for(var n,s,o,i,d=e.value||"",c="`",l=-1;new RegExp("(^|[^`])"+c+"([^`]|$)").test(d);)c+="`";for(/[^ \r\n]/.test(d)&&(/[ \r\n`]/.test(d.charAt(0))||/[ \r\n`]/.test(d.charAt(d.length-1)))&&(d=" "+d+" ");++l{e.exports=o,o.peek=function(){return"["};var a=r(6755),n=r(4046),s=r(8671);function o(e,t,r){var o,i,d=e.referenceType,c=r.enter("linkReference"),l=r.enter("label"),u=n(e,r,{before:"[",after:"]"}),p="["+u+"]";return l(),i=r.stack,r.stack=[],l=r.enter("reference"),o=s(r,a(e),{before:"[",after:"]"}),l(),r.stack=i,c(),"full"!==d&&u&&u===o?"shortcut"!==d&&(p+="[]"):p+="["+o+"]",p}},6296:(e,t,r)=>{e.exports=i,i.peek=function(e,t,r){return n(e,r)?"<":"["};var a=r(1989),n=r(1455),s=r(4046),o=r(8671);function i(e,t,r){var i,d,c,l,u=a(r),p='"'===u?"Quote":"Apostrophe";return n(e,r)?(l=r.stack,r.stack=[],i=r.enter("autolink"),c="<"+s(e,r,{before:"<",after:">"})+">",i(),r.stack=l,c):(i=r.enter("link"),d=r.enter("label"),c="["+s(e,r,{before:"[",after:"]"})+"](",d(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(d=r.enter("destinationLiteral"),c+="<"+o(r,e.url,{before:"<",after:">"})+">"):(d=r.enter("destinationRaw"),c+=o(r,e.url,{before:"(",after:e.title?" ":")"})),d(),e.title&&(d=r.enter("title"+p),c+=" "+u+o(r,e.title,{before:u,after:u})+u,d()),c+=")",i(),c)}},4246:(e,t,r)=>{e.exports=function(e,t,r){var d,c,l,u=n(r),p=s(r);t&&t.ordered&&(u=(t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+".");d=u.length+1,("tab"===p||"mixed"===p&&(t&&t.spread||e.spread))&&(d=4*Math.ceil(d/4));return l=r.enter("listItem"),c=i(o(e,r),(function(e,t,r){if(t)return(r?"":a(" ",d))+e;return(r?u:u+a(" ",d-u.length))+e})),l(),c};var a=r(6040),n=r(6261),s=r(9972),o=r(9960),i=r(6242)},8948:(e,t,r)=>{e.exports=function(e,t,r){var n=r.enter("list"),s=a(e,r);return n(),s};var a=r(9960)},8336:(e,t,r)=>{e.exports=function(e,t,r){var n=r.enter("paragraph"),s=r.enter("phrasing"),o=a(e,r,{before:"\n",after:"\n"});return s(),n(),o};var a=r(4046)},4368:(e,t,r)=>{e.exports=function(e,t,r){return a(e,r)};var a=r(9960)},2855:(e,t,r)=>{e.exports=s,s.peek=function(e,t,r){return r.options.strong||"*"};var a=r(3298),n=r(4046);function s(e,t,r){var s=a(r),o=r.enter("strong"),i=n(e,r,{before:s,after:s});return o(),s+s+i+s+s}},6847:(e,t,r)=>{e.exports=function(e,t,r,n){return a(r,e.value,n)};var a=r(8671)},6749:(e,t,r)=>{e.exports=function(e,t,r){var o=a(s(r)+(r.options.ruleSpaces?" ":""),n(r));return r.options.ruleSpaces?o.slice(0,-1):o};var a=r(6040),n=r(3516),s=r(2647)},4127:(e,t,r)=>{e.exports=function(e,t){var r,u=t||{},p={enter:function(e){return p.stack.push(e),t;function t(){p.stack.pop()}},stack:[],unsafe:[],join:[],handlers:{},options:{}};n(p,{unsafe:i,join:o,handlers:s}),n(p,u),p.options.tightDefinitions&&(p.join=[l].concat(p.join));p.handle=a("type",{invalid:d,unknown:c,handlers:p.handlers}),(r=p.handle(e,null,p,{before:"\n",after:"\n"}))&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n");return r};var a=r(5040),n=r(3927),s=r(6438),o=r(1131),i=r(341);function d(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function c(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function l(e,t){if("definition"===e.type&&e.type===t.type)return 0}},1131:(e,t,r)=>{e.exports=[function(e,t,r,s){if("list"===t.type&&t.type===e.type&&Boolean(e.ordered)===Boolean(t.ordered)||"code"===t.type&&a(t,s)&&("list"===e.type||e.type===t.type&&a(e,s)))return!1;if("boolean"===typeof r.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&n(t,s)))return;return r.spread?1:0}}];var a=r(3342),n=r(723)},341:e=>{e.exports=[{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing"},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing"},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*"},{character:"*",inConstruct:"phrasing"},{atBreak:!0,character:"+"},{atBreak:!0,character:"-"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing"},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:["phrasing","label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{before:"[^A-Za-z]",character:"_",inConstruct:"phrasing"},{character:"_",after:"[^A-Za-z]",inConstruct:"phrasing"},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent","phrasing"]},{atBreak:!0,character:"~"}]},6755:(e,t,r)=>{e.exports=function(e){if(e.label||!e.identifier)return e.label||"";return e.identifier.replace(n,"$1").replace(s,o)};var a=r(8976),n=/\\([!-/:-@[-`{-~])/g,s=/&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function o(e,t){return a(t)||e}},6261:e=>{e.exports=function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},6451:e=>{e.exports=function(e){var t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}},7156:e=>{e.exports=function(e){var t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}},9972:e=>{e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},1989:e=>{e.exports=function(e){var t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}},3516:e=>{e.exports=function(e){var t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}},2647:e=>{e.exports=function(e){var t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}},3298:e=>{e.exports=function(e){var t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}},9960:(e,t,r)=>{e.exports=function(e,t){var r,n=e.children||[],s=[],o=-1;for(;++o{e.exports=function(e,t,r){var a,n,s,o=e.children||[],i=[],d=-1,c=r.before;for(;++d0&&("\r"===c||"\n"===c)&&"html"===s.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),c=" "),i.push(t.handle(s,e,t,{before:c,after:a})),c=i[i.length-1].slice(-1);return i.join("")}},3342:e=>{e.exports=function(e,t){return!t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)}},723:(e,t,r)=>{e.exports=function(e,t){return t.options.setext&&(!e.depth||e.depth<3)&&a(e)};var a=r(6619)},1455:(e,t,r)=>{e.exports=function(e,t){var r=a(e);return!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url)};var a=r(6619)},6242:e=>{e.exports=function(e,r){var a,n=[],s=0,o=0;for(;a=t.exec(e);)i(e.slice(s,a.index)),n.push(a[0]),s=a.index+a[0].length,o++;return i(e.slice(s)),n.join("");function i(e){n.push(r(e,o,!e))}};var t=/\r?\n|\r/g},4186:e=>{e.exports=function(e){var t,r;e._compiled||(t=e.before?"(?:"+e.before+")":"",r=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(r||""),"g"));return e._compiled}},9753:e=>{function t(e,t,r){var a;if(!t)return r;for("string"===typeof t&&(t=[t]),a=-1;++a{e.exports=function(e,t,r){var i,d,c,l,u,p,f,g,m=(r.before||"")+(t||"")+(r.after||""),h=[],y=[],b={},v=-1;for(;++v=g||c+1{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&r(e.children)||"length"in e&&r(e))||""}function r(e){for(var r=[],a=-1;++a{"use strict";var t;e.exports=function(e){var r,a="&"+e+";";if((t=t||document.createElement("i")).innerHTML=a,59===(r=t.textContent).charCodeAt(r.length-1)&&"semi"!==e)return!1;return r!==a&&r}},5040:e=>{"use strict";e.exports=function(e,a){var n=a||{};function s(a){var n=s.invalid,o=s.handlers;return a&&r.call(a,e)&&(n=r.call(o,a[e])?o[a[e]]:s.unknown),(n||t).apply(this,arguments)}return s.handlers=n.handlers||{},s.invalid=n.invalid,s.unknown=n.unknown,s};var t=Function.prototype,r={}.hasOwnProperty},3521:(e,t,r)=>{"use strict";var a=r(8617),n=r(2155),s=r(4957);e.exports=a().use(n).use(s).freeze()},6157:e=>{"use strict";e.exports=function(e){if(e)throw e}},9580:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},5117:(e,t,r)=>{"use strict";e.exports=function(e,t,r){"string"!==typeof t&&(r=t,t=void 0);return function(e){var t=e||{},r=function(e,t){var r=-1;for(;++r-1&&(B.call(this,e),M.call(this,e))}function U(){g("atHardBreak",!0)}function q(){var e=this.resume();this.stack[this.stack.length-1].value=e}function W(){var e=this.resume();this.stack[this.stack.length-1].value=e}function H(){var e=this.resume();this.stack[this.stack.length-1].value=e}function z(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function G(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function V(e){this.stack[this.stack.length-2].identifier=o(this.sliceSerialize(e)).toLowerCase()}function K(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,g("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function Y(){var e=this.resume();this.stack[this.stack.length-1].url=e}function J(){var e=this.resume();this.stack[this.stack.length-1].title=e}function X(){g("inReference")}function $(){g("referenceType","collapsed")}function Q(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=o(this.sliceSerialize(e)).toLowerCase(),g("referenceType","full")}function Z(e){g("characterReferenceType",e.type)}function ee(e){var t,r,a=this.sliceSerialize(e),n=m("characterReferenceType");n?(t=i(a,"characterReferenceMarkerNumeric"===n?10:16),g("characterReferenceType")):t=u(a),(r=this.stack.pop()).value+=t,r.position.end=h(e.end)}function te(e){M.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function re(e){M.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function ae(){return{type:"blockquote",children:[]}}function ne(){return{type:"code",lang:null,meta:null,value:""}}function se(){return{type:"inlineCode",value:""}}function oe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ie(){return{type:"emphasis",children:[]}}function de(){return{type:"heading",depth:void 0,children:[]}}function ce(){return{type:"break"}}function le(){return{type:"html",value:""}}function ue(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function fe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ge(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function he(){return{type:"strong",children:[]}}function ye(){return{type:"text",value:""}}function be(){return{type:"thematicBreak"}}}(r)(l(d(r).document().write(c()(e,t,!0))))};var a=r(439),n=r(3175),s=r(4915),o=r(8419),i=r(7012),d=r(1140),c=r(2961),l=r(1188),u=r(1580),p=r(3215);function f(e,t){var r,a;for(r in t)a=s.call(e,r)?e[r]:e[r]={},"canContainEols"===r||"transforms"===r?e[r]=[].concat(a,t[r]):Object.assign(a,t[r])}},1900:(e,t,r)=>{"use strict";e.exports=r(5117)},439:e=>{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&r(e.children)||"length"in e&&r(e))||""}function r(e){for(var r=[],a=-1;++a{"use strict";var t;e.exports=function(e){var r,a="&"+e+";";if((t=t||document.createElement("i")).innerHTML=a,59===(r=t.textContent).charCodeAt(r.length-1)&&"semi"!==e)return!1;return r!==a&&r}},2155:(e,t,r)=>{"use strict";e.exports=function(e){var t=this;this.Parser=function(r){return a(r,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var a=r(1900)},8952:(e,t,r)=>{"use strict";var a=r(7222);e.exports=s,s.wrap=a;var n=[].slice;function s(){var e=[],t={run:function(){var t=-1,r=n.call(arguments,0,-1),s=arguments[arguments.length-1];if("function"!==typeof s)throw new Error("Expected function as last argument, not "+s);(function o(i){var d=e[++t],c=n.call(arguments,0).slice(1),l=r.length,u=-1;if(i)s(i);else{for(;++u{"use strict";var t=[].slice;e.exports=function(e,r){var a;return function(){var r,o=t.call(arguments,0),i=e.length>o.length;i&&o.push(n);try{r=e.apply(null,o)}catch(d){if(i&&a)throw d;return n(d)}i||(r&&"function"===typeof r.then?r.then(s,n):r instanceof Error?n(r):s(r))};function n(){a||(a=!0,r.apply(null,arguments))}function s(e){n(null,e)}}},8617:(e,t,r)=>{"use strict";var a=r(6157),n=r(3670),s=r(1761),o=r(9580),i=r(8952),d=r(2063);e.exports=function e(){var t,r=[],n=i(),b={},v=-1;return x.data=function(e,r){if("string"===typeof e)return 2===arguments.length?(m("data",t),b[e]=r,x):l.call(b,e)&&b[e]||null;if(e)return m("data",t),b=e,x;return b},x.freeze=R,x.attachers=r,x.use=function(e){var a;if(m("use",t),null===e||void 0===e);else if("function"===typeof e)l.apply(null,arguments);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?d(e):n(e)}a&&(b.settings=s(b.settings||{},a));return x;function n(e){d(e.plugins),e.settings&&(a=s(a||{},e.settings))}function i(e){if("function"===typeof e)l(e);else{if("object"!==typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?l.apply(null,e):n(e)}}function d(e){var t=-1;if(null===e||void 0===e);else{if("object"!==typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t{"use strict";var t={}.hasOwnProperty;function r(e){return e&&"object"===typeof e||(e={}),n(e.line)+":"+n(e.column)}function a(e){return e&&"object"===typeof e||(e={}),r(e.start)+"-"+r(e.end)}function n(e){return e&&"number"===typeof e?e:1}e.exports=function(e){if(!e||"object"!==typeof e)return"";if(t.call(e,"position")||t.call(e,"type"))return a(e.position);if(t.call(e,"start")||t.call(e,"end"))return a(e);if(t.call(e,"line")||t.call(e,"column"))return r(e);return""}},4449:(e,t,r)=>{"use strict";var a=r(3215);function n(){}e.exports=o,n.prototype=Error.prototype,o.prototype=new n;var s=o.prototype;function o(e,t,r){var n,s,o;"string"===typeof t&&(r=t,t=null),n=function(e){var t,r=[null,null];"string"===typeof e&&(-1===(t=e.indexOf(":"))?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1)));return r}(r),s=a(t)||"1:1",o={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(o=t,t=t.start):o.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=s,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=o,this.source=n[0],this.ruleId=n[1]}s.file="",s.name="",s.reason="",s.message="",s.stack="",s.fatal=null,s.column=null,s.line=null},2063:(e,t,r)=>{"use strict";e.exports=r(207)},2088:(e,t,r)=>{"use strict";var a=r(7986),n=r(5657),s=r(3670);e.exports=d;var o={}.hasOwnProperty,i=["history","path","basename","stem","extname","dirname"];function d(e){var t,r;if(e){if("string"===typeof e||s(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof d))return new d(e);for(this.data={},this.messages=[],this.history=[],this.cwd=n.cwd(),r=-1;++r-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+a.sep+"`")}function l(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function u(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}d.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(d.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){l(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(d.prototype,"dirname",{get:function(){return"string"===typeof this.path?a.dirname(this.path):void 0},set:function(e){u(this.path,"dirname"),this.path=a.join(e||"",this.basename)}}),Object.defineProperty(d.prototype,"basename",{get:function(){return"string"===typeof this.path?a.basename(this.path):void 0},set:function(e){l(e,"basename"),c(e,"basename"),this.path=a.join(this.dirname||"",e)}}),Object.defineProperty(d.prototype,"extname",{get:function(){return"string"===typeof this.path?a.extname(this.path):void 0},set:function(e){if(c(e,"extname"),u(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=a.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(d.prototype,"stem",{get:function(){return"string"===typeof this.path?a.basename(this.path,this.extname):void 0},set:function(e){l(e,"stem"),c(e,"stem"),this.path=a.join(this.dirname||"",e+(this.extname||""))}})},207:(e,t,r)=>{"use strict";var a=r(4449),n=r(2088);e.exports=n,n.prototype.message=function(e,t,r){var n=new a(e,t,r);this.path&&(n.name=this.path+":"+n.name,n.file=this.path);return n.fatal=!1,this.messages.push(n),n},n.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},n.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},7986:(e,t)=>{"use strict";function r(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var a,n,s,o,i=0,d=-1;if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');if(r(e),a=e.length,void 0===t||!t.length||t.length>e.length){for(;a--;)if(47===e.charCodeAt(a)){if(s){i=a+1;break}}else d<0&&(s=!0,d=a+1);return d<0?"":e.slice(i,d)}if(t===e)return"";n=-1,o=t.length-1;for(;a--;)if(47===e.charCodeAt(a)){if(s){i=a+1;break}}else n<0&&(s=!0,n=a+1),o>-1&&(e.charCodeAt(a)===t.charCodeAt(o--)?o<0&&(d=a):(o=-1,d=n));i===d?d=n:d<0&&(d=e.length);return e.slice(i,d)},t.dirname=function(e){var t,a,n;if(r(e),!e.length)return".";t=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(a){t=n;break}}else a||(a=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,a,n,s=-1,o=0,i=-1,d=0;r(e),n=e.length;for(;n--;)if(47!==(a=e.charCodeAt(n)))i<0&&(t=!0,i=n+1),46===a?s<0?s=n:1!==d&&(d=1):s>-1&&(d=-1);else if(t){o=n+1;break}if(s<0||i<0||0===d||1===d&&s===i-1&&s===o+1)return"";return e.slice(s,i)},t.join=function(){var e,t=-1;for(;++t2){if((a=n.lastIndexOf("/"))!==n.length-1){a<0?(n="",s=0):s=(n=n.slice(0,a)).length-1-n.lastIndexOf("/"),o=d,i=0;continue}}else if(n.length){n="",s=0,o=d,i=0;continue}t&&(n=n.length?n+"/..":"..",s=2)}else n.length?n+="/"+e.slice(o+1,d):n=e.slice(o+1,d),s=d-o-1;o=d,i=0}else 46===r&&i>-1?i++:i=-1}return n}(e,!t),a.length||t||(a=".");a.length&&47===e.charCodeAt(e.length-1)&&(a+="/");return t?"/"+a:a}(e)},t.sep="/"},5657:(e,t)=>{"use strict";t.cwd=function(){return"/"}},6040:e=>{"use strict";var t,r="";e.exports=function(e,a){if("string"!==typeof e)throw new TypeError("expected a string");if(1===a)return e;if(2===a)return e+e;var n=e.length*a;if(t!==e||"undefined"===typeof t)t=e,r="";else if(r.length>=n)return r.substr(0,n);for(;n>r.length&&a>1;)1&a&&(r+=e),a>>=1,e+=e;return r=(r+=e).substr(0,n)}},1863:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0>>1,n=e[a];if(!(0>>1;as(d,r))cs(l,d)?(e[a]=l,e[c]=r,a=c):(e[a]=d,e[i]=r,a=i);else{if(!(cs(l,r)))break e;e[a]=l,e[c]=r,a=c}}}return t}function s(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var i=Date,d=i.now();t.unstable_now=function(){return i.now()-d}}var c=[],l=[],u=1,p=null,f=3,g=!1,m=!1,h=!1,y="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,v="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=a(l);null!==t;){if(null===t.callback)n(l);else{if(!(t.startTime<=e))break;n(l),t.sortIndex=t.expirationTime,r(c,t)}t=a(l)}}function R(e){if(h=!1,x(e),!m)if(null!==a(c))m=!0,I(w);else{var t=a(l);null!==t&&O(R,t.startTime-e)}}function w(e,r){m=!1,h&&(h=!1,b(T),T=-1),g=!0;var s=f;try{for(x(r),p=a(c);null!==p&&(!(p.expirationTime>r)||e&&!C());){var o=p.callback;if("function"===typeof o){p.callback=null,f=p.priorityLevel;var i=o(p.expirationTime<=r);r=t.unstable_now(),"function"===typeof i?p.callback=i:p===a(c)&&n(c),x(r)}else n(c);p=a(c)}if(null!==p)var d=!0;else{var u=a(l);null!==u&&O(R,u.startTime-r),d=!1}return d}finally{p=null,f=s,g=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,j=!1,S=null,T=-1,A=5,k=-1;function C(){return!(t.unstable_now()-ke||125o?(e.sortIndex=s,r(l,e),null===a(c)&&e===a(l)&&(h?(b(T),T=-1):h=!0,O(R,s-o))):(e.sortIndex=i,r(c,e),m||g||(m=!0,I(w))),e},t.unstable_shouldYield=C,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},7710:(e,t,r)=>{"use strict";e.exports=r(1863)},3569:e=>{e.exports=function(e,t,r,a){var n=r?r.call(a,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var s=Object.keys(e),o=Object.keys(t);if(s.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),d=0;de.length)&&(t=e.length);for(var r=0,a=Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j(e,t)}function m(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function y(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function b(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,s,o,i=[],d=!0,c=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;d=!1}else for(;!(d=(a=s.call(r)).done)&&(i.push(a.value),i.length!==t);d=!0);}catch(e){c=!0,n=e}finally{try{if(!d&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw n}}return i}}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(null==e)return{};var r,a,n=w(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0;--s){var o=this.tryEntries[s],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var d=a.call(o,"catchLoc"),c=a.call(o,"finallyLoc");if(d&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;P(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,a){return this.delegate={iterator:D(t),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=e),h}},t}function j(e,t){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(e,t)}function S(e,t){return s(e)||b(e,t)||P(e,t)||v()}function T(e,t){return t||(t=e.slice(0)),e.raw=t,e}function A(e){return o(e)||y(e)||P(e)||x()}function k(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function C(e){var t=k(e,"string");return"symbol"==typeof t?t:t+""}function P(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function _(e){var t="function"==typeof Map?new Map:void 0;return _=function(e){if(null===e||!m(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return c(e,arguments,f(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),j(r,e)},_(e)}var D="undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{};function I(){throw new Error("setTimeout has not been defined")}function O(){throw new Error("clearTimeout has not been defined")}var N=I,F=O;function B(e){if(N===setTimeout)return setTimeout(e,0);if((N===I||!N)&&setTimeout)return N=setTimeout,setTimeout(e,0);try{return N(e,0)}catch(t){try{return N.call(null,e,0)}catch(t){return N.call(this,e,0)}}}function M(e){if(F===clearTimeout)return clearTimeout(e);if((F===O||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(e);try{return F(e)}catch(t){try{return F.call(null,e)}catch(t){return F.call(this,e)}}}"function"===typeof D.setTimeout&&(N=setTimeout),"function"===typeof D.clearTimeout&&(F=clearTimeout);var L,U=[],q=!1,W=-1;function H(){q&&L&&(q=!1,L.length?U=L.concat(U):W=-1,U.length&&z())}function z(){if(!q){var e=B(H);q=!0;for(var t=U.length;t;){for(L=U,U=[];++W1)for(var r=1;rn.length)return!1;for(var o=0,i=s.length-1;oe)return!1;if((r+=t[a+1])>=e)return!0}return!1}function vo(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&go.test(String.fromCharCode(e)):bo(e,ho)))}function xo(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&mo.test(String.fromCharCode(e)):bo(e,ho)||bo(e,yo))))}function Ro(e){for(var t=!0,r=0;r=48&&e<=57},Io={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Oo={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function No(e,t,r,a,n,s){for(var o=r,i=a,d=n,c="",l=null,u=r,p=t.length;;){if(r>=p){s.unterminated(o,i,d),c+=t.slice(u,r);break}var f=t.charCodeAt(r);if(Fo(e,f,t,r)){c+=t.slice(u,r);break}if(92===f){c+=t.slice(u,r);var g=Bo(t,r,a,n,"template"===e,s);null!==g.ch||l?c+=g.ch:l={pos:r,lineStart:a,curLine:n},r=g.pos,a=g.lineStart,n=g.curLine,u=r}else 8232===f||8233===f?(++n,a=++r):10===f||13===f?"template"===e?(c+=t.slice(u,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,u=a=r):s.unterminated(o,i,d):++r}return{pos:r,str:c,firstInvalidLoc:l,lineStart:a,curLine:n,containsInvalid:!!l}}function Fo(e,t,r,a){return"template"===e?96===t||36===t&&123===r.charCodeAt(a+1):t===("double"===e?34:39)}function Bo(e,t,r,a,n,s){var o=!n;t++;var i=function(e){return{pos:t,ch:e,lineStart:r,curLine:a}},d=e.charCodeAt(t++);switch(d){case 110:return i("\n");case 114:return i("\r");case 120:var c,l=Mo(e,t,r,a,2,!1,o,s);return c=l.code,t=l.pos,i(null===c?null:String.fromCharCode(c));case 117:var u,p=Uo(e,t,r,a,o,s);return u=p.code,t=p.pos,i(null===u?null:String.fromCodePoint(u));case 116:return i("\t");case 98:return i("\b");case 118:return i("\v");case 102:return i("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return i("");case 56:case 57:if(n)return i(null);s.strictNumericEscape(t-1,r,a);default:if(d>=48&&d<=55){var f=t-1,g=/^[0-7]+/.exec(e.slice(f,t+2))[0],m=parseInt(g,8);m>255&&(g=g.slice(0,-1),m=parseInt(g,8)),t+=g.length-1;var h=e.charCodeAt(t);if("0"!==g||56===h||57===h){if(n)return i(null);s.strictNumericEscape(f,r,a)}return i(String.fromCharCode(m))}return i(String.fromCharCode(d))}}function Mo(e,t,r,a,n,s,o,i){var d,c=t,l=Lo(e,t,r,a,16,n,s,!1,i,!o);return d=l.n,t=l.pos,null===d&&(o?i.invalidEscapeSequence(c,r,a):t=c-1),{code:d,pos:t}}function Lo(e,t,r,a,n,s,o,i,d,c){for(var l=t,u=16===n?Io.hex:Io.decBinOct,p=16===n?Oo.hex:10===n?Oo.dec:8===n?Oo.oct:Oo.bin,f=!1,g=0,m=0,h=null==s?1/0:s;m=97?y-97+10:y>=65?y-65+10:Do(y)?y-48:1/0)>=n){if(b<=9&&c)return{n:null,pos:t};if(b<=9&&d.invalidDigit(t,r,a,n))b=0;else{if(!o)break;b=0,f=!0}}++t,g=g*n+b}else{var v=e.charCodeAt(t-1),x=e.charCodeAt(t+1);if(i){if(Number.isNaN(x)||!p(x)||u.has(v)||u.has(x)){if(c)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,a)}}else{if(c)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,a)}++t}}return t===l||null!=s&&t-l!==s||f?{n:null,pos:t}:{n:g,pos:t}}function Uo(e,t,r,a,n,s){var o;if(123===e.charCodeAt(t)){var i=Mo(e,++t,r,a,e.indexOf("}",t)-t,!0,n,s);if(o=i.code,t=i.pos,++t,null!==o&&o>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else{var d=Mo(e,t,r,a,4,!1,n,s);o=d.code,t=d.pos}return{code:o,pos:t}}var qo=["consequent","body","alternate"],Wo=["body","expressions"],Ho=["left","init"],zo=["leadingComments","trailingComments","innerComments"],Go=["||","&&","??"],Vo=["++","--"],Ko=[">","<",">=","<="],Yo=["==","===","!=","!=="],Jo=[].concat(Yo,["in","instanceof"]),Xo=[].concat(A(Jo),Ko),$o=["-","/","%","*","**","&","|",">>",">>>","<<","^"],Qo=["+"].concat($o,A(Xo),["|>"]),Zo=["=","+="].concat(A($o.map((function(e){return e+"="}))),A(Go.map((function(e){return e+"="})))),ei=["delete","!"],ti=["+","-","~"],ri=["typeof"],ai=["void","throw"].concat(ei,ti,ri),ni={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},si=Symbol.for("var used to be block scoped"),oi=Symbol.for("should not be considered a local binding"),ii={},di={},ci={},li={},ui={},pi={},fi={};function gi(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function mi(e){return{validate:e}}function hi(){return mi(ji.apply(void 0,arguments))}function yi(e){return{validate:e,optional:!0}}function bi(){return{validate:ji.apply(void 0,arguments),optional:!0}}function vi(e){return Ci(Ti("array"),wi(e))}function xi(){return vi(ji.apply(void 0,arguments))}function Ri(){return mi(xi.apply(void 0,arguments))}function wi(e){var t=ve.env.BABEL_TYPES_8_BREAKING?yd:function(){};function r(r,a,n){if(Array.isArray(n))for(var s=0;s=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return a}var Pi=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),_i=new Set(["default","optional","deprecated","validate"]),Di={};function Ii(){for(var e=arguments.length,t=new Array(e),r=0;r0:d&&"object"===typeof d)throw new Error("field defaults can only be primitives or empty arrays currently");a[o]={default:Array.isArray(d)?[]:d,optional:i.optional,deprecated:i.deprecated,validate:i.validate}}for(var c=t.visitor||r.visitor||[],l=t.aliases||r.aliases||[],u=t.builder||r.builder||t.visitor||[],f=0,g=Object.keys(t);f+s+1)throw new TypeError("RestElement must be last element of "+n)}:void 0}),Ni("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:ji("Expression"),optional:!0}}}),Ni("SequenceExpression",{visitor:["expressions"],fields:{expressions:Ri("Expression")},aliases:["Expression"]}),Ni("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:ji("Expression")}}}),Ni("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:ji("Expression"),optional:!0},consequent:Ri("Statement")}}),Ni("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:ji("Expression")},cases:Ri("SwitchCase")}}),Ni("ThisExpression",{aliases:["Expression"]}),Ni("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:ji("Expression")}}}),Ni("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:ve.env.BABEL_TYPES_8_BREAKING?Ci(ji("BlockStatement"),Object.assign((function(e){if(!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]})):ji("BlockStatement")},handler:{optional:!0,validate:ji("CatchClause")},finalizer:{optional:!0,validate:ji("BlockStatement")}}}),Ni("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:ji("Expression")},operator:{validate:Ei.apply(void 0,A(ai))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),Ni("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:ve.env.BABEL_TYPES_8_BREAKING?ji("Identifier","MemberExpression"):ji("Expression")},operator:{validate:Ei.apply(void 0,A(Vo))}},visitor:["argument"],aliases:["Expression"]}),Ni("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:Ti("boolean"),optional:!0},kind:{validate:Ei("var","let","const","using","await using")},declarations:Ri("VariableDeclarator")},validate:ve.env.BABEL_TYPES_8_BREAKING?function(){var e=ji("Identifier");return function(t,r,a){if(uo("ForXStatement",t,{left:a})){if(1!==a.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+t.type)}else a.declarations.forEach((function(t){t.init||e(t,"id",t.id)}))}}():void 0}),Ni("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:ve.env.BABEL_TYPES_8_BREAKING?ji("Identifier","ArrayPattern","ObjectPattern"):ji("LVal")},definite:{optional:!0,validate:Ti("boolean")},init:{optional:!0,validate:ji("Expression")}}}),Ni("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:ji("Expression")},body:{validate:ji("Statement")}}}),Ni("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:ji("Expression")},body:{validate:ji("Statement")}}}),Ni("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},Li(),{left:{validate:ji("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:ji("Expression")},decorators:{validate:xi("Decorator"),optional:!0}})}),Ni("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},Li(),{elements:{validate:Ci(Ti("array"),wi(Si("null","PatternLike","LVal")))}})}),Ni("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},Fi(),Bi(),{expression:{validate:Ti("boolean")},body:{validate:ji("BlockStatement","Expression")},predicate:{validate:ji("DeclaredPredicate","InferredPredicate"),optional:!0}})}),Ni("ClassBody",{visitor:["body"],fields:{body:Ri("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),Ni("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:ji("Identifier"),optional:!0},typeParameters:{validate:ji("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:ji("ClassBody")},superClass:{optional:!0,validate:ji("Expression")},superTypeParameters:{validate:ji("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:xi("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:xi("Decorator"),optional:!0},mixins:{validate:ji("InterfaceExtends"),optional:!0}}}),Ni("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:ji("Identifier"),optional:!0},typeParameters:{validate:ji("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:ji("ClassBody")},superClass:{optional:!0,validate:ji("Expression")},superTypeParameters:{validate:ji("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:xi("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:xi("Decorator"),optional:!0},mixins:{validate:ji("InterfaceExtends"),optional:!0},declare:{validate:Ti("boolean"),optional:!0},abstract:{validate:Ti("boolean"),optional:!0}},validate:ve.env.BABEL_TYPES_8_BREAKING?function(){var e=ji("Identifier");return function(t,r,a){uo("ExportDefaultDeclaration",t)||e(a,"id",a.id)}}():void 0});var Ui={attributes:{optional:!0,validate:xi("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:xi("ImportAttribute")}};Ni("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:ji("StringLiteral")},exportKind:yi(Ei("type","value"))},Ui)}),Ni("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:hi("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:yi(Ei("value"))}}),Ni("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:ve.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:ve.env.BABEL_TYPES_8_BREAKING?Ci(ji("Declaration"),Object.assign((function(e,t,r){if(r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(r&&e.source)throw new TypeError("Cannot export a declaration from a source")}),{oneOfNodeTypes:["Declaration"]})):ji("Declaration")}},Ui,{specifiers:{default:[],validate:vi(function(){var e=ji("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=ji("ExportSpecifier");return ve.env.BABEL_TYPES_8_BREAKING?Object.assign((function(r,a,n){(r.source?e:t)(r,a,n)}),{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):e}())},source:{validate:ji("StringLiteral"),optional:!0},exportKind:yi(Ei("type","value"))})}),Ni("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:ji("Identifier")},exported:{validate:ji("Identifier","StringLiteral")},exportKind:{validate:Ei("type","value"),optional:!0}}}),Ni("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!ve.env.BABEL_TYPES_8_BREAKING)return ji("VariableDeclaration","LVal");var e=ji("VariableDeclaration"),t=ji("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign((function(r,a,n){uo("VariableDeclaration",n)?e(r,a,n):t(r,a,n)}),{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:ji("Expression")},body:{validate:ji("Statement")},await:{default:!1}}}),Ni("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},Ui,{module:{optional:!0,validate:Ti("boolean")},phase:{default:null,validate:Ei("source","defer")},specifiers:Ri("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:ji("StringLiteral")},importKind:{validate:Ei("type","typeof","value"),optional:!0}})}),Ni("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:ji("Identifier")}}}),Ni("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:ji("Identifier")}}}),Ni("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:ji("Identifier")},imported:{validate:ji("Identifier","StringLiteral")},importKind:{validate:Ei("type","typeof","value"),optional:!0}}}),Ni("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:Ei("source","defer")},source:{validate:ji("Expression")},options:{validate:ji("Expression"),optional:!0}}}),Ni("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:ve.env.BABEL_TYPES_8_BREAKING?Ci(ji("Identifier"),Object.assign((function(e,t,r){var a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!uo("Identifier",e.property,{name:a}))throw new TypeError("Unrecognised MetaProperty")}),{oneOfNodeTypes:["Identifier"]})):ji("Identifier")},property:{validate:ji("Identifier")}}});var qi=function(){return{abstract:{validate:Ti("boolean"),optional:!0},accessibility:{validate:Ei("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:Ti("boolean"),optional:!0},key:{validate:Ci(function(){var e=ji("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=ji("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),ji("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},Wi=function(){return Object.assign({},Fi(),qi(),{params:Ri("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:Ei("get","set","method","constructor"),default:"method"},access:{validate:Ci(Ti("string"),Ei("public","private","protected")),optional:!0},decorators:{validate:xi("Decorator"),optional:!0}})};Ni("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},Wi(),Bi(),{body:{validate:ji("BlockStatement")}})}),Ni("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},Li(),{properties:Ri("RestElement","ObjectProperty")})}),Ni("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:ji("Expression")}}}),Ni("Super",{aliases:["Expression"]}),Ni("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:ji("Expression")},quasi:{validate:ji("TemplateLiteral")},typeParameters:{validate:ji("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),Ni("TemplateElement",{builder:["value","tail"],fields:{value:{validate:Ci(Ai({raw:{validate:Ti("string")},cooked:{validate:Ti("string"),optional:!0}}),(function(e){var t=e.value.raw,r=!1,a=function(){throw new Error("Internal @babel/types error.")},n=No("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:a,invalidEscapeSequence:a,numericSeparatorInEscapeSequence:a,unexpectedNumericSeparator:a,invalidDigit:a,invalidCodePoint:a}),s=n.str,o=n.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=o?null:s}))},tail:{default:!1}}}),Ni("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:Ri("TemplateElement"),expressions:{validate:Ci(Ti("array"),wi(ji("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of "+e.type+" quasis should be exactly one more than the number of expressions.\nExpected "+(r.length+1)+" quasis but got "+e.quasis.length)}))}}}),Ni("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:ve.env.BABEL_TYPES_8_BREAKING?Ci(Ti("boolean"),Object.assign((function(e,t,r){if(r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})):Ti("boolean"),default:!1},argument:{optional:!0,validate:ji("Expression")}}}),Ni("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:ji("Expression")}}}),Ni("Import",{aliases:["Expression"]}),Ni("BigIntLiteral",{builder:["value"],fields:{value:{validate:Ti("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),Ni("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:ji("Identifier")}}}),Ni("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:ji("Expression")},property:{validate:function(){var e=ji("Identifier"),t=ji("Expression"),r=Object.assign((function(r,a,n){(r.computed?t:e)(r,a,n)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:!1},optional:{validate:ve.env.BABEL_TYPES_8_BREAKING?Ci(Ti("boolean"),ki()):Ti("boolean")}}}),Ni("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:ji("Expression")},arguments:Ri("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:ve.env.BABEL_TYPES_8_BREAKING?Ci(Ti("boolean"),ki()):Ti("boolean")},typeArguments:{validate:ji("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:ji("TSTypeParameterInstantiation"),optional:!0}}}),Ni("ClassProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},qi(),{value:{validate:ji("Expression"),optional:!0},definite:{validate:Ti("boolean"),optional:!0},typeAnnotation:{validate:ji("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:xi("Decorator"),optional:!0},readonly:{validate:Ti("boolean"),optional:!0},declare:{validate:Ti("boolean"),optional:!0},variance:{validate:ji("Variance"),optional:!0}})}),Ni("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},qi(),{key:{validate:Ci(function(){var e=ji("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=ji("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),ji("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:ji("Expression"),optional:!0},definite:{validate:Ti("boolean"),optional:!0},typeAnnotation:{validate:ji("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:xi("Decorator"),optional:!0},readonly:{validate:Ti("boolean"),optional:!0},declare:{validate:Ti("boolean"),optional:!0},variance:{validate:ji("Variance"),optional:!0}})}),Ni("ClassPrivateProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:ji("PrivateName")},value:{validate:ji("Expression"),optional:!0},typeAnnotation:{validate:ji("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:xi("Decorator"),optional:!0},static:{validate:Ti("boolean"),default:!1},readonly:{validate:Ti("boolean"),optional:!0},definite:{validate:Ti("boolean"),optional:!0},variance:{validate:ji("Variance"),optional:!0}}}),Ni("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Wi(),Bi(),{kind:{validate:Ei("get","set","method"),default:"method"},key:{validate:ji("PrivateName")},body:{validate:ji("BlockStatement")}})}),Ni("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:ji("Identifier")}}}),Ni("StaticBlock",{visitor:["body"],fields:{body:Ri("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]});var Hi=Ii("Flow"),zi=function(e){var t="DeclareClass"===e;Hi(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat(A(t?["mixins","implements"]:[]),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:hi("Identifier"),typeParameters:bi("TypeParameterDeclaration"),extends:yi(xi("InterfaceExtends"))},t?{mixins:yi(xi("InterfaceExtends")),implements:yi(xi("ClassImplements"))}:{},{body:hi("ObjectTypeAnnotation")})})};Hi("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:hi("FlowType")}}),Hi("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:mi(Ti("boolean"))}}),Hi("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("ClassImplements",{visitor:["id","typeParameters"],fields:{id:hi("Identifier"),typeParameters:bi("TypeParameterInstantiation")}}),zi("DeclareClass"),Hi("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:hi("Identifier"),predicate:bi("DeclaredPredicate")}}),zi("DeclareInterface"),Hi("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:hi("Identifier","StringLiteral"),body:hi("BlockStatement"),kind:yi(Ei("CommonJS","ES"))}}),Hi("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:hi("TypeAnnotation")}}),Hi("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:hi("Identifier"),typeParameters:bi("TypeParameterDeclaration"),right:hi("FlowType")}}),Hi("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:hi("Identifier"),typeParameters:bi("TypeParameterDeclaration"),supertype:bi("FlowType"),impltype:bi("FlowType")}}),Hi("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:hi("Identifier")}}),Hi("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:bi("Flow"),specifiers:yi(xi("ExportSpecifier","ExportNamespaceSpecifier")),source:bi("StringLiteral"),default:yi(Ti("boolean"))},Ui)}),Hi("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:hi("StringLiteral"),exportKind:yi(Ei("type","value"))},Ui)}),Hi("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:hi("Flow")}}),Hi("ExistsTypeAnnotation",{aliases:["FlowType"]}),Hi("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:bi("TypeParameterDeclaration"),params:Ri("FunctionTypeParam"),rest:bi("FunctionTypeParam"),this:bi("FunctionTypeParam"),returnType:hi("FlowType")}}),Hi("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:bi("Identifier"),typeAnnotation:hi("FlowType"),optional:yi(Ti("boolean"))}}),Hi("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:hi("Identifier","QualifiedTypeIdentifier"),typeParameters:bi("TypeParameterInstantiation")}}),Hi("InferredPredicate",{aliases:["FlowPredicate"]}),Hi("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:hi("Identifier","QualifiedTypeIdentifier"),typeParameters:bi("TypeParameterInstantiation")}}),zi("InterfaceDeclaration"),Hi("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:yi(xi("InterfaceExtends")),body:hi("ObjectTypeAnnotation")}}),Hi("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:mi(xi("FlowType"))}}),Hi("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:hi("FlowType")}}),Hi("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:mi(Ti("number"))}}),Hi("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:mi(xi("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:xi("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:xi("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:xi("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:Ti("boolean"),default:!1},inexact:yi(Ti("boolean"))}}),Hi("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:hi("Identifier"),value:hi("FlowType"),optional:mi(Ti("boolean")),static:mi(Ti("boolean")),method:mi(Ti("boolean"))}}),Hi("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:hi("FlowType"),static:mi(Ti("boolean"))}}),Hi("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:bi("Identifier"),key:hi("FlowType"),value:hi("FlowType"),static:mi(Ti("boolean")),variance:bi("Variance")}}),Hi("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:hi("Identifier","StringLiteral"),value:hi("FlowType"),kind:mi(Ei("init","get","set")),static:mi(Ti("boolean")),proto:mi(Ti("boolean")),optional:mi(Ti("boolean")),variance:bi("Variance"),method:mi(Ti("boolean"))}}),Hi("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:hi("FlowType")}}),Hi("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:hi("Identifier"),typeParameters:bi("TypeParameterDeclaration"),supertype:bi("FlowType"),impltype:hi("FlowType")}}),Hi("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:hi("Identifier"),qualification:hi("Identifier","QualifiedTypeIdentifier")}}),Hi("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:mi(Ti("string"))}}),Hi("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:mi(xi("FlowType"))}}),Hi("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:hi("FlowType")}}),Hi("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:hi("Identifier"),typeParameters:bi("TypeParameterDeclaration"),right:hi("FlowType")}}),Hi("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:hi("FlowType")}}),Hi("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:hi("Expression"),typeAnnotation:hi("TypeAnnotation")}}),Hi("TypeParameter",{visitor:["bound","default","variance"],fields:{name:mi(Ti("string")),bound:bi("TypeAnnotation"),default:bi("FlowType"),variance:bi("Variance")}}),Hi("TypeParameterDeclaration",{visitor:["params"],fields:{params:mi(xi("TypeParameter"))}}),Hi("TypeParameterInstantiation",{visitor:["params"],fields:{params:mi(xi("FlowType"))}}),Hi("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:mi(xi("FlowType"))}}),Hi("Variance",{builder:["kind"],fields:{kind:mi(Ei("minus","plus"))}}),Hi("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Hi("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:hi("Identifier"),body:hi("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),Hi("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:mi(Ti("boolean")),members:Ri("EnumBooleanMember"),hasUnknownMembers:mi(Ti("boolean"))}}),Hi("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:mi(Ti("boolean")),members:Ri("EnumNumberMember"),hasUnknownMembers:mi(Ti("boolean"))}}),Hi("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:mi(Ti("boolean")),members:Ri("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:mi(Ti("boolean"))}}),Hi("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:Ri("EnumDefaultedMember"),hasUnknownMembers:mi(Ti("boolean"))}}),Hi("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:hi("Identifier"),init:hi("BooleanLiteral")}}),Hi("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:hi("Identifier"),init:hi("NumericLiteral")}}),Hi("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:hi("Identifier"),init:hi("StringLiteral")}}),Hi("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:hi("Identifier")}}),Hi("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:hi("FlowType"),indexType:hi("FlowType")}}),Hi("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:hi("FlowType"),indexType:hi("FlowType"),optional:mi(Ti("boolean"))}});var Gi=Ii("JSX");Gi("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:ji("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:ji("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),Gi("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:ji("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),Gi("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:ji("JSXOpeningElement")},closingElement:{optional:!0,validate:ji("JSXClosingElement")},children:Ri("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:Ti("boolean"),optional:!0}})}),Gi("JSXEmptyExpression",{}),Gi("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:ji("Expression","JSXEmptyExpression")}}}),Gi("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:ji("Expression")}}}),Gi("JSXIdentifier",{builder:["name"],fields:{name:{validate:Ti("string")}}}),Gi("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:ji("JSXMemberExpression","JSXIdentifier")},property:{validate:ji("JSXIdentifier")}}}),Gi("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:ji("JSXIdentifier")},name:{validate:ji("JSXIdentifier")}}}),Gi("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:ji("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:Ri("JSXAttribute","JSXSpreadAttribute"),typeParameters:{validate:ji("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),Gi("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:ji("Expression")}}}),Gi("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:Ti("string")}}}),Gi("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:ji("JSXOpeningFragment")},closingFragment:{validate:ji("JSXClosingFragment")},children:Ri("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),Gi("JSXOpeningFragment",{aliases:["Immutable"]}),Gi("JSXClosingFragment",{aliases:["Immutable"]});for(var Vi=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Ki={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},Yi=0,Ji=Vi;Yi=Number.MAX_SAFE_INTEGER?Ex.uid=0:Ex.uid++};var Sx=Function.call.bind(Object.prototype.toString);function Tx(e){return"[object RegExp]"===Sx(e)}function Ax(e){if("object"!==typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function kx(e){if(void 0===e)return qd("undefined");if(!0===e||!1===e)return Kd(e);if(null===e)return Vd();if("string"===typeof e)return zd(e);var t;if("number"===typeof e)return t=Number.isFinite(e)?Gd(Math.abs(e)):wd("/",Number.isNaN(e)?Gd(0):Gd(1),Gd(0)),(e<0||Object.is(e,-0))&&(t=uc("-",t)),t;if(Tx(e))return Yd(e.source,/\/([a-z]*)$/.exec(e.toString())[1]);if(Array.isArray(e))return xd(e.map(kx));if(Ax(e)){for(var r=[],a=0,n=Object.keys(e);a1?e:e[0]})),aR=tR((function(e){return e})),nR=tR((function(e){if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]})),sR={code:function(e){return"(\n"+e+"\n)"},validate:function(e){if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===sR.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:function(e){var t=S(e.program.body,1)[0];return eR(t),t.expression}},oR={code:function(e){return e},validate:function(){},unwrap:function(e){return e.program}},iR=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function dR(e,t){var r=t.placeholderWhitelist,a=void 0===r?e.placeholderWhitelist:r,n=t.placeholderPattern,s=void 0===n?e.placeholderPattern:n,o=t.preserveComments,i=void 0===o?e.preserveComments:o,d=t.syntacticPlaceholders,c=void 0===d?e.syntacticPlaceholders:d;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:a,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:c}}function cR(e){if(null!=e&&"object"!==typeof e)throw new Error("Unknown template options.");var t=e||{},r=t.placeholderWhitelist,a=t.placeholderPattern,n=t.preserveComments,s=t.syntacticPlaceholders,o=w(t,iR);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=a&&!(a instanceof RegExp)&&!1!==a)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=n&&"boolean"!==typeof n)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=s&&"boolean"!==typeof s)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===s&&(null!=r||null!=a))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:o,placeholderWhitelist:r||void 0,placeholderPattern:null==a?void 0:a,preserveComments:null==n?void 0:n,syntacticPlaceholders:null==s?void 0:s}}function lR(e){if(Array.isArray(e))return e.reduce((function(e,t,r){return e["$"+r]=t,e}),{});if("object"===typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}var uR=u((function(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r})),pR=u((function(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}));function fR(e,t){var r=e.line,a=e.column,n=e.index;return new uR(r,a+t,n+t)}var gR,mR="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",hR={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:mR},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:mR}},yR={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},bR=function(e){return"UpdateExpression"===e.type?yR.UpdateExpression[""+e.prefix]:yR[e.type]},vR={AccessorIsGenerator:function(e){return"A "+e.kind+"ter cannot be a generator."},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:function(e){return"Missing initializer in "+e.kind+" declaration."},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:function(e){return"`"+e.exportName+"` has already been exported. Exported identifiers must be unique."},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:function(e){return"'import."+e.phase+"(...)' can only be parsed when using the 'createImportExpressions' option."},ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:function(e){return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '"+e.localName+"' as '"+e.exportName+"' } from 'some-module'`?"},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:function(e){return"'"+("ForInStatement"===e.type?"for-in":"for-of")+"' loop variable declaration may not have an initializer."},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:function(e){return"Unsyntactic "+("BreakStatement"===e.type?"break":"continue")+"."},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:function(e){return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'+e.importName+'" as foo }`?'},ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:function(e){return"Expected number in radix "+e.radix+"."},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:function(e){return"Escape sequence in keyword "+e.reservedWord+"."},InvalidIdentifier:function(e){return"Invalid identifier "+e.identifierName+"."},InvalidLhs:function(e){var t=e.ancestor;return"Invalid left-hand side in "+bR(t)+"."},InvalidLhsBinding:function(e){var t=e.ancestor;return"Binding invalid left-hand side in "+bR(t)+"."},InvalidLhsOptionalChaining:function(e){var t=e.ancestor;return"Invalid optional chaining in the left-hand side of "+bR(t)+"."},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:function(e){return"Unexpected character '"+e.unexpected+"'."},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:function(e){return"Private name #"+e.identifierName+" is not defined."},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:function(e){return"Label '"+e.labelName+"' is already declared."},LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:function(e){return"This experimental syntax requires enabling the parser plugin: "+e.missingPlugin.map((function(e){return JSON.stringify(e)})).join(", ")+"."},MissingOneOfPlugins:function(e){return"This experimental syntax requires enabling one of the following parser plugin(s): "+e.missingPlugin.map((function(e){return JSON.stringify(e)})).join(", ")+"."},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:function(e){return'Duplicate key "'+e.key+'" is not allowed in module attributes.'},ModuleExportNameHasLoneSurrogate:function(e){return"An export name cannot include a lone surrogate, found '\\u"+e.surrogateCharCode.toString(16)+"'."},ModuleExportUndefined:function(e){return"Export '"+e.localName+"' is not defined."},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:function(e){var t=e.identifierName;return"Private names are only allowed in property accesses (`obj.#"+t+"`) or in `in` expressions (`#"+t+" in obj`)."},PrivateNameRedeclaration:function(e){return"Duplicate private name #"+e.identifierName+"."},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:function(e){return"Unexpected keyword '"+e.keyword+"'."},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:function(e){return"Unexpected reserved word '"+e.reservedWord+"'."},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:function(e){var t=e.expected,r=e.unexpected;return"Unexpected token"+(r?" '"+r+"'.":"")+(t?', expected "'+t+'"':"")},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:function(e){var t=e.target;return"The only valid meta property for "+t+" is "+t+"."+e.onlyValidPropertyName+"."},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:function(e){return"Identifier '"+e.identifierName+"' has already been declared."},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},xR={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:function(e){return"Assigning to '"+e.referenceName+"' in strict mode."},StrictEvalArgumentsBinding:function(e){return"Binding '"+e.bindingName+"' in strict mode."},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},RR=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),wR={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:function(e){var t=e.token;return"Invalid topic token "+t+". In order to use "+t+' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "'+t+'" }.'},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:function(e){var t=e.type;return"Hack-style pipe body cannot be an unparenthesized "+bR({type:t})+"; please wrap it in parentheses."},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},ER=["message"];function jR(e,t,r){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:r})}function SR(e){var t=e.toMessage,r=e.code,a=e.reasonCode,n=e.syntaxPlugin,s="MissingPlugin"===a||"MissingOneOfPlugins"===a,o={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};return o[a]&&(a=o[a]),function e(o,i){var d=new SyntaxError;return d.code=r,d.reasonCode=a,d.loc=o,d.pos=o.index,d.syntaxPlugin=n,s&&(d.missingPlugin=i.missingPlugin),jR(d,"clone",(function(t){var r;void 0===t&&(t={});var a=null!=(r=t.loc)?r:o,n=a.line,s=a.column,d=a.index;return e(new uR(n,s,d),Object.assign({},i,t.details))})),jR(d,"details",i),Object.defineProperty(d,"message",{configurable:!0,get:function(){var e=t(i)+" ("+o.line+":"+o.column+")";return this.message=e,e},set:function(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),d}}function TR(e,t){if(Array.isArray(e))return function(t){return TR(t,e[0])};for(var r={},a=function(){var a=s[n],o=e[a],i="string"===typeof o?{message:function(){return o}}:"function"===typeof o?{message:o}:o,d=i.message,c=w(i,ER),l="string"===typeof d?function(){return d}:d;r[a]=SR(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:a,toMessage:l},t?{syntaxPlugin:t}:{},c))},n=0,s=Object.keys(e);n0&&o.start===n.start&&this.resetStartLocation(n,a)}return n},r.parseSubscript=function(t,r,a,n){var s=e.prototype.parseSubscript.call(this,t,r,a,n);if(n.optionalChainMember){if("OptionalMemberExpression"!==s.type&&"OptionalCallExpression"!==s.type||(s.type=s.type.substring(8)),n.stop){var o=this.startNodeAtNode(s);return o.expression=s,this.finishNode(o,"ChainExpression")}}else"MemberExpression"!==s.type&&"CallExpression"!==s.type||(s.optional=!1);return s},r.isOptionalMemberExpression=function(t){return"ChainExpression"===t.type?"MemberExpression"===t.expression.type:e.prototype.isOptionalMemberExpression.call(this,t)},r.hasPropertyAsPrivateName=function(t){return"ChainExpression"===t.type&&(t=t.expression),e.prototype.hasPropertyAsPrivateName.call(this,t)},r.isObjectProperty=function(e){return"Property"===e.type&&"init"===e.kind&&!e.method},r.isObjectMethod=function(e){return"Property"===e.type&&(e.method||"get"===e.kind||"set"===e.kind)},r.finishNodeAt=function(t,r,a){return PR(e.prototype.finishNodeAt.call(this,t,r,a))},r.resetStartLocation=function(t,r){e.prototype.resetStartLocation.call(this,t,r),PR(t)},r.resetEndLocation=function(t,r){void 0===r&&(r=this.state.lastTokEndLoc),e.prototype.resetEndLocation.call(this,t,r),PR(t)},u(t)}(e)},DR=u((function(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t})),IR={brace:new DR("{"),j_oTag:new DR("...",!0)};IR.template=new DR("`",!0);var OR=!0,NR=!0,FR=!0,BR=!0,MR=!0,LR=!0,UR=u((function(e,t){void 0===t&&(t={}),this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null})),qR=new Map;function WR(e,t){void 0===t&&(t={}),t.keyword=e;var r=$R(e,t);return qR.set(e,r),r}function HR(e,t){return $R(e,{beforeExpr:OR,binop:t})}var zR=-1,GR=[],VR=[],KR=[],YR=[],JR=[],XR=[];function $R(e,t){var r,a,n,s;return void 0===t&&(t={}),++zR,VR.push(e),KR.push(null!=(r=t.binop)?r:-1),YR.push(null!=(a=t.beforeExpr)&&a),JR.push(null!=(n=t.startsExpr)&&n),XR.push(null!=(s=t.prefix)&&s),GR.push(new UR(e,t)),zR}function QR(e,t){var r,a,n,s;return void 0===t&&(t={}),++zR,qR.set(e,zR),VR.push(e),KR.push(null!=(r=t.binop)?r:-1),YR.push(null!=(a=t.beforeExpr)&&a),JR.push(null!=(n=t.startsExpr)&&n),XR.push(null!=(s=t.prefix)&&s),GR.push(new UR("name",t)),zR}var ZR={bracketL:$R("[",{beforeExpr:OR,startsExpr:NR}),bracketHashL:$R("#[",{beforeExpr:OR,startsExpr:NR}),bracketBarL:$R("[|",{beforeExpr:OR,startsExpr:NR}),bracketR:$R("]"),bracketBarR:$R("|]"),braceL:$R("{",{beforeExpr:OR,startsExpr:NR}),braceBarL:$R("{|",{beforeExpr:OR,startsExpr:NR}),braceHashL:$R("#{",{beforeExpr:OR,startsExpr:NR}),braceR:$R("}"),braceBarR:$R("|}"),parenL:$R("(",{beforeExpr:OR,startsExpr:NR}),parenR:$R(")"),comma:$R(",",{beforeExpr:OR}),semi:$R(";",{beforeExpr:OR}),colon:$R(":",{beforeExpr:OR}),doubleColon:$R("::",{beforeExpr:OR}),dot:$R("."),question:$R("?",{beforeExpr:OR}),questionDot:$R("?."),arrow:$R("=>",{beforeExpr:OR}),template:$R("template"),ellipsis:$R("...",{beforeExpr:OR}),backQuote:$R("`",{startsExpr:NR}),dollarBraceL:$R("${",{beforeExpr:OR,startsExpr:NR}),templateTail:$R("...`",{startsExpr:NR}),templateNonTail:$R("...${",{beforeExpr:OR,startsExpr:NR}),at:$R("@"),hash:$R("#",{startsExpr:NR}),interpreterDirective:$R("#!..."),eq:$R("=",{beforeExpr:OR,isAssign:BR}),assign:$R("_=",{beforeExpr:OR,isAssign:BR}),slashAssign:$R("_=",{beforeExpr:OR,isAssign:BR}),xorAssign:$R("_=",{beforeExpr:OR,isAssign:BR}),moduloAssign:$R("_=",{beforeExpr:OR,isAssign:BR}),incDec:$R("++/--",{prefix:MR,postfix:LR,startsExpr:NR}),bang:$R("!",{beforeExpr:OR,prefix:MR,startsExpr:NR}),tilde:$R("~",{beforeExpr:OR,prefix:MR,startsExpr:NR}),doubleCaret:$R("^^",{startsExpr:NR}),doubleAt:$R("@@",{startsExpr:NR}),pipeline:HR("|>",0),nullishCoalescing:HR("??",1),logicalOR:HR("||",1),logicalAND:HR("&&",2),bitwiseOR:HR("|",3),bitwiseXOR:HR("^",4),bitwiseAND:HR("&",5),equality:HR("==/!=/===/!==",6),lt:HR("/<=/>=",7),gt:HR("/<=/>=",7),relational:HR("/<=/>=",7),bitShift:HR("<>/>>>",8),bitShiftL:HR("<>/>>>",8),bitShiftR:HR("<>/>>>",8),plusMin:$R("+/-",{beforeExpr:OR,binop:9,prefix:MR,startsExpr:NR}),modulo:$R("%",{binop:10,startsExpr:NR}),star:$R("*",{binop:10}),slash:HR("/",10),exponent:$R("**",{beforeExpr:OR,binop:11,rightAssociative:!0}),_in:WR("in",{beforeExpr:OR,binop:7}),_instanceof:WR("instanceof",{beforeExpr:OR,binop:7}),_break:WR("break"),_case:WR("case",{beforeExpr:OR}),_catch:WR("catch"),_continue:WR("continue"),_debugger:WR("debugger"),_default:WR("default",{beforeExpr:OR}),_else:WR("else",{beforeExpr:OR}),_finally:WR("finally"),_function:WR("function",{startsExpr:NR}),_if:WR("if"),_return:WR("return",{beforeExpr:OR}),_switch:WR("switch"),_throw:WR("throw",{beforeExpr:OR,prefix:MR,startsExpr:NR}),_try:WR("try"),_var:WR("var"),_const:WR("const"),_with:WR("with"),_new:WR("new",{beforeExpr:OR,startsExpr:NR}),_this:WR("this",{startsExpr:NR}),_super:WR("super",{startsExpr:NR}),_class:WR("class",{startsExpr:NR}),_extends:WR("extends",{beforeExpr:OR}),_export:WR("export"),_import:WR("import",{startsExpr:NR}),_null:WR("null",{startsExpr:NR}),_true:WR("true",{startsExpr:NR}),_false:WR("false",{startsExpr:NR}),_typeof:WR("typeof",{beforeExpr:OR,prefix:MR,startsExpr:NR}),_void:WR("void",{beforeExpr:OR,prefix:MR,startsExpr:NR}),_delete:WR("delete",{beforeExpr:OR,prefix:MR,startsExpr:NR}),_do:WR("do",{isLoop:FR,beforeExpr:OR}),_for:WR("for",{isLoop:FR}),_while:WR("while",{isLoop:FR}),_as:QR("as",{startsExpr:NR}),_assert:QR("assert",{startsExpr:NR}),_async:QR("async",{startsExpr:NR}),_await:QR("await",{startsExpr:NR}),_defer:QR("defer",{startsExpr:NR}),_from:QR("from",{startsExpr:NR}),_get:QR("get",{startsExpr:NR}),_let:QR("let",{startsExpr:NR}),_meta:QR("meta",{startsExpr:NR}),_of:QR("of",{startsExpr:NR}),_sent:QR("sent",{startsExpr:NR}),_set:QR("set",{startsExpr:NR}),_source:QR("source",{startsExpr:NR}),_static:QR("static",{startsExpr:NR}),_using:QR("using",{startsExpr:NR}),_yield:QR("yield",{startsExpr:NR}),_asserts:QR("asserts",{startsExpr:NR}),_checks:QR("checks",{startsExpr:NR}),_exports:QR("exports",{startsExpr:NR}),_global:QR("global",{startsExpr:NR}),_implements:QR("implements",{startsExpr:NR}),_intrinsic:QR("intrinsic",{startsExpr:NR}),_infer:QR("infer",{startsExpr:NR}),_is:QR("is",{startsExpr:NR}),_mixins:QR("mixins",{startsExpr:NR}),_proto:QR("proto",{startsExpr:NR}),_require:QR("require",{startsExpr:NR}),_satisfies:QR("satisfies",{startsExpr:NR}),_keyof:QR("keyof",{startsExpr:NR}),_readonly:QR("readonly",{startsExpr:NR}),_unique:QR("unique",{startsExpr:NR}),_abstract:QR("abstract",{startsExpr:NR}),_declare:QR("declare",{startsExpr:NR}),_enum:QR("enum",{startsExpr:NR}),_module:QR("module",{startsExpr:NR}),_namespace:QR("namespace",{startsExpr:NR}),_interface:QR("interface",{startsExpr:NR}),_type:QR("type",{startsExpr:NR}),_opaque:QR("opaque",{startsExpr:NR}),name:$R("name",{startsExpr:NR}),placeholder:$R("%%",{startsExpr:!0}),string:$R("string",{startsExpr:NR}),num:$R("num",{startsExpr:NR}),bigint:$R("bigint",{startsExpr:NR}),decimal:$R("decimal",{startsExpr:NR}),regexp:$R("regexp",{startsExpr:NR}),privateName:$R("#name",{startsExpr:NR}),eof:$R("eof"),jsxName:$R("jsxName"),jsxText:$R("jsxText",{beforeExpr:!0}),jsxTagStart:$R("jsxTagStart",{startsExpr:!0}),jsxTagEnd:$R("jsxTagEnd")};function ew(e){return e>=93&&e<=133}function tw(e){return e<=92}function rw(e){return e>=58&&e<=133}function aw(e){return e>=58&&e<=137}function nw(e){return YR[e]}function sw(e){return JR[e]}function ow(e){return e>=29&&e<=33}function iw(e){return e>=129&&e<=131}function dw(e){return e>=90&&e<=92}function cw(e){return e>=58&&e<=92}function lw(e){return e>=39&&e<=59}function uw(e){return 34===e}function pw(e){return XR[e]}function fw(e){return e>=121&&e<=123}function gw(e){return e>=124&&e<=130}function mw(e){return VR[e]}function hw(e){return KR[e]}function yw(e){return 57===e}function bw(e){return e>=24&&e<=25}function vw(e){return GR[e]}function xw(e,t,r){return 64===e&&64===t&&vo(r)}GR[8].updateContext=function(e){e.pop()},GR[5].updateContext=GR[7].updateContext=GR[23].updateContext=function(e){e.push(IR.brace)},GR[22].updateContext=function(e){e[e.length-1]===IR.template?e.pop():e.push(IR.template)},GR[143].updateContext=function(e){e.push(IR.j_expr,IR.j_oTag)};var Rw=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function ww(e){return Rw.has(e)}var Ew={OTHER:0,PROGRAM:1,FUNCTION:2,ARROW:4,SIMPLE_CATCH:8,SUPER:16,DIRECT_SUPER:32,CLASS:64,STATIC_BLOCK:128,TS_MODULE:256,VAR:387},jw={KIND_VALUE:1,KIND_TYPE:2,SCOPE_VAR:4,SCOPE_LEXICAL:8,SCOPE_FUNCTION:16,SCOPE_OUTSIDE:32,FLAG_NONE:64,FLAG_CLASS:128,FLAG_TS_ENUM:256,FLAG_TS_CONST_ENUM:512,FLAG_TS_EXPORT_ONLY:1024,FLAG_FLOW_DECLARE_FN:2048,FLAG_TS_IMPORT:4096,FLAG_NO_LET_IN_LEXICAL:8192,TYPE_CLASS:8331,TYPE_LEXICAL:8201,TYPE_CATCH_PARAM:9,TYPE_VAR:5,TYPE_FUNCTION:17,TYPE_TS_INTERFACE:130,TYPE_TS_TYPE:2,TYPE_TS_ENUM:8459,TYPE_TS_AMBIENT:1024,TYPE_NONE:64,TYPE_OUTSIDE:65,TYPE_TS_CONST_ENUM:8971,TYPE_TS_NAMESPACE:1024,TYPE_TS_TYPE_IMPORT:4098,TYPE_TS_VALUE_IMPORT:4096,TYPE_FLOW_DECLARE_FN:2048},Sw={OTHER:0,FLAG_STATIC:4,KIND_GETTER:2,KIND_SETTER:1,KIND_ACCESSOR:3,STATIC_GETTER:6,STATIC_SETTER:5,INSTANCE_GETTER:2,INSTANCE_SETTER:1},Tw={Var:1,Lexical:2,Function:4},Aw=u((function(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e})),kw=function(){function e(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}var t=e.prototype;return t.createScope=function(e){return new Aw(e)},t.enter=function(e){this.scopeStack.push(this.createScope(e))},t.exit=function(){return this.scopeStack.pop().flags},t.treatFunctionsAsVarInScope=function(e){return!!(e.flags&(Ew.FUNCTION|Ew.STATIC_BLOCK)||!this.parser.inModule&&e.flags&Ew.PROGRAM)},t.declareName=function(e,t,r){var a=this.currentScope();if(t&jw.SCOPE_LEXICAL||t&jw.SCOPE_FUNCTION){this.checkRedeclarationInScope(a,e,t,r);var n=a.names.get(e)||0;t&jw.SCOPE_FUNCTION?n|=Tw.Function:(a.firstLexicalName||(a.firstLexicalName=e),n|=Tw.Lexical),a.names.set(e,n),t&jw.SCOPE_LEXICAL&&this.maybeExportDefined(a,e)}else if(t&jw.SCOPE_VAR)for(var s=this.scopeStack.length-1;s>=0&&(a=this.scopeStack[s],this.checkRedeclarationInScope(a,e,t,r),a.names.set(e,(a.names.get(e)||0)|Tw.Var),this.maybeExportDefined(a,e),!(a.flags&Ew.VAR));--s);this.parser.inModule&&a.flags&Ew.PROGRAM&&this.undefinedExports.delete(e)},t.maybeExportDefined=function(e,t){this.parser.inModule&&e.flags&Ew.PROGRAM&&this.undefinedExports.delete(t)},t.checkRedeclarationInScope=function(e,t,r,a){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(AR.VarRedeclaration,a,{identifierName:t})},t.isRedeclaredInScope=function(e,t,r){if(!(r&jw.KIND_VALUE))return!1;if(r&jw.SCOPE_LEXICAL)return e.names.has(t);var a=e.names.get(t);return r&jw.SCOPE_FUNCTION?(a&Tw.Lexical)>0||!this.treatFunctionsAsVarInScope(e)&&(a&Tw.Var)>0:(a&Tw.Lexical)>0&&!(e.flags&Ew.SIMPLE_CATCH&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(a&Tw.Function)>0},t.checkLocalExport=function(e){var t=e.name;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)},t.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},t.currentVarScopeFlags=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&Ew.VAR)return t}},t.currentThisScopeFlags=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&(Ew.VAR|Ew.CLASS)&&!(t&Ew.ARROW))return t}},u(e,[{key:"inTopLevel",get:function(){return(this.currentScope().flags&Ew.PROGRAM)>0}},{key:"inFunction",get:function(){return(this.currentVarScopeFlags()&Ew.FUNCTION)>0}},{key:"allowSuper",get:function(){return(this.currentThisScopeFlags()&Ew.SUPER)>0}},{key:"allowDirectSuper",get:function(){return(this.currentThisScopeFlags()&Ew.DIRECT_SUPER)>0}},{key:"inClass",get:function(){return(this.currentThisScopeFlags()&Ew.CLASS)>0}},{key:"inClassAndNotInNonArrowFunction",get:function(){var e=this.currentThisScopeFlags();return(e&Ew.CLASS)>0&&0===(e&Ew.FUNCTION)}},{key:"inStaticBlock",get:function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e].flags;if(t&Ew.STATIC_BLOCK)return!0;if(t&(Ew.VAR|Ew.CLASS))return!1}}},{key:"inNonArrowFunction",get:function(){return(this.currentThisScopeFlags()&Ew.FUNCTION)>0}},{key:"treatFunctionsAsVar",get:function(){return this.treatFunctionsAsVarInScope(this.currentScope())}}])}(),Cw=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n0||(n&Tw.Lexical)>0}return!1},r.checkLocalExport=function(t){this.scopeStack[0].declareFunctions.has(t.name)||e.prototype.checkLocalExport.call(this,t)},u(t)}(kw);function _w(e,t){var r;void 0===e.trailingComments?e.trailingComments=t:(r=e.trailingComments).unshift.apply(r,t)}function Dw(e,t){var r;void 0===e.leadingComments?e.leadingComments=t:(r=e.leadingComments).unshift.apply(r,t)}function Iw(e,t){var r;void 0===e.innerComments?e.innerComments=t:(r=e.innerComments).unshift.apply(r,t)}function Ow(e,t,r){for(var a=null,n=t.length;null===a&&n>0;)a=t[--n];null===a||a.start>r.start?Iw(e,r.comments):_w(a,r.comments)}var Nw=function(e){function t(){return e.apply(this,arguments)||this}g(t,e);var r=t.prototype;return r.addComment=function(e){this.filename&&(e.loc.filename=this.filename);var t=this.state.commentsLen;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++},r.processComment=function(e){var t=this.state.commentStack,r=t.length;if(0!==r){var a=r-1,n=t[a];n.start===e.end&&(n.leadingNode=e,a--);for(var s=e.start;a>=0;a--){var o=t[a],i=o.end;if(!(i>s)){i===s&&(o.trailingNode=e);break}o.containingNode=e,this.finalizeComment(o),t.splice(a,1)}}},r.finalizeComment=function(e){var t=e.comments;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&_w(e.leadingNode,t),null!==e.trailingNode&&Dw(e.trailingNode,t);else{var r=e.containingNode,a=e.start;if(44===this.input.charCodeAt(this.offsetToSourcePos(a)-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Ow(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Ow(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Ow(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Ow(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Ow(r,r.specifiers,e);break;default:Iw(r,t)}else Iw(r,t)}},r.finalizeRemainingComments=function(){for(var e=this.state.commentStack,t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]},r.resetPreviousNodeTrailingComments=function(e){var t=this.state.commentStack,r=t.length;if(0!==r){var a=t[r-1];a.leadingNode===e&&(a.leadingNode=null)}},r.resetPreviousIdentifierLeadingComments=function(e){var t=this.state.commentStack,r=t.length;0!==r&&(t[r-1].trailingNode===e?t[r-1].trailingNode=null:r>=2&&t[r-2].trailingNode===e&&(t[r-2].trailingNode=null))},r.takeSurroundingComments=function(e,t,r){var a=this.state.commentStack,n=a.length;if(0!==n)for(var s=n-1;s>=0;s--){var o=a[s],i=o.end;if(o.start===r)o.leadingNode=e;else if(i===t)o.trailingNode=e;else if(i0},set:function(e){e?this.flags|=1:this.flags&=-2}},{key:"maybeInArrowParameters",get:function(){return(2&this.flags)>0},set:function(e){e?this.flags|=2:this.flags&=-3}},{key:"inType",get:function(){return(4&this.flags)>0},set:function(e){e?this.flags|=4:this.flags&=-5}},{key:"noAnonFunctionType",get:function(){return(8&this.flags)>0},set:function(e){e?this.flags|=8:this.flags&=-9}},{key:"hasFlowComment",get:function(){return(16&this.flags)>0},set:function(e){e?this.flags|=16:this.flags&=-17}},{key:"isAmbientContext",get:function(){return(32&this.flags)>0},set:function(e){e?this.flags|=32:this.flags&=-33}},{key:"inAbstractClass",get:function(){return(64&this.flags)>0},set:function(e){e?this.flags|=64:this.flags&=-65}},{key:"inDisallowConditionalTypesContext",get:function(){return(128&this.flags)>0},set:function(e){e?this.flags|=128:this.flags&=-129}},{key:"soloAwait",get:function(){return(256&this.flags)>0},set:function(e){e?this.flags|=256:this.flags&=-257}},{key:"inFSharpPipelineDirectBody",get:function(){return(512&this.flags)>0},set:function(e){e?this.flags|=512:this.flags&=-513}},{key:"canStartJSXElement",get:function(){return(1024&this.flags)>0},set:function(e){e?this.flags|=1024:this.flags&=-1025}},{key:"containsEsc",get:function(){return(2048&this.flags)>0},set:function(e){e?this.flags|=2048:this.flags&=-2049}},{key:"hasTopLevelAwait",get:function(){return(4096&this.flags)>0},set:function(e){e?this.flags|=4096:this.flags&=-4097}}])}();function zw(e,t,r){return new uR(r,e-t,e)}var Gw=new Set([103,109,115,105,121,117,100,118]),Vw=u((function(e){var t=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=t+e.start,this.end=t+e.end,this.loc=new pR(e.startLoc,e.endLoc)})),Kw=function(e){function t(t,r){var a;return(a=e.call(this)||this).isLookahead=void 0,a.tokens=[],a.errorHandlers_readInt={invalidDigit:function(e,t,r,n){return!!a.options.errorRecovery&&(a.raise(AR.InvalidDigit,zw(e,t,r),{radix:n}),!0)},numericSeparatorInEscapeSequence:a.errorBuilder(AR.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:a.errorBuilder(AR.UnexpectedNumericSeparator)},a.errorHandlers_readCodePoint=Object.assign({},a.errorHandlers_readInt,{invalidEscapeSequence:a.errorBuilder(AR.InvalidEscapeSequence),invalidCodePoint:a.errorBuilder(AR.InvalidCodePoint)}),a.errorHandlers_readStringContents_string=Object.assign({},a.errorHandlers_readCodePoint,{strictNumericEscape:function(e,t,r){a.recordStrictModeErrors(AR.StrictNumericEscape,zw(e,t,r))},unterminated:function(e,t,r){throw a.raise(AR.UnterminatedString,zw(e-1,t,r))}}),a.errorHandlers_readStringContents_template=Object.assign({},a.errorHandlers_readCodePoint,{strictNumericEscape:a.errorBuilder(AR.StrictNumericEscape),unterminated:function(e,t,r){throw a.raise(AR.UnterminatedTemplate,zw(e,t,r))}}),a.state=new Hw,a.state.init(t),a.input=r,a.length=r.length,a.comments=[],a.isLookahead=!1,a}g(t,e);var r=t.prototype;return r.pushToken=function(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength},r.next=function(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Vw(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()},r.eat=function(e){return!!this.match(e)&&(this.next(),!0)},r.match=function(e){return this.state.type===e},r.createLookaheadState=function(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}},r.lookahead=function(){var e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;var t=this.state;return this.state=e,t},r.nextTokenStart=function(){return this.nextTokenStartSince(this.state.pos)},r.nextTokenStartSince=function(e){return Lw.lastIndex=e,Lw.test(this.input)?Lw.lastIndex:e},r.lookaheadCharCode=function(){return this.input.charCodeAt(this.nextTokenStart())},r.nextTokenInLineStart=function(){return this.nextTokenInLineStartSince(this.state.pos)},r.nextTokenInLineStartSince=function(e){return Uw.lastIndex=e,Uw.test(this.input)?Uw.lastIndex:e},r.lookaheadInLineCharCode=function(){return this.input.charCodeAt(this.nextTokenInLineStart())},r.codePointAtPos=function(e){var t=this.input.charCodeAt(e);if(55296===(64512&t)&&++e=this.length?this.finishToken(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))},r.skipBlockComment=function(e){var t;this.isLookahead||(t=this.state.curPosition());var r=this.state.pos,a=this.input.indexOf(e,r+2);if(-1===a)throw this.raise(AR.UnterminatedComment,this.state.curPosition());for(this.state.pos=a+e.length,Fw.lastIndex=r+2;Fw.test(this.input)&&Fw.lastIndex<=a;)++this.state.curLine,this.state.lineStart=Fw.lastIndex;if(!this.isLookahead){var n={type:"CommentBlock",value:this.input.slice(r+2,a),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(a+e.length),loc:new pR(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}},r.skipLineComment=function(e){var t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());var a=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose))break e;var o=this.skipLineComment(3);void 0!==o&&(this.addComment(o),this.options.attachComment&&t.push(o))}else{if(60!==r||this.inModule||!this.options.annexB)break e;var i=this.state.pos;if(33!==this.input.charCodeAt(i+1)||45!==this.input.charCodeAt(i+2)||45!==this.input.charCodeAt(i+3))break e;var d=this.skipLineComment(4);void 0!==d&&(this.addComment(d),this.options.attachComment&&t.push(d))}}}if(t.length>0){var c=this.state.pos,l={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(c),comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(l)}},r.finishToken=function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)},r.replaceToken=function(e){this.state.type=e,this.updateContext()},r.readToken_numberSign=function(){if(0!==this.state.pos||!this.readToken_interpreter()){var e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(AR.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?AR.RecordExpressionHashIncorrectStartSyntaxType:AR.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else vo(t)?(++this.state.pos,this.finishToken(139,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}},r.readToken_dot=function(){var e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))},r.readToken_slash=function(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)},r.readToken_interpreter=function(){if(0!==this.state.pos||this.length<2)return!1;var e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;var t=this.state.pos;for(this.state.pos+=1;!Bw(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))},r.getTokenFromCode=function(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(AR.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(AR.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return void this.readRadixNumber(16);if(111===t||79===t)return void this.readRadixNumber(8);if(98===t||66===t)return void this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(vo(e))return void this.readWord(e)}throw this.raise(AR.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})},r.finishOp=function(e,t){var r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)},r.readRegexp=function(){for(var e,t,r=this.state.startLoc,a=this.state.start+1,n=this.state.pos;;++n){if(n>=this.length)throw this.raise(AR.UnterminatedRegExp,fR(r,1));var s=this.input.charCodeAt(n);if(Bw(s))throw this.raise(AR.UnterminatedRegExp,fR(r,1));if(e)e=!1;else{if(91===s)t=!0;else if(93===s&&t)t=!1;else if(47===s&&!t)break;e=92===s}}var o=this.input.slice(a,n);++n;for(var i="",d=function(){return fR(r,n+2-a)};n=2&&48===this.input.charCodeAt(t);if(i){var d=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(AR.StrictOctalLiteral,r),!this.state.strict){var c=d.indexOf("_");c>0&&this.raise(AR.ZeroDigitNumericSeparator,fR(r,c))}o=i&&!/[89]/.test(d)}var l=this.input.charCodeAt(this.state.pos);if(46!==l||o||(++this.state.pos,this.readInt(10),a=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||o||(43!==(l=this.input.charCodeAt(++this.state.pos))&&45!==l||++this.state.pos,null===this.readInt(10)&&this.raise(AR.InvalidOrMissingExponent,r),a=!0,s=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((a||i)&&this.raise(AR.InvalidBigIntLiteral,r),++this.state.pos,n=!0),109===l){this.expectPlugin("decimal",this.state.curPosition()),(s||i)&&this.raise(AR.InvalidDecimal,r),++this.state.pos;var u=!0}if(vo(this.codePointAtPos(this.state.pos)))throw this.raise(AR.NumberIdentifier,this.state.curPosition());var p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n)this.finishToken(136,p);else if(u)this.finishToken(137,p);else{var f=o?parseInt(p,8):parseFloat(p);this.finishToken(135,f)}},r.readCodePoint=function(e){var t=Uo(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint),r=t.code,a=t.pos;return this.state.pos=a,r},r.readString=function(e){var t=No(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string),r=t.str,a=t.pos,n=t.curLine,s=t.lineStart;this.state.pos=a+1,this.state.lineStart=s,this.state.curLine=n,this.finishToken(134,r)},r.readTemplateContinuation=function(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()},r.readTemplateToken=function(){var e=this.input[this.state.pos],t=No("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template),r=t.str,a=t.firstInvalidLoc,n=t.pos,s=t.curLine,o=t.lineStart;this.state.pos=n+1,this.state.lineStart=o,this.state.curLine=s,a&&(this.state.firstInvalidTemplateEscapePos=new uR(a.curLine,a.pos-a.lineStart,this.sourceToOffsetPos(a.pos))),96===this.input.codePointAt(n)?this.finishToken(24,a?null:e+r+"`"):(this.state.pos++,this.finishToken(25,a?null:e+r+"${"))},r.recordStrictModeErrors=function(e,t){var r=t.index;this.state.strict&&!this.state.strictErrors.has(r)?this.raise(e,t):this.state.strictErrors.set(r,[e,t])},r.readWord1=function(e){this.state.containsEsc=!1;var t="",r=this.state.pos,a=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos=0;o--){var i=s[o];if(i.loc.index===n)return s[o]=e(a,r);if(i.loc.index0}},{key:"hasYield",get:function(){return(this.currentFlags()&aE.PARAM_YIELD)>0}},{key:"hasReturn",get:function(){return(this.currentFlags()&aE.PARAM_RETURN)>0}},{key:"hasIn",get:function(){return(this.currentFlags()&aE.PARAM_IN)>0}}])}();function sE(e,t){return(e?aE.PARAM_AWAIT:0)|(t?aE.PARAM_YIELD:0)}var oE=function(e){function t(){return e.apply(this,arguments)||this}g(t,e);var r=t.prototype;return r.addExtra=function(e,t,r,a){if(void 0===a&&(a=!0),e){var n=e.extra;null==n&&(n={},e.extra=n),a?n[t]=r:Object.defineProperty(n,t,{enumerable:a,value:r})}},r.isContextual=function(e){return this.state.type===e&&!this.state.containsEsc},r.isUnparsedContextual=function(e,t){var r=e+t.length;if(this.input.slice(e,r)===t){var a=this.input.charCodeAt(r);return!(xo(a)||55296===(64512&a))}return!1},r.isLookaheadContextual=function(e){var t=this.nextTokenStart();return this.isUnparsedContextual(t,e)},r.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},r.expectContextual=function(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}},r.canInsertSemicolon=function(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()},r.hasPrecedingLineBreak=function(){return Mw(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)},r.hasFollowingLineBreak=function(){return Mw(this.input,this.state.end,this.nextTokenStart())},r.isLineTerminator=function(){return this.eat(13)||this.canInsertSemicolon()},r.semicolon=function(e){void 0===e&&(e=!0),(e?this.isLineTerminator():this.eat(13))||this.raise(AR.MissingSemicolon,this.state.lastTokEndLoc)},r.expect=function(e,t){this.eat(e)||this.unexpected(t,e)},r.tryParse=function(e,t){void 0===t&&(t=this.state.clone());var r={node:null};try{var a=e((function(e){throw void 0===e&&(e=null),r.node=e,r}));if(this.state.errors.length>t.errors.length){var n=this.state;return this.state=t,this.state.tokensLength=n.tokensLength,{node:a,error:n.errors[t.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:a,error:null,thrown:!1,aborted:!1,failState:null}}catch(SX){var s=this.state;if(this.state=t,SX instanceof SyntaxError)return{node:null,error:SX,thrown:!0,aborted:!1,failState:s};if(SX===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:s};throw SX}},r.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssignLoc,a=e.doubleProtoLoc,n=e.privateKeyLoc,s=e.optionalParametersLoc;if(!t)return!!r||!!a||!!s||!!n;null!=r&&this.raise(AR.InvalidCoverInitializedName,r),null!=a&&this.raise(AR.DuplicateProto,a),null!=n&&this.raise(AR.UnexpectedPrivateField,n),null!=s&&this.unexpected(s)},r.isLiteralPropertyName=function(){return aw(this.state.type)},r.isPrivateName=function(e){return"PrivateName"===e.type},r.getPrivateNameSV=function(e){return e.id.name},r.hasPropertyAsPrivateName=function(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)},r.isObjectProperty=function(e){return"ObjectProperty"===e.type},r.isObjectMethod=function(e){return"ObjectMethod"===e.type},r.initializeScopes=function(e){var t=this;void 0===e&&(e="module"===this.options.sourceType);var r=this.state.labels;this.state.labels=[];var a=this.exportedIdentifiers;this.exportedIdentifiers=new Set;var n=this.inModule;this.inModule=e;var s=this.scope,o=this.getScopeHandler();this.scope=new o(this,e);var i=this.prodParam;this.prodParam=new nE;var d=this.classScope;this.classScope=new Jw(this);var c=this.expressionScope;return this.expressionScope=new Qw(this),function(){t.state.labels=r,t.exportedIdentifiers=a,t.inModule=n,t.scope=s,t.prodParam=i,t.classScope=d,t.expressionScope=c}},r.enterInitialScopes=function(){var e=aE.PARAM;this.inModule&&(e|=aE.PARAM_AWAIT),this.scope.enter(Ew.PROGRAM),this.prodParam.enter(e)},r.checkDestructuringPrivate=function(e){var t=e.privateKeyLoc;null!==t&&this.expectPlugin("destructuringPrivate",t)},u(t)}(Kw),iE=u((function(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null})),dE=u((function(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new pR(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)})),cE=dE.prototype;function lE(e){return uE(e)}function uE(e){var t=e.type,r=e.start,a=e.end,n=e.loc,s=e.range,o=e.extra,i=e.name,d=Object.create(cE);return d.type=t,d.start=r,d.end=a,d.loc=n,d.range=s,d.extra=o,d.name=i,"Placeholder"===t&&(d.expectedNode=e.expectedNode),d}function pE(e){var t=e.type,r=e.start,a=e.end,n=e.loc,s=e.range,o=e.extra;if("Placeholder"===t)return lE(e);var i=Object.create(cE);return i.type=t,i.start=r,i.end=a,i.loc=n,i.range=s,void 0!==e.raw?i.raw=e.raw:i.extra=o,i.value=e.value,i}cE.__clone=function(){for(var e=new dE(void 0,this.start,this.loc.start),t=Object.keys(this),r=0,a=t.length;r async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:function(e){return"`declare export "+e.unsupportedExportKind+"` is not supported. Use `"+e.suggestion+"` instead."},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function yE(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}function bE(e){return"type"===e.importKind||"typeof"===e.importKind}var vE={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function xE(e,t){for(var r=[],a=[],n=0;nr.index+1&&this.raise(hE.UnexpectedSpaceBetweenModuloChecks,r),this.eat(10)?(t.value=e.prototype.parseExpression.call(this),this.expect(11),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")},r.flowParseTypeAndPredicateInitialiser=function(){var e=this.state.inType;this.state.inType=!0,this.expect(14);var t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]},r.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")},r.flowParseDeclareFunction=function(e){this.next();var t=e.id=this.parseIdentifier(),r=this.startNode(),a=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);var n=this.flowParseFunctionTypeParams();r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11);var s=this.flowParseTypeAndPredicateInitialiser();return r.returnType=s[0],e.predicate=s[1],a.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(a,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,jw.TYPE_FLOW_DECLARE_FN,e.id.loc.start),this.finishNode(e,"DeclareFunction")},r.flowParseDeclare=function(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(hE.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e)):this.isContextual(130)?this.flowParseDeclareTypeAlias(e):this.isContextual(131)?this.flowParseDeclareOpaqueType(e):this.isContextual(129)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()},r.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,jw.TYPE_VAR,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")},r.flowParseDeclareModule=function(t){var r=this;this.scope.enter(Ew.OTHER),this.match(134)?t.id=e.prototype.parseExprAtom.call(this):t.id=this.parseIdentifier();var a=t.body=this.startNode(),n=a.body=[];for(this.expect(5);!this.match(8);){var s=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(hE.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),e.prototype.parseImport.call(this,s)):(this.expectContextual(125,hE.UnsupportedStatementInDeclareModule),s=this.flowParseDeclare(s,!0)),n.push(s)}this.scope.exit(),this.expect(8),this.finishNode(a,"BlockStatement");var o=null,i=!1;return n.forEach((function(e){yE(e)?("CommonJS"===o&&r.raise(hE.AmbiguousDeclareModuleKind,e),o="ES"):"DeclareModuleExports"===e.type&&(i&&r.raise(hE.DuplicateDeclareModuleExports,e),"ES"===o&&r.raise(hE.AmbiguousDeclareModuleKind,e),o="CommonJS",i=!0)})),t.kind=o||"CommonJS",this.finishNode(t,"DeclareModule")},r.flowParseDeclareExportDeclaration=function(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!t){var r=this.state.value;throw this.raise(hE.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:vE[r]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()},r.flowParseDeclareModuleExports=function(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},r.flowParseDeclareTypeAlias=function(e){this.next();var t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t},r.flowParseDeclareOpaqueType=function(e){this.next();var t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t},r.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")},r.flowParseInterfaceish=function(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?jw.TYPE_FUNCTION:jw.TYPE_LEXICAL,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(e.implements=[],e.mixins=[],this.eatContextual(117))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(113))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})},r.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},r.flowParseInterface=function(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")},r.checkNotUnderscore=function(e){"_"===e&&this.raise(hE.UnexpectedReservedUnderscore,this.state.startLoc)},r.checkReservedType=function(e,t,r){mE.has(e)&&this.raise(r?hE.AssignReservedType:hE.UnexpectedReservedType,t,{reservedType:e})},r.flowParseRestrictedIdentifier=function(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)},r.flowParseTypeAlias=function(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,jw.TYPE_LEXICAL,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")},r.flowParseOpaqueType=function(e,t){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,jw.TYPE_LEXICAL,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")},r.flowParseTypeParameter=function(e){void 0===e&&(e=!1);var t=this.state.startLoc,r=this.startNode(),a=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=a,r.bound=n.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(hE.MissingTypeParamDefault,t),this.finishNode(r,"TypeParameter")},r.flowParseTypeParameterDeclaration=function(){var e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();var r=!1;do{var a=this.flowParseTypeParameter(r);t.params.push(a),a.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")},r.flowParseTypeParameterInstantiation=function(){var e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);var r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},r.flowParseTypeParameterInstantiationCallOrNew=function(){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},r.flowParseInterfaceType=function(){var e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")},r.flowParseObjectPropertyKey=function(){return this.match(135)||this.match(134)?e.prototype.parseExprAtom.call(this):this.parseIdentifier(!0)},r.flowParseObjectTypeIndexer=function(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")},r.flowParseObjectTypeInternalSlot=function(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")},r.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},r.flowParseObjectTypeCallProperty=function(e,t){var r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")},r.flowParseObjectType=function(e){var t=e.allowStatic,r=e.allowExact,a=e.allowSpread,n=e.allowProto,s=e.allowInexact,o=this.state.inType;this.state.inType=!0;var i,d,c=this.startNode();c.callProperties=[],c.properties=[],c.indexers=[],c.internalSlots=[];var l=!1;for(r&&this.match(6)?(this.expect(6),i=9,d=!0):(this.expect(5),i=8,d=!1),c.exact=d;!this.match(i);){var u=!1,p=null,f=null,g=this.startNode();if(n&&this.isContextual(118)){var m=this.lookahead();14!==m.type&&17!==m.type&&(this.next(),p=this.state.startLoc,t=!1)}if(t&&this.isContextual(106)){var h=this.lookahead();14!==h.type&&17!==h.type&&(this.next(),u=!0)}var y=this.flowParseVariance();if(this.eat(0))null!=p&&this.unexpected(p),this.eat(0)?(y&&this.unexpected(y.loc.start),c.internalSlots.push(this.flowParseObjectTypeInternalSlot(g,u))):c.indexers.push(this.flowParseObjectTypeIndexer(g,u,y));else if(this.match(10)||this.match(47))null!=p&&this.unexpected(p),y&&this.unexpected(y.loc.start),c.callProperties.push(this.flowParseObjectTypeCallProperty(g,u));else{var b="init";(this.isContextual(99)||this.isContextual(104))&&aw(this.lookahead().type)&&(b=this.state.value,this.next());var v=this.flowParseObjectTypeProperty(g,u,p,y,b,a,null!=s?s:!d);null===v?(l=!0,f=this.state.lastTokStartLoc):c.properties.push(v)}this.flowObjectTypeSemicolon(),!f||this.match(8)||this.match(9)||this.raise(hE.UnexpectedExplicitInexactInObject,f)}this.expect(i),a&&(c.inexact=l);var x=this.finishNode(c,"ObjectTypeAnnotation");return this.state.inType=o,x},r.flowParseObjectTypeProperty=function(e,t,r,a,n,s,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?o||this.raise(hE.InexactInsideExact,this.state.lastTokStartLoc):this.raise(hE.InexactInsideNonObject,this.state.lastTokStartLoc),a&&this.raise(hE.InexactVariance,a),null):(s||this.raise(hE.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=r&&this.unexpected(r),a&&this.raise(hE.SpreadVariance,a),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=n;var i=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),a&&this.unexpected(a.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(hE.ThisParamBannedInConstructor,e.value.this)):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(i=!0),e.value=this.flowParseTypeInitialiser(),e.variance=a),e.optional=i,this.finishNode(e,"ObjectTypeProperty")},r.flowCheckGetterSetterParams=function(e){var t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?hE.GetterMayNotHaveThisParam:hE.SetterMayNotHaveThisParam,e.value.this),r!==t&&this.raise("get"===e.kind?AR.BadGetterArity:AR.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(AR.BadSetterRestParameter,e)},r.flowObjectTypeSemicolon=function(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()},r.flowParseQualifiedTypeIdentifier=function(e,t){null!=e||(e=this.state.startLoc);for(var r=t||this.flowParseRestrictedIdentifier(!0);this.eat(16);){var a=this.startNodeAt(e);a.qualification=r,a.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(a,"QualifiedTypeIdentifier")}return r},r.flowParseGenericType=function(e,t){var r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")},r.flowParseTypeofType=function(){var e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},r.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(0);this.state.pos0){var g=[].concat(o);if(f.length>0){this.state=s,this.state.noArrowAt=g;for(var m=0;m1&&this.raise(hE.AmbiguousConditionalArrow,s.startLoc),l&&1===p.length){this.state=s,g.push(p[0].start),this.state.noArrowAt=g;var b=this.tryParseConditionalConsequent();c=b.consequent,l=b.failed}}return this.getArrowLikeExpressions(c,!0),this.state.noArrowAt=o,this.expect(14),i.test=e,i.consequent=c,i.alternate=this.forwardNoArrowParamsConversionAt(i,(function(){return a.parseMaybeAssign(void 0,void 0)})),this.finishNode(i,"ConditionalExpression")},r.tryParseConditionalConsequent=function(){this.state.noArrowParamsConversionAt.push(this.state.start);var e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}},r.getArrowLikeExpressions=function(e,t){for(var r=this,a=[e],n=[];0!==a.length;){var s=a.pop();"ArrowFunctionExpression"===s.type&&"BlockStatement"!==s.body.type?(s.typeParameters||!s.returnType?this.finishArrowValidation(s):n.push(s),a.push(s.body)):"ConditionalExpression"===s.type&&(a.push(s.consequent),a.push(s.alternate))}return t?(n.forEach((function(e){return r.finishArrowValidation(e)})),[n,[]]):xE(n,(function(e){return e.params.every((function(e){return r.isAssignable(e,!0)}))}))},r.finishArrowValidation=function(t){var r;this.toAssignableList(t.params,null==(r=t.extra)?void 0:r.trailingCommaLoc,!1),this.scope.enter(Ew.FUNCTION|Ew.ARROW),e.prototype.checkParams.call(this,t,!1,!0),this.scope.exit()},r.forwardNoArrowParamsConversionAt=function(e,t){var r;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r},r.parseParenItem=function(t,r){var a=e.prototype.parseParenItem.call(this,t,r);if(this.eat(17)&&(a.optional=!0,this.resetEndLocation(t)),this.match(14)){var n=this.startNodeAt(r);return n.expression=a,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return a},r.assertModuleNodeAllowed=function(t){"ImportDeclaration"===t.type&&("type"===t.importKind||"typeof"===t.importKind)||"ExportNamedDeclaration"===t.type&&"type"===t.exportKind||"ExportAllDeclaration"===t.type&&"type"===t.exportKind||e.prototype.assertModuleNodeAllowed.call(this,t)},r.parseExportDeclaration=function(t){if(this.isContextual(130)){t.exportKind="type";var r=this.startNode();return this.next(),this.match(5)?(t.specifiers=this.parseExportSpecifiers(!0),e.prototype.parseExportFrom.call(this,t),null):this.flowParseTypeAlias(r)}if(this.isContextual(131)){t.exportKind="type";var a=this.startNode();return this.next(),this.flowParseOpaqueType(a,!1)}if(this.isContextual(129)){t.exportKind="type";var n=this.startNode();return this.next(),this.flowParseInterface(n)}if(this.isContextual(126)){t.exportKind="value";var s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}return e.prototype.parseExportDeclaration.call(this,t)},r.eatExportStar=function(t){return!!e.prototype.eatExportStar.call(this,t)||!(!this.isContextual(130)||55!==this.lookahead().type)&&(t.exportKind="type",this.next(),this.next(),!0)},r.maybeParseExportNamespaceSpecifier=function(t){var r=this.state.startLoc,a=e.prototype.maybeParseExportNamespaceSpecifier.call(this,t);return a&&"type"===t.exportKind&&this.unexpected(r),a},r.parseClassId=function(t,r,a){e.prototype.parseClassId.call(this,t,r,a),this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration())},r.parseClassMember=function(t,r,a){var n=this.state.startLoc;if(this.isContextual(125)){if(e.prototype.parseClassMemberFromModifier.call(this,t,r))return;r.declare=!0}e.prototype.parseClassMember.call(this,t,r,a),r.declare&&("ClassProperty"!==r.type&&"ClassPrivateProperty"!==r.type&&"PropertyDefinition"!==r.type?this.raise(hE.DeclareClassElement,n):r.value&&this.raise(hE.DeclareClassFieldInitializer,r.value))},r.isIterator=function(e){return"iterator"===e||"asyncIterator"===e},r.readIterator=function(){var t=e.prototype.readWord1.call(this),r="@@"+t;this.isIterator(t)&&this.state.inType||this.raise(AR.InvalidIdentifier,this.state.curPosition(),{identifierName:r}),this.finishToken(132,r)},r.getTokenFromCode=function(t){var r=this.input.charCodeAt(this.state.pos+1);123===t&&124===r?this.finishOp(6,2):!this.state.inType||62!==t&&60!==t?this.state.inType&&63===t?46===r?this.finishOp(18,2):this.finishOp(17,1):xw(t,r,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):e.prototype.getTokenFromCode.call(this,t):this.finishOp(62===t?48:47,1)},r.isAssignable=function(t,r){return"TypeCastExpression"===t.type?this.isAssignable(t.expression,r):e.prototype.isAssignable.call(this,t,r)},r.toAssignable=function(t,r){void 0===r&&(r=!1),r||"AssignmentExpression"!==t.type||"TypeCastExpression"!==t.left.type||(t.left=this.typeCastToParameter(t.left)),e.prototype.toAssignable.call(this,t,r)},r.toAssignableList=function(t,r,a){for(var n=0;n1)&&t||this.raise(hE.TypeCastInPattern,n.typeAnnotation)}return e},r.parseArrayLike=function(t,r,a,n){var s=e.prototype.parseArrayLike.call(this,t,r,a,n);return r&&!this.state.maybeInArrowParameters&&this.toReferencedList(s.elements),s},r.isValidLVal=function(t,r,a){return"TypeCastExpression"===t||e.prototype.isValidLVal.call(this,t,r,a)},r.parseClassProperty=function(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.prototype.parseClassProperty.call(this,t)},r.parseClassPrivateProperty=function(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.prototype.parseClassPrivateProperty.call(this,t)},r.isClassMethod=function(){return this.match(47)||e.prototype.isClassMethod.call(this)},r.isClassProperty=function(){return this.match(14)||e.prototype.isClassProperty.call(this)},r.isNonstaticConstructor=function(t){return!this.match(14)&&e.prototype.isNonstaticConstructor.call(this,t)},r.pushClassMethod=function(t,r,a,n,s,o){if(r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),e.prototype.pushClassMethod.call(this,t,r,a,n,s,o),r.params&&s){var i=r.params;i.length>0&&this.isThisParam(i[0])&&this.raise(hE.ThisParamBannedInConstructor,r)}else if("MethodDefinition"===r.type&&s&&r.value.params){var d=r.value.params;d.length>0&&this.isThisParam(d[0])&&this.raise(hE.ThisParamBannedInConstructor,r)}},r.pushClassPrivateMethod=function(t,r,a,n){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),e.prototype.pushClassPrivateMethod.call(this,t,r,a,n)},r.parseClassSuper=function(t){if(e.prototype.parseClassSuper.call(this,t),t.superClass&&this.match(47)&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();var r=t.implements=[];do{var a=this.startNode();a.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?a.typeParameters=this.flowParseTypeParameterInstantiation():a.typeParameters=null,r.push(this.finishNode(a,"ClassImplements"))}while(this.eat(12))}},r.checkGetterSetterParams=function(t){e.prototype.checkGetterSetterParams.call(this,t);var r=this.getObjectOrClassMethodParams(t);if(r.length>0){var a=r[0];this.isThisParam(a)&&"get"===t.kind?this.raise(hE.GetterMayNotHaveThisParam,a):this.isThisParam(a)&&this.raise(hE.SetterMayNotHaveThisParam,a)}},r.parsePropertyNamePrefixOperator=function(e){e.variance=this.flowParseVariance()},r.parseObjPropValue=function(t,r,a,n,s,o,i){var d;t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&!o&&(d=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());var c=e.prototype.parseObjPropValue.call(this,t,r,a,n,s,o,i);return d&&((c.value||c).typeParameters=d),c},r.parseFunctionParamType=function(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(hE.PatternIsOptional,e),this.isThisParam(e)&&this.raise(hE.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(hE.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(hE.ThisParamNoDefault,e),this.resetEndLocation(e),e},r.parseMaybeDefault=function(t,r){var a=e.prototype.parseMaybeDefault.call(this,t,r);return"AssignmentPattern"===a.type&&a.typeAnnotation&&a.right.start0&&this.raise(hE.ThisParamMustBeFirst,t.params[s]);e.prototype.checkParams.call(this,t,r,a,n)}},r.parseParenAndDistinguishExpression=function(t){return e.prototype.parseParenAndDistinguishExpression.call(this,t&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))},r.parseSubscripts=function(t,r,a){var n=this;if("Identifier"===t.type&&"async"===t.name&&this.state.noArrowAt.includes(r.index)){this.next();var s=this.startNodeAt(r);s.callee=t,s.arguments=e.prototype.parseCallExpressionArguments.call(this,11),t=this.finishNode(s,"CallExpression")}else if("Identifier"===t.type&&"async"===t.name&&this.match(47)){var o=this.state.clone(),i=this.tryParse((function(e){return n.parseAsyncArrowWithTypeParameters(r)||e()}),o);if(!i.error&&!i.aborted)return i.node;var d=this.tryParse((function(){return e.prototype.parseSubscripts.call(n,t,r,a)}),o);if(d.node&&!d.error)return d.node;if(i.node)return this.state=i.failState,i.node;if(d.node)return this.state=d.failState,d.node;throw i.error||d.error}return e.prototype.parseSubscripts.call(this,t,r,a)},r.parseSubscript=function(t,r,a,n){var s=this;if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,a)return n.stop=!0,t;this.next();var o=this.startNodeAt(r);return o.callee=t,o.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),o.arguments=this.parseCallExpressionArguments(11),o.optional=!0,this.finishCallExpression(o,!0)}if(!a&&this.shouldParseTypes()&&this.match(47)){var i=this.startNodeAt(r);i.callee=t;var d=this.tryParse((function(){return i.typeArguments=s.flowParseTypeParameterInstantiationCallOrNew(),s.expect(10),i.arguments=e.prototype.parseCallExpressionArguments.call(s,11),n.optionalChainMember&&(i.optional=!1),s.finishCallExpression(i,n.optionalChainMember)}));if(d.node)return d.error&&(this.state=d.failState),d.node}return e.prototype.parseSubscript.call(this,t,r,a,n)},r.parseNewCallee=function(t){var r=this;e.prototype.parseNewCallee.call(this,t);var a=null;this.shouldParseTypes()&&this.match(47)&&(a=this.tryParse((function(){return r.flowParseTypeParameterInstantiationCallOrNew()})).node),t.typeArguments=a},r.parseAsyncArrowWithTypeParameters=function(t){var r=this.startNodeAt(t);if(this.parseFunctionParams(r,!1),this.parseArrow(r))return e.prototype.parseArrowExpression.call(this,r,void 0,!0)},r.readToken_mult_modulo=function(t){var r=this.input.charCodeAt(this.state.pos+1);if(42===t&&47===r&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();e.prototype.readToken_mult_modulo.call(this,t)},r.readToken_pipe_amp=function(t){var r=this.input.charCodeAt(this.state.pos+1);124!==t||125!==r?e.prototype.readToken_pipe_amp.call(this,t):this.finishOp(9,2)},r.parseTopLevel=function(t,r){var a=e.prototype.parseTopLevel.call(this,t,r);return this.state.hasFlowComment&&this.raise(hE.UnterminatedFlowComment,this.state.curPosition()),a},r.skipBlockComment=function(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return e.prototype.skipBlockComment.call(this,this.state.hasFlowComment?"*-/":"*/");if(this.state.hasFlowComment)throw this.raise(hE.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();var t=this.skipFlowComment();t&&(this.state.pos+=t,this.state.hasFlowComment=!0)},r.skipFlowComment=function(){for(var e=this.state.pos,t=2;[32,9].includes(this.input.charCodeAt(e+t));)t++;var r=this.input.charCodeAt(t+e),a=this.input.charCodeAt(t+e+1);return 58===r&&58===a?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==a&&t},r.hasFlowCommentCompletion=function(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(AR.UnterminatedComment,this.state.curPosition())},r.flowEnumErrorBooleanMemberNotInitialized=function(e,t){var r=t.enumName,a=t.memberName;this.raise(hE.EnumBooleanMemberNotInitialized,e,{memberName:a,enumName:r})},r.flowEnumErrorInvalidMemberInitializer=function(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?hE.EnumInvalidMemberInitializerSymbolType:hE.EnumInvalidMemberInitializerPrimaryType:hE.EnumInvalidMemberInitializerUnknownType,e,t)},r.flowEnumErrorNumberMemberNotInitialized=function(e,t){this.raise(hE.EnumNumberMemberNotInitialized,e,t)},r.flowEnumErrorStringMemberInconsistentlyInitialized=function(e,t){this.raise(hE.EnumStringMemberInconsistentlyInitialized,e,t)},r.flowEnumMemberInit=function(){var e=this,t=this.state.startLoc,r=function(){return e.match(12)||e.match(8)};switch(this.state.type){case 135:var a=this.parseNumericLiteral(this.state.value);return r()?{type:"number",loc:a.loc.start,value:a}:{type:"invalid",loc:t};case 134:var n=this.parseStringLiteral(this.state.value);return r()?{type:"string",loc:n.loc.start,value:n}:{type:"invalid",loc:t};case 85:case 86:var s=this.parseBooleanLiteral(this.match(85));return r()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:t};default:return{type:"invalid",loc:t}}},r.flowEnumMemberRaw=function(){var e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}},r.flowEnumCheckExplicitTypeMismatch=function(e,t,r){var a=t.explicitType;null!==a&&a!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)},r.flowEnumMembers=function(e){for(var t=e.enumName,r=e.explicitType,a=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;!this.match(8);){if(this.eat(21)){s=!0;break}var o=this.startNode(),i=this.flowEnumMemberRaw(),d=i.id,c=i.init,l=d.name;if(""!==l){/^[a-z]/.test(l)&&this.raise(hE.EnumInvalidMemberName,d,{memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:t}),a.has(l)&&this.raise(hE.EnumDuplicateMemberName,d,{memberName:l,enumName:t}),a.add(l);var u={enumName:t,explicitType:r,memberName:l};switch(o.id=d,c.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"boolean"),o.init=c.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"number"),o.init=c.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(c.loc,u,"string"),o.init=c.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,u);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,u);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}}return{members:n,hasUnknownMembers:s}},r.flowEnumStringMembers=function(e,t,r){var a=r.enumName;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(var n=0;n=f){for(var g=0,m=i.defaultedMembers;g=f){for(var y=0,b=i.defaultedMembers;y",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},SE=TR(RE||(RE=T(["jsx"])))({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:function(e){return"Expected corresponding JSX closing tag for <"+e.openingTagName+">."},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:function(e){var t=e.unexpected;return"Unexpected token `"+t+"`. Did you mean `"+e.HTMLEntity+"` or `{'"+t+"'}`?"},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function TE(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function AE(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return AE(e.object)+"."+AE(e.property);throw new Error("Node had unexpected type: "+e.type)}var kE,CE=function(e){return function(e){function t(){return e.apply(this,arguments)||this}g(t,e);var r=t.prototype;return r.jsxReadToken=function(){for(var t="",r=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(SE.UnterminatedJsxContent,this.state.startLoc);var a=this.input.charCodeAt(this.state.pos);switch(a){case 60:case 123:return this.state.pos===this.state.start?void(60===a&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):e.prototype.getTokenFromCode.call(this,a)):(t+=this.input.slice(r,this.state.pos),void this.finishToken(142,t));case 38:t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos;break;default:Bw(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!0),r=this.state.pos):++this.state.pos}}},r.jsxReadNewLine=function(e){var t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t},r.jsxReadString=function(e){for(var t="",r=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(AR.UnterminatedString,this.state.startLoc);var a=this.input.charCodeAt(this.state.pos);if(a===e)break;38===a?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):Bw(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(134,t)},r.jsxReadEntity=function(){var e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;var t=10;120===this.codePointAtPos(this.state.pos)&&(t=16,++this.state.pos);var r=this.readInt(t,void 0,!1,"bail");if(null!==r&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(r)}else{for(var a=0,n=!1;a++<10&&this.state.pos1)for(var a=0;a0?!(a&jw.FLAG_TS_ENUM)||!!(a&jw.FLAG_TS_CONST_ENUM)!==(4&n)>0:a&jw.FLAG_CLASS&&(8&n)>0?!!(t.names.get(r)&Tw.Lexical)&&!!(a&jw.KIND_VALUE):!!(a&jw.KIND_TYPE&&(1&n)>0)||e.prototype.isRedeclaredInScope.call(this,t,r,a)},r.checkLocalExport=function(t){var r=t.name;if(!this.hasImport(r)){for(var a=this.scopeStack.length-1;a>=0;a--){var n=this.scopeStack[a].tsNames.get(r);if((1&n)>0||(16&n)>0)return}e.prototype.checkLocalExport.call(this,t)}},u(t)}(kw),DE=function(e){return"ParenthesizedExpression"===e.type?DE(e.expression):e},IE={ALLOW_EMPTY:1,IS_FUNCTION_PARAMS:2,IS_CONSTRUCTOR_PARAMS:4},OE=function(e){function t(){return e.apply(this,arguments)||this}g(t,e);var r=t.prototype;return r.toAssignable=function(e,t){var r,a;void 0===t&&(t=!1);var n=void 0;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(n=DE(e),t?"Identifier"===n.type?this.expressionScope.recordArrowParameterBindingError(AR.InvalidParenthesizedAssignment,e):"MemberExpression"===n.type||this.isOptionalMemberExpression(n)||this.raise(AR.InvalidParenthesizedAssignment,e):this.raise(AR.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(var s=0,o=e.properties.length,i=o-1;s() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:function(e){var t=e.typeParameterName;return"Single type parameter "+t+" should have a trailing comma. Example usage: <"+t+",>."},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:function(e){return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got "+e.type+"."}});function ME(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function LE(e){return"private"===e||"public"===e||"protected"===e}function UE(e){return"in"===e||"out"===e}var qE,WE=function(e){return function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n0&&(this.raise(AR.BadGetterArity,this.state.curPosition()),this.isThisParam(a[n][0])&&this.raise(BE.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===a.kind){if(1!==a[n].length)this.raise(AR.BadSetterArity,this.state.curPosition());else{var o=a[n][0];this.isThisParam(o)&&this.raise(BE.AccessorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===o.type&&o.optional&&this.raise(BE.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===o.type&&this.raise(BE.SetAccessorCannotHaveRestParameter,this.state.curPosition())}a[s]&&this.raise(BE.SetAccessorCannotHaveReturnType,a[s])}else a.kind="method";return this.finishNode(a,"TSMethodSignature")}var i=r;t&&(i.readonly=!0);var d=this.tsTryParseTypeAnnotation();return d&&(i.typeAnnotation=d),this.tsParseTypeMemberSemicolon(),this.finishNode(i,"TSPropertySignature")},r.tsParseTypeMember=function(){var t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){var r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},t);var a=this.tsTryParseIndexSignature(t);return a||(e.prototype.parsePropertyName.call(this,t),t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||!this.tsTokenCanFollowModifier()||(t.kind=t.key.name,e.prototype.parsePropertyName.call(this,t)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))},r.tsParseTypeLiteral=function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")},r.tsParseObjectTypeMembers=function(){this.expect(5);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e},r.tsIsStartOfMappedType=function(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))},r.tsParseMappedType=function(){var e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);var t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(t,"TSTypeParameter"),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")},r.tsParseTupleType=function(){var e=this,t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var r=!1;return t.elementTypes.forEach((function(t){var a=t.type;!r||"TSRestType"===a||"TSOptionalType"===a||"TSNamedTupleMember"===a&&t.optional||e.raise(BE.OptionalTypeBeforeRequired,t),r||(r="TSNamedTupleMember"===a&&t.optional||"TSOptionalType"===a)})),this.finishNode(t,"TSTupleType")},r.tsParseTupleElementType=function(){var e,t,r,a,n,s=this.state.startLoc,o=this.eat(21),i=rw(this.state.type)?this.lookaheadCharCode():null;if(58===i)e=!0,r=!1,t=this.parseIdentifier(!0),this.expect(14),a=this.tsParseType();else if(63===i){r=!0;var d=this.state.startLoc,c=this.state.value,l=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(e=!0,t=this.createIdentifier(this.startNodeAt(d),c),this.expect(17),this.expect(14),a=this.tsParseType()):(e=!1,a=l,this.expect(17))}else a=this.tsParseType(),r=this.eat(17),e=this.eat(14);if(e)t?((n=this.startNodeAtNode(t)).optional=r,n.label=t,n.elementType=a,this.eat(17)&&(n.optional=!0,this.raise(BE.TupleOptionalAfterType,this.state.lastTokStartLoc))):((n=this.startNodeAtNode(a)).optional=r,this.raise(BE.InvalidTupleMemberLabel,a),n.label=a,n.elementType=this.tsParseType()),a=this.finishNode(n,"TSNamedTupleMember");else if(r){var u=this.startNodeAtNode(a);u.typeAnnotation=a,a=this.finishNode(u,"TSOptionalType")}if(o){var p=this.startNodeAt(s);p.typeAnnotation=a,a=this.finishNode(p,"TSRestType")}return a},r.tsParseParenthesizedType=function(){var e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")},r.tsParseFunctionOrConstructorType=function(e,t){var r=this,a=this.startNode();return"TSConstructorType"===e&&(a.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((function(){return r.tsFillSignature(19,a)})),this.finishNode(a,e)},r.tsParseLiteralTypeNode=function(){var t=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:t.literal=e.prototype.parseExprAtom.call(this);break;default:this.unexpected()}return this.finishNode(t,"TSLiteralType")},r.tsParseTemplateLiteralType=function(){var t=this.startNode();return t.literal=e.prototype.parseTemplate.call(this,!1),this.finishNode(t,"TSLiteralType")},r.parseTemplateSubstitution=function(){return this.state.inType?this.tsParseType():e.prototype.parseTemplateSubstitution.call(this)},r.tsParseThisTypeOrThisTypePredicate=function(){var e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e},r.tsParseNonArrayType=function(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){var e=this.startNode(),t=this.lookahead();return 135!==t.type&&136!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:var r=this.state.type;if(ew(r)||88===r||84===r){var a=88===r?"TSVoidKeyword":84===r?"TSNullKeyword":ME(this.state.value);if(void 0!==a&&46!==this.lookaheadCharCode()){var n=this.startNode();return this.next(),this.finishNode(n,a)}return this.tsParseTypeReference()}}this.unexpected()},r.tsParseArrayTypeOrHigher=function(){for(var e=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){var t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{var r=this.startNodeAtNode(e);r.objectType=e,r.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(r,"TSIndexedAccessType")}return e},r.tsParseTypeOperator=function(){var e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")},r.tsCheckTypeAnnotationForReadOnly=function(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(BE.UnexpectedReadonly,e)}},r.tsParseInferType=function(){var e=this,t=this.startNode();this.expectContextual(115);var r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsTryParse((function(){return e.tsParseConstraintForInferType()})),t.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(t,"TSInferType")},r.tsParseConstraintForInferType=function(){var e=this;if(this.eat(81)){var t=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseType()}));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}},r.tsParseTypeOperatorOrHigher=function(){var e=this;return fw(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((function(){return e.tsParseArrayTypeOrHigher()}))},r.tsParseUnionOrIntersectionType=function(e,t,r){var a=this.startNode(),n=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||n?(a.types=s,this.finishNode(a,e)):s[0]},r.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)},r.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)},r.tsIsStartOfFunctionType=function(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},r.tsSkipParameterStart=function(){if(ew(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){var t=this.state.errors,r=t.length;try{return this.parseObjectLike(8,!0),t.length===r}catch(s){return!1}}if(this.match(0)){this.next();var a=this.state.errors,n=a.length;try{return e.prototype.parseBindingList.call(this,3,93,IE.ALLOW_EMPTY),a.length===n}catch(o){return!1}}return!1},r.tsIsUnambiguouslyStartOfFunctionType=function(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1},r.tsParseTypeOrTypePredicateAnnotation=function(e){var t=this;return this.tsInType((function(){var r=t.startNode();t.expect(e);var a=t.startNode(),n=!!t.tsTryParse(t.tsParseTypePredicateAsserts.bind(t));if(n&&t.match(78)){var s=t.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===s.type?(a.parameterName=s,a.asserts=!0,a.typeAnnotation=null,s=t.finishNode(a,"TSTypePredicate")):(t.resetStartLocationFromNode(s,a),s.asserts=!0),r.typeAnnotation=s,t.finishNode(r,"TSTypeAnnotation")}var o=t.tsIsIdentifier()&&t.tsTryParse(t.tsParseTypePredicatePrefix.bind(t));if(!o)return n?(a.parameterName=t.parseIdentifier(),a.asserts=n,a.typeAnnotation=null,r.typeAnnotation=t.finishNode(a,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")):t.tsParseTypeAnnotation(!1,r);var i=t.tsParseTypeAnnotation(!1);return a.parameterName=o,a.typeAnnotation=i,a.asserts=n,r.typeAnnotation=t.finishNode(a,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")}))},r.tsTryParseTypeOrTypePredicateAnnotation=function(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)},r.tsTryParseTypeAnnotation=function(){if(this.match(14))return this.tsParseTypeAnnotation()},r.tsTryParseType=function(){return this.tsEatThenParseType(14)},r.tsParseTypePredicatePrefix=function(){var e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e},r.tsParseTypePredicateAsserts=function(){if(109!==this.state.type)return!1;var e=this.state.containsEsc;return this.next(),!(!ew(this.state.type)&&!this.match(78))&&(e&&this.raise(AR.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)},r.tsParseTypeAnnotation=function(e,t){var r=this;return void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),this.tsInType((function(){e&&r.expect(14),t.typeAnnotation=r.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")},r.tsParseType=function(){var e=this;FE(this.state.inType);var t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;var r=this.startNodeAtNode(t);return r.checkType=t,r.extendsType=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseNonConditionalType()})),this.expect(17),r.trueType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.expect(14),r.falseType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.finishNode(r,"TSConditionalType")},r.isAbstractConstructorSignature=function(){return this.isContextual(124)&&77===this.lookahead().type},r.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()},r.tsParseTypeAssertion=function(){var e=this;this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(BE.ReservedTypeAssertion,this.state.startLoc);var t=this.startNode();return t.typeAnnotation=this.tsInType((function(){return e.next(),e.match(75)?e.tsParseTypeReference():e.tsParseType()})),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")},r.tsParseHeritageClause=function(e){var t=this,r=this.state.startLoc,a=this.tsParseDelimitedList("HeritageClauseElement",(function(){var e=t.startNode();return e.expression=t.tsParseEntityName(),t.match(47)&&(e.typeParameters=t.tsParseTypeArguments()),t.finishNode(e,"TSExpressionWithTypeArguments")}));return a.length||this.raise(BE.EmptyHeritageClauseType,r,{token:e}),a},r.tsParseInterfaceDeclaration=function(e,t){if(void 0===t&&(t={}),this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),ew(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,jw.TYPE_TS_INTERFACE)):(e.id=null,this.raise(BE.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));var r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")},r.tsParseTypeAliasDeclaration=function(e){var t=this;return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,jw.TYPE_TS_TYPE),e.typeAnnotation=this.tsInType((function(){if(e.typeParameters=t.tsTryParseTypeParameters(t.tsParseInOutModifiers),t.expect(29),t.isContextual(114)&&16!==t.lookahead().type){var r=t.startNode();return t.next(),t.finishNode(r,"TSIntrinsicKeyword")}return t.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")},r.tsInNoContext=function(e){var t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}},r.tsInType=function(e){var t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}},r.tsInDisallowConditionalTypesContext=function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}},r.tsInAllowConditionalTypesContext=function(e){var t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}},r.tsEatThenParseType=function(e){if(this.match(e))return this.tsNextThenParseType()},r.tsExpectThenParseType=function(e){var t=this;return this.tsInType((function(){return t.expect(e),t.tsParseType()}))},r.tsNextThenParseType=function(){var e=this;return this.tsInType((function(){return e.next(),e.tsParseType()}))},r.tsParseEnumMember=function(){var t=this.startNode();return t.id=this.match(134)?e.prototype.parseStringLiteral.call(this,this.state.value):this.parseIdentifier(!0),this.eat(29)&&(t.initializer=e.prototype.parseMaybeAssignAllowIn.call(this)),this.finishNode(t,"TSEnumMember")},r.tsParseEnumDeclaration=function(e,t){return void 0===t&&(t={}),t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?jw.TYPE_TS_CONST_ENUM:jw.TYPE_TS_ENUM),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")},r.tsParseModuleBlock=function(){var t=this.startNode();return this.scope.enter(Ew.OTHER),this.expect(5),e.prototype.parseBlockOrModuleBlockBody.call(this,t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")},r.tsParseModuleOrNamespaceDeclaration=function(e,t){if(void 0===t&&(t=!1),e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,jw.TYPE_TS_NAMESPACE),this.eat(16)){var r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(Ew.TS_MODULE),this.prodParam.enter(aE.PARAM),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")},r.tsParseAmbientExternalModuleDeclaration=function(t){return this.isContextual(112)?(t.kind="global",t.global=!0,t.id=this.parseIdentifier()):this.match(134)?(t.kind="module",t.id=e.prototype.parseStringLiteral.call(this,this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(Ew.TS_MODULE),this.prodParam.enter(aE.PARAM),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")},r.tsParseImportEqualsDeclaration=function(e,t,r){e.isExport=r||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,jw.TYPE_TS_VALUE_IMPORT),this.expect(29);var a=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==a.type&&this.raise(BE.ImportAliasHasImportType,a),e.moduleReference=a,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")},r.tsIsExternalModuleReference=function(){return this.isContextual(119)&&40===this.lookaheadCharCode()},r.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},r.tsParseExternalModuleReference=function(){var t=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),t.expression=e.prototype.parseExprAtom.call(this),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExternalModuleReference")},r.tsLookAhead=function(e){var t=this.state.clone(),r=e();return this.state=t,r},r.tsTryParseAndCatch=function(e){var t=this.tryParse((function(t){return e()||t()}));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node},r.tsTryParse=function(e){var t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t},r.tsTryParseDeclare=function(t){var r=this;if(!this.isLineTerminator()){var a,n=this.state.type;return this.isContextual(100)&&(n=74,a="let"),this.tsInAmbientContext((function(){switch(n){case 68:return t.declare=!0,e.prototype.parseFunctionStatement.call(r,t,!1,!1);case 80:return t.declare=!0,r.parseClass(t,!0,!1);case 126:return r.tsParseEnumDeclaration(t,{declare:!0});case 112:return r.tsParseAmbientExternalModuleDeclaration(t);case 75:case 74:return r.match(75)&&r.isLookaheadContextual("enum")?(r.expect(75),r.tsParseEnumDeclaration(t,{const:!0,declare:!0})):(t.declare=!0,r.parseVarStatement(t,a||r.state.value,!0));case 129:var s=r.tsParseInterfaceDeclaration(t,{declare:!0});if(s)return s;default:if(ew(n))return r.tsParseDeclaration(t,r.state.value,!0,null)}}))}},r.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)},r.tsParseExpressionStatement=function(e,t,r){switch(t.name){case"declare":var a=this.tsTryParseDeclare(e);return a&&(a.declare=!0),a;case"global":if(this.match(5)){this.scope.enter(Ew.TS_MODULE),this.prodParam.enter(aE.PARAM);var n=e;return n.kind="global",n.global=!0,n.id=t,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1,r)}},r.tsParseDeclaration=function(e,t,r,a){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||ew(this.state.type)))return this.tsParseAbstractDeclaration(e,a);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(ew(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&ew(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&ew(this.state.type))return this.tsParseTypeAliasDeclaration(e)}},r.tsCheckLineTerminator=function(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()},r.tsTryParseGenericAsyncArrowFunction=function(t){var r=this;if(this.match(47)){var a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;var n=this.tsTryParseAndCatch((function(){var a=r.startNodeAt(t);return a.typeParameters=r.tsParseTypeParameters(r.tsParseConstModifier),e.prototype.parseFunctionParams.call(r,a),a.returnType=r.tsTryParseTypeOrTypePredicateAnnotation(),r.expect(19),a}));if(this.state.maybeInArrowParameters=a,n)return e.prototype.parseArrowExpression.call(this,n,null,!0)}},r.tsParseTypeArgumentsInExpression=function(){if(47===this.reScan_lt())return this.tsParseTypeArguments()},r.tsParseTypeArguments=function(){var e=this,t=this.startNode();return t.params=this.tsInType((function(){return e.tsInNoContext((function(){return e.expect(47),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))}))})),0===t.params.length?this.raise(BE.EmptyTypeArguments,t):this.state.inType||this.curContext()!==IR.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")},r.tsIsDeclarationStart=function(){return gw(this.state.type)},r.isExportDefaultSpecifier=function(){return!this.tsIsDeclarationStart()&&e.prototype.isExportDefaultSpecifier.call(this)},r.parseAssignableListItem=function(e,t){var r=this.state.startLoc,a={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},a);var n=a.accessibility,s=a.override,o=a.readonly;e&IE.IS_CONSTRUCTOR_PARAMS||!(n||o||s)||this.raise(BE.UnexpectedParameterModifier,r);var i=this.parseMaybeDefault();e&IE.IS_FUNCTION_PARAMS&&this.parseFunctionParamType(i);var d=this.parseMaybeDefault(i.loc.start,i);if(n||o||s){var c=this.startNodeAt(r);return t.length&&(c.decorators=t),n&&(c.accessibility=n),o&&(c.readonly=o),s&&(c.override=s),"Identifier"!==d.type&&"AssignmentPattern"!==d.type&&this.raise(BE.UnsupportedParameterPropertyKind,c),c.parameter=d,this.finishNode(c,"TSParameterProperty")}return t.length&&(i.decorators=t),d},r.isSimpleParameter=function(t){return"TSParameterProperty"===t.type&&e.prototype.isSimpleParameter.call(this,t.parameter)||e.prototype.isSimpleParameter.call(this,t)},r.tsDisallowOptionalPattern=function(e){for(var t=0,r=e.params;ta&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){var o=this.startNodeAt(r);return o.expression=t,o.typeAnnotation=this.tsInType((function(){return s.next(),s.match(75)?(n&&s.raise(AR.UnexpectedKeyword,s.state.startLoc,{keyword:"const"}),s.tsParseTypeReference()):s.tsParseType()})),this.finishNode(o,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(o,r,a)}return e.prototype.parseExprOp.call(this,t,r,a)},r.checkReservedWord=function(t,r,a,n){this.state.isAmbientContext||e.prototype.checkReservedWord.call(this,t,r,a,n)},r.checkImportReflection=function(t){e.prototype.checkImportReflection.call(this,t),t.module&&"value"!==t.importKind&&this.raise(BE.ImportReflectionHasImportType,t.specifiers[0].loc.start)},r.checkDuplicateExports=function(){},r.isPotentialImportPhase=function(t){if(e.prototype.isPotentialImportPhase.call(this,t))return!0;if(this.isContextual(130)){var r=this.lookaheadCharCode();return t?123===r||42===r:61!==r}return!t&&this.isContextual(87)},r.applyImportPhase=function(t,r,a,n){e.prototype.applyImportPhase.call(this,t,r,a,n),r?t.exportKind="type"===a?"type":"value":t.importKind="type"===a||"typeof"===a?a:"value"},r.parseImport=function(t){if(this.match(134))return t.importKind="value",e.prototype.parseImport.call(this,t);var r;if(ew(this.state.type)&&61===this.lookaheadCharCode())return t.importKind="value",this.tsParseImportEqualsDeclaration(t);if(this.isContextual(130)){var a=this.parseMaybeImportPhase(t,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(t,a);r=e.prototype.parseImportSpecifiersAndAfter.call(this,t,a)}else r=e.prototype.parseImport.call(this,t);return"type"===r.importKind&&r.specifiers.length>1&&"ImportDefaultSpecifier"===r.specifiers[0].type&&this.raise(BE.TypeImportCannotSpecifyDefaultAndNamed,r),r},r.parseExport=function(t,r){if(this.match(83)){this.next();var a=t,n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(a,!1):a.importKind="value",this.tsParseImportEqualsDeclaration(a,n,!0)}if(this.eat(29)){var s=t;return s.expression=e.prototype.parseExpression.call(this),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExportAssignment")}if(this.eatContextual(93)){var o=t;return this.expectContextual(128),o.id=this.parseIdentifier(),this.semicolon(),this.finishNode(o,"TSNamespaceExportDeclaration")}return e.prototype.parseExport.call(this,t,r)},r.isAbstractClass=function(){return this.isContextual(124)&&80===this.lookahead().type},r.parseExportDefaultExpression=function(){if(this.isAbstractClass()){var t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0)}if(this.match(129)){var r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return e.prototype.parseExportDefaultExpression.call(this)},r.parseVarStatement=function(t,r,a){void 0===a&&(a=!1);var n=this.state.isAmbientContext,s=e.prototype.parseVarStatement.call(this,t,r,a||n);if(!n)return s;for(var o=0,i=s.declarations;o0))&&KE(e.object)}function zE(e,t){var r,a=e.type;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===a){var n=e.value;if("string"===typeof n||"boolean"===typeof n)return!0}}else if("StringLiteral"===a||"BooleanLiteral"===a)return!0;return!(!GE(e,t)&&!VE(e,t))||"TemplateLiteral"===a&&0===e.expressions.length||!!HE(e)}function GE(e,t){return t?"Literal"===e.type&&("number"===typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function VE(e,t){if("UnaryExpression"===e.type){var r=e.operator,a=e.argument;if("-"===r&&GE(a,t))return!0}return!1}function KE(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&KE(e.object)}var YE=TR(qE||(qE=T(["placeholders"])))({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),JE=function(e){return function(e){function t(){return e.apply(this,arguments)||this}g(t,e);var r=t.prototype;return r.parsePlaceholder=function(t){if(this.match(133)){var r=this.startNode();return this.next(),this.assertNoSpace(),r.name=e.prototype.parseIdentifier.call(this,!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(r,t)}},r.finishPlaceholder=function(e,t){var r=e;return r.expectedNode&&r.type||(r=this.finishNode(r,"Placeholder")),r.expectedNode=t,r},r.getTokenFromCode=function(t){37===t&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(133,2):e.prototype.getTokenFromCode.call(this,t)},r.parseExprAtom=function(t){return this.parsePlaceholder("Expression")||e.prototype.parseExprAtom.call(this,t)},r.parseIdentifier=function(t){return this.parsePlaceholder("Identifier")||e.prototype.parseIdentifier.call(this,t)},r.checkReservedWord=function(t,r,a,n){void 0!==t&&e.prototype.checkReservedWord.call(this,t,r,a,n)},r.parseBindingAtom=function(){return this.parsePlaceholder("Pattern")||e.prototype.parseBindingAtom.call(this)},r.isValidLVal=function(t,r,a){return"Placeholder"===t||e.prototype.isValidLVal.call(this,t,r,a)},r.toAssignable=function(t,r){t&&"Placeholder"===t.type&&"Expression"===t.expectedNode?t.expectedNode="Pattern":e.prototype.toAssignable.call(this,t,r)},r.chStartsBindingIdentifier=function(t,r){return!!e.prototype.chStartsBindingIdentifier.call(this,t,r)||133===this.lookahead().type},r.verifyBreakContinue=function(t,r){t.label&&"Placeholder"===t.label.type||e.prototype.verifyBreakContinue.call(this,t,r)},r.parseExpressionStatement=function(t,r){var a;if("Placeholder"!==r.type||null!=(a=r.extra)&&a.parenthesized)return e.prototype.parseExpressionStatement.call(this,t,r);if(this.match(14)){var n=t;return n.label=this.finishPlaceholder(r,"Identifier"),this.next(),n.body=e.prototype.parseStatementOrSloppyAnnexBFunctionDeclaration.call(this),this.finishNode(n,"LabeledStatement")}this.semicolon();var s=t;return s.name=r.name,this.finishPlaceholder(s,"Statement")},r.parseBlock=function(t,r,a){return this.parsePlaceholder("BlockStatement")||e.prototype.parseBlock.call(this,t,r,a)},r.parseFunctionId=function(t){return this.parsePlaceholder("Identifier")||e.prototype.parseFunctionId.call(this,t)},r.parseClass=function(t,r,a){var n=r?"ClassDeclaration":"ClassExpression";this.next();var s=this.state.strict,o=this.parsePlaceholder("Identifier");if(o){if(!(this.match(81)||this.match(133)||this.match(5))){if(a||!r)return t.id=null,t.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(t,n);throw this.raise(YE.ClassNameIsRequired,this.state.startLoc)}t.id=o}else this.parseClassId(t,r,a);return e.prototype.parseClassSuper.call(this,t),t.body=this.parsePlaceholder("ClassBody")||e.prototype.parseClassBody.call(this,!!t.superClass,s),this.finishNode(t,n)},r.parseExport=function(t,r){var a=this.parsePlaceholder("Identifier");if(!a)return e.prototype.parseExport.call(this,t,r);var n=t;if(!this.isContextual(98)&&!this.match(12))return n.specifiers=[],n.source=null,n.declaration=this.finishPlaceholder(a,"Declaration"),this.finishNode(n,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");var s=this.startNode();return s.exported=a,n.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],e.prototype.parseExport.call(this,n,r)},r.isExportDefaultSpecifier=function(){if(this.match(65)){var t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(mw(133),this.nextTokenStartSince(t+4)))return!0}return e.prototype.isExportDefaultSpecifier.call(this)},r.maybeParseExportDefaultSpecifier=function(t,r){var a;return!(null==(a=t.specifiers)||!a.length)||e.prototype.maybeParseExportDefaultSpecifier.call(this,t,r)},r.checkExport=function(t){var r=t.specifiers;null!=r&&r.length&&(t.specifiers=r.filter((function(e){return"Placeholder"===e.exported.type}))),e.prototype.checkExport.call(this,t),t.specifiers=r},r.parseImport=function(t){var r=this.parsePlaceholder("Identifier");if(!r)return e.prototype.parseImport.call(this,t);if(t.specifiers=[],!this.isContextual(98)&&!this.match(12))return t.source=this.finishPlaceholder(r,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");var a=this.startNodeAtNode(r);return a.local=r,t.specifiers.push(this.finishNode(a,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t)),this.expectContextual(98),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")},r.parseImportSource=function(){return this.parsePlaceholder("StringLiteral")||e.prototype.parseImportSource.call(this)},r.assertNoSpace=function(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(YE.UnexpectedSpace,this.state.lastTokEndLoc)},u(t)}(e)},XE=function(e){return function(e){function t(){return e.apply(this,arguments)||this}g(t,e);var r=t.prototype;return r.parseV8Intrinsic=function(){if(this.match(54)){var e=this.state.startLoc,t=this.startNode();if(this.next(),ew(this.state.type)){var r=this.parseIdentifierName(),a=this.createIdentifier(t,r);if(a.type="V8IntrinsicIdentifier",this.match(10))return a}this.unexpected(e)}},r.parseExprAtom=function(t){return this.parseV8Intrinsic()||e.prototype.parseExprAtom.call(this,t)},u(t)}(e)},$E=["minimal","fsharp","hack","smart"],QE=["^^","@@","^","%","#"];function ZE(e){if(e.has("decorators")){if(e.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");var t=e.get("decorators").decoratorsBeforeExport;if(null!=t&&"boolean"!==typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");var r=e.get("decorators").allowCallParenthesized;if(null!=r&&"boolean"!==typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(e.has("flow")&&e.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(e.has("placeholders")&&e.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(e.has("pipelineOperator")){var a,n=e.get("pipelineOperator").proposal;if(!$E.includes(n)){var s=$E.map((function(e){return'"'+e+'"'})).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '+s+".")}var o="hash"===(null==(a=e.get("recordAndTuple"))?void 0:a.syntaxType);if("hack"===n){if(e.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(e.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");var i=e.get("pipelineOperator").topicToken;if(!QE.includes(i)){var d=QE.map((function(e){return'"'+e+'"'})).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '+d+".")}if("#"===i&&o)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `'+JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])+"`.")}else if("smart"===n&&o)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `'+JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])+"`.")}if(e.has("moduleAttributes")){if(e.has("deprecatedImportAssert")||e.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if("may-2020"!==e.get("moduleAttributes").version)throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(e.has("importAssertions")&&e.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!e.has("deprecatedImportAssert")&&e.has("importAttributes")&&e.get("importAttributes").deprecatedAssertSyntax&&e.set("deprecatedImportAssert",{}),e.has("recordAndTuple")){var c=e.get("recordAndTuple").syntaxType;if(null!=c){var l=["hash","bar"];if(!l.includes(c))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+l.map((function(e){return"'"+e+"'"})).join(", "))}}if(e.has("asyncDoExpressions")&&!e.has("doExpressions")){var u=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw u.missingPlugins="doExpressions",u}if(e.has("optionalChainingAssign")&&"2023-07"!==e.get("optionalChainingAssign").version)throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var ej={estree:_R,jsx:CE,flow:EE,typescript:WE,v8intrinsic:XE,placeholders:JE},tj=Object.keys(ej);function rj(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function aj(e){var t=rj();if(null==e)return t;if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");for(var r=0,a=Object.keys(t);r0?t.startIndex=t.startColumn:null==e.startColumn&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((null==e.startColumn||null==e.startIndex)&&null!=e.startIndex)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");return t}var nj=function(e){function t(){return e.apply(this,arguments)||this}g(t,e);var r=t.prototype;return r.checkProto=function(e,t,r,a){if(!("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)){var n=e.key;if("__proto__"===("Identifier"===n.type?n.name:n.value)){if(t)return void this.raise(AR.RecordNoProto,n);r.used&&(a?null===a.doubleProtoLoc&&(a.doubleProtoLoc=n.loc.start):this.raise(AR.DuplicateProto,n)),r.used=!0}}},r.shouldExitDescending=function(e,t){return"ArrowFunctionExpression"===e.type&&this.offsetToSourcePos(e.start)===t},r.getExpression=function(){this.enterInitialScopes(),this.nextToken();var e=this.parseExpression();return this.match(140)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e},r.parseExpression=function(e,t){var r=this;return e?this.disallowInAnd((function(){return r.parseExpressionBase(t)})):this.allowInAnd((function(){return r.parseExpressionBase(t)}))},r.parseExpressionBase=function(e){var t=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){var a=this.startNodeAt(t);for(a.expressions=[r];this.eat(12);)a.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return r},r.parseMaybeAssignDisallowIn=function(e,t){var r=this;return this.disallowInAnd((function(){return r.parseMaybeAssign(e,t)}))},r.parseMaybeAssignAllowIn=function(e,t){var r=this;return this.allowInAnd((function(){return r.parseMaybeAssign(e,t)}))},r.setOptionalParametersError=function(e,t){var r;e.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.state.startLoc},r.parseMaybeAssign=function(e,t){var r,a=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){var n=this.parseYield();return t&&(n=t.call(this,n,a)),n}e?r=!1:(e=new iE,r=!0);var s=this.state.type;(10===s||ew(s))&&(this.state.potentialArrowAt=this.state.start);var o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,a)),ow(this.state.type)){var i=this.startNodeAt(a),d=this.state.value;if(i.operator=d,this.match(29)){this.toAssignable(o,!0),i.left=o;var c=a.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=c&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=c&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=c&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else i.left=o;return this.next(),i.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(i,"AssignmentExpression")),i}return r&&this.checkExpressionErrors(e,!0),o},r.parseMaybeConditional=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprOps(e);return this.shouldExitDescending(a,r)?a:this.parseConditional(a,t,e)},r.parseConditional=function(e,t,r){if(this.eat(17)){var a=this.startNodeAt(t);return a.test=e,a.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),a.alternate=this.parseMaybeAssign(),this.finishNode(a,"ConditionalExpression")}return e},r.parseMaybeUnaryOrPrivate=function(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)},r.parseExprOps=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(a,r)?a:this.parseExprOp(a,t,-1)},r.parseExprOp=function(e,t,r){if(this.isPrivateName(e)){var a=this.getPrivateNameSV(e);(r>=hw(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(AR.PrivateInExpectedIn,e,{identifierName:a}),this.classScope.usePrivateName(a,e.loc.start)}var n=this.state.type;if(lw(n)&&(this.prodParam.hasIn||!this.match(58))){var s=hw(n);if(s>r){if(39===n){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}var o=this.startNodeAt(t);o.left=e,o.operator=this.state.value;var i=41===n||42===n,d=40===n;if(d&&(s=hw(42)),this.next(),39===n&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(AR.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);o.right=this.parseExprOpRightExpr(n,s);var c=this.finishNode(o,i||d?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(d&&(41===l||42===l)||i&&40===l)throw this.raise(AR.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,r)}}return e},r.parseExprOpRightExpr=function(e,t){var r=this,a=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((function(){return r.parseHackPipeBody()}));case"smart":return this.withTopicBindingContext((function(){if(r.prodParam.hasYield&&r.isContextual(108))throw r.raise(AR.PipeBodyIsTighter,r.state.startLoc);return r.parseSmartPipelineBodyInStyle(r.parseExprOpBaseRightExpr(e,t),a)}));case"fsharp":return this.withSoloAwaitPermittingContext((function(){return r.parseFSharpPipelineBody(t)}))}return this.parseExprOpBaseRightExpr(e,t)},r.parseExprOpBaseRightExpr=function(e,t){var r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,yw(e)?t-1:t)},r.parseHackPipeBody=function(){var e,t=this.state.startLoc,r=this.parseMaybeAssign();return!RR.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(AR.PipeUnparenthesizedBody,t,{type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(AR.PipeTopicUnused,t),r},r.checkExponentialAfterUnary=function(e){this.match(57)&&this.raise(AR.UnexpectedTokenUnaryExponentiation,e.argument)},r.parseMaybeUnary=function(e,t){var r=this.state.startLoc,a=this.isContextual(96);if(a&&this.recordAwaitIfAllowed()){this.next();var n=this.parseAwait(r);return t||this.checkExponentialAfterUnary(n),n}var s=this.match(34),o=this.startNode();if(pw(this.state.type)){o.operator=this.state.value,o.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");var i=this.match(89);if(this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&i){var d=o.argument;"Identifier"===d.type?this.raise(AR.StrictDelete,o):this.hasPropertyAsPrivateName(d)&&this.raise(AR.DeletePrivateField,o)}if(!s)return t||this.checkExponentialAfterUnary(o),this.finishNode(o,"UnaryExpression")}var c=this.parseUpdate(o,s,e);if(a){var l=this.state.type;if((this.hasPlugin("v8intrinsic")?sw(l):sw(l)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(AR.AwaitNotInAsyncContext,r),this.parseAwait(r)}return c},r.parseUpdate=function(e,t,r){if(t){var a=e;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),e}var n=this.state.startLoc,s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return s;for(;uw(this.state.type)&&!this.canInsertSemicolon();){var o=this.startNodeAt(n);o.operator=this.state.value,o.prefix=!1,o.argument=s,this.next(),this.checkLVal(s,s=this.finishNode(o,"UpdateExpression"))}return s},r.parseExprSubscripts=function(e){var t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprAtom(e);return this.shouldExitDescending(a,r)?a:this.parseSubscripts(a,t)},r.parseSubscripts=function(e,t,r){var a={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,a),a.maybeAsyncArrow=!1}while(!a.stop);return e},r.parseSubscript=function(e,t,r,a){var n=this.state.type;if(!r&&15===n)return this.parseBind(e,t,r,a);if(bw(n))return this.parseTaggedTemplateExpression(e,t,a);var s=!1;if(18===n){if(r&&(this.raise(AR.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return a.stop=!0,e;a.optionalChainMember=s=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,a,s);var o=this.eat(0);return o||s||this.eat(16)?this.parseMember(e,t,a,o,s):(a.stop=!0,e)},r.parseMember=function(e,t,r,a,n){var s=this.startNodeAt(t);return s.object=e,s.computed=a,a?(s.property=this.parseExpression(),this.expect(3)):this.match(139)?("Super"===e.type&&this.raise(AR.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),r.optionalChainMember?(s.optional=n,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")},r.parseBind=function(e,t,r,a){var n=this.startNodeAt(t);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),a.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,r)},r.parseCoverCallAndAsyncArrowHead=function(e,t,r,a){var n=this.state.maybeInArrowParameters,s=null;this.state.maybeInArrowParameters=!0,this.next();var o=this.startNodeAt(t);o.callee=e;var i=r.maybeAsyncArrow,d=r.optionalChainMember;i&&(this.expressionScope.enter(tE()),s=new iE),d&&(o.optional=a),o.arguments=a?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Super"!==e.type,o,s);var c=this.finishCallExpression(o,d);return i&&this.shouldParseAsyncArrow()&&!a?(r.stop=!0,this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),c)):(i&&(this.checkExpressionErrors(s,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=n,c},r.toReferencedArguments=function(e,t){this.toReferencedListDeep(e.arguments,t)},r.parseTaggedTemplateExpression=function(e,t,r){var a=this.startNodeAt(t);return a.tag=e,a.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(AR.OptionalChainingNoTemplate,t),this.finishNode(a,"TaggedTemplateExpression")},r.atPossibleAsyncArrow=function(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt},r.finishCallExpression=function(e,t){if("Import"===e.callee.type)if(0===e.arguments.length||e.arguments.length>2)this.raise(AR.ImportCallArity,e);else for(var r=0,a=e.arguments;r1?((t=this.startNodeAt(i)).expressions=d,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,p)):t=d[0],this.wrapParenthesis(r,t))},r.wrapParenthesis=function(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;var r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")},r.shouldParseArrow=function(e){return!this.canInsertSemicolon()},r.parseArrow=function(e){if(this.eat(19))return e},r.parseParenItem=function(e,t){return e},r.parseNewOrNewTarget=function(){var e=this.startNode();if(this.next(),this.match(16)){var t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();var r=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(AR.UnexpectedNewTarget,r),r}return this.parseNew(e)},r.parseNew=function(e){if(this.parseNewCallee(e),this.eat(10)){var t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")},r.parseNewCallee=function(e){var t=this.match(83),r=this.parseNoCallExpr();e.callee=r,!t||"Import"!==r.type&&"ImportExpression"!==r.type||this.raise(AR.ImportCallNotNewExpression,r)},r.parseTemplateElement=function(e){var t=this.state,r=t.start,a=t.startLoc,n=t.end,s=t.value,o=r+1,i=this.startNodeAt(fR(a,1));null===s&&(e||this.raise(AR.InvalidEscapeSequenceTemplate,fR(this.state.firstInvalidTemplateEscapePos,1)));var d=this.match(24),c=d?-1:-2,l=n+c;i.value={raw:this.input.slice(o,l).replace(/\r\n?/g,"\n"),cooked:null===s?null:s.slice(1,c)},i.tail=d,this.next();var u=this.finishNode(i,"TemplateElement");return this.resetEndLocation(u,fR(this.state.lastTokEndLoc,c)),u},r.parseTemplate=function(e){for(var t=this.startNode(),r=this.parseTemplateElement(e),a=[r],n=[];!r.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),a.push(r=this.parseTemplateElement(e));return t.expressions=n,t.quasis=a,this.finishNode(t,"TemplateLiteral")},r.parseTemplateSubstitution=function(){return this.parseExpression()},r.parseObjectLike=function(e,t,r,a){r&&this.expectPlugin("recordAndTuple");var n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var s=Object.create(null),o=!0,i=this.startNode();for(i.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(i);break}var d=void 0;t?d=this.parseBindingProperty():(d=this.parsePropertyDefinition(a),this.checkProto(d,r,s,a)),r&&!this.isObjectProperty(d)&&"SpreadElement"!==d.type&&this.raise(AR.InvalidRecordProperty,d),d.shorthand&&this.addExtra(d,"shorthand",!0),i.properties.push(d)}this.next(),this.state.inFSharpPipelineDirectBody=n;var c="ObjectExpression";return t?c="ObjectPattern":r&&(c="RecordExpression"),this.finishNode(i,c)},r.addTrailingCommaExtraToNode=function(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)},r.maybeAsyncOrAccessorProp=function(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))},r.parsePropertyDefinition=function(e){var t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(AR.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());var r,a=this.startNode(),n=!1,s=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(a.decorators=t,t=[]),a.method=!1,e&&(r=this.state.startLoc);var o=this.eat(55);this.parsePropertyNamePrefixOperator(a);var i=this.state.containsEsc;if(this.parsePropertyName(a,e),!o&&!i&&this.maybeAsyncOrAccessorProp(a)){var d=a.key,c=d.name;"async"!==c||this.hasPrecedingLineBreak()||(n=!0,this.resetPreviousNodeTrailingComments(d),o=this.eat(55),this.parsePropertyName(a)),"get"!==c&&"set"!==c||(s=!0,this.resetPreviousNodeTrailingComments(d),a.kind=c,this.match(55)&&(o=!0,this.raise(AR.AccessorIsGenerator,this.state.curPosition(),{kind:c}),this.next()),this.parsePropertyName(a))}return this.parseObjPropValue(a,r,o,n,!1,s,e)},r.getGetterSetterExpectedParamCount=function(e){return"get"===e.kind?0:1},r.getObjectOrClassMethodParams=function(e){return e.params},r.checkGetterSetterParams=function(e){var t,r=this.getGetterSetterExpectedParamCount(e),a=this.getObjectOrClassMethodParams(e);a.length!==r&&this.raise("get"===e.kind?AR.BadGetterArity:AR.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=a[a.length-1])?void 0:t.type)&&this.raise(AR.BadSetterRestParameter,e)},r.parseObjectMethod=function(e,t,r,a,n){if(n){var s=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(r||t||this.match(10))return a&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")},r.parseObjectProperty=function(e,t,r,a){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(a),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,uE(e.key));else if(this.match(29)){var n=this.state.startLoc;null!=a?null===a.shorthandAssignLoc&&(a.shorthandAssignLoc=n):this.raise(AR.InvalidCoverInitializedName,n),e.value=this.parseMaybeDefault(t,uE(e.key))}else e.value=uE(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}},r.parseObjPropValue=function(e,t,r,a,n,s,o){var i=this.parseObjectMethod(e,r,a,n,s)||this.parseObjectProperty(e,t,n,o);return i||this.unexpected(),i},r.parsePropertyName=function(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{var r,a=this.state,n=a.type,s=a.value;if(rw(n))r=this.parseIdentifier(!0);else switch(n){case 135:r=this.parseNumericLiteral(s);break;case 134:r=this.parseStringLiteral(s);break;case 136:r=this.parseBigIntLiteral(s);break;case 139:var o=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=o):this.raise(AR.UnexpectedPrivateField,o),r=this.parsePrivateName();break;default:if(137===n){r=this.parseDecimalLiteral(s);break}this.unexpected()}e.key=r,139!==n&&(e.computed=!1)}},r.initFunction=function(e,t){e.id=null,e.generator=!1,e.async=t},r.parseMethod=function(e,t,r,a,n,s,o){void 0===o&&(o=!1),this.initFunction(e,r),e.generator=t,this.scope.enter(Ew.FUNCTION|Ew.SUPER|(o?Ew.CLASS:0)|(n?Ew.DIRECT_SUPER:0)),this.prodParam.enter(sE(r,e.generator)),this.parseFunctionParams(e,a);var i=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),i},r.parseArrayLike=function(e,t,r,a){r&&this.expectPlugin("recordAndTuple");var n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,a,s),this.state.inFSharpPipelineDirectBody=n,this.finishNode(s,r?"TupleExpression":"ArrayExpression")},r.parseArrowExpression=function(e,t,r,a){this.scope.enter(Ew.FUNCTION|Ew.ARROW);var n=sE(r,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=aE.PARAM_IN),this.prodParam.enter(n),this.initFunction(e,r);var s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,a)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")},r.setArrowFunctionParameters=function(e,t,r){this.toAssignableList(t,r,!1),e.params=t},r.parseFunctionBodyAndFinish=function(e,t,r){return void 0===r&&(r=!1),this.parseFunctionBody(e,!1,r),this.finishNode(e,t)},r.parseFunctionBody=function(e,t,r){var a=this;void 0===r&&(r=!1);var n=t&&!this.match(5);if(this.expressionScope.enter(rE()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{var s=this.state.strict,o=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|aE.PARAM_RETURN),e.body=this.parseBlock(!0,!1,(function(n){var o=!a.isSimpleParamList(e.params);n&&o&&a.raise(AR.IllegalLanguageModeDirective,"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end);var i=!s&&a.state.strict;a.checkParams(e,!a.state.strict&&!t&&!r&&!o,t,i),a.state.strict&&e.id&&a.checkIdentifier(e.id,jw.TYPE_OUTSIDE,i)})),this.prodParam.exit(),this.state.labels=o}this.expressionScope.exit()},r.isSimpleParameter=function(e){return"Identifier"===e.type},r.isSimpleParamList=function(e){for(var t=0,r=e.length;t10)&&ww(e))if(r&&Po(e))this.raise(AR.UnexpectedKeyword,t,{keyword:e});else if((this.state.strict?a?Co:Ao:To)(e,this.inModule))this.raise(AR.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(AR.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(AR.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(AR.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(AR.ArgumentsInClass,t)},r.recordAwaitIfAllowed=function(){var e=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e},r.parseAwait=function(e){var t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(AR.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(AR.ObsoleteAwaitStar,t),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")},r.isAmbiguousAwait=function(){if(this.hasPrecedingLineBreak())return!0;var e=this.state.type;return 53===e||10===e||0===e||bw(e)||102===e&&!this.state.containsEsc||138===e||56===e||this.hasPlugin("v8intrinsic")&&54===e},r.parseYield=function(){var e=this.startNode();this.expressionScope.recordParameterInitializerError(AR.YieldInParameter,e),this.next();var t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")},r.parseImportCall=function(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12)&&!this.match(11)&&(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11))){do{this.parseMaybeAssignAllowIn()}while(this.eat(12)&&!this.match(11));this.raise(AR.ImportCallArity,e)}return this.expect(11),this.finishNode(e,"ImportExpression")},r.checkPipelineAtInfixOperator=function(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(AR.PipelineHeadSequenceExpression,t)},r.parseSmartPipelineBodyInStyle=function(e,t){if(this.isSimpleReference(e)){var r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}var a=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),a.expression=e,this.finishNode(a,"PipelineTopicExpression")},r.isSimpleReference=function(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}},r.checkSmartPipeTopicBodyEarlyErrors=function(e){if(this.match(19))throw this.raise(AR.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(AR.PipelineTopicUnused,e)},r.withTopicBindingContext=function(e){var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}},r.withSmartMixTopicForbiddingContext=function(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}},r.withSoloAwaitPermittingContext=function(e){var t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}},r.allowInAnd=function(e){var t=this.prodParam.currentFlags();if(aE.PARAM_IN&~t){this.prodParam.enter(t|aE.PARAM_IN);try{return e()}finally{this.prodParam.exit()}}return e()},r.disallowInAnd=function(e){var t=this.prodParam.currentFlags();if(aE.PARAM_IN&t){this.prodParam.enter(t&~aE.PARAM_IN);try{return e()}finally{this.prodParam.exit()}}return e()},r.registerTopicReference=function(){this.state.topicContext.maxTopicIndex=0},r.topicReferenceIsAllowedInCurrentContext=function(){return this.state.topicContext.maxNumOfResolvableTopics>=1},r.topicReferenceWasUsedInCurrentContext=function(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0},r.parseFSharpPipelineBody=function(e){var t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;var r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;var a=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,a},r.parseModuleExpression=function(){this.expectPlugin("moduleBlocks");var e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);var t=this.startNodeAt(this.state.endLoc);this.next();var r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")},r.parsePropertyNamePrefixOperator=function(e){},u(t)}(OE),sj={kind:Ww.Loop},oj={kind:Ww.Switch},ij={Expression:0,Declaration:1,HangingDeclaration:2,NullableId:4,Async:8},dj={StatementOnly:0,AllowImportExport:1,AllowDeclaration:2,AllowFunctionDeclaration:4,AllowLabeledFunction:8},cj=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,lj=new RegExp("in(?:stanceof)?","y");function uj(e,t,r){for(var a=0;a0)for(var a=0,n=Array.from(this.scope.undefinedExports);a0?("boolean"!==typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(AR.DecoratorsBeforeAfterExport,t.decorators[0]),(a=t.decorators).unshift.apply(a,e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t));return t},r.canHaveLeadingDecorator=function(){return this.match(80)},r.parseDecorators=function(e){var t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(AR.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(AR.UnexpectedLeadingDecorator,this.state.startLoc);return t},r.parseDecorator=function(){this.expectOnePlugin(["decorators","decorators-legacy"]);var e=this.startNode();if(this.next(),this.hasPlugin("decorators")){var t,r=this.state.startLoc;if(this.match(10)){var a=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(a,t);var n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(t),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==t&&this.raise(AR.DecoratorArgumentsOutsideParentheses,n)}else{for(t=this.parseIdentifier(!1);this.eat(16);){var s=this.startNodeAt(r);s.object=t,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),s.computed=!1,t=this.finishNode(s,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")},r.parseMaybeDecoratorArguments=function(e){if(this.eat(10)){var t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e},r.parseBreakContinueStatement=function(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")},r.verifyBreakContinue=function(e,t){var r;for(r=0;r=0;i--){var d=this.state.labels[i];if(d.statementStart!==e.start)break;d.statementStart=this.sourceToOffsetPos(this.state.start),d.kind=o}return this.state.labels.push({name:t,kind:o,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=a&dj.AllowLabeledFunction?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},r.parseExpressionStatement=function(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},r.parseBlock=function(e,t,r){void 0===e&&(e=!1),void 0===t&&(t=!0);var a=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(Ew.OTHER),this.parseBlockBody(a,e,!1,8,r),t&&this.scope.exit(),this.finishNode(a,"BlockStatement")},r.isValidDirective=function(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized},r.parseBlockBody=function(e,t,r,a,n){var s=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?o:void 0,r,a,n)},r.parseBlockOrModuleBlockBody=function(e,t,r,a,n){for(var s=this.state.strict,o=!1,i=!1;!this.match(a);){var d=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!i){if(this.isValidDirective(d)){var c=this.stmtToDirective(d);t.push(c),o||"use strict"!==c.value.value||(o=!0,this.setStrict(!0));continue}i=!0,this.state.strictErrors.clear()}e.push(d)}null==n||n.call(this,o),s||this.setStrict(!1),this.next()},r.parseFor=function(e,t){var r=this;return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((function(){return r.parseStatement()})),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")},r.parseForIn=function(e,t,r){var a=this,n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"!==t.type||null==t.declarations[0].init||n&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(AR.ForInOfLoopInitializer,t,{type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(AR.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((function(){return a.parseStatement()})),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},r.parseVar=function(e,t,r,a){void 0===a&&(a=!1);var n=e.declarations=[];for(e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),s.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==s.init||a||("Identifier"===s.id.type||t&&(this.match(58)||this.isContextual(102))?"const"!==r&&"using"!==r&&"await using"!==r||this.match(58)||this.isContextual(102)||this.raise(AR.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:r}):this.raise(AR.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),n.push(this.finishNode(s,"VariableDeclarator")),!this.eat(12))break}return e},r.parseVarId=function(e,t){var r=this.parseBindingAtom();"using"!==t&&"await using"!==t||"ArrayPattern"!==r.type&&"ObjectPattern"!==r.type||this.raise(AR.UsingDeclarationHasBindingPattern,r.loc.start),this.checkLVal(r,{type:"VariableDeclarator"},"var"===t?jw.TYPE_VAR:jw.TYPE_LEXICAL),e.id=r},r.parseAsyncFunctionExpression=function(e){return this.parseFunction(e,ij.Async)},r.parseFunction=function(e,t){var r=this;void 0===t&&(t=ij.Expression);var a=t&ij.HangingDeclaration,n=!!(t&ij.Declaration),s=n&&!(t&ij.NullableId),o=!!(t&ij.Async);this.initFunction(e,o),this.match(55)&&(a&&this.raise(AR.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),n&&(e.id=this.parseFunctionId(s));var i=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Ew.FUNCTION),this.prodParam.enter(sE(o,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((function(){r.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),n&&!a&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=i,e},r.parseFunctionId=function(e){return e||ew(this.state.type)?this.parseIdentifier():null},r.parseFunctionParams=function(e,t){this.expect(10),this.expressionScope.enter(Zw()),e.params=this.parseBindingList(11,41,IE.IS_FUNCTION_PARAMS|(t?IE.IS_CONSTRUCTOR_PARAMS:0)),this.expressionScope.exit()},r.registerFunctionStatementId=function(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?jw.TYPE_VAR:jw.TYPE_LEXICAL:jw.TYPE_FUNCTION,e.id.loc.start)},r.parseClass=function(e,t,r){this.next();var a=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,a),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},r.isClassProperty=function(){return this.match(29)||this.match(13)||this.match(8)},r.isClassMethod=function(){return this.match(10)},r.nameIsConstructor=function(e){return"Identifier"===e.type&&"constructor"===e.name||"StringLiteral"===e.type&&"constructor"===e.value},r.isNonstaticConstructor=function(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)},r.parseClassBody=function(e,t){var r=this;this.classScope.enter();var a={hadConstructor:!1,hadSuperClass:e},n=[],s=this.startNode();if(s.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((function(){for(;!r.match(8);)if(r.eat(13)){if(n.length>0)throw r.raise(AR.DecoratorSemicolon,r.state.lastTokEndLoc)}else if(r.match(26))n.push(r.parseDecorator());else{var e=r.startNode();n.length&&(e.decorators=n,r.resetStartLocationFromNode(e,n[0]),n=[]),r.parseClassMember(s,e,a),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&r.raise(AR.DecoratorConstructor,e)}})),this.state.strict=t,this.next(),n.length)throw this.raise(AR.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(s,"ClassBody")},r.parseClassMemberFromModifier=function(e,t){var r=this.parseIdentifier(!0);if(this.isClassMethod()){var a=t;return a.kind="method",a.computed=!1,a.key=r,a.static=!1,this.pushClassMethod(e,a,!1,!1,!1,!1),!0}if(this.isClassProperty()){var n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1},r.parseClassMember=function(e,t,r){var a=this.isContextual(106);if(a){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,a)},r.parseClassMemberWithIsStatic=function(e,t,r,a){var n=t,s=t,o=t,i=t,d=t,c=n,l=n;if(t.static=a,this.parsePropertyNamePrefixOperator(t),this.eat(55)){c.kind="method";var u=this.match(139);return this.parseClassElementName(c),u?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(AR.ConstructorIsGenerator,n.key),void this.pushClassMethod(e,n,!0,!1,!1,!1))}var p=!this.state.containsEsc&&ew(this.state.type),f=this.parseClassElementName(t),g=p?f.name:null,m=this.isPrivateName(f),h=this.state.startLoc;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(c.kind="method",m)return void this.pushClassPrivateMethod(e,s,!1,!1);var y=this.isNonstaticConstructor(n),b=!1;y&&(n.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(AR.DuplicateConstructor,f),y&&this.hasPlugin("typescript")&&t.override&&this.raise(AR.OverrideOnConstructor,f),r.hadConstructor=!0,b=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,y,b)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(e,i):this.pushClassProperty(e,o);else if("async"!==g||this.isLineTerminator())if("get"!==g&&"set"!==g||this.match(55)&&this.isLineTerminator())if("accessor"!==g||this.isLineTerminator())this.isLineTerminator()?m?this.pushClassPrivateProperty(e,i):this.pushClassProperty(e,o):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(f);var v=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(e,d,v)}else{this.resetPreviousNodeTrailingComments(f),c.kind=g;var x=this.match(139);this.parseClassElementName(n),x?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(AR.ConstructorIsAccessor,n.key),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else{this.resetPreviousNodeTrailingComments(f);var R=this.eat(55);l.optional&&this.unexpected(h),c.kind="method";var w=this.match(139);this.parseClassElementName(c),this.parsePostMemberNameModifiers(l),w?this.pushClassPrivateMethod(e,s,R,!0):(this.isNonstaticConstructor(n)&&this.raise(AR.ConstructorIsAsync,n.key),this.pushClassMethod(e,n,R,!0,!1,!1))}},r.parseClassElementName=function(e){var t=this.state,r=t.type,a=t.value;if(132!==r&&134!==r||!e.static||"prototype"!==a||this.raise(AR.StaticPrototype,this.state.startLoc),139===r){"constructor"===a&&this.raise(AR.ConstructorClassPrivateField,this.state.startLoc);var n=this.parsePrivateName();return e.key=n,n}return this.parsePropertyName(e),e.key},r.parseClassStaticBlock=function(e,t){var r;this.scope.enter(Ew.CLASS|Ew.STATIC_BLOCK|Ew.SUPER);var a=this.state.labels;this.state.labels=[],this.prodParam.enter(aE.PARAM);var n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=a,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(AR.DecoratorStaticBlock,t)},r.pushClassProperty=function(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(AR.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))},r.pushClassPrivateProperty=function(e,t){var r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Sw.OTHER,r.key.loc.start)},r.pushClassAccessorProperty=function(e,t,r){r||t.computed||!this.nameIsConstructor(t.key)||this.raise(AR.ConstructorClassField,t.key);var a=this.parseClassAccessorProperty(t);e.body.push(a),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),Sw.OTHER,a.key.loc.start)},r.pushClassMethod=function(e,t,r,a,n,s){e.body.push(this.parseMethod(t,r,a,n,s,"ClassMethod",!0))},r.pushClassPrivateMethod=function(e,t,r,a){var n=this.parseMethod(t,r,a,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);var s="get"===n.kind?n.static?Sw.STATIC_GETTER:Sw.INSTANCE_GETTER:"set"===n.kind?n.static?Sw.STATIC_SETTER:Sw.INSTANCE_SETTER:Sw.OTHER;this.declareClassPrivateMethodInScope(n,s)},r.declareClassPrivateMethodInScope=function(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)},r.parsePostMemberNameModifiers=function(e){},r.parseClassPrivateProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")},r.parseClassProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")},r.parseClassAccessorProperty=function(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")},r.parseInitializer=function(e){this.scope.enter(Ew.CLASS|Ew.SUPER),this.expressionScope.enter(rE()),this.prodParam.enter(aE.PARAM),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()},r.parseClassId=function(e,t,r,a){if(void 0===a&&(a=jw.TYPE_CLASS),ew(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,a);else{if(!r&&t)throw this.raise(AR.MissingClassName,this.state.startLoc);e.id=null}},r.parseClassSuper=function(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null},r.parseExport=function(e,t){var r=this.parseMaybeImportPhase(e,!0),a=this.maybeParseExportDefaultSpecifier(e,r),n=!a||this.eat(12),s=n&&this.eatExportStar(e),o=s&&this.maybeParseExportNamespaceSpecifier(e),i=n&&(!o||this.eat(12)),d=a||s;if(s&&!o){if(a&&this.unexpected(),t)throw this.raise(AR.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}var c,l=this.maybeParseExportNamedSpecifiers(e);if(a&&n&&!s&&!l&&this.unexpected(null,5),o&&i&&this.unexpected(null,98),d||l){if(c=!1,t)throw this.raise(AR.UnsupportedDecoratorExport,e);this.parseExportFrom(e,d)}else c=this.maybeParseExportDeclaration(e);if(d||l||c){var u,p=e;if(this.checkExport(p,!0,!1,!!p.source),"ClassDeclaration"===(null==(u=p.declaration)?void 0:u.type))this.maybeTakeDecorators(t,p.declaration,p);else if(t)throw this.raise(AR.UnsupportedDecoratorExport,e);return this.finishNode(p,"ExportNamedDeclaration")}if(this.eat(65)){var f=e,g=this.parseExportDefaultExpression();if(f.declaration=g,"ClassDeclaration"===g.type)this.maybeTakeDecorators(t,g,f);else if(t)throw this.raise(AR.UnsupportedDecoratorExport,e);return this.checkExport(f,!0,!0),this.finishNode(f,"ExportDefaultDeclaration")}this.unexpected(null,5)},r.eatExportStar=function(e){return this.eat(55)},r.maybeParseExportDefaultSpecifier=function(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);var r=t||this.parseIdentifier(!0),a=this.startNodeAtNode(r);return a.exported=r,e.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],!0}return!1},r.maybeParseExportNamespaceSpecifier=function(e){if(this.isContextual(93)){var t;null!=(t=e).specifiers||(t.specifiers=[]);var r=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1},r.maybeParseExportNamedSpecifiers=function(e){if(this.match(5)){var t,r=e;r.specifiers||(r.specifiers=[]);var a="type"===r.exportKind;return(t=r.specifiers).push.apply(t,this.parseExportSpecifiers(a)),r.source=null,r.declaration=null,this.hasPlugin("importAssertions")&&(r.assertions=[]),!0}return!1},r.maybeParseExportDeclaration=function(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)},r.isAsyncFunction=function(){if(!this.isContextual(95))return!1;var e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")},r.parseExportDefaultExpression=function(){var e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,ij.Declaration|ij.NullableId);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,ij.Declaration|ij.NullableId|ij.Async);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(AR.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(AR.UnsupportedDefaultExport,this.state.startLoc);var t=this.parseMaybeAssignAllowIn();return this.semicolon(),t},r.parseExportDeclaration=function(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()},r.isExportDefaultSpecifier=function(){var e=this.state.type;if(ew(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){var t=this.lookahead().type;if(ew(t)&&98!==t||5===t)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;var r=this.nextTokenStart(),a=this.isUnparsedContextual(r,"from");if(44===this.input.charCodeAt(r)||ew(this.state.type)&&a)return!0;if(this.match(65)&&a){var n=this.input.charCodeAt(this.nextTokenStartSince(r+4));return 34===n||39===n}return!1},r.parseExportFrom=function(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()},r.shouldParseExportDeclaration=function(){var e=this.state.type;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(AR.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)||this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(AR.UsingDeclarationExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()},r.checkExport=function(e,t,r,a){var n;if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var s,o=e.declaration;"Identifier"!==o.type||"from"!==o.name||o.end-o.start!==4||null!=(s=o.extra)&&s.parenthesized||this.raise(AR.ExportDefaultFromAsIdentifier,o)}}else if(null!=(n=e.specifiers)&&n.length)for(var i=0,d=e.specifiers;i0&&this.raise(AR.ImportReflectionHasAssertion,t[0].loc.start)}},r.checkJSONModuleImport=function(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){var t=e.specifiers;if(null!=t){var r=t.find((function(e){var t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==r&&this.raise(AR.ImportJSONBindingNotDefault,r.loc.start)}}},r.isPotentialImportPhase=function(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))},r.applyImportPhase=function(e,t,r,a){t||("module"===r?(this.expectPlugin("importReflection",a),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===r?(this.expectPlugin("sourcePhaseImports",a),e.phase="source"):"defer"===r?(this.expectPlugin("deferredImportEvaluation",a),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))},r.parseMaybeImportPhase=function(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;var r=this.parseIdentifier(!0),a=this.state.type;return(rw(a)?98!==a||102===this.lookaheadCharCode():12!==a)?(this.resetPreviousIdentifierLeadingComments(r),this.applyImportPhase(e,t,r.name,r.loc.start),null):(this.applyImportPhase(e,t,null),r)},r.isPrecedingIdImportPhase=function(e){var t=this.state.type;return ew(t)?98!==t||102===this.lookaheadCharCode():12!==t},r.parseImport=function(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))},r.parseImportSpecifiersAndAfter=function(e,t){e.specifiers=[];var r=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),a=r&&this.maybeParseStarImportSpecifier(e);return r&&!a&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)},r.parseImportSourceAndAttributes=function(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")},r.parseImportSource=function(){return this.match(134)||this.unexpected(),this.parseExprAtom()},r.parseImportSpecifierLocal=function(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))},r.finishImportSpecifier=function(e,t,r){return void 0===r&&(r=jw.TYPE_LEXICAL),this.checkLVal(e.local,{type:t},r),this.finishNode(e,t)},r.parseImportAttributes=function(){this.expect(5);var e=[],t=new Set;do{if(this.match(8))break;var r=this.startNode(),a=this.state.value;if(t.has(a)&&this.raise(AR.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:a}),t.add(a),this.match(134)?r.key=this.parseStringLiteral(a):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(AR.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e},r.parseModuleAttributes=function(){var e=[],t=new Set;do{var r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(AR.ModuleAttributeDifferentFromType,r.key),t.has(r.key.name)&&this.raise(AR.ModuleAttributesWithDuplicateKeys,r.key,{key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(134))throw this.raise(AR.ModuleAttributeInvalidValue,this.state.startLoc);r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e},r.maybeParseImportAttributes=function(e){var t,r=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),t=this.hasPlugin("moduleAttributes")?this.parseModuleAttributes():this.parseImportAttributes(),r=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(AR.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(e,"deprecatedAssertSyntax",!0),this.next(),t=this.parseImportAttributes()):t=[];!r&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t},r.maybeParseDefaultImportSpecifier=function(e,t){if(t){var r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishImportSpecifier(r,"ImportDefaultSpecifier")),!0}return!!rw(this.state.type)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)},r.maybeParseStarImportSpecifier=function(e){if(this.match(55)){var t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1},r.parseNamedImportSpecifiers=function(e){var t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(AR.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}var r=this.startNode(),a=this.match(134),n=this.isContextual(130);r.imported=this.parseModuleExportName();var s=this.parseImportSpecifier(r,a,"type"===e.importKind||"typeof"===e.importKind,n,void 0);e.specifiers.push(s)}},r.parseImportSpecifier=function(e,t,r,a,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{var s=e.imported;if(t)throw this.raise(AR.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=uE(s))}return this.finishImportSpecifier(e,"ImportSpecifier",n)},r.isThisParam=function(e){return"Identifier"===e.type&&"this"===e.name},u(t)}(nj),fj=function(e){function t(t,r,a){var n;return t=aj(t),(n=e.call(this,t,r)||this).options=t,n.initializeScopes(),n.plugins=a,n.filename=t.sourceFilename,n.startIndex=t.startIndex,n}g(t,e);var r=t.prototype;return r.getScopeHandler=function(){return kw},r.parse=function(){this.enterInitialScopes();var e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e.comments.length=this.state.commentsLen,e},u(t)}(pj);function gj(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return bj(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";var a=bj(t,e),n=a.parse();if(a.sawUnambiguousESM)return n;if(a.ambiguousScriptDifferentAst)try{return t.sourceType="script",bj(t,e).parse()}catch(s){}else n.program.sourceType="script";return n}catch(o){try{return t.sourceType="script",bj(t,e).parse()}catch(i){}throw o}}function mj(e,t){var r=bj(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function hj(e){for(var t={},r=0,a=Object.keys(e);r!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,Fj.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}),Fj}function Mj(e){return null!=e&&e&&"false"!==e&&"0"!==e}var Lj,Uj=(Mj(ve.env.BABEL_8_BREAKING),Bj()),qj=new Set(["as","async","from","get","of","set"]),Wj=/\r\n|[\n\r\u2028\u2029]/,Hj=/^[()[\]{}]$/,zj=/^[a-z][\w-]*$/i,Gj=function(e,t,r){if("name"===e.type){if(Po(e.value)||Ao(e.value,!0)||qj.has(e.value))return"keyword";if(zj.test(e.value)&&("<"===r[t-1]||""),n.gutter(s),e.length>0?" "+e:"",u].join("")}return" "+n.gutter(s)+(e.length>0?" "+e:"")})).join("\n");return r.message&&!c&&(u=""+" ".repeat(l+1)+r.message+"\n"+u),a?n.reset(u):u}var Xj=De,$j=Le,Qj=xs,Zj=Ge,eS=Ra,tS=tt,rS=_a,aS=us,nS=Ye,sS=wx,oS=Lx,iS=/^[_$A-Z0-9]+$/;function dS(e,t,r){var a=r.placeholderWhitelist,n=r.placeholderPattern,s=r.preserveComments,o=r.syntacticPlaceholders,i=uS(t,r.parser,o);sS(i,{preserveComments:s}),e.validate(i);var d={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:a,placeholderPattern:n,syntacticPlaceholders:o};return oS(i,cS,d),Object.assign({ast:i},d.syntactic.placeholders.length?d.syntactic:d.legacy)}function cS(e,t,r){var a,n,s=r.syntactic.placeholders.length>0;if(rS(e)){if(!1===r.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");n=e.name.name,s=!0}else{if(s||r.syntacticPlaceholders)return;if(Zj(e)||eS(e))n=e.name;else{if(!nS(e))return;n=e.value}}if(s&&(null!=r.placeholderPattern||null!=r.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(s||!1!==r.placeholderPattern&&(r.placeholderPattern||iS).test(n)||null!=(a=r.placeholderWhitelist)&&a.has(n)){var o,i=(t=t.slice())[t.length-1],d=i.node,c=i.key;nS(e)||rS(e,{expectedNode:"StringLiteral"})?o="string":tS(d)&&"arguments"===c||Xj(d)&&"arguments"===c||Qj(d)&&"params"===c?o="param":$j(d)&&!rS(e)?(o="statement",t=t.slice(0,-1)):o=aS(e)&&rS(e)?"statement":"other";var l=s?r.syntactic:r.legacy,u=l.placeholders,p=l.placeholderNames;u.push({name:n,type:o,resolve:function(e){return lS(e,t)},isDuplicate:p.has(n)}),p.add(n)}}function lS(e,t){for(var r=e,a=0;a1?a-1:0),o=1;o1)throw new Error("Unexpected extra params.");return CS(ES(e,t,dR(n,cR(s[0]))))}if(Array.isArray(t)){var i=r.get(t);return i||(i=jS(e,t,n),r.set(t,i)),CS(i(s))}if("object"===typeof t&&t){if(s.length>0)throw new Error("Unexpected extra params.");return kS(e,dR(n,cR(t)))}throw new Error("Unexpected template param "+typeof t)}),{ast:function(t){for(var r=arguments.length,s=new Array(r>1?r-1:0),o=1;o1)throw new Error("Unexpected extra params.");return ES(e,t,dR(dR(n,cR(s[0])),AS))()}if(Array.isArray(t)){var i=a.get(t);return i||(i=jS(e,t,dR(n,AS)),a.set(t,i)),i(s)()}throw new Error("Unexpected template param "+typeof t)}})}function CS(e){var t="";try{throw new Error}catch(SX){SX.stack&&(t=SX.stack.split("\n").slice(3).join("\n"))}return function(r){try{return e(r)}catch(a){throw a.stack+="\n =============\n"+t,a}}}var PS=kS(rR),_S=kS(nR),DS=kS(aR),IS=kS(sR),OS=kS(oR),NS=Object.assign(PS.bind(void 0),{smart:PS,statement:_S,statements:DS,expression:IS,program:OS,ast:PS.ast}),FS=Object.freeze({__proto__:null,default:NS,expression:IS,program:OS,smart:PS,statement:_S,statements:DS});function BS(e,t,r){return Object.freeze({minVersion:e,ast:function(){return NS.program.ast(t,{preserveComments:!0})},metadata:r})}var MS={__proto__:null,OverloadYield:BS("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:BS("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:BS("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;ir.length)&&(a=r.length);for(var e=0,n=Array(a);e=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]}}),createForOfIteratorHelperLoose:BS("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]}}),createSuper:BS("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]}}),decorate:BS("7.1.5",'function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s1){for(var t=Array(n),f=0;f=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}',{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),set:BS("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]}}),setFunctionName:BS("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{}}),setPrototypeOf:BS("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{}}),skipFirstGeneratorNext:BS("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{}}),slicedToArray:BS("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),superPropBase:BS("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]}}),superPropGet:BS("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]}}),superPropSet:BS("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]}}),taggedTemplateLiteral:BS("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{}}),taggedTemplateLiteralLoose:BS("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{}}),tdz:BS("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{}}),temporalRef:BS("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]}}),temporalUndefined:BS("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:BS("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),toConsumableArray:BS("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]}}),toPrimitive:BS("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{}}),toPropertyKey:BS("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]}}),toSetter:BS("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{}}),typeof:BS("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{}}),unsupportedIterableToArray:BS("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]}}),usingCtx:BS("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:BS("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]}}),wrapNativeSuper:BS("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]}}),wrapRegExp:BS("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]}}),writeOnlyError:BS("7.12.13","function _writeOnlyError(r){throw new TypeError('\"'+r+'\" is write-only')}",{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{}})};Object.assign(MS,{AwaitValue:BS("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:BS("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]}}),classApplyDescriptorDestructureSet:BS("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{}}),classApplyDescriptorGet:BS("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{}}),classApplyDescriptorSet:BS("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{}}),classCheckPrivateStaticAccess:BS("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]}}),classCheckPrivateStaticFieldDescriptor:BS("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{}}),classExtractFieldDescriptor:BS("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]}}),classPrivateFieldDestructureSet:BS("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldGet:BS("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldSet:BS("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateMethodGet:BS("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),classPrivateMethodSet:BS("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{}}),classStaticPrivateFieldDestructureSet:BS("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecGet:BS("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecSet:BS("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateMethodSet:BS("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{}}),defineEnumerableProperties:BS("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{}}),objectSpread:BS("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r0;)e=e[n],n=a.shift();if(!(arguments.length>2))return e[n];e[n]=r}catch(s){throw s.message+=" (when accessing "+t+")",s}}function WS(e,t,r,a,n,s){var o=t.locals,i=t.dependencies,d=t.exportBindingAssignments,c=t.exportName,l=new Set(a||[]);r&&l.add(r);for(var u=0,f=(Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))})(o);u100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(i){var d=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*n;case"days":case"day":case"d":return d*a;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function i(n){var s=Math.abs(n);return s>=a?Math.round(n/a)+"d":s>=r?Math.round(n/r)+"h":s>=t?Math.round(n/t)+"m":s>=e?Math.round(n/e)+"s":n+"ms"}function d(n){var s=Math.abs(n);return s>=a?c(n,s,a,"day"):s>=r?c(n,s,r,"hour"):s>=t?c(n,s,t,"minute"):s>=e?c(n,s,e,"second"):n+" ms"}function c(e,t,r,a){var n=t>=1.5*r;return Math.round(e/r)+" "+a+(n?"s":"")}return YS=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return o(e);if("number"===r&&isFinite(e))return t.long?d(e):i(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},YS}function bT(e){function t(e){for(var t=0,a=0;a=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));var e}function a(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var a=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(n=a))})),t.splice(n,0,r)}}function n(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(SX){}}function s(){var e;try{e=t.storage.getItem("debug")}catch(SX){}return!e&&"undefined"!==typeof ve&&"env"in ve&&(e=ve.env.DEBUG),e}function o(){try{return localStorage}catch(SX){}}t.formatArgs=a,t.save=n,t.load=s,t.useColors=r,t.storage=o(),t.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=vT(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(SX){return"[UnexpectedJSONParseError]: "+SX.message}}}(hT,hT.exports);var xT=hT.exports,RT=qx,wT=Hx,ET=Fs,jT=os,ST=Us,TT=We,AT=vs,kT=Ge,CT=Dt,PT=Nt,_T=Ra,DT=wa,IT=et,OT=ot,NT=Vx,FT=Kx,BT=us,MT=$x,LT=yt,UT=_t,qT=Qx.isCompatTag;function WT(e){var t=this.node,r=this.parent;if(!kT(t,e)&&!DT(r,e)){if(!_T(t,e))return!1;if(qT(t.name))return!1}return NT(t,r,this.parentPath.parent)}function HT(){var e=this.node,t=this.parent;return IT(e)&&NT(e,t)}function zT(){var e=this.node,t=this.parent,r=this.parentPath.parent;return kT(e)&&RT(e,t,r)}function GT(){var e=this.node,t=this.parent;if(BT(e)){if(LT(e)){if(AT(t,{left:e}))return!1;if(TT(t,{init:e}))return!1}return!0}return!1}function VT(){return this.isIdentifier()?this.isReferencedIdentifier():jT(this.node)}function KT(){return FT(this.node,this.parent)}function YT(){return NT(this.node,this.parent)}function JT(){return wT(this.node)}function XT(){return MT(this.node)}function $T(){return this.node&&!!this.node.loc}function QT(){return!this.isUser()}function ZT(e){return this.scope.isPure(this.node,e)}function eA(){var e=this.node;return!!ST(e)||(CT(e)?"type"===e.importKind||"typeof"===e.importKind:ET(e)?"type"===e.exportKind:!!PT(e)&&("type"===e.importKind||"typeof"===e.importKind))}function tA(){var e;return OT(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectPattern())}function rA(){var e;return OT(this.node)&&(null==(e=this.parentPath)?void 0:e.isObjectExpression())}function aA(){return UT(this.node,{await:!0})}e.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},e.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")};var nA=Object.freeze({__proto__:null,isBindingIdentifier:zT,isBlockScoped:JT,isExpression:VT,isFlow:eA,isForAwaitStatement:aA,isGenerated:QT,isPure:ZT,isReferenced:YT,isReferencedIdentifier:WT,isReferencedMemberExpression:HT,isRestProperty:tA,isScope:KT,isSpreadProperty:rA,isStatement:GT,isUser:$T,isVar:XT}),sA=pi,oA=pd,iA=ci,dA=fd,cA=we;function lA(e){return e in mT}function uA(e){return null==e?void 0:e._exploded}function pA(e){if(uA(e))return e;e._exploded=!0;for(var t=0,r=Object.keys(e);t1&&(t+=r),r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));var a=this.getProgramParent();return a.references[t]=!0,a.uids[t]=!0,t},t.generateUidBasedOnNode=function(e,t){var r=[];Uk(e,r);var a=r.join("$");return a=a.replace(/^_/,"")||t||"ref",this.generateUid(a.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return XA(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(Rk(e)||bk(e)||Ok(e))return!0;if(ik(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),YA(r))},t.checkBlockScopedCollisions=function(e,t,r,a){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.path.hub.buildError(a,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new AA(r,e,t).rename(arguments[2]))},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,a=Object.keys(t.bindings);r0)&&this.isPure(e.body,t);if(tk(e)){for(var o,i=p(e.body);!(o=i()).done;){var d=o.value;if(!this.isPure(d,t))return!1}return!0}if(QA(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if($A(e)||Dk(e)){for(var c,l=p(e.elements);!(c=l()).done;){var u=c.value;if(null!==u&&!this.isPure(u,t))return!1}return!0}if(gk(e)||_k(e)){for(var f,g=p(e.properties);!(f=g()).done;){var m=f.value;if(!this.isPure(m,t))return!1}return!0}if(uk(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(n=e.decorators)?void 0:n.length)>0);if(mk(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(s=e.decorators)?void 0:s.length)>0)&&!((Ik(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(wk(e))return this.isPure(e.argument,t);if(xk(e)){for(var h,y=p(e.expressions);!(h=y()).done;){var b=h.value;if(!this.isPure(b,t))return!1}return!0}return vk(e)?Sk(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,t):lk(e)?!e.computed&&ik(e.object)&&"Symbol"===e.object.name&&ik(e.property)&&"for"!==e.property.name&&!this.hasBinding("Symbol",{noGlobals:!0}):ZA(e)?Sk(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&1===e.arguments.length&&Ye(e.arguments[0]):hk(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);var t=this.getProgramParent();if(!t.crawling){var r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&uA(qk)){for(var a,n=p(qk.enter);!(a=n()).done;)a.value.call(r,e,r);var s=qk[e.type];if(s)for(var o,i=p(s.enter);!(o=i()).done;)o.value.call(r,e,r)}e.traverse(qk,r),this.crawling=!1;for(var d,c=p(r.assignments);!(d=c()).done;){for(var l=d.value,u=l.getAssignmentIdentifiers(),f=0,g=Object.keys(u);f1&&(r+=t),"_"+r},Hk.prototype.toArray=function(e,t,r){if(ik(e)){var a=this.getBinding(e.name);if(null!=a&&a.constant&&a.path.isGenericType("Array"))return e}if($A(e))return e;if(ik(e,{name:"arguments"}))return KA(Tk(Tk(Tk(XA("Array"),XA("prototype")),XA("slice")),XA("call")),[e]);var n,s=[e];return!0===t?n="toConsumableArray":"number"===typeof t?(s.push(Ak(t)),n="slicedToArray"):n="toArray",r&&(s.unshift(this.path.hub.addHelper(n)),n="maybeArrayLike"),KA(this.path.hub.addHelper(n),s)},Hk.prototype.getAllBindingsOfKind=function(){for(var e=Object.create(null),t=arguments.length,r=new Array(t),a=0;a0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[i-2]?2:"="===e[i-1]?1:0,o=new Xk(3*i/4-s),a=s>0?i-4:i;var d=0;for(t=0,r=0;t>16&255,o[d++]=n>>8&255,o[d++]=255&n;return 2===s?(n=Jk[e.charCodeAt(t)]<<2|Jk[e.charCodeAt(t+1)]>>4,o[d++]=255&n):1===s&&(n=Jk[e.charCodeAt(t)]<<10|Jk[e.charCodeAt(t+1)]<<4|Jk[e.charCodeAt(t+2)]>>2,o[d++]=n>>8&255,o[d++]=255&n),o}function eC(e){return Yk[e>>18&63]+Yk[e>>12&63]+Yk[e>>6&63]+Yk[63&e]}function tC(e,t,r){for(var a,n=[],s=t;sd?d:i+o));return 1===a?(t=e[r-1],n+=Yk[t>>2],n+=Yk[t<<4&63],n+="=="):2===a&&(t=(e[r-2]<<8)+e[r-1],n+=Yk[t>>10],n+=Yk[t>>4&63],n+=Yk[t<<2&63],n+="="),s.push(n),s.join("")}function aC(e,t,r,a,n){var s,o,i=8*n-a-1,d=(1<>1,l=-7,u=r?n-1:0,p=r?-1:1,f=e[t+u];for(u+=p,s=f&(1<<-l)-1,f>>=-l,l+=i;l>0;s=256*s+e[t+u],u+=p,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=a;l>0;o=256*o+e[t+u],u+=p,l-=8);if(0===s)s=1-c;else{if(s===d)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,a),s-=c}return(f?-1:1)*o*Math.pow(2,s-a)}function nC(e,t,r,a,n,s){var o,i,d,c=8*s-n-1,l=(1<>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=a?0:s-1,g=a?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-o))<1&&(o--,d*=2),(t+=o+u>=1?p/d:p*Math.pow(2,1-u))*d>=2&&(o++,d/=2),o+u>=l?(i=0,o=l):o+u>=1?(i=(t*d-1)*Math.pow(2,n),o+=u):(i=t*Math.pow(2,u-1)*Math.pow(2,n),o=0));n>=8;e[r+f]=255&i,f+=g,i/=256,n-=8);for(o=o<0;e[r+f]=255&o,f+=g,o/=256,c-=8);e[r+f-g]|=128*m}var sC={}.toString,oC=Array.isArray||function(e){return"[object Array]"==sC.call(e)},iC=50;function dC(){return lC.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function cC(e,t){if(dC()=dC())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+dC().toString(16)+" bytes");return 0|e}function xC(e){return!(null==e||!e._isBuffer)}function RC(e,t){if(xC(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return $C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return eP(e).length;default:if(a)return $C(e).length;t=(""+t).toLowerCase(),a=!0}}function wC(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return MC(this,t,r);case"utf8":case"utf-8":return IC(this,t,r);case"ascii":return FC(this,t,r);case"latin1":case"binary":return BC(this,t,r);case"base64":return DC(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return LC(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function EC(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function jC(e,t,r,a,n){if(0===e.length)return-1;if("string"===typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"===typeof t&&(t=lC.from(t,a)),xC(t))return 0===t.length?-1:SC(e,t,r,a,n);if("number"===typeof t)return t&=255,lC.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):SC(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function SC(e,t,r,a,n){var s,o=1,i=e.length,d=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,i/=2,d/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var l=-1;for(s=r;si&&(r=i-d),s=r;s>=0;s--){for(var u=!0,p=0;pn&&(a=n):a=n;var s=t.length;if(s%2!==0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var o=0;o239?4:c>223?3:c>191?2:1;if(n+u<=r)switch(u){case 1:c<128&&(l=c);break;case 2:128===(192&(s=e[n+1]))&&(d=(31&c)<<6|63&s)>127&&(l=d);break;case 3:s=e[n+1],o=e[n+2],128===(192&s)&&128===(192&o)&&(d=(15&c)<<12|(63&s)<<6|63&o)>2047&&(d<55296||d>57343)&&(l=d);break;case 4:s=e[n+1],o=e[n+2],i=e[n+3],128===(192&s)&&128===(192&o)&&128===(192&i)&&(d=(15&c)<<18|(63&s)<<12|(63&o)<<6|63&i)>65535&&d<1114112&&(l=d)}null===l?(l=65533,u=1):l>65535&&(l-=65536,a.push(l>>>10&1023|55296),l=56320|1023&l),a.push(l),n+=u}return NC(a)}lC.TYPED_ARRAY_SUPPORT=void 0===D.TYPED_ARRAY_SUPPORT||D.TYPED_ARRAY_SUPPORT,dC(),lC.poolSize=8192,lC._augment=function(e){return e.__proto__=lC.prototype,e},lC.from=function(e,t,r){return uC(null,e,t,r)},lC.TYPED_ARRAY_SUPPORT&&(lC.prototype.__proto__=Uint8Array.prototype,lC.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&lC[Symbol.species]),lC.alloc=function(e,t,r){return fC(null,e,t,r)},lC.allocUnsafe=function(e){return gC(null,e)},lC.allocUnsafeSlow=function(e){return gC(null,e)},lC.isBuffer=aP,lC.compare=function(e,t){if(!xC(e)||!xC(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,n=0,s=Math.min(r,a);n0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},lC.prototype.compare=function(e,t,r,a,n){if(!xC(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw new RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(n>>>=0)-(a>>>=0),o=(r>>>=0)-(t>>>=0),i=Math.min(s,o),d=this.slice(a,n),c=e.slice(t,r),l=0;ln)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return TC(this,e,t,r);case"utf8":case"utf-8":return AC(this,e,t,r);case"ascii":return kC(this,e,t,r);case"latin1":case"binary":return CC(this,e,t,r);case"base64":return PC(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _C(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},lC.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var OC=4096;function NC(e){var t=e.length;if(t<=OC)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var n="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function qC(e,t,r,a,n,s){if(!xC(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function WC(e,t,r,a){t<0&&(t=65535+t+1);for(var n=0,s=Math.min(e.length-r,2);n>>8*(a?n:1-n)}function HC(e,t,r,a){t<0&&(t=4294967295+t+1);for(var n=0,s=Math.min(e.length-r,4);n>>8*(a?n:3-n)&255}function zC(e,t,r,a,n,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function GC(e,t,r,a,n){return n||zC(e,t,r,4),nC(e,t,r,a,23,4),r+4}function VC(e,t,r,a,n){return n||zC(e,t,r,8),nC(e,t,r,a,52,8),r+8}lC.prototype.slice=function(e,t){var r,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(n*=256);)a+=this[e+--t]*n;return a},lC.prototype.readUInt8=function(e,t){return t||UC(e,1,this.length),this[e]},lC.prototype.readUInt16LE=function(e,t){return t||UC(e,2,this.length),this[e]|this[e+1]<<8},lC.prototype.readUInt16BE=function(e,t){return t||UC(e,2,this.length),this[e]<<8|this[e+1]},lC.prototype.readUInt32LE=function(e,t){return t||UC(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},lC.prototype.readUInt32BE=function(e,t){return t||UC(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},lC.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||UC(e,t,this.length);for(var a=this[e],n=1,s=0;++s=(n*=128)&&(a-=Math.pow(2,8*t)),a},lC.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||UC(e,t,this.length);for(var a=t,n=1,s=this[e+--a];a>0&&(n*=256);)s+=this[e+--a]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},lC.prototype.readInt8=function(e,t){return t||UC(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},lC.prototype.readInt16LE=function(e,t){t||UC(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},lC.prototype.readInt16BE=function(e,t){t||UC(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},lC.prototype.readInt32LE=function(e,t){return t||UC(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},lC.prototype.readInt32BE=function(e,t){return t||UC(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},lC.prototype.readFloatLE=function(e,t){return t||UC(e,4,this.length),aC(this,e,!0,23,4)},lC.prototype.readFloatBE=function(e,t){return t||UC(e,4,this.length),aC(this,e,!1,23,4)},lC.prototype.readDoubleLE=function(e,t){return t||UC(e,8,this.length),aC(this,e,!0,52,8)},lC.prototype.readDoubleBE=function(e,t){return t||UC(e,8,this.length),aC(this,e,!1,52,8)},lC.prototype.writeUIntLE=function(e,t,r,a){e=+e,t|=0,r|=0,a||qC(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+n]=e/s&255;return t+r},lC.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,1,255,0),lC.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},lC.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,2,65535,0),lC.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):WC(this,e,t,!0),t+2},lC.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,2,65535,0),lC.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):WC(this,e,t,!1),t+2},lC.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,4,4294967295,0),lC.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):HC(this,e,t,!0),t+4},lC.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,4,4294967295,0),lC.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):HC(this,e,t,!1),t+4},lC.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);qC(this,e,t,r,n-1,-n)}var s=0,o=1,i=0;for(this[t]=255&e;++s=0&&(o*=256);)e<0&&0===i&&0!==this[t+s+1]&&(i=1),this[t+s]=(e/o|0)-i&255;return t+r},lC.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,1,127,-128),lC.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},lC.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,2,32767,-32768),lC.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):WC(this,e,t,!0),t+2},lC.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,2,32767,-32768),lC.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):WC(this,e,t,!1),t+2},lC.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,4,2147483647,-2147483648),lC.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):HC(this,e,t,!0),t+4},lC.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||qC(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),lC.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):HC(this,e,t,!1),t+4},lC.prototype.writeFloatLE=function(e,t,r){return GC(this,e,t,!0,r)},lC.prototype.writeFloatBE=function(e,t,r){return GC(this,e,t,!1,r)},lC.prototype.writeDoubleLE=function(e,t,r){return VC(this,e,t,!0,r)},lC.prototype.writeDoubleBE=function(e,t,r){return VC(this,e,t,!1,r)},lC.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--n)e[n+t]=this[n+r];else if(s<1e3||!lC.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(s=t;s55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function QC(e){for(var t=[],r=0;r>8,n=r%256,s.push(n),s.push(a);return s}function eP(e){return Zk(YC(e))}function tP(e,t,r,a){for(var n=0;n=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function rP(e){return e!==e}function aP(e){return null!=e&&(!!e._isBuffer||nP(e)||sP(e))}function nP(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function sP(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&nP(e.slice(0,0))}var oP,iP={exports:{}};function dP(){return oP||(oP=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),o=0;o>>=1,c&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(g)}function g(e,t){return e[0]-t[0]}function m(e){for(var a=new Int32Array(5),n=16384,s=n-36,o=new Uint8Array(n),i=o.subarray(0,s),c=0,l="",u=0;u0&&(c===n&&(l+=d.decode(o),c=0),o[c++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(l+=d.decode(i),o.copyWithin(0,s,c),c-=s),f>0&&(o[c++]=t),c=h(o,c,a,g,0),1!==g.length&&(c=h(o,c,a,g,1),c=h(o,c,a,g,2),c=h(o,c,a,g,3),4!==g.length&&(c=h(o,c,a,g,4)))}}}return l+d.decode(o.subarray(0,c))}function h(e,t,r,a,s){var o=a[s],i=o-r[s];r[s]=o,i=i<0?-i<<1|1:i<<1;do{var d=31&i;(i>>>=5)>0&&(d|=32),e[t++]=n[d]}while(i>0);return t}e.decode=c,e.encode=m,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,iP.exports)),iP.exports}var cP,lP={exports:{}},uP={exports:{}};function pP(){return cP||(cP=1,e=uP,function(t,r){e.exports=r()}(0,(function(){var e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function a(t){return e.test(t)}function n(e){return e.startsWith("//")}function s(e){return e.startsWith("/")}function o(e){return e.startsWith("file:")}function i(e){return/^[.?#]/.test(e)}function d(e){var r=t.exec(e);return l(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function c(e){var t=r.exec(e),a=t[2];return l("file:","",t[1]||"","",s(a)?a:"/"+a,t[3]||"",t[4]||"")}function l(e,t,r,a,n,s,o){return{scheme:e,user:t,host:r,port:a,path:n,query:s,hash:o,type:7}}function u(e){if(n(e)){var t=d("http:"+e);return t.scheme="",t.type=6,t}if(s(e)){var r=d("http://foo.com"+e);return r.scheme="",r.host="",r.type=5,r}if(o(e))return c(e);if(a(e))return d(e);var i=d("http://foo.com/"+e);return i.scheme="",i.host="",i.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,i}function p(e){if(e.endsWith("/.."))return e;var t=e.lastIndexOf("/");return e.slice(0,t+1)}function f(e,t){g(t,t.type),"/"===e.path?e.path=t.path:e.path=p(t.path)+e.path}function g(e,t){for(var r=t<=4,a=e.path.split("/"),n=1,s=0,o=!1,i=1;ia&&(a=s)}g(r,a);var o=r.query+r.hash;switch(a){case 2:case 3:return o;case 4:var d=r.path.slice(1);return d?i(t||e)&&!i(d)?"./"+d+o:d+o:o||".";case 5:return r.path+o;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+o}}return m}))),uP.exports;var e}!function(e,t){!function(e,r){r(t,dP(),pP())}(0,(function(e,t,r){function a(e,t){return t&&!t.endsWith("/")&&(t+="/"),r(e,t)}function n(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}var s=0,o=1,i=2,d=3,c=4,l=1,p=2;function f(e,t){var r=g(e,0);if(r===e.length)return e;t||(e=e.slice());for(var a=r;a>1),o=e[n][s]-t;if(0===o)return b=!0,n;o<0?r=n+1:a=n-1}return b=!1,r-1}function x(e,t,r){for(var a=r+1;a=0&&e[a][s]===t;r=a--);return r}function w(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function E(e,t,r,a){var n=r.lastKey,o=r.lastNeedle,i=r.lastIndex,d=0,c=e.length-1;if(a===n){if(t===o)return b=-1!==i&&e[i][s]===t,i;t>=o?d=-1===i?0:i:c=i}return r.lastKey=a,r.lastNeedle=t,r.lastIndex=v(e,t,d,c)}function j(e,t){for(var r=t.map(T),a=0;at;a--)e[a]=e[a-1];e[t]=r}function T(){return{__proto__:null}}var A=function(e,t){var r=k(e);if(!("sections"in r))return new B(r,t);var a=[],n=[],s=[],o=[],i=[];return C(r,t,a,n,s,o,i,0,0,1/0,1/0),J({version:3,file:r.file,names:o,sources:n,sourcesContent:s,mappings:a,ignoreList:i})};function k(e){return"string"===typeof e?JSON.parse(e):e}function C(e,t,r,a,n,s,o,i,d,c,l){for(var u=e.sections,p=0;pg)return;for(var P=D(r,A),I=0===T?f:0,O=x[T],N=0;N=m)return;if(1!==F.length){var L=b+F[o],q=F[i],W=F[d];P.push(4===F.length?[M,L,q,W]:[M,L,q,W,v+F[c]])}else P.push([M])}}}function _(e,t){for(var r=0;r=a.length)return null;var n=a[t],s=te(n,M(e)._decodedMemo,t,r,F);return-1===s?null:n[s]}function W(e,t){var r=t.line,a=t.column,n=t.bias;if(--r<0)throw new Error(I);if(a<0)throw new Error(O);var s=U(e);if(r>=s.length)return Z(null,null,null,null);var l=s[r],u=te(l,M(e)._decodedMemo,r,a,n||F);if(-1===u)return Z(null,null,null,null);var p=l[u];if(1===p.length)return Z(null,null,null,null);var f=e.names;return Z(e.resolvedSources[p[o]],p[i]+1,p[d],5===p.length?f[p[c]]:null)}function H(e,t){return ae(e,t.source,t.line,t.column,t.bias||F,!1)}function z(e,t){return ae(e,t.source,t.line,t.column,t.bias||N,!0)}function G(e,t){for(var r=U(e),a=e.names,n=e.resolvedSources,s=0;s=0&&!(t>=e[a][n]);r=a--);return r}function T(e,t,r){for(var a=e.length;a>t;a--)e[a]=e[a-1];e[t]=r}function A(e){for(var t=e.length,r=t,a=r-1;a>=0&&!(e[a].length>0);r=a,a--);r1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)},t._append=function(e,t,r){var a=e.length,n=this._position;if(this._last=e.charCodeAt(a-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,r||this._map){var s=t.column,o=t.identifierName,i=t.identifierNamePos,d=t.filename,c=t.line;null==o&&null==i||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);var l=e.indexOf("\n"),u=0;for(0!==l&&this._mark(c,s,o,i,d);-1!==l;)n.line++,n.column=0,(u=l+1)=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t},t.endsWithCharAndNewline=function(){var e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}},t.hasContent=function(){return 0!==this._queueCursor||!!this._last},t.exactSource=function(e,t){if(this._map){this.source("start",e);var r=e.identifierName,a=this._sourcePosition;r&&(this._canMarkIdName=!1,a.identifierName=r),t(),r&&(this._canMarkIdName=!0,a.identifierName=void 0,a.identifierNamePos=void 0),this.source("end",e)}else t()},t.source=function(e,t){this._map&&this._normalizePosition(e,t,0)},t.sourceWithOffset=function(e,t,r){this._map&&this._normalizePosition(e,t,r)},t._normalizePosition=function(e,t,r){var a=t[e],n=this._sourcePosition;a&&(n.line=a.line,n.column=Math.max(a.column+r,0),n.filename=t.filename)},t.getCurrentColumn=function(){for(var e=this._queue,t=this._queueCursor,r=-1,a=0,n=0;n",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function KP(e,t){return"BinaryExpression"===t||"LogicalExpression"===t?VP.get(e.operator):"TSAsExpression"===t||"TSSatisfiesExpression"===t?VP.get("in"):void 0}function YP(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}var JP=function(e,t){var r=t.type;return("ClassDeclaration"===r||"ClassExpression"===r)&&t.superClass===e},XP=function(e,t){var r=t.type;return("MemberExpression"===r||"OptionalMemberExpression"===r)&&t.object===e||("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r)&&t.callee===e||"TaggedTemplateExpression"===r&&t.tag===e||"TSNonNullExpression"===r};function $P(e,t){return FP(t)}function QP(e,t,r){var a=t.type;return"UnionTypeAnnotation"===a||"IntersectionTypeAnnotation"===a||"ArrayTypeAnnotation"===a||Boolean(r&k_.arrowFlowReturnType)}function ZP(e,t){return XP(e,t)||JP(e,t)}function e_(e){return Boolean(e&(k_.expressionStatement|k_.arrowBody))}function t_(e,t,r){return e_(r)}function r_(e,t,r){return!e.async&&Boolean(r&k_.expressionStatement)}function a_(e,t){var r=t.type;if("BinaryExpression"===e.type&&"**"===e.operator&&"BinaryExpression"===r&&"**"===t.operator)return t.left===e;if(JP(e,t))return!0;if(XP(e,t)||"UnaryExpression"===r||"SpreadElement"===r||"AwaitExpression"===r)return!0;var a=KP(t,r);if(null!=a){var n=KP(e,e.type);if(a===n&&"BinaryExpression"===r&&t.right===e||a>n)return!0}}function n_(e,t){var r=t.type;return"ArrayTypeAnnotation"===r||"NullableTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"UnionTypeAnnotation"===r}function s_(e,t){return UP(t)&&t.objectType===e}function o_(e,t){return("AssignmentExpression"===t.type||"AssignmentPattern"===t.type)&&t.left===e||"BinaryExpression"===t.type&&("|"===t.operator||"&"===t.operator)&&e===t.left||a_(e,t)}function i_(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r||"TSIntersectionType"===r||"TSRestType"===r}function d_(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r}function c_(e,t){var r=t.type;return("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r||"TSInstantiationExpression"===r)&&!!t.typeParameters}function l_(e,t,r,a){return"in"===e.operator&&a}function u_(e,t){var r=t.type;return!("SequenceExpression"===r||"ParenthesizedExpression"===r||"MemberExpression"===r&&t.property===e||"OptionalMemberExpression"===r&&t.property===e||"TemplateLiteral"===r)&&("ClassDeclaration"===r||("ForOfStatement"===r?t.right===e:"ExportDefaultDeclaration"===r||!GP(t)))}function p_(e,t){var r=t.type;return"BinaryExpression"===r||"LogicalExpression"===r||"UnaryExpression"===r||"SpreadElement"===r||XP(e,t)||"AwaitExpression"===r&&zP(e)||"ConditionalExpression"===r&&e===t.test||JP(e,t)||YP(r)}function f_(e,t,r){return Boolean(r&(k_.expressionStatement|k_.exportDefault))}function g_(e,t){return XP(e,t)||BP(t)&&"**"===t.operator&&t.left===e||JP(e,t)}function m_(e,t,r){return Boolean(r&(k_.expressionStatement|k_.exportDefault))}function h_(e,t){var r=t.type;return!!("UnaryExpression"===r||"SpreadElement"===r||"BinaryExpression"===r||"LogicalExpression"===r||"ConditionalExpression"===r&&t.test===e||"AwaitExpression"===r||YP(r))||g_(e,t)}function y_(e,t){return MP(t)&&t.callee===e||qP(t)&&t.object===e}function b_(e,t,r){return!(!e_(r)||!WP(e.left))||h_(e,t)}function v_(e,t){var r=t.type;if(YP(r))return!0;if("LogicalExpression"!==r)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}}function x_(e,t,r,a,n){var s,o=t.type;if(null!=(s=e.extra)&&s.parenthesized&&"AssignmentExpression"===o&&t.left===e){var i=t.right.type;if(("FunctionExpression"===i||"ClassExpression"===i)&&null==t.right.id)return!0}return(!n||n(e)===e.name)&&("let"===e.name?!!((qP(t,{object:e,computed:!0})||HP(t,{object:e,computed:!0,optional:!1}))&&r&(k_.expressionStatement|k_.forHead|k_.forInHead))||Boolean(r&k_.forOfHead):"async"===e.name&&LP(t,{left:e,await:!1}))}var R_=ci,w_=ii,E_=De,j_=Fa,S_=et,T_=tt,A_=ct,k_={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function C_(e){var t=new Map;function r(e,r){var a=t.get(e);t.set(e,a?function(e,t,n,s,o){var i;return null!=(i=a(e,t,n,s,o))?i:r(e,t,n,s,o)}:r)}for(var a=0,n=Object.keys(e);a=0;a--){var n=e[r[a]];if(n===t)return!0;if(Array.isArray(n)){for(var s=n.length-1;s>=0&&null===n[s];)s--;return s>=0&&n[s]===t}if(n)return!1}return!1}C_(NP);var N_=E().mark(L_),F_=bx,B_=ii,M_=function(){function e(e,t,r){var a=this;this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=t,this._source=r,F_(e,(function(e){var t=a._getTokensIndexesOfNode(e);t.length>0&&a._nodesToTokenIndexes.set(e,t)})),this._tokensCache=null}var t=e.prototype;return t.has=function(e){return this._nodesToTokenIndexes.has(e)},t.getIndexes=function(e){return this._nodesToTokenIndexes.get(e)},t.find=function(e,t){var r=this._nodesToTokenIndexes.get(e);if(r)for(var a=0;a=0;a--){var n=r[a];if(t(this._tokens[n],n))return n}return-1},t.findMatching=function(e,t,r){void 0===r&&(r=0);var a=this._nodesToTokenIndexes.get(e);if(a){var n=0,s=r;if(s>1){var o=this._nodesOccurrencesCountCache.get(e);o&&o.test===t&&o.count0&&this._nodesOccurrencesCountCache.set(e,{test:t,count:s,i:n}),i;r--}}}return null},t.matchesOriginal=function(e,t){return e.end-e.start===t.length&&(null!=e.value?e.value===t:this._source.startsWith(t,e.start))},t.startMatches=function(e,t){var r=this._nodesToTokenIndexes.get(e);if(!r)return!1;var a=this._tokens[r[0]];return a.start===e.start&&this.matchesOriginal(a,t)},t.endMatches=function(e,t){var r=this._nodesToTokenIndexes.get(e);if(!r)return!1;var a=this._tokens[r[r.length-1]];return a.end===e.end&&this.matchesOriginal(a,t)},t._getTokensIndexesOfNode=function(e){if(null==e.start||null==e.end)return[];var t=this._findTokensOfNode(e,0,this._tokens.length-1),r=t.first,a=t.last,n=r,s=L_(e);"ExportNamedDeclaration"!==e.type&&"ExportDefaultDeclaration"!==e.type||!e.declaration||"ClassDeclaration"!==e.declaration.type||s.next();for(var o,i=[],d=p(s);!(o=d()).done;){var c=o.value;if(null!=c&&null!=c.start&&null!=c.end){for(var l=this._findTokensOfNode(c,n,a),u=l.first,f=n;f>1;if(ethis._tokens[a].start))return a;t=a+1}}return t},t._findLastTokenOfNode=function(e,t,r){for(;t<=r;){var a=r+t>>1;if(ethis._tokens[a].end))return a;t=a+1}}return r},u(e)}();function L_(e){var t,r,a,n,s,o;return E().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if("TemplateLiteral"!==e.type){i.next=13;break}return i.next=3,e.quasis[0];case 3:t=1;case 4:if(!(t1}),RD(t))if(wD(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()}function VD(e){this.print(e.id),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init))}var KD=kt,YD=Ct;function JD(e,t){(KD(t)||YD(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id)),this.print(e.typeParameters),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass),this.print(e.superTypeParameters)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements)),this.space(),this.print(e.body)}function XD(e){if(this.tokenChar(123),0===e.body.length)this.tokenChar(125);else{this.newline();var t=$D(this,e);null==t||t(-1);var r=this.enterDelimited();this.printJoin(e.body,{statement:!0,indent:!0,separator:t,printTrailingSeparator:!0}),r(),this.endsWith(10)||this.newline(),this.rightBrace(e)}}function $D(e,t){if(!e.tokenMap||null==t.start||null==t.end)return null;var r=e.tokenMap.getIndexes(t);if(!r)return null;var a=1,n=0,s=0,o=function(){for(;s"),this.space(),this.tokenContext|=k_.arrowBody,this.print(e.body)}function gI(e){var t,r;if(1!==e.params.length)return!0;if(e.typeParameters||e.returnType||e.predicate)return!0;var a=e.params[0];if(!sI(a)||a.typeAnnotation||a.optional||null!=(t=a.leadingComments)&&t.length||null!=(r=a.trailingComments)&&r.length)return!0;if(this.tokenMap){if(null==e.loc)return!0;if(null!==this.tokenMap.findMatching(e,"("))return!0;var n=this.tokenMap.findMatching(e,"=>");return null==(null==n?void 0:n.loc)||n.loc.start.line!==e.loc.start.line}return!!this.format.retainLines}function mI(e,t){var r=e;if(!r&&t){var a=t.type;"VariableDeclarator"===a?r=t.id:"AssignmentExpression"===a||"AssignmentPattern"===a?r=t.left:"ObjectProperty"===a||"ClassProperty"===a?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==a&&"ClassAccessorProperty"!==a||(r=t.key)}if(r){var n,s,o;if("Identifier"===r.type)n={pos:null==(s=r.loc)?void 0:s.start,name:(null==(o=r.loc)?void 0:o.identifierName)||r.name};else if("PrivateName"===r.type){var i;n={pos:null==(i=r.loc)?void 0:i.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var d;n={pos:null==(d=r.loc)?void 0:d.start,name:r.value}}return n}}var hI=Tt,yI=Ma,bI=Jt,vI=It,xI=Ot,RI=us;function wI(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local))}function EI(e){this.print(e.local)}function jI(e){this.print(e.exported)}function SI(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported))}function TI(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported)}var AI=!1;function kI(e,t){var r=this.format.importAttributesKeyword,a=e.attributes,n=e.assertions;!a||r||AI||(AI=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));var s="assert"===r||!r&&n;if(this.word(s?"assert":"with"),this.space(),s||"with"===r){var o=t?1:0;this.token("{",null,o),this.space(),this.printList(a||n,{printTrailingSeparator:this.shouldPrintTrailingComma("}")}),this.space(),this.token("}",null,o)}else this.printList(a||n)}function CI(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,!1)):this.print(e.source),this.semicolon()}function PI(e,t){hI(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators)}function _I(e){if(PI(this,e),this.word("export"),this.space(),e.declaration){var t=e.declaration;this.print(t),RI(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var r=e.specifiers.slice(0),a=!1;;){var n=r[0];if(!yI(n)&&!bI(n))break;a=!0,this.print(r.shift()),r.length&&(this.tokenChar(44),this.space())}var s,o,i=!1;(r.length||!r.length&&!a)&&(i=!0,this.tokenChar(123),r.length&&(this.space(),this.printList(r,{printTrailingSeparator:this.shouldPrintTrailingComma("}")}),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(s=e.attributes)&&s.length||null!=(o=e.assertions)&&o.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,i)):this.print(e.source)),this.semicolon()}}function DI(e){PI(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=k_.exportDefault;var t=e.declaration;this.print(t),RI(t)||this.semicolon()}function II(e){var t,r;this.word("import"),this.space();var a="type"===e.importKind||"typeof"===e.importKind;a?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());for(var n=e.specifiers.slice(0),s=!!n.length;s;){var o=n[0];if(!vI(o)&&!xI(o))break;this.print(n.shift()),n.length&&(this.tokenChar(44),this.space())}var i=!1;n.length?(i=!0,this.tokenChar(123),this.space(),this.printList(n,{printTrailingSeparator:this.shouldPrintTrailingComma("}")}),this.space(),this.tokenChar(125)):a&&!s&&(i=!0,this.tokenChar(123),this.tokenChar(125)),(s||a)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,!0),this.space(),this._printAttributes(e,i)):this.print(e.source),this.semicolon()}function OI(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function NI(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local)}function FI(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40),this.print(e.source),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options)),this.tokenChar(41)}var BI={},MI=BI.hasOwnProperty,LI=function(e,t){for(var r in e)MI.call(e,r)&&t(r,e[r])},UI=function(e,t){return t?(LI(t,(function(t,r){e[t]=r})),e):e},qI=function(e,t){for(var r=e.length,a=-1;++a2?WI(p):"\\x"+("00"+p).slice(-2)})),"`"==o&&(s=s.replace(/\$\{/g,"\\${")),t.isScriptContext&&(s=s.replace(/<\/(script|style)/gi,"<\\/$1").replace(//, '$2') || '')) {\n return\n };\n if (codeBlockParames) {\n const nextNode = nextChild(data, i, 'pre', codeBlockParames)\n if (nextNode) return;\n element.value = (element.value || '').replace(/^(\\n|\\s)+/, '')\n return element;\n } else {\n element.value = (element.value || '').replace(/^(\\n|\\s)+/, '')\n return element;\n }\n }\n }\n }\n return\n}\n\n/**\n * 获取代码注视的位置\n * @param data 数据\n * @param index 当前数据所在的位置\n * @returns 返回 当前参数数据 Object,`{}`\n */\nexport const getCommentObject = ({ value = '' }: Comment): Properties => {\n const param = getURLParameters(value.replace(/^/, '$1').replace(/^rehype:/, ''));\n Object.keys(param).forEach((keyName: string) => {\n if (param[keyName] === 'true') {\n param[keyName] = true;\n }\n if (param[keyName] === 'false') {\n param[keyName] = false;\n }\n if (typeof param[keyName] === 'string' && !/^0/.test(param[keyName] as string) && !isNaN(+param[keyName])) {\n param[keyName] = +param[keyName];\n }\n })\n return param;\n}\n\nexport type DataConfig = {\n 'data-config': Properties\n}\n\nexport const propertiesHandle = (defaultAttrs?: Properties | null, attrs?: Properties, type?: RehypeAttrsOptions['properties']): Properties | DataConfig => {\n if (type === 'string') {\n return { ...defaultAttrs, 'data-config': JSON.stringify({ ...attrs, rehyp: true })}\n } else if (type === 'attr') {\n return { ...defaultAttrs, ...attrs}\n }\n return { ...defaultAttrs, 'data-config': { ...attrs, rehyp: true }}\n}","import type { Plugin } from 'unified';\nimport type { Root, Element, Comment, Properties, Literal } from 'hast';\nimport { visit } from 'unist-util-visit';\nimport { propertiesHandle, nextChild, prevChild, getCommentObject } from './utils.js';\n\nexport type RehypeAttrsOptions = {\n /**\n * ## `data`\n * \n * ```markdown\n * text\n * \n * ```\n * 👇👇👇👇👇\n * ```html\n *

text

\n * ```\n * \n * ## `string`\n * \n * ```markdown\n * text\n * \n * ```\n * \n * 👇👇👇👇👇\n * \n * ```html\n *

text

\n * ```\n * \n * ## attr\n * \n * ```markdown\n * text\n * \n * ```\n * 👇👇👇👇👇\n * ```html\n *

text

\n * ```\n * @default `data`\n */\n properties?: 'data' | 'string' | 'attr';\n /**\n * Code block passing parameters\n */\n codeBlockParames?: boolean;\n}\n\nconst rehypeAttrs: Plugin<[RehypeAttrsOptions?], Root> = (options = {}) => {\n const { properties = 'data', codeBlockParames = true } = options;\n return (tree) => {\n visit(tree, 'element', (node, index, parent) => {\n if (codeBlockParames && node.tagName === 'pre' && node && Array.isArray(node.children) && parent && Array.isArray(parent.children) && parent.children.length > 1) {\n const firstChild = node.children[0] as Element;\n if (firstChild && firstChild.tagName === 'code' && typeof index === 'number') {\n const child = prevChild(parent.children as Literal[], index);\n if (child) {\n const attr = getCommentObject(child);\n if (Object.keys(attr).length > 0) {\n node.properties = { ...node.properties, ...{ 'data-type': 'rehyp' } }\n firstChild.properties = propertiesHandle(firstChild.properties, attr, properties) as Properties\n }\n }\n }\n }\n\n if (/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(node.tagName) && parent && Array.isArray(parent.children) && typeof index === 'number') {\n const child = nextChild(parent.children, index, '', codeBlockParames)\n if (child) {\n const attr = getCommentObject(child as Comment)\n if (Object.keys(attr).length > 0) {\n node.properties = propertiesHandle(node.properties, attr, properties) as Properties\n }\n }\n }\n });\n }\n}\n\n\nexport default rehypeAttrs\n","import {\n VOID, PRIMITIVE,\n ARRAY, OBJECT,\n DATE, REGEXP, MAP, SET,\n ERROR, BIGINT\n} from './types.js';\n\nconst env = typeof self === 'object' ? self : globalThis;\n\nconst deserializer = ($, _) => {\n const as = (out, index) => {\n $.set(index, out);\n return out;\n };\n\n const unpair = index => {\n if ($.has(index))\n return $.get(index);\n\n const [type, value] = _[index];\n switch (type) {\n case PRIMITIVE:\n case VOID:\n return as(value, index);\n case ARRAY: {\n const arr = as([], index);\n for (const index of value)\n arr.push(unpair(index));\n return arr;\n }\n case OBJECT: {\n const object = as({}, index);\n for (const [key, index] of value)\n object[unpair(key)] = unpair(index);\n return object;\n }\n case DATE:\n return as(new Date(value), index);\n case REGEXP: {\n const {source, flags} = value;\n return as(new RegExp(source, flags), index);\n }\n case MAP: {\n const map = as(new Map, index);\n for (const [key, index] of value)\n map.set(unpair(key), unpair(index));\n return map;\n }\n case SET: {\n const set = as(new Set, index);\n for (const index of value)\n set.add(unpair(index));\n return set;\n }\n case ERROR: {\n const {name, message} = value;\n return as(new env[name](message), index);\n }\n case BIGINT:\n return as(BigInt(value), index);\n case 'BigInt':\n return as(Object(BigInt(value)), index);\n }\n return as(new env[type](value), index);\n };\n\n return unpair;\n};\n\n/**\n * @typedef {Array} Record a type representation\n */\n\n/**\n * Returns a deserialized value from a serialized array of Records.\n * @param {Record[]} serialized a previously serialized value.\n * @returns {any}\n */\nexport const deserialize = serialized => deserializer(new Map, serialized)(0);\n","export const VOID = -1;\nexport const PRIMITIVE = 0;\nexport const ARRAY = 1;\nexport const OBJECT = 2;\nexport const DATE = 3;\nexport const REGEXP = 4;\nexport const MAP = 5;\nexport const SET = 6;\nexport const ERROR = 7;\nexport const BIGINT = 8;\n// export const SYMBOL = 9;\n","import {\n VOID, PRIMITIVE,\n ARRAY, OBJECT,\n DATE, REGEXP, MAP, SET,\n ERROR, BIGINT\n} from './types.js';\n\nconst EMPTY = '';\n\nconst {toString} = {};\nconst {keys} = Object;\n\nconst typeOf = value => {\n const type = typeof value;\n if (type !== 'object' || !value)\n return [PRIMITIVE, type];\n\n const asString = toString.call(value).slice(8, -1);\n switch (asString) {\n case 'Array':\n return [ARRAY, EMPTY];\n case 'Object':\n return [OBJECT, EMPTY];\n case 'Date':\n return [DATE, EMPTY];\n case 'RegExp':\n return [REGEXP, EMPTY];\n case 'Map':\n return [MAP, EMPTY];\n case 'Set':\n return [SET, EMPTY];\n }\n\n if (asString.includes('Array'))\n return [ARRAY, asString];\n\n if (asString.includes('Error'))\n return [ERROR, asString];\n\n return [OBJECT, asString];\n};\n\nconst shouldSkip = ([TYPE, type]) => (\n TYPE === PRIMITIVE &&\n (type === 'function' || type === 'symbol')\n);\n\nconst serializer = (strict, json, $, _) => {\n\n const as = (out, value) => {\n const index = _.push(out) - 1;\n $.set(value, index);\n return index;\n };\n\n const pair = value => {\n if ($.has(value))\n return $.get(value);\n\n let [TYPE, type] = typeOf(value);\n switch (TYPE) {\n case PRIMITIVE: {\n let entry = value;\n switch (type) {\n case 'bigint':\n TYPE = BIGINT;\n entry = value.toString();\n break;\n case 'function':\n case 'symbol':\n if (strict)\n throw new TypeError('unable to serialize ' + type);\n entry = null;\n break;\n case 'undefined':\n return as([VOID], value);\n }\n return as([TYPE, entry], value);\n }\n case ARRAY: {\n if (type)\n return as([type, [...value]], value);\n \n const arr = [];\n const index = as([TYPE, arr], value);\n for (const entry of value)\n arr.push(pair(entry));\n return index;\n }\n case OBJECT: {\n if (type) {\n switch (type) {\n case 'BigInt':\n return as([type, value.toString()], value);\n case 'Boolean':\n case 'Number':\n case 'String':\n return as([type, value.valueOf()], value);\n }\n }\n\n if (json && ('toJSON' in value))\n return pair(value.toJSON());\n\n const entries = [];\n const index = as([TYPE, entries], value);\n for (const key of keys(value)) {\n if (strict || !shouldSkip(typeOf(value[key])))\n entries.push([pair(key), pair(value[key])]);\n }\n return index;\n }\n case DATE:\n return as([TYPE, value.toISOString()], value);\n case REGEXP: {\n const {source, flags} = value;\n return as([TYPE, {source, flags}], value);\n }\n case MAP: {\n const entries = [];\n const index = as([TYPE, entries], value);\n for (const [key, entry] of value) {\n if (strict || !(shouldSkip(typeOf(key)) || shouldSkip(typeOf(entry))))\n entries.push([pair(key), pair(entry)]);\n }\n return index;\n }\n case SET: {\n const entries = [];\n const index = as([TYPE, entries], value);\n for (const entry of value) {\n if (strict || !shouldSkip(typeOf(entry)))\n entries.push(pair(entry));\n }\n return index;\n }\n }\n\n const {message} = value;\n return as([TYPE, {name: type, message}], value);\n };\n\n return pair;\n};\n\n/**\n * @typedef {Array} Record a type representation\n */\n\n/**\n * Returns an array of serialized Records.\n * @param {any} value a serializable value.\n * @param {{json?: boolean, lossy?: boolean}?} options an object with a `lossy` or `json` property that,\n * if `true`, will not throw errors on incompatible types, and behave more\n * like JSON stringify would behave. Symbol and Function will be discarded.\n * @returns {Record[]}\n */\n export const serialize = (value, {json, lossy} = {}) => {\n const _ = [];\n return serializer(!(json || lossy), !!json, new Map, _)(value), _;\n};\n","import {deserialize} from './deserialize.js';\nimport {serialize} from './serialize.js';\n\n/**\n * @typedef {Array} Record a type representation\n */\n\n/**\n * Returns an array of serialized Records.\n * @param {any} any a serializable value.\n * @param {{transfer?: any[], json?: boolean, lossy?: boolean}?} options an object with\n * a transfer option (ignored when polyfilled) and/or non standard fields that\n * fallback to the polyfill if present.\n * @returns {Record[]}\n */\nexport default typeof structuredClone === \"function\" ?\n /* c8 ignore start */\n (any, options) => (\n options && ('json' in options || 'lossy' in options) ?\n deserialize(serialize(any, options)) : structuredClone(any)\n ) :\n (any, options) => deserialize(serialize(any, options));\n /* c8 ignore stop */\n\nexport {deserialize, serialize};\n","/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n */\n\n/**\n * @template {string} SimpleSelector\n * Selector type.\n * @template {string} DefaultTagName\n * Default tag name.\n * @typedef {(\n * SimpleSelector extends ''\n * ? DefaultTagName\n * : SimpleSelector extends `${infer TagName}.${infer Rest}`\n * ? ExtractTagName\n * : SimpleSelector extends `${infer TagName}#${infer Rest}`\n * ? ExtractTagName\n * : SimpleSelector extends string\n * ? SimpleSelector\n * : DefaultTagName\n * )} ExtractTagName\n * Extract tag name from a simple selector.\n */\n\nconst search = /[#.]/g\n\n/**\n * Create a hast element from a simple CSS selector.\n *\n * @template {string} Selector\n * Type of selector.\n * @template {string} [DefaultTagName='div']\n * Type of default tag name (default: `'div'`).\n * @param {Selector | null | undefined} [selector]\n * Simple CSS selector (optional).\n *\n * Can contain a tag name (`foo`), classes (`.bar`), and an ID (`#baz`).\n * Multiple classes are allowed.\n * Uses the last ID if multiple IDs are found.\n * @param {DefaultTagName | null | undefined} [defaultTagName='div']\n * Tag name to use if `selector` does not specify one (default: `'div'`).\n * @returns {Element & {tagName: ExtractTagName}}\n * Built element.\n */\nexport function parseSelector(selector, defaultTagName) {\n const value = selector || ''\n /** @type {Properties} */\n const props = {}\n let start = 0\n /** @type {string | undefined} */\n let previous\n /** @type {string | undefined} */\n let tagName\n\n while (start < value.length) {\n search.lastIndex = start\n const match = search.exec(value)\n const subvalue = value.slice(start, match ? match.index : value.length)\n\n if (subvalue) {\n if (!previous) {\n tagName = subvalue\n } else if (previous === '#') {\n props.id = subvalue\n } else if (Array.isArray(props.className)) {\n props.className.push(subvalue)\n } else {\n props.className = [subvalue]\n }\n\n start += subvalue.length\n }\n\n if (match) {\n previous = match[0]\n start++\n }\n }\n\n return {\n type: 'element',\n // @ts-expect-error: tag name is parsed.\n tagName: tagName || defaultTagName || 'div',\n properties: props,\n children: []\n }\n}\n","/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').RootContent} RootContent\n *\n * @typedef {import('property-information').Info} Info\n * @typedef {import('property-information').Schema} Schema\n */\n\n/**\n * @typedef {Element | Root} Result\n * Result from a `h` (or `s`) call.\n *\n * @typedef {number | string} StyleValue\n * Value for a CSS style field.\n * @typedef {Record} Style\n * Supported value of a `style` prop.\n * @typedef {boolean | number | string | null | undefined} PrimitiveValue\n * Primitive property value.\n * @typedef {Array} ArrayValue\n * List of property values for space- or comma separated values (such as `className`).\n * @typedef {ArrayValue | PrimitiveValue} PropertyValue\n * Primitive value or list value.\n * @typedef {{[property: string]: PropertyValue | Style}} Properties\n * Acceptable value for element properties.\n *\n * @typedef {number | string | null | undefined} PrimitiveChild\n * Primitive children, either ignored (nullish), or turned into text nodes.\n * @typedef {Array} ArrayChild\n * List of children.\n * @typedef {Array} ArrayChildNested\n * List of children (deep).\n * @typedef {ArrayChild | Nodes | PrimitiveChild} Child\n * Acceptable child value.\n */\n\nimport {parse as commas} from 'comma-separated-tokens'\nimport {parseSelector} from 'hast-util-parse-selector'\nimport {find, normalize} from 'property-information'\nimport {parse as spaces} from 'space-separated-tokens'\n\nconst buttonTypes = new Set(['button', 'menu', 'reset', 'submit'])\n\nconst own = {}.hasOwnProperty\n\n/**\n * @param {Schema} schema\n * Schema to use.\n * @param {string} defaultTagName\n * Default tag name.\n * @param {Array | undefined} [caseSensitive]\n * Case-sensitive tag names (default: `undefined`).\n * @returns\n * `h`.\n */\nexport function createH(schema, defaultTagName, caseSensitive) {\n const adjust = caseSensitive && createAdjustMap(caseSensitive)\n\n /**\n * Hyperscript compatible DSL for creating virtual hast trees.\n *\n * @overload\n * @param {null | undefined} [selector]\n * @param {...Child} children\n * @returns {Root}\n *\n * @overload\n * @param {string} selector\n * @param {Properties} properties\n * @param {...Child} children\n * @returns {Element}\n *\n * @overload\n * @param {string} selector\n * @param {...Child} children\n * @returns {Element}\n *\n * @param {string | null | undefined} [selector]\n * Selector.\n * @param {Child | Properties | null | undefined} [properties]\n * Properties (or first child) (default: `undefined`).\n * @param {...Child} children\n * Children.\n * @returns {Result}\n * Result.\n */\n function h(selector, properties, ...children) {\n let index = -1\n /** @type {Result} */\n let node\n\n if (selector === undefined || selector === null) {\n node = {type: 'root', children: []}\n // Properties are not supported for roots.\n const child = /** @type {Child} */ (properties)\n children.unshift(child)\n } else {\n node = parseSelector(selector, defaultTagName)\n // Normalize the name.\n node.tagName = node.tagName.toLowerCase()\n if (adjust && own.call(adjust, node.tagName)) {\n node.tagName = adjust[node.tagName]\n }\n\n // Handle props.\n if (isProperties(properties, node.tagName)) {\n /** @type {string} */\n let key\n\n for (key in properties) {\n if (own.call(properties, key)) {\n addProperty(schema, node.properties, key, properties[key])\n }\n }\n } else {\n children.unshift(properties)\n }\n }\n\n // Handle children.\n while (++index < children.length) {\n addChild(node.children, children[index])\n }\n\n if (node.type === 'element' && node.tagName === 'template') {\n node.content = {type: 'root', children: node.children}\n node.children = []\n }\n\n return node\n }\n\n return h\n}\n\n/**\n * Check if something is properties or a child.\n *\n * @param {Child | Properties} value\n * Value to check.\n * @param {string} name\n * Tag name.\n * @returns {value is Properties}\n * Whether `value` is a properties object.\n */\nfunction isProperties(value, name) {\n if (\n value === null ||\n value === undefined ||\n typeof value !== 'object' ||\n Array.isArray(value)\n ) {\n return false\n }\n\n if (name === 'input' || !value.type || typeof value.type !== 'string') {\n return true\n }\n\n if ('children' in value && Array.isArray(value.children)) {\n return false\n }\n\n if (name === 'button') {\n return buttonTypes.has(value.type.toLowerCase())\n }\n\n return !('value' in value)\n}\n\n/**\n * @param {Schema} schema\n * Schema.\n * @param {Properties} properties\n * Properties object.\n * @param {string} key\n * Property name.\n * @param {PropertyValue | Style} value\n * Property value.\n * @returns {undefined}\n * Nothing.\n */\nfunction addProperty(schema, properties, key, value) {\n const info = find(schema, key)\n let index = -1\n /** @type {PropertyValue} */\n let result\n\n // Ignore nullish and NaN values.\n if (value === undefined || value === null) return\n\n if (typeof value === 'number') {\n // Ignore NaN.\n if (Number.isNaN(value)) return\n\n result = value\n }\n // Booleans.\n else if (typeof value === 'boolean') {\n result = value\n }\n // Handle list values.\n else if (typeof value === 'string') {\n if (info.spaceSeparated) {\n result = spaces(value)\n } else if (info.commaSeparated) {\n result = commas(value)\n } else if (info.commaOrSpaceSeparated) {\n result = spaces(commas(value).join(' '))\n } else {\n result = parsePrimitive(info, info.property, value)\n }\n } else if (Array.isArray(value)) {\n result = value.concat()\n } else {\n result = info.property === 'style' ? style(value) : String(value)\n }\n\n if (Array.isArray(result)) {\n /** @type {Array} */\n const finalResult = []\n\n while (++index < result.length) {\n // Assume no booleans in array.\n const value = /** @type {number | string} */ (\n parsePrimitive(info, info.property, result[index])\n )\n finalResult[index] = value\n }\n\n result = finalResult\n }\n\n // Class names (which can be added both on the `selector` and here).\n if (info.property === 'className' && Array.isArray(properties.className)) {\n // Assume no booleans in `className`.\n const value = /** @type {number | string} */ (result)\n result = properties.className.concat(value)\n }\n\n properties[info.property] = result\n}\n\n/**\n * @param {Array} nodes\n * Children.\n * @param {Child} value\n * Child.\n * @returns {undefined}\n * Nothing.\n */\nfunction addChild(nodes, value) {\n let index = -1\n\n if (value === undefined || value === null) {\n // Empty.\n } else if (typeof value === 'string' || typeof value === 'number') {\n nodes.push({type: 'text', value: String(value)})\n } else if (Array.isArray(value)) {\n while (++index < value.length) {\n addChild(nodes, value[index])\n }\n } else if (typeof value === 'object' && 'type' in value) {\n if (value.type === 'root') {\n addChild(nodes, value.children)\n } else {\n nodes.push(value)\n }\n } else {\n throw new Error('Expected node, nodes, or string, got `' + value + '`')\n }\n}\n\n/**\n * Parse a single primitives.\n *\n * @param {Info} info\n * Property information.\n * @param {string} name\n * Property name.\n * @param {PrimitiveValue} value\n * Property value.\n * @returns {PrimitiveValue}\n * Property value.\n */\nfunction parsePrimitive(info, name, value) {\n if (typeof value === 'string') {\n if (info.number && value && !Number.isNaN(Number(value))) {\n return Number(value)\n }\n\n if (\n (info.boolean || info.overloadedBoolean) &&\n (value === '' || normalize(value) === normalize(name))\n ) {\n return true\n }\n }\n\n return value\n}\n\n/**\n * Serialize a `style` object as a string.\n *\n * @param {Style} value\n * Style object.\n * @returns {string}\n * CSS string.\n */\nfunction style(value) {\n /** @type {Array} */\n const result = []\n /** @type {string} */\n let key\n\n for (key in value) {\n if (own.call(value, key)) {\n result.push([key, value[key]].join(': '))\n }\n }\n\n return result.join('; ')\n}\n\n/**\n * Create a map to adjust casing.\n *\n * @param {Array} values\n * List of properly cased keys.\n * @returns {Record}\n * Map of lowercase keys to uppercase keys.\n */\nfunction createAdjustMap(values) {\n /** @type {Record} */\n const result = {}\n let index = -1\n\n while (++index < values.length) {\n result[values[index].toLowerCase()] = values[index]\n }\n\n return result\n}\n","export const svgCaseSensitiveTagNames = [\n 'altGlyph',\n 'altGlyphDef',\n 'altGlyphItem',\n 'animateColor',\n 'animateMotion',\n 'animateTransform',\n 'clipPath',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feDistantLight',\n 'feDropShadow',\n 'feFlood',\n 'feFuncA',\n 'feFuncB',\n 'feFuncG',\n 'feFuncR',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMergeNode',\n 'feMorphology',\n 'feOffset',\n 'fePointLight',\n 'feSpecularLighting',\n 'feSpotLight',\n 'feTile',\n 'feTurbulence',\n 'foreignObject',\n 'glyphRef',\n 'linearGradient',\n 'radialGradient',\n 'solidColor',\n 'textArea',\n 'textPath'\n]\n","/**\n * @typedef {import('./create-h.js').Child} Child\n * Acceptable child value.\n * @typedef {import('./create-h.js').Properties} Properties\n * Acceptable value for element properties.\n * @typedef {import('./create-h.js').Result} Result\n * Result from a `h` (or `s`) call.\n */\n\n// Register the JSX namespace on `h`.\n/**\n * @typedef {import('./jsx-classic.js').Element} h.JSX.Element\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} h.JSX.ElementChildrenAttribute\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} h.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} h.JSX.IntrinsicElements\n */\n\n// Register the JSX namespace on `s`.\n/**\n * @typedef {import('./jsx-classic.js').Element} s.JSX.Element\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} s.JSX.ElementChildrenAttribute\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} s.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} s.JSX.IntrinsicElements\n */\n\nimport {html, svg} from 'property-information'\nimport {createH} from './create-h.js'\nimport {svgCaseSensitiveTagNames} from './svg-case-sensitive-tag-names.js'\n\n// Note: this explicit type is needed, otherwise TS creates broken types.\n/** @type {ReturnType} */\nexport const h = createH(html, 'div')\n\n// Note: this explicit type is needed, otherwise TS creates broken types.\n/** @type {ReturnType} */\nexport const s = createH(svg, 'g', svgCaseSensitiveTagNames)\n","/**\n * @typedef {import('vfile').VFile} VFile\n * @typedef {import('vfile').Value} Value\n * @typedef {import('unist').Point} UnistPoint\n */\n\n/**\n *\n * @typedef PointLike\n * unist point, allowed as input.\n * @property {number | null | undefined} [line]\n * Line.\n * @property {number | null | undefined} [column]\n * Column.\n * @property {number | null | undefined} [offset]\n * Offset.\n *\n * @callback ToPoint\n * Get the line/column based `Point` for `offset` in the bound indices.\n *\n * Returns `undefined` when given out of bounds input.\n *\n * Also implemented in Rust in [`wooorm/markdown-rs`][markdown-rs].\n *\n * [markdown-rs]: https://github.com/wooorm/markdown-rs/blob/main/src/util/location.rs\n * @param {number | null | undefined} [offset]\n * Something that should be an `offset.\n * @returns {UnistPoint | undefined}\n * Point, if `offset` is valid and in-bounds input.\n *\n * @callback ToOffset\n * Get the `offset` from a line/column based `Point` in the bound indices.\n * @param {PointLike | null | undefined} [point]\n * Something that should be a `point.\n * @returns {number | undefined}\n * Offset (`number`) or `undefined` for invalid or out of bounds input.\n *\n * @typedef Location\n * Accessors for index.\n * @property {ToPoint} toPoint\n * Get the line/column based `Point` for `offset` in the bound indices.\n * @property {ToOffset} toOffset\n * Get the `offset` from a line/column based `Point` in the bound indices.\n */\n\nconst search = /\\r?\\n|\\r/g\n\n/**\n * Create an index of the given document to translate between line/column and\n * offset based positional info.\n *\n * Also implemented in Rust in [`wooorm/markdown-rs`][markdown-rs].\n *\n * [markdown-rs]: https://github.com/wooorm/markdown-rs/blob/main/src/util/location.rs\n *\n * @param {VFile | Value} file\n * File to index.\n * @returns {Location}\n * Accessors for index.\n */\nexport function location(file) {\n const value = String(file)\n /**\n * List, where each index is a line number (0-based), and each value is the\n * byte index *after* where the line ends.\n *\n * @type {Array}\n */\n const indices = []\n\n search.lastIndex = 0\n\n while (search.test(value)) {\n indices.push(search.lastIndex)\n }\n\n indices.push(value.length + 1)\n\n return {toPoint, toOffset}\n\n /** @type {ToPoint} */\n function toPoint(offset) {\n let index = -1\n\n if (\n typeof offset === 'number' &&\n offset > -1 &&\n offset < indices[indices.length - 1]\n ) {\n while (++index < indices.length) {\n if (indices[index] > offset) {\n return {\n line: index + 1,\n column: offset - (index > 0 ? indices[index - 1] : 0) + 1,\n offset\n }\n }\n }\n }\n }\n\n /** @type {ToOffset} */\n function toOffset(point) {\n const line = point && point.line\n const column = point && point.column\n\n if (\n typeof line === 'number' &&\n typeof column === 'number' &&\n !Number.isNaN(line) &&\n !Number.isNaN(column) &&\n line - 1 in indices\n ) {\n const offset = (indices[line - 2] || 0) + column - 1 || 0\n\n if (offset > -1 && offset < indices[indices.length - 1]) {\n return offset\n }\n }\n }\n}\n","/**\n * Map of web namespaces.\n *\n * @type {Record}\n */\nexport const webNamespaces = {\n html: 'http://www.w3.org/1999/xhtml',\n mathml: 'http://www.w3.org/1998/Math/MathML',\n svg: 'http://www.w3.org/2000/svg',\n xlink: 'http://www.w3.org/1999/xlink',\n xml: 'http://www.w3.org/XML/1998/namespace',\n xmlns: 'http://www.w3.org/2000/xmlns/'\n}\n","/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementData} ElementData\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').RootContent} RootContent\n *\n * @typedef {import('parse5').DefaultTreeAdapterMap} DefaultTreeAdapterMap\n * @typedef {import('parse5').Token.ElementLocation} P5ElementLocation\n * @typedef {import('parse5').Token.Location} P5Location\n *\n * @typedef {import('property-information').Schema} Schema\n *\n * @typedef {import('unist').Point} Point\n * @typedef {import('unist').Position} Position\n *\n * @typedef {import('vfile').VFile} VFile\n */\n\n/**\n * @typedef {DefaultTreeAdapterMap['document']} P5Document\n * @typedef {DefaultTreeAdapterMap['documentFragment']} P5DocumentFragment\n * @typedef {DefaultTreeAdapterMap['documentType']} P5DocumentType\n * @typedef {DefaultTreeAdapterMap['commentNode']} P5Comment\n * @typedef {DefaultTreeAdapterMap['textNode']} P5Text\n * @typedef {DefaultTreeAdapterMap['element']} P5Element\n * @typedef {DefaultTreeAdapterMap['node']} P5Node\n * @typedef {DefaultTreeAdapterMap['template']} P5Template\n */\n\n/**\n * @typedef Options\n * Configuration.\n * @property {Space | null | undefined} [space='html']\n * Which space the document is in (default: `'html'`).\n *\n * When an `` element is found in the HTML space, this package already\n * automatically switches to and from the SVG space when entering and exiting\n * it.\n * @property {VFile | null | undefined} [file]\n * File used to add positional info to nodes (optional).\n *\n * If given, the file should represent the original HTML source.\n * @property {boolean | null | undefined} [verbose=false]\n * Whether to add extra positional info about starting tags, closing tags,\n * and attributes to elements (default: `false`).\n *\n * > 👉 **Note**: only used when `file` is given.\n *\n * @typedef {'html' | 'svg'} Space\n * Namespace.\n *\n * @typedef State\n * Info passed around about the current state.\n * @property {VFile | undefined} file\n * Corresponding file.\n * @property {boolean} location\n * Whether location info was found.\n * @property {Schema} schema\n * Current schema.\n * @property {boolean | undefined} verbose\n * Add extra positional info.\n */\n\nimport {ok as assert} from 'devlop'\nimport {h, s} from 'hastscript'\nimport {find, html, svg} from 'property-information'\nimport {location} from 'vfile-location'\nimport {webNamespaces} from 'web-namespaces'\n\nconst own = {}.hasOwnProperty\n/** @type {unknown} */\n// type-coverage:ignore-next-line\nconst proto = Object.prototype\n\n/**\n * Transform a `parse5` AST to hast.\n *\n * @param {P5Node} tree\n * `parse5` tree to transform.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {Nodes}\n * hast tree.\n */\nexport function fromParse5(tree, options) {\n const settings = options || {}\n\n return one(\n {\n file: settings.file || undefined,\n location: false,\n schema: settings.space === 'svg' ? svg : html,\n verbose: settings.verbose || false\n },\n tree\n )\n}\n\n/**\n * Transform a node.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {P5Node} node\n * p5 node.\n * @returns {Nodes}\n * hast node.\n */\nfunction one(state, node) {\n /** @type {Nodes} */\n let result\n\n switch (node.nodeName) {\n case '#comment': {\n const reference = /** @type {P5Comment} */ (node)\n result = {type: 'comment', value: reference.data}\n patch(state, reference, result)\n return result\n }\n\n case '#document':\n case '#document-fragment': {\n const reference = /** @type {P5Document | P5DocumentFragment} */ (node)\n const quirksMode =\n 'mode' in reference\n ? reference.mode === 'quirks' || reference.mode === 'limited-quirks'\n : false\n\n result = {\n type: 'root',\n children: all(state, node.childNodes),\n data: {quirksMode}\n }\n\n if (state.file && state.location) {\n const doc = String(state.file)\n const loc = location(doc)\n const start = loc.toPoint(0)\n const end = loc.toPoint(doc.length)\n // Always defined as we give valid input.\n assert(start, 'expected `start`')\n assert(end, 'expected `end`')\n result.position = {start, end}\n }\n\n return result\n }\n\n case '#documentType': {\n const reference = /** @type {P5DocumentType} */ (node)\n result = {type: 'doctype'}\n patch(state, reference, result)\n return result\n }\n\n case '#text': {\n const reference = /** @type {P5Text} */ (node)\n result = {type: 'text', value: reference.value}\n patch(state, reference, result)\n return result\n }\n\n // Element.\n default: {\n const reference = /** @type {P5Element} */ (node)\n result = element(state, reference)\n return result\n }\n }\n}\n\n/**\n * Transform children.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {Array} nodes\n * Nodes.\n * @returns {Array}\n * hast nodes.\n */\nfunction all(state, nodes) {\n let index = -1\n /** @type {Array} */\n const results = []\n\n while (++index < nodes.length) {\n // Assume no roots in `nodes`.\n const result = /** @type {RootContent} */ (one(state, nodes[index]))\n results.push(result)\n }\n\n return results\n}\n\n/**\n * Transform an element.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {P5Element} node\n * `parse5` node to transform.\n * @returns {Element}\n * hast node.\n */\nfunction element(state, node) {\n const schema = state.schema\n\n state.schema = node.namespaceURI === webNamespaces.svg ? svg : html\n\n // Props.\n let index = -1\n /** @type {Record} */\n const props = {}\n\n while (++index < node.attrs.length) {\n const attribute = node.attrs[index]\n const name =\n (attribute.prefix ? attribute.prefix + ':' : '') + attribute.name\n if (!own.call(proto, name)) {\n props[name] = attribute.value\n }\n }\n\n // Build.\n const fn = state.schema.space === 'svg' ? s : h\n const result = fn(node.tagName, props, all(state, node.childNodes))\n patch(state, node, result)\n\n // Switch content.\n if (result.tagName === 'template') {\n const reference = /** @type {P5Template} */ (node)\n const pos = reference.sourceCodeLocation\n const startTag = pos && pos.startTag && position(pos.startTag)\n const endTag = pos && pos.endTag && position(pos.endTag)\n\n // Root in, root out.\n const content = /** @type {Root} */ (one(state, reference.content))\n\n if (startTag && endTag && state.file) {\n content.position = {start: startTag.end, end: endTag.start}\n }\n\n result.content = content\n }\n\n state.schema = schema\n\n return result\n}\n\n/**\n * Patch positional info from `from` onto `to`.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {P5Node} from\n * p5 node.\n * @param {Nodes} to\n * hast node.\n * @returns {undefined}\n * Nothing.\n */\nfunction patch(state, from, to) {\n if ('sourceCodeLocation' in from && from.sourceCodeLocation && state.file) {\n const position = createLocation(state, to, from.sourceCodeLocation)\n\n if (position) {\n state.location = true\n to.position = position\n }\n }\n}\n\n/**\n * Create clean positional information.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {Nodes} node\n * hast node.\n * @param {P5ElementLocation} location\n * p5 location info.\n * @returns {Position | undefined}\n * Position, or nothing.\n */\nfunction createLocation(state, node, location) {\n const result = position(location)\n\n if (node.type === 'element') {\n const tail = node.children[node.children.length - 1]\n\n // Bug for unclosed with children.\n // See: .\n if (\n result &&\n !location.endTag &&\n tail &&\n tail.position &&\n tail.position.end\n ) {\n result.end = Object.assign({}, tail.position.end)\n }\n\n if (state.verbose) {\n /** @type {Record} */\n const props = {}\n /** @type {string} */\n let key\n\n if (location.attrs) {\n for (key in location.attrs) {\n if (own.call(location.attrs, key)) {\n props[find(state.schema, key).property] = position(\n location.attrs[key]\n )\n }\n }\n }\n\n assert(location.startTag, 'a start tag should exist')\n const opening = position(location.startTag)\n const closing = location.endTag ? position(location.endTag) : undefined\n /** @type {ElementData['position']} */\n const data = {opening}\n if (closing) data.closing = closing\n data.properties = props\n\n node.data = {position: data}\n }\n }\n\n return result\n}\n\n/**\n * Turn a p5 location into a position.\n *\n * @param {P5Location} loc\n * Location.\n * @returns {Position | undefined}\n * Position or nothing.\n */\nfunction position(loc) {\n const start = point({\n line: loc.startLine,\n column: loc.startCol,\n offset: loc.startOffset\n })\n const end = point({\n line: loc.endLine,\n column: loc.endCol,\n offset: loc.endOffset\n })\n\n // @ts-expect-error: we do use `undefined` for points if one or the other\n // exists.\n return start || end ? {start, end} : undefined\n}\n\n/**\n * Filter out invalid points.\n *\n * @param {Point} point\n * Point with potentially `undefined` values.\n * @returns {Point | undefined}\n * Point or nothing.\n */\nfunction point(point) {\n return point.line && point.column ? point : undefined\n}\n","/**\n * @typedef {import('hast').Comment} Comment\n * @typedef {import('hast').Doctype} Doctype\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').RootContent} RootContent\n * @typedef {import('hast').Text} Text\n *\n * @typedef {import('parse5').DefaultTreeAdapterMap['document']} Parse5Document\n * @typedef {import('parse5').DefaultTreeAdapterMap['documentFragment']} Parse5Fragment\n * @typedef {import('parse5').DefaultTreeAdapterMap['element']} Parse5Element\n * @typedef {import('parse5').DefaultTreeAdapterMap['node']} Parse5Nodes\n * @typedef {import('parse5').DefaultTreeAdapterMap['documentType']} Parse5Doctype\n * @typedef {import('parse5').DefaultTreeAdapterMap['commentNode']} Parse5Comment\n * @typedef {import('parse5').DefaultTreeAdapterMap['textNode']} Parse5Text\n * @typedef {import('parse5').DefaultTreeAdapterMap['parentNode']} Parse5Parent\n * @typedef {import('parse5').Token.Attribute} Parse5Attribute\n *\n * @typedef {import('property-information').Schema} Schema\n */\n\n/**\n * @typedef Options\n * Configuration.\n * @property {Space | null | undefined} [space='html']\n * Which space the document is in (default: `'html'`).\n *\n * When an `` element is found in the HTML space, this package already\n * automatically switches to and from the SVG space when entering and exiting\n * it.\n *\n * @typedef {Exclude} Parse5Content\n *\n * @typedef {'html' | 'svg'} Space\n */\n\nimport {stringify as commas} from 'comma-separated-tokens'\nimport {ok as assert} from 'devlop'\nimport {find, html, svg} from 'property-information'\nimport {stringify as spaces} from 'space-separated-tokens'\nimport {webNamespaces} from 'web-namespaces'\nimport {zwitch} from 'zwitch'\n\n/** @type {Options} */\nconst emptyOptions = {}\n\nconst own = {}.hasOwnProperty\n\nconst one = zwitch('type', {handlers: {root, element, text, comment, doctype}})\n\n/**\n * Transform a hast tree to a `parse5` AST.\n *\n * @param {Nodes} tree\n * Tree to transform.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {Parse5Nodes}\n * `parse5` node.\n */\nexport function toParse5(tree, options) {\n const settings = options || emptyOptions\n const space = settings.space\n return one(tree, space === 'svg' ? svg : html)\n}\n\n/**\n * @param {Root} node\n * Node (hast) to transform.\n * @param {Schema} schema\n * Current schema.\n * @returns {Parse5Document}\n * Parse5 node.\n */\nfunction root(node, schema) {\n /** @type {Parse5Document} */\n const result = {\n nodeName: '#document',\n // @ts-expect-error: `parse5` uses enums, which are actually strings.\n mode: (node.data || {}).quirksMode ? 'quirks' : 'no-quirks',\n childNodes: []\n }\n result.childNodes = all(node.children, result, schema)\n patch(node, result)\n return result\n}\n\n/**\n * @param {Root} node\n * Node (hast) to transform.\n * @param {Schema} schema\n * Current schema.\n * @returns {Parse5Fragment}\n * Parse5 node.\n */\nfunction fragment(node, schema) {\n /** @type {Parse5Fragment} */\n const result = {nodeName: '#document-fragment', childNodes: []}\n result.childNodes = all(node.children, result, schema)\n patch(node, result)\n return result\n}\n\n/**\n * @param {Doctype} node\n * Node (hast) to transform.\n * @returns {Parse5Doctype}\n * Parse5 node.\n */\nfunction doctype(node) {\n /** @type {Parse5Doctype} */\n const result = {\n nodeName: '#documentType',\n name: 'html',\n publicId: '',\n systemId: '',\n parentNode: null\n }\n\n patch(node, result)\n return result\n}\n\n/**\n * @param {Text} node\n * Node (hast) to transform.\n * @returns {Parse5Text}\n * Parse5 node.\n */\nfunction text(node) {\n /** @type {Parse5Text} */\n const result = {\n nodeName: '#text',\n value: node.value,\n parentNode: null\n }\n patch(node, result)\n return result\n}\n\n/**\n * @param {Comment} node\n * Node (hast) to transform.\n * @returns {Parse5Comment}\n * Parse5 node.\n */\nfunction comment(node) {\n /** @type {Parse5Comment} */\n const result = {\n nodeName: '#comment',\n data: node.value,\n parentNode: null\n }\n\n patch(node, result)\n\n return result\n}\n\n/**\n * @param {Element} node\n * Node (hast) to transform.\n * @param {Schema} schema\n * Current schema.\n * @returns {Parse5Element}\n * Parse5 node.\n */\nfunction element(node, schema) {\n const parentSchema = schema\n let currentSchema = parentSchema\n\n if (\n node.type === 'element' &&\n node.tagName.toLowerCase() === 'svg' &&\n parentSchema.space === 'html'\n ) {\n currentSchema = svg\n }\n\n /** @type {Array} */\n const attrs = []\n /** @type {string} */\n let prop\n\n if (node.properties) {\n for (prop in node.properties) {\n if (prop !== 'children' && own.call(node.properties, prop)) {\n const result = createProperty(\n currentSchema,\n prop,\n node.properties[prop]\n )\n\n if (result) {\n attrs.push(result)\n }\n }\n }\n }\n\n const space = currentSchema.space\n // `html` and `svg` both have a space.\n assert(space)\n\n /** @type {Parse5Element} */\n const result = {\n nodeName: node.tagName,\n tagName: node.tagName,\n attrs,\n // @ts-expect-error: `parse5` types are wrong.\n namespaceURI: webNamespaces[space],\n childNodes: [],\n parentNode: null\n }\n result.childNodes = all(node.children, result, currentSchema)\n patch(node, result)\n\n if (node.tagName === 'template' && node.content) {\n // @ts-expect-error: `parse5` types are wrong.\n result.content = fragment(node.content, currentSchema)\n }\n\n return result\n}\n\n/**\n * Handle a property.\n *\n * @param {Schema} schema\n * Current schema.\n * @param {string} prop\n * Key.\n * @param {Array | boolean | number | string | null | undefined} value\n * hast property value.\n * @returns {Parse5Attribute | undefined}\n * Field for runtime, optional.\n */\nfunction createProperty(schema, prop, value) {\n const info = find(schema, prop)\n\n // Ignore nullish and `NaN` values.\n if (\n value === false ||\n value === null ||\n value === undefined ||\n (typeof value === 'number' && Number.isNaN(value)) ||\n (!value && info.boolean)\n ) {\n return\n }\n\n if (Array.isArray(value)) {\n // Accept `array`.\n // Most props are space-separated.\n value = info.commaSeparated ? commas(value) : spaces(value)\n }\n\n /** @type {Parse5Attribute} */\n const attribute = {\n name: info.attribute,\n value: value === true ? '' : String(value)\n }\n\n if (info.space && info.space !== 'html' && info.space !== 'svg') {\n const index = attribute.name.indexOf(':')\n\n if (index < 0) {\n attribute.prefix = ''\n } else {\n attribute.name = attribute.name.slice(index + 1)\n attribute.prefix = info.attribute.slice(0, index)\n }\n\n attribute.namespace = webNamespaces[info.space]\n }\n\n return attribute\n}\n\n/**\n * Transform all hast nodes.\n *\n * @param {Array} children\n * List of children.\n * @param {Parse5Parent} parentNode\n * `parse5` parent node.\n * @param {Schema} schema\n * Current schema.\n * @returns {Array}\n * Transformed children.\n */\nfunction all(children, parentNode, schema) {\n let index = -1\n /** @type {Array} */\n const results = []\n\n if (children) {\n while (++index < children.length) {\n /** @type {Parse5Content} */\n const child = one(children[index], schema)\n\n child.parentNode = parentNode\n\n results.push(child)\n }\n }\n\n return results\n}\n\n/**\n * Add position info from `from` to `to`.\n *\n * @param {Nodes} from\n * hast node.\n * @param {Parse5Nodes} to\n * `parse5` node.\n * @returns {undefined}\n * Nothing.\n */\nfunction patch(from, to) {\n const position = from.position\n\n if (position && position.start && position.end) {\n assert(typeof position.start.offset === 'number')\n assert(typeof position.end.offset === 'number')\n\n to.sourceCodeLocation = {\n startLine: position.start.line,\n startCol: position.start.column,\n startOffset: position.start.offset,\n endLine: position.end.line,\n endCol: position.end.column,\n endOffset: position.end.offset\n }\n }\n}\n","/**\n * List of HTML void tag names.\n *\n * @type {Array}\n */\nexport const htmlVoidElements = [\n 'area',\n 'base',\n 'basefont',\n 'bgsound',\n 'br',\n 'col',\n 'command',\n 'embed',\n 'frame',\n 'hr',\n 'image',\n 'img',\n 'input',\n 'keygen',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr'\n]\n","/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Point} Point\n * @typedef {import('unist').Position} Position\n */\n\n/**\n * @typedef NodeLike\n * @property {string} type\n * @property {PositionLike | null | undefined} [position]\n *\n * @typedef PositionLike\n * @property {PointLike | null | undefined} [start]\n * @property {PointLike | null | undefined} [end]\n *\n * @typedef PointLike\n * @property {number | null | undefined} [line]\n * @property {number | null | undefined} [column]\n * @property {number | null | undefined} [offset]\n */\n\n/**\n * Get the ending point of `node`.\n *\n * @param node\n * Node.\n * @returns\n * Point.\n */\nexport const pointEnd = point('end')\n\n/**\n * Get the starting point of `node`.\n *\n * @param node\n * Node.\n * @returns\n * Point.\n */\nexport const pointStart = point('start')\n\n/**\n * Get the positional info of `node`.\n *\n * @param {'end' | 'start'} type\n * Side.\n * @returns\n * Getter.\n */\nfunction point(type) {\n return point\n\n /**\n * Get the point info of `node` at a bound side.\n *\n * @param {Node | NodeLike | null | undefined} [node]\n * @returns {Point | undefined}\n */\n function point(node) {\n const point = (node && node.position && node.position[type]) || {}\n\n if (\n typeof point.line === 'number' &&\n point.line > 0 &&\n typeof point.column === 'number' &&\n point.column > 0\n ) {\n return {\n line: point.line,\n column: point.column,\n offset:\n typeof point.offset === 'number' && point.offset > -1\n ? point.offset\n : undefined\n }\n }\n }\n}\n\n/**\n * Get the positional info of `node`.\n *\n * @param {Node | NodeLike | null | undefined} [node]\n * Node.\n * @returns {Position | undefined}\n * Position.\n */\nexport function position(node) {\n const start = pointStart(node)\n const end = pointEnd(node)\n\n if (start && end) {\n return {start, end}\n }\n}\n","/**\n * @typedef {import('hast').Comment} Comment\n * @typedef {import('hast').Doctype} Doctype\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').RootContent} RootContent\n * @typedef {import('hast').Text} Text\n *\n * @typedef {import('hast-util-raw').Options} Options\n *\n * @typedef {import('mdast-util-to-hast').Raw} Raw\n *\n * @typedef {import('parse5').DefaultTreeAdapterMap} DefaultTreeAdapterMap\n * @typedef {import('parse5').ParserOptions} ParserOptions\n * @typedef {import('parse5').Token.CharacterToken} CharacterToken\n * @typedef {import('parse5').Token.CommentToken} CommentToken\n * @typedef {import('parse5').Token.DoctypeToken} DoctypeToken\n * @typedef {import('parse5').Token.Location} Location\n * @typedef {import('parse5').Token.TagToken} TagToken\n *\n * @typedef {import('unist').Point} Point\n */\n\n/**\n * @typedef State\n * Info passed around about the current state.\n * @property {(node: Nodes) => undefined} handle\n * Add a hast node to the parser.\n * @property {Options} options\n * User configuration.\n * @property {Parser} parser\n * Current parser.\n * @property {boolean} stitches\n * Whether there are stitches.\n */\n\n/**\n * @typedef Stitch\n * Custom comment-like value we pass through parse5, which contains a\n * replacement node that we’ll swap back in afterwards.\n * @property {'comment'} type\n * Node type.\n * @property {{stitch: Nodes}} value\n * Replacement value.\n */\n\nimport structuredClone from '@ungap/structured-clone'\nimport {fromParse5} from 'hast-util-from-parse5'\nimport {toParse5} from 'hast-util-to-parse5'\nimport {htmlVoidElements} from 'html-void-elements'\nimport {Parser, Token, TokenizerMode, html} from 'parse5'\nimport {pointEnd, pointStart} from 'unist-util-position'\nimport {visit} from 'unist-util-visit'\nimport {webNamespaces} from 'web-namespaces'\nimport {zwitch} from 'zwitch'\n\n// Node types associated with MDX.\n// \nconst knownMdxNames = new Set([\n 'mdxFlowExpression',\n 'mdxJsxFlowElement',\n 'mdxJsxTextElement',\n 'mdxTextExpression',\n 'mdxjsEsm'\n])\n\n/** @type {ParserOptions} */\nconst parseOptions = {sourceCodeLocationInfo: true, scriptingEnabled: false}\n\n/**\n * Pass a hast tree through an HTML parser, which will fix nesting, and turn\n * raw nodes into actual nodes.\n *\n * @param {Nodes} tree\n * Original hast tree to transform.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {Nodes}\n * Parsed again tree.\n */\nexport function raw(tree, options) {\n const document = documentMode(tree)\n /** @type {(node: Nodes, state: State) => undefined} */\n const one = zwitch('type', {\n handlers: {root, element, text, comment, doctype, raw: handleRaw},\n unknown\n })\n\n /** @type {State} */\n const state = {\n parser: document\n ? new Parser(parseOptions)\n : Parser.getFragmentParser(undefined, parseOptions),\n handle(node) {\n one(node, state)\n },\n stitches: false,\n options: options || {}\n }\n\n one(tree, state)\n resetTokenizer(state, pointStart())\n\n const p5 = document ? state.parser.document : state.parser.getFragment()\n const result = fromParse5(p5, {\n // To do: support `space`?\n file: state.options.file\n })\n\n if (state.stitches) {\n visit(result, 'comment', function (node, index, parent) {\n const stitch = /** @type {Stitch} */ (/** @type {unknown} */ (node))\n if (stitch.value.stitch && parent && index !== undefined) {\n /** @type {Array} */\n const siblings = parent.children\n // @ts-expect-error: assume the stitch is allowed.\n siblings[index] = stitch.value.stitch\n return index\n }\n })\n }\n\n // Unpack if possible and when not given a `root`.\n if (\n result.type === 'root' &&\n result.children.length === 1 &&\n result.children[0].type === tree.type\n ) {\n return result.children[0]\n }\n\n return result\n}\n\n/**\n * Transform all nodes\n *\n * @param {Array} nodes\n * hast content.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction all(nodes, state) {\n let index = -1\n\n /* istanbul ignore else - invalid nodes, see rehypejs/rehype-raw#7. */\n if (nodes) {\n while (++index < nodes.length) {\n state.handle(nodes[index])\n }\n }\n}\n\n/**\n * Transform a root.\n *\n * @param {Root} node\n * hast root node.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction root(node, state) {\n all(node.children, state)\n}\n\n/**\n * Transform an element.\n *\n * @param {Element} node\n * hast element node.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction element(node, state) {\n startTag(node, state)\n\n all(node.children, state)\n\n endTag(node, state)\n}\n\n/**\n * Transform a text.\n *\n * @param {Text} node\n * hast text node.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction text(node, state) {\n // Allow `DATA` through `PLAINTEXT`,\n // but when hanging in a tag for example,\n // switch back to `DATA`.\n // Note: `State` is not exposed by `parse5`, so these numbers are fragile.\n // See: \n if (state.parser.tokenizer.state > 4) {\n state.parser.tokenizer.state = 0\n }\n\n /** @type {CharacterToken} */\n const token = {\n type: Token.TokenType.CHARACTER,\n chars: node.value,\n location: createParse5Location(node)\n }\n\n resetTokenizer(state, pointStart(node))\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.currentToken = token\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser._processToken(state.parser.currentToken)\n}\n\n/**\n * Transform a doctype.\n *\n * @param {Doctype} node\n * hast doctype node.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction doctype(node, state) {\n /** @type {DoctypeToken} */\n const token = {\n type: Token.TokenType.DOCTYPE,\n name: 'html',\n forceQuirks: false,\n publicId: '',\n systemId: '',\n location: createParse5Location(node)\n }\n\n resetTokenizer(state, pointStart(node))\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.currentToken = token\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser._processToken(state.parser.currentToken)\n}\n\n/**\n * Transform a stitch.\n *\n * @param {Nodes} node\n * unknown node.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction stitch(node, state) {\n // Mark that there are stitches, so we need to walk the tree and revert them.\n state.stitches = true\n\n /** @type {Nodes} */\n const clone = cloneWithoutChildren(node)\n\n // Recurse, because to somewhat handle `[]` (where `[]` denotes the\n // passed through node).\n if ('children' in node && 'children' in clone) {\n // Root in root out.\n const fakeRoot = /** @type {Root} */ (\n raw({type: 'root', children: node.children}, state.options)\n )\n clone.children = fakeRoot.children\n }\n\n // Hack: `value` is supposed to be a string, but as none of the tools\n // (`parse5` or `hast-util-from-parse5`) looks at it, we can pass nodes\n // through.\n comment({type: 'comment', value: {stitch: clone}}, state)\n}\n\n/**\n * Transform a comment (or stitch).\n *\n * @param {Comment | Stitch} node\n * hast comment node.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction comment(node, state) {\n /** @type {string} */\n // @ts-expect-error: we pass stitches through.\n const data = node.value\n\n /** @type {CommentToken} */\n const token = {\n type: Token.TokenType.COMMENT,\n data,\n location: createParse5Location(node)\n }\n resetTokenizer(state, pointStart(node))\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.currentToken = token\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser._processToken(state.parser.currentToken)\n}\n\n/**\n * Transform a raw node.\n *\n * @param {Raw} node\n * hast raw node.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction handleRaw(node, state) {\n // Reset preprocessor:\n // See: .\n state.parser.tokenizer.preprocessor.html = ''\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.preprocessor.pos = -1\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.preprocessor.lastGapPos = -2\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.preprocessor.gapStack = []\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.preprocessor.skipNextNewLine = false\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.preprocessor.lastChunkWritten = false\n state.parser.tokenizer.preprocessor.endOfChunkHit = false\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.preprocessor.isEol = false\n\n // Now pass `node.value`.\n setPoint(state, pointStart(node))\n state.parser.tokenizer.write(node.value, false)\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer._runParsingLoop()\n\n // Character references hang, so if we ended there, we need to flush\n // those too.\n // We reset the preprocessor as if the document ends here.\n // Then one single call to the relevant state does the trick, parse5\n // consumes the whole token.\n\n // Note: `State` is not exposed by `parse5`, so these numbers are fragile.\n // See: \n // Note: a change to `parse5`, which breaks this, was merged but not released.\n // Investigate when it is.\n if (\n state.parser.tokenizer.state === 72 /* NAMED_CHARACTER_REFERENCE */ ||\n state.parser.tokenizer.state === 78 /* NUMERIC_CHARACTER_REFERENCE_END */\n ) {\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.preprocessor.lastChunkWritten = true\n /** @type {number} */\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n const cp = state.parser.tokenizer._consume()\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer._callState(cp)\n }\n}\n\n/**\n * Crash on an unknown node.\n *\n * @param {unknown} node_\n * unknown node.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Never.\n */\nfunction unknown(node_, state) {\n const node = /** @type {Nodes} */ (node_)\n\n if (\n state.options.passThrough &&\n state.options.passThrough.includes(node.type)\n ) {\n stitch(node, state)\n } else {\n let extra = ''\n\n if (knownMdxNames.has(node.type)) {\n extra =\n \". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax\"\n }\n\n throw new Error('Cannot compile `' + node.type + '` node' + extra)\n }\n}\n\n/**\n * Reset the tokenizer of a parser.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {Point | undefined} point\n * Point.\n * @returns {undefined}\n * Nothing.\n */\nfunction resetTokenizer(state, point) {\n setPoint(state, point)\n\n // Process final characters if they’re still there after hibernating.\n /** @type {CharacterToken} */\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n const token = state.parser.tokenizer.currentCharacterToken\n\n if (token && token.location) {\n token.location.endLine = state.parser.tokenizer.preprocessor.line\n token.location.endCol = state.parser.tokenizer.preprocessor.col + 1\n token.location.endOffset = state.parser.tokenizer.preprocessor.offset + 1\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.currentToken = token\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser._processToken(state.parser.currentToken)\n }\n\n // Reset tokenizer:\n // See: .\n // Especially putting it back in the `data` state is useful: some elements,\n // like textareas and iframes, change the state.\n // See GH-7.\n // But also if broken HTML is in `raw`, and then a correct element is given.\n // See GH-11.\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.paused = false\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.inLoop = false\n\n // Note: don’t reset `state`, `inForeignNode`, or `lastStartTagName`, we\n // manually update those when needed.\n state.parser.tokenizer.active = false\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.returnState = TokenizerMode.DATA\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.charRefCode = -1\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.consumedAfterSnapshot = -1\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.currentLocation = null\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.currentCharacterToken = null\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.currentToken = null\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.currentAttr = {name: '', value: ''}\n}\n\n/**\n * Set current location.\n *\n * @param {State} state\n * Info passed around about the current state.\n * @param {Point | undefined} point\n * Point.\n * @returns {undefined}\n * Nothing.\n */\nfunction setPoint(state, point) {\n if (point && point.offset !== undefined) {\n /** @type {Location} */\n const location = {\n startLine: point.line,\n startCol: point.column,\n startOffset: point.offset,\n endLine: -1,\n endCol: -1,\n endOffset: -1\n }\n\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.preprocessor.lineStartPos = -point.column + 1 // Looks weird, but ensures we get correct positional info.\n state.parser.tokenizer.preprocessor.droppedBufferSize = point.offset\n state.parser.tokenizer.preprocessor.line = point.line\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.tokenizer.currentLocation = location\n }\n}\n\n/**\n * Emit a start tag.\n *\n * @param {Element} node\n * Element.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction startTag(node, state) {\n const tagName = node.tagName.toLowerCase()\n\n // Ignore tags if we’re in plain text.\n if (state.parser.tokenizer.state === TokenizerMode.PLAINTEXT) return\n\n resetTokenizer(state, pointStart(node))\n\n const current = state.parser.openElements.current\n let ns = 'namespaceURI' in current ? current.namespaceURI : webNamespaces.html\n\n if (ns === webNamespaces.html && tagName === 'svg') {\n ns = webNamespaces.svg\n }\n\n const result = toParse5(\n // Shallow clone to not delve into `children`: we only need the attributes.\n {...node, children: []},\n {space: ns === webNamespaces.svg ? 'svg' : 'html'}\n )\n\n /** @type {TagToken} */\n const tag = {\n type: Token.TokenType.START_TAG,\n tagName,\n tagID: html.getTagID(tagName),\n // We always send start and end tags.\n selfClosing: false,\n ackSelfClosing: false,\n // Always element.\n /* c8 ignore next */\n attrs: 'attrs' in result ? result.attrs : [],\n location: createParse5Location(node)\n }\n\n // The HTML parsing algorithm works by doing half of the state management in\n // the tokenizer and half in the parser.\n // We can’t use the tokenizer here, as we don’t have strings.\n // So we act *as if* the tokenizer emits tokens:\n\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.currentToken = tag\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser._processToken(state.parser.currentToken)\n\n // …but then we still need a bunch of work that the tokenizer would normally\n // do, such as:\n\n // Set a tag name, similar to how the tokenizer would do it.\n state.parser.tokenizer.lastStartTagName = tagName\n\n // `inForeignNode` is correctly set by the parser.\n}\n\n/**\n * Emit an end tag.\n *\n * @param {Element} node\n * Element.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {undefined}\n * Nothing.\n */\nfunction endTag(node, state) {\n const tagName = node.tagName.toLowerCase()\n // Do not emit closing tags for HTML void elements.\n if (\n !state.parser.tokenizer.inForeignNode &&\n htmlVoidElements.includes(tagName)\n ) {\n return\n }\n\n // Ignore tags if we’re in plain text.\n if (state.parser.tokenizer.state === TokenizerMode.PLAINTEXT) return\n\n resetTokenizer(state, pointEnd(node))\n\n /** @type {TagToken} */\n const tag = {\n type: Token.TokenType.END_TAG,\n tagName,\n tagID: html.getTagID(tagName),\n selfClosing: false,\n ackSelfClosing: false,\n attrs: [],\n location: createParse5Location(node)\n }\n\n // The HTML parsing algorithm works by doing half of the state management in\n // the tokenizer and half in the parser.\n // We can’t use the tokenizer here, as we don’t have strings.\n // So we act *as if* the tokenizer emits tokens:\n\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser.currentToken = tag\n // @ts-expect-error: private.\n // type-coverage:ignore-next-line\n state.parser._processToken(state.parser.currentToken)\n\n // …but then we still need a bunch of work that the tokenizer would normally\n // do, such as:\n\n // Switch back to the data state after alternative states that don’t accept\n // tags:\n if (\n // Current element is closed.\n tagName === state.parser.tokenizer.lastStartTagName &&\n // `