diff --git a/.gitignore b/.gitignore
index 8631e12d..43684564 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
dist
+out
!docs/dist
dist-*
cabal-dev
@@ -27,4 +28,11 @@ node_modules/
repl-parcel
mytunes.ts
doc
-.parcel-cache
\ No newline at end of file
+out
+.parcel-cache
+repl_old
+tutorial.rendered.mdx
+doc.json
+talk/public/EmuSP12
+talk/public/samples
+server/samples/old
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2f7e5ba3..34079dc0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -32,7 +32,9 @@ Use one of the Communication Channels listed above.
## Improve the Tutorial
If you find some weak spots in the [tutorial](https://strudel.tidalcycles.org/),
-you are welcome to improve them by editing [this file](https://github.com/tidalcycles/strudel/blob/main/repl/src/tutorial/tutorial.mdx).
+you are welcome to improve them by editing [this file](https://github.com/tidalcycles/strudel/blob/main/tutorial/tutorial.mdx).
+
+
This will even work without setting up a development environment, only a github account is required.
## Propose a Feature
diff --git a/LICENSE b/LICENSE
index f288702d..be3f7b28 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,5 +1,5 @@
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
@@ -7,17 +7,15 @@
Preamble
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
+ The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
+our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
+software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
+ Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
+ A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
+ The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
+ An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
The precise terms and conditions for copying, distribution and
modification follow.
@@ -72,7 +60,7 @@ modification follow.
0. Definitions.
- "This License" refers to version 3 of the GNU General Public License.
+ "This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
- 13. Use with the GNU Affero General Public License.
+ 13. Remote Network Interaction; Use with the GNU General Public License.
+
+ Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
+under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
+Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
+GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
+versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
@@ -635,40 +633,29 @@ the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
+ it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ GNU Affero General Public License for more details.
- You should have received a copy of the GNU General Public License
+ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- Copyright (C)
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
+For more information on this, and how to apply and follow the GNU AGPL, see
.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-.
diff --git a/README.md b/README.md
index 876e76fc..5368d2e5 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
[](https://github.com/tidalcycles/strudel/actions)
-An experiment in making a [Tidal](https://github.com/tidalcycles/tidal/) using web technologies. This is unstable software, please tread carefully.
+An experiment in making a [Tidal](https://github.com/tidalcycles/tidal/) using web technologies. This software is slowly stabilising, but please continue to tread carefully.
- Try it here:
- Tutorial:
@@ -27,8 +27,10 @@ There are multiple npm packages you can use to use strudel, or only parts of it,
- [`tone`](./packages/tone): bindings for Tone.js instruments and effects
- [`osc`](./packages/osc): bindings to communicate via OSC
- [`midi`](./packages/midi): webmidi bindings
+- [`serial`](./packages/serial): webserial bindings
- [`tonal`](./packages/tonal): tonal functions
- [`xen`](./packages/xen): microtonal / xenharmonic functions
+- ... [and there are more](./packages/)
Click on the package names to find out more about each one.
diff --git a/docs/.nojekyll b/docs/.nojekyll
deleted file mode 100644
index e69de29b..00000000
diff --git a/docs/CNAME b/docs/CNAME
deleted file mode 100644
index 63687b2b..00000000
--- a/docs/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-strudel.tidalcycles.org
diff --git a/docs/asset-manifest.json b/docs/asset-manifest.json
deleted file mode 100644
index 3890d08c..00000000
--- a/docs/asset-manifest.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "files": {
- "main.css": "/static/css/main.0d689283.css",
- "main.js": "/static/js/main.7e790d7f.js",
- "static/js/787.1c52cb78.chunk.js": "/static/js/787.1c52cb78.chunk.js",
- "static/media/logo.svg": "/static/media/logo.ac95051720b3dccfe511e0e02d8e1029.svg",
- "index.html": "/index.html",
- "main.0d689283.css.map": "/static/css/main.0d689283.css.map",
- "main.7e790d7f.js.map": "/static/js/main.7e790d7f.js.map",
- "787.1c52cb78.chunk.js.map": "/static/js/787.1c52cb78.chunk.js.map"
- },
- "entrypoints": [
- "static/css/main.0d689283.css",
- "static/js/main.7e790d7f.js"
- ]
-}
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
deleted file mode 100644
index f78b3510..00000000
--- a/docs/index.html
+++ /dev/null
@@ -1 +0,0 @@
-Strudel REPL
\ No newline at end of file
diff --git a/docs/manifest.json b/docs/manifest.json
deleted file mode 100644
index 7b904b61..00000000
--- a/docs/manifest.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "short_name": "Strudel REPL",
- "name": "Strudel REPL - Tidal Patterns in JavaScript",
- "icons": [
- {
- "src": "favicon.ico",
- "sizes": "64x64 32x32 24x24 16x16",
- "type": "image/x-icon"
- }
- ],
- "start_url": ".",
- "display": "standalone",
- "theme_color": "#000000",
- "background_color": "#ffffff"
-}
diff --git a/docs/robots.txt b/docs/robots.txt
deleted file mode 100644
index e9e57dc4..00000000
--- a/docs/robots.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-# https://www.robotstxt.org/robotstxt.html
-User-agent: *
-Disallow:
diff --git a/docs/static/css/main.0d689283.css b/docs/static/css/main.0d689283.css
deleted file mode 100644
index adca1241..00000000
--- a/docs/static/css/main.0d689283.css
+++ /dev/null
@@ -1,6 +0,0 @@
-body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.CodeMirror{color:#000;direction:ltr;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f7f7f7;border-right:1px solid #ddd;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;border:0!important;width:auto}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:-50px}.CodeMirror-ruler{border-left:1px solid #ccc;bottom:0;position:absolute;top:0}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-50px;margin-right:-50px;outline:none;overflow:scroll!important;padding-bottom:50px;position:relative;z-index:0}.CodeMirror-sizer{border-right:50px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;outline:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;min-height:100%;position:absolute;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-50px;vertical-align:top;white-space:normal}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{bottom:0;position:absolute;top:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:normal;-webkit-tap-highlight-color:transparent;-webkit-font-feature-settings:"calt";font-feature-settings:"calt";background:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{padding:.1px;position:relative;z-index:2}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-material.CodeMirror{background-color:#263238;color:#eff}.cm-s-material .CodeMirror-gutters{background:#263238;border:none;color:#546e7a}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#546e7a}.cm-s-material .CodeMirror-cursor{border-left:1px solid #fc0}.cm-s-material .cm-animate-fat-cursor,.cm-s-material.cm-fat-cursor .CodeMirror-cursor{background-color:#5d6d5c80!important}.cm-s-material div.CodeMirror-selected,.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-activeline-background{background:rgba(0,0,0,.5)}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#89ddff}.cm-s-material .cm-variable-2{color:#eff}.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#f07178}.cm-s-material .cm-builtin{color:#ffcb6b}.cm-s-material .cm-atom{color:#f78c6c}.cm-s-material .cm-number{color:#ff5370}.cm-s-material .cm-def{color:#82aaff}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#f07178}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#f07178}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-meta{color:#ffcb6b}.cm-s-material .cm-attribute,.cm-s-material .cm-property{color:#c792ea}.cm-s-material .cm-qualifier,.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-error{background-color:#ff5370;color:#fff}.cm-s-material .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
-
-/*
-! tailwindcss v3.0.23 | MIT License | https://tailwindcss.com
-*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#9ca3af;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where([class~=lead]):not(:where([class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-bottom:1.2em;margin-top:1.2em}.prose :where(a):not(:where([class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(ol):not(:where([class~=not-prose] *)){list-style-type:decimal;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose] *)){list-style-type:disc;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-bottom:3em;margin-top:3em}.prose :where(blockquote):not(:where([class~=not-prose] *)){border-left-color:var(--tw-prose-quote-borders);border-left-width:.25rem;color:var(--tw-prose-quotes);font-style:italic;font-weight:500;margin-bottom:1.6em;margin-top:1.6em;padding-left:1em;quotes:"\201C""\201D""\2018""\2019"}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:2.25em;font-weight:800;line-height:1.1111111;margin-bottom:.8888889em;margin-top:0}.prose :where(h1 strong):not(:where([class~=not-prose] *)){font-weight:900}.prose :where(h2):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.5em;font-weight:700;line-height:1.3333333;margin-bottom:1em;margin-top:2em}.prose :where(h2 strong):not(:where([class~=not-prose] *)){font-weight:800}.prose :where(h3):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.25em;font-weight:600;line-height:1.6;margin-bottom:.6em;margin-top:1.6em}.prose :where(h3 strong):not(:where([class~=not-prose] *)){font-weight:700}.prose :where(h4):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;line-height:1.5;margin-bottom:.5em;margin-top:1.5em}.prose :where(h4 strong):not(:where([class~=not-prose] *)){font-weight:700}.prose :where(figure>*):not(:where([class~=not-prose] *)){margin-bottom:0;margin-top:0}.prose :where(figcaption):not(:where([class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose] *)){color:var(--tw-prose-links)}.prose :where(pre):not(:where([class~=not-prose] *)){background-color:var(--tw-prose-pre-bg);border-radius:.375rem;color:var(--tw-prose-pre-code);font-size:.875em;font-weight:400;line-height:1.7142857;margin-bottom:1.7142857em;margin-top:1.7142857em;overflow-x:auto;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose] *)){background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding:0}.prose :where(pre code):not(:where([class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose] *)){font-size:.875em;line-height:1.7142857;margin-bottom:2em;margin-top:2em;table-layout:auto;text-align:left;width:100%}.prose :where(thead):not(:where([class~=not-prose] *)){border-bottom-color:var(--tw-prose-th-borders);border-bottom-width:1px}.prose :where(thead th):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;padding-bottom:.5714286em;padding-left:.5714286em;padding-right:.5714286em;vertical-align:bottom}.prose :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-color:var(--tw-prose-td-borders);border-bottom-width:1px}.prose :where(tbody tr:last-child):not(:where([class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose] *)){padding:.5714286em;vertical-align:baseline}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(p):not(:where([class~=not-prose] *)){margin-bottom:1.25em;margin-top:1.25em}.prose :where(img):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(video):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(figure):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(h2 code):not(:where([class~=not-prose] *)){font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose] *)){font-size:.9em}.prose :where(li):not(:where([class~=not-prose] *)){margin-bottom:.5em;margin-top:.5em}.prose :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose>:where(ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose>:where(ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose>:where(ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose>:where(ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose>:where(ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(tbody td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose>:where(:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose>:where(:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.top-0{top:0}.right-0{right:0}.right-2{right:.5rem}.bottom-2{bottom:.5rem}.right-4{right:1rem}.z-\[10\]{z-index:10}.z-\[11\]{z-index:11}.flex{display:flex}.inline-flex{display:inline-flex}.h-14{height:3.5rem}.h-12{height:3rem}.h-5{height:1.25rem}.h-full{height:100%}.h-16{height:4rem}.min-h-screen{min-height:100vh}.w-full{width:100%}.w-12{width:3rem}.w-16{width:4rem}.w-5{width:1.25rem}.max-w-3xl{max-width:48rem}.flex-none{flex:none}.grow{flex-grow:1}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}.animate-pulse{-webkit-animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-not-allowed{cursor:not-allowed}.resize-none{resize:none}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-pre{white-space:pre}.rounded-md{border-radius:.375rem}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity))}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-\[transparent\]{background-color:transparent}.bg-slate-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity))}.p-4{padding:1rem}.p-1{padding:.25rem}.px-2{padding-left:.5rem}.pr-2,.px-2{padding-right:.5rem}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.text-red-200{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.outline{outline-style:solid}.filter{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}body{background-color:#2a3236}.CodeMirror,.react-codemirror2{background-color:transparent!important;font-size:15px;height:100%!important;z-index:20}.CodeMirror-line>span{background-color:#2a323699}.darken:before{background:#000;content:" ";display:block;height:100vh;left:0;opacity:.5;position:absolute;top:0;width:100vw}.hover\:bg-slate-600:hover{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.focus\:ring-slate-800:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(30 41 59/var(--tw-ring-opacity))}
-/*# sourceMappingURL=main.0d689283.css.map*/
\ No newline at end of file
diff --git a/docs/static/css/main.0d689283.css.map b/docs/static/css/main.0d689283.css.map
deleted file mode 100644
index e6584a97..00000000
--- a/docs/static/css/main.0d689283.css.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/css/main.0d689283.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAKF,CAEA,KACE,uEAEF,CCVA,YAIE,UAAY,CACZ,aAAc,CAHd,qBAAsB,CACtB,YAGF,CAIA,kBACE,aACF,CACA,qEAEE,aACF,CAEA,uDACE,qBACF,CAIA,oBAEE,wBAAyB,CADzB,2BAA4B,CAE5B,kBACF,CAEA,uBAIE,UAAW,CAFX,cAAe,CADf,mBAAoB,CAEpB,gBAAiB,CAEjB,kBACF,CAEA,yBAA2B,UAAc,CACzC,gCAAkC,UAAa,CAI/C,mBACE,0BAA4B,CAC5B,iBAAkB,CAClB,OACF,CAEA,2CACE,4BACF,CACA,kCAGE,eAAgB,CADhB,kBAAoB,CADpB,UAGF,CACA,sCACE,SACF,CACA,gJAE2D,sBAAyB,CACpF,+JAEgE,sBAAyB,CACzF,eAAiB,uBAA0B,CAM3C,yBAEE,IAAM,4BAA+B,CAEvC,CACA,iBAEE,IAAM,4BAA+B,CAEvC,CAKA,QAAU,oBAAqB,CAAE,uBAA0B,CAE3D,mBAEiC,QAAS,CAAxC,MAAO,CACP,eAAgB,CAFhB,iBAAkB,CACT,OAAQ,CAAE,SAErB,CACA,kBACE,0BAA2B,CACnB,QAAS,CACjB,iBAAkB,CADlB,KAEF,CAIA,yBAA0B,UAAY,CACtC,wBAAyB,UAAY,CACrC,aAAc,UAAY,CAC1B,aAAc,UAAY,CAC1B,sBAAwB,eAAkB,CAC1C,OAAQ,iBAAmB,CAC3B,SAAU,yBAA2B,CACrC,kBAAmB,4BAA8B,CAEjD,0BAA2B,UAAY,CACvC,uBAAwB,UAAY,CACpC,yBAA0B,UAAY,CACtC,sBAAuB,UAAY,CAKnC,6BAA8B,UAAY,CAC1C,oDAAsD,UAAY,CAClE,0BAA2B,UAAY,CACvC,yBAA0B,UAAY,CACtC,2BAA4B,UAAY,CAExC,mDAA6B,UAAY,CACzC,0BAA2B,UAAY,CACvC,0BAA2B,UAAY,CACvC,sBAAuB,UAAY,CACnC,4BAA6B,UAAY,CACzC,qBAAsB,UAAY,CAClC,uBAAwB,UAAY,CAGpC,wCAAiB,SAAY,CAE7B,sBAAwB,uBAA0B,CAIlD,+CAAgD,UAAY,CAC5D,kDAAmD,UAAY,CAC/D,wBAA0B,6BAAmC,CAC7D,kCAAmC,kBAAoB,CAOvD,YAGE,eAAiB,CADjB,eAAgB,CADhB,iBAGF,CAEA,mBAME,WAAY,CAFZ,mBAAoB,CAAE,kBAAmB,CAGzC,YAAa,CANb,yBAA2B,CAI3B,mBAAoB,CAGpB,iBAAkB,CAClB,SACF,CACA,kBAEE,mCAAoC,CADpC,iBAEF,CAKA,qGAGE,YAAa,CACb,YAAa,CAHb,iBAAkB,CAClB,SAGF,CACA,uBAEE,iBAAkB,CAClB,iBAAkB,CAFlB,OAAQ,CAAE,KAGZ,CACA,uBACE,QAAS,CAAE,MAAO,CAElB,iBAAkB,CADlB,iBAEF,CACA,6BACY,QAAS,CAAnB,OACF,CACA,0BACW,QAAS,CAAlB,MACF,CAEA,oBACsB,MAAO,CAC3B,eAAgB,CADhB,iBAAkB,CAAW,KAAM,CAEnC,SACF,CACA,mBAGE,oBAAqB,CADrB,WAAY,CAGZ,mBAAoB,CADpB,kBAAmB,CAHnB,kBAKF,CACA,2BAGE,yBAA2B,CAC3B,qBAAuB,CAHvB,iBAAkB,CAClB,SAGF,CACA,8BAEU,QAAS,CADjB,iBAAkB,CAClB,KAAM,CACN,SACF,CACA,uBAEE,cAAe,CADf,iBAAkB,CAElB,SACF,CACA,uCAAyC,4BAA8B,CACvE,4CAA8C,4BAA8B,CAE5E,kBACE,WAAY,CACZ,cACF,CACA,qEAUE,gBAAiB,CAMjB,uCAAwC,CAExC,oCAAkC,CAAlC,4BAAkC,CAblC,sBAAuB,CAF0B,eAAgB,CACjE,cAAe,CAQf,aAAc,CANd,mBAAoB,CACpB,iBAAkB,CAUlB,yCAA0C,CAC1C,iCAAkC,CAPlC,mBAAoB,CAHpB,QAAS,CAOT,gBAAiB,CADjB,iBAAkB,CALlB,eAAgB,CAIhB,SAMF,CACA,+EAEE,oBAAqB,CACrB,oBAAqB,CACrB,iBACF,CAEA,2BAE6B,QAAS,CAApC,MAAO,CADP,iBAAkB,CACT,OAAQ,CAAE,KAAM,CACzB,SACF,CAEA,uBAGE,YAAc,CAFd,iBAAkB,CAClB,SAEF,CAIA,oBAAsB,aAAgB,CAEtC,iBACE,YACF,CAGA,mGAME,sBACF,CAEA,oBAGE,QAAS,CACT,eAAgB,CAHhB,iBAAkB,CAIlB,iBAAkB,CAHlB,UAIF,CAEA,mBAEE,mBAAoB,CADpB,iBAEF,CACA,wBAA0B,eAAkB,CAE5C,uBAEE,iBAAkB,CADlB,iBAAkB,CAElB,SACF,CAKA,sEACE,kBACF,CAEA,qBAAuB,kBAAqB,CAC5C,yCAA2C,kBAAqB,CAChE,sBAAwB,gBAAmB,CAC3C,mGAA6G,kBAAqB,CAClI,kHAA4H,kBAAqB,CAEjJ,cACE,qBAAsB,CACtB,mCACF,CAGA,iBAAmB,kBAAqB,CAExC,aAEE,mCACE,iBACF,CACF,CAGA,wBAA0B,UAAa,CAGvC,6BAA+B,eAAkB,CCjVjD,0BACE,wBAAyB,CACzB,UACF,CAEA,mCACE,kBAAmB,CAEnB,WAAY,CADZ,aAEF,CAEA,6HAGE,aACF,CAEA,kCACE,0BACF,CAIA,sFACE,oCACF,CAMA,iGACE,+BACF,CAEA,gJAGE,+BACF,CAEA,+JAGE,+BACF,CAEA,iDACE,yBACF,CAEA,2BACE,aACF,CAEA,4BACE,aACF,CAEA,8BACE,UACF,CAEA,sDAEE,aACF,CAEA,2BACE,aACF,CAEA,wBACE,aACF,CAEA,0BACE,aACF,CAEA,uBACE,aACF,CAEA,0BACE,aACF,CAEA,4BACE,aACF,CAEA,2BACE,aACF,CAEA,4BACE,aACF,CAEA,uBACE,aACF,CAEA,wBACE,aACF,CAMA,yDACE,aACF,CAMA,mFAEE,aACF,CAGA,yBAEE,wBAAyB,CADzB,UAEF,CAEA,2CAEE,oBAAuB,CADvB,yBAEF;;AC5IA;;CAAc,CAAd,iBCWE,sBAAwD,CAHxD,qBDRY,CAAd,eCgBE,eDhBY,CAAd,KC4BE,6BAA8B,CAG9B,gMAAsP,CAJtP,eAAgB,CAGhB,UD9BY,CAAd,KCyCE,mBAAoB,CADpB,QDxCY,CAAd,GCqDE,oBAAqB,CADrB,aAAc,CADd,QDnDY,CAAd,oBC6DE,wCAAiC,CAAjC,gCD7DY,CAAd,kBC0EE,iBAAkB,CAClB,mBD3EY,CAAd,ECmFE,aAAc,CACd,uBDpFY,CAAd,SC6FE,kBD7FY,CAAd,kBCyGE,mGAAyI,CACzI,aD1GY,CAAd,MCkHE,aDlHY,CAAd,QC2HE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBD9HY,CAAd,ICkIE,aDlIY,CAAd,ICsIE,SDtIY,CAAd,MCkJE,wBAAyB,CADzB,oBAAqB,CADrB,aDhJY,CAAd,sCCmKE,aAAc,CAHd,mBAAoB,CACpB,cAAe,CACf,mBAAoB,CAEpB,QAAS,CACT,SDrKY,CAAd,cC8KE,mBD9KY,CAAd,gDC0LE,yBAA0B,CAC1B,4BAA6B,CAC7B,qBD5LY,CAAd,gBCoME,YDpMY,CAAd,iBC4ME,eD5MY,CAAd,SCoNE,uBDpNY,CAAd,wDC6NE,WD7NY,CAAd,cCsOE,4BAA6B,CAC7B,mBDvOY,CAAd,4BC+OE,uBD/OY,CAAd,6BCwPE,yBAA0B,CAC1B,YDzPY,CAAd,QCiQE,iBDjQY,CAAd,mDCqRE,QDrRY,CAAd,SCyRE,QDzRY,CAAd,gBC0RE,SD1RY,CAAd,WCoSE,eAAgB,CAChB,QAAS,CACT,SDtSY,CAAd,SC8SE,eD9SY,CAAd,qECyTE,aAAwC,CADxC,SDxTY,CAAd,2DCyTE,aAAwC,CADxC,SDxTY,CAAd,yCCyTE,aAAwC,CADxC,SDxTY,CAAd,qBCkUE,cDlUY,CAAd,UCyUE,cDzUY,CAAd,+CC0VE,aAAc,CACd,qBD3VY,CAAd,UCqWE,WAAY,CADZ,cDpWY,CAAd,SC6WE,YD7WY,CEAd,i4B,CFCA,OEDA,yCFCoB,CAApB,+DEDA,gGFCoB,CAApB,mDEDA,qEFCoB,CAApB,wDEDA,0CFCoB,CAApB,oDEDA,4CFCoB,CAApB,4DEDA,2BFCoB,CAApB,4DEDA,2BFCoB,CAApB,8DEDA,2BFCoB,CAApB,8DEDA,2BFCoB,CAApB,4DEDA,2BFCoB,CAApB,4DEDA,2BFCoB,CAApB,8DEDA,2BFCoB,CAApB,8DEDA,2BFCoB,CAApB,8DEDA,uBFCoB,CAApB,oDEDA,yCFCoB,CAApB,+DEDA,8CFCoB,CAApB,+DEDA,6BFCoB,CAApB,oDEDA,qFFCoB,CAApB,4DEDA,iOFCoB,CAApB,mFEDA,kBFCoB,CAApB,iFEDA,mBFCoB,CAApB,oDEDA,2HFCoB,CAApB,2DEDA,eFCoB,CAApB,oDEDA,qHFCoB,CAApB,2DEDA,eFCoB,CAApB,oDEDA,mHFCoB,CAApB,2DEDA,eFCoB,CAApB,oDEDA,kGFCoB,CAApB,2DEDA,eFCoB,CAApB,0DEDA,4BFCoB,CAApB,4DEDA,2FFCoB,CAApB,sDEDA,2DFCoB,CAApB,6DEDA,WFCoB,CAApB,4DEDA,WFCoB,CAApB,wDEDA,2BFCoB,CAApB,qDEDA,mPFCoB,CAApB,0DEDA,iKFCoB,CAApB,iEEDA,YFCoB,CAApB,gEEDA,YFCoB,CAApB,uDEDA,oHFCoB,CAApB,uDEDA,sEFCoB,CAApB,0DEDA,+IFCoB,CAApB,0DEDA,sEFCoB,CAApB,qEEDA,qBFCoB,CAApB,0DEDA,0CFCoB,CAApB,OEDA,g+BFCoB,CAApB,mDEDA,sCFCoB,CAApB,qDEDA,gCFCoB,CAApB,uDEDA,gCFCoB,CAApB,wDEDA,gCFCoB,CAApB,yDEDA,gBFCoB,CAApB,yDEDA,cFCoB,CAApB,oDEDA,kCFCoB,CAApB,uDEDA,mBFCoB,CAApB,uDEDA,mBFCoB,CAApB,yDEDA,oCFCoB,CAApB,oEEDA,iBFCoB,CAApB,mEEDA,oBFCoB,CAApB,oEEDA,iBFCoB,CAApB,mEEDA,oBFCoB,CAApB,yEEDA,oCFCoB,CAApB,sDEDA,YFCoB,CAApB,sDEDA,YFCoB,CAApB,sDEDA,YFCoB,CAApB,sDEDA,YFCoB,CAApB,sEEDA,cFCoB,CAApB,qEEDA,eFCoB,CAApB,sEEDA,cFCoB,CAApB,qEEDA,eFCoB,CAApB,8DEDA,YFCoB,CAApB,6DEDA,eFCoB,CACpB,qBEFA,mBFEmB,CAAnB,QEFA,eFEmB,CAAnB,OEFA,cFEmB,CAAnB,UEFA,iBFEmB,CAAnB,UEFA,iBFEmB,CAAnB,OEFA,KFEmB,CAAnB,SEFA,OFEmB,CAAnB,SEFA,WFEmB,CAAnB,UEFA,YFEmB,CAAnB,SEFA,UFEmB,CAAnB,UEFA,UFEmB,CAAnB,UEFA,UFEmB,CAAnB,MEFA,YFEmB,CAAnB,aEFA,mBFEmB,CAAnB,MEFA,aFEmB,CAAnB,MEFA,WFEmB,CAAnB,KEFA,cFEmB,CAAnB,QEFA,WFEmB,CAAnB,MEFA,WFEmB,CAAnB,cEFA,gBFEmB,CAAnB,QEFA,UFEmB,CAAnB,MEFA,UFEmB,CAAnB,MEFA,UFEmB,CAAnB,KEFA,aFEmB,CAAnB,WEFA,eFEmB,CAAnB,WEFA,SFEmB,CAAnB,MEFA,WFEmB,CAAnB,yBEFA,c,CFEmB,CAAnB,iBEFA,c,CFEmB,CAAnB,eEFA,+GFEmB,CAAnB,oBEFA,kBFEmB,CAAnB,aEFA,WFEmB,CAAnB,UEFA,qBFEmB,CAAnB,cEFA,kBFEmB,CAAnB,gBEFA,sBFEmB,CAAnB,iBEFA,6BFEmB,CAAnB,yCEFA,iIFEmB,CAAnB,yCEFA,+HFEmB,CAAnB,yCEFA,6HFEmB,CAAnB,eEFA,aFEmB,CAAnB,iBEFA,eFEmB,CAAnB,gBEFA,eFEmB,CAAnB,YEFA,qBFEmB,CAAnB,UEFA,cFEmB,CAAnB,UEFA,uBFEmB,CAAnB,UEFA,oBFEmB,CAAnB,UEFA,sBFEmB,CAAnB,iBEFA,4EFEmB,CAAnB,kBEFA,0EFEmB,CAAnB,kBEFA,4EFEmB,CAAnB,gBEFA,4BFEmB,CAAnB,UEFA,wEFEmB,CAAnB,oBEFA,4BFEmB,CAAnB,cEFA,qEFEmB,CAAnB,cEFA,sEFEmB,CAAnB,KEFA,YFEmB,CAAnB,KEFA,cFEmB,CAAnB,MEFA,kBFEmB,CAAnB,YEFA,mBFEmB,CAAnB,YEFA,gBFEmB,CAAnB,UEFA,iCFEmB,CAAnB,SEFA,iCFEmB,CAAnB,SEFA,qCFEmB,CAAnB,YEFA,iEFEmB,CAAnB,eEFA,iEFEmB,CAAnB,cEFA,+DFEmB,CAAnB,gBEFA,iEFEmB,CAAnB,cEFA,iEFEmB,CAAnB,WEFA,SFEmB,CAAnB,aEFA,SFEmB,CAAnB,SEFA,mBFEmB,CAAnB,QEFA,yWFEmB,CAAnB,oBEFA,uGFEmB,CAEnB,KACE,wBACF,CAEA,+BAGE,sCAAwC,CACxC,cAAe,CAFf,qBAAuB,CAGvB,UACF,CAEA,sBACE,0BACF,CAEA,eAQE,eAAiB,CAPjB,WAAY,CAMZ,aAAc,CADd,YAAa,CAFb,MAAO,CAKP,UAAY,CAPZ,iBAAkB,CAClB,KAAM,CAEN,WAKF,CA9BA,2BEAA,sE,CFAA,2BEAA,yE,CFAA,6BEAA,wE","sources":["index.css","../node_modules/codemirror/lib/codemirror.css","../node_modules/codemirror/theme/material.css","App.css","%3Cinput%20css%20M0F7o7%3E","../"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n","/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor .CodeMirror-line::selection,\n.cm-fat-cursor .CodeMirror-line > span::selection, \n.cm-fat-cursor .CodeMirror-line > span > span::selection { background: transparent; }\n.cm-fat-cursor .CodeMirror-line::-moz-selection,\n.cm-fat-cursor .CodeMirror-line > span::-moz-selection,\n.cm-fat-cursor .CodeMirror-line > span > span::-moz-selection { background: transparent; }\n.cm-fat-cursor { caret-color: transparent; }\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 50px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -50px; margin-right: -50px;\n padding-bottom: 50px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n z-index: 0;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 50px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n outline: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -50px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre.CodeMirror-line,\n.CodeMirror-wrap pre.CodeMirror-line-like {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n","/*\n Name: material\n Author: Mattia Astorino (http://github.com/equinusocio)\n Website: https://material-theme.site/\n*/\n\n.cm-s-material.CodeMirror {\n background-color: #263238;\n color: #EEFFFF;\n}\n\n.cm-s-material .CodeMirror-gutters {\n background: #263238;\n color: #546E7A;\n border: none;\n}\n\n.cm-s-material .CodeMirror-guttermarker,\n.cm-s-material .CodeMirror-guttermarker-subtle,\n.cm-s-material .CodeMirror-linenumber {\n color: #546E7A;\n}\n\n.cm-s-material .CodeMirror-cursor {\n border-left: 1px solid #FFCC00;\n}\n.cm-s-material.cm-fat-cursor .CodeMirror-cursor {\n background-color: #5d6d5c80 !important;\n}\n.cm-s-material .cm-animate-fat-cursor {\n background-color: #5d6d5c80 !important;\n}\n\n.cm-s-material div.CodeMirror-selected {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material.CodeMirror-focused div.CodeMirror-selected {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material .CodeMirror-line::selection,\n.cm-s-material .CodeMirror-line>span::selection,\n.cm-s-material .CodeMirror-line>span>span::selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material .CodeMirror-line::-moz-selection,\n.cm-s-material .CodeMirror-line>span::-moz-selection,\n.cm-s-material .CodeMirror-line>span>span::-moz-selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material .CodeMirror-activeline-background {\n background: rgba(0, 0, 0, 0.5);\n}\n\n.cm-s-material .cm-keyword {\n color: #C792EA;\n}\n\n.cm-s-material .cm-operator {\n color: #89DDFF;\n}\n\n.cm-s-material .cm-variable-2 {\n color: #EEFFFF;\n}\n\n.cm-s-material .cm-variable-3,\n.cm-s-material .cm-type {\n color: #f07178;\n}\n\n.cm-s-material .cm-builtin {\n color: #FFCB6B;\n}\n\n.cm-s-material .cm-atom {\n color: #F78C6C;\n}\n\n.cm-s-material .cm-number {\n color: #FF5370;\n}\n\n.cm-s-material .cm-def {\n color: #82AAFF;\n}\n\n.cm-s-material .cm-string {\n color: #C3E88D;\n}\n\n.cm-s-material .cm-string-2 {\n color: #f07178;\n}\n\n.cm-s-material .cm-comment {\n color: #546E7A;\n}\n\n.cm-s-material .cm-variable {\n color: #f07178;\n}\n\n.cm-s-material .cm-tag {\n color: #FF5370;\n}\n\n.cm-s-material .cm-meta {\n color: #FFCB6B;\n}\n\n.cm-s-material .cm-attribute {\n color: #C792EA;\n}\n\n.cm-s-material .cm-property {\n color: #C792EA;\n}\n\n.cm-s-material .cm-qualifier {\n color: #DECB6B;\n}\n\n.cm-s-material .cm-variable-3,\n.cm-s-material .cm-type {\n color: #DECB6B;\n}\n\n\n.cm-s-material .cm-error {\n color: rgba(255, 255, 255, 1.0);\n background-color: #FF5370;\n}\n\n.cm-s-material .CodeMirror-matchingbracket {\n text-decoration: underline;\n color: white !important;\n}\n","@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\nbody {\n background-color: #2a3236;\n}\n\n.react-codemirror2,\n.CodeMirror {\n height: 100% !important;\n background-color: transparent !important;\n font-size: 15px;\n z-index:20\n}\n\n.CodeMirror-line > span {\n background-color: #2a323699;\n}\n\n.darken::before {\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n display: block;\n background: black;\n opacity: 0.5;\n}","/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: theme('borderColor.DEFAULT', currentColor); /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n*/\n\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n tab-size: 4; /* 3 */\n font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"); /* 4 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace); /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: theme('colors.gray.400', #9ca3af); /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/*\nEnsure the default browser behavior of the `hidden` attribute.\n*/\n\n[hidden] {\n display: none;\n}\n"],"names":[],"sourceRoot":""}
\ No newline at end of file
diff --git a/docs/static/js/787.1c52cb78.chunk.js b/docs/static/js/787.1c52cb78.chunk.js
deleted file mode 100644
index 990897c6..00000000
--- a/docs/static/js/787.1c52cb78.chunk.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self.webpackChunk_strudel_cycles_repl=self.webpackChunk_strudel_cycles_repl||[]).push([[787],{787:function(e,t,n){n.r(t),n.d(t,{getCLS:function(){return y},getFCP:function(){return g},getFID:function(){return C},getLCP:function(){return P},getTTFB:function(){return D}});var i,r,a,o,u=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},c=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},f=function(e,t){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},s=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},m=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},v=-1,p=function(){return"hidden"===document.visibilityState?0:1/0},d=function(){f((function(e){var t=e.timeStamp;v=t}),!0)},l=function(){return v<0&&(v=p(),d(),s((function(){setTimeout((function(){v=p(),d()}),0)}))),{get firstHiddenTime(){return v}}},g=function(e,t){var n,i=l(),r=u("FCP"),a=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime-1&&e(t)},r=u("CLS",0),a=0,o=[],v=function(e){if(!e.hadRecentInput){var t=o[0],i=o[o.length-1];a&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e]),a>r.value&&(r.value=a,r.entries=o,n())}},p=c("layout-shift",v);p&&(n=m(i,r,t),f((function(){p.takeRecords().map(v),n(!0)})),s((function(){a=0,T=-1,r=u("CLS",0),n=m(i,r,t)})))},E={passive:!0,capture:!0},w=new Date,L=function(e,t){i||(i=t,r=e,a=new Date,F(removeEventListener),S())},S=function(){if(r>=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){L(e,t),r()},i=function(){r()},r=function(){removeEventListener("pointerup",n,E),removeEventListener("pointercancel",i,E)};addEventListener("pointerup",n,E),addEventListener("pointercancel",i,E)}(t,e):L(t,e)}},F=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,b,E)}))},C=function(e,t){var n,a=l(),v=u("FID"),p=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("load",(function(){return setTimeout(t,0)}))}}}]);
-//# sourceMappingURL=787.1c52cb78.chunk.js.map
\ No newline at end of file
diff --git a/docs/static/js/787.1c52cb78.chunk.js.map b/docs/static/js/787.1c52cb78.chunk.js.map
deleted file mode 100644
index 6bea3dac..00000000
--- a/docs/static/js/787.1c52cb78.chunk.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/787.1c52cb78.chunk.js","mappings":"6RAAA,IAAIA,EAAEC,EAAEC,EAAEC,EAAEC,EAAE,SAASJ,EAAEC,GAAG,MAAM,CAACI,KAAKL,EAAEM,WAAM,IAASL,GAAG,EAAEA,EAAEM,MAAM,EAAEC,QAAQ,GAAGC,GAAG,MAAMC,OAAOC,KAAKC,MAAM,KAAKF,OAAOG,KAAKC,MAAM,cAAcD,KAAKE,UAAU,QAAQC,EAAE,SAAShB,EAAEC,GAAG,IAAI,GAAGgB,oBAAoBC,oBAAoBC,SAASnB,GAAG,CAAC,GAAG,gBAAgBA,KAAK,2BAA2BoB,MAAM,OAAO,IAAIlB,EAAE,IAAIe,qBAAqB,SAASjB,GAAG,OAAOA,EAAEqB,aAAaC,IAAIrB,MAAM,OAAOC,EAAEqB,QAAQ,CAACC,KAAKxB,EAAEyB,UAAS,IAAKvB,GAAG,MAAMF,MAAM0B,EAAE,SAAS1B,EAAEC,GAAG,IAAIC,EAAE,SAASA,EAAEC,GAAG,aAAaA,EAAEqB,MAAM,WAAWG,SAASC,kBAAkB5B,EAAEG,GAAGF,IAAI4B,oBAAoB,mBAAmB3B,GAAE,GAAI2B,oBAAoB,WAAW3B,GAAE,MAAO4B,iBAAiB,mBAAmB5B,GAAE,GAAI4B,iBAAiB,WAAW5B,GAAE,IAAK6B,EAAE,SAAS/B,GAAG8B,iBAAiB,YAAY,SAAS7B,GAAGA,EAAE+B,WAAWhC,EAAEC,MAAK,IAAKgC,EAAE,SAASjC,EAAEC,EAAEC,GAAG,IAAIC,EAAE,OAAO,SAASC,GAAGH,EAAEK,OAAO,IAAIF,GAAGF,KAAKD,EAAEM,MAAMN,EAAEK,OAAOH,GAAG,IAAIF,EAAEM,YAAO,IAASJ,KAAKA,EAAEF,EAAEK,MAAMN,EAAEC,OAAOiC,GAAG,EAAEC,EAAE,WAAW,MAAM,WAAWR,SAASC,gBAAgB,EAAE,KAAKQ,EAAE,WAAWV,GAAG,SAAS1B,GAAG,IAAIC,EAAED,EAAEqC,UAAUH,EAAEjC,KAAI,IAAKqC,EAAE,WAAW,OAAOJ,EAAE,IAAIA,EAAEC,IAAIC,IAAIL,GAAG,WAAWQ,YAAY,WAAWL,EAAEC,IAAIC,MAAM,OAAO,CAAKI,sBAAkB,OAAON,KAAKO,EAAE,SAASzC,EAAEC,GAAG,IAAIC,EAAEC,EAAEmC,IAAIZ,EAAEtB,EAAE,OAAO8B,EAAE,SAASlC,GAAG,2BAA2BA,EAAEK,OAAO+B,GAAGA,EAAEM,aAAa1C,EAAE2C,UAAUxC,EAAEqC,kBAAkBd,EAAEpB,MAAMN,EAAE2C,UAAUjB,EAAElB,QAAQoC,KAAK5C,GAAGE,GAAE,MAAOiC,EAAEU,OAAOC,aAAaA,YAAYC,kBAAkBD,YAAYC,iBAAiB,0BAA0B,GAAGX,EAAED,EAAE,KAAKnB,EAAE,QAAQkB,IAAIC,GAAGC,KAAKlC,EAAE+B,EAAEjC,EAAE0B,EAAEzB,GAAGkC,GAAGD,EAAEC,GAAGJ,GAAG,SAAS5B,GAAGuB,EAAEtB,EAAE,OAAOF,EAAE+B,EAAEjC,EAAE0B,EAAEzB,GAAG+C,uBAAuB,WAAWA,uBAAuB,WAAWtB,EAAEpB,MAAMwC,YAAYlC,MAAMT,EAAEkC,UAAUnC,GAAE,cAAe+C,GAAE,EAAGC,GAAG,EAAEC,EAAE,SAASnD,EAAEC,GAAGgD,IAAIR,GAAG,SAASzC,GAAGkD,EAAElD,EAAEM,SAAS2C,GAAE,GAAI,IAAI/C,EAAEC,EAAE,SAASF,GAAGiD,GAAG,GAAGlD,EAAEC,IAAIiC,EAAE9B,EAAE,MAAM,GAAG+B,EAAE,EAAEC,EAAE,GAAGE,EAAE,SAAStC,GAAG,IAAIA,EAAEoD,eAAe,CAAC,IAAInD,EAAEmC,EAAE,GAAGjC,EAAEiC,EAAEA,EAAEiB,OAAO,GAAGlB,GAAGnC,EAAE2C,UAAUxC,EAAEwC,UAAU,KAAK3C,EAAE2C,UAAU1C,EAAE0C,UAAU,KAAKR,GAAGnC,EAAEM,MAAM8B,EAAEQ,KAAK5C,KAAKmC,EAAEnC,EAAEM,MAAM8B,EAAE,CAACpC,IAAImC,EAAED,EAAE5B,QAAQ4B,EAAE5B,MAAM6B,EAAED,EAAE1B,QAAQ4B,EAAElC,OAAOiD,EAAEnC,EAAE,eAAesB,GAAGa,IAAIjD,EAAE+B,EAAE9B,EAAE+B,EAAEjC,GAAGyB,GAAG,WAAWyB,EAAEG,cAAchC,IAAIgB,GAAGpC,GAAE,MAAO6B,GAAG,WAAWI,EAAE,EAAEe,GAAG,EAAEhB,EAAE9B,EAAE,MAAM,GAAGF,EAAE+B,EAAE9B,EAAE+B,EAAEjC,QAAQsD,EAAE,CAACC,SAAQ,EAAGC,SAAQ,GAAIC,EAAE,IAAI/C,KAAKgD,EAAE,SAASxD,EAAEC,GAAGJ,IAAIA,EAAEI,EAAEH,EAAEE,EAAED,EAAE,IAAIS,KAAKiD,EAAE/B,qBAAqBgC,MAAMA,EAAE,WAAW,GAAG5D,GAAG,GAAGA,EAAEC,EAAEwD,EAAE,CAAC,IAAItD,EAAE,CAAC0D,UAAU,cAAczD,KAAKL,EAAEwB,KAAKuC,OAAO/D,EAAE+D,OAAOC,WAAWhE,EAAEgE,WAAWrB,UAAU3C,EAAEqC,UAAU4B,gBAAgBjE,EAAEqC,UAAUpC,GAAGE,EAAE+D,SAAS,SAASlE,GAAGA,EAAEI,MAAMD,EAAE,KAAKgE,EAAE,SAASnE,GAAG,GAAGA,EAAEgE,WAAW,CAAC,IAAI/D,GAAGD,EAAEqC,UAAU,KAAK,IAAI1B,KAAKmC,YAAYlC,OAAOZ,EAAEqC,UAAU,eAAerC,EAAEwB,KAAK,SAASxB,EAAEC,GAAG,IAAIC,EAAE,WAAWyD,EAAE3D,EAAEC,GAAGG,KAAKD,EAAE,WAAWC,KAAKA,EAAE,WAAWyB,oBAAoB,YAAY3B,EAAEqD,GAAG1B,oBAAoB,gBAAgB1B,EAAEoD,IAAIzB,iBAAiB,YAAY5B,EAAEqD,GAAGzB,iBAAiB,gBAAgB3B,EAAEoD,GAA9N,CAAkOtD,EAAED,GAAG2D,EAAE1D,EAAED,KAAK4D,EAAE,SAAS5D,GAAG,CAAC,YAAY,UAAU,aAAa,eAAekE,SAAS,SAASjE,GAAG,OAAOD,EAAEC,EAAEkE,EAAEZ,OAAOa,EAAE,SAASlE,EAAEgC,GAAG,IAAIC,EAAEC,EAAEE,IAAIG,EAAErC,EAAE,OAAO6C,EAAE,SAASjD,GAAGA,EAAE2C,UAAUP,EAAEI,kBAAkBC,EAAEnC,MAAMN,EAAEiE,gBAAgBjE,EAAE2C,UAAUF,EAAEjC,QAAQoC,KAAK5C,GAAGmC,GAAE,KAAMe,EAAElC,EAAE,cAAciC,GAAGd,EAAEF,EAAE/B,EAAEuC,EAAEP,GAAGgB,GAAGxB,GAAG,WAAWwB,EAAEI,cAAchC,IAAI2B,GAAGC,EAAER,gBAAe,GAAIQ,GAAGnB,GAAG,WAAW,IAAIf,EAAEyB,EAAErC,EAAE,OAAO+B,EAAEF,EAAE/B,EAAEuC,EAAEP,GAAG/B,EAAE,GAAGF,GAAG,EAAED,EAAE,KAAK4D,EAAE9B,kBAAkBd,EAAEiC,EAAE9C,EAAEyC,KAAK5B,GAAG6C,QAAQQ,EAAE,GAAGC,EAAE,SAAStE,EAAEC,GAAG,IAAIC,EAAEC,EAAEmC,IAAIJ,EAAE9B,EAAE,OAAO+B,EAAE,SAASnC,GAAG,IAAIC,EAAED,EAAE2C,UAAU1C,EAAEE,EAAEqC,kBAAkBN,EAAE5B,MAAML,EAAEiC,EAAE1B,QAAQoC,KAAK5C,GAAGE,MAAMkC,EAAEpB,EAAE,2BAA2BmB,GAAG,GAAGC,EAAE,CAAClC,EAAE+B,EAAEjC,EAAEkC,EAAEjC,GAAG,IAAIwC,EAAE,WAAW4B,EAAEnC,EAAEzB,MAAM2B,EAAEkB,cAAchC,IAAIa,GAAGC,EAAEM,aAAa2B,EAAEnC,EAAEzB,KAAI,EAAGP,GAAE,KAAM,CAAC,UAAU,SAASgE,SAAS,SAASlE,GAAG8B,iBAAiB9B,EAAEyC,EAAE,CAAC8B,MAAK,EAAGd,SAAQ,OAAQ/B,EAAEe,GAAE,GAAIV,GAAG,SAAS5B,GAAG+B,EAAE9B,EAAE,OAAOF,EAAE+B,EAAEjC,EAAEkC,EAAEjC,GAAG+C,uBAAuB,WAAWA,uBAAuB,WAAWd,EAAE5B,MAAMwC,YAAYlC,MAAMT,EAAEkC,UAAUgC,EAAEnC,EAAEzB,KAAI,EAAGP,GAAE,cAAesE,EAAE,SAASxE,GAAG,IAAIC,EAAEC,EAAEE,EAAE,QAAQH,EAAE,WAAW,IAAI,IAAIA,EAAE6C,YAAY2B,iBAAiB,cAAc,IAAI,WAAW,IAAIzE,EAAE8C,YAAY4B,OAAOzE,EAAE,CAAC6D,UAAU,aAAanB,UAAU,GAAG,IAAI,IAAIzC,KAAKF,EAAE,oBAAoBE,GAAG,WAAWA,IAAID,EAAEC,GAAGW,KAAK8D,IAAI3E,EAAEE,GAAGF,EAAE4E,gBAAgB,IAAI,OAAO3E,EAAhL,GAAqL,GAAGC,EAAEI,MAAMJ,EAAEK,MAAMN,EAAE4E,cAAc3E,EAAEI,MAAM,GAAGJ,EAAEI,MAAMwC,YAAYlC,MAAM,OAAOV,EAAEM,QAAQ,CAACP,GAAGD,EAAEE,GAAG,MAAMF,MAAM,aAAa2B,SAASmD,WAAWvC,WAAWtC,EAAE,GAAG6B,iBAAiB,QAAQ,WAAW,OAAOS,WAAWtC,EAAE","sources":["../node_modules/web-vitals/dist/web-vitals.js"],"sourcesContent":["var e,t,n,i,r=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:\"v2-\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12)}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(\"first-input\"===e&&!(\"PerformanceEventTiming\"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},o=function(e,t){var n=function n(i){\"pagehide\"!==i.type&&\"hidden\"!==document.visibilityState||(e(i),t&&(removeEventListener(\"visibilitychange\",n,!0),removeEventListener(\"pagehide\",n,!0)))};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},u=function(e){addEventListener(\"pageshow\",(function(t){t.persisted&&e(t)}),!0)},c=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},f=-1,s=function(){return\"hidden\"===document.visibilityState?0:1/0},m=function(){o((function(e){var t=e.timeStamp;f=t}),!0)},v=function(){return f<0&&(f=s(),m(),u((function(){setTimeout((function(){f=s(),m()}),0)}))),{get firstHiddenTime(){return f}}},d=function(e,t){var n,i=v(),o=r(\"FCP\"),f=function(e){\"first-contentful-paint\"===e.name&&(m&&m.disconnect(),e.startTime-1&&e(t)},f=r(\"CLS\",0),s=0,m=[],v=function(e){if(!e.hadRecentInput){var t=m[0],i=m[m.length-1];s&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,m.push(e)):(s=e.value,m=[e]),s>f.value&&(f.value=s,f.entries=m,n())}},h=a(\"layout-shift\",v);h&&(n=c(i,f,t),o((function(){h.takeRecords().map(v),n(!0)})),u((function(){s=0,l=-1,f=r(\"CLS\",0),n=c(i,f,t)})))},T={passive:!0,capture:!0},y=new Date,g=function(i,r){e||(e=r,t=i,n=new Date,w(removeEventListener),E())},E=function(){if(t>=0&&t1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,t){var n=function(){g(e,t),r()},i=function(){r()},r=function(){removeEventListener(\"pointerup\",n,T),removeEventListener(\"pointercancel\",i,T)};addEventListener(\"pointerup\",n,T),addEventListener(\"pointercancel\",i,T)}(t,e):g(t,e)}},w=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(t){return e(t,S,T)}))},L=function(n,f){var s,m=v(),d=r(\"FID\"),p=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},\"complete\"===document.readyState?setTimeout(t,0):addEventListener(\"load\",(function(){return setTimeout(t,0)}))};export{h as getCLS,d as getFCP,L as getFID,F as getLCP,P as getTTFB};\n"],"names":["e","t","n","i","r","name","value","delta","entries","id","concat","Date","now","Math","floor","random","a","PerformanceObserver","supportedEntryTypes","includes","self","getEntries","map","observe","type","buffered","o","document","visibilityState","removeEventListener","addEventListener","u","persisted","c","f","s","m","timeStamp","v","setTimeout","firstHiddenTime","d","disconnect","startTime","push","window","performance","getEntriesByName","requestAnimationFrame","p","l","h","hadRecentInput","length","takeRecords","T","passive","capture","y","g","w","E","entryType","target","cancelable","processingStart","forEach","S","L","b","F","once","P","getEntriesByType","timing","max","navigationStart","responseStart","readyState"],"sourceRoot":""}
\ No newline at end of file
diff --git a/docs/static/js/main.7e790d7f.js b/docs/static/js/main.7e790d7f.js
deleted file mode 100644
index 48be9641..00000000
--- a/docs/static/js/main.7e790d7f.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see main.7e790d7f.js.LICENSE.txt */
-(function(){var __webpack_modules__={5365:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&d<=127?d:null,y=void 0===s?null:440*Math.pow(2,(d-69)/12);var v,g;return{empty:!1,acc:r,alt:a,chroma:p,coord:u,freq:y,height:d,letter:n,midi:h,name:c,oct:s,pc:l,step:o}}(e):c(e)?E(function(e){var t=e.step,n=e.alt,r=e.oct,i=v(t);if(!i)return"";var o=i+g(n);return r||0===r?o+r:o}(e)):u(e)?E(e.name):m;return y.set(e,n),n}var D=/^([a-gA-G]?)(#{1,}|b{1,}|x{1,}|)(-?\d*)\s*(.*)$/;function b(e){var t=D.exec(e);return[t[1].toUpperCase(),t[2].replace(/x/g,"##"),t[3],t[4]]}function A(e){return E(h(e))}var C=[0,2,4,5,7,9,11];var k={empty:!0,name:"",acc:""},x=new RegExp("^([-+]?\\d+)(d{1,4}|m|M|P|A{1,4})|(AA|A|P|M|m|d|dd)([-+]?\\d+)$");function w(e){var t=x.exec("".concat(e));return null===t?["",""]:t[1]?[t[1],t[2]]:[t[4],t[3]]}var S={};function F(e){return"string"===typeof e?S[e]||(S[e]=function(e){var t=w(e);if(""===t[0])return k;var n=+t[0],r=t[1],i=(Math.abs(n)-1)%7,o=B[i];if("M"===o&&"P"===r)return k;var a="M"===o?"majorable":"perfectable",s=""+n+r,u=n<0?-1:1,c=8===n||-8===n?n:u*(i+1),l=function(e,t){return"M"===t&&"majorable"===e||"P"===t&&"perfectable"===e?0:"m"===t&&"majorable"===e?-1:/^A+$/.test(t)?t.length:/^d+$/.test(t)?-1*("perfectable"===e?t.length:t.length+1):0}(a,r),p=Math.floor((Math.abs(n)-1)/7),d=u*(T[i]+l+12*p),h=(u*(T[i]+l)%12+12)%12,m=f({step:i,alt:l,oct:p,dir:u});return{empty:!1,name:s,num:n,q:r,step:i,alt:l,dir:u,type:a,simple:c,semitones:d,chroma:h,coord:m,oct:p}}(e)):c(e)?F(function(e){var t=e.step,n=e.alt,r=e.oct,i=void 0===r?0:r,o=e.dir;if(!o)return"";var s=t+1+7*i;return(o<0?"-":"")+(0===s?t+1:s)+function(e,t){return 0===t?"majorable"===e?"M":"P":-1===t&&"majorable"===e?"m":t>0?a("A",t):a("d","perfectable"===e?t:t+1)}("M"===B[t]?"majorable":"perfectable",n)}(e)):u(e)?F(e.name):k}var T=[0,2,4,5,7,9,11],B="PMMPPMM";function q(e,t){var n=(0,o.Z)(e,2),r=n[0],i=n[1],a=void 0===i?0:i;return F(h(t||7*r+12*a<0?[-r,-a,-1]:[r,a,1]))}function O(e,t){var n=E(e),r=F(t);if(n.empty||r.empty)return"";var i=n.coord,o=r.coord;return A(1===i.length?[i[0]+o[0]]:[i[0]+o[0],i[1]+o[1]]).name}function M(e,t){var n=E(e),r=E(t);if(n.empty||r.empty)return"";var i=n.coord,o=r.coord,a=o[0]-i[0];return q([a,2===i.length&&2===o.length?o[1]-i[1]:-Math.floor(7*a/12)],r.height===n.height&&null!==r.midi&&null!==n.midi&&n.step>r.step).name}var P=function(e,t){return Array(t+1).join(e)},I=/^(_{1,}|=|\^{1,}|)([abcdefgABCDEFG])([,']*)$/;function N(e){var t=I.exec(e);return t?[t[1],t[2],t[3]]:["","",""]}function R(e){var t=N(e),n=(0,o.Z)(t,3),r=n[0],i=n[1],a=n[2];if(""===i)return"";for(var s=4,u=0;u96?i.toUpperCase()+c+(s+1):i+c+s}function L(e){var t=E(e);if(t.empty||!t.oct&&0!==t.oct)return"";var n=t.letter,r=t.acc,i=t.oct;return("b"===r[0]?r.replace(/b/g,"_"):r.replace(/#/g,"^"))+(i>4?n.toLowerCase():n)+(5===i?"":i>4?P("'",i-5):P(",",4-i))}var j={abcToScientificNotation:R,scientificToAbcNotation:L,tokenize:N,transpose:function(e,t){return L(O(R(e),t))},distance:function(e,t){return M(R(e),R(t))}};function W(e,t){return e1&&void 0!==arguments[1]?arguments[1]:Math.random,i=e.length;i;)t=Math.floor(r()*i--),n=e[i],e[i]=e[t],e[t]=n;return e}function U(e){return 0===e.length?[[]]:U(e.slice(1)).reduce((function(t,n){return t.concat(e.map((function(t,r){var i=n.slice();return i.splice(r,0,e[0]),i})))}),[])}var Y=n(1413),K=n(4942);function J(e,t){return e1&&void 0!==arguments[1]?arguments[1]:Math.random,i=e.length;i;)t=Math.floor(r()*i--),n=e[i],e[i]=e[t],e[t]=n;return e}},ee=$,te={empty:!0,name:"",setNum:0,chroma:"000000000000",normalized:"000000000000",intervals:[]},ne=function(e){return Number(e).toString(2)},re=function(e){return parseInt(e,2)},ie=/^[01]{12}$/;function oe(e){return ie.test(e)}var ae=(0,K.Z)({},te.chroma,te);function se(e){var t,n=oe(e)?e:"number"===typeof(t=e)&&t>=0&&t<=4095?ne(e):Array.isArray(e)?function(e){if(0===e.length)return te.chroma;for(var t,n=[0,0,0,0,0,0,0,0,0,0,0,0],r=0;r=2048})).sort()[0],r=ne(n),i=function(e){for(var t=[],n=0;n<12;n++)"1"===e.charAt(n)&&t.push(ce[n]);return t}(e);return{empty:!1,name:"",setNum:t,chroma:e,normalized:r,intervals:i}}(n)}var ue=s("Pcset.pcset","Pcset.get",se),ce=["1P","2m","2M","3m","3M","4P","5d","5P","6m","6M","7m","7M"];function le(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=se(e),r=n.chroma.split("");return Q(r.map((function(e,n){var i=X(n,r);return t&&"0"===i[0]?null:i.join("")})))}function pe(e){var t=se(e).setNum;return function(e){var n=se(e).setNum;return t&&t!==n&&(n&t)===n}}function fe(e){var t=se(e).setNum;return function(e){var n=se(e).setNum;return t&&t!==n&&(n|t)===n}}function de(e){var t=se(e);return function(e){var n=E(e);return t&&!n.empty&&"1"===t.chroma.charAt(n.chroma)}}var he={get:se,chroma:function(e){return se(e).chroma},num:function(e){return se(e).setNum},intervals:function(e){return se(e).intervals},chromas:function(){return J(2048,4095).map(ne)},isSupersetOf:fe,isSubsetOf:pe,isNoteIncludedIn:de,isEqual:function(e,t){return se(e).setNum===se(t).setNum},filter:function(e){var t=de(e);return function(e){return e.filter(t)}},modes:le,pcset:ue};var me=(0,Y.Z)((0,Y.Z)({},te),{},{name:"",quality:"Unknown",intervals:[],aliases:[]}),ye=[],ve={};function ge(e){return ve[e]||me}var _e=s("ChordType.chordType","ChordType.get",ge);function Ee(){return ye.slice()}var De=s("ChordType.entries","ChordType.all",Ee);function be(e,t,n){var r=function(e){var t=function(t){return-1!==e.indexOf(t)};return t("5A")?"Augmented":t("3M")?"Major":t("5d")?"Diminished":t("3m")?"Minor":"Unknown"}(e),i=(0,Y.Z)((0,Y.Z)({},se(e)),{},{name:n||"",quality:r,intervals:e,aliases:t});ye.push(i),i.name&&(ve[i.name]=i),ve[i.setNum]=i,ve[i.chroma]=i,i.aliases.forEach((function(e){return function(e,t){ve[t]=e}(i,e)}))}[["1P 3M 5P","major","M ^ "],["1P 3M 5P 7M","major seventh","maj7 \u0394 ma7 M7 Maj7 ^7"],["1P 3M 5P 7M 9M","major ninth","maj9 \u03949 ^9"],["1P 3M 5P 7M 9M 13M","major thirteenth","maj13 Maj13 ^13"],["1P 3M 5P 6M","sixth","6 add6 add13 M6"],["1P 3M 5P 6M 9M","sixth/ninth","6/9 69 M69"],["1P 3M 6m 7M","major seventh flat sixth","M7b6 ^7b6"],["1P 3M 5P 7M 11A","major seventh sharp eleventh","maj#4 \u0394#4 \u0394#11 M7#11 ^7#11 maj7#11"],["1P 3m 5P","minor","m min -"],["1P 3m 5P 7m","minor seventh","m7 min7 mi7 -7"],["1P 3m 5P 7M","minor/major seventh","m/ma7 m/maj7 mM7 mMaj7 m/M7 -\u03947 m\u0394 -^7"],["1P 3m 5P 6M","minor sixth","m6 -6"],["1P 3m 5P 7m 9M","minor ninth","m9 -9"],["1P 3m 5P 7M 9M","minor/major ninth","mM9 mMaj9 -^9"],["1P 3m 5P 7m 9M 11P","minor eleventh","m11 -11"],["1P 3m 5P 7m 9M 13M","minor thirteenth","m13 -13"],["1P 3m 5d","diminished","dim \xb0 o"],["1P 3m 5d 7d","diminished seventh","dim7 \xb07 o7"],["1P 3m 5d 7m","half-diminished","m7b5 \xf8 -7b5 h7 h"],["1P 3M 5P 7m","dominant seventh","7 dom"],["1P 3M 5P 7m 9M","dominant ninth","9"],["1P 3M 5P 7m 9M 13M","dominant thirteenth","13"],["1P 3M 5P 7m 11A","lydian dominant seventh","7#11 7#4"],["1P 3M 5P 7m 9m","dominant flat ninth","7b9"],["1P 3M 5P 7m 9A","dominant sharp ninth","7#9"],["1P 3M 7m 9m","altered","alt7"],["1P 4P 5P","suspended fourth","sus4 sus"],["1P 2M 5P","suspended second","sus2"],["1P 4P 5P 7m","suspended fourth seventh","7sus4 7sus"],["1P 5P 7m 9M 11P","eleventh","11"],["1P 4P 5P 7m 9m","suspended fourth flat ninth","b9sus phryg 7b9sus 7b9sus4"],["1P 5P","fifth","5"],["1P 3M 5A","augmented","aug + +5 ^#5"],["1P 3m 5A","minor augmented","m#5 -#5 m+"],["1P 3M 5A 7M","augmented seventh","maj7#5 maj7+5 +maj7 ^7#5"],["1P 3M 5P 7M 9M 11A","major sharp eleventh (lydian)","maj9#11 \u03949#11 ^9#11"],["1P 2M 4P 5P","","sus24 sus4add9"],["1P 3M 5A 7M 9M","","maj9#5 Maj9#5"],["1P 3M 5A 7m","","7#5 +7 7+ 7aug aug7"],["1P 3M 5A 7m 9A","","7#5#9 7#9#5 7alt"],["1P 3M 5A 7m 9M","","9#5 9+"],["1P 3M 5A 7m 9M 11A","","9#5#11"],["1P 3M 5A 7m 9m","","7#5b9 7b9#5"],["1P 3M 5A 7m 9m 11A","","7#5b9#11"],["1P 3M 5A 9A","","+add#9"],["1P 3M 5A 9M","","M#5add9 +add9"],["1P 3M 5P 6M 11A","","M6#11 M6b5 6#11 6b5"],["1P 3M 5P 6M 7M 9M","","M7add13"],["1P 3M 5P 6M 9M 11A","","69#11"],["1P 3m 5P 6M 9M","","m69 -69"],["1P 3M 5P 6m 7m","","7b6"],["1P 3M 5P 7M 9A 11A","","maj7#9#11"],["1P 3M 5P 7M 9M 11A 13M","","M13#11 maj13#11 M13+4 M13#4"],["1P 3M 5P 7M 9m","","M7b9"],["1P 3M 5P 7m 11A 13m","","7#11b13 7b5b13"],["1P 3M 5P 7m 13M","","7add6 67 7add13"],["1P 3M 5P 7m 9A 11A","","7#9#11 7b5#9 7#9b5"],["1P 3M 5P 7m 9A 11A 13M","","13#9#11"],["1P 3M 5P 7m 9A 11A 13m","","7#9#11b13"],["1P 3M 5P 7m 9A 13M","","13#9"],["1P 3M 5P 7m 9A 13m","","7#9b13"],["1P 3M 5P 7m 9M 11A","","9#11 9+4 9#4"],["1P 3M 5P 7m 9M 11A 13M","","13#11 13+4 13#4"],["1P 3M 5P 7m 9M 11A 13m","","9#11b13 9b5b13"],["1P 3M 5P 7m 9m 11A","","7b9#11 7b5b9 7b9b5"],["1P 3M 5P 7m 9m 11A 13M","","13b9#11"],["1P 3M 5P 7m 9m 11A 13m","","7b9b13#11 7b9#11b13 7b5b9b13"],["1P 3M 5P 7m 9m 13M","","13b9"],["1P 3M 5P 7m 9m 13m","","7b9b13"],["1P 3M 5P 7m 9m 9A","","7b9#9"],["1P 3M 5P 9M","","Madd9 2 add9 add2"],["1P 3M 5P 9m","","Maddb9"],["1P 3M 5d","","Mb5"],["1P 3M 5d 6M 7m 9M","","13b5"],["1P 3M 5d 7M","","M7b5"],["1P 3M 5d 7M 9M","","M9b5"],["1P 3M 5d 7m","","7b5"],["1P 3M 5d 7m 9M","","9b5"],["1P 3M 7m","","7no5"],["1P 3M 7m 13m","","7b13"],["1P 3M 7m 9M","","9no5"],["1P 3M 7m 9M 13M","","13no5"],["1P 3M 7m 9M 13m","","9b13"],["1P 3m 4P 5P","","madd4"],["1P 3m 5P 6m 7M","","mMaj7b6"],["1P 3m 5P 6m 7M 9M","","mMaj9b6"],["1P 3m 5P 7m 11P","","m7add11 m7add4"],["1P 3m 5P 9M","","madd9"],["1P 3m 5d 6M 7M","","o7M7"],["1P 3m 5d 7M","","oM7"],["1P 3m 6m 7M","","mb6M7"],["1P 3m 6m 7m","","m7#5"],["1P 3m 6m 7m 9M","","m9#5"],["1P 3m 5A 7m 9M 11P","","m11A"],["1P 3m 6m 9m","","mb6b9"],["1P 2M 3m 5d 7m","","m9b5"],["1P 4P 5A 7M","","M7#5sus4"],["1P 4P 5A 7M 9M","","M9#5sus4"],["1P 4P 5A 7m","","7#5sus4"],["1P 4P 5P 7M","","M7sus4"],["1P 4P 5P 7M 9M","","M9sus4"],["1P 4P 5P 7m 9M","","9sus4 9sus"],["1P 4P 5P 7m 9M 13M","","13sus4 13sus"],["1P 4P 5P 7m 9m 13m","","7sus4b9b13 7b9b13sus4"],["1P 4P 7m 10m","","4 quartal"],["1P 5P 7m 9m 11P","","11b9"]].forEach((function(e){var t=(0,o.Z)(e,3),n=t[0],r=t[1],i=t[2];return be(n.split(" "),i.split(" "),r)})),ye.sort((function(e,t){return e.setNum-t.setNum}));var Ae={names:function(){return ye.map((function(e){return e.name})).filter((function(e){return e}))},symbols:function(){return ye.map((function(e){return e.aliases[0]})).filter((function(e){return e}))},get:ge,all:Ee,add:be,removeAll:function(){ye=[],ve={}},keys:function(){return Object.keys(ve)},entries:De,chordType:_e};function Ce(e){var t=e.map((function(e){return E(e).pc})).filter((function(e){return e}));if(0===E.length)return[];var n=function(e,t){var n=e[0],r=E(n).chroma,i=function(e){var t=e.reduce((function(e,t){var n=E(t).chroma;return void 0!==n&&(e[n]=e[n]||E(t).name),e}),{});return function(e){return t[e]}}(e),o=le(e,!1),a=[];return o.forEach((function(e,o){var s=Ee().filter((function(t){return t.chroma===e}));s.forEach((function(e){var s=e.aliases[0],u=i(o);o!==r?a.push({weight:.5*t,name:"".concat(u).concat(s,"/").concat(n)}):a.push({weight:1*t,name:"".concat(u).concat(s)})}))})),a}(t,1);return n.filter((function(e){return e.weight})).sort((function(e,t){return t.weight-e.weight})).map((function(e){return e.name}))}var ke=n(3878),xe=n(9199),we=n(181),Se=n(5267);var Fe=(0,Y.Z)((0,Y.Z)({},te),{},{intervals:[],aliases:[]}),Te=[],Be={};function qe(){return Te.map((function(e){return e.name}))}function Oe(e){return Be[e]||Fe}var Me=s("ScaleDictionary.scaleType","ScaleType.get",Oe);function Pe(){return Te.slice()}var Ie=s("ScaleDictionary.entries","ScaleType.all",Pe);function Ne(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=(0,Y.Z)((0,Y.Z)({},se(e)),{},{name:t,intervals:e,aliases:n});return Te.push(r),Be[r.name]=r,Be[r.setNum]=r,Be[r.chroma]=r,r.aliases.forEach((function(e){return Re(r,e)})),r}function Re(e,t){Be[t]=e}[["1P 2M 3M 5P 6M","major pentatonic","pentatonic"],["1P 3M 4P 5P 7M","ionian pentatonic"],["1P 3M 4P 5P 7m","mixolydian pentatonic","indian"],["1P 2M 4P 5P 6M","ritusen"],["1P 2M 4P 5P 7m","egyptian"],["1P 3M 4P 5d 7m","neopolitan major pentatonic"],["1P 3m 4P 5P 6m","vietnamese 1"],["1P 2m 3m 5P 6m","pelog"],["1P 2m 4P 5P 6m","kumoijoshi"],["1P 2M 3m 5P 6m","hirajoshi"],["1P 2m 4P 5d 7m","iwato"],["1P 2m 4P 5P 7m","in-sen"],["1P 3M 4A 5P 7M","lydian pentatonic","chinese"],["1P 3m 4P 6m 7m","malkos raga"],["1P 3m 4P 5d 7m","locrian pentatonic","minor seven flat five pentatonic"],["1P 3m 4P 5P 7m","minor pentatonic","vietnamese 2"],["1P 3m 4P 5P 6M","minor six pentatonic"],["1P 2M 3m 5P 6M","flat three pentatonic","kumoi"],["1P 2M 3M 5P 6m","flat six pentatonic"],["1P 2m 3M 5P 6M","scriabin"],["1P 3M 5d 6m 7m","whole tone pentatonic"],["1P 3M 4A 5A 7M","lydian #5P pentatonic"],["1P 3M 4A 5P 7m","lydian dominant pentatonic"],["1P 3m 4P 5P 7M","minor #7M pentatonic"],["1P 3m 4d 5d 7m","super locrian pentatonic"],["1P 2M 3m 4P 5P 7M","minor hexatonic"],["1P 2A 3M 5P 5A 7M","augmented"],["1P 2M 3m 3M 5P 6M","major blues"],["1P 2M 4P 5P 6M 7m","piongio"],["1P 2m 3M 4A 6M 7m","prometheus neopolitan"],["1P 2M 3M 4A 6M 7m","prometheus"],["1P 2m 3M 5d 6m 7m","mystery #1"],["1P 2m 3M 4P 5A 6M","six tone symmetric"],["1P 2M 3M 4A 5A 7m","whole tone","messiaen's mode #1"],["1P 2m 4P 4A 5P 7M","messiaen's mode #5"],["1P 3m 4P 5d 5P 7m","minor blues","blues"],["1P 2M 3M 4P 5d 6m 7m","locrian major","arabian"],["1P 2m 3M 4A 5P 6m 7M","double harmonic lydian"],["1P 2M 3m 4P 5P 6m 7M","harmonic minor"],["1P 2m 2A 3M 4A 6m 7m","altered","super locrian","diminished whole tone","pomeroy"],["1P 2M 3m 4P 5d 6m 7m","locrian #2","half-diminished","aeolian b5"],["1P 2M 3M 4P 5P 6m 7m","mixolydian b6","melodic minor fifth mode","hindu"],["1P 2M 3M 4A 5P 6M 7m","lydian dominant","lydian b7","overtone"],["1P 2M 3M 4A 5P 6M 7M","lydian"],["1P 2M 3M 4A 5A 6M 7M","lydian augmented"],["1P 2m 3m 4P 5P 6M 7m","dorian b2","phrygian #6","melodic minor second mode"],["1P 2M 3m 4P 5P 6M 7M","melodic minor"],["1P 2m 3m 4P 5d 6m 7m","locrian"],["1P 2m 3m 4d 5d 6m 7d","ultralocrian","superlocrian bb7","superlocrian diminished"],["1P 2m 3m 4P 5d 6M 7m","locrian 6","locrian natural 6","locrian sharp 6"],["1P 2A 3M 4P 5P 5A 7M","augmented heptatonic"],["1P 2M 3m 4A 5P 6M 7m","dorian #4","ukrainian dorian","romanian minor","altered dorian"],["1P 2M 3m 4A 5P 6M 7M","lydian diminished"],["1P 2m 3m 4P 5P 6m 7m","phrygian"],["1P 2M 3M 4A 5A 7m 7M","leading whole tone"],["1P 2M 3M 4A 5P 6m 7m","lydian minor"],["1P 2m 3M 4P 5P 6m 7m","phrygian dominant","spanish","phrygian major"],["1P 2m 3m 4P 5P 6m 7M","balinese"],["1P 2m 3m 4P 5P 6M 7M","neopolitan major"],["1P 2M 3m 4P 5P 6m 7m","aeolian","minor"],["1P 2M 3M 4P 5P 6m 7M","harmonic major"],["1P 2m 3M 4P 5P 6m 7M","double harmonic major","gypsy"],["1P 2M 3m 4P 5P 6M 7m","dorian"],["1P 2M 3m 4A 5P 6m 7M","hungarian minor"],["1P 2A 3M 4A 5P 6M 7m","hungarian major"],["1P 2m 3M 4P 5d 6M 7m","oriental"],["1P 2m 3m 3M 4A 5P 7m","flamenco"],["1P 2m 3m 4A 5P 6m 7M","todi raga"],["1P 2M 3M 4P 5P 6M 7m","mixolydian","dominant"],["1P 2m 3M 4P 5d 6m 7M","persian"],["1P 2M 3M 4P 5P 6M 7M","major","ionian"],["1P 2m 3M 5d 6m 7m 7M","enigmatic"],["1P 2M 3M 4P 5A 6M 7M","major augmented","major #5","ionian augmented","ionian #5"],["1P 2A 3M 4A 5P 6M 7M","lydian #9"],["1P 2m 2M 4P 4A 5P 6m 7M","messiaen's mode #4"],["1P 2m 3M 4P 4A 5P 6m 7M","purvi raga"],["1P 2m 3m 3M 4P 5P 6m 7m","spanish heptatonic"],["1P 2M 3M 4P 5P 6M 7m 7M","bebop"],["1P 2M 3m 3M 4P 5P 6M 7m","bebop minor"],["1P 2M 3M 4P 5P 5A 6M 7M","bebop major"],["1P 2m 3m 4P 5d 5P 6m 7m","bebop locrian"],["1P 2M 3m 4P 5P 6m 7m 7M","minor bebop"],["1P 2M 3m 4P 5d 6m 6M 7M","diminished","whole-half diminished"],["1P 2M 3M 4P 5d 5P 6M 7M","ichikosucho"],["1P 2M 3m 4P 5P 6m 6M 7M","minor six diminished"],["1P 2m 3m 3M 4A 5P 6M 7m","half-whole diminished","dominant diminished","messiaen's mode #2"],["1P 3m 3M 4P 5P 6M 7m 7M","kafi raga"],["1P 2M 3M 4P 4A 5A 6A 7M","messiaen's mode #6"],["1P 2M 3m 3M 4P 5d 5P 6M 7m","composite blues"],["1P 2M 3m 3M 4A 5P 6m 7m 7M","messiaen's mode #3"],["1P 2m 2M 3m 4P 4A 5P 6m 6M 7M","messiaen's mode #7"],["1P 2m 2M 3m 3M 4P 5d 5P 6m 6M 7m 7M","chromatic"]].forEach((function(e){var t,n=(t=e,(0,ke.Z)(t)||(0,xe.Z)(t)||(0,we.Z)(t)||(0,Se.Z)()),r=n[0],i=n[1],o=n.slice(2);return Ne(r.split(" "),i,o)}));var Le={names:qe,get:Oe,all:Pe,add:Ne,removeAll:function(){Te=[],Be={}},keys:function(){return Object.keys(Be)},entries:Ie,scaleType:Me},je={empty:!0,name:"",symbol:"",root:"",rootDegree:0,type:"",tonic:null,setNum:NaN,quality:"Unknown",chroma:"",normalized:"",aliases:[],notes:[],intervals:[]},We=/^(6|64|7|9|11|13)$/;function Ge(e){var t=b(e),n=(0,o.Z)(t,4),r=n[0],i=n[1],a=n[2],s=n[3];return""===r?["",e]:"A"===r&&"ug"===s?["","aug"]:s||"4"!==a&&"5"!==a?We.test(a)?[r+i,a+s]:[r+i+a,s]:[r+i,a]}function He(e){if(""===e)return je;if(Array.isArray(e)&&2===e.length)return ze(e[1],e[0]);var t=Ge(e),n=(0,o.Z)(t,2),r=n[0],i=ze(n[1],r);return i.empty?ze(e):i}function ze(e,t,n){var r=ge(e),i=E(t||""),o=E(n||"");if(r.empty||t&&i.empty||n&&o.empty)return je;var a=M(i.pc,o.pc),s=r.intervals.indexOf(a)+1;if(!o.empty&&!s)return je;for(var u=Array.from(r.intervals),c=1;c1&&n?" over "+o.pc:"");return(0,Y.Z)((0,Y.Z)({},r),{},{name:m,symbol:h,type:r.name,root:o.name,intervals:u,rootDegree:s,tonic:i.name,notes:d})}var Ve={getChord:ze,get:He,detect:Ce,chordScales:function(e){var t=fe(He(e).chroma);return Pe().filter((function(e){return t(e.chroma)})).map((function(e){return e.name}))},extended:function(e){var t=He(e),n=fe(t.chroma);return Ee().filter((function(e){return n(e.chroma)})).map((function(e){return t.tonic+e.aliases[0]}))},reduced:function(e){var t=He(e),n=pe(t.chroma);return Ee().filter((function(e){return n(e.chroma)})).map((function(e){return t.tonic+e.aliases[0]}))},tokenize:Ge,transpose:function(e,t){var n=Ge(e),r=(0,o.Z)(n,2),i=r[0],a=r[1];return i?O(i,t)+a:e},chord:s("Chord.chord","Chord.get",He)},Ze=[];[[.125,"dl",["large","duplex longa","maxima","octuple","octuple whole"]],[.25,"l",["long","longa"]],[.5,"d",["double whole","double","breve"]],[1,"w",["whole","semibreve"]],[2,"h",["half","minim"]],[4,"q",["quarter","crotchet"]],[8,"e",["eighth","quaver"]],[16,"s",["sixteenth","semiquaver"]],[32,"t",["thirty-second","demisemiquaver"]],[64,"sf",["sixty-fourth","hemidemisemiquaver"]],[128,"h",["hundred twenty-eighth"]],[256,"th",["two hundred fifty-sixth"]]].forEach((function(e){var t=(0,o.Z)(e,3);return function(e,t,n){Ze.push({empty:!1,dots:"",name:"",value:1/e,fraction:e<1?[1/e,1]:[1,e],shorthand:t,names:n})}(t[0],t[1],t[2])}));var Ue={empty:!0,name:"",value:0,fraction:[0,0],shorthand:"",dots:"",names:[]};var Ye=/^([^.]+)(\.*)$/;function Ke(e){var t=Ye.exec(e)||[],n=(0,o.Z)(t,3),r=(n[0],n[1]),i=n[2],a=Ze.find((function(e){return e.shorthand===r||e.names.includes(r)}));if(!a)return Ue;var s=function(e,t){for(var n=Math.pow(2,t),r=e[0]*n,i=e[1]*n,o=r,a=0;a=0&&+e<=127}function ct(e){if(ut(e))return+e;var t=E(e);return t.empty?null:t.midi}var lt=Math.log(2),pt=Math.log(440);function ft(e){var t=12*(Math.log(e)-pt)/lt+69;return Math.round(100*t)/100}var dt="C C# D D# E F F# G G# A A# B".split(" "),ht="C Db D Eb E F Gb G Ab A Bb B".split(" ");function mt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(isNaN(e)||e===-1/0||e===1/0)return"";e=Math.round(e);var n=!0===t.sharps?dt:ht,r=n[e%12];if(t.pitchClass)return r;var i=Math.floor(e/12)-1;return r+i}var yt={isMidi:ut,toMidi:ct,midiToFreq:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:440;return Math.pow(2,(e-69)/12)*t},midiToNoteName:mt,freqToMidi:ft},vt=["C","D","E","F","G","A","B"],gt=function(e){return e.name},_t=function(e){return e.map(E).filter((function(e){return!e.empty}))};var Et=E;function Dt(e){return mt(e)}var bt=O,At=function(e){return function(t){return bt(t,e)}},Ct=function(e){return function(t){return bt(e,t)}};function kt(e,t){var n=Et(e);if(n.empty)return"";var r=(0,o.Z)(n.coord,2),i=r[0],a=r[1];return A(void 0===a?[i+t]:[i+t,a]).name}var xt=function(e,t){return e.height-t.height};function wt(e,t){return t=t||xt,_t(e).sort(t).map(gt)}function St(e){return wt(e,xt).filter((function(e,t,n){return 0===t||e!==n[t-1]}))}function Ft(e,t){var n=Et(e);if(n.empty)return"";var r=Et(t||mt(n.midi||n.chroma,{sharps:n.alt<0,pitchClass:!0}));if(r.empty||r.chroma!==n.chroma)return"";if(void 0===n.oct)return r.pc;var i=n.chroma-n.alt,o=r.chroma-r.alt,a=i>11||o<0?-1:i<0||o>11?1:0,s=n.oct+a;return r.pc+s}var Tt={names:function(e){return void 0===e?vt.slice():Array.isArray(e)?_t(e).map(gt):[]},get:Et,name:function(e){return Et(e).name},pitchClass:function(e){return Et(e).pc},accidentals:function(e){return Et(e).acc},octave:function(e){return Et(e).oct},midi:function(e){return Et(e).midi},ascending:xt,descending:function(e,t){return t.height-e.height},sortedNames:wt,sortedUniqNames:St,fromMidi:Dt,fromMidiSharps:function(e){return mt(e,{sharps:!0})},freq:function(e){return Et(e).freq},fromFreq:function(e){return mt(ft(e))},fromFreqSharps:function(e){return mt(ft(e),{sharps:!0})},chroma:function(e){return Et(e).chroma},transpose:bt,tr:O,transposeBy:At,trBy:At,transposeFrom:Ct,trFrom:Ct,transposeFifths:kt,trFifths:kt,simplify:function(e){var t=Et(e);return t.empty?"":mt(t.midi||t.chroma,{sharps:t.alt>0,pitchClass:null===t.midi})},enharmonic:Ft},Bt={empty:!0,name:"",chordType:""},qt={};function Ot(e){return"string"===typeof e?qt[e]||(qt[e]=function(e){var t=(u=e,Pt.exec(u)||["","","",""]),n=(0,o.Z)(t,4),r=n[0],i=n[1],a=n[2],s=n[3];var u;if(!a)return Bt;var c=a.toUpperCase(),l=Nt.indexOf(c),p=_(i),f=1;return{empty:!1,name:r,roman:a,interval:F({step:l,alt:p,dir:f}).name,acc:i,chordType:s,alt:p,step:l,major:a===c,oct:0,dir:f}}(e)):"number"===typeof e?Ot(Nt[e]||""):c(e)?Ot(g((t=e).alt)+Nt[t.step]):u(e)?Ot(e.name):Bt;var t}var Mt=s("RomanNumeral.romanNumeral","RomanNumeral.get",Ot);var Pt=/^(#{1,}|b{1,}|x{1,}|)(IV|I{1,3}|VI{0,2}|iv|i{1,3}|vi{0,2})([^IViv]*)$/;var It="I II III IV V VI VII",Nt=It.split(" "),Rt=It.toLowerCase().split(" ");var Lt={names:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(e?Nt:Rt).slice()},get:Ot,romanNumeral:Mt},jt=Object.freeze([]),Wt={type:"major",tonic:"",alteration:0,keySignature:""},Gt={tonic:"",grades:jt,intervals:jt,scale:jt,chords:jt,chordsHarmonicFunction:jt,chordScales:jt},Ht=(0,Y.Z)((0,Y.Z)((0,Y.Z)({},Wt),Gt),{},{type:"major",minorRelative:"",scale:jt,secondaryDominants:jt,secondaryDominantsMinorRelative:jt,substituteDominants:jt,substituteDominantsMinorRelative:jt}),zt=(0,Y.Z)((0,Y.Z)({},Wt),{},{type:"minor",relativeMajor:"",natural:Gt,harmonic:Gt,melodic:Gt}),Vt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.map((function(t,r){return"".concat(e[r]).concat(n).concat(t)}))};function Zt(e,t,n,r){return function(i){var o=e.map((function(e){return Ot(e).interval||""})),a=o.map((function(e){return O(i,e)}));return{tonic:i,grades:e,intervals:o,scale:a,chords:Vt(a,t),chordsHarmonicFunction:n.slice(),chordScales:Vt(a,r," ")}}}var Ut=function(e,t){var n=E(e),r=E(t);return n.empty||r.empty?0:r.coord[0]-n.coord[0]},Yt=Zt("I II III IV V VI VII".split(" "),"maj7 m7 m7 maj7 7 m7 m7b5".split(" "),"T SD T SD D T D".split(" "),"major,dorian,phrygian,lydian,mixolydian,minor,locrian".split(",")),Kt=Zt("I II bIII IV V bVI bVII".split(" "),"m7 m7b5 maj7 m7 m7 maj7 7".split(" "),"T SD T SD D SD SD".split(" "),"minor,locrian,major,dorian,phrygian,lydian,mixolydian".split(",")),Jt=Zt("I II bIII IV V bVI VII".split(" "),"mMaj7 m7b5 +maj7 m7 7 maj7 o7".split(" "),"T SD T SD D SD D".split(" "),"harmonic minor,locrian 6,major augmented,lydian diminished,phrygian dominant,lydian #9,ultralocrian".split(",")),Xt=Zt("I II bIII IV V VI VII".split(" "),"m6 m7 +maj7 7 7 m7b5 m7b5".split(" "),"T SD T SD D ".split(" "),"melodic minor,dorian b2,lydian augmented,lydian dominant,mixolydian b6,locrian #2,altered".split(","));var Qt={majorKey:function(e){var t=E(e).pc;if(!t)return Ht;var n=Yt(t),r=Ut("C",t),i=function(t){var n=Ot(t);return n.empty?"":O(e,n.interval)+n.chordType};return(0,Y.Z)((0,Y.Z)({},n),{},{type:"major",minorRelative:O(t,"-3m"),alteration:r,keySignature:g(r),secondaryDominants:"- VI7 VII7 I7 II7 III7 -".split(" ").map(i),secondaryDominantsMinorRelative:"- IIIm7b5 IV#m7 Vm7 VIm7 VIIm7b5 -".split(" ").map(i),substituteDominants:"- bIII7 IV7 bV7 bVI7 bVII7 -".split(" ").map(i),substituteDominantsMinorRelative:"- IIIm7 Im7 IIbm7 VIm7 IVm7 -".split(" ").map(i)})},majorTonicFromKeySignature:function(e){return"number"===typeof e?kt("C",e):"string"===typeof e&&/^b+|#+$/.test(e)?kt("C",_(e)):null},minorKey:function(e){var t=E(e).pc;if(!t)return zt;var n=Ut("C",t)-3;return{type:"minor",tonic:t,relativeMajor:O(t,"3m"),alteration:n,keySignature:g(n),natural:Kt(t),harmonic:Jt(t),melodic:Xt(t)}}},$t=[[0,2773,0,"ionian","","Maj7","major"],[1,2902,2,"dorian","m","m7"],[2,3418,4,"phrygian","m","m7"],[3,2741,-1,"lydian","","Maj7"],[4,2774,1,"mixolydian","","7"],[5,2906,3,"aeolian","m","m7","minor"],[6,3434,5,"locrian","dim","m7b5"]],en=(0,Y.Z)((0,Y.Z)({},te),{},{name:"",alt:0,modeNum:NaN,triad:"",seventh:"",aliases:[]}),tn=$t.map((function(e){var t=(0,o.Z)(e,7),n=t[0],r=t[1],i=t[2],a=t[3],s=t[4],u=t[5],c=t[6],l=c?[c]:[],p=Number(r).toString(2);return{empty:!1,intervals:Oe(a).intervals,modeNum:n,chroma:p,normalized:p,name:a,setNum:r,alt:i,triad:s,seventh:u,aliases:l}})),nn={};function rn(e){return"string"===typeof e?nn[e.toLowerCase()]||en:e&&e.name?rn(e.name):en}tn.forEach((function(e){nn[e.name]=e,e.aliases.forEach((function(t){nn[t]=e}))}));var on=s("Mode.mode","Mode.get",rn);function an(){return tn.slice()}var sn=s("Mode.mode","Mode.all",an);function un(e){return function(t,n){var r=rn(t);if(r.empty)return[];var i=X(r.modeNum,e),o=r.intervals.map((function(e){return O(n,e)}));return i.map((function(e,t){return o[t]+e}))}}function cn(e,t){var n=rn(t),r=rn(e);return n.empty||r.empty?"":$e(ot("1P",r.alt-n.alt))}var ln={get:rn,names:function(){return tn.map((function(e){return e.name}))},all:an,distance:cn,relativeTonic:function(e,t,n){return O(n,cn(e,t))},notes:function(e,t){return rn(e).intervals.map((function(e){return O(t,e)}))},triads:un($t.map((function(e){return e[4]}))),seventhChords:un($t.map((function(e){return e[5]}))),entries:sn,mode:on};var pn={fromRomanNumerals:function(e,t){return t.map(Ot).map((function(t){return O(e,F(t))+t.chordType}))},toRomanNumerals:function(e,t){return t.map((function(t){var n=Ge(t),r=(0,o.Z)(n,2),i=r[0],a=r[1];return Ot(F(M(e,i))).name+a}))}};function fn(e){var t=Q(e.map(ct));return e.length&&t.length===e.length?t.reduce((function(e,t){var n=e[e.length-1];return e.concat(J(n,t).slice(1))}),[t[0]]):[]}var dn={numeric:fn,chromatic:function(e,t){return fn(e).map((function(e){return mt(e,t)}))}},hn={empty:!0,name:"",type:"",tonic:null,setNum:NaN,chroma:"",normalized:"",aliases:[],notes:[],intervals:[]};function mn(e){if("string"!==typeof e)return["",""];var t=e.indexOf(" "),n=E(e.substring(0,t));if(n.empty){var r=E(e);return r.empty?["",e]:[r.name,""]}var i=e.substring(n.name.length+1);return[n.name,i.length?i:""]}function yn(e){var t=Array.isArray(e)?e:mn(e),n=E(t[0]).name,r=Oe(t[1]);if(r.empty)return hn;var i=r.name,o=n?r.intervals.map((function(e){return O(n,e)})):[],a=n?n+" "+i:i;return(0,Y.Z)((0,Y.Z)({},r),{},{name:a,type:i,tonic:n,notes:o})}function vn(e){var t=e.map((function(e){return E(e).pc})).filter((function(e){return e})),n=t[0],r=St(t);return X(r.indexOf(n),r)}var gn={get:yn,names:qe,extended:function(e){var t=fe(yn(e).chroma);return Pe().filter((function(e){return t(e.chroma)})).map((function(e){return e.name}))},modeNames:function(e){var t=yn(e);if(t.empty)return[];var n=t.tonic?t.notes:t.intervals;return le(t.chroma).map((function(e,t){var r=yn(e).name;return r?[n[t],r]:["",""]})).filter((function(e){return e[0]}))},reduced:function(e){var t=pe(yn(e).chroma);return Pe().filter((function(e){return t(e.chroma)})).map((function(e){return e.name}))},scaleChords:function(e){var t=pe(yn(e).chroma);return Ee().filter((function(e){return t(e.chroma)})).map((function(e){return e.aliases[0]}))},scaleNotes:vn,tokenize:mn,rangeOf:function(e){var t=function(e){var t=Array.isArray(e)?vn(e):yn(e).notes,n=t.map((function(e){return E(e).chroma}));return function(e){var r=E("number"===typeof e?Dt(e):e),i=r.height;if(void 0!==i){var o=i%12,a=n.indexOf(o);if(-1!==a)return Ft(r.name,t[a])}}}(e);return function(e,n){var r=E(e).height,i=E(n).height;return void 0===r||void 0===i?[]:J(r,i).map(t).filter((function(e){return e}))}},scale:s("Scale.scale","Scale.get",yn)},_n={empty:!0,name:"",upper:void 0,lower:void 0,type:void 0,additive:[]},En=["4/4","3/4","2/4","2/2","12/8","9/8","6/8","3/8"];var Dn=/^(\d?\d(?:\+\d)*)\/(\d)$/,bn=new Map;function An(e){if("string"===typeof e){var t=Dn.exec(e)||[],n=(0,o.Z)(t,3);n[0];return An([n[1],n[2]])}var r=(0,o.Z)(e,2),i=r[0],a=+r[1];if("number"===typeof i)return[i,a];var s=i.split("+").map((function(e){return+e}));return 1===s.length?[s[0],a]:[s,a]}var Cn={names:function(){return En.slice()},parse:An,get:function(e){var t=bn.get(e);if(t)return t;var n=function(e){var t=(0,o.Z)(e,2),n=t[0],r=t[1],i=Array.isArray(n)?n.reduce((function(e,t){return e+t}),0):n,a=r;if(0===i||0===a)return _n;var s=Array.isArray(n)?"".concat(n.join("+"),"/").concat(r):"".concat(n,"/").concat(r),u=Array.isArray(n)?n:[];return{empty:!1,name:s,type:4===a||2===a?"simple":8===a&&i%3===0?"compound":"irregular",upper:i,lower:a,additive:u}}(An(e));return bn.set(e,n),n}},kn=r,xn=he,wn=Ae,Sn=Le},7292:function(e,t,n){!function(e,t,n,r){"use strict";function i(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var o=i(t),a=i(n),s=i(r),u=function(e,t,n){return{endTime:t,insertTime:n,type:"exponentialRampToValue",value:e}},c=function(e,t,n){return{endTime:t,insertTime:n,type:"linearRampToValue",value:e}},l=function(e,t){return{startTime:t,type:"setValue",value:e}},p=function(e,t,n){return{duration:n,startTime:t,type:"setValueCurve",values:e}},f=function(e,t,n){var r=n.startTime,i=n.target,o=n.timeConstant;return i+(t-i)*Math.exp((r-e)/o)},d=function(e){return"exponentialRampToValue"===e.type},h=function(e){return"linearRampToValue"===e.type},m=function(e){return d(e)||h(e)},y=function(e){return"setValue"===e.type},v=function(e){return"setValueCurve"===e.type},g=function e(t,n,r,i){var o=t[n];return void 0===o?i:m(o)||y(o)?o.value:v(o)?o.values[o.values.length-1]:f(r,e(t,n-1,o.startTime,i),o)},_=function(e,t,n,r,i){return void 0===n?[r.insertTime,i]:m(n)?[n.endTime,n.value]:y(n)?[n.startTime,n.value]:v(n)?[n.startTime+n.duration,n.values[n.values.length-1]]:[n.startTime,g(e,t-1,n.startTime,i)]},E=function(e){return"cancelAndHold"===e.type},D=function(e){return"cancelScheduledValues"===e.type},b=function(e){return E(e)||D(e)?e.cancelTime:d(e)||h(e)?e.endTime:e.startTime},A=function(e,t,n,r){var i=r.endTime,o=r.value;return n===o?o:0=t:b(n)>=t})),r=this._automationEvents[n];if(-1!==n&&(this._automationEvents=this._automationEvents.slice(0,n)),E(e)){var i=this._automationEvents[this._automationEvents.length-1];if(void 0!==r&&m(r)){if(w(i))throw new Error("The internal list is malformed.");var o=v(i)?i.startTime+i.duration:b(i),a=v(i)?i.values[i.values.length-1]:i.value,s=d(r)?A(t,o,a,r):C(t,o,a,r),f=d(r)?u(s,t,this._currenTime):c(s,t,this._currenTime);this._automationEvents.push(f)}void 0!==i&&w(i)&&this._automationEvents.push(l(this.getValue(t),t)),void 0!==i&&v(i)&&i.startTime+i.duration>t&&(this._automationEvents[this._automationEvents.length-1]=p(new Float32Array([6,7]),i.startTime,t-i.startTime))}}else{var y=this._automationEvents.findIndex((function(e){return b(e)>t})),g=-1===y?this._automationEvents[this._automationEvents.length-1]:this._automationEvents[y-1];if(void 0!==g&&v(g)&&b(g)+g.duration>t)return!1;var _=d(e)?u(e.value,e.endTime,this._currenTime):h(e)?c(e.value,t,this._currenTime):e;if(-1===y)this._automationEvents.push(_);else{if(v(e)&&t+e.duration>b(this._automationEvents[y]))return!1;this._automationEvents.splice(y,0,_)}}return!0}},{key:"flush",value:function(e){var t=this._automationEvents.findIndex((function(t){return b(t)>e}));if(t>1){var n=this._automationEvents.slice(t-1),r=n[0];w(r)&&n.unshift(l(g(this._automationEvents,t-2,r.startTime,this._defaultValue),r.startTime)),this._automationEvents=n}}},{key:"getValue",value:function(e){if(0===this._automationEvents.length)return this._defaultValue;var t=this._automationEvents.findIndex((function(t){return b(t)>e})),n=this._automationEvents[t],r=(-1===t?this._automationEvents.length:t)-1,i=this._automationEvents[r];if(void 0!==i&&w(i)&&(void 0===n||!m(n)||n.insertTime>e))return f(e,g(this._automationEvents,r-1,i.startTime,this._defaultValue),i);if(void 0!==i&&y(i)&&(void 0===n||!m(n)))return i.value;if(void 0!==i&&v(i)&&(void 0===n||!m(n)||i.startTime+i.duration>e))return e1;)r.push(Math.floor(o/i[a])),i.push(o%i[a]),o=i[a],a++;return r.push(o),function e(t){if(-1==t)n.push(0);else if(-2==t)n.push(1);else{for(var o=0;on?t(e,n):t(n,e)}},9273:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;--n)if(e[n].node===t)return!0;return!1}function m(e,t){return(new p).traverse(e,t)}function y(e,t){var n;return n=function(e,t){var n,r,i,o;for(r=e.length,i=0;r;)t(e[o=i+(n=r>>>1)])?r=n:(i=o+1,r-=n+1);return i}(t,(function(t){return t.range[0]>e.range[0]})),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),(n-=1)>=0&&(e.extendedRange[0]=t[n].range[1]),e}return n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},r={Break:o={},Skip:a={},Remove:s={}},c.prototype.replace=function(e){this.parent[this.key]=e},c.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},p.prototype.path=function(){var e,t,n,r,i;function o(e,t){if(Array.isArray(t))for(n=0,r=t.length;n=0;)if(g=s[p=v[m]])if(Array.isArray(g)){for(y=g.length;(y-=1)>=0;)if(g[y]&&!h(r,g[y])){if(d(u,v[m]))i=new l(g[y],[p,y],"Property",null);else{if(!f(g[y]))continue;i=new l(g[y],[p,y],null,null)}n.push(i)}}else if(f(g)){if(h(r,g))continue;n.push(new l(g,p,null,null))}}}else if(i=r.pop(),c=this.__execute(t.leave,i),this.__state===o||c===o)return},p.prototype.replace=function(e,t){var n,r,i,u,p,h,m,y,v,g,_,E,D;function b(e){var t,r,i,o;if(e.ref.remove())for(r=e.ref.key,o=e.ref.parent,t=n.length;t--;)if((i=n[t]).ref&&i.ref.parent===o){if(i.ref.key=0;)if(g=i[D=v[m]])if(Array.isArray(g)){for(y=g.length;(y-=1)>=0;)if(g[y]){if(d(u,v[m]))h=new l(g[y],[D,y],"Property",new c(g,y));else{if(!f(g[y]))continue;h=new l(g[y],[D,y],null,new c(g,y))}n.push(h)}}else f(g)&&n.push(new l(g,D,null,new c(i,D)))}}else if(h=r.pop(),void 0!==(p=this.__execute(t.leave,h))&&p!==o&&p!==a&&p!==s&&h.ref.replace(p),this.__state!==s&&p!==s||b(h),this.__state===o||p===o)return E.root;return E.root},t.Syntax=n,t.traverse=m,t.replace=function(e,t){return(new p).replace(e,t)},t.attachComments=function(e,t,n){var i,o,a,s,c=[];if(!e.range)throw new Error("attachComments needs range information");if(!n.length){if(t.length){for(a=0,o=t.length;ae.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),c.splice(s,1)):s+=1;return s===c.length?r.Break:c[s].extendedRange[0]>e.range[1]?r.Skip:void 0}}),s=0,m(e,{leave:function(e){for(var t;se.range[1]?r.Skip:void 0}}),e},t.VisitorKeys=i,t.VisitorOption=r,t.Controller=p,t.cloneEnvironment=function(){return e({})},t}(t)},6876:function(e){!function(){"use strict";function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()},2162:function(e){!function(){"use strict";var t,n,r,i,o,a;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(o=new Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()},2502:function(e,t,n){!function(){"use strict";var t=n(2162);function r(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function s(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;i=1024*(i-55296)+(o-56320)+65536}if(!a(i))return!1;a=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:o,isReservedWordES6:a,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:s,isIdentifierNameES6:u,isIdentifierES5:function(e,t){return s(e)&&!o(e,t)},isIdentifierES6:function(e,t){return u(e)&&!a(e,t)}}}()},1670:function(e,t,n){!function(){"use strict";t.ast=n(6876),t.code=n(2162),t.keyword=n(2502)}()},9214:function(e){"use strict";var t,n="object"===typeof Reflect?Reflect:null,r=n&&"function"===typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"===typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&m(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,c=l,console&&console.warn&&console.warn(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"===typeof u)r(u,this,t);else{var c=u.length,l=h(u,c);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},2518:function(e,t){var n;!function(r){"use strict";var i={s:1,n:0,d:1};function o(e,t){if(isNaN(e=parseInt(e,10)))throw l.InvalidParameter;return e*t}function a(e,t){if(0===t)throw l.DivisionByZero;var n=Object.create(l.prototype);n.s=e<0?-1:1;var r=c(e=e<0?-e:e,t);return n.n=e/r,n.d=t/r,n}function s(e){for(var t={},n=e,r=2,i=4;i<=n;){for(;n%r===0;)n/=r,t[r]=(t[r]||0)+1;i+=1+2*r++}return n!==e?n>1&&(t[n]=(t[n]||0)+1):t[e]=(t[e]||0)+1,t}var u=function(e,t){var n,r=0,a=1,s=1,u=0,c=0,p=0,f=1,d=1,h=0,m=1,y=1,v=1,g=1e7;if(void 0===e||null===e);else if(void 0!==t){if(s=(r=e)*(a=t),r%1!==0||a%1!==0)throw l.NonIntegerParameter}else switch(typeof e){case"object":if("d"in e&&"n"in e)r=e.n,a=e.d,"s"in e&&(r*=e.s);else{if(!(0 in e))throw l.InvalidParameter;r=e[0],1 in e&&(a=e[1])}s=r*a;break;case"number":if(e<0&&(s=e,e=-e),e%1===0)r=e;else if(e>0){for(e>=1&&(e/=d=Math.pow(10,Math.floor(1+Math.log(e)/Math.LN10)));m<=g&&v<=g;){if(e===(n=(h+y)/(m+v))){m+v<=g?(r=h+y,a=m+v):v>m?(r=y,a=v):(r=h,a=m);break}e>n?(h+=y,m+=v):(y+=h,v+=m),m>g?(r=y,a=v):(r=h,a=m)}r*=d}else(isNaN(e)||isNaN(t))&&(a=r=NaN);break;case"string":if(null===(m=e.match(/\d+|./g)))throw l.InvalidParameter;if("-"===m[h]?(s=-1,h++):"+"===m[h]&&h++,m.length===h+1?c=o(m[h++],s):"."===m[h+1]||"."===m[h]?("."!==m[h]&&(u=o(m[h++],s)),(++h+1===m.length||"("===m[h+1]&&")"===m[h+3]||"'"===m[h+1]&&"'"===m[h+3])&&(c=o(m[h],s),f=Math.pow(10,m[h].length),h++),("("===m[h]&&")"===m[h+2]||"'"===m[h]&&"'"===m[h+2])&&(p=o(m[h+1],s),d=Math.pow(10,m[h+1].length)-1,h+=3)):"/"===m[h+1]||":"===m[h+1]?(c=o(m[h],s),f=o(m[h+2],1),h+=3):"/"===m[h+3]&&" "===m[h+1]&&(u=o(m[h],s),c=o(m[h+2],s),f=o(m[h+4],1),h+=5),m.length<=h){s=r=p+(a=f*d)*u+d*c;break}default:throw l.InvalidParameter}if(0===a)throw l.DivisionByZero;i.s=s<0?-1:1,i.n=Math.abs(r),i.d=Math.abs(a)};function c(e,t){if(!e)return t;if(!t)return e;for(;;){if(!(e%=t))return t;if(!(t%=e))return e}}function l(e,t){if(u(e,t),!(this instanceof l))return a(i.s*i.n,i.d);e=c(i.d,i.n),this.s=i.s,this.n=i.n/e,this.d=i.d/e}l.DivisionByZero=new Error("Division by Zero"),l.InvalidParameter=new Error("Invalid argument"),l.NonIntegerParameter=new Error("Parameters must be integer"),l.prototype={s:1,n:0,d:1,abs:function(){return a(this.n,this.d)},neg:function(){return a(-this.s*this.n,this.d)},add:function(e,t){return u(e,t),a(this.s*this.n*i.d+i.s*this.d*i.n,this.d*i.d)},sub:function(e,t){return u(e,t),a(this.s*this.n*i.d-i.s*this.d*i.n,this.d*i.d)},mul:function(e,t){return u(e,t),a(this.s*i.s*this.n*i.n,this.d*i.d)},div:function(e,t){return u(e,t),a(this.s*i.s*this.n*i.d,this.d*i.n)},clone:function(){return a(this.s*this.n,this.d)},mod:function(e,t){if(isNaN(this.n)||isNaN(this.d))return new l(NaN);if(void 0===e)return a(this.s*this.n%this.d,1);if(u(e,t),0===i.n&&0===this.d)throw l.DivisionByZero;return a(this.s*(i.d*this.n)%(i.n*this.d),i.d*this.d)},gcd:function(e,t){return u(e,t),a(c(i.n,this.n)*c(i.d,this.d),i.d*this.d)},lcm:function(e,t){return u(e,t),0===i.n&&0===this.n?a(0,1):a(i.n*this.n,c(i.n,this.n)*c(i.d,this.d))},ceil:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new l(NaN):a(Math.ceil(e*this.s*this.n/this.d),e)},floor:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new l(NaN):a(Math.floor(e*this.s*this.n/this.d),e)},round:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new l(NaN):a(Math.round(e*this.s*this.n/this.d),e)},inverse:function(){return a(this.s*this.d,this.n)},pow:function(e,t){if(u(e,t),1===i.d)return i.s<0?a(Math.pow(this.s*this.d,i.n),Math.pow(this.n,i.n)):a(Math.pow(this.s*this.n,i.n),Math.pow(this.d,i.n));if(this.s<0)return null;var n=s(this.n),r=s(this.d),o=1,c=1;for(var l in n)if("1"!==l){if("0"===l){o=0;break}if(n[l]*=i.n,n[l]%i.d!==0)return null;n[l]/=i.d,o*=Math.pow(l,n[l])}for(var l in r)if("1"!==l){if(r[l]*=i.n,r[l]%i.d!==0)return null;r[l]/=i.d,c*=Math.pow(l,r[l])}return i.s<0?a(c,o):a(o,c)},equals:function(e,t){return u(e,t),this.s*this.n*i.d===i.s*i.n*this.d},compare:function(e,t){u(e,t);var n=this.s*this.n*i.d-i.s*i.n*this.d;return(0=0;o--)i=i.inverse().add(n[o]);if(i.sub(t).abs().valueOf()0&&(n+=t,n+=" ",r%=i),n+=r,n+="/",n+=i),n},toLatex:function(e){var t,n="",r=this.n,i=this.d;return this.s<0&&(n+="-"),1===i?n+=r:(e&&(t=Math.floor(r/i))>0&&(n+=t,r%=i),n+="\\frac{",n+=r,n+="}{",n+=i,n+="}"),n},toContinued:function(){var e,t=this.n,n=this.d,r=[];if(isNaN(t)||isNaN(n))return r;do{r.push(Math.floor(t/n)),e=t%n,t=n,n=e}while(1!==t);return r},toString:function(e){var t=this.n,n=this.d;if(isNaN(t)||isNaN(n))return"NaN";e=e||15;var r=function(e,t){for(;t%2===0;t/=2);for(;t%5===0;t/=5);if(1===t)return 0;for(var n=10%t,r=1;1!==n;r++)if(n=10*n%t,r>2e3)return 0;return r}(0,n),i=function(e,t,n){for(var r=1,i=function(e,t,n){for(var r=1;t>0;e=e*e%n,t>>=1)1&t&&(r=r*e%n);return r}(10,n,t),o=0;o<300;o++){if(r===i)return o;r=10*r%t,i=10*i%t}return 0}(0,n,r),o=this.s<0?"-":"";if(o+=t/n|0,t%=n,(t*=10)&&(o+="."),r){for(var a=i;a--;)o+=t/n|0,t%=n,t*=10;o+="(";for(a=r;a--;)o+=t/n|0,t%=n,t*=10;o+=")"}else for(a=e;t&&a--;)o+=t/n|0,t%=n,t*=10;return o}},void 0===(n=function(){return l}.apply(t,[]))||(e.exports=n)}()},5318:function(e,t,n){"use strict";var r;function i(e,t){for(var n,r=e.keys();!(n=r.next()).done;)t(e.get(n.value),n.value,e)}e=n.nmd(e);var o=function(){var e,t;function n(t){var r=this;r._map=e,n.Map&&(r._map=n.Map),r._=r._map?new r._map:{},t&&t.forEach((function(e){r.set(e[0],e[1])}))}"undefined"!==typeof Map&&(e=Map,Map.prototype.keys||(Map.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),e})),n.prototype.get=function(e){return this._map?this._.get(e):this._[e]},n.prototype.set=function(e,t){var n=Array.prototype.slice.call(arguments);e=n.shift();var r=this.get(e);return r||(r=[],this._map?this._.set(e,r):this._[e]=r),Array.prototype.push.apply(r,n),this},n.prototype.delete=function(e,t){if(!this.has(e))return!1;if(1==arguments.length)return this._map?this._.delete(e):delete this._[e],!0;var n=this.get(e),r=n.indexOf(t);return-1!=r&&(n.splice(r,1),!0)},n.prototype.has=function(e,t){var n=this._map?this._.has(e):this._.hasOwnProperty(e);if(1==arguments.length||!n)return n;var r=this.get(e)||[];return-1!=r.indexOf(t)},n.prototype.keys=function(){return this._map?r(this._.keys()):r(Object.keys(this._))},n.prototype.values=function(){var e=[];return this.forEachEntry((function(t){Array.prototype.push.apply(e,t)})),r(e)},n.prototype.forEachEntry=function(e){i(this,e)},n.prototype.forEach=function(e){var t=this;t.forEachEntry((function(n,r){n.forEach((function(n){e(n,r,t)}))}))},n.prototype.clear=function(){this._map?this._.clear():this._={}},Object.defineProperty(n.prototype,"size",{configurable:!1,enumerable:!0,get:function(){var e=0;return i(this,(function(t){e+=t.length})),e}}),Object.defineProperty(n.prototype,"count",{configurable:!1,enumerable:!0,get:function(){return this._.size}});try{t=new Function("iterator","makeIterator","var keysArray = []; for(var key of iterator){keysArray.push(key);} return makeIterator(keysArray).next;")}catch(o){}function r(e){if(Array.isArray(e)){var n=0;return{next:function(){return n1&&"/"===t[t.length-1]&&(t=t.slice(0,t.length-1)),t.length>1&&"/"!==t[0]&&(t="/".concat(t)),t;throw new Error("OSC prepareAddress() needs addresses of type array or string")}function B(e){if(!y(e))throw new Error("OSC prepareRegExPattern() needs strings");return e.replace(/\./g,"\\.").replace(/\(/g,"\\(").replace(/\)/g,"\\)").replace(/\{/g,"(").replace(/\}/g,")").replace(/,/g,"|").replace(/\[!/g,"[^").replace(/\?/g,".").replace(/\*/g,".*")}var q=function(){function e(){r(this,e),this.data=[],this.byteLength=0}return o(e,[{key:"add",value:function(e){if(v(e)||g(e)||k(e))return this;var t=e.pack();return this.byteLength+=t.byteLength,this.data.push(t),this}},{key:"merge",value:function(){var e=new Uint8Array(this.byteLength),t=0;return this.data.forEach((function(n){e.set(n,t),t+=n.byteLength})),e}}]),e}(),O=function(){function e(t){r(this,e),this.value=t,this.offset=0}return o(e,[{key:"pack",value:function(e,t){if(!e||!t)throw new Error("OSC Atomic cant't be packed without given method or byteLength");var n=new Uint8Array(t),r=new DataView(n.buffer);if(C(this.value))throw new Error("OSC Atomic cant't be encoded with empty value");return r[e](this.offset,this.value,!1),n}},{key:"unpack",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!(e&&t&&n))throw new Error("OSC Atomic cant't be unpacked without given dataView, method or byteLength");if(!(e instanceof DataView))throw new Error("OSC Atomic expects an instance of type DataView");return this.value=e[t](r,!1),this.offset=r+n,this.offset}}]),e}(),M=function(e){s(n,e);var t=p(n);function n(e){if(r(this,n),e&&!h(e))throw new Error("OSC AtomicInt32 constructor expects value of type number");return t.call(this,e)}return o(n,[{key:"pack",value:function(){return d(u(n.prototype),"pack",this).call(this,"setInt32",4)}},{key:"unpack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return d(u(n.prototype),"unpack",this).call(this,e,"getInt32",4,t)}}]),n}(O),P="utf-8";function I(e){if(w("Buffer"))return Buffer.from(e).toString(P);if(w("TextDecoder"))return new TextDecoder(P).decode(new Int8Array(e));for(var t="",n=0;n1&&void 0!==arguments[1]?arguments[1]:0;if(!(e instanceof DataView))throw new Error("OSC AtomicString expects an instance of type DataView");for(var n,r=t,i=[];r0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(r(this,e),!h(t)||!h(n))throw new Error("OSC Timetag constructor expects values of type integer number");this.seconds=t,this.fractions=n}return o(e,[{key:"timestamp",value:function(e){var t;if("number"==typeof e){t=e/1e3;var n=Math.floor(t);return this.seconds=n+L,this.fractions=Math.round(j*(t-n)),e}return 1e3*((t=this.seconds-L)+Math.round(this.fractions/j))}}]),e}(),G=function(e){s(n,e);var t=p(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();r(this,n);var i=new W;return e instanceof W?i=e:h(e)?i.timestamp(e):A(e)&&i.timestamp(e.getTime()),t.call(this,i)}return o(n,[{key:"pack",value:function(){if(C(this.value))throw new Error("OSC AtomicTimetag can not be encoded with empty value");var e=this.value,t=e.seconds,n=e.fractions,r=new Uint8Array(8),i=new DataView(r.buffer);return i.setInt32(0,t,!1),i.setInt32(4,n,!1),r}},{key:"unpack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(e instanceof DataView))throw new Error("OSC AtomicTimetag expects an instance of type DataView");var n=e.getUint32(t,!1),r=e.getUint32(t+4,!1);return this.value=new W(n,r),this.offset=t+8,this.offset}}]),n}(O),H=function(e){s(n,e);var t=p(n);function n(e){if(r(this,n),e&&!b(e))throw new Error("OSC AtomicBlob constructor expects value of type Uint8Array");return t.call(this,e)}return o(n,[{key:"pack",value:function(){if(C(this.value))throw new Error("OSC AtomicBlob can not be encoded with empty value");var e=x(this.value.byteLength),t=new Uint8Array(e+4);return new DataView(t.buffer).setInt32(0,this.value.byteLength,!1),t.set(this.value,4),t}},{key:"unpack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(e instanceof DataView))throw new Error("OSC AtomicBlob expects an instance of type DataView");var n=e.getInt32(t,!1);return this.value=new Uint8Array(e.buffer,t+4,n),this.offset=x(t+4+n),this.offset}}]),n}(O),z=function(e){s(n,e);var t=p(n);function n(e){if(r(this,n),e&&!m(e))throw new Error("OSC AtomicFloat32 constructor expects value of type float");return t.call(this,e)}return o(n,[{key:"pack",value:function(){return d(u(n.prototype),"pack",this).call(this,"setFloat32",4)}},{key:"unpack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return d(u(n.prototype),"unpack",this).call(this,e,"getFloat32",4,t)}}]),n}(O),V=function(e){s(n,e);var t=p(n);function n(e){if(r(this,n),e&&!m(e))throw new Error("OSC AtomicFloat64 constructor expects value of type float");return t.call(this,e)}return o(n,[{key:"pack",value:function(){return d(u(n.prototype),"pack",this).call(this,"setFloat64",8)}},{key:"unpack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return d(u(n.prototype),"unpack",this).call(this,e,"getFloat64",8,t)}}]),n}(O),Z=BigInt("9223372036854775807"),U=BigInt("-9223372036854775808"),Y=function(e){s(n,e);var t=p(n);function n(e){if(r(this,n),e&&"bigint"!=typeof e)throw new Error("OSC AtomicInt64 constructor expects value of type BigInt");if(e&&(eZ))throw new Error("OSC AtomicInt64 value is out of bounds");var i;return e&&(i=BigInt.asIntN(64,e)),t.call(this,i)}return o(n,[{key:"pack",value:function(){return d(u(n.prototype),"pack",this).call(this,"setBigInt64",8)}},{key:"unpack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return d(u(n.prototype),"unpack",this).call(this,e,"getBigInt64",8,t)}}]),n}(O),K=BigInt("18446744073709551615"),J=function(e){s(n,e);var t=p(n);function n(e){if(r(this,n),e&&"bigint"!=typeof e)throw new Error("OSC AtomicUInt64 constructor expects value of type BigInt");if(e&&(e<0||e>K))throw new Error("OSC AtomicUInt64 value is out of bounds");var i;return e&&(i=BigInt.asUintN(64,e)),t.call(this,i)}return o(n,[{key:"pack",value:function(){return d(u(n.prototype),"pack",this).call(this,"setBigUint64",8)}},{key:"unpack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return d(u(n.prototype),"unpack",this).call(this,e,"getBigUint64",8,t)}}]),n}(O),X=!0,Q=!1,$=null,ee=1/0,te=function(){function e(t,n){var i=this;if(r(this,e),this.offset=0,this.address="",this.types="",this.args=[],!C(t)){if(!y(t)&&!_(t))throw new Error("OSC Message constructor first argument (address) must be a string or array");this.address=T(t)}if(!C(n)){if(!_(n))throw new Error("OSC Message constructor second argument (args) must be an array");n.forEach((function(e){return i.add(e.type,e.value)}))}}return o(e,[{key:"add",value:function(e,t){if(C(e))throw new Error("OSC Message needs a valid OSC Atomic Data Type");"N"===e?this.args.push($):"T"===e?this.args.push(X):"F"===e?this.args.push(Q):"I"===e?this.args.push(ee):this.args.push(t),this.types+=e}},{key:"pack",value:function(){var e=this;if(0===this.address.length||"/"!==this.address[0])throw new Error("OSC Message has an invalid address");var t=new q;if(t.add(new R(this.address)),t.add(new R(",".concat(this.types))),this.args.length>0){var n;if(this.args.length>this.types.length)throw new Error("OSC Message argument and type tag mismatch");this.args.forEach((function(r,i){var o=e.types[i];if("i"===o)n=new M(r);else if("h"===o)n=new Y(r);else if("t"===o)n=new J(r);else if("f"===o)n=new z(r);else if("d"===o)n=new V(r);else if("s"===o)n=new R(r);else if("b"===o)n=new H(r);else if("T"===o)n=X;else if("F"===o)n=Q;else if("N"===o)n=$;else{if("I"!==o)throw new Error("OSC Message found unknown argument type");n=ee}t.add(n)}))}return t.merge()}},{key:"unpack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(e instanceof DataView))throw new Error("OSC Message expects an instance of type DataView.");var n=new R;n.unpack(e,t);var r=new R;if(r.unpack(e,n.offset),0===n.value.length||"/"!==n.value[0])throw new Error("OSC Message found malformed or missing address string");if(0===r.value.length&&","!==r.value[0])throw new Error("OSC Message found malformed or missing type string");for(var i,o,a=r.offset,s=[],u=1;u0&&(i=s.shift()),s.length>0&&s[0]instanceof Array&&(o=s.shift()),e=t.call(this,i,o),s.length>0&&(e.types=s.map((function(e){return F(e)})).join(""),e.args=s),e}return o(n,[{key:"add",value:function(e){d(u(n.prototype),"add",this).call(this,F(e),e)}}]),n}(te),re="#bundle",ie=function(){function e(){var t=this;r(this,e),this.offset=0,this.timetag=new G,this.bundleElements=[];for(var n=arguments.length,i=new Array(n),o=0;o0&&(i[0]instanceof Date||h(i[0])?this.timetag=new G(i[0]):_(i[0])?(i[0].forEach((function(e){t.add(e)})),i.length>1&&(i[1]instanceof Date||h(i[1]))&&(this.timetag=new G(i[1]))):i.forEach((function(e){t.add(e)})))}return o(e,[{key:"timestamp",value:function(e){if(!h(e))throw new Error("OSC Bundle needs an integer for setting the timestamp");this.timetag=new G(e)}},{key:"add",value:function(t){if(!(t instanceof ne||t instanceof e))throw new Error("OSC Bundle contains only Messages and Bundles");this.bundleElements.push(t)}},{key:"pack",value:function(){var e=new q;return e.add(new R(re)),this.timetag||(this.timetag=new G),e.add(this.timetag),this.bundleElements.forEach((function(t){e.add(new M(t.pack().byteLength)),e.add(t)})),e.merge()}},{key:"unpack",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(t instanceof DataView))throw new Error("OSC Bundle expects an instance of type DataView");var r=new R;if(r.unpack(t,n),r.value!==re)throw new Error("OSC Bundle does not contain a valid #bundle head");var i=new G,o=i.unpack(t,r.offset);for(this.bundleElements=[];o1&&void 0!==arguments[1]?arguments[1]:0;if(!(e instanceof DataView))throw new Error("OSC Packet expects an instance of type DataView");if(e.byteLength%4!=0)throw new Error("OSC Packet byteLength has to be a multiple of four");var n,r=new R;return r.unpack(e,t),(n=r.value===re?new ie:new ne).unpack(e,t),this.offset=n.offset,this.value=n,this.offset}}]),e}(),ae={discardLateMessages:!1},se=function(){function e(n){r(this,e),this.options=t(t({},ae),n),this.addressHandlers=[],this.eventHandlers={open:[],error:[],close:[]},this.uuid=0}return o(e,[{key:"dispatch",value:function(e,t){var n=this;if(!(e instanceof oe))throw new Error("OSC EventHander dispatch() accepts only arguments of type Packet");if(!e.value)throw new Error("OSC EventHander dispatch() can't read empty Packets");if(e.value instanceof ie){var r=e.value;return r.bundleElements.forEach((function(e){if(e instanceof ie){if(r.timetag.value.timestamp()1&&(o=t[1]);var a=null;if(t.length>2)if(h(t[2]))a=t[2];else{if(!(t[2]instanceof Date))throw new Error("OSC EventHandler timestamp has to be a number or Date");a=t[2].getTime()}var s=null;if(t.length>=3&&(s=t[3]),a){var u=Date.now();if(u>a&&!this.options.discardLateMessages)return this.call(i,o,s);var c=this;return setTimeout((function(){c.call(i,o,s)}),a-u),!0}return this.call(i,o,s)}},{key:"on",value:function(e,t){if(!y(e)&&!_(e))throw new Error("OSC EventHandler accepts only strings or arrays for address patterns");if(!D(t))throw new Error("OSC EventHandler callback has to be a function");this.uuid+=1;var n={id:this.uuid,callback:t};if(y(e)&&e in this.eventHandlers)return this.eventHandlers[e].push(n),this.uuid;var r=T(e);return r in this.addressHandlers||(this.addressHandlers[r]=[]),this.addressHandlers[r].push(n),this.uuid}},{key:"off",value:function(e,t){if(!y(e)&&!_(e))throw new Error("OSC EventHandler accepts only strings or arrays for address patterns");if(!h(t))throw new Error("OSC EventHandler subscription id has to be a number");var n,r;return y(e)&&e in this.eventHandlers?(n=e,r=this.eventHandlers):(n=T(e),r=this.addressHandlers),n in r&&r[n].some((function(e,i){return e.id===t&&(r[n].splice(i,1),!0)}))}}]),e}(),ue=0,ce=1,le=2,pe=3,fe=function(){function e(){throw r(this,e),new Error("DatagramPlugin can not be used in browser context")}return o(e,[{key:"registerNotify",value:function(e){this.notify=e}},{key:"status",value:function(){return this.socketStatus}},{key:"open",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t(t({},this.options.open),n),i=r.port,o=r.exclusive;this.socketStatus=ue,this.socket.bind({address:r.host,port:i,exclusive:o},(function(){e.socketStatus=ce,e.notify("open")}))}},{key:"close",value:function(){var e=this;this.socketStatus=le,this.socket.close((function(){e.socketStatus=pe,e.notify("close")}))}},{key:"send",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t(t({},this.options.send),n),i=r.port,o=r.host;this.socket.send(Buffer.from(e),0,e.byteLength,i,o)}}]),e}();"undefined"!=typeof WebSocket?N=WebSocket:"undefined"!=typeof MozWebSocket?N=MozWebSocket:"undefined"!=typeof n.g?N=n.g.WebSocket||n.g.MozWebSocket:"undefined"!=typeof window?N=window.WebSocket||window.MozWebSocket:"undefined"!=typeof self&&(N=self.WebSocket||self.MozWebSocket);var de=void 0,he=N,me=0,ye=1,ve=2,ge=3,_e={udpServer:{host:"localhost",port:41234,exclusive:!1},udpClient:{host:"localhost",port:41235},wsServer:{host:"localhost",port:8080},receiver:"ws"};function Ee(e,n){return t(t(t(t({},_e),e),n),{},{udpServer:t(t(t({},_e.udpServer),e.udpServer),n.udpServer),udpClient:t(t(t({},_e.udpClient),e.udpClient),n.udpClient),wsServer:t(t(t({},_e.wsServer),e.wsServer),n.wsServer)})}var De=function(){function e(){throw r(this,e),new Error("BridgePlugin can not be used in browser context")}return o(e,[{key:"registerNotify",value:function(e){this.notify=e}},{key:"status",value:function(){return this.socketStatus}},{key:"open",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Ee(this.options,t);this.socketStatus=me,this.socket.bind({address:n.udpServer.host,port:n.udpServer.port,exclusive:n.udpServer.exclusive},(function(){var t={};n.wsServer.server?t.server=n.wsServer.server:t=n.wsServer,e.websocket=new de(t),e.websocket.binaryType="arraybuffer",e.websocket.on("listening",(function(){e.socketStatus=ye,e.notify("open")})),e.websocket.on("error",(function(t){e.notify("error",t)})),e.websocket.on("connection",(function(t){t.on("message",(function(t,n){e.send(t,{receiver:"udp"}),e.notify(new Uint8Array(t),n)}))}))}))}},{key:"close",value:function(){var e=this;this.socketStatus=ve,this.socket.close((function(){e.websocket.close((function(){e.socketStatus=ge,e.notify("close")}))}))}},{key:"send",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ee(this.options,t),r=n.receiver;if("udp"===r){var i=e instanceof Buffer?e:Buffer.from(e);this.socket.send(i,0,i.byteLength,n.udpClient.port,n.udpClient.host)}else{if("ws"!==r)throw new Error("BridgePlugin can not send message to unknown receiver");this.websocket.clients.forEach((function(t){t.send(e,{binary:!0})}))}}}]),e}(),be=-1,Ae=0,Ce=1,ke=2,xe=3,we={host:"localhost",port:8080,secure:!1,protocol:[]},Se=function(){function e(n){if(r(this,e),!he)throw new Error("WebsocketClientPlugin can't find a WebSocket class");this.options=t(t({},we),n),this.socket=null,this.socketStatus=be,this.notify=function(){}}return o(e,[{key:"registerNotify",value:function(e){this.notify=e}},{key:"status",value:function(){return this.socketStatus}},{key:"open",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t(t({},this.options),n),i=r.port,o=r.host,a=r.secure,s=r.protocol;this.socket&&this.close();var u=a?"wss":"ws",c={address:o,family:u,port:i,size:0};this.socket=new he("".concat(u,"://").concat(o,":").concat(i),s),this.socket.binaryType="arraybuffer",this.socketStatus=Ae,this.socket.onopen=function(){e.socketStatus=Ce,e.notify("open")},this.socket.onclose=function(){e.socketStatus=xe,e.notify("close")},this.socket.onerror=function(t){e.notify("error",t)},this.socket.onmessage=function(t){e.notify(t.data,c)}}},{key:"close",value:function(){this.socketStatus=ke,this.socket.close()}},{key:"send",value:function(e){this.socket.send(e)}}]),e}(),Fe=0,Te=1,Be=2,qe=3,Oe=function(){function e(t){throw r(this,e),new Error("WebsocketServerPlugin can not be used in browser context")}return o(e,[{key:"registerNotify",value:function(e){this.notify=e}},{key:"status",value:function(){return this.socketStatus}},{key:"open",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t(t({},this.options),n),i=r.port,o=r.host,a={address:o,family:"wsserver",port:i,size:0};this.socket&&this.close(),r.server?this.socket=new de({server:r.server}):this.socket=new de({host:o,port:i}),this.socket.binaryType="arraybuffer",this.socketStatus=Fe,this.socket.on("listening",(function(){e.socketStatus=Te,e.notify("open")})),this.socket.on("error",(function(t){e.notify("error",t)})),this.socket.on("connection",(function(t){t.on("message",(function(t){e.notify(new Uint8Array(t),a)}))}))}},{key:"close",value:function(){var e=this;this.socketStatus=Be,this.socket.close((function(){e.socketStatus=qe,e.notify("close")}))}},{key:"send",value:function(e){this.socket.clients.forEach((function(t){t.send(e,{binary:!0})}))}}]),e}(),Me={discardLateMessages:!1,plugin:new Se},Pe=function(){function e(n){if(r(this,e),n&&!E(n))throw new Error("OSC options argument has to be an object.");this.options=t(t({},Me),n),this.eventHandler=new se({discardLateMessages:this.options.discardLateMessages});var i=this.eventHandler;this.options.plugin&&this.options.plugin.registerNotify&&this.options.plugin.registerNotify((function(){return i.notify.apply(i,arguments)}))}return o(e,[{key:"on",value:function(e,t){if(!y(e)||!D(t))throw new Error("OSC on() needs event- or address string and callback function");return this.eventHandler.on(e,t)}},{key:"off",value:function(e,t){if(!y(e)||!h(t))throw new Error("OSC off() needs string and number (subscriptionId) to unsubscribe");return this.eventHandler.off(e,t)}},{key:"open",value:function(e){if(e&&!E(e))throw new Error("OSC open() options argument needs to be an object");if(!this.options.plugin||!D(this.options.plugin.open))throw new Error("OSC Plugin API #open is not implemented!");return this.options.plugin.open(e)}},{key:"status",value:function(){if(!this.options.plugin||!D(this.options.plugin.status))throw new Error("OSC Plugin API #status is not implemented!");return this.options.plugin.status()}},{key:"close",value:function(){if(!this.options.plugin||!D(this.options.plugin.close))throw new Error("OSC Plugin API #close is not implemented!");return this.options.plugin.close()}},{key:"send",value:function(e,t){if(!this.options.plugin||!D(this.options.plugin.send))throw new Error("OSC Plugin API #send is not implemented!");if(!(e instanceof te||e instanceof ne||e instanceof ie||e instanceof oe))throw new Error("OSC send() needs Messages, Bundles or Packets");if(t&&!E(t))throw new Error("OSC send() options argument has to be an object");return this.options.plugin.send(e.pack(),t)}}]),e}();return Pe.STATUS={IS_NOT_INITIALIZED:-1,IS_CONNECTING:0,IS_OPEN:1,IS_CLOSING:2,IS_CLOSED:3},Pe.Packet=oe,Pe.Bundle=ie,Pe.Message=ne,Pe.TypedMessage=te,Pe.DatagramPlugin=fe,Pe.WebsocketClientPlugin=Se,Pe.WebsocketServerPlugin=Oe,Pe.BridgePlugin=De,Pe}()},7329:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.M_=function e(t){var r=t.elements;n(this,e),this.type="ArrayExpression",this.elements=r},t.Lt=function e(t){var r=t.callee,i=t.arguments;n(this,e),this.type="CallExpression",this.callee=r,this.arguments=i},t.YI=function e(t){var r=t.name;n(this,e),this.type="IdentifierExpression",this.name=r},t.g4=function e(t){var r=t.value;n(this,e),this.type="LiteralNumericExpression",this.value=r},t.kK=function e(t){var r=t.value;n(this,e),this.type="LiteralStringExpression",this.value=r},t.Jo=function e(t){var r=t.expression;n(this,e),this.type="ReturnStatement",this.expression=r},t.AR=function e(t){var r=t.object,i=t.property;n(this,e),this.type="StaticMemberExpression",this.object=r,this.property=i}},3350:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;nn?"'":'"';t+=s;for(var u=0;u":a.Relational,"<=":a.Relational,">=":a.Relational,in:a.Relational,instanceof:a.Relational,"<<":a.BitwiseSHIFT,">>":a.BitwiseSHIFT,">>>":a.BitwiseSHIFT,"+":a.Additive,"-":a.Additive,"*":a.Multiplicative,"%":a.Multiplicative,"/":a.Multiplicative,"**":a.Exponential};var u=t.CodeRep=function(){function e(){o(this,e),this.containsIn=!1,this.containsGroup=!1,this.startsWithCurly=!1,this.startsWithFunctionOrClass=!1,this.startsWithLet=!1,this.startsWithLetSquareBracket=!1,this.endsWithMissingElse=!1}return n(e,[{key:"forEach",value:function(e){e(this)}}]),e}(),c=(t.Empty=function(e){function t(){return o(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this))}return i(t,e),n(t,[{key:"emit",value:function(){}}]),t}(u),t.Token=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o(this,t);var i=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.token=e,i.isRegExp=n,i}return i(t,e),n(t,[{key:"emit",value:function(e){e.put(this.token,this.isRegExp)}}]),t}(u));t.RawToken=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.token=e,n}return i(t,e),n(t,[{key:"emit",value:function(e){e.putRaw(this.token)}}]),t}(u),t.NumberCodeRep=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.number=e,n}return i(t,e),n(t,[{key:"emit",value:function(e){e.putNumber(this.number)}}]),t}(u),t.Paren=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.expr=e,n}return i(t,e),n(t,[{key:"emit",value:function(e){e.put("("),this.expr.emit(e,!1),e.put(")")}},{key:"forEach",value:function(e){e(this),this.expr.forEach(e)}}]),t}(u),t.Bracket=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.expr=e,n}return i(t,e),n(t,[{key:"emit",value:function(e){e.put("["),this.expr.emit(e,!1),e.put("]")}},{key:"forEach",value:function(e){e(this),this.expr.forEach(e)}}]),t}(u),t.Brace=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.expr=e,n}return i(t,e),n(t,[{key:"emit",value:function(e){e.put("{"),this.expr.emit(e,!1),e.put("}")}},{key:"forEach",value:function(e){e(this),this.expr.forEach(e)}}]),t}(u),t.NoIn=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.expr=e,n}return i(t,e),n(t,[{key:"emit",value:function(e){this.expr.emit(e,!0)}},{key:"forEach",value:function(e){e(this),this.expr.forEach(e)}}]),t}(u),t.ContainsIn=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.expr=e,n}return i(t,e),n(t,[{key:"emit",value:function(e,t){t?(e.put("("),this.expr.emit(e,!1),e.put(")")):this.expr.emit(e,!1)}},{key:"forEach",value:function(e){e(this),this.expr.forEach(e)}}]),t}(u),t.Seq=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.children=e,n}return i(t,e),n(t,[{key:"emit",value:function(e,t){this.children.forEach((function(n){return n.emit(e,t)}))}},{key:"forEach",value:function(e){e(this),this.children.forEach((function(t){return t.forEach(e)}))}}]),t}(u),t.Semi=function(e){function t(){return o(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,";"))}return i(t,e),t}(c),t.CommaSep=function(e){function t(e){o(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.children=e,n}return i(t,e),n(t,[{key:"emit",value:function(e,t){var n=!0;this.children.forEach((function(r){n?n=!1:e.put(","),r.emit(e,t)}))}},{key:"forEach",value:function(e){e(this),this.children.forEach((function(t){return t.forEach(e)}))}}]),t}(u),t.SemiOp=function(e){function t(){return o(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this))}return i(t,e),n(t,[{key:"emit",value:function(e){e.putOptionalSemi()}}]),t}(u)},6845:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormattedCodeGen=t.ExtensibleCodeGen=t.Sep=void 0;var r,i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];return new u.Token(e,t)}},{key:"p",value:function(e,t,n){return(0,u.getPrecedence)(e)0&&null==r[r.length-1]&&(i=v(i,this.sep(_.ARRAY_BEFORE_COMMA),this.t(","),this.sep(_.ARRAY_AFTER_COMMA))),this.bracket(i,_.ARRAY_INITIAL,_.ARRAY_FINAL)}},{key:"reduceAwaitExpression",value:function(e,t){var n=t.expression;return v(this.t("await"),this.sep(_.AWAIT),this.p(e.expression,(0,u.getPrecedence)(e),n))}},{key:"reduceSpreadElement",value:function(e,t){var n=t.expression;return v(this.t("..."),this.sep(_.SPREAD),this.p(e.expression,u.Precedence.Assignment,n))}},{key:"reduceSpreadProperty",value:function(e,t){var n=t.expression;return v(this.t("..."),this.sep(_.SPREAD),this.getAssignmentExpr(n))}},{key:"reduceAssignmentExpression",value:function(e,t){var n=t.binding,r=t.expression,i=n,o=r,s=r.containsIn,c=n.startsWithCurly,l=n.startsWithLetSquareBracket,p=n.startsWithFunctionOrClass;return(0,u.getPrecedence)(e.expression)<(0,u.getPrecedence)(e)&&(o=this.paren(o,_.EXPRESSION_PAREN_BEFORE,_.EXPRESSION_PAREN_AFTER),s=!1),(0,a.default)(v(i,this.sep(_.BEFORE_ASSIGN_OP("=")),this.t("="),this.sep(_.AFTER_ASSIGN_OP("=")),o),{containsIn:s,startsWithCurly:c,startsWithLetSquareBracket:l,startsWithFunctionOrClass:p})}},{key:"reduceAssignmentTargetIdentifier",value:function(e){var t=this.t(e.name);return"let"===e.name&&(t.startsWithLet=!0),t}},{key:"reduceAssignmentTargetWithDefault",value:function(e,t){var n=t.binding,r=t.init;return v(n,this.sep(_.BEFORE_DEFAULT_EQUALS),this.t("="),this.sep(_.AFTER_DEFAULT_EQUALS),this.p(e.init,u.Precedence.Assignment,r))}},{key:"reduceCompoundAssignmentExpression",value:function(e,t){var n=t.binding,r=t.expression,i=n,o=r,s=r.containsIn,c=n.startsWithCurly,l=n.startsWithLetSquareBracket,p=n.startsWithFunctionOrClass;return(0,u.getPrecedence)(e.expression)<(0,u.getPrecedence)(e)&&(o=this.paren(o,_.EXPRESSION_PAREN_BEFORE,_.EXPRESSION_PAREN_AFTER),s=!1),(0,a.default)(v(i,this.sep(_.BEFORE_ASSIGN_OP(e.operator)),this.t(e.operator),this.sep(_.AFTER_ASSIGN_OP(e.operator)),o),{containsIn:s,startsWithCurly:c,startsWithLetSquareBracket:l,startsWithFunctionOrClass:p})}},{key:"reduceBinaryExpression",value:function(e,t){var n=t.left,r=t.right,i=n,o=n.startsWithCurly,s=n.startsWithLetSquareBracket,c=n.startsWithFunctionOrClass,l=n.containsIn,p="**"===e.operator;((0,u.getPrecedence)(e.left)<(0,u.getPrecedence)(e)||p&&((0,u.getPrecedence)(e.left)===(0,u.getPrecedence)(e)||"UnaryExpression"===e.left.type))&&(i=this.paren(i,_.EXPRESSION_PAREN_BEFORE,_.EXPRESSION_PAREN_AFTER),o=!1,s=!1,c=!1,l=!1);var f=r,d=r.containsIn;return((0,u.getPrecedence)(e.right)<(0,u.getPrecedence)(e)||!p&&(0,u.getPrecedence)(e.right)===(0,u.getPrecedence)(e))&&(f=this.paren(f,_.EXPRESSION_PAREN_BEFORE,_.EXPRESSION_PAREN_AFTER),d=!1),(0,a.default)(v(i,this.sep(_.BEFORE_BINOP(e.operator)),this.t(e.operator),this.sep(_.AFTER_BINOP(e.operator)),f),{containsIn:l||d||"in"===e.operator,containsGroup:","===e.operator,startsWithCurly:o,startsWithLetSquareBracket:s,startsWithFunctionOrClass:c})}},{key:"reduceBindingWithDefault",value:function(e,t){var n=t.binding,r=t.init;return v(n,this.sep(_.BEFORE_DEFAULT_EQUALS),this.t("="),this.sep(_.AFTER_DEFAULT_EQUALS),this.p(e.init,u.Precedence.Assignment,r))}},{key:"reduceBindingIdentifier",value:function(e){var t=this.t(e.name);return"let"===e.name&&(t.startsWithLet=!0),t}},{key:"reduceArrayAssignmentTarget",value:function(e,t){var n=this,r=t.elements,i=t.rest,o=void 0;return 0===r.length?o=null==i?h():v(this.t("..."),this.sep(_.REST),i):(r=r.concat(null==i?[]:[v(this.t("..."),this.sep(_.REST),i)]),o=this.commaSep(r.map((function(e){return n.getAssignmentExpr(e)})),_.ARRAY_BEFORE_COMMA,_.ARRAY_AFTER_COMMA),r.length>0&&null==r[r.length-1]&&(o=v(o,this.sep(_.ARRAY_BEFORE_COMMA),this.t(","),this.sep(_.ARRAY_AFTER_COMMA)))),this.bracket(o,_.ARRAY_INITIAL,_.ARRAY_FINAL,_.ARRAY_EMPTY)}},{key:"reduceArrayBinding",value:function(e,t){var n=this,r=t.elements,i=t.rest,o=void 0;return 0===r.length?o=null==i?h():v(this.t("..."),this.sep(_.REST),i):(r=r.concat(null==i?[]:[v(this.t("..."),this.sep(_.REST),i)]),o=this.commaSep(r.map((function(e){return n.getAssignmentExpr(e)})),_.ARRAY_BEFORE_COMMA,_.ARRAY_AFTER_COMMA),r.length>0&&null==r[r.length-1]&&(o=v(o,this.sep(_.ARRAY_BEFORE_COMMA),this.t(","),this.sep(_.ARRAY_AFTER_COMMA)))),this.bracket(o,_.ARRAY_INITIAL,_.ARRAY_FINAL,_.ARRAY_EMPTY)}},{key:"reduceObjectAssignmentTarget",value:function(e,t){var n=t.properties,r=t.rest,i=void 0;0===n.length?i=null==r?h():v(this.t("..."),this.sep(_.REST),r):(i=this.commaSep(n,_.OBJECT_BEFORE_COMMA,_.OBJECT_AFTER_COMMA),i=null==r?i:this.commaSep([i,v(this.t("..."),this.sep(_.REST),r)],_.OBJECT_BEFORE_COMMA,_.OBJECT_AFTER_COMMA));var o=this.brace(i,e,_.OBJECT_BRACE_INITIAL,_.OBJECT_BRACE_FINAL,_.OBJECT_EMPTY);return o.startsWithCurly=!0,o}},{key:"reduceObjectBinding",value:function(e,t){var n=t.properties,r=t.rest,i=void 0;0===n.length?i=null==r?h():v(this.t("..."),this.sep(_.REST),r):(i=this.commaSep(n,_.OBJECT_BEFORE_COMMA,_.OBJECT_AFTER_COMMA),i=null==r?i:this.commaSep([i,v(this.t("..."),this.sep(_.REST),r)],_.OBJECT_BEFORE_COMMA,_.OBJECT_AFTER_COMMA));var o=this.brace(i,e,_.OBJECT_BRACE_INITIAL,_.OBJECT_BRACE_FINAL,_.OBJECT_EMPTY);return o.startsWithCurly=!0,o}},{key:"reduceAssignmentTargetPropertyIdentifier",value:function(e,t){var n=t.binding,r=t.init;return null==e.init?n:v(n,this.sep(_.BEFORE_DEFAULT_EQUALS),this.t("="),this.sep(_.AFTER_DEFAULT_EQUALS),this.p(e.init,u.Precedence.Assignment,r))}},{key:"reduceAssignmentTargetPropertyProperty",value:function(e,t){var n=t.name,r=t.binding;return v(n,this.sep(_.BEFORE_PROP),this.t(":"),this.sep(_.AFTER_PROP),r)}},{key:"reduceBindingPropertyIdentifier",value:function(e,t){var n=t.binding,r=t.init;return null==e.init?n:v(n,this.sep(_.BEFORE_DEFAULT_EQUALS),this.t("="),this.sep(_.AFTER_DEFAULT_EQUALS),this.p(e.init,u.Precedence.Assignment,r))}},{key:"reduceBindingPropertyProperty",value:function(e,t){var n=t.name,r=t.binding;return v(n,this.sep(_.BEFORE_PROP),this.t(":"),this.sep(_.AFTER_PROP),r)}},{key:"reduceBlock",value:function(e,t){var n=t.statements;return this.brace(v.apply(void 0,c(n)),e,_.BLOCK_BRACE_INITIAL,_.BLOCK_BRACE_FINAL,_.BLOCK_EMPTY)}},{key:"reduceBlockStatement",value:function(e,t){return v(t.block,this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceBreakStatement",value:function(e){return v(this.t("break"),e.label?v(this.sep(_.BEFORE_JUMP_LABEL),this.t(e.label)):h(),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceCallExpression",value:function(e,t){var n=this,r=t.callee,i=t.arguments.map((function(t,r){return n.p(e.arguments[r],u.Precedence.Assignment,t)}));return(0,a.default)(v(this.p(e.callee,(0,u.getPrecedence)(e),r),this.sep(_.CALL),this.paren(this.commaSep(i,_.ARGS_BEFORE_COMMA,_.ARGS_AFTER_COMMA),_.CALL_PAREN_BEFORE,_.CALL_PAREN_AFTER,_.CALL_PAREN_EMPTY)),{startsWithCurly:r.startsWithCurly,startsWithLet:r.startsWithLet,startsWithLetSquareBracket:r.startsWithLetSquareBracket,startsWithFunctionOrClass:r.startsWithFunctionOrClass})}},{key:"reduceCatchClause",value:function(e,t){var n=t.binding,r=t.body;return v(this.t("catch"),this.sep(_.BEFORE_CATCH_BINDING),this.paren(n,_.CATCH_PAREN_BEFORE,_.CATCH_PAREN_AFTER),this.sep(_.AFTER_CATCH_BINDING),r)}},{key:"reduceClassDeclaration",value:function(e,t){var n=t.name,r=t.super,i=t.elements,o=v(this.t("class"),"*default*"===e.name.name?h():v(this.sep(_.BEFORE_CLASS_NAME),n));return null!=r&&(o=v(o,this.sep(_.BEFORE_EXTENDS),this.t("extends"),this.sep(_.AFTER_EXTENDS),this.p(e.super,u.Precedence.New,r))),o=v(o,this.sep(_.BEFORE_CLASS_DECLARATION_ELEMENTS),this.brace(v.apply(void 0,c(i)),e,_.CLASS_BRACE_INITIAL,_.CLASS_BRACE_FINAL,_.CLASS_EMPTY),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceClassExpression",value:function(e,t){var n=t.name,r=t.super,i=t.elements,o=this.t("class");return null!=n&&(o=v(o,this.sep(_.BEFORE_CLASS_NAME),n)),null!=r&&(o=v(o,this.sep(_.BEFORE_EXTENDS),this.t("extends"),this.sep(_.AFTER_EXTENDS),this.p(e.super,u.Precedence.New,r))),(o=v(o,this.sep(_.BEFORE_CLASS_EXPRESSION_ELEMENTS),this.brace(v.apply(void 0,c(i)),e,_.CLASS_EXPRESSION_BRACE_INITIAL,_.CLASS_EXPRESSION_BRACE_FINAL,_.CLASS_EXPRESSION_BRACE_EMPTY))).startsWithFunctionOrClass=!0,o}},{key:"reduceClassElement",value:function(e,t){var n=t.method;return n=v(this.sep(_.BEFORE_CLASS_ELEMENT),n,this.sep(_.AFTER_CLASS_ELEMENT)),e.isStatic?v(this.t("static"),this.sep(_.AFTER_STATIC),n):n}},{key:"reduceComputedMemberAssignmentTarget",value:function(e,t){var n=t.object,r=t.expression,i=n.startsWithLetSquareBracket||"IdentifierExpression"===e.object.type&&"let"===e.object.name;return(0,a.default)(v(this.p(e.object,(0,u.getPrecedence)(e),n),this.sep(_.COMPUTED_MEMBER_ASSIGNMENT_TARGET),this.bracket(r,_.COMPUTED_MEMBER_ASSIGNMENT_TARGET_BRACKET_INTIAL,_.COMPUTED_MEMBER_ASSIGNMENT_TARGET_BRACKET_FINAL)),{startsWithLet:n.startsWithLet,startsWithLetSquareBracket:i,startsWithCurly:n.startsWithCurly,startsWithFunctionOrClass:n.startsWithFunctionOrClass})}},{key:"reduceComputedMemberExpression",value:function(e,t){var n=t.object,r=t.expression,i=n.startsWithLetSquareBracket||"IdentifierExpression"===e.object.type&&"let"===e.object.name;return(0,a.default)(v(this.p(e.object,(0,u.getPrecedence)(e),n),this.sep(_.COMPUTED_MEMBER_EXPRESSION),this.bracket(r,_.COMPUTED_MEMBER_BRACKET_INTIAL,_.COMPUTED_MEMBER_BRACKET_FINAL)),{startsWithLet:n.startsWithLet,startsWithLetSquareBracket:i,startsWithCurly:n.startsWithCurly,startsWithFunctionOrClass:n.startsWithFunctionOrClass})}},{key:"reduceComputedPropertyName",value:function(e,t){var n=t.expression;return this.bracket(this.p(e.expression,u.Precedence.Assignment,n),_.COMPUTED_PROPERTY_BRACKET_INTIAL,_.COMPUTED_PROPERTY_BRACKET_FINAL)}},{key:"reduceConditionalExpression",value:function(e,t){var n=t.test,r=t.consequent,i=t.alternate,o=n.containsIn||i.containsIn,s=n.startsWithCurly,c=n.startsWithLetSquareBracket,l=n.startsWithFunctionOrClass;return(0,a.default)(v(this.p(e.test,u.Precedence.LogicalOR,n),this.sep(_.BEFORE_TERNARY_QUESTION),this.t("?"),this.sep(_.AFTER_TERNARY_QUESTION),this.p(e.consequent,u.Precedence.Assignment,r),this.sep(_.BEFORE_TERNARY_COLON),this.t(":"),this.sep(_.AFTER_TERNARY_COLON),this.p(e.alternate,u.Precedence.Assignment,i)),{containsIn:o,startsWithCurly:s,startsWithLetSquareBracket:c,startsWithFunctionOrClass:l})}},{key:"reduceContinueStatement",value:function(e){return v(this.t("continue"),e.label?v(this.sep(_.BEFORE_JUMP_LABEL),this.t(e.label)):h(),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceDataProperty",value:function(e,t){var n=t.name,r=t.expression;return v(n,this.sep(_.BEFORE_PROP),this.t(":"),this.sep(_.AFTER_PROP),this.getAssignmentExpr(r))}},{key:"reduceDebuggerStatement",value:function(e){return v(this.t("debugger"),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceDoWhileStatement",value:function(e,t){var n=t.body,r=t.test;return v(this.t("do"),this.sep(_.AFTER_DO),n,this.sep(_.BEFORE_DOWHILE_WHILE),this.t("while"),this.sep(_.AFTER_DOWHILE_WHILE),this.paren(r,_.DO_WHILE_TEST_PAREN_BEFORE,_.DO_WHILE_TEST_PAREN_AFTER),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceEmptyStatement",value:function(e){return v(this.t(";"),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceExpressionStatement",value:function(e,t){var n=t.expression;return v(n.startsWithCurly||n.startsWithLetSquareBracket||n.startsWithFunctionOrClass?this.paren(n,_.EXPRESSION_STATEMENT_PAREN_BEFORE,_.EXPRESSION_STATEMENT_PAREN_AFTER):n,this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceForInStatement",value:function(e,t){var n=t.left,r=t.right,i=t.body;return n="VariableDeclaration"===e.left.type?m(y(n)):n,(0,a.default)(v(this.t("for"),this.sep(_.AFTER_FORIN_FOR),this.paren(v(n.startsWithLet?this.paren(n,_.FOR_IN_LET_PAREN_BEFORE,_.FOR_IN_LET_PAREN_AFTER):n,this.sep(_.BEFORE_FORIN_IN),this.t("in"),this.sep(_.AFTER_FORIN_FOR),r),_.FOR_IN_PAREN_BEFORE,_.FOR_IN_PAREN_AFTER),this.sep(_.BEFORE_FORIN_BODY),i,this.sep(_.AFTER_STATEMENT(e))),{endsWithMissingElse:i.endsWithMissingElse})}},{key:"reduceForOfStatement",value:function(e,t){var n=t.left,r=t.right,i=t.body;return n="VariableDeclaration"===e.left.type?m(y(n)):n,(0,a.default)(v(this.t("for"),this.sep(_.AFTER_FOROF_FOR),this.paren(v(n.startsWithLet?this.paren(n,_.FOR_OF_LET_PAREN_BEFORE,_.FOR_OF_LET_PAREN_AFTER):n,this.sep(_.BEFORE_FOROF_OF),this.t("of"),this.sep(_.AFTER_FOROF_FOR),this.p(e.right,u.Precedence.Assignment,r)),_.FOR_OF_PAREN_BEFORE,_.FOR_OF_PAREN_AFTER),this.sep(_.BEFORE_FOROF_BODY),i,this.sep(_.AFTER_STATEMENT(e))),{endsWithMissingElse:i.endsWithMissingElse})}},{key:"reduceForStatement",value:function(e,t){var n=t.init,r=t.test,i=t.update,o=t.body;return n&&(n.startsWithLetSquareBracket&&(n=this.paren(n,_.FOR_LET_PAREN_BEFORE,_.FOR_LET_PAREN_AFTER)),n=m(y(n))),(0,a.default)(v(this.t("for"),this.sep(_.AFTER_FOR_FOR),this.paren(v(n?v(this.sep(_.BEFORE_FOR_INIT),n,this.sep(_.AFTER_FOR_INIT)):this.sep(_.EMPTY_FOR_INIT),this.t(";"),r?v(this.sep(_.BEFORE_FOR_TEST),r,this.sep(_.AFTER_FOR_TEST)):this.sep(_.EMPTY_FOR_TEST),this.t(";"),i?v(this.sep(_.BEFORE_FOR_UPDATE),i,this.sep(_.AFTER_FOR_UPDATE)):this.sep(_.EMPTY_FOR_UPDATE))),this.sep(_.BEFORE_FOR_BODY),o,this.sep(_.AFTER_STATEMENT(e))),{endsWithMissingElse:o.endsWithMissingElse})}},{key:"reduceForAwaitStatement",value:function(e,t){var n=t.left,r=t.right,i=t.body;return n="VariableDeclaration"===e.left.type?m(y(n)):n,(0,a.default)(v(this.t("for"),this.sep(_.AFTER_FOROF_FOR),this.t("await"),this.sep(_.AFTER_FORAWAIT_AWAIT),this.paren(v(n.startsWithLet?this.paren(n,_.FOR_OF_LET_PAREN_BEFORE,_.FOR_OF_LET_PAREN_AFTER):n,this.sep(_.BEFORE_FOROF_OF),this.t("of"),this.sep(_.AFTER_FOROF_FOR),this.p(e.right,u.Precedence.Assignment,r)),_.FOR_OF_PAREN_BEFORE,_.FOR_OF_PAREN_AFTER),this.sep(_.BEFORE_FOROF_BODY),i,this.sep(_.AFTER_STATEMENT(e))),{endsWithMissingElse:i.endsWithMissingElse})}},{key:"reduceFunctionBody",value:function(e,t){var n=t.directives,r=t.statements;return r.length&&(r[0]=this.parenToAvoidBeingDirective(e.statements[0],r[0])),v.apply(void 0,c(n).concat([n.length?this.sep(_.AFTER_FUNCTION_DIRECTIVES):h()],c(r)))}},{key:"reduceFunctionDeclaration",value:function(e,t){var n=t.name,r=t.params,i=t.body;return v(e.isAsync?this.t("async"):h(),this.t("function"),e.isGenerator?v(this.sep(_.BEFORE_GENERATOR_STAR),this.t("*"),this.sep(_.AFTER_GENERATOR_STAR)):h(),this.sep(_.BEFORE_FUNCTION_NAME(e)),"*default*"===e.name.name?h():n,this.sep(_.BEFORE_FUNCTION_PARAMS),this.paren(r,_.PARAMETERS_PAREN_BEFORE,_.PARAMETERS_PAREN_AFTER,_.PARAMETERS_PAREN_EMPTY),this.sep(_.BEFORE_FUNCTION_DECLARATION_BODY),this.brace(i,e,_.FUNCTION_BRACE_INITIAL,_.FUNCTION_BRACE_FINAL,_.FUNCTION_EMPTY),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceFunctionExpression",value:function(e,t){var n=t.name,r=t.params,i=t.body,o=v(e.isAsync?this.t("async"):h(),this.t("function"),e.isGenerator?v(this.sep(_.BEFORE_GENERATOR_STAR),this.t("*"),this.sep(_.AFTER_GENERATOR_STAR)):h(),this.sep(_.BEFORE_FUNCTION_NAME(e)),n||h(),this.sep(_.BEFORE_FUNCTION_PARAMS),this.paren(r,_.PARAMETERS_PAREN_BEFORE,_.PARAMETERS_PAREN_AFTER,_.PARAMETERS_PAREN_EMPTY),this.sep(_.BEFORE_FUNCTION_EXPRESSION_BODY),this.brace(i,e,_.FUNCTION_EXPRESSION_BRACE_INITIAL,_.FUNCTION_EXPRESSION_BRACE_FINAL,_.FUNCTION_EXPRESSION_EMPTY));return o.startsWithFunctionOrClass=!0,o}},{key:"reduceFormalParameters",value:function(e,t){var n=t.items,r=t.rest;return this.commaSep(n.concat(null==r?[]:[v(this.t("..."),this.sep(_.REST),r)]),_.PARAMETER_BEFORE_COMMA,_.PARAMETER_AFTER_COMMA)}},{key:"reduceArrowExpression",value:function(e,t){var n=t.params,r=t.body;null==e.params.rest&&1===e.params.items.length&&"BindingIdentifier"===e.params.items[0].type||(n=this.paren(n,_.ARROW_PARAMETERS_PAREN_BEFORE,_.ARROW_PARAMETERS_PAREN_AFTER,_.ARROW_PARAMETERS_PAREN_EMPTY));var i=!1;return"FunctionBody"===e.body.type?r=this.brace(r,e,_.ARROW_BRACE_INITIAL,_.ARROW_BRACE_FINAL,_.ARROW_BRACE_EMPTY):r.startsWithCurly?r=this.paren(r,_.ARROW_BODY_PAREN_BEFORE,_.ARROW_BODY_PAREN_AFTER):r.containsIn&&(i=!0),(0,a.default)(v(e.isAsync?v(this.t("async"),this.sep(_.BEFORE_ARROW_ASYNC_PARAMS)):h(),n,this.sep(_.BEFORE_ARROW),this.t("=>"),this.sep(_.AFTER_ARROW),this.p(e.body,u.Precedence.Assignment,r)),{containsIn:i})}},{key:"reduceGetter",value:function(e,t){var n=t.name,r=t.body;return v(this.t("get"),this.sep(_.AFTER_GET),n,this.sep(_.BEFORE_GET_PARAMS),this.paren(h(),null,null,_.GETTER_PARAMS),this.sep(_.BEFORE_GET_BODY),this.brace(r,e,_.GET_BRACE_INTIAL,_.GET_BRACE_FINAL,_.GET_BRACE_EMPTY))}},{key:"reduceIdentifierExpression",value:function(e){var t=this.t(e.name);return"let"===e.name&&(t.startsWithLet=!0),t}},{key:"reduceIfStatement",value:function(e,t){var n=t.test,r=t.consequent,i=t.alternate;return i&&r.endsWithMissingElse&&(r=this.brace(r,e,_.MISSING_ELSE_INTIIAL,_.MISSING_ELSE_FINAL,_.MISSING_ELSE_EMPTY)),(0,a.default)(v(this.t("if"),this.sep(_.AFTER_IF),this.paren(n,_.IF_PAREN_BEFORE,_.IF_PAREN_AFTER),this.sep(_.AFTER_IF_TEST),r,i?v(this.sep(_.BEFORE_ELSE),this.t("else"),this.sep(_.AFTER_ELSE),i):h(),this.sep(_.AFTER_STATEMENT(e))),{endsWithMissingElse:!i||i.endsWithMissingElse})}},{key:"reduceImport",value:function(e,t){var n=t.defaultBinding,r=t.namedImports,i=[];return null!=n&&i.push(n),r.length>0&&i.push(this.brace(this.commaSep(r,_.NAMED_IMPORT_BEFORE_COMMA,_.NAMED_IMPORT_AFTER_COMMA),e,_.IMPORT_BRACE_INTIAL,_.IMPORT_BRACE_FINAL,_.IMPORT_BRACE_EMPTY)),0===i.length?v(this.t("import"),this.sep(_.BEFORE_IMPORT_MODULE),this.t((0,u.escapeStringLiteral)(e.moduleSpecifier)),this.semiOp(),this.sep(_.AFTER_STATEMENT(e))):v(this.t("import"),this.sep(_.BEFORE_IMPORT_BINDINGS),this.commaSep(i,_.IMPORT_BEFORE_COMMA,_.IMPORT_AFTER_COMMA),this.sep(_.AFTER_IMPORT_BINDINGS),this.t("from"),this.sep(_.AFTER_FROM),this.t((0,u.escapeStringLiteral)(e.moduleSpecifier)),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceImportNamespace",value:function(e,t){var n=t.defaultBinding,r=t.namespaceBinding;return v(this.t("import"),this.sep(_.BEFORE_IMPORT_NAMESPACE),null==n?h():v(n,this.sep(_.IMPORT_BEFORE_COMMA),this.t(","),this.sep(_.IMPORT_AFTER_COMMA)),this.sep(_.BEFORE_IMPORT_STAR),this.t("*"),this.sep(_.AFTER_IMPORT_STAR),this.t("as"),this.sep(_.AFTER_IMPORT_AS),r,this.sep(_.AFTER_NAMESPACE_BINDING),this.t("from"),this.sep(_.AFTER_FROM),this.t((0,u.escapeStringLiteral)(e.moduleSpecifier)),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceImportSpecifier",value:function(e,t){var n=t.binding;return null==e.name?n:v(this.t(e.name),this.sep(_.BEFORE_IMPORT_AS),this.t("as"),this.sep(_.AFTER_IMPORT_AS),n)}},{key:"reduceExportAllFrom",value:function(e){return v(this.t("export"),this.sep(_.BEFORE_EXPORT_STAR),this.t("*"),this.sep(_.AFTER_EXPORT_STAR),this.t("from"),this.sep(_.AFTER_FROM),this.t((0,u.escapeStringLiteral)(e.moduleSpecifier)),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceExportFrom",value:function(e,t){var n=t.namedExports;return v(this.t("export"),this.sep(_.BEFORE_EXPORT_BINDINGS),this.brace(this.commaSep(n,_.EXPORTS_BEFORE_COMMA,_.EXPORTS_AFTER_COMMA),e,_.EXPORT_BRACE_INITIAL,_.EXPORT_BRACE_FINAL,_.EXPORT_BRACE_EMPTY),this.sep(_.AFTER_EXPORT_FROM_BINDINGS),this.t("from"),this.sep(_.AFTER_FROM),this.t((0,u.escapeStringLiteral)(e.moduleSpecifier)),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceExportLocals",value:function(e,t){var n=t.namedExports;return v(this.t("export"),this.sep(_.BEFORE_EXPORT_BINDINGS),this.brace(this.commaSep(n,_.EXPORTS_BEFORE_COMMA,_.EXPORTS_AFTER_COMMA),e,_.EXPORT_BRACE_INITIAL,_.EXPORT_BRACE_FINAL,_.EXPORT_BRACE_EMPTY),this.sep(_.AFTER_EXPORT_LOCAL_BINDINGS),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceExport",value:function(e,t){var n=t.declaration;switch(e.declaration.type){case"FunctionDeclaration":case"ClassDeclaration":break;default:n=v(n,this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}return v(this.t("export"),this.sep(_.AFTER_EXPORT),n)}},{key:"reduceExportDefault",value:function(e,t){var n=t.body;switch(n=n.startsWithFunctionOrClass?this.paren(n,_.EXPORT_PAREN_BEFORE,_.EXPORT_PAREN_AFTER):n,e.body.type){case"FunctionDeclaration":case"ClassDeclaration":return v(this.t("export"),this.sep(_.EXPORT_DEFAULT),this.t("default"),this.sep(_.AFTER_EXPORT_DEFAULT),n);default:return v(this.t("export"),this.sep(_.EXPORT_DEFAULT),this.t("default"),this.sep(_.AFTER_EXPORT_DEFAULT),this.p(e.body,u.Precedence.Assignment,n),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}}},{key:"reduceExportFromSpecifier",value:function(e){return null==e.exportedName?this.t(e.name):v(this.t(e.name),this.sep(_.BEFORE_EXPORT_AS),this.t("as"),this.sep(_.AFTER_EXPORT_AS),this.t(e.exportedName))}},{key:"reduceExportLocalSpecifier",value:function(e,t){var n=t.name;return null==e.exportedName?n:v(n,this.sep(_.BEFORE_EXPORT_AS),this.t("as"),this.sep(_.AFTER_EXPORT_AS),this.t(e.exportedName))}},{key:"reduceLabeledStatement",value:function(e,t){var n=t.body;return(0,a.default)(v(this.t(e.label),this.sep(_.BEFORE_LABEL_COLON),this.t(":"),this.sep(_.AFTER_LABEL_COLON),n),{endsWithMissingElse:n.endsWithMissingElse})}},{key:"reduceLiteralBooleanExpression",value:function(e){return this.t(e.value.toString())}},{key:"reduceLiteralNullExpression",value:function(){return this.t("null")}},{key:"reduceLiteralInfinityExpression",value:function(){return this.t("2e308")}},{key:"reduceLiteralNumericExpression",value:function(e){return new u.NumberCodeRep(e.value)}},{key:"reduceLiteralRegExpExpression",value:function(e){return this.t("/"+e.pattern+"/"+(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiLine?"m":"")+(e.dotAll?"s":"")+(e.unicode?"u":"")+(e.sticky?"y":""),!0)}},{key:"reduceLiteralStringExpression",value:function(e){return this.t((0,u.escapeStringLiteral)(e.value))}},{key:"reduceMethod",value:function(e,t){var n=t.name,r=t.params,i=t.body;return v(e.isAsync?v(this.t("async"),this.sep(_.AFTER_METHOD_ASYNC)):h(),e.isGenerator?v(this.t("*"),this.sep(_.AFTER_METHOD_GENERATOR_STAR)):h(),n,this.sep(_.AFTER_METHOD_NAME),this.paren(r,_.PARAMETERS_PAREN_BEFORE,_.PARAMETERS_PAREN_AFTER,_.PARAMETERS_PAREN_EMPTY),this.sep(_.BEFORE_METHOD_BODY),this.brace(i,e,_.METHOD_BRACE_INTIAL,_.METHOD_BRACE_FINAL,_.METHOD_BRACE_EMPTY))}},{key:"reduceModule",value:function(e,t){var n=t.directives,r=t.items;return r.length&&(r[0]=this.parenToAvoidBeingDirective(e.items[0],r[0])),v.apply(void 0,c(n).concat([n.length?this.sep(_.AFTER_MODULE_DIRECTIVES):h()],c(r)))}},{key:"reduceNewExpression",value:function(e,t){var n=this,r=t.callee,i=t.arguments,o=i.map((function(t,r){return n.p(e.arguments[r],u.Precedence.Assignment,t)})),a=(0,u.getPrecedence)(e.callee)===u.Precedence.Call?this.paren(r,_.NEW_CALLEE_PAREN_BEFORE,_.NEW_CALLEE_PAREN_AFTER):this.p(e.callee,(0,u.getPrecedence)(e),r);return v(this.t("new"),this.sep(_.AFTER_NEW),a,0===i.length?this.sep(_.EMPTY_NEW_CALL):v(this.sep(_.BEFORE_NEW_ARGS),this.paren(this.commaSep(o,_.ARGS_BEFORE_COMMA,_.ARGS_AFTER_COMMA),_.NEW_PAREN_BEFORE,_.NEW_PAREN_AFTER,_.NEW_PAREN_EMPTY)))}},{key:"reduceNewTargetExpression",value:function(){return v(this.t("new"),this.sep(_.NEW_TARGET_BEFORE_DOT),this.t("."),this.sep(_.NEW_TARGET_AFTER_DOT),this.t("target"))}},{key:"reduceObjectExpression",value:function(e,t){var n=t.properties,r=this.brace(this.commaSep(n,_.OBJECT_BEFORE_COMMA,_.OBJECT_AFTER_COMMA),e,_.OBJECT_BRACE_INITIAL,_.OBJECT_BRACE_FINAL,_.OBJECT_EMPTY);return r.startsWithCurly=!0,r}},{key:"reduceUpdateExpression",value:function(e,t){var n=t.operand;return e.isPrefix?this.reduceUnaryExpression.apply(this,arguments):(0,a.default)(v(this.p(e.operand,u.Precedence.New,n),this.sep(_.BEFORE_POSTFIX(e.operator)),this.t(e.operator)),{startsWithCurly:n.startsWithCurly,startsWithLetSquareBracket:n.startsWithLetSquareBracket,startsWithFunctionOrClass:n.startsWithFunctionOrClass})}},{key:"reduceUnaryExpression",value:function(e,t){var n=t.operand;return v(this.t(e.operator),this.sep(_.UNARY(e.operator)),this.p(e.operand,(0,u.getPrecedence)(e),n))}},{key:"reduceReturnStatement",value:function(e,t){var n=t.expression;return v(this.t("return"),n?v(this.sep(_.RETURN),n):h(),this.semiOp(),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceScript",value:function(e,t){var n=t.directives,r=t.statements;return r.length&&(r[0]=this.parenToAvoidBeingDirective(e.statements[0],r[0])),v.apply(void 0,c(n).concat([n.length?this.sep(_.AFTER_SCRIPT_DIRECTIVES):h()],c(r)))}},{key:"reduceSetter",value:function(e,t){var n=t.name,r=t.param,i=t.body;return v(this.t("set"),this.sep(_.AFTER_SET),n,this.sep(_.BEFORE_SET_PARAMS),this.paren(r,_.SETTER_PARAM_BEFORE,_.SETTER_PARAM_AFTER),this.sep(_.BEFORE_SET_BODY),this.brace(i,e,_.SET_BRACE_INTIIAL,_.SET_BRACE_FINAL,_.SET_BRACE_EMPTY))}},{key:"reduceShorthandProperty",value:function(e,t){return t.name}},{key:"reduceStaticMemberAssignmentTarget",value:function(e,t){var n=t.object,r=v(this.p(e.object,(0,u.getPrecedence)(e),n),this.sep(_.BEFORE_STATIC_MEMBER_ASSIGNMENT_TARGET_DOT),this.t("."),this.sep(_.AFTER_STATIC_MEMBER_ASSIGNMENT_TARGET_DOT),this.t(e.property));return r.startsWithLet=n.startsWithLet,r.startsWithCurly=n.startsWithCurly,r.startsWithLetSquareBracket=n.startsWithLetSquareBracket,r.startsWithFunctionOrClass=n.startsWithFunctionOrClass,r}},{key:"reduceStaticMemberExpression",value:function(e,t){var n=t.object,r=v(this.p(e.object,(0,u.getPrecedence)(e),n),this.sep(_.BEFORE_STATIC_MEMBER_DOT),this.t("."),this.sep(_.AFTER_STATIC_MEMBER_DOT),this.t(e.property));return r.startsWithLet=n.startsWithLet,r.startsWithCurly=n.startsWithCurly,r.startsWithLetSquareBracket=n.startsWithLetSquareBracket,r.startsWithFunctionOrClass=n.startsWithFunctionOrClass,r}},{key:"reduceStaticPropertyName",value:function(e){if(s.keyword.isIdentifierNameES6(e.value))return this.t(e.value);var t=parseFloat(e.value);return t>=0&&t.toString()===e.value?new u.NumberCodeRep(t):this.t((0,u.escapeStringLiteral)(e.value))}},{key:"reduceSuper",value:function(){return this.t("super")}},{key:"reduceSwitchCase",value:function(e,t){var n=t.test,r=t.consequent;return v(this.t("case"),this.sep(_.BEFORE_CASE_TEST),n,this.sep(_.AFTER_CASE_TEST),this.t(":"),this.sep(_.BEFORE_CASE_BODY),v.apply(void 0,c(r)),this.sep(_.AFTER_CASE_BODY))}},{key:"reduceSwitchDefault",value:function(e,t){var n=t.consequent;return v(this.t("default"),this.sep(_.DEFAULT),this.t(":"),this.sep(_.BEFORE_CASE_BODY),v.apply(void 0,c(n)),this.sep(_.AFTER_DEFAULT_BODY))}},{key:"reduceSwitchStatement",value:function(e,t){var n=t.discriminant,r=t.cases;return v(this.t("switch"),this.sep(_.BEFORE_SWITCH_DISCRIM),this.paren(n,_.SWITCH_DISCRIM_PAREN_BEFORE,_.SWITCH_DISCRIM_PAREN_AFTER),this.sep(_.BEFORE_SWITCH_BODY),this.brace(v.apply(void 0,c(r)),e,_.SWITCH_BRACE_INTIAL,_.SWITCH_BRACE_FINAL,_.SWITCH_BRACE_EMPTY),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceSwitchStatementWithDefault",value:function(e,t){var n=t.discriminant,r=t.preDefaultCases,i=t.defaultCase,o=t.postDefaultCases;return v(this.t("switch"),this.sep(_.BEFORE_SWITCH_DISCRIM),this.paren(n,_.SWITCH_DISCRIM_PAREN_BEFORE,_.SWITCH_DISCRIM_PAREN_AFTER),this.sep(_.BEFORE_SWITCH_BODY),this.brace(v.apply(void 0,c(r).concat([i],c(o))),e,_.SWITCH_BRACE_INTIAL,_.SWITCH_BRACE_FINAL,_.SWITCH_BRACE_EMPTY),this.sep(_.AFTER_STATEMENT(e)))}},{key:"reduceTemplateExpression",value:function(e,t){var n=t.tag,r=t.elements,i=null==e.tag?h():v(this.p(e.tag,(0,u.getPrecedence)(e),n),this.sep(_.TEMPLATE_TAG));i=v(i,this.t("`"));for(var o=0,a=e.elements.length;o0&&(s+="}"),s+=e.elements[o].rawValue,o1&&void 0!==arguments[1]?arguments[1]:new c.default,n=new u.TokenStream,r=(0,s.default)(t,e);return r.emit(n),n.result};var r=n(8266);Object.defineProperty(t,"MinimalCodeGen",{enumerable:!0,get:function(){return l(r).default}});var i=n(6845);Object.defineProperty(t,"ExtensibleCodeGen",{enumerable:!0,get:function(){return i.ExtensibleCodeGen}}),Object.defineProperty(t,"FormattedCodeGen",{enumerable:!0,get:function(){return i.FormattedCodeGen}}),Object.defineProperty(t,"Sep",{enumerable:!0,get:function(){return i.Sep}});var o=n(3350);Object.defineProperty(t,"Precedence",{enumerable:!0,get:function(){return o.Precedence}}),Object.defineProperty(t,"getPrecedence",{enumerable:!0,get:function(){return o.getPrecedence}}),Object.defineProperty(t,"escapeStringLiteral",{enumerable:!0,get:function(){return o.escapeStringLiteral}}),Object.defineProperty(t,"CodeRep",{enumerable:!0,get:function(){return o.CodeRep}}),Object.defineProperty(t,"Empty",{enumerable:!0,get:function(){return o.Empty}}),Object.defineProperty(t,"Token",{enumerable:!0,get:function(){return o.Token}}),Object.defineProperty(t,"NumberCodeRep",{enumerable:!0,get:function(){return o.NumberCodeRep}}),Object.defineProperty(t,"Paren",{enumerable:!0,get:function(){return o.Paren}}),Object.defineProperty(t,"Bracket",{enumerable:!0,get:function(){return o.Bracket}}),Object.defineProperty(t,"Brace",{enumerable:!0,get:function(){return o.Brace}}),Object.defineProperty(t,"NoIn",{enumerable:!0,get:function(){return o.NoIn}}),Object.defineProperty(t,"ContainsIn",{enumerable:!0,get:function(){return o.ContainsIn}}),Object.defineProperty(t,"Seq",{enumerable:!0,get:function(){return o.Seq}}),Object.defineProperty(t,"Semi",{enumerable:!0,get:function(){return o.Semi}}),Object.defineProperty(t,"CommaSep",{enumerable:!0,get:function(){return o.CommaSep}}),Object.defineProperty(t,"SemiOp",{enumerable:!0,get:function(){return o.SemiOp}});var a=n(5733);Object.defineProperty(t,"codeGenWithLocation",{enumerable:!0,get:function(){return l(a).default}});var s=l(n(4041)),u=n(7898),c=l(r);function l(e){return e&&e.__esModule?e:{default:e}}},8266:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];return new u.Token(e,t)}function f(e){return new u.Paren(e)}function d(e){return new u.Brace(e)}function h(e){return new u.Bracket(e)}function m(e){return new u.NoIn(e)}function y(e){return e.containsIn?new u.ContainsIn(e):e}function v(){for(var e=arguments.length,t=Array(e),n=0;n0&&null==n[n.length-1]&&(r=v(r,p(","))),h(r)}},{key:"reduceAwaitExpression",value:function(e,t){var n=t.expression;return v(p("await"),l(e.expression,(0,u.getPrecedence)(e),n))}},{key:"reduceSpreadElement",value:function(e,t){var n=t.expression;return v(p("..."),l(e.expression,u.Precedence.Assignment,n))}},{key:"reduceSpreadProperty",value:function(e,t){var n=t.expression;return v(p("..."),b(n))}},{key:"reduceAssignmentExpression",value:function(e,t){var n=t.binding,r=t.expression,i=n,o=r,s=r.containsIn,c=n.startsWithCurly,l=n.startsWithLetSquareBracket,d=n.startsWithFunctionOrClass;return(0,u.getPrecedence)(e.expression)<(0,u.getPrecedence)(e)&&(o=f(o),s=!1),(0,a.default)(v(i,p("="),o),{containsIn:s,startsWithCurly:c,startsWithLetSquareBracket:l,startsWithFunctionOrClass:d})}},{key:"reduceAssignmentTargetIdentifier",value:function(e){var t=p(e.name);return"let"===e.name&&(t.startsWithLet=!0),t}},{key:"reduceAssignmentTargetWithDefault",value:function(e,t){var n=t.binding,r=t.init;return v(n,p("="),l(e.init,u.Precedence.Assignment,r))}},{key:"reduceCompoundAssignmentExpression",value:function(e,t){var n=t.binding,r=t.expression,i=n,o=r,s=r.containsIn,c=n.startsWithCurly,l=n.startsWithLetSquareBracket,d=n.startsWithFunctionOrClass;return(0,u.getPrecedence)(e.expression)<(0,u.getPrecedence)(e)&&(o=f(o),s=!1),(0,a.default)(v(i,p(e.operator),o),{containsIn:s,startsWithCurly:c,startsWithLetSquareBracket:l,startsWithFunctionOrClass:d})}},{key:"reduceBinaryExpression",value:function(e,t){var n=t.left,r=t.right,i=n,o=n.startsWithCurly,s=n.startsWithLetSquareBracket,c=n.startsWithFunctionOrClass,l=n.containsIn,d="**"===e.operator;((0,u.getPrecedence)(e.left)<(0,u.getPrecedence)(e)||d&&((0,u.getPrecedence)(e.left)===(0,u.getPrecedence)(e)||"UnaryExpression"===e.left.type))&&(i=f(i),o=!1,s=!1,c=!1,l=!1);var h=r,m=r.containsIn;return((0,u.getPrecedence)(e.right)<(0,u.getPrecedence)(e)||!d&&(0,u.getPrecedence)(e.right)===(0,u.getPrecedence)(e))&&(h=f(h),m=!1),(0,a.default)(v(i,p(e.operator),h),{containsIn:l||m||"in"===e.operator,containsGroup:","===e.operator,startsWithCurly:o,startsWithLetSquareBracket:s,startsWithFunctionOrClass:c})}},{key:"reduceBindingWithDefault",value:function(e,t){var n=t.binding,r=t.init;return v(n,p("="),l(e.init,u.Precedence.Assignment,r))}},{key:"reduceBindingIdentifier",value:function(e){var t=p(e.name);return"let"===e.name&&(t.startsWithLet=!0),t}},{key:"reduceArrayAssignmentTarget",value:function(e,t){var n=t.elements,r=t.rest,i=void 0;return 0===n.length?i=null==r?E():v(p("..."),r):(i=D((n=n.concat(null==r?[]:[v(p("..."),r)])).map(b)),n.length>0&&null==n[n.length-1]&&(i=v(i,p(",")))),h(i)}},{key:"reduceArrayBinding",value:function(e,t){var n=t.elements,r=t.rest,i=void 0;return 0===n.length?i=null==r?E():v(p("..."),r):(i=D((n=n.concat(null==r?[]:[v(p("..."),r)])).map(b)),n.length>0&&null==n[n.length-1]&&(i=v(i,p(",")))),h(i)}},{key:"reduceObjectAssignmentTarget",value:function(e,t){var n=t.properties,r=t.rest,i=D(n),o=d(i=0===n.length?null==r?E():v(p("..."),r):null==r?i:v(i,p(","),p("..."),r));return o.startsWithCurly=!0,o}},{key:"reduceObjectBinding",value:function(e,t){var n=t.properties,r=t.rest,i=D(n),o=d(i=0===n.length?null==r?E():v(p("..."),r):null==r?i:v(i,p(","),p("..."),r));return o.startsWithCurly=!0,o}},{key:"reduceAssignmentTargetPropertyIdentifier",value:function(e,t){var n=t.binding,r=t.init;return null==e.init?n:v(n,p("="),l(e.init,u.Precedence.Assignment,r))}},{key:"reduceAssignmentTargetPropertyProperty",value:function(e,t){var n=t.name,r=t.binding;return v(n,p(":"),r)}},{key:"reduceBindingPropertyIdentifier",value:function(e,t){var n=t.binding,r=t.init;return null==e.init?n:v(n,p("="),l(e.init,u.Precedence.Assignment,r))}},{key:"reduceBindingPropertyProperty",value:function(e,t){var n=t.name,r=t.binding;return v(n,p(":"),r)}},{key:"reduceBlock",value:function(e,t){var n=t.statements;return d(v.apply(void 0,c(n)))}},{key:"reduceBlockStatement",value:function(e,t){return t.block}},{key:"reduceBreakStatement",value:function(e){return v(p("break"),e.label?p(e.label):E(),_())}},{key:"reduceCallExpression",value:function(e,t){var n=t.callee,r=t.arguments.map((function(t,n){return l(e.arguments[n],u.Precedence.Assignment,t)}));return(0,a.default)(v(l(e.callee,(0,u.getPrecedence)(e),n),f(D(r))),{startsWithCurly:n.startsWithCurly,startsWithLet:n.startsWithLet,startsWithLetSquareBracket:n.startsWithLetSquareBracket,startsWithFunctionOrClass:n.startsWithFunctionOrClass})}},{key:"reduceCatchClause",value:function(e,t){var n=t.binding,r=t.body;return v(p("catch"),f(n),r)}},{key:"reduceClassDeclaration",value:function(e,t){var n=t.name,r=t.super,i=t.elements,o=v(p("class"),"*default*"===e.name.name?E():n);return null!=r&&(o=v(o,p("extends"),l(e.super,u.Precedence.New,r))),o=v.apply(void 0,[o,p("{")].concat(c(i),[p("}")]))}},{key:"reduceClassExpression",value:function(e,t){var n=t.name,r=t.super,i=t.elements,o=p("class");return null!=n&&(o=v(o,n)),null!=r&&(o=v(o,p("extends"),l(e.super,u.Precedence.New,r))),(o=v.apply(void 0,[o,p("{")].concat(c(i),[p("}")]))).startsWithFunctionOrClass=!0,o}},{key:"reduceClassElement",value:function(e,t){var n=t.method;return e.isStatic?v(p("static"),n):n}},{key:"reduceComputedMemberAssignmentTarget",value:function(e,t){var n=t.object,r=t.expression,i=n.startsWithLetSquareBracket||"IdentifierExpression"===e.object.type&&"let"===e.object.name;return(0,a.default)(v(l(e.object,(0,u.getPrecedence)(e),n),h(r)),{startsWithLet:n.startsWithLet,startsWithLetSquareBracket:i,startsWithCurly:n.startsWithCurly,startsWithFunctionOrClass:n.startsWithFunctionOrClass})}},{key:"reduceComputedMemberExpression",value:function(e,t){var n=t.object,r=t.expression,i=n.startsWithLetSquareBracket||"IdentifierExpression"===e.object.type&&"let"===e.object.name;return(0,a.default)(v(l(e.object,(0,u.getPrecedence)(e),n),h(r)),{startsWithLet:n.startsWithLet,startsWithLetSquareBracket:i,startsWithCurly:n.startsWithCurly,startsWithFunctionOrClass:n.startsWithFunctionOrClass})}},{key:"reduceComputedPropertyName",value:function(e,t){var n=t.expression;return h(l(e.expression,u.Precedence.Assignment,n))}},{key:"reduceConditionalExpression",value:function(e,t){var n=t.test,r=t.consequent,i=t.alternate,o=n.containsIn||i.containsIn,s=n.startsWithCurly,c=n.startsWithLetSquareBracket,f=n.startsWithFunctionOrClass;return(0,a.default)(v(l(e.test,u.Precedence.LogicalOR,n),p("?"),l(e.consequent,u.Precedence.Assignment,r),p(":"),l(e.alternate,u.Precedence.Assignment,i)),{containsIn:o,startsWithCurly:s,startsWithLetSquareBracket:c,startsWithFunctionOrClass:f})}},{key:"reduceContinueStatement",value:function(e){return v(p("continue"),e.label?p(e.label):E(),_())}},{key:"reduceDataProperty",value:function(e,t){var n=t.name,r=t.expression;return v(n,p(":"),b(r))}},{key:"reduceDebuggerStatement",value:function(){return v(p("debugger"),_())}},{key:"reduceDoWhileStatement",value:function(e,t){var n=t.body,r=t.test;return v(p("do"),n,p("while"),f(r),_())}},{key:"reduceEmptyStatement",value:function(){return g()}},{key:"reduceExpressionStatement",value:function(e,t){var n=t.expression;return v(n.startsWithCurly||n.startsWithLetSquareBracket||n.startsWithFunctionOrClass?f(n):n,_())}},{key:"reduceForInStatement",value:function(e,t){var n=t.left,r=t.right,i=t.body;return n="VariableDeclaration"===e.left.type?m(y(n)):n,(0,a.default)(v(p("for"),f(v(n.startsWithLet?f(n):n,p("in"),r)),i),{endsWithMissingElse:i.endsWithMissingElse})}},{key:"reduceForOfStatement",value:function(e,t){var n=t.left,r=t.right,i=t.body;return n="VariableDeclaration"===e.left.type?m(y(n)):n,(0,a.default)(v(p("for"),f(v(n.startsWithLet?f(n):n,p("of"),l(e.right,u.Precedence.Assignment,r))),i),{endsWithMissingElse:i.endsWithMissingElse})}},{key:"reduceForStatement",value:function(e,t){var n=t.init,r=t.test,i=t.update,o=t.body;return n&&(n.startsWithLetSquareBracket&&(n=f(n)),n=m(y(n))),(0,a.default)(v(p("for"),f(v(n||E(),g(),r||E(),g(),i||E())),o),{endsWithMissingElse:o.endsWithMissingElse})}},{key:"reduceForAwaitStatement",value:function(e,t){var n=t.left,r=t.right,i=t.body;return n="VariableDeclaration"===e.left.type?m(y(n)):n,(0,a.default)(v(p("for"),p("await"),f(v(n.startsWithLet?f(n):n,p("of"),l(e.right,u.Precedence.Assignment,r))),i),{endsWithMissingElse:i.endsWithMissingElse})}},{key:"reduceFunctionBody",value:function(e,t){var n=t.directives,r=t.statements;return r.length&&(r[0]=this.parenToAvoidBeingDirective(e.statements[0],r[0])),d(v.apply(void 0,c(n).concat(c(r))))}},{key:"reduceFunctionDeclaration",value:function(e,t){var n=t.name,r=t.params,i=t.body;return v(e.isAsync?p("async"):E(),p("function"),e.isGenerator?p("*"):E(),"*default*"===e.name.name?E():n,r,i)}},{key:"reduceFunctionExpression",value:function(e,t){var n=t.name,r=t.params,i=t.body,o=v(e.isAsync?p("async"):E(),p("function"),e.isGenerator?p("*"):E(),n||E(),r,i);return o.startsWithFunctionOrClass=!0,o}},{key:"reduceFormalParameters",value:function(e,t){var n=t.items,r=t.rest;return f(D(n.concat(null==r?[]:[v(p("..."),r)])))}},{key:"reduceArrowExpression",value:function(e,t){var n=t.params,r=t.body;n=this.regenerateArrowParams(e.params,n);var i=!1;return"FunctionBody"!==e.body.type&&(r.startsWithCurly?r=f(r):r.containsIn&&(i=!0)),(0,a.default)(v(e.isAsync?p("async"):E(),n,p("=>"),l(e.body,u.Precedence.Assignment,r)),{containsIn:i})}},{key:"reduceGetter",value:function(e,t){var n=t.name,r=t.body;return v(p("get"),n,f(E()),r)}},{key:"reduceIdentifierExpression",value:function(e){var t=p(e.name);return"let"===e.name&&(t.startsWithLet=!0),t}},{key:"reduceIfStatement",value:function(e,t){var n=t.test,r=t.consequent,i=t.alternate;return i&&r.endsWithMissingElse&&(r=d(r)),(0,a.default)(v(p("if"),f(n),r,i?v(p("else"),i):E()),{endsWithMissingElse:!i||i.endsWithMissingElse})}},{key:"reduceImport",value:function(e,t){var n=t.defaultBinding,r=t.namedImports,i=[];return null!=n&&i.push(n),r.length>0&&i.push(d(D(r))),0===i.length?v(p("import"),p((0,u.escapeStringLiteral)(e.moduleSpecifier)),_()):v(p("import"),D(i),p("from"),p((0,u.escapeStringLiteral)(e.moduleSpecifier)),_())}},{key:"reduceImportNamespace",value:function(e,t){var n=t.defaultBinding,r=t.namespaceBinding;return v(p("import"),null==n?E():v(n,p(",")),p("*"),p("as"),r,p("from"),p((0,u.escapeStringLiteral)(e.moduleSpecifier)),_())}},{key:"reduceImportSpecifier",value:function(e,t){var n=t.binding;return null==e.name?n:v(p(e.name),p("as"),n)}},{key:"reduceExportAllFrom",value:function(e){return v(p("export"),p("*"),p("from"),p((0,u.escapeStringLiteral)(e.moduleSpecifier)),_())}},{key:"reduceExportFrom",value:function(e,t){var n=t.namedExports;return v(p("export"),d(D(n)),p("from"),p((0,u.escapeStringLiteral)(e.moduleSpecifier)),_())}},{key:"reduceExportLocals",value:function(e,t){var n=t.namedExports;return v(p("export"),d(D(n)),_())}},{key:"reduceExport",value:function(e,t){var n=t.declaration;switch(e.declaration.type){case"FunctionDeclaration":case"ClassDeclaration":break;default:n=v(n,_())}return v(p("export"),n)}},{key:"reduceExportDefault",value:function(e,t){var n=t.body;switch(n=n.startsWithFunctionOrClass?f(n):n,e.body.type){case"FunctionDeclaration":case"ClassDeclaration":return v(p("export default"),n);default:return v(p("export default"),l(e.body,u.Precedence.Assignment,n),_())}}},{key:"reduceExportFromSpecifier",value:function(e){return null==e.exportedName?p(e.name):v(p(e.name),p("as"),p(e.exportedName))}},{key:"reduceExportLocalSpecifier",value:function(e,t){var n=t.name;return null==e.exportedName?n:v(n,p("as"),p(e.exportedName))}},{key:"reduceLabeledStatement",value:function(e,t){var n=t.body;return(0,a.default)(v(p(e.label+":"),n),{endsWithMissingElse:n.endsWithMissingElse})}},{key:"reduceLiteralBooleanExpression",value:function(e){return p(e.value.toString())}},{key:"reduceLiteralNullExpression",value:function(){return p("null")}},{key:"reduceLiteralInfinityExpression",value:function(){return p("2e308")}},{key:"reduceLiteralNumericExpression",value:function(e){return new u.NumberCodeRep(e.value)}},{key:"reduceLiteralRegExpExpression",value:function(e){return p("/"+e.pattern+"/"+(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiLine?"m":"")+(e.dotAll?"s":"")+(e.unicode?"u":"")+(e.sticky?"y":""),!0)}},{key:"reduceLiteralStringExpression",value:function(e){return p((0,u.escapeStringLiteral)(e.value))}},{key:"reduceMethod",value:function(e,t){var n=t.name,r=t.params,i=t.body;return v(e.isAsync?p("async"):E(),e.isGenerator?p("*"):E(),n,r,i)}},{key:"reduceModule",value:function(e,t){var n=t.directives,r=t.items;return r.length&&(r[0]=this.parenToAvoidBeingDirective(e.items[0],r[0])),v.apply(void 0,c(n).concat(c(r)))}},{key:"reduceNewExpression",value:function(e,t){var n=t.callee,r=t.arguments,i=r.map((function(t,n){return l(e.arguments[n],u.Precedence.Assignment,t)})),o=(0,u.getPrecedence)(e.callee)===u.Precedence.Call?f(n):l(e.callee,(0,u.getPrecedence)(e),n);return v(p("new"),o,0===r.length?E():f(D(i)))}},{key:"reduceNewTargetExpression",value:function(){return p("new.target")}},{key:"reduceObjectExpression",value:function(e,t){var n=d(D(t.properties));return n.startsWithCurly=!0,n}},{key:"reduceUpdateExpression",value:function(e,t){var n=t.operand;return e.isPrefix?this.reduceUnaryExpression.apply(this,arguments):(0,a.default)(v(l(e.operand,u.Precedence.New,n),p(e.operator)),{startsWithCurly:n.startsWithCurly,startsWithLetSquareBracket:n.startsWithLetSquareBracket,startsWithFunctionOrClass:n.startsWithFunctionOrClass})}},{key:"reduceUnaryExpression",value:function(e,t){var n=t.operand;return v(p(e.operator),l(e.operand,(0,u.getPrecedence)(e),n))}},{key:"reduceReturnStatement",value:function(e,t){var n=t.expression;return v(p("return"),n||E(),_())}},{key:"reduceScript",value:function(e,t){var n=t.directives,r=t.statements;return r.length&&(r[0]=this.parenToAvoidBeingDirective(e.statements[0],r[0])),v.apply(void 0,c(n).concat(c(r)))}},{key:"reduceSetter",value:function(e,t){var n=t.name,r=t.param,i=t.body;return v(p("set"),n,f(r),i)}},{key:"reduceShorthandProperty",value:function(e,t){return t.name}},{key:"reduceStaticMemberAssignmentTarget",value:function(e,t){var n=t.object,r=v(l(e.object,(0,u.getPrecedence)(e),n),p("."),p(e.property));return r.startsWithLet=n.startsWithLet,r.startsWithCurly=n.startsWithCurly,r.startsWithLetSquareBracket=n.startsWithLetSquareBracket,r.startsWithFunctionOrClass=n.startsWithFunctionOrClass,r}},{key:"reduceStaticMemberExpression",value:function(e,t){var n=t.object,r=v(l(e.object,(0,u.getPrecedence)(e),n),p("."),p(e.property));return r.startsWithLet=n.startsWithLet,r.startsWithCurly=n.startsWithCurly,r.startsWithLetSquareBracket=n.startsWithLetSquareBracket,r.startsWithFunctionOrClass=n.startsWithFunctionOrClass,r}},{key:"reduceStaticPropertyName",value:function(e){if(s.keyword.isIdentifierNameES6(e.value))return p(e.value);var t=parseFloat(e.value);return t>=0&&t.toString()===e.value?new u.NumberCodeRep(t):p((0,u.escapeStringLiteral)(e.value))}},{key:"reduceSuper",value:function(){return p("super")}},{key:"reduceSwitchCase",value:function(e,t){var n=t.test,r=t.consequent;return v(p("case"),n,p(":"),v.apply(void 0,c(r)))}},{key:"reduceSwitchDefault",value:function(e,t){var n=t.consequent;return v(p("default:"),v.apply(void 0,c(n)))}},{key:"reduceSwitchStatement",value:function(e,t){var n=t.discriminant,r=t.cases;return v(p("switch"),f(n),d(v.apply(void 0,c(r))))}},{key:"reduceSwitchStatementWithDefault",value:function(e,t){var n=t.discriminant,r=t.preDefaultCases,i=t.defaultCase,o=t.postDefaultCases;return v(p("switch"),f(n),d(v.apply(void 0,c(r).concat([i],c(o)))))}},{key:"reduceTemplateExpression",value:function(e,t){var n=t.tag,r=t.elements,i=null==e.tag?E():l(e.tag,(0,u.getPrecedence)(e),n);i=v(i,p("`"));for(var o=0,a=e.elements.length;o0?p("}"):E(),r[o],o=1e3&&e%10===0?(t=e.toString(10),/[eE]/.test(t)?t.replace(/[eE]\+/,"e"):e.toString(10).replace(/0{3,}$/,(function(e){return"e"+e.length}))):e%1===0?e>1e15&&e<1e20?"0x"+e.toString(16).toUpperCase():e.toString(10).replace(/[eE]\+/,"e"):e.toString(10).replace(/^0\./,".").replace(/[eE]\+/,"e")}(e);this.put(t),this.lastNumber=t}},{key:"putOptionalSemi",value:function(){this.optionalSemi=!0}},{key:"putRaw",value:function(e){this.result+=e,this.lastTokenStr=e}},{key:"put",value:function(e,t){if(this.optionalSemi&&(this.optionalSemi=!1,"}"!==e&&(this.result+=";",this.lastCodePoint=";",this.previousWasRegExp=!1)),null!==this.lastNumber&&1===e.length&&"."===e)return this.result+=a(this.lastNumber)?"..":".",this.lastNumber=null,void(this.lastCodePoint=".");var n=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0){this.lastNumber=null;var r=String.fromCodePoint(e.codePointAt(0)),i=this.lastCodePoint;this.lastCodePoint=String.fromCodePoint(e.codePointAt(n-1));var s=this.previousWasRegExp;this.previousWasRegExp=t,i&&(("+"===i||"-"===i)&&i===r||o(i)&&o(r)||"/"===i&&"/"===r||s&&"i"===r||this.partialHtmlComment&&e.startsWith("--"))&&(this.result+=" ")}this.partialHtmlComment=this.lastTokenStr.endsWith("<")&&"!"===e,this.result+=e,this.lastTokenStr=e}}]),e}()},3797:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.whitespaceArray=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],t.whitespaceBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!0,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],t.idStartLargeRegex=/^[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]$/,t.idStartBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!0,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1],t.idContinueLargeRegex=/^[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]$/,t.idContinueBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!0,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1]},5733:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:new c.default,n=new l,r=(0,a.reduce)(f(t),e);return r.emit(n),{source:n.result,locations:n.locations}};var o,a=n(4041),s=n(7898),u=n(8266),c=(o=u)&&o.__esModule?o:{default:o};var l=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.line=1,e.column=0,e.startingNodes=[],e.finishingStatements=[],e.lastNumberNode=null,e.locations=new WeakMap,e}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"putRaw",value:function(e){var n=this.result.length;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"putRaw",this).call(this,e),this.startNodes(e,n)}},{key:"put",value:function(e,n){if(this.optionalSemi&&"}"!==e){var r=!0,o=!1,a=void 0;try{for(var u,c=this.finishingStatements[Symbol.iterator]();!(r=(u=c.next()).done);r=!0){var l=u.value;++l.end.column,++l.end.offset}}catch(d){o=!0,a=d}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}}if(this.finishingStatements=[],null!==this.lastNumber&&"."===e&&(0,s.needsDoubleDot)(this.lastNumber)){var p=this.locations.get(this.lastNumberNode).end;++p.column,++p.offset}this.lastNumberNode=null;var f=this.result.length;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"put",this).call(this,e,n),this.startNodes(e,f)}},{key:"startNodes",value:function(e,t){for(var n=/\r\n?|[\n\u2028\u2029]/g,r=!1,i=void 0,o=this.line,a=this.column;i=n.exec(e);)++this.line,this.column=e.length-i.index-i[0].length,r=!0;r||(this.column+=this.result.length-t,a=this.column-e.length);var s=!0,u=!1,c=void 0;try{for(var l,p=this.startingNodes[Symbol.iterator]();!(s=(l=p.next()).done);s=!0){var f=l.value;this.locations.set(f,{start:{line:o,column:a,offset:this.result.length-e.length},end:null})}}catch(d){u=!0,c=d}finally{try{!s&&p.return&&p.return()}finally{if(u)throw c}}this.startingNodes=[]}},{key:"startEmit",value:function(e){this.startingNodes.push(e)}},{key:"finishEmit",value:function(e){var t;this.locations.get(e).end={line:this.line,column:this.column,offset:this.result.length},t=e.type,/(Import)|(Export)|(Statement)|(Directive)|(SwitchCase)|(SwitchDefault)/.test(t)&&this.finishingStatements.push(this.locations.get(e))}}]),t}(s.TokenStream);function p(e,t){var n=e.emit.bind(e);return"Script"===t.type||"Module"===t.type?e.emit=function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o1?r-1:0),o=1;o1?t-1:0),r=1;r1&&n.slice(1).forEach((function(n){t.addError(e(n))}))})),this}},{key:"enforceConflictingLexicallyDeclaredNames",value:function(e,t){var n=this;return this.lexicallyDeclaredNames.forEachEntry((function(r,i){e.has(i)&&r.forEach((function(e){n.addError(t(e))}))})),this}},{key:"observeFunctionDeclaration",value:function(){return this.observeVarBoundary(),u(this.functionDeclarationNames,this.boundNames),this.boundNames=new a.default,this}},{key:"functionDeclarationNamesAreLexical",value:function(){return u(this.lexicallyDeclaredNames,this.functionDeclarationNames),this.functionDeclarationNames=new a.default,this}},{key:"observeVarDeclaration",value:function(){return u(this.varDeclaredNames,this.boundNames),this.boundNames=new a.default,this}},{key:"recordForOfVars",value:function(){var e=this;return this.varDeclaredNames.forEach((function(t){e.forOfVarDeclaredNames.push(t)})),this}},{key:"observeVarBoundary",value:function(){return this.lexicallyDeclaredNames=new a.default,this.functionDeclarationNames=new a.default,this.varDeclaredNames=new a.default,this.forOfVarDeclaredNames=[],this}},{key:"exportName",value:function(e,t){return this.exportedNames.set(e,t),this}},{key:"exportDeclaredNames",value:function(){return u(this.exportedNames,this.lexicallyDeclaredNames,this.varDeclaredNames),u(this.exportedBindings,this.lexicallyDeclaredNames,this.varDeclaredNames),this}},{key:"exportBinding",value:function(e,t){return this.exportedBindings.set(e,t),this}},{key:"clearExportedBindings",value:function(){return this.exportedBindings=new a.default,this}},{key:"observeYieldExpression",value:function(e){return this.yieldExpressions.push(e),this}},{key:"clearYieldExpressions",value:function(){return this.yieldExpressions=[],this}},{key:"observeAwaitExpression",value:function(e){return this.awaitExpressions.push(e),this}},{key:"clearAwaitExpressions",value:function(){return this.awaitExpressions=[],this}},{key:"addError",value:function(e){return this.errors.push(e),this}},{key:"addStrictError",value:function(e){return this.strictErrors.push(e),this}},{key:"enforceStrictErrors",value:function(){return[].push.apply(this.errors,this.strictErrors),this.strictErrors=[],this}},{key:"concat",value:function(e){return this===c?e:(e===c||([].push.apply(this.errors,e.errors),[].push.apply(this.strictErrors,e.strictErrors),[].push.apply(this.usedLabelNames,e.usedLabelNames),[].push.apply(this.freeBreakStatements,e.freeBreakStatements),[].push.apply(this.freeContinueStatements,e.freeContinueStatements),[].push.apply(this.freeLabeledBreakStatements,e.freeLabeledBreakStatements),[].push.apply(this.freeLabeledContinueStatements,e.freeLabeledContinueStatements),[].push.apply(this.newTargetExpressions,e.newTargetExpressions),u(this.boundNames,e.boundNames),u(this.lexicallyDeclaredNames,e.lexicallyDeclaredNames),u(this.functionDeclarationNames,e.functionDeclarationNames),u(this.varDeclaredNames,e.varDeclaredNames),[].push.apply(this.forOfVarDeclaredNames,e.forOfVarDeclaredNames),u(this.exportedNames,e.exportedNames),u(this.exportedBindings,e.exportedBindings),[].push.apply(this.superCallExpressions,e.superCallExpressions),[].push.apply(this.superCallExpressionsInConstructorMethod,e.superCallExpressionsInConstructorMethod),[].push.apply(this.superPropertyExpressions,e.superPropertyExpressions),[].push.apply(this.yieldExpressions,e.yieldExpressions),[].push.apply(this.awaitExpressions,e.awaitExpressions)),this)}}],[{key:"empty",value:function(){return c}}]),e}();c=new l,Object.getOwnPropertyNames(l.prototype).forEach((function(e){"constructor"!==e&&Object.defineProperty(c,e,{value:function(){return l.prototype[e].apply(new l,arguments)},enumerable:!1,writable:!0,configurable:!0})}));t.EarlyError=function(e){function t(e,n){s(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.node=e,r.message=n,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Error),t}()},3950:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EarlyErrorChecker=void 0;var r,i=function(){function e(e,t){for(var n=0;n1&&n.slice(1).forEach((function(e){t=t.addError(new l.EarlyError(e,"Duplicate constructor method in class"))})),t}var v=function(e){return new l.EarlyError(e,c.ErrorMessages.ILLEGAL_SUPER_CALL)},g=function(e){return new l.EarlyError(e,"Member access on super must be in a method")},_=function(e){return new l.EarlyError(e,"Duplicate binding "+JSON.stringify(e.name))},E=function(e){return new l.EarlyError(e,"Continue statement must be nested within an iteration statement")},D=function(e){return new l.EarlyError(e,"Continue statement must be nested within an iteration statement with label "+JSON.stringify(e.label))},b=function(e){return new l.EarlyError(e,"Break statement must be nested within an iteration statement or a switch statement")},A=function(e){return new l.EarlyError(e,"Break statement must be nested within a statement with label "+JSON.stringify(e.label))};t.EarlyErrorChecker=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,l.EarlyErrorState))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"reduceAssignmentExpression",value:function(){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceAssignmentExpression",this).apply(this,arguments).clearBoundNames()}},{key:"reduceAssignmentTargetIdentifier",value:function(e){var t=this.identity;return("eval"===e.name||"arguments"===e.name||(0,u.isStrictModeReservedWord)(e.name))&&(t=t.addStrictError(new l.EarlyError(e,"The identifier "+JSON.stringify(e.name)+" must not be in binding position in strict mode"))),t}},{key:"reduceArrowExpression",value:function(e,n){var r=n.params,i=n.body,a=null==e.params.rest&&e.params.items.every((function(e){return"BindingIdentifier"===e.type}));r=r.enforceDuplicateLexicallyDeclaredNames(_),"FunctionBody"===e.body.type&&(i=i.enforceConflictingLexicallyDeclaredNames(r.lexicallyDeclaredNames,_),f(e.body)&&(r=r.enforceStrictErrors(),i=i.enforceStrictErrors())),r.yieldExpressions.forEach((function(e){r=r.addError(new l.EarlyError(e,"Arrow parameters must not contain yield expressions"))})),r.awaitExpressions.forEach((function(e){r=r.addError(new l.EarlyError(e,"Arrow parameters must not contain await expressions"))}));var s=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceArrowExpression",this).call(this,e,{params:r,body:i});return!a&&"FunctionBody"===e.body.type&&f(e.body)&&(s=s.addError(new l.EarlyError(e,'Functions with non-simple parameter lists may not contain a "use strict" directive'))),s=(s=(s=s.clearYieldExpressions()).clearAwaitExpressions()).observeVarBoundary()}},{key:"reduceAwaitExpression",value:function(e,t){return t.expression.observeAwaitExpression(e)}},{key:"reduceBindingIdentifier",value:function(e){var t=this.identity;return("eval"===e.name||"arguments"===e.name||(0,u.isStrictModeReservedWord)(e.name))&&(t=t.addStrictError(new l.EarlyError(e,"The identifier "+JSON.stringify(e.name)+" must not be in binding position in strict mode"))),t=t.bindName(e.name,e)}},{key:"reduceBlock",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceBlock",this).apply(this,arguments);return e=(e=(e=(e=e.functionDeclarationNamesAreLexical()).enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(e.varDeclaredNames,_)).observeLexicalBoundary()}},{key:"reduceBreakStatement",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceBreakStatement",this).apply(this,arguments);return n=null==e.label?n.addFreeBreakStatement(e):n.addFreeLabeledBreakStatement(e)}},{key:"reduceCallExpression",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceCallExpression",this).apply(this,arguments);return"Super"===e.callee.type&&(n=n.observeSuperCallExpression(e)),n}},{key:"reduceCatchClause",value:function(e,n){var r=n.binding,i=n.body;(r=(r=(r=r.observeLexicalDeclaration()).enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(i.previousLexicallyDeclaredNames,_)).lexicallyDeclaredNames.forEachEntry((function(e,t){i.varDeclaredNames.has(t)&&i.varDeclaredNames.get(t).forEach((function(e){i.forOfVarDeclaredNames.indexOf(e)>=0&&(r=r.addError(_(e)))}))}));var a=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceCatchClause",this).call(this,e,{binding:r,body:i});return a=a.observeLexicalBoundary()}},{key:"reduceClassDeclaration",value:function(e,t){var n=t.name,r=t.super,i=t.elements,o=n.enforceStrictErrors(),a=this.append.apply(this,p(i));return a=a.enforceStrictErrors(),null!=e.super&&(r=r.enforceStrictErrors(),o=this.append(o,r),a=a.clearSuperCallExpressionsInConstructorMethod()),o=(o=y(e,o=this.append(o,a))).observeLexicalDeclaration()}},{key:"reduceClassElement",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceClassElement",this).apply(this,arguments);return!e.isStatic&&m(e.method)&&(n=n.addError(new l.EarlyError(e,c.ErrorMessages.ILLEGAL_CONSTRUCTORS))),e.isStatic&&"StaticPropertyName"===e.method.name.type&&"prototype"===e.method.name.value&&(n=n.addError(new l.EarlyError(e,'Static class methods cannot be named "prototype"'))),n}},{key:"reduceClassExpression",value:function(e,t){var n=t.name,r=t.super,i=t.elements,o=null==e.name?this.identity:n.enforceStrictErrors(),a=this.append.apply(this,p(i));return a=a.enforceStrictErrors(),null!=e.super&&(r=r.enforceStrictErrors(),o=this.append(o,r),a=a.clearSuperCallExpressionsInConstructorMethod()),o=(o=y(e,o=this.append(o,a))).clearBoundNames()}},{key:"reduceCompoundAssignmentExpression",value:function(){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceCompoundAssignmentExpression",this).apply(this,arguments).clearBoundNames()}},{key:"reduceComputedMemberExpression",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceComputedMemberExpression",this).apply(this,arguments);return"Super"===e.object.type&&(n=n.observeSuperPropertyExpression(e)),n}},{key:"reduceContinueStatement",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceContinueStatement",this).apply(this,arguments);return n=null==e.label?n.addFreeContinueStatement(e):n.addFreeLabeledContinueStatement(e)}},{key:"reduceDoWhileStatement",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceDoWhileStatement",this).apply(this,arguments);return d(e.body)&&(n=n.addError(new l.EarlyError(e.body,"The body of a do-while statement must not be a labeled function declaration"))),n=(n=n.clearFreeContinueStatements()).clearFreeBreakStatements()}},{key:"reduceExport",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceExport",this).apply(this,arguments);return e=(e=e.functionDeclarationNamesAreLexical()).exportDeclaredNames()}},{key:"reduceExportFrom",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceExportFrom",this).apply(this,arguments);return e=e.clearExportedBindings()}},{key:"reduceExportFromSpecifier",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceExportFromSpecifier",this).apply(this,arguments);return n=(n=n.exportName(e.exportedName||e.name,e)).exportBinding(e.name,e)}},{key:"reduceExportLocalSpecifier",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceExportLocalSpecifier",this).apply(this,arguments);return n=(n=n.exportName(e.exportedName||e.name.name,e)).exportBinding(e.name.name,e)}},{key:"reduceExportDefault",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceExportDefault",this).apply(this,arguments);return n=(n=n.functionDeclarationNamesAreLexical()).exportName("default",e)}},{key:"reduceFormalParameters",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceFormalParameters",this).apply(this,arguments);return e=e.observeLexicalDeclaration()}},{key:"reduceForStatement",value:function(e,n){var r=n.init,i=n.test,a=n.update,s=n.body;null!=r&&(r=(r=r.enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(s.varDeclaredNames,_));var u=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceForStatement",this).call(this,e,{init:r,test:i,update:a,body:s});return null!=e.init&&"VariableDeclaration"===e.init.type&&"const"===e.init.kind&&e.init.declarators.forEach((function(e){null==e.init&&(u=u.addError(new l.EarlyError(e,"Constant lexical declarations must have an initialiser")))})),d(e.body)&&(u=u.addError(new l.EarlyError(e.body,"The body of a for statement must not be a labeled function declaration"))),u=(u=(u=u.clearFreeContinueStatements()).clearFreeBreakStatements()).observeLexicalBoundary()}},{key:"reduceForInStatement",value:function(e,n){var r=n.left,i=n.right,a=n.body;r=(r=r.enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(a.varDeclaredNames,_);var s=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceForInStatement",this).call(this,e,{left:r,right:i,body:a});return d(e.body)&&(s=s.addError(new l.EarlyError(e.body,"The body of a for-in statement must not be a labeled function declaration"))),s=(s=(s=s.clearFreeContinueStatements()).clearFreeBreakStatements()).observeLexicalBoundary()}},{key:"reduceForOfStatement",value:function(e,n){var r=n.left,i=n.right,a=n.body;r=(r=(r=r.recordForOfVars()).enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(a.varDeclaredNames,_);var s=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceForOfStatement",this).call(this,e,{left:r,right:i,body:a});return d(e.body)&&(s=s.addError(new l.EarlyError(e.body,"The body of a for-of statement must not be a labeled function declaration"))),s=(s=(s=s.clearFreeContinueStatements()).clearFreeBreakStatements()).observeLexicalBoundary()}},{key:"reduceForAwaitStatement",value:function(e,n){var r=n.left,i=n.right,a=n.body;r=(r=(r=r.recordForOfVars()).enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(a.varDeclaredNames,_);var s=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceForOfStatement",this).call(this,e,{left:r,right:i,body:a});return d(e.body)&&(s=s.addError(new l.EarlyError(e.body,"The body of a for-await statement must not be a labeled function declaration"))),s=(s=(s=s.clearFreeContinueStatements()).clearFreeBreakStatements()).observeLexicalBoundary()}},{key:"reduceFunctionBody",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceFunctionBody",this).apply(this,arguments);return n=(n=(n=(n=(n=(n=(n=(n=(n=n.enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(n.varDeclaredNames,_)).enforceFreeContinueStatementErrors(E)).enforceFreeLabeledContinueStatementErrors(D)).enforceFreeBreakStatementErrors(b)).enforceFreeLabeledBreakStatementErrors(A)).clearUsedLabelNames()).clearYieldExpressions()).clearAwaitExpressions(),f(e)&&(n=n.enforceStrictErrors()),n}},{key:"reduceFunctionDeclaration",value:function(e,n){var r=n.name,i=n.params,a=n.body,s=null==e.params.rest&&e.params.items.every((function(e){return"BindingIdentifier"===e.type})),u=!s||e.isGenerator?"addError":"addStrictError";i.lexicallyDeclaredNames.forEachEntry((function(e){e.length>1&&e.slice(1).forEach((function(e){i=i[u](_(e))}))})),a=(a=(a=a.enforceConflictingLexicallyDeclaredNames(i.lexicallyDeclaredNames,_)).enforceSuperCallExpressions(v)).enforceSuperPropertyExpressions(g),i=(i=i.enforceSuperCallExpressions(v)).enforceSuperPropertyExpressions(g),e.isGenerator&&i.yieldExpressions.forEach((function(e){i=i.addError(new l.EarlyError(e,"Generator parameters must not contain yield expressions"))})),e.isAsync&&i.awaitExpressions.forEach((function(e){i=i.addError(new l.EarlyError(e,"Async function parameters must not contain await expressions"))})),i=i.clearNewTargetExpressions(),a=a.clearNewTargetExpressions(),f(e.body)&&(i=i.enforceStrictErrors(),a=a.enforceStrictErrors());var c=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceFunctionDeclaration",this).call(this,e,{name:r,params:i,body:a});return!s&&f(e.body)&&(c=c.addError(new l.EarlyError(e,'Functions with non-simple parameter lists may not contain a "use strict" directive'))),c=(c=(c=c.clearYieldExpressions()).clearAwaitExpressions()).observeFunctionDeclaration()}},{key:"reduceFunctionExpression",value:function(e,n){var r=n.name,i=n.params,a=n.body,s=null==e.params.rest&&e.params.items.every((function(e){return"BindingIdentifier"===e.type})),u=!s||e.isGenerator?"addError":"addStrictError";i.lexicallyDeclaredNames.forEachEntry((function(e,t){e.length>1&&e.slice(1).forEach((function(e){i=i[u](new l.EarlyError(e,"Duplicate binding "+JSON.stringify(t)))}))})),a=(a=(a=a.enforceConflictingLexicallyDeclaredNames(i.lexicallyDeclaredNames,_)).enforceSuperCallExpressions(v)).enforceSuperPropertyExpressions(g),i=(i=i.enforceSuperCallExpressions(v)).enforceSuperPropertyExpressions(g),e.isGenerator&&i.yieldExpressions.forEach((function(e){i=i.addError(new l.EarlyError(e,"Generator parameters must not contain yield expressions"))})),e.isAsync&&i.awaitExpressions.forEach((function(e){i=i.addError(new l.EarlyError(e,"Async function parameters must not contain await expressions"))})),i=i.clearNewTargetExpressions(),a=a.clearNewTargetExpressions(),f(e.body)&&(i=i.enforceStrictErrors(),a=a.enforceStrictErrors());var c=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceFunctionExpression",this).call(this,e,{name:r,params:i,body:a});return!s&&f(e.body)&&(c=c.addError(new l.EarlyError(e,'Functions with non-simple parameter lists may not contain a "use strict" directive'))),c=(c=(c=(c=c.clearBoundNames()).clearYieldExpressions()).clearAwaitExpressions()).observeVarBoundary()}},{key:"reduceGetter",value:function(e,n){var r=n.name,i=n.body;i=(i=(i=i.enforceSuperCallExpressions(v)).clearSuperPropertyExpressions()).clearNewTargetExpressions(),f(e.body)&&(i=i.enforceStrictErrors());var a=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceGetter",this).call(this,e,{name:r,body:i});return a=a.observeVarBoundary()}},{key:"reduceIdentifierExpression",value:function(e){var t=this.identity;return(0,u.isStrictModeReservedWord)(e.name)&&(t=t.addStrictError(new l.EarlyError(e,"The identifier "+JSON.stringify(e.name)+" must not be in expression position in strict mode"))),t}},{key:"reduceIfStatement",value:function(e,n){var r=n.test,i=n.consequent,a=n.alternate;return d(e.consequent)&&(i=i.addError(new l.EarlyError(e.consequent,"The consequent of an if statement must not be a labeled function declaration"))),null!=e.alternate&&d(e.alternate)&&(a=a.addError(new l.EarlyError(e.alternate,"The alternate of an if statement must not be a labeled function declaration"))),"FunctionDeclaration"===e.consequent.type&&(i=(i=i.addStrictError(new l.EarlyError(e.consequent,"FunctionDeclarations in IfStatements are disallowed in strict mode"))).observeLexicalBoundary()),null!=e.alternate&&"FunctionDeclaration"===e.alternate.type&&(a=(a=a.addStrictError(new l.EarlyError(e.alternate,"FunctionDeclarations in IfStatements are disallowed in strict mode"))).observeLexicalBoundary()),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceIfStatement",this).call(this,e,{test:r,consequent:i,alternate:a})}},{key:"reduceImport",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceImport",this).apply(this,arguments);return e=e.observeLexicalDeclaration()}},{key:"reduceImportNamespace",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceImportNamespace",this).apply(this,arguments);return e=e.observeLexicalDeclaration()}},{key:"reduceLabeledStatement",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceLabeledStatement",this).apply(this,arguments);return("yield"===e.label||(0,u.isStrictModeReservedWord)(e.label))&&(n=n.addStrictError(new l.EarlyError(e,"The identifier "+JSON.stringify(e.label)+" must not be in label position in strict mode"))),n.usedLabelNames.indexOf(e.label)>=0&&(n=n.addError(new l.EarlyError(e,"Label "+JSON.stringify(e.label)+" has already been declared"))),"FunctionDeclaration"===e.body.type&&(n=n.addStrictError(new l.EarlyError(e,"Labeled FunctionDeclarations are disallowed in strict mode"))),n=h(e.body)?n.observeIterationLabel(e.label):n.observeNonIterationLabel(e.label)}},{key:"reduceLiteralRegExpExpression",value:function(){return this.identity}},{key:"reduceMethod",value:function(e,n){var r=n.name,i=n.params,a=n.body,s=null==e.params.rest&&e.params.items.every((function(e){return"BindingIdentifier"===e.type}));i=i.enforceDuplicateLexicallyDeclaredNames(_),a=a.enforceConflictingLexicallyDeclaredNames(i.lexicallyDeclaredNames,_),"StaticPropertyName"===e.name.type&&"constructor"===e.name.value?(a=a.observeConstructorMethod(),i=i.observeConstructorMethod()):(a=a.enforceSuperCallExpressions(v),i=i.enforceSuperCallExpressions(v)),e.isGenerator&&i.yieldExpressions.forEach((function(e){i=i.addError(new l.EarlyError(e,"Generator parameters must not contain yield expressions"))})),e.isAsync&&i.awaitExpressions.forEach((function(e){i=i.addError(new l.EarlyError(e,"Async function parameters must not contain await expressions"))})),a=a.clearSuperPropertyExpressions(),i=(i=i.clearSuperPropertyExpressions()).clearNewTargetExpressions(),a=a.clearNewTargetExpressions(),f(e.body)&&(i=i.enforceStrictErrors(),a=a.enforceStrictErrors());var u=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceMethod",this).call(this,e,{name:r,params:i,body:a});return!s&&f(e.body)&&(u=u.addError(new l.EarlyError(e,'Functions with non-simple parameter lists may not contain a "use strict" directive'))),u=(u=(u=u.clearYieldExpressions()).clearAwaitExpressions()).observeVarBoundary()}},{key:"reduceModule",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceModule",this).apply(this,arguments);return(e=(e=(e=e.functionDeclarationNamesAreLexical()).enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(e.varDeclaredNames,_)).exportedNames.forEachEntry((function(t,n){t.length>1&&t.slice(1).forEach((function(t){e=e.addError(new l.EarlyError(t,"Duplicate export "+JSON.stringify(n)))}))})),e.exportedBindings.forEachEntry((function(t,n){e.lexicallyDeclaredNames.has(n)||e.varDeclaredNames.has(n)||t.forEach((function(t){e=e.addError(new l.EarlyError(t,"Exported binding "+JSON.stringify(n)+" is not declared"))}))})),e.newTargetExpressions.forEach((function(t){e=e.addError(new l.EarlyError(t,"new.target must be within function (but not arrow expression) code"))})),e=(e=(e=(e=(e=(e=(e=e.enforceFreeContinueStatementErrors(E)).enforceFreeLabeledContinueStatementErrors(D)).enforceFreeBreakStatementErrors(b)).enforceFreeLabeledBreakStatementErrors(A)).enforceSuperCallExpressions(v)).enforceSuperPropertyExpressions(g)).enforceStrictErrors()}},{key:"reduceNewTargetExpression",value:function(e){return this.identity.observeNewTargetExpression(e)}},{key:"reduceObjectExpression",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceObjectExpression",this).apply(this,arguments);n=n.enforceSuperCallExpressionsInConstructorMethod(v);var r=e.properties.filter((function(e){return"DataProperty"===e.type&&"StaticPropertyName"===e.name.type&&"__proto__"===e.name.value}));return r.slice(1).forEach((function(e){n=n.addError(new l.EarlyError(e,"Duplicate __proto__ property in object literal not allowed"))})),n}},{key:"reduceUpdateExpression",value:function(){var e=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceUpdateExpression",this).apply(this,arguments);return e=e.clearBoundNames()}},{key:"reduceUnaryExpression",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceUnaryExpression",this).apply(this,arguments);return"delete"===e.operator&&"IdentifierExpression"===e.operand.type&&(n=n.addStrictError(new l.EarlyError(e,"Identifier expressions must not be deleted in strict mode"))),n}},{key:"reduceScript",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceScript",this).apply(this,arguments);return(n=(n=n.enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(n.varDeclaredNames,_)).newTargetExpressions.forEach((function(e){n=n.addError(new l.EarlyError(e,"new.target must be within function (but not arrow expression) code"))})),n=(n=(n=(n=(n=(n=n.enforceFreeContinueStatementErrors(E)).enforceFreeLabeledContinueStatementErrors(D)).enforceFreeBreakStatementErrors(b)).enforceFreeLabeledBreakStatementErrors(A)).enforceSuperCallExpressions(v)).enforceSuperPropertyExpressions(g),f(e)&&(n=n.enforceStrictErrors()),n}},{key:"reduceSetter",value:function(e,n){var r=n.name,i=n.param,a=n.body,s="BindingIdentifier"===e.param.type;i=(i=i.observeLexicalDeclaration()).enforceDuplicateLexicallyDeclaredNames(_),a=a.enforceConflictingLexicallyDeclaredNames(i.lexicallyDeclaredNames,_),i=i.enforceSuperCallExpressions(v),a=a.enforceSuperCallExpressions(v),i=i.clearSuperPropertyExpressions(),a=a.clearSuperPropertyExpressions(),i=i.clearNewTargetExpressions(),a=a.clearNewTargetExpressions(),f(e.body)&&(i=i.enforceStrictErrors(),a=a.enforceStrictErrors());var u=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceSetter",this).call(this,e,{name:r,param:i,body:a});return!s&&f(e.body)&&(u=u.addError(new l.EarlyError(e,'Functions with non-simple parameter lists may not contain a "use strict" directive'))),u=u.observeVarBoundary()}},{key:"reduceStaticMemberExpression",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceStaticMemberExpression",this).apply(this,arguments);return"Super"===e.object.type&&(n=n.observeSuperPropertyExpression(e)),n}},{key:"reduceSwitchStatement",value:function(e,t){var n=t.discriminant,r=t.cases,i=this.append.apply(this,p(r));i=(i=(i=(i=i.functionDeclarationNamesAreLexical()).enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(i.varDeclaredNames,_)).observeLexicalBoundary();var o=this.append(n,i);return o=o.clearFreeBreakStatements()}},{key:"reduceSwitchStatementWithDefault",value:function(e,t){var n=t.discriminant,r=t.preDefaultCases,i=t.defaultCase,o=t.postDefaultCases,a=this.append.apply(this,[i].concat(p(r),p(o)));a=(a=(a=(a=a.functionDeclarationNamesAreLexical()).enforceDuplicateLexicallyDeclaredNames(_)).enforceConflictingLexicallyDeclaredNames(a.varDeclaredNames,_)).observeLexicalBoundary();var s=this.append(n,a);return s=s.clearFreeBreakStatements()}},{key:"reduceVariableDeclaration",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceVariableDeclaration",this).apply(this,arguments);switch(e.kind){case"const":case"let":(n=n.observeLexicalDeclaration()).lexicallyDeclaredNames.has("let")&&n.lexicallyDeclaredNames.get("let").forEach((function(e){n=n.addError(new l.EarlyError(e,'Lexical declarations must not have a binding named "let"'))}));break;case"var":n=n.observeVarDeclaration()}return n}},{key:"reduceVariableDeclarationStatement",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceVariableDeclarationStatement",this).apply(this,arguments);return"const"===e.declaration.kind&&e.declaration.declarators.forEach((function(e){null==e.init&&(n=n.addError(new l.EarlyError(e,"Constant lexical declarations must have an initialiser")))})),n}},{key:"reduceWhileStatement",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceWhileStatement",this).apply(this,arguments);return d(e.body)&&(n=n.addError(new l.EarlyError(e.body,"The body of a while statement must not be a labeled function declaration"))),n=n.clearFreeContinueStatements().clearFreeBreakStatements()}},{key:"reduceWithStatement",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceWithStatement",this).apply(this,arguments);return d(e.body)&&(n=n.addError(new l.EarlyError(e.body,"The body of a with statement must not be a labeled function declaration"))),n=n.addStrictError(new l.EarlyError(e,"Strict mode code must not include a with statement"))}},{key:"reduceYieldExpression",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceYieldExpression",this).apply(this,arguments);return n=n.observeYieldExpression(e)}},{key:"reduceYieldGeneratorExpression",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"reduceYieldGeneratorExpression",this).apply(this,arguments);return n=n.observeYieldExpression(e)}}],[{key:"check",value:function(e){return(0,s.default)(new t,e).errors}}]),t}(a.MonoidalReducer)},3229:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ErrorMessages={UNEXPECTED_TOKEN:function(e){return"Unexpected token "+JSON.stringify(e)},UNEXPECTED_ILLEGAL_TOKEN:function(e){return"Unexpected "+JSON.stringify(e)},UNEXPECTED_ESCAPED_KEYWORD:"Unexpected escaped keyword",UNEXPECTED_NUMBER:"Unexpected number",UNEXPECTED_STRING:"Unexpected string",UNEXPECTED_IDENTIFIER:"Unexpected identifier",UNEXPECTED_RESERVED_WORD:"Unexpected reserved word",UNEXPECTED_TEMPLATE:"Unexpected template",UNEXPECTED_EOS:"Unexpected end of input",UNEXPECTED_LINE_TERMINATOR:"Unexpected line terminator",UNEXPECTED_COMMA_AFTER_REST:"Unexpected comma after rest",UNEXPECTED_REST_PARAMETERS_INITIALIZATION:"Rest parameter may not have a default initializer",NEWLINE_AFTER_THROW:"Illegal newline after throw",UNTERMINATED_REGEXP:"Invalid regular expression: missing /",INVALID_LAST_REST_PARAMETER:"Rest parameter must be last formal parameter",INVALID_REST_PARAMETERS_INITIALIZATION:"Rest parameter may not have a default initializer",INVALID_REGEXP_FLAGS:"Invalid regular expression flags",INVALID_REGEX:"Invalid regular expression",INVALID_LHS_IN_ASSIGNMENT:"Invalid left-hand side in assignment",INVALID_LHS_IN_BINDING:"Invalid left-hand side in binding",INVALID_LHS_IN_FOR_IN:"Invalid left-hand side in for-in",INVALID_LHS_IN_FOR_OF:"Invalid left-hand side in for-of",INVALID_LHS_IN_FOR_AWAIT:"Invalid left-hand side in for-await",INVALID_UPDATE_OPERAND:"Increment/decrement target must be an identifier or member expression",INVALID_EXPONENTIATION_LHS:"Unary expressions as the left operand of an exponentation expression must be disambiguated with parentheses",MULTIPLE_DEFAULTS_IN_SWITCH:"More than one default clause in switch statement",NO_CATCH_OR_FINALLY:"Missing catch or finally after try",ILLEGAL_RETURN:"Illegal return statement",ILLEGAL_ARROW_FUNCTION_PARAMS:"Illegal arrow function parameter list",INVALID_ASYNC_PARAMS:"Async function parameters must not contain await expressions",INVALID_VAR_INIT_FOR_IN:"Invalid variable declaration in for-in statement",INVALID_VAR_INIT_FOR_OF:"Invalid variable declaration in for-of statement",INVALID_VAR_INIT_FOR_AWAIT:"Invalid variable declaration in for-await statement",UNINITIALIZED_BINDINGPATTERN_IN_FOR_INIT:"Binding pattern appears without initializer in for statement init",ILLEGAL_PROPERTY:"Illegal property initializer",INVALID_ID_BINDING_STRICT_MODE:function(e){return"The identifier "+JSON.stringify(e)+" must not be in binding position in strict mode"},INVALID_ID_IN_LABEL_STRICT_MODE:function(e){return"The identifier "+JSON.stringify(e)+" must not be in label position in strict mode"},INVALID_ID_IN_EXPRESSION_STRICT_MODE:function(e){return"The identifier "+JSON.stringify(e)+" must not be in expression position in strict mode"},INVALID_CALL_TO_SUPER:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',INVALID_DELETE_STRICT_MODE:"Identifier expressions must not be deleted in strict mode",DUPLICATE_BINDING:function(e){return"Duplicate binding "+JSON.stringify(e)},ILLEGAL_ID_IN_LEXICAL_DECLARATION:function(e){return"Lexical declarations must not have a binding named "+JSON.stringify(e)},UNITIALIZED_CONST:"Constant lexical declarations must have an initialiser",ILLEGAL_LABEL_IN_BODY:function(e){return"The body of a "+e+" statement must not be a labeled function declaration"},ILLEGEAL_LABEL_IN_IF:"The consequent of an if statement must not be a labeled function declaration",ILLEGAL_LABEL_IN_ELSE:"The alternate of an if statement must not be a labeled function declaration",ILLEGAL_CONTINUE_WITHOUT_ITERATION_WITH_ID:function(e){return"Continue statement must be nested within an iteration statement with label "+JSON.stringify(e)},ILLEGAL_CONTINUE_WITHOUT_ITERATION:"Continue statement must be nested within an iteration statement",ILLEGAL_BREAK_WITHOUT_ITERATION_OR_SWITCH:"Break statement must be nested within an iteration statement or a switch statement",ILLEGAL_WITH_STRICT_MODE:"Strict mode code must not include a with statement",ILLEGAL_ACCESS_SUPER_MEMBER:"Member access on super must be in a method",ILLEGAL_SUPER_CALL:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',DUPLICATE_LABEL_DECLARATION:function(e){return"Label "+JSON.stringify(e)+" has already been declared"},ILLEGAL_BREAK_WITHIN_LABEL:function(e){return"Break statement must be nested within a statement with label "+JSON.stringify(e)},ILLEGAL_YIELD_EXPRESSIONS:function(e){return e+" parameters must not contain yield expressions"},ILLEGAL_YIELD_IDENTIFIER:'"yield" may not be used as an identifier in this context',ILLEGAL_AWAIT_IDENTIFIER:'"await" may not be used as an identifier in this context',DUPLICATE_CONSTRUCTOR:"Duplicate constructor method in class",ILLEGAL_CONSTRUCTORS:"Constructors cannot be async, generators, getters or setters",ILLEGAL_STATIC_CLASS_NAME:'Static class methods cannot be named "prototype"',NEW_TARGET_ERROR:"new.target must be within function (but not arrow expression) code",DUPLICATE_EXPORT:function(e){return"Duplicate export "+JSON.stringify(e)},UNDECLARED_BINDING:function(e){return"Exported binding "+JSON.stringify(e)+" is not declared"},DUPLICATE_PROPTO_PROP:"Duplicate __proto__ property in object literal not allowed",ILLEGAL_LABEL_FUNC_DECLARATION:"Labeled FunctionDeclarations are disallowed in strict mode",ILLEGAL_FUNC_DECL_IF:"FunctionDeclarations in IfStatements are disallowed in strict mode",ILLEGAL_USE_STRICT:'Functions with non-simple parameter lists may not contain a "use strict" directive',ILLEGAL_EXPORTED_NAME:"Names of variables used in an export specifier from the current module must be identifiers",NO_OCTALS_IN_TEMPLATES:"Template literals may not contain octal escape sequences",NO_AWAIT_IN_ASYNC_PARAMS:'Async arrow parameters may not contain "await"'}},4394:function(e,t,n){"use strict";t.Mi=void 0;var r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=n.earlyErrors,i=void 0===r||r,u=new a.GenericParser(t),c=u[e]();if(i){var l=s.EarlyErrorChecker.check(c);if(l.length>0)throw new o.JsError(0,1,0,l[0].message)}return c}}function p(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.earlyErrors,i=void 0===r||r,a=new c(t),u=a[e]();if(i){var l=s.EarlyErrorChecker.check(u);if(l.length>0){var p=l[0],f=p.node,d=p.message,h=a.locations.get(f).start,m=h.offset,y=h.line,v=h.column;throw new o.JsError(m,y,v,d)}}return{tree:u,locations:a.locations,comments:a.comments}}}l("parseModule");var f=l("parseScript");p("parseModule"),t.Mi=p("parseScript");s.EarlyErrorChecker,a.GenericParser},3310:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericParser=void 0;var r=function(){function e(e,t){for(var n=0;n":f,"<=":f,">=":f,in:f,instanceof:f,"<<":d,">>":d,">>>":d,"+":h,"-":h,"*":m,"%":m,"/":m};function v(e){if(null==e)return!1;switch(e.type){case"IdentifierExpression":case"ComputedMemberExpression":case"StaticMemberExpression":return!0}return!1}function g(e){return e.type===a.TokenType.INC||e.type===a.TokenType.DEC}t.GenericParser=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.allowIn=!0,n.inFunctionBody=!1,n.inParameter=!1,n.allowYieldExpression=!1,n.allowAwaitExpression=!1,n.firstAwaitLocation=null,n.module=!1,n.moduleIsTheGoalSymbol=!1,n.strict=!1,n.isBindingElement=!0,n.isAssignmentTarget=!0,n.firstExprError=null,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"match",value:function(e){return this.lookahead.type===e}},{key:"matchIdentifier",value:function(){switch(this.lookahead.type){case a.TokenType.IDENTIFIER:case a.TokenType.LET:case a.TokenType.YIELD:case a.TokenType.ASYNC:return!0;case a.TokenType.AWAIT:return!this.moduleIsTheGoalSymbol&&(null===this.firstAwaitLocation&&(this.firstAwaitLocation=this.getLocation()),!0);case a.TokenType.ESCAPED_KEYWORD:return"await"!==this.lookahead.value||this.moduleIsTheGoalSymbol?"let"===this.lookahead.value||"yield"===this.lookahead.value||"async"===this.lookahead.value:(null===this.firstAwaitLocation&&(this.firstAwaitLocation=this.getLocation()),!0)}return!1}},{key:"eat",value:function(e){return this.lookahead.type===e?this.lex():null}},{key:"expect",value:function(e){if(this.lookahead.type===e)return this.lex();throw this.createUnexpected(this.lookahead)}},{key:"matchContextualKeyword",value:function(e){return this.lookahead.type===a.TokenType.IDENTIFIER&&!this.lookahead.escaped&&this.lookahead.value===e}},{key:"expectContextualKeyword",value:function(e){if(this.lookahead.type===a.TokenType.IDENTIFIER&&!this.lookahead.escaped&&this.lookahead.value===e)return this.lex();throw this.createUnexpected(this.lookahead)}},{key:"eatContextualKeyword",value:function(e){return this.lookahead.type!==a.TokenType.IDENTIFIER||this.lookahead.escaped||this.lookahead.value!==e?null:this.lex()}},{key:"consumeSemicolon",value:function(){if(!this.eat(a.TokenType.SEMICOLON)&&!this.hasLineTerminatorBeforeNext&&!this.eof()&&!this.match(a.TokenType.RBRACE))throw this.createUnexpected(this.lookahead)}},{key:"startNode",value:function(e){return e}},{key:"copyNode",value:function(e,t){return t}},{key:"finishNode",value:function(e){return e}},{key:"parseModule",value:function(){this.moduleIsTheGoalSymbol=this.module=this.strict=!0,this.lookahead=this.advance();var e=this.startNode(),t=this.parseBody(),n=t.directives,r=t.statements;if(!this.match(a.TokenType.EOS))throw this.createUnexpected(this.lookahead);return this.finishNode(new u.Module({directives:n,items:r}),e)}},{key:"parseScript",value:function(){this.lookahead=this.advance();var e=this.startNode(),t=this.parseBody(),n=t.directives,r=t.statements;if(!this.match(a.TokenType.EOS))throw this.createUnexpected(this.lookahead);return this.finishNode(new u.Script({directives:n,statements:r}),e)}},{key:"parseFunctionBody",value:function(){var e=this.inFunctionBody,t=this.module,n=this.strict;this.inFunctionBody=!0,this.module=!1;var r=this.startNode();this.expect(a.TokenType.LBRACE);var i=new u.FunctionBody(this.parseBody());return this.expect(a.TokenType.RBRACE),i=this.finishNode(i,r),this.inFunctionBody=e,this.module=t,this.strict=n,i}},{key:"parseBody",value:function(){for(var e=[],t=[],n=!0,r=null;!this.eof()&&!this.match(a.TokenType.RBRACE);){var i=this.lookahead,o=i.slice.text,s=i.type===a.TokenType.STRING,c=this.module,l=this.getLocation(),p=this.startNode(),f=c?this.parseModuleItem():this.parseStatementListItem();if(n)if(s&&"ExpressionStatement"===f.type&&"LiteralStringExpression"===f.expression.type){!r&&i.octal&&(r=this.createErrorWithLocation(l,"Unexpected legacy octal escape sequence: \\"+i.octal));var d=o.slice(1,-1);"use strict"===d&&(this.strict=!0),e.push(this.finishNode(new u.Directive({rawValue:d}),p))}else{if(n=!1,r&&this.strict)throw r;t.push(f)}else t.push(f)}if(r&&this.strict)throw r;return{directives:e,statements:t}}},{key:"parseImportSpecifier",value:function(){var e=this.startNode(),t=void 0;if(this.matchIdentifier()){if(t=this.parseIdentifier(),!this.eatContextualKeyword("as"))return this.finishNode(new u.ImportSpecifier({name:null,binding:this.finishNode(new u.BindingIdentifier({name:t}),e)}),e)}else this.lookahead.type.klass.isIdentifierName&&(t=this.parseIdentifierName(),this.expectContextualKeyword("as"));return this.finishNode(new u.ImportSpecifier({name:t,binding:this.parseBindingIdentifier()}),e)}},{key:"parseNameSpaceBinding",value:function(){return this.expect(a.TokenType.MUL),this.expectContextualKeyword("as"),this.parseBindingIdentifier()}},{key:"parseNamedImports",value:function(){var e=[];for(this.expect(a.TokenType.LBRACE);!this.eat(a.TokenType.RBRACE);)if(e.push(this.parseImportSpecifier()),!this.eat(a.TokenType.COMMA)){this.expect(a.TokenType.RBRACE);break}return e}},{key:"parseFromClause",value:function(){return this.expectContextualKeyword("from"),this.expect(a.TokenType.STRING).str}},{key:"parseImportDeclaration",value:function(){var e=this.startNode(),t=null,n=void 0;if(this.expect(a.TokenType.IMPORT),this.match(a.TokenType.STRING))return n=this.lex().str,this.consumeSemicolon(),this.finishNode(new u.Import({defaultBinding:null,namedImports:[],moduleSpecifier:n}),e);if(this.matchIdentifier()&&(t=this.parseBindingIdentifier(),!this.eat(a.TokenType.COMMA))){var r=new u.Import({defaultBinding:t,namedImports:[],moduleSpecifier:this.parseFromClause()});return this.consumeSemicolon(),this.finishNode(r,e)}if(this.match(a.TokenType.MUL)){var i=new u.ImportNamespace({defaultBinding:t,namespaceBinding:this.parseNameSpaceBinding(),moduleSpecifier:this.parseFromClause()});return this.consumeSemicolon(),this.finishNode(i,e)}if(this.match(a.TokenType.LBRACE)){var o=new u.Import({defaultBinding:t,namedImports:this.parseNamedImports(),moduleSpecifier:this.parseFromClause()});return this.consumeSemicolon(),this.finishNode(o,e)}throw this.createUnexpected(this.lookahead)}},{key:"parseExportSpecifier",value:function(){var e=this.startNode(),t=this.finishNode({type:"ExportNameOfUnknownType",isIdentifier:this.matchIdentifier(),value:this.parseIdentifierName()},e);if(this.eatContextualKeyword("as")){var n=this.parseIdentifierName();return this.finishNode({name:t,exportedName:n},e)}return this.finishNode({name:t,exportedName:null},e)}},{key:"parseExportClause",value:function(){this.expect(a.TokenType.LBRACE);for(var e=[];!this.eat(a.TokenType.RBRACE);)if(e.push(this.parseExportSpecifier()),!this.eat(a.TokenType.COMMA)){this.expect(a.TokenType.RBRACE);break}return e}},{key:"parseExportDeclaration",value:function(){var e=this,t=this.startNode(),n=void 0;switch(this.expect(a.TokenType.EXPORT),this.lookahead.type){case a.TokenType.MUL:this.lex(),n=new u.ExportAllFrom({moduleSpecifier:this.parseFromClause()}),this.consumeSemicolon();break;case a.TokenType.LBRACE:var r=this.parseExportClause(),o=null;this.matchContextualKeyword("from")?(o=this.parseFromClause(),n=new u.ExportFrom({namedExports:r.map((function(t){return e.copyNode(t,new u.ExportFromSpecifier({name:t.name.value,exportedName:t.exportedName}))})),moduleSpecifier:o})):(r.forEach((function(t){if(!t.name.isIdentifier)throw e.createError(i.ErrorMessages.ILLEGAL_EXPORTED_NAME)})),n=new u.ExportLocals({namedExports:r.map((function(t){return e.copyNode(t,new u.ExportLocalSpecifier({name:e.copyNode(t.name,new u.IdentifierExpression({name:t.name.value})),exportedName:t.exportedName}))}))})),this.consumeSemicolon();break;case a.TokenType.CLASS:n=new u.Export({declaration:this.parseClass({isExpr:!1,inDefault:!1})});break;case a.TokenType.FUNCTION:n=new u.Export({declaration:this.parseFunction({isExpr:!1,inDefault:!1,allowGenerator:!0,isAsync:!1})});break;case a.TokenType.ASYNC:var s=this.startNode();this.lex(),n=new u.Export({declaration:this.parseFunction({isExpr:!1,inDefault:!1,allowGenerator:!0,isAsync:!0,startState:s})});break;case a.TokenType.DEFAULT:switch(this.lex(),this.lookahead.type){case a.TokenType.FUNCTION:n=new u.ExportDefault({body:this.parseFunction({isExpr:!1,inDefault:!0,allowGenerator:!0,isAsync:!1})});break;case a.TokenType.CLASS:n=new u.ExportDefault({body:this.parseClass({isExpr:!1,inDefault:!0})});break;case a.TokenType.ASYNC:var c=this.startNode(),l=this.saveLexerState();if(this.lex(),!this.hasLineTerminatorBeforeNext&&this.match(a.TokenType.FUNCTION)){n=new u.ExportDefault({body:this.parseFunction({isExpr:!1,inDefault:!0,allowGenerator:!1,isAsync:!0,startState:c})});break}this.restoreLexerState(l);default:n=new u.ExportDefault({body:this.parseAssignmentExpression()}),this.consumeSemicolon()}break;case a.TokenType.VAR:case a.TokenType.LET:case a.TokenType.CONST:n=new u.Export({declaration:this.parseVariableDeclaration(!0)}),this.consumeSemicolon();break;default:throw this.createUnexpected(this.lookahead)}return this.finishNode(n,t)}},{key:"parseModuleItem",value:function(){switch(this.lookahead.type){case a.TokenType.IMPORT:return this.parseImportDeclaration();case a.TokenType.EXPORT:return this.parseExportDeclaration();default:return this.parseStatementListItem()}}},{key:"lookaheadLexicalDeclaration",value:function(){if(this.match(a.TokenType.LET)||this.match(a.TokenType.CONST)){var e=this.saveLexerState();if(this.lex(),this.matchIdentifier()||this.match(a.TokenType.LBRACE)||this.match(a.TokenType.LBRACK))return this.restoreLexerState(e),!0;this.restoreLexerState(e)}return!1}},{key:"parseStatementListItem",value:function(){if(this.eof())throw this.createUnexpected(this.lookahead);switch(this.lookahead.type){case a.TokenType.FUNCTION:return this.parseFunction({isExpr:!1,inDefault:!1,allowGenerator:!0,isAsync:!1});case a.TokenType.CLASS:return this.parseClass({isExpr:!1,inDefault:!1});case a.TokenType.ASYNC:var e=this.getLocation(),t=this.saveLexerState();return this.lex(),!this.hasLineTerminatorBeforeNext&&this.match(a.TokenType.FUNCTION)?this.parseFunction({isExpr:!1,inDefault:!1,allowGenerator:!0,isAsync:!0,startState:e}):(this.restoreLexerState(t),this.parseStatement());default:if(this.lookaheadLexicalDeclaration()){var n=this.startNode();return this.finishNode(this.parseVariableDeclarationStatement(),n)}return this.parseStatement()}}},{key:"parseStatement",value:function(){var e=this.startNode(),t=this.isolateCoverGrammar(this.parseStatementHelper);return this.finishNode(t,e)}},{key:"parseStatementHelper",value:function(){if(this.eof())throw this.createUnexpected(this.lookahead);switch(this.lookahead.type){case a.TokenType.SEMICOLON:return this.parseEmptyStatement();case a.TokenType.LBRACE:return this.parseBlockStatement();case a.TokenType.LPAREN:return this.parseExpressionStatement();case a.TokenType.BREAK:return this.parseBreakStatement();case a.TokenType.CONTINUE:return this.parseContinueStatement();case a.TokenType.DEBUGGER:return this.parseDebuggerStatement();case a.TokenType.DO:return this.parseDoWhileStatement();case a.TokenType.FOR:return this.parseForStatement();case a.TokenType.IF:return this.parseIfStatement();case a.TokenType.RETURN:return this.parseReturnStatement();case a.TokenType.SWITCH:return this.parseSwitchStatement();case a.TokenType.THROW:return this.parseThrowStatement();case a.TokenType.TRY:return this.parseTryStatement();case a.TokenType.VAR:return this.parseVariableDeclarationStatement();case a.TokenType.WHILE:return this.parseWhileStatement();case a.TokenType.WITH:return this.parseWithStatement();case a.TokenType.FUNCTION:case a.TokenType.CLASS:throw this.createUnexpected(this.lookahead);default:var e=this.saveLexerState();if(this.eat(a.TokenType.LET)){if(this.match(a.TokenType.LBRACK))throw this.restoreLexerState(e),this.createUnexpected(this.lookahead);this.restoreLexerState(e)}else if(this.eat(a.TokenType.ASYNC)){if(!this.hasLineTerminatorBeforeNext&&this.match(a.TokenType.FUNCTION))throw this.createUnexpected(this.lookahead);this.restoreLexerState(e)}var t=this.parseExpression();if("IdentifierExpression"===t.type&&this.eat(a.TokenType.COLON)){var n=this.match(a.TokenType.FUNCTION)?this.parseFunction({isExpr:!1,inDefault:!1,allowGenerator:!1,isAsync:!1}):this.parseStatement();return new u.LabeledStatement({label:t.name,body:n})}return this.consumeSemicolon(),new u.ExpressionStatement({expression:t})}}},{key:"parseEmptyStatement",value:function(){return this.lex(),new u.EmptyStatement}},{key:"parseBlockStatement",value:function(){return new u.BlockStatement({block:this.parseBlock()})}},{key:"parseExpressionStatement",value:function(){var e=this.parseExpression();return this.consumeSemicolon(),new u.ExpressionStatement({expression:e})}},{key:"parseBreakStatement",value:function(){if(this.lex(),this.eat(a.TokenType.SEMICOLON)||this.hasLineTerminatorBeforeNext)return new u.BreakStatement({label:null});var e=null;return this.matchIdentifier()&&(e=this.parseIdentifier()),this.consumeSemicolon(),new u.BreakStatement({label:e})}},{key:"parseContinueStatement",value:function(){if(this.lex(),this.eat(a.TokenType.SEMICOLON)||this.hasLineTerminatorBeforeNext)return new u.ContinueStatement({label:null});var e=null;return this.matchIdentifier()&&(e=this.parseIdentifier()),this.consumeSemicolon(),new u.ContinueStatement({label:e})}},{key:"parseDebuggerStatement",value:function(){return this.lex(),this.consumeSemicolon(),new u.DebuggerStatement}},{key:"parseDoWhileStatement",value:function(){this.lex();var e=this.parseStatement();this.expect(a.TokenType.WHILE),this.expect(a.TokenType.LPAREN);var t=this.parseExpression();return this.expect(a.TokenType.RPAREN),this.eat(a.TokenType.SEMICOLON),new u.DoWhileStatement({body:e,test:t})}},{key:"parseForStatement",value:function(){this.lex();var e=this.allowAwaitExpression&&this.eat(a.TokenType.AWAIT);this.expect(a.TokenType.LPAREN);var t=null,n=null;if(e&&this.match(a.TokenType.SEMICOLON))throw this.createUnexpected(this.lookahead);if(this.eat(a.TokenType.SEMICOLON))return this.match(a.TokenType.SEMICOLON)||(t=this.parseExpression()),this.expect(a.TokenType.SEMICOLON),this.match(a.TokenType.RPAREN)||(n=this.parseExpression()),new u.ForStatement({init:null,test:t,update:n,body:this.getIteratorStatementEpilogue()});var r=this.match(a.TokenType.LET),o=this.lookaheadLexicalDeclaration(),s=this.startNode();if(this.match(a.TokenType.VAR)||o){var c=this.allowIn;this.allowIn=!1;var l=this.parseVariableDeclaration(!1);if(this.allowIn=c,1===l.declarators.length&&(this.match(a.TokenType.IN)||this.matchContextualKeyword("of"))){var p=void 0,f=l.declarators[0];if(this.match(a.TokenType.IN)){if(e)throw this.createUnexpected(this.lookahead);if(null!==f.init&&(this.strict||"var"!==l.kind||"BindingIdentifier"!==f.binding.type))throw this.createError(i.ErrorMessages.INVALID_VAR_INIT_FOR_IN);p=u.ForInStatement,this.lex(),n=this.parseExpression()}else{if(null!==f.init)throw this.createError(e?i.ErrorMessages.INVALID_VAR_INIT_FOR_AWAIT:i.ErrorMessages.INVALID_VAR_INIT_FOR_OF);p=e?u.ForAwaitStatement:u.ForOfStatement,this.lex(),n=this.parseAssignmentExpression()}return new p({left:l,right:n,body:this.getIteratorStatementEpilogue()})}if(e)throw this.createUnexpected(this.lookahead);if(this.expect(a.TokenType.SEMICOLON),l.declarators.some((function(e){return"BindingIdentifier"!==e.binding.type&&null===e.init})))throw this.createError(i.ErrorMessages.UNINITIALIZED_BINDINGPATTERN_IN_FOR_INIT);return this.match(a.TokenType.SEMICOLON)||(t=this.parseExpression()),this.expect(a.TokenType.SEMICOLON),this.match(a.TokenType.RPAREN)||(n=this.parseExpression()),new u.ForStatement({init:l,test:t,update:n,body:this.getIteratorStatementEpilogue()})}var d=this.allowIn;this.allowIn=!1;var h=this.inheritCoverGrammar(this.parseAssignmentExpressionOrTarget);if(this.allowIn=d,this.isAssignmentTarget&&"AssignmentExpression"!==h.type&&(this.match(a.TokenType.IN)||this.matchContextualKeyword("of"))){if("ObjectAssignmentTarget"!==h.type&&"ArrayAssignmentTarget"!==h.type||(this.firstExprError=null),r&&this.matchContextualKeyword("of"))throw this.createError(e?i.ErrorMessages.INVALID_LHS_IN_FOR_AWAIT:i.ErrorMessages.INVALID_LHS_IN_FOR_OF);var m=void 0;if(this.match(a.TokenType.IN)){if(e)throw this.createUnexpected(this.lookahead);m=u.ForInStatement,this.lex(),n=this.parseExpression()}else m=e?u.ForAwaitStatement:u.ForOfStatement,this.lex(),n=this.parseAssignmentExpression();return new m({left:this.transformDestructuring(h),right:n,body:this.getIteratorStatementEpilogue()})}if(e)throw this.createError(i.ErrorMessages.INVALID_LHS_IN_FOR_AWAIT);if(this.firstExprError)throw this.firstExprError;for(;this.eat(a.TokenType.COMMA);){var y=this.parseAssignmentExpression();h=this.finishNode(new u.BinaryExpression({left:h,operator:",",right:y}),s)}if(this.match(a.TokenType.IN))throw this.createError(i.ErrorMessages.INVALID_LHS_IN_FOR_IN);if(this.matchContextualKeyword("of"))throw this.createError(i.ErrorMessages.INVALID_LHS_IN_FOR_OF);return this.expect(a.TokenType.SEMICOLON),this.match(a.TokenType.SEMICOLON)||(t=this.parseExpression()),this.expect(a.TokenType.SEMICOLON),this.match(a.TokenType.RPAREN)||(n=this.parseExpression()),new u.ForStatement({init:h,test:t,update:n,body:this.getIteratorStatementEpilogue()})}},{key:"getIteratorStatementEpilogue",value:function(){return this.expect(a.TokenType.RPAREN),this.parseStatement()}},{key:"parseIfStatementChild",value:function(){return this.match(a.TokenType.FUNCTION)?this.parseFunction({isExpr:!1,inDefault:!1,allowGenerator:!1,isAsync:!1}):this.parseStatement()}},{key:"parseIfStatement",value:function(){this.lex(),this.expect(a.TokenType.LPAREN);var e=this.parseExpression();this.expect(a.TokenType.RPAREN);var t=this.parseIfStatementChild(),n=null;return this.eat(a.TokenType.ELSE)&&(n=this.parseIfStatementChild()),new u.IfStatement({test:e,consequent:t,alternate:n})}},{key:"parseReturnStatement",value:function(){if(!this.inFunctionBody)throw this.createError(i.ErrorMessages.ILLEGAL_RETURN);if(this.lex(),this.eat(a.TokenType.SEMICOLON)||this.hasLineTerminatorBeforeNext)return new u.ReturnStatement({expression:null});var e=null;return this.match(a.TokenType.RBRACE)||this.eof()||(e=this.parseExpression()),this.consumeSemicolon(),new u.ReturnStatement({expression:e})}},{key:"parseSwitchStatement",value:function(){this.lex(),this.expect(a.TokenType.LPAREN);var e=this.parseExpression();if(this.expect(a.TokenType.RPAREN),this.expect(a.TokenType.LBRACE),this.eat(a.TokenType.RBRACE))return new u.SwitchStatement({discriminant:e,cases:[]});var t=this.parseSwitchCases();if(this.match(a.TokenType.DEFAULT)){var n=this.parseSwitchDefault(),r=this.parseSwitchCases();if(this.match(a.TokenType.DEFAULT))throw this.createError(i.ErrorMessages.MULTIPLE_DEFAULTS_IN_SWITCH);return this.expect(a.TokenType.RBRACE),new u.SwitchStatementWithDefault({discriminant:e,preDefaultCases:t,defaultCase:n,postDefaultCases:r})}return this.expect(a.TokenType.RBRACE),new u.SwitchStatement({discriminant:e,cases:t})}},{key:"parseSwitchCases",value:function(){for(var e=[];!(this.eof()||this.match(a.TokenType.RBRACE)||this.match(a.TokenType.DEFAULT));)e.push(this.parseSwitchCase());return e}},{key:"parseSwitchCase",value:function(){var e=this.startNode();return this.expect(a.TokenType.CASE),this.finishNode(new u.SwitchCase({test:this.parseExpression(),consequent:this.parseSwitchCaseBody()}),e)}},{key:"parseSwitchDefault",value:function(){var e=this.startNode();return this.expect(a.TokenType.DEFAULT),this.finishNode(new u.SwitchDefault({consequent:this.parseSwitchCaseBody()}),e)}},{key:"parseSwitchCaseBody",value:function(){return this.expect(a.TokenType.COLON),this.parseStatementListInSwitchCaseBody()}},{key:"parseStatementListInSwitchCaseBody",value:function(){for(var e=[];!(this.eof()||this.match(a.TokenType.RBRACE)||this.match(a.TokenType.DEFAULT)||this.match(a.TokenType.CASE));)e.push(this.parseStatementListItem());return e}},{key:"parseThrowStatement",value:function(){var e=this.lex();if(this.hasLineTerminatorBeforeNext)throw this.createErrorWithLocation(e,i.ErrorMessages.NEWLINE_AFTER_THROW);var t=this.parseExpression();return this.consumeSemicolon(),new u.ThrowStatement({expression:t})}},{key:"parseTryStatement",value:function(){this.lex();var e=this.parseBlock();if(this.match(a.TokenType.CATCH)){var t=this.parseCatchClause();if(this.eat(a.TokenType.FINALLY)){var n=this.parseBlock();return new u.TryFinallyStatement({body:e,catchClause:t,finalizer:n})}return new u.TryCatchStatement({body:e,catchClause:t})}if(this.eat(a.TokenType.FINALLY)){var r=this.parseBlock();return new u.TryFinallyStatement({body:e,catchClause:null,finalizer:r})}throw this.createError(i.ErrorMessages.NO_CATCH_OR_FINALLY)}},{key:"parseVariableDeclarationStatement",value:function(){var e=this.parseVariableDeclaration(!0);return this.consumeSemicolon(),new u.VariableDeclarationStatement({declaration:e})}},{key:"parseWhileStatement",value:function(){this.lex(),this.expect(a.TokenType.LPAREN);var e=this.parseExpression(),t=this.getIteratorStatementEpilogue();return new u.WhileStatement({test:e,body:t})}},{key:"parseWithStatement",value:function(){this.lex(),this.expect(a.TokenType.LPAREN);var e=this.parseExpression();this.expect(a.TokenType.RPAREN);var t=this.parseStatement();return new u.WithStatement({object:e,body:t})}},{key:"parseCatchClause",value:function(){var e=this.startNode();if(this.lex(),this.expect(a.TokenType.LPAREN),this.match(a.TokenType.RPAREN)||this.match(a.TokenType.LPAREN))throw this.createUnexpected(this.lookahead);var t=this.parseBindingTarget();this.expect(a.TokenType.RPAREN);var n=this.parseBlock();return this.finishNode(new u.CatchClause({binding:t,body:n}),e)}},{key:"parseBlock",value:function(){var e=this.startNode();this.expect(a.TokenType.LBRACE);for(var t=[];!this.match(a.TokenType.RBRACE);)t.push(this.parseStatementListItem());return this.expect(a.TokenType.RBRACE),this.finishNode(new u.Block({statements:t}),e)}},{key:"parseVariableDeclaration",value:function(e){var t=this.startNode(),n=this.lex(),r=n.type===a.TokenType.VAR?"var":n.type===a.TokenType.CONST?"const":"let",i=this.parseVariableDeclaratorList(e);return this.finishNode(new u.VariableDeclaration({kind:r,declarators:i}),t)}},{key:"parseVariableDeclaratorList",value:function(e){var t=[];do{t.push(this.parseVariableDeclarator(e))}while(this.eat(a.TokenType.COMMA));return t}},{key:"parseVariableDeclarator",value:function(e){var t=this.startNode();if(this.match(a.TokenType.LPAREN))throw this.createUnexpected(this.lookahead);var n=this.allowIn;this.allowIn=!0;var r=this.parseBindingTarget();this.allowIn=n,e&&"BindingIdentifier"!==r.type&&!this.match(a.TokenType.ASSIGN)&&this.expect(a.TokenType.ASSIGN);var i=null;return this.eat(a.TokenType.ASSIGN)&&(i=this.parseAssignmentExpression()),this.finishNode(new u.VariableDeclarator({binding:r,init:i}),t)}},{key:"isolateCoverGrammar",value:function(e){var t,n=this.isBindingElement,r=this.isAssignmentTarget,i=this.firstExprError;if(this.isBindingElement=this.isAssignmentTarget=!0,this.firstExprError=null,t=e.call(this),null!==this.firstExprError)throw this.firstExprError;return this.isBindingElement=n,this.isAssignmentTarget=r,this.firstExprError=i,t}},{key:"inheritCoverGrammar",value:function(e){var t,n=this.isBindingElement,r=this.isAssignmentTarget,i=this.firstExprError;return this.isBindingElement=this.isAssignmentTarget=!0,this.firstExprError=null,t=e.call(this),this.isBindingElement=this.isBindingElement&&n,this.isAssignmentTarget=this.isAssignmentTarget&&r,this.firstExprError=i||this.firstExprError,t}},{key:"parseExpression",value:function(){var e=this.startNode(),t=this.parseAssignmentExpression();if(this.match(a.TokenType.COMMA))for(;!this.eof()&&this.match(a.TokenType.COMMA);){this.lex();var n=this.parseAssignmentExpression();t=this.finishNode(new u.BinaryExpression({left:t,operator:",",right:n}),e)}return t}},{key:"finishArrowParams",value:function(e){var t=e.params,n=void 0===t?null:t,r=e.rest,i=void 0===r?null:r;if(e.type!==l){if("IdentifierExpression"!==e.type)throw this.createUnexpected(this.lookahead);n=[this.targetToBinding(this.transformDestructuring(e))]}return this.copyNode(e,new u.FormalParameters({items:n,rest:i}))}},{key:"parseArrowExpressionTail",value:function(e,t,n){this.expect(a.TokenType.ARROW);var r=this.allowYieldExpression,i=this.allowAwaitExpression,o=this.firstAwaitLocation;this.allowYieldExpression=!1,this.allowAwaitExpression=t,this.firstAwaitLocation=null;var s=void 0;if(this.match(a.TokenType.LBRACE)){var c=this.allowIn;this.allowIn=!0,s=this.parseFunctionBody(),this.allowIn=c}else s=this.parseAssignmentExpression();return this.allowYieldExpression=r,this.allowAwaitExpression=i,this.firstAwaitLocation=o,this.finishNode(new u.ArrowExpression({isAsync:t,params:e,body:s}),n)}},{key:"parseAssignmentExpression",value:function(){return this.isolateCoverGrammar(this.parseAssignmentExpressionOrTarget)}},{key:"parseAssignmentExpressionOrTarget",value:function(){var e=this.startNode();if(this.allowYieldExpression&&this.match(a.TokenType.YIELD))return this.isBindingElement=this.isAssignmentTarget=!1,this.parseYieldExpression();var t=this.parseConditionalExpression();if(!this.hasLineTerminatorBeforeNext&&this.match(a.TokenType.ARROW)){this.isBindingElement=this.isAssignmentTarget=!1,this.firstExprError=null;var n=t.type===l&&t.isAsync;return this.parseArrowExpressionTail(this.finishArrowParams(t),n,e)}var r=!1,o=this.lookahead;switch(o.type){case a.TokenType.ASSIGN_BIT_OR:case a.TokenType.ASSIGN_BIT_XOR:case a.TokenType.ASSIGN_BIT_AND:case a.TokenType.ASSIGN_SHL:case a.TokenType.ASSIGN_SHR:case a.TokenType.ASSIGN_SHR_UNSIGNED:case a.TokenType.ASSIGN_ADD:case a.TokenType.ASSIGN_SUB:case a.TokenType.ASSIGN_MUL:case a.TokenType.ASSIGN_DIV:case a.TokenType.ASSIGN_MOD:case a.TokenType.ASSIGN_EXP:r=!0}if(r){if(!this.isAssignmentTarget||!v(t))throw this.createError(i.ErrorMessages.INVALID_LHS_IN_ASSIGNMENT);t=this.transformDestructuring(t)}else{if(o.type!==a.TokenType.ASSIGN)return t;if(!this.isAssignmentTarget)throw this.createError(i.ErrorMessages.INVALID_LHS_IN_ASSIGNMENT);t=this.transformDestructuring(t)}this.lex();var s=this.parseAssignmentExpression();this.firstExprError=null;var c=void 0;return o.type===a.TokenType.ASSIGN?c=new u.AssignmentExpression({binding:t,expression:s}):(c=new u.CompoundAssignmentExpression({binding:t,operator:o.type.name,expression:s}),this.isBindingElement=this.isAssignmentTarget=!1),this.finishNode(c,e)}},{key:"targetToBinding",value:function(e){var t=this;if(null===e)return null;switch(e.type){case"AssignmentTargetIdentifier":return this.copyNode(e,new u.BindingIdentifier({name:e.name}));case"ArrayAssignmentTarget":return this.copyNode(e,new u.ArrayBinding({elements:e.elements.map((function(e){return t.targetToBinding(e)})),rest:this.targetToBinding(e.rest)}));case"ObjectAssignmentTarget":return this.copyNode(e,new u.ObjectBinding({properties:e.properties.map((function(e){return t.targetToBinding(e)})),rest:this.targetToBinding(e.rest)}));case"AssignmentTargetPropertyIdentifier":return this.copyNode(e,new u.BindingPropertyIdentifier({binding:this.targetToBinding(e.binding),init:e.init}));case"AssignmentTargetPropertyProperty":return this.copyNode(e,new u.BindingPropertyProperty({name:e.name,binding:this.targetToBinding(e.binding)}));case"AssignmentTargetWithDefault":return this.copyNode(e,new u.BindingWithDefault({binding:this.targetToBinding(e.binding),init:e.init}))}throw new Error("Not reached")}},{key:"transformDestructuring",value:function(e){var t=this;switch(e.type){case"DataProperty":return this.copyNode(e,new u.AssignmentTargetPropertyProperty({name:e.name,binding:this.transformDestructuringWithDefault(e.expression)}));case"ShorthandProperty":return this.copyNode(e,new u.AssignmentTargetPropertyIdentifier({binding:this.copyNode(e,new u.AssignmentTargetIdentifier({name:e.name.name})),init:null}));case"ObjectExpression":var n=e.properties.length>0?e.properties[e.properties.length-1]:void 0;return null!=n&&"SpreadProperty"===n.type?this.copyNode(e,new u.ObjectAssignmentTarget({properties:e.properties.slice(0,-1).map((function(e){return e&&t.transformDestructuringWithDefault(e)})),rest:this.transformDestructuring(n.expression)})):this.copyNode(e,new u.ObjectAssignmentTarget({properties:e.properties.map((function(e){return e&&t.transformDestructuringWithDefault(e)})),rest:null}));case"ArrayExpression":var r=e.elements[e.elements.length-1];return null!=r&&"SpreadElement"===r.type?this.copyNode(e,new u.ArrayAssignmentTarget({elements:e.elements.slice(0,-1).map((function(e){return e&&t.transformDestructuringWithDefault(e)})),rest:this.copyNode(r.expression,this.transformDestructuring(r.expression))})):this.copyNode(e,new u.ArrayAssignmentTarget({elements:e.elements.map((function(e){return e&&t.transformDestructuringWithDefault(e)})),rest:null}));case"IdentifierExpression":return this.copyNode(e,new u.AssignmentTargetIdentifier({name:e.name}));case"StaticPropertyName":return this.copyNode(e,new u.AssignmentTargetIdentifier({name:e.value}));case"ComputedMemberExpression":return this.copyNode(e,new u.ComputedMemberAssignmentTarget({object:e.object,expression:e.expression}));case"StaticMemberExpression":return this.copyNode(e,new u.StaticMemberAssignmentTarget({object:e.object,property:e.property}));case"ArrayAssignmentTarget":case"ObjectAssignmentTarget":case"ComputedMemberAssignmentTarget":case"StaticMemberAssignmentTarget":case"AssignmentTargetIdentifier":case"AssignmentTargetPropertyIdentifier":case"AssignmentTargetPropertyProperty":case"AssignmentTargetWithDefault":return e}throw new Error("Not reached")}},{key:"transformDestructuringWithDefault",value:function(e){return"AssignmentExpression"===e.type?this.copyNode(e,new u.AssignmentTargetWithDefault({binding:this.transformDestructuring(e.binding),init:e.expression})):this.transformDestructuring(e)}},{key:"lookaheadAssignmentExpression",value:function(){if(this.matchIdentifier())return!0;switch(this.lookahead.type){case a.TokenType.ADD:case a.TokenType.ASSIGN_DIV:case a.TokenType.BIT_NOT:case a.TokenType.CLASS:case a.TokenType.DEC:case a.TokenType.DELETE:case a.TokenType.DIV:case a.TokenType.FALSE:case a.TokenType.FUNCTION:case a.TokenType.INC:case a.TokenType.LBRACE:case a.TokenType.LBRACK:case a.TokenType.LPAREN:case a.TokenType.NEW:case a.TokenType.NOT:case a.TokenType.NULL:case a.TokenType.NUMBER:case a.TokenType.STRING:case a.TokenType.SUB:case a.TokenType.SUPER:case a.TokenType.THIS:case a.TokenType.TRUE:case a.TokenType.TYPEOF:case a.TokenType.VOID:case a.TokenType.TEMPLATE:return!0}return!1}},{key:"parseYieldExpression",value:function(){var e=this.startNode();if(this.lex(),this.hasLineTerminatorBeforeNext)return this.finishNode(new u.YieldExpression({expression:null}),e);var t=!!this.eat(a.TokenType.MUL),n=null;(t||this.lookaheadAssignmentExpression())&&(n=this.parseAssignmentExpression());var r=t?u.YieldGeneratorExpression:u.YieldExpression;return this.finishNode(new r({expression:n}),e)}},{key:"parseConditionalExpression",value:function(){var e=this.startNode(),t=this.parseBinaryExpression();if(this.firstExprError)return t;if(this.eat(a.TokenType.CONDITIONAL)){this.isBindingElement=this.isAssignmentTarget=!1;var n=this.allowIn;this.allowIn=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.allowIn=n,this.expect(a.TokenType.COLON);var i=this.isolateCoverGrammar(this.parseAssignmentExpression);return this.finishNode(new u.ConditionalExpression({test:t,consequent:r,alternate:i}),e)}return t}},{key:"isBinaryOperator",value:function(e){switch(e){case a.TokenType.OR:case a.TokenType.AND:case a.TokenType.BIT_OR:case a.TokenType.BIT_XOR:case a.TokenType.BIT_AND:case a.TokenType.EQ:case a.TokenType.NE:case a.TokenType.EQ_STRICT:case a.TokenType.NE_STRICT:case a.TokenType.LT:case a.TokenType.GT:case a.TokenType.LTE:case a.TokenType.GTE:case a.TokenType.INSTANCEOF:case a.TokenType.SHL:case a.TokenType.SHR:case a.TokenType.SHR_UNSIGNED:case a.TokenType.ADD:case a.TokenType.SUB:case a.TokenType.MUL:case a.TokenType.DIV:case a.TokenType.MOD:return!0;case a.TokenType.IN:return this.allowIn;default:return!1}}},{key:"parseBinaryExpression",value:function(){var e=this,t=this.startNode(),n=this.parseExponentiationExpression();if(this.firstExprError)return n;var r=this.lookahead.type;if(!this.isBinaryOperator(r))return n;this.isBindingElement=this.isAssignmentTarget=!1,this.lex();var i=[];i.push({startState:t,left:n,operator:r,precedence:y[r.name]}),t=this.startNode();var o=this.isolateCoverGrammar(this.parseExponentiationExpression);for(r=this.lookahead.type;this.isBinaryOperator(r);){for(var a=y[r.name];i.length&&a<=i[i.length-1].precedence;){var s=i[i.length-1],c=s.operator;n=s.left,i.pop(),t=s.startState,o=this.finishNode(new u.BinaryExpression({left:n,operator:c.name,right:o}),t)}this.lex(),i.push({startState:t,left:o,operator:r,precedence:a}),t=this.startNode(),o=this.isolateCoverGrammar(this.parseExponentiationExpression),r=this.lookahead.type}return i.reduceRight((function(t,n){return e.finishNode(new u.BinaryExpression({left:n.left,operator:n.operator.name,right:t}),n.startState)}),o)}},{key:"parseExponentiationExpression",value:function(){var e=this.startNode(),t=this.lookahead.type===a.TokenType.LPAREN,n=this.parseUnaryExpression();if(this.lookahead.type!==a.TokenType.EXP)return n;if("UnaryExpression"===n.type&&!t)throw this.createError(i.ErrorMessages.INVALID_EXPONENTIATION_LHS);this.lex(),this.isBindingElement=this.isAssignmentTarget=!1;var r=this.isolateCoverGrammar(this.parseExponentiationExpression);return this.finishNode(new u.BinaryExpression({left:n,operator:"**",right:r}),e)}},{key:"parseUnaryExpression",value:function(){if(this.lookahead.type.klass!==a.TokenClass.Punctuator&&this.lookahead.type.klass!==a.TokenClass.Keyword)return this.parseUpdateExpression();var e=this.startNode();if(this.allowAwaitExpression&&this.eat(a.TokenType.AWAIT)){this.isBindingElement=this.isAssignmentTarget=!1;var t=this.isolateCoverGrammar(this.parseUnaryExpression);return this.finishNode(new u.AwaitExpression({expression:t}),e)}var n=this.lookahead;if(!function(e){switch(e.type){case a.TokenType.INC:case a.TokenType.DEC:case a.TokenType.ADD:case a.TokenType.SUB:case a.TokenType.BIT_NOT:case a.TokenType.NOT:case a.TokenType.DELETE:case a.TokenType.VOID:case a.TokenType.TYPEOF:return!0}return!1}(n))return this.parseUpdateExpression();this.lex(),this.isBindingElement=this.isAssignmentTarget=!1;var r=void 0;if(g(n)){var o=this.getLocation(),s=this.isolateCoverGrammar(this.parseUnaryExpression);if(!v(s))throw this.createErrorWithLocation(o,i.ErrorMessages.INVALID_UPDATE_OPERAND);s=this.transformDestructuring(s),r=new u.UpdateExpression({isPrefix:!0,operator:n.value,operand:s})}else{var c=this.isolateCoverGrammar(this.parseUnaryExpression);r=new u.UnaryExpression({operator:n.value,operand:c})}return this.finishNode(r,e)}},{key:"parseUpdateExpression",value:function(){var e=this.getLocation(),t=this.startNode(),n=this.parseLeftHandSideExpression({allowCall:!0});if(this.firstExprError||this.hasLineTerminatorBeforeNext)return n;var r=this.lookahead;if(!g(r))return n;if(this.lex(),this.isBindingElement=this.isAssignmentTarget=!1,!v(n))throw this.createErrorWithLocation(e,i.ErrorMessages.INVALID_UPDATE_OPERAND);return n=this.transformDestructuring(n),this.finishNode(new u.UpdateExpression({isPrefix:!1,operator:r.value,operand:n}),t)}},{key:"parseLeftHandSideExpression",value:function(e){var t=this,n=e.allowCall,r=this.startNode(),o=this.allowIn;this.allowIn=!0;var s=void 0,c=this.lookahead;if(this.eat(a.TokenType.SUPER))if(this.isBindingElement=!1,this.isAssignmentTarget=!1,s=this.finishNode(new u.Super,r),this.match(a.TokenType.LPAREN)){if(!n)throw this.createUnexpected(c);s=this.finishNode(new u.CallExpression({callee:s,arguments:this.parseArgumentList().args}),r)}else if(this.match(a.TokenType.LBRACK))s=this.finishNode(new u.ComputedMemberExpression({object:s,expression:this.parseComputedMember()}),r),this.isAssignmentTarget=!0;else{if(!this.match(a.TokenType.PERIOD))throw this.createUnexpected(c);s=this.finishNode(new u.StaticMemberExpression({object:s,property:this.parseStaticMember()}),r),this.isAssignmentTarget=!0}else if(this.match(a.TokenType.NEW))this.isBindingElement=this.isAssignmentTarget=!1,s=this.parseNewExpression();else if(this.match(a.TokenType.ASYNC)){if("IdentifierExpression"===(s=this.parsePrimaryExpression()).type&&n&&!this.hasLineTerminatorBeforeNext){if(this.matchIdentifier()){var p=this.startNode(),f=this.allowAwaitExpression;this.allowAwaitExpression=!0;var d=this.parseBindingIdentifier();return this.allowAwaitExpression=f,this.ensureArrow(),this.finishNode({type:l,params:[d],rest:null,isAsync:!0},p)}if(this.match(a.TokenType.LPAREN)){var h=this.startNode(),m=this.firstAwaitLocation;this.firstAwaitLocation=null;var y=this.parseArgumentList(),v=y.args,g=y.locationFollowingFirstSpread;if(this.isBindingElement&&!this.hasLineTerminatorBeforeNext&&this.match(a.TokenType.ARROW)){if(null!==g)throw this.createErrorWithLocation(g,i.ErrorMessages.UNEXPECTED_TOKEN(","));if(null!==this.firstAwaitLocation)throw this.createErrorWithLocation(this.firstAwaitLocation,i.ErrorMessages.NO_AWAIT_IN_ASYNC_PARAMS);var _=null;if(v.length>0&&"SpreadElement"===v[v.length-1].type){if(null!=(_=this.targetToBinding(this.transformDestructuringWithDefault(v[v.length-1].expression))).init)throw this.createError(i.ErrorMessages.UNEXPECTED_REST_PARAMETERS_INITIALIZATION);v=v.slice(0,-1)}var E=v.map((function(e){return t.targetToBinding(t.transformDestructuringWithDefault(e))}));return this.finishNode({type:l,params:E,rest:_,isAsync:!0},h)}this.firstAwaitLocation=m||this.firstAwaitLocation,this.isBindingElement=this.isAssignmentTarget=!1,s=this.finishNode(new u.CallExpression({callee:s,arguments:v}),r)}}}else if(s=this.parsePrimaryExpression(),this.firstExprError)return s;for(;;)if(n&&this.match(a.TokenType.LPAREN))this.isBindingElement=this.isAssignmentTarget=!1,s=this.finishNode(new u.CallExpression({callee:s,arguments:this.parseArgumentList().args}),r);else if(this.match(a.TokenType.LBRACK))this.isBindingElement=!1,this.isAssignmentTarget=!0,s=this.finishNode(new u.ComputedMemberExpression({object:s,expression:this.parseComputedMember()}),r);else if(this.match(a.TokenType.PERIOD))this.isBindingElement=!1,this.isAssignmentTarget=!0,s=this.finishNode(new u.StaticMemberExpression({object:s,property:this.parseStaticMember()}),r);else{if(!this.match(a.TokenType.TEMPLATE))break;this.isBindingElement=this.isAssignmentTarget=!1,s=this.finishNode(new u.TemplateExpression({tag:s,elements:this.parseTemplateElements()}),r)}return this.allowIn=o,s}},{key:"parseTemplateElements",value:function(){var e=this.startNode(),t=this.lookahead;if(t.tail)return this.lex(),[this.finishNode(new u.TemplateElement({rawValue:t.slice.text.slice(1,-1)}),e)];for(var n=[this.finishNode(new u.TemplateElement({rawValue:this.lex().slice.text.slice(1,-2)}),e)];;){if(n.push(this.parseExpression()),!this.match(a.TokenType.RBRACE))throw this.createILLEGAL();if(this.index=this.startIndex,this.line=this.startLine,this.lineStart=this.startLineStart,this.lookahead=this.scanTemplateElement(),e=this.startNode(),(t=this.lex()).tail)return n.push(this.finishNode(new u.TemplateElement({rawValue:t.slice.text.slice(1,-1)}),e)),n;n.push(this.finishNode(new u.TemplateElement({rawValue:t.slice.text.slice(1,-2)}),e))}}},{key:"parseStaticMember",value:function(){if(this.lex(),this.lookahead.type.klass.isIdentifierName)return this.lex().value;throw this.createUnexpected(this.lookahead)}},{key:"parseComputedMember",value:function(){this.lex();var e=this.parseExpression();return this.expect(a.TokenType.RBRACK),e}},{key:"parseNewExpression",value:function(){var e=this,t=this.startNode();if(this.lex(),this.eat(a.TokenType.PERIOD))return this.expectContextualKeyword("target"),this.finishNode(new u.NewTargetExpression,t);var n=this.isolateCoverGrammar((function(){return e.parseLeftHandSideExpression({allowCall:!1})}));return this.finishNode(new u.NewExpression({callee:n,arguments:this.match(a.TokenType.LPAREN)?this.parseArgumentList().args:[]}),t)}},{key:"parseRegexFlags",value:function(e){for(var t=!1,n=!1,r=!1,i=!1,o=!1,a=!1,s=0;s"},Ident:{name:"Identifier",isIdentifierName:!0},Keyword:{name:"Keyword",isIdentifierName:!0},NumericLiteral:{name:"Numeric"},TemplateElement:{name:"Template"},Punctuator:{name:"Punctuator"},StringLiteral:{name:"String"},RegularExpression:{name:"RegularExpression"},Illegal:{name:"Illegal"}},c=t.TokenType={EOS:{klass:u.Eof,name:"EOS"},LPAREN:{klass:u.Punctuator,name:"("},RPAREN:{klass:u.Punctuator,name:")"},LBRACK:{klass:u.Punctuator,name:"["},RBRACK:{klass:u.Punctuator,name:"]"},LBRACE:{klass:u.Punctuator,name:"{"},RBRACE:{klass:u.Punctuator,name:"}"},COLON:{klass:u.Punctuator,name:":"},SEMICOLON:{klass:u.Punctuator,name:";"},PERIOD:{klass:u.Punctuator,name:"."},ELLIPSIS:{klass:u.Punctuator,name:"..."},ARROW:{klass:u.Punctuator,name:"=>"},CONDITIONAL:{klass:u.Punctuator,name:"?"},INC:{klass:u.Punctuator,name:"++"},DEC:{klass:u.Punctuator,name:"--"},ASSIGN:{klass:u.Punctuator,name:"="},ASSIGN_BIT_OR:{klass:u.Punctuator,name:"|="},ASSIGN_BIT_XOR:{klass:u.Punctuator,name:"^="},ASSIGN_BIT_AND:{klass:u.Punctuator,name:"&="},ASSIGN_SHL:{klass:u.Punctuator,name:"<<="},ASSIGN_SHR:{klass:u.Punctuator,name:">>="},ASSIGN_SHR_UNSIGNED:{klass:u.Punctuator,name:">>>="},ASSIGN_ADD:{klass:u.Punctuator,name:"+="},ASSIGN_SUB:{klass:u.Punctuator,name:"-="},ASSIGN_MUL:{klass:u.Punctuator,name:"*="},ASSIGN_DIV:{klass:u.Punctuator,name:"/="},ASSIGN_MOD:{klass:u.Punctuator,name:"%="},ASSIGN_EXP:{klass:u.Punctuator,name:"**="},COMMA:{klass:u.Punctuator,name:","},OR:{klass:u.Punctuator,name:"||"},AND:{klass:u.Punctuator,name:"&&"},BIT_OR:{klass:u.Punctuator,name:"|"},BIT_XOR:{klass:u.Punctuator,name:"^"},BIT_AND:{klass:u.Punctuator,name:"&"},SHL:{klass:u.Punctuator,name:"<<"},SHR:{klass:u.Punctuator,name:">>"},SHR_UNSIGNED:{klass:u.Punctuator,name:">>>"},ADD:{klass:u.Punctuator,name:"+"},SUB:{klass:u.Punctuator,name:"-"},MUL:{klass:u.Punctuator,name:"*"},DIV:{klass:u.Punctuator,name:"/"},MOD:{klass:u.Punctuator,name:"%"},EXP:{klass:u.Punctuator,name:"**"},EQ:{klass:u.Punctuator,name:"=="},NE:{klass:u.Punctuator,name:"!="},EQ_STRICT:{klass:u.Punctuator,name:"==="},NE_STRICT:{klass:u.Punctuator,name:"!=="},LT:{klass:u.Punctuator,name:"<"},GT:{klass:u.Punctuator,name:">"},LTE:{klass:u.Punctuator,name:"<="},GTE:{klass:u.Punctuator,name:">="},INSTANCEOF:{klass:u.Keyword,name:"instanceof"},IN:{klass:u.Keyword,name:"in"},NOT:{klass:u.Punctuator,name:"!"},BIT_NOT:{klass:u.Punctuator,name:"~"},ASYNC:{klass:u.Keyword,name:"async"},AWAIT:{klass:u.Keyword,name:"await"},ENUM:{klass:u.Keyword,name:"enum"},DELETE:{klass:u.Keyword,name:"delete"},TYPEOF:{klass:u.Keyword,name:"typeof"},VOID:{klass:u.Keyword,name:"void"},BREAK:{klass:u.Keyword,name:"break"},CASE:{klass:u.Keyword,name:"case"},CATCH:{klass:u.Keyword,name:"catch"},CLASS:{klass:u.Keyword,name:"class"},CONTINUE:{klass:u.Keyword,name:"continue"},DEBUGGER:{klass:u.Keyword,name:"debugger"},DEFAULT:{klass:u.Keyword,name:"default"},DO:{klass:u.Keyword,name:"do"},ELSE:{klass:u.Keyword,name:"else"},EXPORT:{klass:u.Keyword,name:"export"},EXTENDS:{klass:u.Keyword,name:"extends"},FINALLY:{klass:u.Keyword,name:"finally"},FOR:{klass:u.Keyword,name:"for"},FUNCTION:{klass:u.Keyword,name:"function"},IF:{klass:u.Keyword,name:"if"},IMPORT:{klass:u.Keyword,name:"import"},LET:{klass:u.Keyword,name:"let"},NEW:{klass:u.Keyword,name:"new"},RETURN:{klass:u.Keyword,name:"return"},SUPER:{klass:u.Keyword,name:"super"},SWITCH:{klass:u.Keyword,name:"switch"},THIS:{klass:u.Keyword,name:"this"},THROW:{klass:u.Keyword,name:"throw"},TRY:{klass:u.Keyword,name:"try"},VAR:{klass:u.Keyword,name:"var"},WHILE:{klass:u.Keyword,name:"while"},WITH:{klass:u.Keyword,name:"with"},NULL:{klass:u.Keyword,name:"null"},TRUE:{klass:u.Keyword,name:"true"},FALSE:{klass:u.Keyword,name:"false"},YIELD:{klass:u.Keyword,name:"yield"},NUMBER:{klass:u.NumericLiteral,name:""},STRING:{klass:u.StringLiteral,name:""},REGEXP:{klass:u.RegularExpression,name:""},IDENTIFIER:{klass:u.Ident,name:""},CONST:{klass:u.Keyword,name:"const"},TEMPLATE:{klass:u.TemplateElement,name:""},ESCAPED_KEYWORD:{klass:u.Keyword,name:""},ILLEGAL:{klass:u.Illegal,name:""}},l=c.ILLEGAL,p=!1,f=!0,d=[l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,c.NOT,l,l,l,c.MOD,c.BIT_AND,l,c.LPAREN,c.RPAREN,c.MUL,c.ADD,c.COMMA,c.SUB,c.PERIOD,c.DIV,l,l,l,l,l,l,l,l,l,l,c.COLON,c.SEMICOLON,c.LT,c.ASSIGN,c.GT,c.CONDITIONAL,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,c.LBRACK,l,c.RBRACK,c.BIT_XOR,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,c.LBRACE,c.BIT_OR,c.RBRACE,c.BIT_NOT],h=[p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,f,p,p,p,f,f,p,f,f,f,f,f,f,p,f,p,p,p,p,p,p,p,p,p,p,f,f,f,f,f,f,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,f,p,f,f,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,p,f,f,f,f,p],m=t.JsError=function(e){function t(e,n,r,i){s(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,i));o.index=e;try{o.line=n,o.column=r}catch(a){}return o.parseErrorLine=n,o.parseErrorColumn=r,o.description=i,o.message="["+n+":"+r+"]: "+i,o}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Error),t}();function y(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}var v=function(){function e(t){s(this,e),this.source=t,this.index=0,this.line=0,this.lineStart=0,this.startIndex=0,this.startLine=0,this.startLineStart=0,this.lastIndex=0,this.lastLine=0,this.lastLineStart=0,this.hasLineTerminatorBeforeNext=!1,this.tokenIndex=0}return i(e,[{key:"saveLexerState",value:function(){return{source:this.source,index:this.index,line:this.line,lineStart:this.lineStart,startIndex:this.startIndex,startLine:this.startLine,startLineStart:this.startLineStart,lastIndex:this.lastIndex,lastLine:this.lastLine,lastLineStart:this.lastLineStart,lookahead:this.lookahead,hasLineTerminatorBeforeNext:this.hasLineTerminatorBeforeNext,tokenIndex:this.tokenIndex}}},{key:"restoreLexerState",value:function(e){this.source=e.source,this.index=e.index,this.line=e.line,this.lineStart=e.lineStart,this.startIndex=e.startIndex,this.startLine=e.startLine,this.startLineStart=e.startLineStart,this.lastIndex=e.lastIndex,this.lastLine=e.lastLine,this.lastLineStart=e.lastLineStart,this.lookahead=e.lookahead,this.hasLineTerminatorBeforeNext=e.hasLineTerminatorBeforeNext,this.tokenIndex=e.tokenIndex}},{key:"createILLEGAL",value:function(){return this.startIndex=this.index,this.startLine=this.line,this.startLineStart=this.lineStart,this.index1?n-1:0),i=1;i10)return c.IDENTIFIER;switch(t.length){case 2:switch(t.charAt(0)){case"i":switch(t.charAt(1)){case"f":return c.IF;case"n":return c.IN}break;case"d":if("o"===t.charAt(1))return c.DO}break;case 3:switch(t.charAt(0)){case"v":if(e.cse2(t,"a","r"))return c.VAR;break;case"f":if(e.cse2(t,"o","r"))return c.FOR;break;case"n":if(e.cse2(t,"e","w"))return c.NEW;break;case"t":if(e.cse2(t,"r","y"))return c.TRY;break;case"l":if(e.cse2(t,"e","t"))return c.LET}break;case 4:switch(t.charAt(0)){case"t":if(e.cse3(t,"h","i","s"))return c.THIS;if(e.cse3(t,"r","u","e"))return c.TRUE;break;case"n":if(e.cse3(t,"u","l","l"))return c.NULL;break;case"e":if(e.cse3(t,"l","s","e"))return c.ELSE;if(e.cse3(t,"n","u","m"))return c.ENUM;break;case"c":if(e.cse3(t,"a","s","e"))return c.CASE;break;case"v":if(e.cse3(t,"o","i","d"))return c.VOID;break;case"w":if(e.cse3(t,"i","t","h"))return c.WITH}break;case 5:switch(t.charAt(0)){case"a":if(e.cse4(t,"s","y","n","c"))return c.ASYNC;if(e.cse4(t,"w","a","i","t"))return c.AWAIT;break;case"w":if(e.cse4(t,"h","i","l","e"))return c.WHILE;break;case"b":if(e.cse4(t,"r","e","a","k"))return c.BREAK;break;case"f":if(e.cse4(t,"a","l","s","e"))return c.FALSE;break;case"c":if(e.cse4(t,"a","t","c","h"))return c.CATCH;if(e.cse4(t,"o","n","s","t"))return c.CONST;if(e.cse4(t,"l","a","s","s"))return c.CLASS;break;case"t":if(e.cse4(t,"h","r","o","w"))return c.THROW;break;case"y":if(e.cse4(t,"i","e","l","d"))return c.YIELD;break;case"s":if(e.cse4(t,"u","p","e","r"))return c.SUPER}break;case 6:switch(t.charAt(0)){case"r":if(e.cse5(t,"e","t","u","r","n"))return c.RETURN;break;case"t":if(e.cse5(t,"y","p","e","o","f"))return c.TYPEOF;break;case"d":if(e.cse5(t,"e","l","e","t","e"))return c.DELETE;break;case"s":if(e.cse5(t,"w","i","t","c","h"))return c.SWITCH;break;case"e":if(e.cse5(t,"x","p","o","r","t"))return c.EXPORT;break;case"i":if(e.cse5(t,"m","p","o","r","t"))return c.IMPORT}break;case 7:switch(t.charAt(0)){case"d":if(e.cse6(t,"e","f","a","u","l","t"))return c.DEFAULT;break;case"f":if(e.cse6(t,"i","n","a","l","l","y"))return c.FINALLY;break;case"e":if(e.cse6(t,"x","t","e","n","d","s"))return c.EXTENDS}break;case 8:switch(t.charAt(0)){case"f":if(e.cse7(t,"u","n","c","t","i","o","n"))return c.FUNCTION;break;case"c":if(e.cse7(t,"o","n","t","i","n","u","e"))return c.CONTINUE;break;case"d":if(e.cse7(t,"e","b","u","g","g","e","r"))return c.DEBUGGER}break;case 10:if("instanceof"===t)return c.INSTANCEOF}return c.IDENTIFIER}},{key:"skipSingleLineComment",value:function(e){for(this.index+=e;this.index=t)break;if(47===(n=this.source.charCodeAt(this.index+1)))this.skipSingleLineComment(2),e=!0;else{if(42!==n)break;e=this.skipMultiLineComment()||e}}else if(!this.moduleIsTheGoalSymbol&&e&&45===n){if(this.index+2>=t)break;if("-"!==this.source.charAt(this.index+1)||">"!==this.source.charAt(this.index+2))break;this.skipSingleLineComment(3)}else{if(this.moduleIsTheGoalSymbol||60!==n)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.skipSingleLineComment(4),e=!0}}}},{key:"scanHexEscape2",value:function(){if(this.index+2>this.source.length)return-1;var e=(0,o.getHexValue)(this.source.charAt(this.index));if(-1===e)return-1;var t=(0,o.getHexValue)(this.source.charAt(this.index+1));return-1===t?-1:(this.index+=2,e<<4|t)}},{key:"scanUnicode",value:function(){if("{"===this.source.charAt(this.index)){for(var e=this.index+1,t=0,n=void 0;e1114111)throw this.createILLEGAL();e++}if("}"!==n)throw this.createILLEGAL();if(e===this.index+1)throw++this.index,this.createILLEGAL();return this.index=e+1,t}if(this.index+4>this.source.length)return-1;var i=(0,o.getHexValue)(this.source.charAt(this.index));if(-1===i)return-1;var a=(0,o.getHexValue)(this.source.charAt(this.index+1));if(-1===a)return-1;var s=(0,o.getHexValue)(this.source.charAt(this.index+2));if(-1===s)return-1;var u=(0,o.getHexValue)(this.source.charAt(this.index+3));return-1===u?-1:(this.index+=4,i<<12|a<<8|s<<4|u)}},{key:"getEscapedIdentifier",value:function(){for(var e="",t=o.isIdentifierStart;this.index=this.source.length)throw this.createILLEGAL();if("u"!==this.source.charAt(this.index))throw this.createILLEGAL();if(++this.index,(r=this.scanUnicode())<0)throw this.createILLEGAL();n=y(r)}else if(r>=55296&&r<=56319){if(this.index>=this.source.length)throw this.createILLEGAL();var a=this.source.charCodeAt(this.index);if(++this.index,!(a>=56320&&a<=57343))throw this.createILLEGAL();n=y(r=1024*(r-55296)+(a-56320)+65536)}if(!t(r)){if(e.length<1)throw this.createILLEGAL();return this.index=i,e}t=o.isIdentifierPart,e+=n}return e}},{key:"getIdentifier",value:function(){for(var e=this.index,t=this.source.length,n=this.index,r=o.isIdentifierStart;n=55296&&a<=56319)return this.index=e,this.getEscapedIdentifier();if(!r(a))return this.index=n,this.source.slice(e,n);++n,r=o.isIdentifierPart}return this.index=n,this.source.slice(e,n)}},{key:"scanIdentifier",value:function(){var e=this.getLocation(),t=this.index,n="\\"===this.source.charAt(this.index)?this.getEscapedIdentifier():this.getIdentifier(),r=this.getSlice(t,e);r.text=n;var i=this.index-t!==n.length,o=this.getKeyword(n);return i&&o!==c.IDENTIFIER&&(o=c.ESCAPED_KEYWORD),{type:o,value:n,slice:r,escaped:i}}},{key:"getLocation",value:function(){return{line:this.startLine+1,column:this.startIndex-this.startLineStart,offset:this.startIndex}}},{key:"getLastTokenEndLocation",value:function(){return{line:this.lastLine+1,column:this.lastIndex-this.lastLineStart,offset:this.lastIndex}}},{key:"getSlice",value:function(e,t){return{text:this.source.slice(e,this.index),start:e,startLocation:t,end:this.index}}},{key:"scanPunctuatorHelper",value:function(){var e=this.source.charAt(this.index);switch(e){case".":return"."!==this.source.charAt(this.index+1)||"."!==this.source.charAt(this.index+2)?c.PERIOD:c.ELLIPSIS;case"(":return c.LPAREN;case")":case";":case",":case"}":case"[":case"]":case":":case"?":case"~":return d[e.charCodeAt(0)];case"{":return c.LBRACE;default:if(this.index+1":return c.GTE;case"/":return c.ASSIGN_DIV;case"%":return c.ASSIGN_MOD;case"^":return c.ASSIGN_BIT_XOR;case"&":return c.ASSIGN_BIT_AND}}if(this.index+1"===e&&">"===n)return this.index+3"===e&&"="===n)return c.ASSIGN_SHR;if("*"===e&&"="===n)return c.ASSIGN_EXP}switch(e){case"*":return c.EXP;case"+":return c.INC;case"-":return c.DEC;case"<":return c.SHL;case">":return c.SHR;case"&":return c.AND;case"|":return c.OR}}else if("="===e&&">"===t)return c.ARROW}return d[e.charCodeAt(0)]}},{key:"scanPunctuator",value:function(){var e=this.getLocation(),t=this.index,n=this.scanPunctuatorHelper();return this.index+=n.name.length,{type:n,value:n.name,slice:this.getSlice(t,e)}}},{key:"scanHexLiteral",value:function(e,t){for(var n=this.index;n="0"&&n<="7")){if((0,o.isIdentifierPart)(n.charCodeAt(0)))throw this.createILLEGAL();break}this.index++}if(this.index-e===2)throw this.createILLEGAL();return{type:c.NUMBER,value:parseInt(this.getSlice(e,t).text.substr(2),8),slice:this.getSlice(e,t),octal:!1,noctal:!1}}},{key:"scanLegacyOctalLiteral",value:function(e,t){for(var n=!0;this.index="0"&&r<="7")this.index++;else{if("8"!==r&&"9"!==r){if((0,o.isIdentifierPart)(r.charCodeAt(0)))throw this.createILLEGAL();break}n=!1,this.index++}}var i=this.getSlice(e,t);return n?{type:c.NUMBER,slice:i,value:parseInt(i.text.substr(1),8),octal:!0,noctal:!n}:(this.eatDecimalLiteralSuffix(),{type:c.NUMBER,slice:i,value:+i.text,octal:!0,noctal:!n})}},{key:"scanNumericLiteral",value:function(){var e=this.source.charAt(this.index),t=this.getLocation(),n=this.index;if("0"===e){if(this.index++,!(this.index="0"&&e<="9")return this.scanLegacyOctalLiteral(n,t)}else if("."!==e)for(e=this.source.charAt(this.index);e>="0"&&e<="9";){if(this.index++,this.index===this.source.length){var i=this.getSlice(n,t);return{type:c.NUMBER,value:+i.text,slice:i,octal:!1,noctal:!1}}e=this.source.charAt(this.index)}if(this.eatDecimalLiteralSuffix(),this.index!==this.source.length&&(0,o.isIdentifierStart)(this.source.charCodeAt(this.index)))throw this.createILLEGAL();var a=this.getSlice(n,t);return{type:c.NUMBER,value:+a.text,slice:a,octal:!1,noctal:!1}}},{key:"eatDecimalLiteralSuffix",value:function(){var e=this.source.charAt(this.index);if("."===e){if(this.index++,this.index===this.source.length)return;for(e=this.source.charAt(this.index);e>="0"&&e<="9";){if(this.index++,this.index===this.source.length)return;e=this.source.charAt(this.index)}}if("e"===e||"E"===e){if(this.index++,this.index===this.source.length)throw this.createILLEGAL();if("+"===(e=this.source.charAt(this.index))||"-"===e){if(this.index++,this.index===this.source.length)throw this.createILLEGAL();e=this.source.charAt(this.index)}if(!(e>="0"&&e<="9"))throw this.createILLEGAL();for(;e>="0"&&e<="9"&&(this.index++,this.index!==this.source.length);)e=this.source.charAt(this.index)}}},{key:"scanStringEscape",value:function(e,t){if(this.index++,this.index===this.source.length)throw this.createILLEGAL();var n=this.source.charAt(this.index);if((0,o.isLineTerminator)(n.charCodeAt(0)))this.index++,"\r"===n&&"\n"===this.source.charAt(this.index)&&this.index++,this.lineStart=this.index,this.line++;else switch(n){case"n":e+="\n",this.index++;break;case"r":e+="\r",this.index++;break;case"t":e+="\t",this.index++;break;case"u":case"x":var r;if(this.index++,this.index>=this.source.length)throw this.createILLEGAL();if((r="u"===n?this.scanUnicode():this.scanHexEscape2())<0)throw this.createILLEGAL();e+=y(r);break;case"b":e+="\b",this.index++;break;case"f":e+="\f",this.index++;break;case"v":e+="\v",this.index++;break;default:if(n>="0"&&n<="7"){var i=this.index,a=1;n>="0"&&n<="3"&&(a=0);for(var s=0;a<3&&n>="0"&&n<="7";){if(this.index++,(a>0||"0"!==n)&&(t=this.source.slice(i,this.index)),s*=8,s+=n-"0",a++,this.index===this.source.length)throw this.createILLEGAL();n=this.source.charAt(this.index)}0!==s||1!==a||"8"!==n&&"9"!==n||(t=this.source.slice(i,this.index+1)),e+=String.fromCharCode(s)}else{if("8"===n||"9"===n)throw this.createILLEGAL();e+=n,this.index++}}return[e,t]}},{key:"scanStringLiteral",value:function(){var e="",t=this.source.charAt(this.index),n=this.getLocation(),i=this.index;this.index++;for(var a=null;this.index=this.source.length)return{type:c.EOS,slice:this.getSlice(this.index,e)};var t=this.source.charCodeAt(this.index);if(t<128){if(h[t])return this.scanPunctuator();if((0,o.isIdentifierStart)(t)||92===t)return this.scanIdentifier();if(46===t)return this.index+1=48&&t<=57)return this.scanNumericLiteral();throw this.createILLEGAL()}if((0,o.isIdentifierStart)(t)||t>=55296&&t<=56319)return this.scanIdentifier();throw this.createILLEGAL()}},{key:"eof",value:function(){return this.lookahead.type===c.EOS}},{key:"lex",value:function(){var e=this.lookahead;return this.lookahead=this.advance(),this.tokenIndex++,e}}],[{key:"cse2",value:function(e,t,n){return e.charAt(1)===t&&e.charAt(2)===n}},{key:"cse3",value:function(e,t,n,r){return e.charAt(1)===t&&e.charAt(2)===n&&e.charAt(3)===r}},{key:"cse4",value:function(e,t,n,r,i){return e.charAt(1)===t&&e.charAt(2)===n&&e.charAt(3)===r&&e.charAt(4)===i}},{key:"cse5",value:function(e,t,n,r,i,o){return e.charAt(1)===t&&e.charAt(2)===n&&e.charAt(3)===r&&e.charAt(4)===i&&e.charAt(5)===o}},{key:"cse6",value:function(e,t,n,r,i,o,a){return e.charAt(1)===t&&e.charAt(2)===n&&e.charAt(3)===r&&e.charAt(4)===i&&e.charAt(5)===o&&e.charAt(6)===a}},{key:"cse7",value:function(e,t,n,r,i,o,a,s){return e.charAt(1)===t&&e.charAt(2)===n&&e.charAt(3)===r&&e.charAt(4)===i&&e.charAt(5)===o&&e.charAt(6)===a&&e.charAt(7)===s}}]),e}();t.default=v},8194:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.whitespaceArray=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],t.whitespaceBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!0,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],t.idStartLargeRegex=/^[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]$/,t.idStartBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!0,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1],t.idContinueLargeRegex=/^[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]$/,t.idContinueBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!0,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1]},1509:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStrictModeReservedWord=function(e){return-1!==i.indexOf(e)},t.isWhiteSpace=function(e){return e<128?r.whitespaceBool[e]:160===e||e>5759&&-1!==r.whitespaceArray.indexOf(e)},t.isLineTerminator=function(e){return 10===e||13===e||8232===e||8233===e},t.isIdentifierStart=function(e){return e<128?r.idStartBool[e]:r.idStartLargeRegex.test(String.fromCodePoint(e))},t.isIdentifierPart=function(e){return e<128?r.idContinueBool[e]:r.idContinueLargeRegex.test(String.fromCodePoint(e))},t.isDecimalDigit=function(e){return e>=48&&e<=57},t.getHexValue=function(e){if(e>="0"&&e<="9")return e.charCodeAt(0)-48;if(e>="a"&&e<="f")return e.charCodeAt(0)-87;if(e>="A"&&e<="F")return e.charCodeAt(0)-55;return-1};var r=n(8194),i=["null","true","false","implements","interface","package","private","protected","public","static","let","if","in","do","var","for","new","try","this","else","case","void","with","enum","while","break","catch","throw","const","yield","class","super","return","typeof","delete","switch","export","import","default","finally","extends","function","continue","debugger","instanceof"]},614:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});t.ArrayAssignmentTarget=function e(t){var r=t.elements,i=t.rest;n(this,e),this.type="ArrayAssignmentTarget",this.elements=r,this.rest=i},t.ArrayBinding=function e(t){var r=t.elements,i=t.rest;n(this,e),this.type="ArrayBinding",this.elements=r,this.rest=i},t.ArrayExpression=function e(t){var r=t.elements;n(this,e),this.type="ArrayExpression",this.elements=r},t.ArrowExpression=function e(t){var r=t.isAsync,i=t.params,o=t.body;n(this,e),this.type="ArrowExpression",this.isAsync=r,this.params=i,this.body=o},t.AssignmentExpression=function e(t){var r=t.binding,i=t.expression;n(this,e),this.type="AssignmentExpression",this.binding=r,this.expression=i},t.AssignmentTargetIdentifier=function e(t){var r=t.name;n(this,e),this.type="AssignmentTargetIdentifier",this.name=r},t.AssignmentTargetPropertyIdentifier=function e(t){var r=t.binding,i=t.init;n(this,e),this.type="AssignmentTargetPropertyIdentifier",this.binding=r,this.init=i},t.AssignmentTargetPropertyProperty=function e(t){var r=t.name,i=t.binding;n(this,e),this.type="AssignmentTargetPropertyProperty",this.name=r,this.binding=i},t.AssignmentTargetWithDefault=function e(t){var r=t.binding,i=t.init;n(this,e),this.type="AssignmentTargetWithDefault",this.binding=r,this.init=i},t.AwaitExpression=function e(t){var r=t.expression;n(this,e),this.type="AwaitExpression",this.expression=r},t.BinaryExpression=function e(t){var r=t.left,i=t.operator,o=t.right;n(this,e),this.type="BinaryExpression",this.left=r,this.operator=i,this.right=o},t.BindingIdentifier=function e(t){var r=t.name;n(this,e),this.type="BindingIdentifier",this.name=r},t.BindingPropertyIdentifier=function e(t){var r=t.binding,i=t.init;n(this,e),this.type="BindingPropertyIdentifier",this.binding=r,this.init=i},t.BindingPropertyProperty=function e(t){var r=t.name,i=t.binding;n(this,e),this.type="BindingPropertyProperty",this.name=r,this.binding=i},t.BindingWithDefault=function e(t){var r=t.binding,i=t.init;n(this,e),this.type="BindingWithDefault",this.binding=r,this.init=i},t.Block=function e(t){var r=t.statements;n(this,e),this.type="Block",this.statements=r},t.BlockStatement=function e(t){var r=t.block;n(this,e),this.type="BlockStatement",this.block=r},t.BreakStatement=function e(t){var r=t.label;n(this,e),this.type="BreakStatement",this.label=r},t.CallExpression=function e(t){var r=t.callee,i=t.arguments;n(this,e),this.type="CallExpression",this.callee=r,this.arguments=i},t.CatchClause=function e(t){var r=t.binding,i=t.body;n(this,e),this.type="CatchClause",this.binding=r,this.body=i},t.ClassDeclaration=function e(t){var r=t.name,i=t.super,o=t.elements;n(this,e),this.type="ClassDeclaration",this.name=r,this.super=i,this.elements=o},t.ClassElement=function e(t){var r=t.isStatic,i=t.method;n(this,e),this.type="ClassElement",this.isStatic=r,this.method=i},t.ClassExpression=function e(t){var r=t.name,i=t.super,o=t.elements;n(this,e),this.type="ClassExpression",this.name=r,this.super=i,this.elements=o},t.CompoundAssignmentExpression=function e(t){var r=t.binding,i=t.operator,o=t.expression;n(this,e),this.type="CompoundAssignmentExpression",this.binding=r,this.operator=i,this.expression=o},t.ComputedMemberAssignmentTarget=function e(t){var r=t.object,i=t.expression;n(this,e),this.type="ComputedMemberAssignmentTarget",this.object=r,this.expression=i},t.ComputedMemberExpression=function e(t){var r=t.object,i=t.expression;n(this,e),this.type="ComputedMemberExpression",this.object=r,this.expression=i},t.ComputedPropertyName=function e(t){var r=t.expression;n(this,e),this.type="ComputedPropertyName",this.expression=r},t.ConditionalExpression=function e(t){var r=t.test,i=t.consequent,o=t.alternate;n(this,e),this.type="ConditionalExpression",this.test=r,this.consequent=i,this.alternate=o},t.ContinueStatement=function e(t){var r=t.label;n(this,e),this.type="ContinueStatement",this.label=r},t.DataProperty=function e(t){var r=t.name,i=t.expression;n(this,e),this.type="DataProperty",this.name=r,this.expression=i},t.DebuggerStatement=function e(){n(this,e),this.type="DebuggerStatement"},t.Directive=function e(t){var r=t.rawValue;n(this,e),this.type="Directive",this.rawValue=r},t.DoWhileStatement=function e(t){var r=t.body,i=t.test;n(this,e),this.type="DoWhileStatement",this.body=r,this.test=i},t.EmptyStatement=function e(){n(this,e),this.type="EmptyStatement"},t.Export=function e(t){var r=t.declaration;n(this,e),this.type="Export",this.declaration=r},t.ExportAllFrom=function e(t){var r=t.moduleSpecifier;n(this,e),this.type="ExportAllFrom",this.moduleSpecifier=r},t.ExportDefault=function e(t){var r=t.body;n(this,e),this.type="ExportDefault",this.body=r},t.ExportFrom=function e(t){var r=t.namedExports,i=t.moduleSpecifier;n(this,e),this.type="ExportFrom",this.namedExports=r,this.moduleSpecifier=i},t.ExportFromSpecifier=function e(t){var r=t.name,i=t.exportedName;n(this,e),this.type="ExportFromSpecifier",this.name=r,this.exportedName=i},t.ExportLocalSpecifier=function e(t){var r=t.name,i=t.exportedName;n(this,e),this.type="ExportLocalSpecifier",this.name=r,this.exportedName=i},t.ExportLocals=function e(t){var r=t.namedExports;n(this,e),this.type="ExportLocals",this.namedExports=r},t.ExpressionStatement=function e(t){var r=t.expression;n(this,e),this.type="ExpressionStatement",this.expression=r},t.ForAwaitStatement=function e(t){var r=t.left,i=t.right,o=t.body;n(this,e),this.type="ForAwaitStatement",this.left=r,this.right=i,this.body=o},t.ForInStatement=function e(t){var r=t.left,i=t.right,o=t.body;n(this,e),this.type="ForInStatement",this.left=r,this.right=i,this.body=o},t.ForOfStatement=function e(t){var r=t.left,i=t.right,o=t.body;n(this,e),this.type="ForOfStatement",this.left=r,this.right=i,this.body=o},t.ForStatement=function e(t){var r=t.init,i=t.test,o=t.update,a=t.body;n(this,e),this.type="ForStatement",this.init=r,this.test=i,this.update=o,this.body=a},t.FormalParameters=function e(t){var r=t.items,i=t.rest;n(this,e),this.type="FormalParameters",this.items=r,this.rest=i},t.FunctionBody=function e(t){var r=t.directives,i=t.statements;n(this,e),this.type="FunctionBody",this.directives=r,this.statements=i},t.FunctionDeclaration=function e(t){var r=t.isAsync,i=t.isGenerator,o=t.name,a=t.params,s=t.body;n(this,e),this.type="FunctionDeclaration",this.isAsync=r,this.isGenerator=i,this.name=o,this.params=a,this.body=s},t.FunctionExpression=function e(t){var r=t.isAsync,i=t.isGenerator,o=t.name,a=t.params,s=t.body;n(this,e),this.type="FunctionExpression",this.isAsync=r,this.isGenerator=i,this.name=o,this.params=a,this.body=s},t.Getter=function e(t){var r=t.name,i=t.body;n(this,e),this.type="Getter",this.name=r,this.body=i},t.IdentifierExpression=function e(t){var r=t.name;n(this,e),this.type="IdentifierExpression",this.name=r},t.IfStatement=function e(t){var r=t.test,i=t.consequent,o=t.alternate;n(this,e),this.type="IfStatement",this.test=r,this.consequent=i,this.alternate=o},t.Import=function e(t){var r=t.defaultBinding,i=t.namedImports,o=t.moduleSpecifier;n(this,e),this.type="Import",this.defaultBinding=r,this.namedImports=i,this.moduleSpecifier=o},t.ImportNamespace=function e(t){var r=t.defaultBinding,i=t.namespaceBinding,o=t.moduleSpecifier;n(this,e),this.type="ImportNamespace",this.defaultBinding=r,this.namespaceBinding=i,this.moduleSpecifier=o},t.ImportSpecifier=function e(t){var r=t.name,i=t.binding;n(this,e),this.type="ImportSpecifier",this.name=r,this.binding=i},t.LabeledStatement=function e(t){var r=t.label,i=t.body;n(this,e),this.type="LabeledStatement",this.label=r,this.body=i},t.LiteralBooleanExpression=function e(t){var r=t.value;n(this,e),this.type="LiteralBooleanExpression",this.value=r},t.LiteralInfinityExpression=function e(){n(this,e),this.type="LiteralInfinityExpression"},t.LiteralNullExpression=function e(){n(this,e),this.type="LiteralNullExpression"},t.LiteralNumericExpression=function e(t){var r=t.value;n(this,e),this.type="LiteralNumericExpression",this.value=r},t.LiteralRegExpExpression=function e(t){var r=t.pattern,i=t.global,o=t.ignoreCase,a=t.multiLine,s=t.dotAll,u=t.unicode,c=t.sticky;n(this,e),this.type="LiteralRegExpExpression",this.pattern=r,this.global=i,this.ignoreCase=o,this.multiLine=a,this.dotAll=s,this.unicode=u,this.sticky=c},t.LiteralStringExpression=function e(t){var r=t.value;n(this,e),this.type="LiteralStringExpression",this.value=r},t.Method=function e(t){var r=t.isAsync,i=t.isGenerator,o=t.name,a=t.params,s=t.body;n(this,e),this.type="Method",this.isAsync=r,this.isGenerator=i,this.name=o,this.params=a,this.body=s},t.Module=function e(t){var r=t.directives,i=t.items;n(this,e),this.type="Module",this.directives=r,this.items=i},t.NewExpression=function e(t){var r=t.callee,i=t.arguments;n(this,e),this.type="NewExpression",this.callee=r,this.arguments=i},t.NewTargetExpression=function e(){n(this,e),this.type="NewTargetExpression"},t.ObjectAssignmentTarget=function e(t){var r=t.properties,i=t.rest;n(this,e),this.type="ObjectAssignmentTarget",this.properties=r,this.rest=i},t.ObjectBinding=function e(t){var r=t.properties,i=t.rest;n(this,e),this.type="ObjectBinding",this.properties=r,this.rest=i},t.ObjectExpression=function e(t){var r=t.properties;n(this,e),this.type="ObjectExpression",this.properties=r},t.ReturnStatement=function e(t){var r=t.expression;n(this,e),this.type="ReturnStatement",this.expression=r},t.Script=function e(t){var r=t.directives,i=t.statements;n(this,e),this.type="Script",this.directives=r,this.statements=i},t.Setter=function e(t){var r=t.name,i=t.param,o=t.body;n(this,e),this.type="Setter",this.name=r,this.param=i,this.body=o},t.ShorthandProperty=function e(t){var r=t.name;n(this,e),this.type="ShorthandProperty",this.name=r},t.SpreadElement=function e(t){var r=t.expression;n(this,e),this.type="SpreadElement",this.expression=r},t.SpreadProperty=function e(t){var r=t.expression;n(this,e),this.type="SpreadProperty",this.expression=r},t.StaticMemberAssignmentTarget=function e(t){var r=t.object,i=t.property;n(this,e),this.type="StaticMemberAssignmentTarget",this.object=r,this.property=i},t.StaticMemberExpression=function e(t){var r=t.object,i=t.property;n(this,e),this.type="StaticMemberExpression",this.object=r,this.property=i},t.StaticPropertyName=function e(t){var r=t.value;n(this,e),this.type="StaticPropertyName",this.value=r},t.Super=function e(){n(this,e),this.type="Super"},t.SwitchCase=function e(t){var r=t.test,i=t.consequent;n(this,e),this.type="SwitchCase",this.test=r,this.consequent=i},t.SwitchDefault=function e(t){var r=t.consequent;n(this,e),this.type="SwitchDefault",this.consequent=r},t.SwitchStatement=function e(t){var r=t.discriminant,i=t.cases;n(this,e),this.type="SwitchStatement",this.discriminant=r,this.cases=i},t.SwitchStatementWithDefault=function e(t){var r=t.discriminant,i=t.preDefaultCases,o=t.defaultCase,a=t.postDefaultCases;n(this,e),this.type="SwitchStatementWithDefault",this.discriminant=r,this.preDefaultCases=i,this.defaultCase=o,this.postDefaultCases=a},t.TemplateElement=function e(t){var r=t.rawValue;n(this,e),this.type="TemplateElement",this.rawValue=r},t.TemplateExpression=function e(t){var r=t.tag,i=t.elements;n(this,e),this.type="TemplateExpression",this.tag=r,this.elements=i},t.ThisExpression=function e(){n(this,e),this.type="ThisExpression"},t.ThrowStatement=function e(t){var r=t.expression;n(this,e),this.type="ThrowStatement",this.expression=r},t.TryCatchStatement=function e(t){var r=t.body,i=t.catchClause;n(this,e),this.type="TryCatchStatement",this.body=r,this.catchClause=i},t.TryFinallyStatement=function e(t){var r=t.body,i=t.catchClause,o=t.finalizer;n(this,e),this.type="TryFinallyStatement",this.body=r,this.catchClause=i,this.finalizer=o},t.UnaryExpression=function e(t){var r=t.operator,i=t.operand;n(this,e),this.type="UnaryExpression",this.operator=r,this.operand=i},t.UpdateExpression=function e(t){var r=t.isPrefix,i=t.operator,o=t.operand;n(this,e),this.type="UpdateExpression",this.isPrefix=r,this.operator=i,this.operand=o},t.VariableDeclaration=function e(t){var r=t.kind,i=t.declarators;n(this,e),this.type="VariableDeclaration",this.kind=r,this.declarators=i},t.VariableDeclarationStatement=function e(t){var r=t.declaration;n(this,e),this.type="VariableDeclarationStatement",this.declaration=r},t.VariableDeclarator=function e(t){var r=t.binding,i=t.init;n(this,e),this.type="VariableDeclarator",this.binding=r,this.init=i},t.WhileStatement=function e(t){var r=t.test,i=t.body;n(this,e),this.type="WhileStatement",this.test=r,this.body=i},t.WithStatement=function e(t){var r=t.object,i=t.body;n(this,e),this.type="WithStatement",this.object=r,this.body=i},t.YieldExpression=function e(t){var r=t.expression;n(this,e),this.type="YieldExpression",this.expression=r},t.YieldGeneratorExpression=function e(t){var r=t.expression;n(this,e),this.type="YieldGeneratorExpression",this.expression=r}},8175:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0};!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e}(n(5331));t.default=function(e,t){var n;return n={__proto__:t,reduceArrayAssignmentTarget:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceArrayAssignmentTarget",this).call(this,t,i),t)},reduceArrayBinding:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceArrayBinding",this).call(this,t,i),t)},reduceArrayExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceArrayExpression",this).call(this,t,i),t)},reduceArrowExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceArrowExpression",this).call(this,t,i),t)},reduceAssignmentExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceAssignmentExpression",this).call(this,t,i),t)},reduceAssignmentTargetIdentifier:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceAssignmentTargetIdentifier",this).call(this,t,i),t)},reduceAssignmentTargetPropertyIdentifier:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceAssignmentTargetPropertyIdentifier",this).call(this,t,i),t)},reduceAssignmentTargetPropertyProperty:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceAssignmentTargetPropertyProperty",this).call(this,t,i),t)},reduceAssignmentTargetWithDefault:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceAssignmentTargetWithDefault",this).call(this,t,i),t)},reduceAwaitExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceAwaitExpression",this).call(this,t,i),t)},reduceBinaryExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceBinaryExpression",this).call(this,t,i),t)},reduceBindingIdentifier:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceBindingIdentifier",this).call(this,t,i),t)},reduceBindingPropertyIdentifier:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceBindingPropertyIdentifier",this).call(this,t,i),t)},reduceBindingPropertyProperty:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceBindingPropertyProperty",this).call(this,t,i),t)},reduceBindingWithDefault:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceBindingWithDefault",this).call(this,t,i),t)},reduceBlock:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceBlock",this).call(this,t,i),t)},reduceBlockStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceBlockStatement",this).call(this,t,i),t)},reduceBreakStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceBreakStatement",this).call(this,t,i),t)},reduceCallExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceCallExpression",this).call(this,t,i),t)},reduceCatchClause:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceCatchClause",this).call(this,t,i),t)},reduceClassDeclaration:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceClassDeclaration",this).call(this,t,i),t)},reduceClassElement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceClassElement",this).call(this,t,i),t)},reduceClassExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceClassExpression",this).call(this,t,i),t)},reduceCompoundAssignmentExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceCompoundAssignmentExpression",this).call(this,t,i),t)},reduceComputedMemberAssignmentTarget:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceComputedMemberAssignmentTarget",this).call(this,t,i),t)},reduceComputedMemberExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceComputedMemberExpression",this).call(this,t,i),t)},reduceComputedPropertyName:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceComputedPropertyName",this).call(this,t,i),t)},reduceConditionalExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceConditionalExpression",this).call(this,t,i),t)},reduceContinueStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceContinueStatement",this).call(this,t,i),t)},reduceDataProperty:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceDataProperty",this).call(this,t,i),t)},reduceDebuggerStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceDebuggerStatement",this).call(this,t,i),t)},reduceDirective:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceDirective",this).call(this,t,i),t)},reduceDoWhileStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceDoWhileStatement",this).call(this,t,i),t)},reduceEmptyStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceEmptyStatement",this).call(this,t,i),t)},reduceExport:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceExport",this).call(this,t,i),t)},reduceExportAllFrom:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceExportAllFrom",this).call(this,t,i),t)},reduceExportDefault:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceExportDefault",this).call(this,t,i),t)},reduceExportFrom:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceExportFrom",this).call(this,t,i),t)},reduceExportFromSpecifier:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceExportFromSpecifier",this).call(this,t,i),t)},reduceExportLocalSpecifier:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceExportLocalSpecifier",this).call(this,t,i),t)},reduceExportLocals:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceExportLocals",this).call(this,t,i),t)},reduceExpressionStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceExpressionStatement",this).call(this,t,i),t)},reduceForAwaitStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceForAwaitStatement",this).call(this,t,i),t)},reduceForInStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceForInStatement",this).call(this,t,i),t)},reduceForOfStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceForOfStatement",this).call(this,t,i),t)},reduceForStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceForStatement",this).call(this,t,i),t)},reduceFormalParameters:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceFormalParameters",this).call(this,t,i),t)},reduceFunctionBody:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceFunctionBody",this).call(this,t,i),t)},reduceFunctionDeclaration:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceFunctionDeclaration",this).call(this,t,i),t)},reduceFunctionExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceFunctionExpression",this).call(this,t,i),t)},reduceGetter:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceGetter",this).call(this,t,i),t)},reduceIdentifierExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceIdentifierExpression",this).call(this,t,i),t)},reduceIfStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceIfStatement",this).call(this,t,i),t)},reduceImport:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceImport",this).call(this,t,i),t)},reduceImportNamespace:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceImportNamespace",this).call(this,t,i),t)},reduceImportSpecifier:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceImportSpecifier",this).call(this,t,i),t)},reduceLabeledStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceLabeledStatement",this).call(this,t,i),t)},reduceLiteralBooleanExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceLiteralBooleanExpression",this).call(this,t,i),t)},reduceLiteralInfinityExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceLiteralInfinityExpression",this).call(this,t,i),t)},reduceLiteralNullExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceLiteralNullExpression",this).call(this,t,i),t)},reduceLiteralNumericExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceLiteralNumericExpression",this).call(this,t,i),t)},reduceLiteralRegExpExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceLiteralRegExpExpression",this).call(this,t,i),t)},reduceLiteralStringExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceLiteralStringExpression",this).call(this,t,i),t)},reduceMethod:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceMethod",this).call(this,t,i),t)},reduceModule:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceModule",this).call(this,t,i),t)},reduceNewExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceNewExpression",this).call(this,t,i),t)},reduceNewTargetExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceNewTargetExpression",this).call(this,t,i),t)},reduceObjectAssignmentTarget:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceObjectAssignmentTarget",this).call(this,t,i),t)},reduceObjectBinding:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceObjectBinding",this).call(this,t,i),t)},reduceObjectExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceObjectExpression",this).call(this,t,i),t)},reduceReturnStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceReturnStatement",this).call(this,t,i),t)},reduceScript:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceScript",this).call(this,t,i),t)},reduceSetter:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceSetter",this).call(this,t,i),t)},reduceShorthandProperty:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceShorthandProperty",this).call(this,t,i),t)},reduceSpreadElement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceSpreadElement",this).call(this,t,i),t)},reduceSpreadProperty:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceSpreadProperty",this).call(this,t,i),t)},reduceStaticMemberAssignmentTarget:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceStaticMemberAssignmentTarget",this).call(this,t,i),t)},reduceStaticMemberExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceStaticMemberExpression",this).call(this,t,i),t)},reduceStaticPropertyName:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceStaticPropertyName",this).call(this,t,i),t)},reduceSuper:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceSuper",this).call(this,t,i),t)},reduceSwitchCase:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceSwitchCase",this).call(this,t,i),t)},reduceSwitchDefault:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceSwitchDefault",this).call(this,t,i),t)},reduceSwitchStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceSwitchStatement",this).call(this,t,i),t)},reduceSwitchStatementWithDefault:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceSwitchStatementWithDefault",this).call(this,t,i),t)},reduceTemplateElement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceTemplateElement",this).call(this,t,i),t)},reduceTemplateExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceTemplateExpression",this).call(this,t,i),t)},reduceThisExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceThisExpression",this).call(this,t,i),t)},reduceThrowStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceThrowStatement",this).call(this,t,i),t)},reduceTryCatchStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceTryCatchStatement",this).call(this,t,i),t)},reduceTryFinallyStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceTryFinallyStatement",this).call(this,t,i),t)},reduceUnaryExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceUnaryExpression",this).call(this,t,i),t)},reduceUpdateExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceUpdateExpression",this).call(this,t,i),t)},reduceVariableDeclaration:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceVariableDeclaration",this).call(this,t,i),t)},reduceVariableDeclarationStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceVariableDeclarationStatement",this).call(this,t,i),t)},reduceVariableDeclarator:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceVariableDeclarator",this).call(this,t,i),t)},reduceWhileStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceWhileStatement",this).call(this,t,i),t)},reduceWithStatement:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceWithStatement",this).call(this,t,i),t)},reduceYieldExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceYieldExpression",this).call(this,t,i),t)},reduceYieldGeneratorExpression:function(t,i){return e(r(n.__proto__||Object.getPrototypeOf(n),"reduceYieldGeneratorExpression",this).call(this,t,i),t)}}}},3894:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n=this.pattern.length}},{key:"backreference",value:function(e){e>this.largestBackreference&&(this.largestBackreference=e)}},{key:"nextCodePoint",value:function(){return this.empty()?null:this.unicode?String.fromCodePoint(this.pattern.codePointAt(this.index)):this.pattern.charAt(this.index)}},{key:"skipCodePoint",value:function(){this.index+=this.nextCodePoint().length}},{key:"eat",value:function(e){return!(this.index+e.length>this.pattern.length||this.pattern.slice(this.index,this.index+e.length)!==e)&&(this.index+=e.length,!0)}},{key:"eatIdentifierCodePoint",value:function(){var e=void 0,t=this.index,n=void 0;if(this.match("\\u")){if(this.skipCodePoint(),!(e=A(this)).matched)return this.index=t,null;e=e.value,n=String.fromCodePoint(e)}else{if(null==(n=this.nextCodePoint()))return this.index=t,null;this.index+=n.length,e=n.codePointAt(0)}return{character:n,characterValue:e}}},{key:"eatIdentifierStart",value:function(){var e,t=this.index,n=this.eatIdentifierCodePoint();return null===n?(this.index=t,null):"_"===n.character||"$"===n.character||((e=n.characterValue)<128?u.idStartBool[e]:u.idStartLargeRegex.test(String.fromCodePoint(e)))?n.character:(this.index=t,null)}},{key:"eatIdentifierPart",value:function(){var e,t=this.index,n=this.eatIdentifierCodePoint();return null===n?(this.index=t,null):"\u200c"===n.character||"\u200d"===n.character||"$"===n.character||((e=n.characterValue)<128?u.idContinueBool[e]:u.idContinueLargeRegex.test(String.fromCodePoint(e)))?n.character:(this.index=t,null)}},{key:"eatAny",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.unicode,r=void 0!==n&&n,i=new D(e,r),o=C(i);if(o.matched){if(i.unicode&&i.largestBackreference>i.capturingGroups)return!1;if(i.groupingNames.length>0||i.unicode){var a=!0,s=!1,u=void 0;try{for(var c,l=i.backreferenceNames[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var p=c.value;if(-1===i.groupingNames.indexOf(p))return!1}}catch(f){s=!0,u=f}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}}}return o.matched};var b=function(e){return function(t){var n=t.index,r=t.largestBackreference,i=t.capturingGroups,o=e(t);return o.matched||(t.index=n,t.largestBackreference=r,t.capturingGroups=i),o}},A=b((function(e){if(!e.eat("u"))return{matched:!1};if(e.unicode&&e.eat("{")){for(var t=[];!e.eat("}");){var n=e.eatAny.apply(e,l(v));if(null===n)return{matched:!1};t.push(n)}var r=parseInt(t.join(""),16);return r>1114111?{matched:!1}:{matched:!0,value:r}}var i=[0,0,0,0].map((function(){return e.eatAny.apply(e,l(v))}));if(i.some((function(e){return null===e})))return{matched:!1};var o=parseInt(i.join(""),16);if(e.unicode&&o>=55296&&o<=56319){var a=b((function(e){if(!e.eat("\\u"))return{matched:!1};var t=[0,0,0,0].map((function(){return e.eatAny.apply(e,l(v))}));if(t.some((function(e){return null===e})))return{matched:!1};var n=parseInt(t.join(""),16);return n<56320||n>=57344?{matched:!1}:{matched:!0,value:65536+((1023&o)<<10)+(1023&n)}}))(e);if(a.matched)return a}return{matched:!0,value:o}})),C=function(e,t){do{if(void 0!==t&&e.eat(t))return{matched:!0};if(!e.match("|")&&!k(e,t).matched)return{matched:!1}}while(e.eat("|"));return{matched:void 0===t||!!e.eat(t)}},k=function(e,t){for(;!e.match("|")&&!e.empty()&&(void 0===t||!e.match(t));)if(!w(e).matched)return{matched:!1};return{matched:!0}},x=function(){for(var e=arguments.length,t=Array(e),n=0;nparseInt(n))return{matched:!1}}return e.eat("}")?(e.eat("?"),{matched:!0}):{matched:!1}}))(t);return n.matched?n:{matched:!t.unicode}}return t.eatAny("*","+","?")&&t.eat("?"),{matched:!0}}))},O=function(e){return function(t){var n=t.nextCodePoint();return null===n||-1!==e.indexOf(n)?{matched:!1}:(t.skipCodePoint(),{matched:!0})}},M=O(f),P=O(d),I=function(e){if(e.unicode)return x(M,(function(e){return{matched:!!e.eat(".")}}),b((function(e){return e.eat("\\")?Y(e):{matched:!1}})),K,S((function(e){return e.eat("?:")})),N)(e);var t=x((function(e){return{matched:!!e.eat(".")}}),b((function(e){return e.eat("\\")?Y(e):{matched:!1}})),b((function(e){return{matched:e.eat("\\")&&e.match("c")}})),K,S((function(e){return e.eat("?:")})),N)(e);return!t.matched&&function(e){return b((function(e){return{matched:!(!e.eat("{")||!B(e).matched||e.eat(",")&&!e.match("}")&&!B(e).matched||!e.eat("}"))}}))(e)}(e).matched?{matched:!1}:t.matched?t:P(e)},N=b((function(e){if(!e.eat("("))return{matched:!1};var t=b((function(t){return e.eat("?")?U(t):{matched:!1}}))(e);if(!C(e,")").matched)return{matched:!1};if(t.matched){if(-1!==e.groupingNames.indexOf(t.data))return{matched:!1};e.groupingNames.push(t.data)}return e.capturingGroups++,{matched:!0}})),R=b((function(e){var t=e.eatAny.apply(e,l(g));return null===t?{matched:!1}:("0"===t||e.backreference(parseInt(t+(e.eatNaturalNumber()||""))),{matched:!0})})),L=function(e){return e.eatAny("d","D","s","S","w","W")?{matched:!0}:e.unicode?b((function(e){return(e.eat("p{")||e.eat("P{"))&&z(e).matched?{matched:!!e.eat("}")}:{matched:!1}}))(e):{matched:!1}},j=function(e){for(var t=[],n=void 0;n=e.eatAny.apply(e,l(y).concat(l(g),["_"]));)t.push(n);return{matched:t.length>0,data:t.join("")}},W=["General_Category","Script","Script_Extensions","scx","sc","gc"],G=o.default.get("General_Category"),H=function(e){var t=j(e);return!t.matched||W.includes(t.data)?{matched:!1}:{matched:p((function(){return(0,a.default)(t.data)}))||null!=G.get(t.data)}},z=function(e){return x(b((function(e){var t=function(e){for(var t=[],n=void 0;n=e.eatAny.apply(e,l(y).concat(["_"]));)t.push(n);return{matched:t.length>0,data:t.join("")}}(e);if(!t.matched||!e.eat("="))return{matched:!1};var n=j(e);return n.matched?{matched:p((function(){return(0,i.default)(s.default.get(t.data)||t.data,n.data)}))}:{matched:!1}})),b(H))(e)},V=x((function(e){var t=e.eatAny.apply(e,l(h));return null===t?{matched:!1}:{matched:!0,value:m[t]}}),b((function(e){if(!e.eat("c"))return{matched:!1};var t=e.eatAny.apply(e,l(y));return null===t?{matched:!1}:{matched:!0,value:t.charCodeAt(0)%32}})),b((function(e){return!e.eat("0")||e.eatAny.apply(e,l(g))?{matched:!1}:{matched:!0,value:0}})),b((function(e){if(!e.eat("x"))return{matched:!1};var t=[0,0].map((function(){return e.eatAny.apply(e,l(v))}));return t.some((function(e){return null===e}))?{matched:!1}:{matched:!0,value:parseInt(t.join(""),16)}})),A,b((function(e){if(e.unicode)return{matched:!1};var t=e.eatAny.apply(e,l(_));if(null===t)return{matched:!1};var n=parseInt(t,8);if(-1===_.indexOf(e.nextCodePoint()))return{matched:!0,value:n};var r=e.eatAny.apply(e,l(_)),i=parseInt(r,8);if(n<4){if(-1===_.indexOf(e.nextCodePoint()))return{matched:!0,value:n<<3|i};var o=e.eatAny.apply(e,l(_));return{matched:!0,value:n<<6|i<<3|parseInt(o,8)}}return{matched:!0,value:n<<3|i}})),b((function(e){if(!e.unicode)return{matched:!1};var t=e.eatAny.apply(e,l(f));return null===t?{matched:!1}:{matched:!0,value:t.charCodeAt(0)}})),(function(e){return e.unicode&&e.eat("/")?{matched:!0,value:"/".charCodeAt(0)}:{matched:!1}}),b((function(e){if(e.unicode)return{matched:!1};var t=e.nextCodePoint();return null!==t&&"c"!==t&&"k"!==t?(e.skipCodePoint(),{matched:!0,value:t.codePointAt(0)}):{matched:!1}}))),Z=b((function(e){if(!e.eat("k"))return{matched:!1};var t=U(e);return t.matched?(e.backreferenceNames.push(t.data),{matched:!0}):(e.backreferenceNames.push(E),{matched:!0})})),U=b((function(e){if(!e.eat("<"))return{matched:!1};var t=[],n=e.eatIdentifierStart();if(!n)return{matched:!1};t.push(n);for(var r=void 0;r=e.eatIdentifierPart();)t.push(r);return e.eat(">")?{matched:t.length>0,data:t.join("")}:{matched:!1}})),Y=x(R,L,V,Z),K=b((function(e){if(!e.eat("["))return{matched:!1};e.eat("^");var t=x((function(e){return{matched:!!e.eat("b"),value:8}}),(function(e){return{matched:e.unicode&&!!e.eat("-"),value:"-".charCodeAt(0)}}),b((function(e){if(e.unicode||!e.eat("c"))return{matched:!1};var t=e.eatAny.apply(e,l(g).concat(["_"]));return null===t?{matched:!1}:{matched:!0,value:t.charCodeAt(0)%32}})),L,V,(function(e){return{matched:!e.unicode&&!!e.eat("k"),value:107}})),n=function(e){var n=e.nextCodePoint();if("]"===n||"-"===n||null===n)return{matched:!1};if("\\"!==n)return e.skipCodePoint(),{matched:!0,value:n.codePointAt(0)};e.eat("\\");var r=t(e);return r.matched||"c"!==e.nextCodePoint()||e.unicode?r:{matched:!0,value:"\\".charCodeAt(0)}},r=function(e){return e.eat("-")?{matched:!0,value:"-".charCodeAt(0)}:n(e)},i=function(e,t){var n=function(e){return void 0===e.value&&e.matched};if(e.eat("-")){if(e.match("]"))return{matched:!0};var i=r(e);return i.matched?e.unicode&&(n(t)||n(i))||(e.unicode||!n(t)&&!n(i))&&t.value>i.value?{matched:!1}:e.match("]")?{matched:!0}:o(e):{matched:!1}}return e.match("]")?{matched:!0}:a(e)},o=function(e){var t=r(e);return t.matched?i(e,t):{matched:!1}},a=function(e){var t=n(e);return t.matched?i(e,t):{matched:!1}};if(e.eat("]"))return{matched:!0};var s=o(e);return s.matched&&e.eat("]"),s}))},3542:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.whitespaceArray=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],t.whitespaceBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!0,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],t.idStartLargeRegex=/^[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]$/,t.idStartBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!0,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1],t.idContinueLargeRegex=/^[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]$/,t.idContinueBool=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1,!1,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!0,!1,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!0,!1,!1,!1,!1,!1]},251:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e={},t={typeName:"Boolean"},n={typeName:"String"};function r(e){return{typeName:"Maybe",argument:e}}function i(e){return{typeName:"List",argument:e}}function o(e){return{typeName:"Const",argument:e}}function a(){return{typeName:"Union",arguments:[].slice.call(arguments,0)}}var s={typeName:"Enum",values:["ArrayAssignmentTarget","ArrayBinding","ArrayExpression","ArrowExpression","AssignmentExpression","AssignmentTargetIdentifier","AssignmentTargetPropertyIdentifier","AssignmentTargetPropertyProperty","AssignmentTargetWithDefault","AwaitExpression","BinaryExpression","BindingIdentifier","BindingPropertyIdentifier","BindingPropertyProperty","BindingWithDefault","Block","BlockStatement","BreakStatement","CallExpression","CatchClause","ClassDeclaration","ClassElement","ClassExpression","CompoundAssignmentExpression","ComputedMemberAssignmentTarget","ComputedMemberExpression","ComputedPropertyName","ConditionalExpression","ContinueStatement","DataProperty","DebuggerStatement","Directive","DoWhileStatement","EmptyStatement","Export","ExportAllFrom","ExportDefault","ExportFrom","ExportFromSpecifier","ExportLocalSpecifier","ExportLocals","ExpressionStatement","ForAwaitStatement","ForInStatement","ForOfStatement","ForStatement","FormalParameters","FunctionBody","FunctionDeclaration","FunctionExpression","Getter","IdentifierExpression","IfStatement","Import","ImportNamespace","ImportSpecifier","LabeledStatement","LiteralBooleanExpression","LiteralInfinityExpression","LiteralNullExpression","LiteralNumericExpression","LiteralRegExpExpression","LiteralStringExpression","Method","Module","NewExpression","NewTargetExpression","ObjectAssignmentTarget","ObjectBinding","ObjectExpression","ReturnStatement","Script","Setter","ShorthandProperty","SpreadElement","SpreadProperty","StaticMemberAssignmentTarget","StaticMemberExpression","StaticPropertyName","Super","SwitchCase","SwitchDefault","SwitchStatement","SwitchStatementWithDefault","TemplateElement","TemplateExpression","ThisExpression","ThrowStatement","TryCatchStatement","TryFinallyStatement","UnaryExpression","UpdateExpression","VariableDeclaration","VariableDeclarationStatement","VariableDeclarator","WhileStatement","WithStatement","YieldExpression","YieldGeneratorExpression"]},u=e.ArrayAssignmentTarget={},c=e.ArrayBinding={},l=e.ArrayExpression={},p=e.ArrowExpression={},f=e.AssignmentExpression={},d=e.AssignmentTargetIdentifier={},h=e.AssignmentTargetPropertyIdentifier={},m=e.AssignmentTargetPropertyProperty={},y=e.AssignmentTargetWithDefault={},v=e.AwaitExpression={},g=e.BinaryExpression={},_=e.BindingIdentifier={},E=e.BindingPropertyIdentifier={},D=e.BindingPropertyProperty={},b=e.BindingWithDefault={},A=e.Block={},C=e.BlockStatement={},k=e.BreakStatement={},x=e.CallExpression={},w=e.CatchClause={},S=e.ClassDeclaration={},F=e.ClassElement={},T=e.ClassExpression={},B=e.CompoundAssignmentExpression={},q=e.ComputedMemberAssignmentTarget={},O=e.ComputedMemberExpression={},M=e.ComputedPropertyName={},P=e.ConditionalExpression={},I=e.ContinueStatement={},N=e.DataProperty={},R=e.DebuggerStatement={},L=e.Directive={},j=e.DoWhileStatement={},W=e.EmptyStatement={},G=e.Export={},H=e.ExportAllFrom={},z=e.ExportDefault={},V=e.ExportFrom={},Z=e.ExportFromSpecifier={},U=e.ExportLocalSpecifier={},Y=e.ExportLocals={},K=e.ExpressionStatement={},J=e.ForAwaitStatement={},X=e.ForInStatement={},Q=e.ForOfStatement={},$=e.ForStatement={},ee=e.FormalParameters={},te=e.FunctionBody={},ne=e.FunctionDeclaration={},re=e.FunctionExpression={},ie=e.Getter={},oe=e.IdentifierExpression={},ae=e.IfStatement={},se=e.Import={},ue=e.ImportNamespace={},ce=e.ImportSpecifier={},le=e.LabeledStatement={},pe=e.LiteralBooleanExpression={},fe=e.LiteralInfinityExpression={},de=e.LiteralNullExpression={},he=e.LiteralNumericExpression={},me=e.LiteralRegExpExpression={},ye=e.LiteralStringExpression={},ve=e.Method={},ge=e.Module={},_e=e.NewExpression={},Ee=e.NewTargetExpression={},De=e.ObjectAssignmentTarget={},be=e.ObjectBinding={},Ae=e.ObjectExpression={},Ce=e.ReturnStatement={},ke=e.Script={},xe=e.Setter={},we=e.ShorthandProperty={},Se=e.SpreadElement={},Fe=e.SpreadProperty={},Te=e.StaticMemberAssignmentTarget={},Be=e.StaticMemberExpression={},qe=e.StaticPropertyName={},Oe=e.Super={},Me=e.SwitchCase={},Pe=e.SwitchDefault={},Ie=e.SwitchStatement={},Ne=e.SwitchStatementWithDefault={},Re=e.TemplateElement={},Le=e.TemplateExpression={},je=e.ThisExpression={},We=e.ThrowStatement={},Ge=e.TryCatchStatement={},He=e.TryFinallyStatement={},ze=e.UnaryExpression={},Ve=e.UpdateExpression={},Ze=e.VariableDeclaration={},Ue=e.VariableDeclarationStatement={},Ye=e.VariableDeclarator={},Ke=e.WhileStatement={},Je=e.WithStatement={},Xe=e.YieldExpression={},Qe=e.YieldGeneratorExpression={},$e=a(O,Be),et=a(h,m),tt=(a(S,T),a(G,H,z,V,Y)),nt=a(M,qe),rt=(a(ne,re),a(se,ue)),it=a(j,J,X,Q,$,Ke),ot=a(q,Te),at=a(E,D),st=a(ie,ve,xe),ut=a(ge,ke),ct=a(d,_,oe),lt=a(N,st),pt=a(l,p,f,v,g,x,T,B,P,re,oe,pe,fe,de,he,me,ye,$e,_e,Ee,Ae,Le,je,ze,Ve,Xe,Qe),ft=a(C,k,S,I,R,W,K,ne,ae,it,le,Ce,Ie,Ne,We,Ge,He,Ue,Je),dt=a(lt,we,Fe);a(u,c,et,y,at,b,A,w,F,L,tt,Z,U,pt,ee,te,rt,ce,ot,De,be,dt,ut,nt,Se,ft,Oe,Me,Pe,Re,Ze,Ye,ct);return u.typeName="ArrayAssignmentTarget",u.fields=[{name:"type",type:o(s),value:"ArrayAssignmentTarget"},{name:"elements",type:i(r(a(y,a(a(u,De),a(d,ot)))))},{name:"rest",type:r(a(a(u,De),a(d,ot)))}],c.typeName="ArrayBinding",c.fields=[{name:"type",type:o(s),value:"ArrayBinding"},{name:"elements",type:i(r(a(b,a(_,a(c,be)))))},{name:"rest",type:r(a(_,a(c,be)))}],l.typeName="ArrayExpression",l.fields=[{name:"type",type:o(s),value:"ArrayExpression"},{name:"elements",type:i(r(a(pt,Se)))}],p.typeName="ArrowExpression",p.fields=[{name:"type",type:o(s),value:"ArrowExpression"},{name:"isAsync",type:t},{name:"params",type:ee},{name:"body",type:a(pt,te)}],f.typeName="AssignmentExpression",f.fields=[{name:"type",type:o(s),value:"AssignmentExpression"},{name:"binding",type:a(a(u,De),a(d,ot))},{name:"expression",type:pt}],d.typeName="AssignmentTargetIdentifier",d.fields=[{name:"type",type:o(s),value:"AssignmentTargetIdentifier"},{name:"name",type:n}],h.typeName="AssignmentTargetPropertyIdentifier",h.fields=[{name:"type",type:o(s),value:"AssignmentTargetPropertyIdentifier"},{name:"binding",type:d},{name:"init",type:r(pt)}],m.typeName="AssignmentTargetPropertyProperty",m.fields=[{name:"type",type:o(s),value:"AssignmentTargetPropertyProperty"},{name:"name",type:nt},{name:"binding",type:a(y,a(a(u,De),a(d,ot)))}],y.typeName="AssignmentTargetWithDefault",y.fields=[{name:"type",type:o(s),value:"AssignmentTargetWithDefault"},{name:"binding",type:a(a(u,De),a(d,ot))},{name:"init",type:pt}],v.typeName="AwaitExpression",v.fields=[{name:"type",type:o(s),value:"AwaitExpression"},{name:"expression",type:pt}],g.typeName="BinaryExpression",g.fields=[{name:"type",type:o(s),value:"BinaryExpression"},{name:"left",type:pt},{name:"operator",type:{typeName:"Enum",values:["==","!=","===","!==","<","<=",">",">=","in","instanceof","<<",">>",">>>","+","-","*","/","%","**",",","||","&&","|","^","&"]}},{name:"right",type:pt}],_.typeName="BindingIdentifier",_.fields=[{name:"type",type:o(s),value:"BindingIdentifier"},{name:"name",type:n}],E.typeName="BindingPropertyIdentifier",E.fields=[{name:"type",type:o(s),value:"BindingPropertyIdentifier"},{name:"binding",type:_},{name:"init",type:r(pt)}],D.typeName="BindingPropertyProperty",D.fields=[{name:"type",type:o(s),value:"BindingPropertyProperty"},{name:"name",type:nt},{name:"binding",type:a(b,a(_,a(c,be)))}],b.typeName="BindingWithDefault",b.fields=[{name:"type",type:o(s),value:"BindingWithDefault"},{name:"binding",type:a(_,a(c,be))},{name:"init",type:pt}],A.typeName="Block",A.fields=[{name:"type",type:o(s),value:"Block"},{name:"statements",type:i(ft)}],C.typeName="BlockStatement",C.fields=[{name:"type",type:o(s),value:"BlockStatement"},{name:"block",type:A}],k.typeName="BreakStatement",k.fields=[{name:"type",type:o(s),value:"BreakStatement"},{name:"label",type:r(n)}],x.typeName="CallExpression",x.fields=[{name:"type",type:o(s),value:"CallExpression"},{name:"callee",type:a(pt,Oe)},{name:"arguments",type:i(a(pt,Se))}],w.typeName="CatchClause",w.fields=[{name:"type",type:o(s),value:"CatchClause"},{name:"binding",type:a(_,a(c,be))},{name:"body",type:A}],S.typeName="ClassDeclaration",S.fields=[{name:"type",type:o(s),value:"ClassDeclaration"},{name:"name",type:_},{name:"super",type:r(pt)},{name:"elements",type:i(F)}],F.typeName="ClassElement",F.fields=[{name:"type",type:o(s),value:"ClassElement"},{name:"isStatic",type:t},{name:"method",type:st}],T.typeName="ClassExpression",T.fields=[{name:"type",type:o(s),value:"ClassExpression"},{name:"name",type:r(_)},{name:"super",type:r(pt)},{name:"elements",type:i(F)}],B.typeName="CompoundAssignmentExpression",B.fields=[{name:"type",type:o(s),value:"CompoundAssignmentExpression"},{name:"binding",type:a(d,ot)},{name:"operator",type:{typeName:"Enum",values:["+=","-=","*=","/=","%=","**=","<<=",">>=",">>>=","|=","^=","&="]}},{name:"expression",type:pt}],q.typeName="ComputedMemberAssignmentTarget",q.fields=[{name:"type",type:o(s),value:"ComputedMemberAssignmentTarget"},{name:"object",type:a(pt,Oe)},{name:"expression",type:pt}],O.typeName="ComputedMemberExpression",O.fields=[{name:"type",type:o(s),value:"ComputedMemberExpression"},{name:"object",type:a(pt,Oe)},{name:"expression",type:pt}],M.typeName="ComputedPropertyName",M.fields=[{name:"type",type:o(s),value:"ComputedPropertyName"},{name:"expression",type:pt}],P.typeName="ConditionalExpression",P.fields=[{name:"type",type:o(s),value:"ConditionalExpression"},{name:"test",type:pt},{name:"consequent",type:pt},{name:"alternate",type:pt}],I.typeName="ContinueStatement",I.fields=[{name:"type",type:o(s),value:"ContinueStatement"},{name:"label",type:r(n)}],N.typeName="DataProperty",N.fields=[{name:"type",type:o(s),value:"DataProperty"},{name:"name",type:nt},{name:"expression",type:pt}],R.typeName="DebuggerStatement",R.fields=[{name:"type",type:o(s),value:"DebuggerStatement"}],L.typeName="Directive",L.fields=[{name:"type",type:o(s),value:"Directive"},{name:"rawValue",type:n}],j.typeName="DoWhileStatement",j.fields=[{name:"type",type:o(s),value:"DoWhileStatement"},{name:"body",type:ft},{name:"test",type:pt}],W.typeName="EmptyStatement",W.fields=[{name:"type",type:o(s),value:"EmptyStatement"}],G.typeName="Export",G.fields=[{name:"type",type:o(s),value:"Export"},{name:"declaration",type:a(S,ne,Ze)}],H.typeName="ExportAllFrom",H.fields=[{name:"type",type:o(s),value:"ExportAllFrom"},{name:"moduleSpecifier",type:n}],z.typeName="ExportDefault",z.fields=[{name:"type",type:o(s),value:"ExportDefault"},{name:"body",type:a(S,pt,ne)}],V.typeName="ExportFrom",V.fields=[{name:"type",type:o(s),value:"ExportFrom"},{name:"namedExports",type:i(Z)},{name:"moduleSpecifier",type:n}],Z.typeName="ExportFromSpecifier",Z.fields=[{name:"type",type:o(s),value:"ExportFromSpecifier"},{name:"name",type:n},{name:"exportedName",type:r(n)}],U.typeName="ExportLocalSpecifier",U.fields=[{name:"type",type:o(s),value:"ExportLocalSpecifier"},{name:"name",type:oe},{name:"exportedName",type:r(n)}],Y.typeName="ExportLocals",Y.fields=[{name:"type",type:o(s),value:"ExportLocals"},{name:"namedExports",type:i(U)}],K.typeName="ExpressionStatement",K.fields=[{name:"type",type:o(s),value:"ExpressionStatement"},{name:"expression",type:pt}],J.typeName="ForAwaitStatement",J.fields=[{name:"type",type:o(s),value:"ForAwaitStatement"},{name:"left",type:a(a(a(u,De),a(d,ot)),Ze)},{name:"right",type:pt},{name:"body",type:ft}],X.typeName="ForInStatement",X.fields=[{name:"type",type:o(s),value:"ForInStatement"},{name:"left",type:a(a(a(u,De),a(d,ot)),Ze)},{name:"right",type:pt},{name:"body",type:ft}],Q.typeName="ForOfStatement",Q.fields=[{name:"type",type:o(s),value:"ForOfStatement"},{name:"left",type:a(a(a(u,De),a(d,ot)),Ze)},{name:"right",type:pt},{name:"body",type:ft}],$.typeName="ForStatement",$.fields=[{name:"type",type:o(s),value:"ForStatement"},{name:"init",type:r(a(pt,Ze))},{name:"test",type:r(pt)},{name:"update",type:r(pt)},{name:"body",type:ft}],ee.typeName="FormalParameters",ee.fields=[{name:"type",type:o(s),value:"FormalParameters"},{name:"items",type:i(a(b,a(_,a(c,be))))},{name:"rest",type:r(a(_,a(c,be)))}],te.typeName="FunctionBody",te.fields=[{name:"type",type:o(s),value:"FunctionBody"},{name:"directives",type:i(L)},{name:"statements",type:i(ft)}],ne.typeName="FunctionDeclaration",ne.fields=[{name:"type",type:o(s),value:"FunctionDeclaration"},{name:"isAsync",type:t},{name:"isGenerator",type:t},{name:"name",type:_},{name:"params",type:ee},{name:"body",type:te}],re.typeName="FunctionExpression",re.fields=[{name:"type",type:o(s),value:"FunctionExpression"},{name:"isAsync",type:t},{name:"isGenerator",type:t},{name:"name",type:r(_)},{name:"params",type:ee},{name:"body",type:te}],ie.typeName="Getter",ie.fields=[{name:"type",type:o(s),value:"Getter"},{name:"name",type:nt},{name:"body",type:te}],oe.typeName="IdentifierExpression",oe.fields=[{name:"type",type:o(s),value:"IdentifierExpression"},{name:"name",type:n}],ae.typeName="IfStatement",ae.fields=[{name:"type",type:o(s),value:"IfStatement"},{name:"test",type:pt},{name:"consequent",type:ft},{name:"alternate",type:r(ft)}],se.typeName="Import",se.fields=[{name:"type",type:o(s),value:"Import"},{name:"defaultBinding",type:r(_)},{name:"namedImports",type:i(ce)},{name:"moduleSpecifier",type:n}],ue.typeName="ImportNamespace",ue.fields=[{name:"type",type:o(s),value:"ImportNamespace"},{name:"defaultBinding",type:r(_)},{name:"namespaceBinding",type:_},{name:"moduleSpecifier",type:n}],ce.typeName="ImportSpecifier",ce.fields=[{name:"type",type:o(s),value:"ImportSpecifier"},{name:"name",type:r(n)},{name:"binding",type:_}],le.typeName="LabeledStatement",le.fields=[{name:"type",type:o(s),value:"LabeledStatement"},{name:"label",type:n},{name:"body",type:ft}],pe.typeName="LiteralBooleanExpression",pe.fields=[{name:"type",type:o(s),value:"LiteralBooleanExpression"},{name:"value",type:t}],fe.typeName="LiteralInfinityExpression",fe.fields=[{name:"type",type:o(s),value:"LiteralInfinityExpression"}],de.typeName="LiteralNullExpression",de.fields=[{name:"type",type:o(s),value:"LiteralNullExpression"}],he.typeName="LiteralNumericExpression",he.fields=[{name:"type",type:o(s),value:"LiteralNumericExpression"},{name:"value",type:{typeName:"Number"}}],me.typeName="LiteralRegExpExpression",me.fields=[{name:"type",type:o(s),value:"LiteralRegExpExpression"},{name:"pattern",type:n},{name:"global",type:t},{name:"ignoreCase",type:t},{name:"multiLine",type:t},{name:"dotAll",type:t},{name:"unicode",type:t},{name:"sticky",type:t}],ye.typeName="LiteralStringExpression",ye.fields=[{name:"type",type:o(s),value:"LiteralStringExpression"},{name:"value",type:n}],ve.typeName="Method",ve.fields=[{name:"type",type:o(s),value:"Method"},{name:"isAsync",type:t},{name:"isGenerator",type:t},{name:"name",type:nt},{name:"params",type:ee},{name:"body",type:te}],ge.typeName="Module",ge.fields=[{name:"type",type:o(s),value:"Module"},{name:"directives",type:i(L)},{name:"items",type:i(a(tt,rt,ft))}],_e.typeName="NewExpression",_e.fields=[{name:"type",type:o(s),value:"NewExpression"},{name:"callee",type:pt},{name:"arguments",type:i(a(pt,Se))}],Ee.typeName="NewTargetExpression",Ee.fields=[{name:"type",type:o(s),value:"NewTargetExpression"}],De.typeName="ObjectAssignmentTarget",De.fields=[{name:"type",type:o(s),value:"ObjectAssignmentTarget"},{name:"properties",type:i(et)},{name:"rest",type:r(a(a(u,De),a(d,ot)))}],be.typeName="ObjectBinding",be.fields=[{name:"type",type:o(s),value:"ObjectBinding"},{name:"properties",type:i(at)},{name:"rest",type:r(a(_,a(c,be)))}],Ae.typeName="ObjectExpression",Ae.fields=[{name:"type",type:o(s),value:"ObjectExpression"},{name:"properties",type:i(dt)}],Ce.typeName="ReturnStatement",Ce.fields=[{name:"type",type:o(s),value:"ReturnStatement"},{name:"expression",type:r(pt)}],ke.typeName="Script",ke.fields=[{name:"type",type:o(s),value:"Script"},{name:"directives",type:i(L)},{name:"statements",type:i(ft)}],xe.typeName="Setter",xe.fields=[{name:"type",type:o(s),value:"Setter"},{name:"name",type:nt},{name:"param",type:a(b,a(_,a(c,be)))},{name:"body",type:te}],we.typeName="ShorthandProperty",we.fields=[{name:"type",type:o(s),value:"ShorthandProperty"},{name:"name",type:oe}],Se.typeName="SpreadElement",Se.fields=[{name:"type",type:o(s),value:"SpreadElement"},{name:"expression",type:pt}],Fe.typeName="SpreadProperty",Fe.fields=[{name:"type",type:o(s),value:"SpreadProperty"},{name:"expression",type:pt}],Te.typeName="StaticMemberAssignmentTarget",Te.fields=[{name:"type",type:o(s),value:"StaticMemberAssignmentTarget"},{name:"object",type:a(pt,Oe)},{name:"property",type:n}],Be.typeName="StaticMemberExpression",Be.fields=[{name:"type",type:o(s),value:"StaticMemberExpression"},{name:"object",type:a(pt,Oe)},{name:"property",type:n}],qe.typeName="StaticPropertyName",qe.fields=[{name:"type",type:o(s),value:"StaticPropertyName"},{name:"value",type:n}],Oe.typeName="Super",Oe.fields=[{name:"type",type:o(s),value:"Super"}],Me.typeName="SwitchCase",Me.fields=[{name:"type",type:o(s),value:"SwitchCase"},{name:"test",type:pt},{name:"consequent",type:i(ft)}],Pe.typeName="SwitchDefault",Pe.fields=[{name:"type",type:o(s),value:"SwitchDefault"},{name:"consequent",type:i(ft)}],Ie.typeName="SwitchStatement",Ie.fields=[{name:"type",type:o(s),value:"SwitchStatement"},{name:"discriminant",type:pt},{name:"cases",type:i(Me)}],Ne.typeName="SwitchStatementWithDefault",Ne.fields=[{name:"type",type:o(s),value:"SwitchStatementWithDefault"},{name:"discriminant",type:pt},{name:"preDefaultCases",type:i(Me)},{name:"defaultCase",type:Pe},{name:"postDefaultCases",type:i(Me)}],Re.typeName="TemplateElement",Re.fields=[{name:"type",type:o(s),value:"TemplateElement"},{name:"rawValue",type:n}],Le.typeName="TemplateExpression",Le.fields=[{name:"type",type:o(s),value:"TemplateExpression"},{name:"tag",type:r(pt)},{name:"elements",type:i(a(pt,Re))}],je.typeName="ThisExpression",je.fields=[{name:"type",type:o(s),value:"ThisExpression"}],We.typeName="ThrowStatement",We.fields=[{name:"type",type:o(s),value:"ThrowStatement"},{name:"expression",type:pt}],Ge.typeName="TryCatchStatement",Ge.fields=[{name:"type",type:o(s),value:"TryCatchStatement"},{name:"body",type:A},{name:"catchClause",type:w}],He.typeName="TryFinallyStatement",He.fields=[{name:"type",type:o(s),value:"TryFinallyStatement"},{name:"body",type:A},{name:"catchClause",type:r(w)},{name:"finalizer",type:A}],ze.typeName="UnaryExpression",ze.fields=[{name:"type",type:o(s),value:"UnaryExpression"},{name:"operator",type:{typeName:"Enum",values:["+","-","!","~","typeof","void","delete"]}},{name:"operand",type:pt}],Ve.typeName="UpdateExpression",Ve.fields=[{name:"type",type:o(s),value:"UpdateExpression"},{name:"isPrefix",type:t},{name:"operator",type:{typeName:"Enum",values:["++","--"]}},{name:"operand",type:a(d,ot)}],Ze.typeName="VariableDeclaration",Ze.fields=[{name:"type",type:o(s),value:"VariableDeclaration"},{name:"kind",type:{typeName:"Enum",values:["var","let","const"]}},{name:"declarators",type:i(Ye)}],Ue.typeName="VariableDeclarationStatement",Ue.fields=[{name:"type",type:o(s),value:"VariableDeclarationStatement"},{name:"declaration",type:Ze}],Ye.typeName="VariableDeclarator",Ye.fields=[{name:"type",type:o(s),value:"VariableDeclarator"},{name:"binding",type:a(_,a(c,be))},{name:"init",type:r(pt)}],Ke.typeName="WhileStatement",Ke.fields=[{name:"type",type:o(s),value:"WhileStatement"},{name:"test",type:pt},{name:"body",type:ft}],Je.typeName="WithStatement",Je.fields=[{name:"type",type:o(s),value:"WithStatement"},{name:"object",type:pt},{name:"body",type:ft}],Xe.typeName="YieldExpression",Xe.fields=[{name:"type",type:o(s),value:"YieldExpression"},{name:"expression",type:r(pt)}],Qe.typeName="YieldGeneratorExpression",Qe.fields=[{name:"type",type:o(s),value:"YieldGeneratorExpression"},{name:"expression",type:pt}],e}()},1892:function(e){e.exports=new Set(["General_Category","Script","Script_Extensions","Alphabetic","Any","ASCII","ASCII_Hex_Digit","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extended_Pictographic","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","ID_Continue","ID_Start","Ideographic","IDS_Binary_Operator","IDS_Trinary_Operator","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"])},6060:function(e,t,n){"use strict";var r=n(1892),i=n(4483);e.exports=function(e){if(r.has(e))return e;if(i.has(e))return i.get(e);throw new Error("Unknown property: ".concat(e))}},9506:function(e){e.exports=new Map([["General_Category",new Map([["C","Other"],["Cc","Control"],["cntrl","Control"],["Cf","Format"],["Cn","Unassigned"],["Co","Private_Use"],["Cs","Surrogate"],["L","Letter"],["LC","Cased_Letter"],["Ll","Lowercase_Letter"],["Lm","Modifier_Letter"],["Lo","Other_Letter"],["Lt","Titlecase_Letter"],["Lu","Uppercase_Letter"],["M","Mark"],["Combining_Mark","Mark"],["Mc","Spacing_Mark"],["Me","Enclosing_Mark"],["Mn","Nonspacing_Mark"],["N","Number"],["Nd","Decimal_Number"],["digit","Decimal_Number"],["Nl","Letter_Number"],["No","Other_Number"],["P","Punctuation"],["punct","Punctuation"],["Pc","Connector_Punctuation"],["Pd","Dash_Punctuation"],["Pe","Close_Punctuation"],["Pf","Final_Punctuation"],["Pi","Initial_Punctuation"],["Po","Other_Punctuation"],["Ps","Open_Punctuation"],["S","Symbol"],["Sc","Currency_Symbol"],["Sk","Modifier_Symbol"],["Sm","Math_Symbol"],["So","Other_Symbol"],["Z","Separator"],["Zl","Line_Separator"],["Zp","Paragraph_Separator"],["Zs","Space_Separator"],["Other","Other"],["Control","Control"],["Format","Format"],["Unassigned","Unassigned"],["Private_Use","Private_Use"],["Surrogate","Surrogate"],["Letter","Letter"],["Cased_Letter","Cased_Letter"],["Lowercase_Letter","Lowercase_Letter"],["Modifier_Letter","Modifier_Letter"],["Other_Letter","Other_Letter"],["Titlecase_Letter","Titlecase_Letter"],["Uppercase_Letter","Uppercase_Letter"],["Mark","Mark"],["Spacing_Mark","Spacing_Mark"],["Enclosing_Mark","Enclosing_Mark"],["Nonspacing_Mark","Nonspacing_Mark"],["Number","Number"],["Decimal_Number","Decimal_Number"],["Letter_Number","Letter_Number"],["Other_Number","Other_Number"],["Punctuation","Punctuation"],["Connector_Punctuation","Connector_Punctuation"],["Dash_Punctuation","Dash_Punctuation"],["Close_Punctuation","Close_Punctuation"],["Final_Punctuation","Final_Punctuation"],["Initial_Punctuation","Initial_Punctuation"],["Other_Punctuation","Other_Punctuation"],["Open_Punctuation","Open_Punctuation"],["Symbol","Symbol"],["Currency_Symbol","Currency_Symbol"],["Modifier_Symbol","Modifier_Symbol"],["Math_Symbol","Math_Symbol"],["Other_Symbol","Other_Symbol"],["Separator","Separator"],["Line_Separator","Line_Separator"],["Paragraph_Separator","Paragraph_Separator"],["Space_Separator","Space_Separator"]])],["Script",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])],["Script_Extensions",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Copt","Coptic"],["Qaac","Coptic"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Ugar","Ugaritic"],["Vaii","Vai"],["Wara","Warang_Citi"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Coptic","Coptic"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Warang_Citi","Warang_Citi"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])]])},2451:function(e,t,n){"use strict";var r=n(9506);e.exports=function(e,t){var n=r.get(e);if(!n)throw new Error("Unknown property `".concat(e,"`."));var i=n.get(t);if(i)return i;throw new Error("Unknown value `".concat(t,"` for property `").concat(e,"`."))}},4483:function(e){e.exports=new Map([["scx","Script_Extensions"],["sc","Script"],["gc","General_Category"],["AHex","ASCII_Hex_Digit"],["Alpha","Alphabetic"],["Bidi_C","Bidi_Control"],["Bidi_M","Bidi_Mirrored"],["Cased","Cased"],["CI","Case_Ignorable"],["CWCF","Changes_When_Casefolded"],["CWCM","Changes_When_Casemapped"],["CWKCF","Changes_When_NFKC_Casefolded"],["CWL","Changes_When_Lowercased"],["CWT","Changes_When_Titlecased"],["CWU","Changes_When_Uppercased"],["Dash","Dash"],["Dep","Deprecated"],["DI","Default_Ignorable_Code_Point"],["Dia","Diacritic"],["Ext","Extender"],["Gr_Base","Grapheme_Base"],["Gr_Ext","Grapheme_Extend"],["Hex","Hex_Digit"],["IDC","ID_Continue"],["Ideo","Ideographic"],["IDS","ID_Start"],["IDSB","IDS_Binary_Operator"],["IDST","IDS_Trinary_Operator"],["Join_C","Join_Control"],["LOE","Logical_Order_Exception"],["Lower","Lowercase"],["Math","Math"],["NChar","Noncharacter_Code_Point"],["Pat_Syn","Pattern_Syntax"],["Pat_WS","Pattern_White_Space"],["QMark","Quotation_Mark"],["Radical","Radical"],["RI","Regional_Indicator"],["SD","Soft_Dotted"],["STerm","Sentence_Terminal"],["Term","Terminal_Punctuation"],["UIdeo","Unified_Ideograph"],["Upper","Uppercase"],["VS","Variation_Selector"],["WSpace","White_Space"],["space","White_Space"],["XIDC","XID_Continue"],["XIDS","XID_Start"]])},6951:function(e,t){var n;!function(r){"use strict";function i(){if(i.prototype._singleton)throw new Error("WebMidi is a singleton, it cannot be instantiated directly.");(i.prototype._singleton=this)._inputs=[],this._outputs=[],this._userHandlers={},this._stateChangeQueue=[],this._processingStateChange=!1,this._midiInterfaceEvents=["connected","disconnected"],this._nrpnBuffer=[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],this._nrpnEventsEnabled=!0,this._nrpnTypes=["entry","increment","decrement"],this._notes=["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"],this._semitones={C:0,D:2,E:4,F:5,G:7,A:9,B:11},Object.defineProperties(this,{MIDI_SYSTEM_MESSAGES:{value:{sysex:240,timecode:241,songposition:242,songselect:243,tuningrequest:246,sysexend:247,clock:248,start:250,continue:251,stop:252,activesensing:254,reset:255,midimessage:0,unknownsystemmessage:-1},writable:!1,enumerable:!0,configurable:!1},MIDI_CHANNEL_MESSAGES:{value:{noteoff:8,noteon:9,keyaftertouch:10,controlchange:11,channelmode:11,nrpn:11,programchange:12,channelaftertouch:13,pitchbend:14},writable:!1,enumerable:!0,configurable:!1},MIDI_REGISTERED_PARAMETER:{value:{pitchbendrange:[0,0],channelfinetuning:[0,1],channelcoarsetuning:[0,2],tuningprogram:[0,3],tuningbank:[0,4],modulationrange:[0,5],azimuthangle:[61,0],elevationangle:[61,1],gain:[61,2],distanceratio:[61,3],maximumdistance:[61,4],maximumdistancegain:[61,5],referencedistanceratio:[61,6],panspreadangle:[61,7],rollangle:[61,8]},writable:!1,enumerable:!0,configurable:!1},MIDI_CONTROL_CHANGE_MESSAGES:{value:{bankselectcoarse:0,modulationwheelcoarse:1,breathcontrollercoarse:2,footcontrollercoarse:4,portamentotimecoarse:5,dataentrycoarse:6,volumecoarse:7,balancecoarse:8,pancoarse:10,expressioncoarse:11,effectcontrol1coarse:12,effectcontrol2coarse:13,generalpurposeslider1:16,generalpurposeslider2:17,generalpurposeslider3:18,generalpurposeslider4:19,bankselectfine:32,modulationwheelfine:33,breathcontrollerfine:34,footcontrollerfine:36,portamentotimefine:37,dataentryfine:38,volumefine:39,balancefine:40,panfine:42,expressionfine:43,effectcontrol1fine:44,effectcontrol2fine:45,holdpedal:64,portamento:65,sustenutopedal:66,softpedal:67,legatopedal:68,hold2pedal:69,soundvariation:70,resonance:71,soundreleasetime:72,soundattacktime:73,brightness:74,soundcontrol6:75,soundcontrol7:76,soundcontrol8:77,soundcontrol9:78,soundcontrol10:79,generalpurposebutton1:80,generalpurposebutton2:81,generalpurposebutton3:82,generalpurposebutton4:83,reverblevel:91,tremololevel:92,choruslevel:93,celestelevel:94,phaserlevel:95,databuttonincrement:96,databuttondecrement:97,nonregisteredparametercoarse:98,nonregisteredparameterfine:99,registeredparametercoarse:100,registeredparameterfine:101},writable:!1,enumerable:!0,configurable:!1},MIDI_NRPN_MESSAGES:{value:{entrymsb:6,entrylsb:38,increment:96,decrement:97,paramlsb:98,parammsb:99,nullactiveparameter:127},writable:!1,enumerable:!0,configurable:!1},MIDI_CHANNEL_MODE_MESSAGES:{value:{allsoundoff:120,resetallcontrollers:121,localcontrol:122,allnotesoff:123,omnimodeoff:124,omnimodeon:125,monomodeon:126,polymodeon:127},writable:!1,enumerable:!0,configurable:!1},octaveOffset:{value:0,writable:!0,enumerable:!0,configurable:!1}}),Object.defineProperties(this,{supported:{enumerable:!0,get:function(){return"requestMIDIAccess"in navigator}},enabled:{enumerable:!0,get:function(){return void 0!==this.interface}.bind(this)},inputs:{enumerable:!0,get:function(){return this._inputs}.bind(this)},outputs:{enumerable:!0,get:function(){return this._outputs}.bind(this)},sysexEnabled:{enumerable:!0,get:function(){return!(!this.interface||!this.interface.sysexEnabled)}.bind(this)},nrpnEventsEnabled:{enumerable:!0,get:function(){return!!this._nrpnEventsEnabled}.bind(this),set:function(e){return this._nrpnEventsEnabled=e,this._nrpnEventsEnabled}},nrpnTypes:{enumerable:!0,get:function(){return this._nrpnTypes}.bind(this)},time:{enumerable:!0,get:function(){return performance.now()}}})}var o=new i;function a(e){var t=this;this._userHandlers={channel:{},system:{}},this._midiInput=e,Object.defineProperties(this,{connection:{enumerable:!0,get:function(){return t._midiInput.connection}},id:{enumerable:!0,get:function(){return t._midiInput.id}},manufacturer:{enumerable:!0,get:function(){return t._midiInput.manufacturer}},name:{enumerable:!0,get:function(){return t._midiInput.name}},state:{enumerable:!0,get:function(){return t._midiInput.state}},type:{enumerable:!0,get:function(){return t._midiInput.type}}}),this._initializeUserHandlers(),this._midiInput.onmidimessage=this._onMidiMessage.bind(this)}function s(e){var t=this;this._midiOutput=e,Object.defineProperties(this,{connection:{enumerable:!0,get:function(){return t._midiOutput.connection}},id:{enumerable:!0,get:function(){return t._midiOutput.id}},manufacturer:{enumerable:!0,get:function(){return t._midiOutput.manufacturer}},name:{enumerable:!0,get:function(){return t._midiOutput.name}},state:{enumerable:!0,get:function(){return t._midiOutput.state}},type:{enumerable:!0,get:function(){return t._midiOutput.type}}})}i.prototype.enable=function(e,t){this.enabled||(this.supported?navigator.requestMIDIAccess({sysex:t}).then(function(t){var n,r=[],i=[];this.interface=t,this._resetInterfaceUserHandlers(),this.interface.onstatechange=function(e){r.push(e)};for(var o=t.inputs.values(),a=o.next();a&&!a.done;a=o.next())i.push(a.value.open());for(var s=t.outputs.values(),u=s.next();u&&!u.done;u=s.next())i.push(u.value.open());function c(){clearTimeout(n),this._updateInputsAndOutputs(),this.interface.onstatechange=this._onInterfaceStateChange.bind(this),"function"==typeof e&&e.call(this),r.forEach(function(e){this._onInterfaceStateChange(e)}.bind(this))}n=setTimeout(c.bind(this),200),Promise&&Promise.all(i).catch((function(e){})).then(c.bind(this))}.bind(this),function(t){"function"==typeof e&&e.call(this,t)}.bind(this)):"function"==typeof e&&e(new Error("The Web MIDI API is not supported by your browser.")))},i.prototype.disable=function(){if(!this.supported)throw new Error("The Web MIDI API is not supported by your browser.");this.enabled&&(this.removeListener(),this.inputs.forEach((function(e){e.removeListener()}))),this.interface&&(this.interface.onstatechange=void 0),this.interface=void 0,this._inputs=[],this._outputs=[],this._nrpnEventsEnabled=!0,this._resetInterfaceUserHandlers()},i.prototype.addListener=function(e,t){if(!this.enabled)throw new Error("WebMidi must be enabled before adding event listeners.");if("function"!=typeof t)throw new TypeError("The 'listener' parameter must be a function.");if(!(0<=this._midiInterfaceEvents.indexOf(e)))throw new TypeError("The specified event type is not supported.");return this._userHandlers[e].push(t),this},i.prototype.hasListener=function(e,t){if(!this.enabled)throw new Error("WebMidi must be enabled before checking event listeners.");if("function"!=typeof t)throw new TypeError("The 'listener' parameter must be a function.");if(!(0<=this._midiInterfaceEvents.indexOf(e)))throw new TypeError("The specified event type is not supported.");for(var n=0;n>4,i=15&e.data[0],a=1+i;if(1=o.MIDI_NRPN_MESSAGES.increment&&t<=o.MIDI_NRPN_MESSAGES.parammsb||t===o.MIDI_NRPN_MESSAGES.entrymsb||t===o.MIDI_NRPN_MESSAGES.entrylsb)){var s={target:this,type:"controlchange",data:e.data,timestamp:e.timeStamp,channel:a,controller:{number:t,name:this.getCcNameByNumber(t)},value:n};if(s.controller.number===o.MIDI_NRPN_MESSAGES.parammsb&&s.value!=o.MIDI_NRPN_MESSAGES.nullactiveparameter)o._nrpnBuffer[i]=[],o._nrpnBuffer[i][0]=s;else if(1===o._nrpnBuffer[i].length&&s.controller.number===o.MIDI_NRPN_MESSAGES.paramlsb)o._nrpnBuffer[i].push(s);else if(2!==o._nrpnBuffer[i].length||s.controller.number!==o.MIDI_NRPN_MESSAGES.increment&&s.controller.number!==o.MIDI_NRPN_MESSAGES.decrement&&s.controller.number!==o.MIDI_NRPN_MESSAGES.entrymsb)if(3===o._nrpnBuffer[i].length&&o._nrpnBuffer[i][2].number===o.MIDI_NRPN_MESSAGES.entrymsb&&s.controller.number===o.MIDI_NRPN_MESSAGES.entrylsb)o._nrpnBuffer[i].push(s);else if(3<=o._nrpnBuffer[i].length&&o._nrpnBuffer[i].length<=4&&s.controller.number===o.MIDI_NRPN_MESSAGES.parammsb&&s.value===o.MIDI_NRPN_MESSAGES.nullactiveparameter)o._nrpnBuffer[i].push(s);else if(4<=o._nrpnBuffer[i].length&&o._nrpnBuffer[i].length<=5&&s.controller.number===o.MIDI_NRPN_MESSAGES.paramlsb&&s.value===o.MIDI_NRPN_MESSAGES.nullactiveparameter){o._nrpnBuffer[i].push(s);var u=[];o._nrpnBuffer[i].forEach((function(e){u.push(e.data)}));var c=o._nrpnBuffer[i][0].value<<7|o._nrpnBuffer[i][1].value,l=o._nrpnBuffer[i][2].value;6===o._nrpnBuffer[i].length&&(l=o._nrpnBuffer[i][2].value<<7|o._nrpnBuffer[i][3].value);var p="";switch(o._nrpnBuffer[i][2].controller.number){case o.MIDI_NRPN_MESSAGES.entrymsb:p=o._nrpnTypes[0];break;case o.MIDI_NRPN_MESSAGES.increment:p=o._nrpnTypes[1];break;case o.MIDI_NRPN_MESSAGES.decrement:p=o._nrpnTypes[2];break;default:throw new Error("The NPRN type was unidentifiable.")}var f={timestamp:s.timestamp,channel:s.channel,type:"nrpn",data:u,controller:{number:c,type:p,name:"Non-Registered Parameter "+c},value:l};o._nrpnBuffer[i]=[],this._userHandlers.channel[f.type]&&this._userHandlers.channel[f.type][f.channel]&&this._userHandlers.channel[f.type][f.channel].forEach((function(e){e(f)}))}else o._nrpnBuffer[i]=[];else o._nrpnBuffer[i].push(s)}},a.prototype._parseChannelEvent=function(e){var t,n,r=e.data[0]>>4,i=1+(15&e.data[0]);1>7&127,r=127&e;return this.send(o.MIDI_SYSTEM_MESSAGES.songposition,[n,r],this._parseTimeParameter(t.time)),this},s.prototype.sendSongSelect=function(e,t){if(t=t||{},!(0<=(e=Math.floor(e))&&e<=127))throw new RangeError("The song number must be between 0 and 127.");return this.send(o.MIDI_SYSTEM_MESSAGES.songselect,[e],this._parseTimeParameter(t.time)),this},s.prototype.sendTuningRequest=function(e){return e=e||{},this.send(o.MIDI_SYSTEM_MESSAGES.tuningrequest,void 0,this._parseTimeParameter(e.time)),this},s.prototype.sendClock=function(e){return e=e||{},this.send(o.MIDI_SYSTEM_MESSAGES.clock,void 0,this._parseTimeParameter(e.time)),this},s.prototype.sendStart=function(e){return e=e||{},this.send(o.MIDI_SYSTEM_MESSAGES.start,void 0,this._parseTimeParameter(e.time)),this},s.prototype.sendContinue=function(e){return e=e||{},this.send(o.MIDI_SYSTEM_MESSAGES.continue,void 0,this._parseTimeParameter(e.time)),this},s.prototype.sendStop=function(e){return e=e||{},this.send(o.MIDI_SYSTEM_MESSAGES.stop,void 0,this._parseTimeParameter(e.time)),this},s.prototype.sendActiveSensing=function(e){return e=e||{},this.send(o.MIDI_SYSTEM_MESSAGES.activesensing,[],this._parseTimeParameter(e.time)),this},s.prototype.sendReset=function(e){return e=e||{},this.send(o.MIDI_SYSTEM_MESSAGES.reset,void 0,this._parseTimeParameter(e.time)),this},s.prototype.stopNote=function(e,t,n){if("all"===e)return this.sendChannelMode("allnotesoff",0,t,n);var r=64;return(n=n||{}).rawVelocity?!isNaN(n.velocity)&&0<=n.velocity&&n.velocity<=127&&(r=n.velocity):!isNaN(n.velocity)&&0<=n.velocity&&n.velocity<=1&&(r=127*n.velocity),this._convertNoteToArray(e).forEach(function(e){o.toMIDIChannels(t).forEach(function(t){this.send((o.MIDI_CHANNEL_MESSAGES.noteoff<<4)+(t-1),[e,Math.round(r)],this._parseTimeParameter(n.time))}.bind(this))}.bind(this)),this},s.prototype.playNote=function(e,t,n){var r,i=64;if((n=n||{}).rawVelocity?!isNaN(n.velocity)&&0<=n.velocity&&n.velocity<=127&&(i=n.velocity):!isNaN(n.velocity)&&0<=n.velocity&&n.velocity<=1&&(i=127*n.velocity),r=this._parseTimeParameter(n.time),this._convertNoteToArray(e).forEach(function(e){o.toMIDIChannels(t).forEach(function(t){this.send((o.MIDI_CHANNEL_MESSAGES.noteon<<4)+(t-1),[e,Math.round(i)],r)}.bind(this))}.bind(this)),!isNaN(n.duration)){n.duration<=0&&(n.duration=0);var a=64;n.rawVelocity?!isNaN(n.release)&&0<=n.release&&n.release<=127&&(a=n.release):!isNaN(n.release)&&0<=n.release&&n.release<=1&&(a=127*n.release),this._convertNoteToArray(e).forEach(function(e){o.toMIDIChannels(t).forEach(function(t){this.send((o.MIDI_CHANNEL_MESSAGES.noteoff<<4)+(t-1),[e,Math.round(a)],(r||o.time)+n.duration)}.bind(this))}.bind(this))}return this},s.prototype.sendKeyAftertouch=function(e,t,n,r){var i=this;if(r=r||{},t<1||16>7&127,u=127&a;return o.toMIDIChannels(t).forEach((function(){r.setRegisteredParameter("channelcoarsetuning",i,t,{time:n.time}),r.setRegisteredParameter("channelfinetuning",[s,u],t,{time:n.time})})),this},s.prototype.setTuningProgram=function(e,t,n){var r=this;if(n=n||{},!(0<=(e=Math.floor(e))&&e<=127))throw new RangeError("The program value must be between 0 and 127");return o.toMIDIChannels(t).forEach((function(){r.setRegisteredParameter("tuningprogram",e,t,{time:n.time})})),this},s.prototype.setTuningBank=function(e,t,n){var r=this;if(n=n||{},!(0<=(e=Math.floor(e)||0)&&e<=127))throw new RangeError("The bank value must be between 0 and 127");return o.toMIDIChannels(t).forEach((function(){r.setRegisteredParameter("tuningbank",e,t,{time:n.time})})),this},s.prototype.sendChannelMode=function(e,t,n,r){if(r=r||{},"string"==typeof e){if(!(e=o.MIDI_CHANNEL_MODE_MESSAGES[e]))throw new TypeError("Invalid channel mode message name.")}else if(!(120<=(e=Math.floor(e))&&e<=127))throw new RangeError("Channel mode numerical identifiers must be between 120 and 127.");if((t=Math.floor(t)||0)<0||127>7&127,s=127&i;return o.toMIDIChannels(t).forEach((function(e){r.send((o.MIDI_CHANNEL_MESSAGES.pitchbend<<4)+(e-1),[s,a],r._parseTimeParameter(n.time))})),this},s.prototype._parseTimeParameter=function(e){var t,n=parseFloat(e);return"string"==typeof e&&"+"===e.substring(0,1)?n&&0o.time&&(t=n),t},s.prototype._convertNoteToArray=function(e){var t=[];return Array.isArray(e)||(e=[e]),e.forEach((function(e){t.push(o.guessNoteNumber(e))})),t},void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},3668:function(e){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),u=!o&&/WebKit\//.test(e),c=u&&/Qt\/\d+\.\d+/.test(e),l=!o&&/Chrome\//.test(e),p=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),m=f&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),y=/Android/.test(e),v=m||y||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),g=m||/Mac/.test(t),_=/\bCrOS\b/.test(e),E=/win/i.test(t),D=p&&e.match(/Version\/(\d*\.\d*)/);D&&(D=Number(D[1])),D&&D>=15&&(p=!1,u=!0);var b=g&&(c||p&&(null==D||D<12.11)),A=n||a&&s>=9;function C(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,x=function(e,t){var n=e.className,r=C(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function w(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function S(e,t){return w(e).appendChild(t)}function F(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?P=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(P=function(e){try{e.select()}catch(t){}});var L=function(){this.id=null,this.f=null,this.time=0,this.handler=I(this.onTimeout,this)};function j(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var U=[""];function Y(e){for(;U.length<=e;)U.push(K(U)+" ");return U[e]}function K(e){return e[e.length-1]}function J(e,t){for(var n=[],r=0;r"\x80"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function ue(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var ce=null;function le(e,t,n){var r;ce=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ce=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ce=i)}return null!=r?r:ce}var pe=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function u(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var l=e.length,p=[],f=0;f-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ve(e,t){var n=me(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function De(e){e.prototype.on=function(e,t){he(this,e,t)},e.prototype.off=function(e,t){ye(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ae(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ce(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function ke(e){be(e),Ae(e)}function xe(e){return e.target||e.srcElement}function we(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),g&&e.ctrlKey&&1==t&&(t=3),t}var Se,Fe,Te=function(){if(a&&s<9)return!1;var e=F("div");return"draggable"in e||"dragDrop"in e}();function Be(e){if(null==Se){var t=F("span","\u200b");S(e,F("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Se=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Se?F("span","\u200b"):F("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function qe(e){if(null!=Fe)return Fe;var t=S(e,document.createTextNode("A\u062eA")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return w(e),!(!n||n.left==n.right)&&(Fe=r.right-n.right<3)}var Oe=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Me=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Pe=function(){var e=F("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Ie=null;function Ne(e){if(null!=Ie)return Ie;var t=S(e,F("span","x")),n=t.getBoundingClientRect(),r=k(t,0,1).getBoundingClientRect();return Ie=Math.abs(n.left-r.left)>1}var Re={},Le={};function je(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Re[e]=t}function We(e,t){Le[e]=t}function Ge(e){if("string"==typeof e&&Le.hasOwnProperty(e))e=Le[e];else if(e&&"string"==typeof e.name&&Le.hasOwnProperty(e.name)){var t=Le[e.name];"string"==typeof t&&(t={name:t}),(e=$(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ge("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ge("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function He(e,t){t=Ge(t);var n=Re[t.name];if(!n)return He(e,"text/plain");var r=n(e,t);if(ze.hasOwnProperty(t.name)){var i=ze[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var ze={};function Ve(e,t){N(t,ze.hasOwnProperty(e)?ze[e]:ze[e]={})}function Ze(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Ue(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Ye(e,t,n){return!e.startState||e.startState(t,n)}var Ke=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Je(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?it(n,Je(e,n).text.length):ft(t,Je(e,t.line).text.length)}function ft(e,t){var n=e.ch;return null==n||n>t?it(e.line,t):n<0?it(e.line,0):e}function dt(e,t){for(var n=[],r=0;r=this.string.length},Ke.prototype.sol=function(){return this.pos==this.lineStart},Ke.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ke.prototype.next=function(){if(this.post},Ke.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ke.prototype.skipToEnd=function(){this.pos=this.string.length},Ke.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ke.prototype.backUp=function(e){this.pos-=e},Ke.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ke.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ke.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ke.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ke.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ht=function(e,t){this.state=e,this.lookAhead=t},mt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function yt(e,t,n,r){var i=[e.state.modeGen],o={};kt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],u=1,c=0;n.state=!0,kt(e,t.text,s.mode,n,(function(e,t){for(var n=u;ce&&i.splice(u,1,e,i[u+1],r),u+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,u-n,e,"overlay "+t),u=n+2;else for(;ne.options.maxHighlightLength&&Ze(e.doc.mode,r.state),o=yt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function gt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new mt(r,!0,t);var o=xt(e,t,n),a=o>r.first&&Je(r,o-1).stateAfter,s=a?mt.fromSaved(r,a,o):new mt(r,Ye(r.mode),o);return r.iter(o,t,(function(n){_t(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}mt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},mt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},mt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},mt.fromSaved=function(e,t,n){return t instanceof ht?new mt(e,Ze(e.mode,t.state),n,t.lookAhead):new mt(e,Ze(e.mode,t),n)},mt.prototype.save=function(e){var t=!1!==e?Ze(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ht(t,this.maxLookAhead):t};var bt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function At(e,t,n,r){var i,o,a=e.doc,s=a.mode,u=Je(a,(t=pt(a,t)).line),c=gt(e,t.line,n),l=new Ke(u.text,e.options.tabSize,c);for(r&&(o=[]);(r||l.pose.options.maxHighlightLength?(s=!1,a&&_t(e,t,r,p.pos),p.pos=t.length,u=null):u=Ct(Dt(n,p,r.state,f),o),f){var d=f[0].name;d&&(u="m-"+(u?d+" "+u:d))}if(!s||l!=u){for(;ca;--s){if(s<=o.first)return o.first;var u=Je(o,s-1),c=u.stateAfter;if(c&&(!n||s+(c instanceof ht?c.lookAhead:0)<=o.modeFrontier))return s;var l=R(u.text,null,e.options.tabSize);(null==i||r>l)&&(i=s-1,r=l)}return i}function wt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=Je(e,r).stateAfter;if(i&&(!(i instanceof ht)||r+i.lookAhead=t:o.to>t);(r||(r=[])).push(new qt(a,o.from,s?null:o.to))}}return r}function Nt(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var _=0;_0)){var l=[u,1],p=ot(c.from,s.from),f=ot(c.to,s.to);(p<0||!a.inclusiveLeft&&!p)&&l.push({from:c.from,to:s.from}),(f>0||!a.inclusiveRight&&!f)&&l.push({from:s.to,to:c.to}),i.splice.apply(i,l),u+=l.length-3}}return i}function Wt(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||Vt(n,o.marker)<0)&&(n=o.marker)}return n}function Jt(e,t,n,r,i){var o=Je(e,t),a=Ft&&o.markedSpans;if(a)for(var s=0;s=0&&p<=0||l<=0&&p>=0)&&(l<=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?ot(c.to,n)>=0:ot(c.to,n)>0)||l>=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?ot(c.from,r)<=0:ot(c.from,r)<0)))return!0}}}function Xt(e){for(var t;t=Ut(e);)e=t.find(-1,!0).line;return e}function Qt(e){for(var t;t=Yt(e);)e=t.find(1,!0).line;return e}function $t(e){for(var t,n;t=Yt(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function en(e,t){var n=Je(e,t),r=Xt(n);return n==r?t:et(r)}function tn(e,t){if(t>e.lastLine())return t;var n,r=Je(e,t);if(!nn(e,r))return t;for(;n=Yt(r);)r=n.find(1,!0).line;return et(r)+1}function nn(e,t){var n=Ft&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var un=function(e,t,n){this.text=e,Gt(this,t),this.height=n?n(this):1};function cn(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Wt(e),Gt(e,n);var i=r?r(e):1;i!=e.height&&$e(e,i)}function ln(e){e.parent=null,Wt(e)}un.prototype.lineNo=function(){return et(this)},De(un);var pn={},fn={};function dn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?fn:pn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function hn(e,t){var n=T("span",null,null,u?"padding-right: .1px":null),r={pre:T("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=yn,qe(e.display.measure)&&(a=fe(o,e.doc.direction))&&(r.addToken=gn(r.addToken,a)),r.map=[],En(o,r,vt(e,o,t!=e.display.externalMeasured&&et(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=M(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=M(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Be(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(u){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ve(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=M(r.pre.className,r.textClass||"")),r}function mn(e){var t=F("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function yn(e,t,n,r,i,o,u){if(t){var c,l=e.splitSpaces?vn(t,e.trailingSpace):t,p=e.cm.state.specialChars,f=!1;if(p.test(t)){c=document.createDocumentFragment();for(var d=0;;){p.lastIndex=d;var h=p.exec(t),m=h?h.index-d:t.length-d;if(m){var y=document.createTextNode(l.slice(d,d+m));a&&s<9?c.appendChild(F("span",[y])):c.appendChild(y),e.map.push(e.pos,e.pos+m,y),e.col+=m,e.pos+=m}if(!h)break;d+=m+1;var v=void 0;if("\t"==h[0]){var g=e.cm.options.tabSize,_=g-e.col%g;(v=c.appendChild(F("span",Y(_),"cm-tab"))).setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=_}else"\r"==h[0]||"\n"==h[0]?((v=c.appendChild(F("span","\r"==h[0]?"\u240d":"\u2424","cm-invalidchar"))).setAttribute("cm-text",h[0]),e.col+=1):((v=e.cm.options.specialCharPlaceholder(h[0])).setAttribute("cm-text",h[0]),a&&s<9?c.appendChild(F("span",[v])):c.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,c=document.createTextNode(l),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==l.charCodeAt(t.length-1),n||r||i||f||o||u){var E=n||"";r&&(E+=r),i&&(E+=i);var D=F("span",[c],E,o);if(u)for(var b in u)u.hasOwnProperty(b)&&"style"!=b&&"class"!=b&&D.setAttribute(b,u[b]);return e.content.appendChild(D)}e.content.appendChild(c)}}function vn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;ic&&p.from<=c);f++);if(p.to>=l)return e(n,r,i,o,a,s,u);e(n,r.slice(0,p.to-c),i,o,null,s,u),o=null,r=r.slice(p.to-c),c=p.to}}}function _n(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function En(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,u,c,l,p,f,d=i.length,h=0,m=1,y="",v=0;;){if(v==h){u=c=l=s="",f=null,p=null,v=1/0;for(var g=[],_=void 0,E=0;Eh||b.collapsed&&D.to==h&&D.from==h)){if(null!=D.to&&D.to!=h&&v>D.to&&(v=D.to,c=""),b.className&&(u+=" "+b.className),b.css&&(s=(s?s+";":"")+b.css),b.startStyle&&D.from==h&&(l+=" "+b.startStyle),b.endStyle&&D.to==v&&(_||(_=[])).push(b.endStyle,D.to),b.title&&((f||(f={})).title=b.title),b.attributes)for(var A in b.attributes)(f||(f={}))[A]=b.attributes[A];b.collapsed&&(!p||Vt(p.marker,b)<0)&&(p=D)}else D.from>h&&v>D.from&&(v=D.from)}if(_)for(var C=0;C<_.length;C+=2)_[C+1]==v&&(c+=" "+_[C]);if(!p||p.from==h)for(var k=0;k=d)break;for(var x=Math.min(d,v);;){if(y){var w=h+y.length;if(!p){var S=w>x?y.slice(0,x-h):y;t.addToken(t,S,a?a+u:u,l,h+S.length==v?c:"",s,f)}if(w>=x){y=y.slice(x-h),h=x;break}h=w,l=""}y=i.slice(o,o=n[m++]),a=dn(n[m++],t.cm.options)}}else for(var F=1;F2&&o.push((u.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Xn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function Qn(e,t){var n=et(t=Xt(t)),r=e.display.externalMeasured=new Dn(e.doc,t,n);r.lineN=n;var i=r.built=hn(e,r);return r.text=i.pre,S(e.display.lineMeasure,i.pre),r}function $n(e,t,n,r){return nr(e,tr(e,t),n,r)}function er(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(i=(o=u-s)-1,t>=u&&(a="right")),null!=i){if(r=e[c+2],s==u&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==u-s)for(;c=0&&(n=e[i]).left==n.right;i--);return n}function sr(e,t,n,r){var i,o=or(t.map,n,r),u=o.node,c=o.start,l=o.end,p=o.collapse;if(3==u.nodeType){for(var f=0;f<4;f++){for(;c&&oe(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+l0&&(p=r="right"),i=e.options.lineWrapping&&(d=u.getClientRects()).length>1?d["right"==r?d.length-1:0]:u.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var h=u.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+Fr(e.display),top:h.top,bottom:h.bottom}:ir}for(var m=i.top-t.rect.top,y=i.bottom-t.rect.top,v=(m+y)/2,g=t.view.measure.heights,_=0;_=r.text.length?(u=r.text.length,c="before"):u<=0&&(u=0,c="after"),!s)return a("before"==c?u-1:u,"before"==c);function l(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var p=le(s,u,c),f=ce,d=l(u,p,"before"==c);return null!=f&&(d.other=l(u,f,"before"!=c)),d}function _r(e,t){var n=0;t=pt(e.doc,t),e.options.lineWrapping||(n=Fr(e.display)*t.ch);var r=Je(e.doc,t.line),i=on(r)+zn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Er(e,t,n,r,i){var o=it(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Dr(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Er(r.first,0,null,-1,-1);var i=tt(r,n),o=r.first+r.size-1;if(i>o)return Er(r.first+r.size-1,Je(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Je(r,i);;){var s=kr(e,a,i,t,n),u=Kt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!u)return s;var c=u.find(1);if(c.line==i)return c;a=Je(r,i=c.line)}}function br(e,t,n,r){r-=hr(t);var i=t.text.length,o=se((function(t){return nr(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=se((function(t){return nr(e,n,t).top>r}),o,i)}}function Ar(e,t,n,r){return n||(n=tr(e,t)),br(e,t,n,mr(e,t,nr(e,n,r),"line").top)}function Cr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function kr(e,t,n,r,i){i-=on(t);var o=tr(e,t),a=hr(t),s=0,u=t.text.length,c=!0,l=fe(t,e.doc.direction);if(l){var p=(e.options.lineWrapping?wr:xr)(e,t,n,o,l,r,i);s=(c=1!=p.level)?p.from:p.to-1,u=c?p.to:p.from-1}var f,d,h=null,m=null,y=se((function(t){var n=nr(e,o,t);return n.top+=a,n.bottom+=a,!!Cr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,u),v=!1;if(m){var g=r-m.left=E.bottom?1:0}return Er(n,y=ae(t.text,y,1),d,v,r-f)}function xr(e,t,n,r,i,o,a){var s=se((function(s){var u=i[s],c=1!=u.level;return Cr(gr(e,it(n,c?u.to:u.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),u=i[s];if(s>0){var c=1!=u.level,l=gr(e,it(n,c?u.from:u.to,c?"after":"before"),"line",t,r);Cr(l,o,a,!0)&&l.top>a&&(u=i[s-1])}return u}function wr(e,t,n,r,i,o,a){var s=br(e,t,r,a),u=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var l=null,p=null,f=0;f=c||d.to<=u)){var h=nr(e,r,1!=d.level?Math.min(c,d.to)-1:Math.max(u,d.from)).right,m=hm)&&(l=d,p=m)}}return l||(l=i[i.length-1]),l.fromc&&(l={from:l.from,to:c,level:l.level}),l}function Sr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==rr){rr=F("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)rr.appendChild(document.createTextNode("x")),rr.appendChild(F("br"));rr.appendChild(document.createTextNode("x"))}S(e.measure,rr);var n=rr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),w(e.measure),n||1}function Fr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=F("span","xxxxxxxxxx"),n=F("pre",[t],"CodeMirror-line-like");S(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Tr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Br(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Br(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function qr(e){var t=Sr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Fr(e.display)-3);return function(i){if(nn(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(u=Je(e.doc,c.line).text).length==c.ch){var l=R(u,u.length,e.options.tabSize)-u.length;c=it(c.line,Math.max(0,Math.round((o-Zn(e.display).left)/Fr(e.display))-l))}return c}function Pr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ft&&en(e.doc,t)i.viewFrom?Rr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Rr(e);else if(t<=i.viewFrom){var o=Lr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Rr(e)}else if(n>=i.viewTo){var a=Lr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Rr(e)}else{var s=Lr(e,t,t,-1),u=Lr(e,n,n+r,1);s&&u?(i.view=i.view.slice(0,s.index).concat(bn(e,s.lineN,u.lineN)).concat(i.view.slice(u.index)),i.viewTo+=r):Rr(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Pr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==j(a,n)&&a.push(n)}}}function Rr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Lr(e,t,n,r){var i,o=Pr(e,t),a=e.display.view;if(!Ft||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,u=0;u0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;en(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function jr(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=bn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=bn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Pr(e,n)))),r.viewTo=n}function Wr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||u.to().line0?a:e.defaultCharWidth())+"px"}if(r.other){var s=n.appendChild(F("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Vr(e,t){return e.top-t.top||e.left-t.left}function Zr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Zn(e.display),s=a.left,u=Math.max(r.sizerWidth,Yn(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function l(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(F("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?u-e:n)+"px;\n height: "+(r-t)+"px"))}function p(t,n,r){var o,a,p=Je(i,t),f=p.text.length;function d(n,r){return vr(e,it(t,n),"div",p,r)}function h(t,n,r){var i=Ar(e,p,null,t),o="ltr"==n==("after"==r)?"left":"right";return d("after"==r?i.begin:i.end-(/\s/.test(p.text.charAt(i.end-1))?2:1),o)[o]}var m=fe(p,i.direction);return ue(m,n||0,null==r?f:r,(function(e,t,i,p){var y="ltr"==i,v=d(e,y?"left":"right"),g=d(t-1,y?"right":"left"),_=null==n&&0==e,E=null==r&&t==f,D=0==p,b=!m||p==m.length-1;if(g.top-v.top<=3){var A=(c?E:_)&&b,C=(c?_:E)&&D?s:(y?v:g).left,k=A?u:(y?g:v).right;l(C,v.top,k-C,v.bottom)}else{var x,w,S,F;y?(x=c&&_&&D?s:v.left,w=c?u:h(e,i,"before"),S=c?s:h(t,i,"after"),F=c&&E&&b?u:g.right):(x=c?h(e,i,"before"):s,w=!c&&_&&D?u:v.right,S=!c&&E&&b?s:g.left,F=c?h(t,i,"after"):u),l(x,v.top,w-x,v.bottom),v.bottom0?t.blinker=setInterval((function(){e.hasFocus()||Xr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Yr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Jr(e))}function Kr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Xr(e))}),100)}function Jr(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ve(e,"focus",e,t),e.state.focused=!0,O(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),u&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Ur(e))}function Xr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ve(e,"blur",e,t),e.state.focused=!1,x(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Qr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,u=0;u.005||m<-.005)&&(ie.display.sizerWidth){var v=Math.ceil(f/Fr(e.display));v>e.display.maxLineLength&&(e.display.maxLineLength=v,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function $r(e){if(e.widgets)for(var t=0;t=a&&(o=tt(t,on(Je(t,u))-e.wrapper.clientHeight),a=u)}return{from:o,to:Math.max(a,o+1)}}function ti(e,t){if(!ge(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=F("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-zn(e.display))+"px;\n height: "+(t.bottom-t.top+Un(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ni(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?it(t.line,t.ch+1,"before"):t,t=t.ch?it(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,s=gr(e,t),u=n&&n!=t?gr(e,n):s,c=ii(e,i={left:Math.min(s.left,u.left),top:Math.min(s.top,u.top)-r,right:Math.max(s.left,u.left),bottom:Math.max(s.bottom,u.bottom)+r}),l=e.doc.scrollTop,p=e.doc.scrollLeft;if(null!=c.scrollTop&&(pi(e,c.scrollTop),Math.abs(e.doc.scrollTop-l)>1&&(a=!0)),null!=c.scrollLeft&&(di(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-p)>1&&(a=!0)),!a)break}return i}function ri(e,t){var n=ii(e,t);null!=n.scrollTop&&pi(e,n.scrollTop),null!=n.scrollLeft&&di(e,n.scrollLeft)}function ii(e,t){var n=e.display,r=Sr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Kn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Vn(n),u=t.tops-r;if(t.topi+o){var l=Math.min(t.top,(c?s:t.bottom)-o);l!=i&&(a.scrollTop=l)}var p=e.options.fixedGutter?0:n.gutters.offsetWidth,f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-p,d=Yn(e)-n.gutters.offsetWidth,h=t.right-t.left>d;return h&&(t.right=t.left+d),t.left<10?a.scrollLeft=0:t.leftd+f-3&&(a.scrollLeft=t.right+(h?0:10)-d),a}function oi(e,t){null!=t&&(ci(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ai(e){ci(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function si(e,t,n){null==t&&null==n||ci(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function ui(e,t){ci(e),e.curOp.scrollToPos=t}function ci(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,li(e,_r(e,t.from),_r(e,t.to),t.margin))}function li(e,t,n,r){var i=ii(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});si(e,i.scrollLeft,i.scrollTop)}function pi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Gi(e,{top:t}),fi(e,t,!0),n&&Gi(e),Mi(e,100))}function fi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function di(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Zi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function hi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Vn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Un(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var mi=function(e,t,n){this.cm=n;var r=this.vert=F("div",[F("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=F("div",[F("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),he(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),he(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};mi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},mi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},mi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},mi.prototype.zeroWidthHack=function(){var e=g&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new L,this.disableVert=new L},mi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},mi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var yi=function(){};function vi(e,t){t||(t=hi(e));var n=e.display.barWidth,r=e.display.barHeight;gi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Qr(e),gi(e,hi(e)),n=e.display.barWidth,r=e.display.barHeight}function gi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}yi.prototype.update=function(){return{bottom:0,right:0}},yi.prototype.setScrollLeft=function(){},yi.prototype.setScrollTop=function(){},yi.prototype.clear=function(){};var _i={native:mi,null:yi};function Ei(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&x(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new _i[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),he(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?di(e,t):pi(e,t)}),e),e.display.scrollbars.addClass&&O(e.display.wrapper,e.display.scrollbars.addClass)}var Di=0;function bi(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Di,markArrays:null},Cn(e.curOp)}function Ai(e){var t=e.curOp;t&&xn(t,(function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ii(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function xi(e){e.updatedDisplay=e.mustUpdate&&ji(e.cm,e.update)}function wi(e){var t=e.cm,n=t.display;e.updatedDisplay&&Qr(t),e.barMeasure=hi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=$n(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Un(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Yn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Si(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=gt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ze(t.mode,r.state):null,u=yt(e,o,r,!0);s&&(r.state=s),o.styles=u.styles;var c=o.styleClasses,l=u.classes;l?o.styleClasses=l:c&&(o.styleClasses=null);for(var p=!a||a.length!=o.styles.length||c!=l&&(!c||!l||c.bgClass!=l.bgClass||c.textClass!=l.textClass),f=0;!p&&fn)return Mi(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Ti(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Wr(e))return!1;Ui(e)&&(Rr(e),t.dims=Tr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ft&&(o=en(e.doc,o),a=tn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;jr(e,o,a),n.viewOffset=on(Je(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var u=Wr(e);if(!s&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Ri(e);return u>4&&(n.lineDiv.style.display="none"),Hi(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Li(c),w(n.cursorDiv),w(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,Mi(e,400)),n.updateLineNumbers=null,!0}function Wi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Yn(e))r&&(t.visible=ei(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Vn(e.display)-Kn(e),n.top)}),t.visible=ei(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ji(e,t))break;Qr(e);var i=hi(e);Gr(e),vi(e,i),Vi(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Gi(e,t){var n=new Ii(e,t);if(ji(e,n)){Qr(e),Wi(e,n);var r=hi(e);Gr(e),vi(e,r),Vi(e,r),n.finish()}}function Hi(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return u&&g&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,l=r.viewFrom,p=0;p-1&&(d=!1),Tn(e,f,l,n)),d&&(w(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(rt(e.options,l)))),a=f.node.nextSibling}else{var h=Rn(e,f,l,n);o.insertBefore(h,a)}l+=f.size}for(;a;)a=s(a)}function zi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Sn(e,"gutterChanged",e)}function Vi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Un(e)+"px"}function Zi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Br(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;ac.clientWidth,f=c.scrollHeight>c.clientHeight;if(i&&l||o&&f){if(o&&g&&u)e:for(var d=t.target,h=s.view;d!=c;d=d.parentNode)for(var m=0;m=0&&ot(e,r.to())<=0)return n}return-1};var io=function(e,t){this.anchor=e,this.head=t};function oo(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return ot(e.from(),t.from())})),n=j(t,i);for(var o=1;o0:u>=0){var c=ct(s.from(),a.from()),l=ut(s.to(),a.to()),p=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new io(p?l:c,p?c:l))}}return new ro(t,n)}function ao(e,t){return new ro([new io(e,t||e)],0)}function so(e){return e.text?it(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function uo(e,t){if(ot(e,t.from)<0)return e;if(ot(e,t.to)<=0)return so(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=so(t).ch-t.to.ch),it(n,r)}function co(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,h-1),e.insert(s.line+1,v)}Sn(e,"change",e,t)}function vo(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}function ko(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Co(i,i.lastOp==r)))a=K(o.changes),0==ot(t.from,t.to)&&0==ot(t.from,a.to)?a.to=so(t):o.changes.push(bo(e,t));else{var u=K(i.done);for(u&&u.ranges||So(e.sel,i.done),o={changes:[bo(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||ve(e,"historyAdded")}function xo(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function wo(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||xo(e,o,K(i.done),t))?i.done[i.done.length-1]=t:So(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Ao(i.undone)}function So(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Fo(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function To(e){if(!e)return null;for(var t,n=0;n-1&&(K(s)[p]=c[p],delete c[p])}}}return r}function Mo(e,t,n,r){if(r){var i=e.anchor;if(n){var o=ot(t,i)<0;o!=ot(n,i)<0?(i=t,t=n):o!=ot(t,n)<0&&(t=n)}return new io(i,t)}return new io(n||t,t)}function Po(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Wo(e,new ro([Mo(e.sel.primary(),t,n,i)],0),r)}function Io(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(ve(u,"beforeCursorEnter"),u.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!u.atomic)continue;if(n){var p=u.find(r<0?1:-1),f=void 0;if((r<0?l:c)&&(p=Yo(e,p,-r,p&&p.line==t.line?o:null)),p&&p.line==t.line&&(f=ot(p,n))&&(r<0?f<0:f>0))return Zo(e,p,t,r,i)}var d=u.find(r<0?-1:1);return(r<0?c:l)&&(d=Yo(e,d,r,d.line==t.line?o:null)),d?Zo(e,d,t,r,i):null}}return t}function Uo(e,t,n,r,i){var o=r||1,a=Zo(e,t,n,o,i)||!i&&Zo(e,t,n,o,!0)||Zo(e,t,n,-o,i)||!i&&Zo(e,t,n,-o,!0);return a||(e.cantEdit=!0,it(e.first,0))}function Yo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?pt(e,it(t.line-1)):null:n>0&&t.ch==(r||Je(e,t.line)).text.length?t.line=0;--i)Qo(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Qo(e,t)}}function Qo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ot(t.from,t.to)){var n=co(e,t);ko(e,t,n,e.cm?e.cm.curOp.id:NaN),ta(e,t,n,Rt(e,t));var r=[];vo(e,(function(e,n){n||-1!=j(r,e.history)||(aa(e.history,t),r.push(e.history)),ta(e,t,null,Rt(e,t))}))}}function $o(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,u="undo"==t?o.undone:o.done,c=0;c=0;--d){var h=f(d);if(h)return h.v}}}}function ea(e,t){if(0!=t&&(e.first+=t,e.sel=new ro(J(e.sel.ranges,(function(e){return new io(it(e.anchor.line+t,e.anchor.ch),it(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Ir(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:it(o,Je(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Xe(e,t.from,t.to),n||(n=co(e,t)),e.cm?na(e.cm,t,r):yo(e,t,r),Go(e,n,H),e.cantEdit&&Uo(e,it(e.firstLine(),0))&&(e.cantEdit=!1)}}function na(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,u=o.line;e.options.lineWrapping||(u=et(Xt(Je(r,o.line))),r.iter(u,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&_e(e),yo(r,t,n,qr(e)),e.options.lineWrapping||(r.iter(u,o.line+t.text.length,(function(e){var t=an(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),wt(r,o.line),Mi(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Ir(e):o.line!=a.line||1!=t.text.length||mo(e.doc,t)?Ir(e,o.line,a.line+1,c):Nr(e,o.line,"text");var l=Ee(e,"changes"),p=Ee(e,"change");if(p||l){var f={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};p&&Sn(e,"change",e,f),l&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}function ra(e,t,n,r,i){var o;r||(r=n),ot(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Xo(e,{from:n,to:r,text:t,origin:i})}function ia(e,t,n,r){n1||!(this.children[0]instanceof ua))){var s=[];this.collapse(s),this.children=[new ua(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=T("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Jt(e,t.line,t,n,o)||t.line!=n.line&&Jt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Bt()}o.addToHistory&&ko(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,u=t.line,c=e.cm;if(e.iter(u,n.line+1,(function(r){c&&o.collapsed&&!c.options.lineWrapping&&Xt(r)==c.display.maxLine&&(s=!0),o.collapsed&&u!=t.line&&$e(r,0),Pt(r,new qt(o,u==t.line?t.ch:null,u==n.line?n.ch:null),e.cm&&e.cm.curOp),++u})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){nn(e,t)&&$e(t,0)})),o.clearOnEnter&&he(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Tt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++da,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Ir(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var l=t.line;l<=n.line;l++)Nr(c,l,"text");o.atomic&&zo(c.doc),Sn(c,"markerAdded",c,o)}return o}ha.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&bi(e),Ee(this,"clear")){var n=this.find();n&&Sn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=l,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Ir(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&zo(e.doc)),e&&Sn(e,"markerCleared",e,this,r,i),t&&Ai(e),this.parent&&this.parent.clear()}},ha.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;u--)Xo(this,r[u]);s?jo(this,s):this.cm&&ai(this.cm)})),undo:Oi((function(){$o(this,"undo")})),redo:Oi((function(){$o(this,"redo")})),undoSelection:Oi((function(){$o(this,"undo",!0)})),redoSelection:Oi((function(){$o(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=pt(this,e),t=pt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=u.to||null==u.from&&i!=e.line||null!=u.from&&i==t.line&&u.from>=t.ch||n&&!n(u.marker)||r.push(u.marker.parent||u.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n})),pt(this,it(n,t))},indexFromPos:function(e){var t=(e=pt(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var p=e.dataTransfer.getData("Text");if(p){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),Go(t.doc,ao(n,n)),f)for(var d=0;d=0;t--)ra(e.doc,"",r[t].from,r[t].to,"+delete");ai(e)}))}function Za(e,t,n){var r=ae(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Ua(e,t,n){var r=Za(e,t.ch,n);return null==r?null:new it(t.line,r,n<0?"after":"before")}function Ya(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=fe(n,t.doc.direction);if(o){var a,s=i<0?K(o):o[0],u=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=tr(t,n);a=i<0?n.text.length-1:0;var l=nr(t,c,a).top;a=se((function(e){return nr(t,c,e).top==l}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==u&&(a=Za(n,a,1))}else a=i<0?s.to:s.from;return new it(r,a,u)}}return new it(r,i<0?n.text.length:0,i<0?"before":"after")}function Ka(e,t,n,r){var i=fe(t,e.doc.direction);if(!i)return Ua(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=le(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&f>=l.begin)){var d=p?"before":"after";return new it(n.line,f,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new it(n.line,u(e,1),"before"):new it(n.line,e,"after")};e>=0&&e0==(1!=a.level),c=s?r.begin:u(r.end,-1);if(a.from<=c&&c0?l.end:u(l.begin,-1);return null==y||r>0&&y==t.text.length||!(m=h(r>0?0:i.length-1,r,c(y)))?null:m}Na.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Na.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Na.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Na.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Na.default=g?Na.macDefault:Na.pcDefault;var Ja={selectAll:Ko,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H)},killLine:function(e){return Va(e,(function(t){if(t.empty()){var n=Je(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new it(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),it(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Je(e.doc,i.line-1).text;a&&(i=new it(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),it(i.line-1,a.length-1),i,"+transpose"))}n.push(new io(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ti(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(ot((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ot(i.to(),t)>0||t.xRel<0)?Ds(e,r,t,o):As(e,r,t,o)}function Ds(e,t,n,r){var i=e.display,o=!1,c=Bi(e,(function(t){u&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Kr(e)),ye(i.wrapper.ownerDocument,"mouseup",c),ye(i.wrapper.ownerDocument,"mousemove",l),ye(i.scroller,"dragstart",p),ye(i.scroller,"drop",c),o||(be(t),r.addNew||Po(e.doc,n,null,null,r.extend),u&&!f||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),l=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},p=function(){return o=!0};u&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,he(i.wrapper.ownerDocument,"mouseup",c),he(i.wrapper.ownerDocument,"mousemove",l),he(i.scroller,"dragstart",p),he(i.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}function bs(e,t,n){if("char"==n)return new io(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new io(it(t.line,0),pt(e.doc,it(t.line+1,0)));var r=n(e,t);return new io(r.from,r.to)}function As(e,t,n,r){a&&Kr(e);var i=e.display,o=e.doc;be(t);var s,u,c=o.sel,l=c.ranges;if(r.addNew&&!r.extend?(u=o.sel.contains(n),s=u>-1?l[u]:new io(n,n)):(s=o.sel.primary(),u=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new io(n,n)),n=Mr(e,t,!0,!0),u=-1;else{var p=bs(e,n,r.unit);s=r.extend?Mo(s,p.anchor,p.head,r.extend):p}r.addNew?-1==u?(u=l.length,Wo(o,oo(e,l.concat([s]),u),{scroll:!1,origin:"*mouse"})):l.length>1&&l[u].empty()&&"char"==r.unit&&!r.extend?(Wo(o,oo(e,l.slice(0,u).concat(l.slice(u+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):No(o,u,s,z):(u=0,Wo(o,new ro([s],0),z),c=o.sel);var f=n;function d(t){if(0!=ot(f,t))if(f=t,"rectangle"==r.unit){for(var i=[],a=e.options.tabSize,l=R(Je(o,n.line).text,n.ch,a),p=R(Je(o,t.line).text,t.ch,a),d=Math.min(l,p),h=Math.max(l,p),m=Math.min(n.line,t.line),y=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=y;m++){var v=Je(o,m).text,g=Z(v,d,a);d==h?i.push(new io(it(m,g),it(m,g))):v.length>g&&i.push(new io(it(m,g),it(m,Z(v,h,a))))}i.length||i.push(new io(n,n)),Wo(o,oo(e,c.ranges.slice(0,u).concat(i),u),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var _,E=s,D=bs(e,t,r.unit),b=E.anchor;ot(D.anchor,b)>0?(_=D.head,b=ct(E.from(),D.anchor)):(_=D.anchor,b=ut(E.to(),D.head));var A=c.ranges.slice(0);A[u]=Cs(e,new io(pt(o,b),_)),Wo(o,oo(e,A,u),z)}}var h=i.wrapper.getBoundingClientRect(),m=0;function y(t){var n=++m,a=Mr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=ot(a,f)){e.curOp.focus=q(),d(a);var s=ei(i,o);(a.line>=s.to||a.lineh.bottom?20:0;u&&setTimeout(Bi(e,(function(){m==n&&(i.scroller.scrollTop+=u,y(t))})),50)}}function v(t){e.state.selectingText=!1,m=1/0,t&&(be(t),i.input.focus()),ye(i.wrapper.ownerDocument,"mousemove",g),ye(i.wrapper.ownerDocument,"mouseup",_),o.history.lastSelOrigin=null}var g=Bi(e,(function(e){0!==e.buttons&&we(e)?y(e):v(e)})),_=Bi(e,v);e.state.selectingText=_,he(i.wrapper.ownerDocument,"mousemove",g),he(i.wrapper.ownerDocument,"mouseup",_)}function Cs(e,t){var n=t.anchor,r=t.head,i=Je(e.doc,n.line);if(0==ot(n,r)&&n.sticky==r.sticky)return t;var o=fe(i);if(!o)return t;var a=le(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var u,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)u=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var l=le(o,r.ch,r.sticky),p=l-a||(r.ch-n.ch)*(1==s.level?-1:1);u=l==c-1||l==c?p<0:p>0}var f=o[c+(u?-1:0)],d=u==(1==f.level),h=d?f.from:f.to,m=d?"after":"before";return n.ch==h&&n.sticky==m?t:new io(new it(n.line,h,m),r)}function ks(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(l){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Ee(e,n))return Ce(t);o-=s.top-a.viewOffset;for(var u=0;u=i)return ve(e,n,e,tt(e.doc,o),e.display.gutterSpecs[u].className,t),Ce(t)}}function xs(e,t){return ks(e,t,"gutterClick",!0)}function ws(e,t){Hn(e.display,t)||Ss(e,t)||ge(e,t,"contextmenu")||A||e.display.input.onContextMenu(t)}function Ss(e,t){return!!Ee(e,"gutterContextMenu")&&ks(e,t,"gutterContextMenu",!1)}function Fs(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),pr(e)}ms.prototype.compare=function(e,t,n){return this.time+hs>e&&0==ot(t,this.pos)&&n==this.button};var Ts={toString:function(){return"CodeMirror.Init"}},Bs={},qs={};function Os(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Ts&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Ts,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,fo(e)}),!0),n("indentUnit",2,fo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){ho(e),pr(e),Ir(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(it(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ra(e.doc,t,n[i],it(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ts&&e.refresh()})),n("specialCharPlaceholder",mn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",v?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!E),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Fs(e),Ji(e)}),!0),n("keyMap","default",(function(e,t,n){var r=za(t),i=n!=Ts&&za(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Ps,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Yi(t,e.options.lineNumbers),Ji(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Br(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return vi(e)}),!0),n("scrollbarStyle","native",(function(e){Ei(e),vi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Yi(e.options.gutters,t),Ji(e)}),!0),n("firstLineNumber",1,Ji,!0),n("lineNumberFormatter",(function(e){return e}),Ji,!0),n("showCursorWhenSelecting",!1,Gr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Xr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Ms),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Gr,!0),n("singleCursorHeightPerLine",!0,Gr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,ho,!0),n("addModeClass",!1,ho,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,ho,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function Ms(e,t,n){if(!t!=!(n&&n!=Ts)){var r=e.display.dragFunctions,i=t?he:ye;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function Ps(e){e.options.lineWrapping?(O(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(x(e.display.wrapper,"CodeMirror-wrap"),sn(e)),Or(e),Ir(e),pr(e),setTimeout((function(){return vi(e)}),100)}function Is(e,t){var n=this;if(!(this instanceof Is))return new Is(e,t);this.options=t=t?N(t):{},N(Bs,t,!1);var r=t.value;"string"==typeof r?r=new ba(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Is.inputStyles[t.inputStyle](this),o=this.display=new Xi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Fs(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ei(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new L,keySeq:null,specialChars:null},t.autofocus&&!v&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Ns(this),Ta(),bi(this),this.curOp.forceUpdate=!0,go(this,r),t.autofocus&&!v||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Jr(n)}),20):Xr(this),qs)qs.hasOwnProperty(c)&&qs[c](this,t[c],Ts);Ui(this),t.finishInit&&t.finishInit(this);for(var l=0;l400}he(t.scroller,"touchstart",(function(i){if(!ge(e,i)&&!o(i)&&!xs(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),he(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),he(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Hn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||u(r,r.prev)?new io(a,a):!r.prev.prev||u(r,r.prev.prev)?e.findWordAt(a):new io(it(a.line,0),pt(e.doc,it(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),be(n)}i()})),he(t.scroller,"touchcancel",i),he(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(pi(e,t.scroller.scrollTop),di(e,t.scroller.scrollLeft,!0),ve(e,"scroll",e))})),he(t.scroller,"mousewheel",(function(t){return no(e,t)})),he(t.scroller,"DOMMouseScroll",(function(t){return no(e,t)})),he(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ge(e,t)||ke(t)},over:function(t){ge(e,t)||(xa(e,t),ke(t))},start:function(t){return ka(e,t)},drop:Bi(e,Ca),leave:function(t){ge(e,t)||wa(e)}};var c=t.input.getField();he(c,"keyup",(function(t){return ls.call(e,t)})),he(c,"keydown",Bi(e,us)),he(c,"keypress",Bi(e,ps)),he(c,"focus",(function(t){return Jr(e,t)})),he(c,"blur",(function(t){return Xr(e,t)}))}Is.defaults=Bs,Is.optionHandlers=qs;var Rs=[];function Ls(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=gt(e,t).state:n="prev");var a=e.options.tabSize,s=Je(o,t),u=R(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,l=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(l.length),s.text))==G||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?R(Je(o,t-1).text,null,a):0:"add"==n?c=u+e.options.indentUnit:"subtract"==n?c=u-e.options.indentUnit:"number"==typeof n&&(c=u+n),c=Math.max(0,c);var p="",f=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)f+=a,p+="\t";if(fa,u=Oe(t),c=null;if(s&&r.ranges.length>1)if(js&&js.text.join("\n")==t){if(r.ranges.length%js.text.length==0){c=[];for(var l=0;l=0;f--){var d=r.ranges[f],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=it(h.line,h.ch-n):e.state.overwrite&&!s?m=it(m.line,Math.min(Je(o,m.line).text.length,m.ch+K(u).length)):s&&js&&js.lineWise&&js.text.join("\n")==u.join("\n")&&(h=m=it(h.line,0)));var y={from:h,to:m,text:c?c[f%c.length]:u,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Xo(e.doc,y),Sn(e,"inputRead",e,y)}t&&!s&&zs(e,t),ai(e),e.curOp.updateInput<2&&(e.curOp.updateInput=p),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Hs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Ti(t,(function(){return Gs(t,n,0,null,"paste")})),!0}function zs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Ls(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Je(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Ls(e,i.head.line,"smart"));a&&Sn(e,"electricInput",e,i.head.line)}}}function Vs(e){for(var t=[],n=[],r=0;rn&&(Ls(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&ai(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var u=s;u0&&No(this.doc,r,new io(o,c[r].to()),H)}}})),getTokenAt:function(e,t){return At(this,e,t)},getLineTokens:function(e,t){return At(this,it(e),t,!0)},getTokenTypeAt:function(e){e=pt(this.doc,e);var t,n=vt(this,Je(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=Je(this.doc,e)}else r=e;return mr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-on(r):0)},defaultTextHeight:function(){return Sr(this.display)},defaultCharWidth:function(){return Fr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=gr(this,pt(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var u=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>u)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=u&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&ri(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:qi(us),triggerOnKeyPress:qi(ps),triggerOnKeyUp:ls,triggerOnMouseDown:qi(vs),execCommand:function(e){if(Ja.hasOwnProperty(e))return Ja[e].call(null,this)},triggerElectric:qi((function(e){zs(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=pt(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;r.5||this.options.lineWrapping)&&Or(this),ve(this,"refresh",this)})),swapDoc:qi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),go(this,e),pr(this),this.display.input.reset(),si(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Sn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},De(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function Ks(e,t,n,r,i){var o=t,a=n,s=Je(e,t.line),u=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+u;return!(n=e.first+e.size)&&(t=new it(n,t.ch,t.sticky),s=Je(e,n))}function l(o){var a;if("codepoint"==r){var l=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(l))a=null;else{var p=n>0?l>=55296&&l<56320:l>=56320&&l<57343;a=new it(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(p?2:1))),-n)}}else a=i?Ka(e.cm,s,t,n):Ua(s,t,n);if(null==a){if(o||!c())return!1;t=Ya(i,e.cm,s,t.line,u)}else t=a;return!0}if("char"==r||"codepoint"==r)l();else if("column"==r)l(!0);else if("word"==r||"group"==r)for(var p=null,f="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;!(n<0)||l(!h);h=!1){var m=s.text.charAt(t.ch)||"\n",y=ne(m,d)?"w":f&&"\n"==m?"n":!f||/\s/.test(m)?null:"p";if(!f||h||y||(y="s"),p&&p!=y){n<0&&(n=1,l(),t.sticky="after");break}if(y&&(p=y),n>0&&!l(!h))break}var v=Uo(e,t,o,a,!0);return at(o,v)&&(v.hitSide=!0),v}function Js(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var u=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(u-.5*Sr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Dr(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Xs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new L,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Qs(e,t){var n=er(e,t.line);if(!n||n.hidden)return null;var r=Je(e.doc,t.line),i=Xn(n,r,t.line),o=fe(r,e.doc.direction),a="left";o&&(a=le(o,t.ch)%2?"right":"left");var s=or(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function $s(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function eu(e,t){return t&&(e.bad=!0),e}function tu(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),u=!1;function c(e){return function(t){return t.id==e}}function l(){a&&(o+=s,u&&(o+=s),a=u=!1)}function p(e){e&&(l(),o+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void p(n);var o,d=t.getAttribute("cm-marker");if(d){var h=e.findMarks(it(r,0),it(i+1,0),c(+d));return void(h.length&&(o=h[0].find(0))&&p(Xe(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&l();for(var y=0;y=t.display.viewTo||o.line=t.display.viewFrom&&Qs(t,i)||{node:u[0].measure.map[2],offset:0},l=o.liner.firstLine()&&(a=it(a.line-1,Je(r.doc,a.line-1).length)),s.ch==Je(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Pr(r,a.line))?(t=et(i.view[0].line),n=i.view[0].node):(t=et(i.view[e].line),n=i.view[e-1].node.nextSibling);var u,c,l=Pr(r,s.line);if(l==i.view.length-1?(u=i.viewTo-1,c=i.lineDiv.lastChild):(u=et(i.view[l+1].line)-1,c=i.view[l+1].node.previousSibling),!n)return!1;for(var p=r.doc.splitLines(tu(r,n,c,t,u)),f=Xe(r.doc,it(t,0),it(u,Je(r.doc,u).text.length));p.length>1&&f.length>1;)if(K(p)==K(f))p.pop(),f.pop(),u--;else{if(p[0]!=f[0])break;p.shift(),f.shift(),t++}for(var d=0,h=0,m=p[0],y=f[0],v=Math.min(m.length,y.length);da.ch&&g.charCodeAt(g.length-h-1)==_.charCodeAt(_.length-h-1);)d--,h++;p[p.length-1]=g.slice(0,g.length-h).replace(/^\u200b+/,""),p[0]=p[0].slice(d).replace(/\u200b+$/,"");var D=it(t,d),b=it(u,f.length?K(f).length-h:0);return p.length>1||p[0]||ot(D,b)?(ra(r.doc,p,D,b,"+input"),!0):void 0},Xs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Xs.prototype.reset=function(){this.forceCompositionEnd()},Xs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Xs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Xs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ti(this.cm,(function(){return Ir(e.cm)}))},Xs.prototype.setUneditable=function(e){e.contentEditable="false"},Xs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Bi(this.cm,Gs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Xs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Xs.prototype.onContextMenu=function(){},Xs.prototype.resetPosition=function(){},Xs.prototype.needsContentAttribute=!0;var iu=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new L,this.hasSelection=!1,this.composing=null};function ou(e,t){if((t=t?N(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=q();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(he(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(u){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(ye(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Is((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function au(e){e.off=ye,e.on=he,e.wheelEventPixels=to,e.Doc=ba,e.splitLines=Oe,e.countColumn=R,e.findColumn=Z,e.isWordChar=te,e.Pass=G,e.signal=ve,e.Line=un,e.changeEnd=so,e.scrollbarModel=_i,e.Pos=it,e.cmpPos=ot,e.modes=Re,e.mimeModes=Le,e.resolveMode=Ge,e.getMode=He,e.modeExtensions=ze,e.extendMode=Ve,e.copyState=Ze,e.startState=Ye,e.innerMode=Ue,e.commands=Ja,e.keyMap=Na,e.keyName=Ha,e.isModifierKey=Wa,e.lookupKey=ja,e.normalizeKeyMap=La,e.StringStream=Ke,e.SharedTextMarker=ya,e.TextMarker=ha,e.LineWidget=la,e.e_preventDefault=be,e.e_stopPropagation=Ae,e.e_stop=ke,e.addClass=O,e.contains=B,e.rmClass=x,e.keyNames=Oa}iu.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ge(r,e)){if(r.somethingSelected())Ws({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Vs(r);Ws({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,H):(n.prevInput="",i.value=t.text.join("\n"),P(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width="0px"),he(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),he(i,"paste",(function(e){ge(r,e)||Hs(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),he(i,"cut",o),he(i,"copy",o),he(e.scroller,"paste",(function(t){if(!Hn(e,t)&&!ge(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),he(e.lineSpace,"selectstart",(function(t){Hn(e,t)||be(t)})),he(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),he(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},iu.prototype.createField=function(e){this.wrapper=Us(),this.textarea=this.wrapper.firstChild},iu.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},iu.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Hr(e);if(e.options.moveInputWithCursor){var i=gr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},iu.prototype.showSelection=function(e){var t=this.cm.display;S(t.cursorDiv,e.cursors),S(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},iu.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&P(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},iu.prototype.getField=function(){return this.textarea},iu.prototype.supportsTouch=function(){return!1},iu.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||q()!=this.textarea))try{this.textarea.focus()}catch(e){}},iu.prototype.blur=function(){this.textarea.blur()},iu.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},iu.prototype.receivedFocus=function(){this.slowPoll()},iu.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},iu.prototype.fastPoll=function(){var e=!1,t=this;function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},iu.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Me(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||g&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var u=0,c=Math.min(r.length,i.length);u1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},iu.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},iu.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},iu.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Mr(n,e),c=r.scroller.scrollTop;if(o&&!p){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&Bi(n,Wo)(n.doc,ao(o),H);var l,f=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",u&&(l=window.scrollY),r.input.focus(),u&&window.scrollTo(null,l),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&m(),A?(ke(e),he(window,"mouseup",(function e(){ye(window,"mouseup",e),setTimeout(y,20)}))):setTimeout(y,50)}function m(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?i.value:"");i.value="\u21da",i.value=o,t.prevInput=e?"":"\u200b",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&m();var e=0,o=function o(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"\u200b"==t.prevInput?Bi(n,Ko)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},iu.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},iu.prototype.setUneditable=function(){},iu.prototype.needsContentAttribute=!1,Os(Is),Ys(Is);var su="iter insert remove copy getEditor constructor".split(" ");for(var uu in ba.prototype)ba.prototype.hasOwnProperty(uu)&&j(su,uu)<0&&(Is.prototype[uu]=function(e){return function(){return e.apply(this.doc,arguments)}}(ba.prototype[uu]));return De(ba),Is.inputStyles={textarea:iu,contenteditable:Xs},Is.defineMode=function(e){Is.defaults.mode||"null"==e||(Is.defaults.mode=e),je.apply(this,arguments)},Is.defineMIME=We,Is.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Is.defineMIME("text/plain","null"),Is.defineExtension=function(e,t){Is.prototype[e]=t},Is.defineDocExtension=function(e,t){ba.prototype[e]=t},Is.fromTextArea=ou,au(Is),Is.version="5.65.2",Is}()},5683:function(e,t,n){!function(e){"use strict";e.defineMode("javascript",(function(t,n){var r,i,o=t.indentUnit,a=n.statementIndent,s=n.jsonld,u=n.json||s,c=!1!==n.trackScope,l=n.typescript,p=n.wordCharacters||/[\w$\xa1-\uffff]/,f=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:r,void:r,throw:r,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function m(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}function y(e,t,n){return r=e,i=n,t}function v(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=g(n),t.tokenize(e,t);if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return y("number","number");if("."==n&&e.match(".."))return y("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return y(n);if("="==n&&e.eat(">"))return y("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return y("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),y("number","number");if("/"==n)return e.eat("*")?(t.tokenize=_,_(e,t)):e.eat("/")?(e.skipToEnd(),y("comment","comment")):it(e,t,1)?(m(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),y("regexp","string-2")):(e.eat("="),y("operator","operator",e.current()));if("`"==n)return t.tokenize=E,E(e,t);if("#"==n&&"!"==e.peek())return e.skipToEnd(),y("meta","meta");if("#"==n&&e.eatWhile(p))return y("variable","property");if("<"==n&&e.match("!--")||"-"==n&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),y("comment","comment");if(d.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-|&?]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),"?"==n&&e.eat(".")?y("."):y("operator","operator",e.current());if(p.test(n)){e.eatWhile(p);var r=e.current();if("."!=t.lastType){if(f.propertyIsEnumerable(r)){var i=f[r];return y(i.type,i.style,r)}if("async"==r&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return y("async","keyword",r)}return y("variable","variable",r)}}function g(e){return function(t,n){var r,i=!1;if(s&&"@"==t.peek()&&t.match(h))return n.tokenize=v,y("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(n.tokenize=v),y("string","string")}}function _(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=v;break}r="*"==n}return y("comment","comment")}function E(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=v;break}r=!r&&"\\"==n}return y("quasi","string-2",e.current())}var D="([{}])";function b(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(l){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),u=D.indexOf(s);if(u>=0&&u<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(u>=3&&u<6)++i;else if(p.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var A={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function C(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function k(e,t){if(!c)return!1;for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function x(e,t,n,r,i){var o=e.cc;for(w.state=e,w.stream=i,w.marked=null,w.cc=o,w.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():u?V:H)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return w.marked?w.marked:"variable"==n&&k(e,r)?"variable-2":t}}var w={state:null,column:null,marked:null,cc:null};function S(){for(var e=arguments.length-1;e>=0;e--)w.cc.push(arguments[e])}function F(){return S.apply(null,arguments),!0}function T(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function B(e){var t=w.state;if(w.marked="def",c){if(t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=q(e,t.context);if(null!=r)return void(t.context=r)}else if(!T(e,t.localVars))return void(t.localVars=new P(e,t.localVars));n.globalVars&&!T(e,t.globalVars)&&(t.globalVars=new P(e,t.globalVars))}}function q(e,t){if(t){if(t.block){var n=q(e,t.prev);return n?n==t.prev?t:new M(n,t.vars,!0):null}return T(e,t.vars)?t:new M(t.prev,new P(e,t.vars),!1)}return null}function O(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function M(e,t,n){this.prev=e,this.vars=t,this.block=n}function P(e,t){this.name=e,this.next=t}var I=new P("this",new P("arguments",null));function N(){w.state.context=new M(w.state.context,w.state.localVars,!1),w.state.localVars=I}function R(){w.state.context=new M(w.state.context,w.state.localVars,!0),w.state.localVars=null}function L(){w.state.localVars=w.state.context.vars,w.state.context=w.state.context.prev}function j(e,t){var n=function(){var n=w.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new C(r,w.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function W(){var e=w.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function G(e){function t(n){return n==e?F():";"==e||"}"==n||")"==n||"]"==n?S():F(t)}return t}function H(e,t){return"var"==e?F(j("vardef",t),Se,G(";"),W):"keyword a"==e?F(j("form"),U,H,W):"keyword b"==e?F(j("form"),H,W):"keyword d"==e?w.stream.match(/^\s*$/,!1)?F():F(j("stat"),K,G(";"),W):"debugger"==e?F(G(";")):"{"==e?F(j("}"),R,fe,W,L):";"==e?F():"if"==e?("else"==w.state.lexical.info&&w.state.cc[w.state.cc.length-1]==W&&w.state.cc.pop()(),F(j("form"),U,H,W,Me)):"function"==e?F(Re):"for"==e?F(j("form"),R,Pe,H,L,W):"class"==e||l&&"interface"==t?(w.marked="keyword",F(j("form","class"==e?e:t),He,W)):"variable"==e?l&&"declare"==t?(w.marked="keyword",F(H)):l&&("module"==t||"enum"==t||"type"==t)&&w.stream.match(/^\s*\w/,!1)?(w.marked="keyword","enum"==t?F(tt):"type"==t?F(je,G("operator"),ve,G(";")):F(j("form"),Fe,G("{"),j("}"),fe,W,W)):l&&"namespace"==t?(w.marked="keyword",F(j("form"),V,H,W)):l&&"abstract"==t?(w.marked="keyword",F(H)):F(j("stat"),oe):"switch"==e?F(j("form"),U,G("{"),j("}","switch"),R,fe,W,W,L):"case"==e?F(V,G(":")):"default"==e?F(G(":")):"catch"==e?F(j("form"),N,z,H,W,L):"export"==e?F(j("stat"),Ue,W):"import"==e?F(j("stat"),Ke,W):"async"==e?F(H):"@"==t?F(V,H):S(j("stat"),V,G(";"),W)}function z(e){if("("==e)return F(We,G(")"))}function V(e,t){return Y(e,t,!1)}function Z(e,t){return Y(e,t,!0)}function U(e){return"("!=e?S():F(j(")"),K,G(")"),W)}function Y(e,t,n){if(w.state.fatArrowAt==w.stream.start){var r=n?te:ee;if("("==e)return F(N,j(")"),le(We,")"),W,G("=>"),r,L);if("variable"==e)return S(N,Fe,G("=>"),r,L)}var i=n?X:J;return A.hasOwnProperty(e)?F(i):"function"==e?F(Re,i):"class"==e||l&&"interface"==t?(w.marked="keyword",F(j("form"),Ge,W)):"keyword c"==e||"async"==e?F(n?Z:V):"("==e?F(j(")"),K,G(")"),W,i):"operator"==e||"spread"==e?F(n?Z:V):"["==e?F(j("]"),et,W,i):"{"==e?pe(se,"}",null,i):"quasi"==e?S(Q,i):"new"==e?F(ne(n)):F()}function K(e){return e.match(/[;\}\)\],]/)?S():S(V)}function J(e,t){return","==e?F(K):X(e,t,!1)}function X(e,t,n){var r=0==n?J:X,i=0==n?V:Z;return"=>"==e?F(N,n?te:ee,L):"operator"==e?/\+\+|--/.test(t)||l&&"!"==t?F(r):l&&"<"==t&&w.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?F(j(">"),le(ve,">"),W,r):"?"==t?F(V,G(":"),i):F(i):"quasi"==e?S(Q,r):";"!=e?"("==e?pe(Z,")","call",r):"."==e?F(ae,r):"["==e?F(j("]"),K,G("]"),W,r):l&&"as"==t?(w.marked="keyword",F(ve,r)):"regexp"==e?(w.state.lastType=w.marked="operator",w.stream.backUp(w.stream.pos-w.stream.start-1),F(i)):void 0:void 0}function Q(e,t){return"quasi"!=e?S():"${"!=t.slice(t.length-2)?F(Q):F(K,$)}function $(e){if("}"==e)return w.marked="string-2",w.state.tokenize=E,F(Q)}function ee(e){return b(w.stream,w.state),S("{"==e?H:V)}function te(e){return b(w.stream,w.state),S("{"==e?H:Z)}function ne(e){return function(t){return"."==t?F(e?ie:re):"variable"==t&&l?F(ke,e?X:J):S(e?Z:V)}}function re(e,t){if("target"==t)return w.marked="keyword",F(J)}function ie(e,t){if("target"==t)return w.marked="keyword",F(X)}function oe(e){return":"==e?F(W,H):S(J,G(";"),W)}function ae(e){if("variable"==e)return w.marked="property",F()}function se(e,t){return"async"==e?(w.marked="property",F(se)):"variable"==e||"keyword"==w.style?(w.marked="property","get"==t||"set"==t?F(ue):(l&&w.state.fatArrowAt==w.stream.start&&(n=w.stream.match(/^\s*:\s*/,!1))&&(w.state.fatArrowAt=w.stream.pos+n[0].length),F(ce))):"number"==e||"string"==e?(w.marked=s?"property":w.style+" property",F(ce)):"jsonld-keyword"==e?F(ce):l&&O(t)?(w.marked="keyword",F(se)):"["==e?F(V,de,G("]"),ce):"spread"==e?F(Z,ce):"*"==t?(w.marked="keyword",F(se)):":"==e?S(ce):void 0;var n}function ue(e){return"variable"!=e?S(ce):(w.marked="property",F(Re))}function ce(e){return":"==e?F(Z):"("==e?S(Re):void 0}function le(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:","==i){var a=w.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),F((function(n,r){return n==t||r==t?S():S(e)}),r)}return i==t||o==t?F():n&&n.indexOf(";")>-1?S(e):F(G(t))}return function(n,i){return n==t||i==t?F():S(e,r)}}function pe(e,t,n){for(var r=3;r"),ve):"quasi"==e?S(De,Ce):void 0}function ge(e){if("=>"==e)return F(ve)}function _e(e){return e.match(/[\}\)\]]/)?F():","==e||";"==e?F(_e):S(Ee,_e)}function Ee(e,t){return"variable"==e||"keyword"==w.style?(w.marked="property",F(Ee)):"?"==t||"number"==e||"string"==e?F(Ee):":"==e?F(ve):"["==e?F(G("variable"),he,G("]"),Ee):"("==e?S(Le,Ee):e.match(/[;\}\)\],]/)?void 0:F()}function De(e,t){return"quasi"!=e?S():"${"!=t.slice(t.length-2)?F(De):F(ve,be)}function be(e){if("}"==e)return w.marked="string-2",w.state.tokenize=E,F(De)}function Ae(e,t){return"variable"==e&&w.stream.match(/^\s*[?:]/,!1)||"?"==t?F(Ae):":"==e?F(ve):"spread"==e?F(Ae):S(ve)}function Ce(e,t){return"<"==t?F(j(">"),le(ve,">"),W,Ce):"|"==t||"."==e||"&"==t?F(ve):"["==e?F(ve,G("]"),Ce):"extends"==t||"implements"==t?(w.marked="keyword",F(ve)):"?"==t?F(ve,G(":"),ve):void 0}function ke(e,t){if("<"==t)return F(j(">"),le(ve,">"),W,Ce)}function xe(){return S(ve,we)}function we(e,t){if("="==t)return F(ve)}function Se(e,t){return"enum"==t?(w.marked="keyword",F(tt)):S(Fe,de,qe,Oe)}function Fe(e,t){return l&&O(t)?(w.marked="keyword",F(Fe)):"variable"==e?(B(t),F()):"spread"==e?F(Fe):"["==e?pe(Be,"]"):"{"==e?pe(Te,"}"):void 0}function Te(e,t){return"variable"!=e||w.stream.match(/^\s*:/,!1)?("variable"==e&&(w.marked="property"),"spread"==e?F(Fe):"}"==e?S():"["==e?F(V,G("]"),G(":"),Te):F(G(":"),Fe,qe)):(B(t),F(qe))}function Be(){return S(Fe,qe)}function qe(e,t){if("="==t)return F(Z)}function Oe(e){if(","==e)return F(Se)}function Me(e,t){if("keyword b"==e&&"else"==t)return F(j("form","else"),H,W)}function Pe(e,t){return"await"==t?F(Pe):"("==e?F(j(")"),Ie,W):void 0}function Ie(e){return"var"==e?F(Se,Ne):"variable"==e?F(Ne):S(Ne)}function Ne(e,t){return")"==e?F():";"==e?F(Ne):"in"==t||"of"==t?(w.marked="keyword",F(V,Ne)):S(V,Ne)}function Re(e,t){return"*"==t?(w.marked="keyword",F(Re)):"variable"==e?(B(t),F(Re)):"("==e?F(N,j(")"),le(We,")"),W,me,H,L):l&&"<"==t?F(j(">"),le(xe,">"),W,Re):void 0}function Le(e,t){return"*"==t?(w.marked="keyword",F(Le)):"variable"==e?(B(t),F(Le)):"("==e?F(N,j(")"),le(We,")"),W,me,L):l&&"<"==t?F(j(">"),le(xe,">"),W,Le):void 0}function je(e,t){return"keyword"==e||"variable"==e?(w.marked="type",F(je)):"<"==t?F(j(">"),le(xe,">"),W):void 0}function We(e,t){return"@"==t&&F(V,We),"spread"==e?F(We):l&&O(t)?(w.marked="keyword",F(We)):l&&"this"==e?F(de,qe):S(Fe,de,qe)}function Ge(e,t){return"variable"==e?He(e,t):ze(e,t)}function He(e,t){if("variable"==e)return B(t),F(ze)}function ze(e,t){return"<"==t?F(j(">"),le(xe,">"),W,ze):"extends"==t||"implements"==t||l&&","==e?("implements"==t&&(w.marked="keyword"),F(l?ve:V,ze)):"{"==e?F(j("}"),Ve,W):void 0}function Ve(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||l&&O(t))&&w.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(w.marked="keyword",F(Ve)):"variable"==e||"keyword"==w.style?(w.marked="property",F(Ze,Ve)):"number"==e||"string"==e?F(Ze,Ve):"["==e?F(V,de,G("]"),Ze,Ve):"*"==t?(w.marked="keyword",F(Ve)):l&&"("==e?S(Le,Ve):";"==e||","==e?F(Ve):"}"==e?F():"@"==t?F(V,Ve):void 0}function Ze(e,t){if("!"==t)return F(Ze);if("?"==t)return F(Ze);if(":"==e)return F(ve,qe);if("="==t)return F(Z);var n=w.state.lexical.prev;return S(n&&"interface"==n.info?Le:Re)}function Ue(e,t){return"*"==t?(w.marked="keyword",F($e,G(";"))):"default"==t?(w.marked="keyword",F(V,G(";"))):"{"==e?F(le(Ye,"}"),$e,G(";")):S(H)}function Ye(e,t){return"as"==t?(w.marked="keyword",F(G("variable"))):"variable"==e?S(Z,Ye):void 0}function Ke(e){return"string"==e?F():"("==e?S(V):"."==e?S(J):S(Je,Xe,$e)}function Je(e,t){return"{"==e?pe(Je,"}"):("variable"==e&&B(t),"*"==t&&(w.marked="keyword"),F(Qe))}function Xe(e){if(","==e)return F(Je,Xe)}function Qe(e,t){if("as"==t)return w.marked="keyword",F(Je)}function $e(e,t){if("from"==t)return w.marked="keyword",F(V)}function et(e){return"]"==e?F():S(le(Z,"]"))}function tt(){return S(j("form"),Fe,G("{"),j("}"),le(nt,"}"),W,W)}function nt(){return S(Fe,qe)}function rt(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function it(e,t,n){return t.tokenize==v&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return N.lex=R.lex=!0,L.lex=!0,W.lex=!0,{startState:function(e){var t={tokenize:v,lastType:"sof",cc:[],lexical:new C((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new M(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),b(e,t)),t.tokenize!=_&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=i&&"--"!=i?r:"incdec",x(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==_||t.tokenize==E)return e.Pass;if(t.tokenize!=v)return 0;var i,s=r&&r.charAt(0),u=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var l=t.cc[c];if(l==W)u=u.prev;else if(l!=Me&&l!=L)break}for(;("stat"==u.type||"form"==u.type)&&("}"==s||(i=t.cc[t.cc.length-1])&&(i==J||i==X)&&!/^[,\.=+\-*:?[\(]/.test(r));)u=u.prev;a&&")"==u.type&&"stat"==u.prev.type&&(u=u.prev);var p=u.type,f=s==p;return"vardef"==p?u.indented+("operator"==t.lastType||","==t.lastType?u.info.length+1:0):"form"==p&&"{"==s?u.indented:"form"==p?u.indented+o:"stat"==p?u.indented+(rt(t,r)?a||o:0):"switch"!=u.info||f||0==n.doubleIndentSwitch?u.align?u.column+(f?0:1):u.indented+(f?0:o):u.indented+(/^(?:case|default)\b/.test(r)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:u?null:"/*",blockCommentEnd:u?null:"*/",blockCommentContinue:u?null:" * ",lineComment:u?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:u?"json":"javascript",jsonldMode:s,jsonMode:u,expressionAllowed:it,skipExpression:function(t){x(t,"atom","atom","true",new e.StringStream("",2,null))}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/manifest+json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n(3668))},1629:function(e,t,n){!function(e){"use strict";e.defineMode("pegjs",(function(t){var n=e.getMode(t,"javascript");function r(e){return e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)}return{startState:function(){return{inString:!1,stringType:null,inComment:!1,inCharacterClass:!1,braced:0,lhs:!0,localState:null}},token:function(t,i){if(t&&(i.inString||i.inComment||'"'!=t.peek()&&"'"!=t.peek()||(i.stringType=t.peek(),t.next(),i.inString=!0)),i.inString||i.inComment||!t.match("/*")||(i.inComment=!0),i.inString){for(;i.inString&&!t.eol();)t.peek()===i.stringType?(t.next(),i.inString=!1):"\\"===t.peek()?(t.next(),t.next()):t.match(/^.[^\\\"\']*/);return i.lhs?"property string":"string"}if(i.inComment){for(;i.inComment&&!t.eol();)t.match("*/")?i.inComment=!1:t.match(/^.[^\*]*/);return"comment"}if(i.inCharacterClass)for(;i.inCharacterClass&&!t.eol();)t.match(/^[^\]\\]+/)||t.match(/^\\./)||(i.inCharacterClass=!1);else{if("["===t.peek())return t.next(),i.inCharacterClass=!0,"bracket";if(t.match("//"))return t.skipToEnd(),"comment";if(i.braced||"{"===t.peek()){null===i.localState&&(i.localState=e.startState(n));var o=n.token(t,i.localState),a=t.current();if(!o)for(var s=0;st}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(m,e)||!d.call(h,e)&&(f.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,_);v[t]=new y(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,_);v[t]=new y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,_);v[t]=new y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)}));var D=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=60103,A=60106,C=60107,k=60108,x=60114,w=60109,S=60110,F=60112,T=60113,B=60120,q=60115,O=60116,M=60121,P=60128,I=60129,N=60130,R=60131;if("function"===typeof Symbol&&Symbol.for){var L=Symbol.for;b=L("react.element"),A=L("react.portal"),C=L("react.fragment"),k=L("react.strict_mode"),x=L("react.profiler"),w=L("react.provider"),S=L("react.context"),F=L("react.forward_ref"),T=L("react.suspense"),B=L("react.suspense_list"),q=L("react.memo"),O=L("react.lazy"),M=L("react.block"),L("react.scope"),P=L("react.opaque.id"),I=L("react.debug_trace_mode"),N=L("react.offscreen"),R=L("react.legacy_hidden")}var j,W="function"===typeof Symbol&&Symbol.iterator;function G(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=W&&e[W]||e["@@iterator"])?e:null}function H(e){if(void 0===j)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);j=t&&t[1]||""}return"\n"+j+e}var z=!1;function V(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var i=u.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function Z(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 22:return e=V(e.type._render,!1);case 1:return e=V(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case C:return"Fragment";case A:return"Portal";case x:return"Profiler";case k:return"StrictMode";case T:return"Suspense";case B:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case S:return(e.displayName||"Context")+".Consumer";case w:return(e._context.displayName||"Context")+".Provider";case F:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case q:return U(e.type);case M:return U(e._render);case O:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function J(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function $(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&E(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=Y(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&ie(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ie(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Y(n)}}function ce(e,t){var n=Y(t.value),r=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var pe="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function de(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?de(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ye,ve=(ye=function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ye(e,t)}))}:ye);function ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var _e={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ee=["Webkit","ms","Moz","O"];function De(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||_e.hasOwnProperty(e)&&_e[e]?(""+t).trim():t+"px"}function be(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=De(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(_e).forEach((function(e){Ee.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_e[t]=_e[e]}))}));var Ae=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(e,t){if(t){if(Ae[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function ke(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,Se=null,Fe=null;function Te(e){if(e=ri(e)){if("function"!==typeof we)throw Error(a(280));var t=e.stateNode;t&&(t=oi(t),we(e.stateNode,e.type,t))}}function Be(e){Se?Fe?Fe.push(e):Fe=[e]:Se=e}function qe(){if(Se){var e=Se,t=Fe;if(Fe=Se=null,Te(e),t)for(e=0;e(r=31-zt(r))?0:1<n;n++)t.push(e);return t}function Ht(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-zt(t)]=n}var zt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Vt(e)/Zt|0)|0},Vt=Math.log,Zt=Math.LN2;var Ut=o.unstable_UserBlockingPriority,Yt=o.unstable_runWithPriority,Kt=!0;function Jt(e,t,n,r){Ne||Pe();var i=Qt,o=Ne;Ne=!0;try{Me(i,e,t,n,r)}finally{(Ne=o)||Le()}}function Xt(e,t,n,r){Yt(Ut,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var i;if(Kt)if((i=0===(4&t))&&0=Rn),Wn=String.fromCharCode(32),Gn=!1;function Hn(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1;var Zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function Yn(e,t,n,r){Be(r),0<(t=Nr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,Jn=null;function Xn(e){Fr(e,0)}function Qn(e){if(X(ii(e)))return e}function $n(e,t){if("change"===e)return t}var er=!1;if(p){var tr;if(p){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dr(r)}}function mr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function yr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gr=p&&"documentMode"in document&&11>=document.documentMode,_r=null,Er=null,Dr=null,br=!1;function Ar(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==_r||_r!==Q(r)||("selectionStart"in(r=_r)&&vr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Dr&&fr(Dr,r)||(Dr=r,0<(r=Nr(Er,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=_r)))}Pt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Pt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Pt(Mt,2);for(var Cr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),kr=0;krui||(e.current=si[ui],si[ui]=null,ui--)}function pi(e,t){ui++,si[ui]=e.current,e.current=t}var fi={},di=ci(fi),hi=ci(!1),mi=fi;function yi(e,t){var n=e.type.contextTypes;if(!n)return fi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function vi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function gi(){li(hi),li(di)}function _i(e,t,n){if(di.current!==fi)throw Error(a(168));pi(di,t),pi(hi,n)}function Ei(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,U(t)||"Unknown",o));return i({},n,r)}function Di(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fi,mi=di.current,pi(di,e),pi(hi,hi.current),!0}function bi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ei(e,t,mi),r.__reactInternalMemoizedMergedChildContext=e,li(hi),li(di),pi(di,e)):li(hi),pi(hi,n)}var Ai=null,Ci=null,ki=o.unstable_runWithPriority,xi=o.unstable_scheduleCallback,wi=o.unstable_cancelCallback,Si=o.unstable_shouldYield,Fi=o.unstable_requestPaint,Ti=o.unstable_now,Bi=o.unstable_getCurrentPriorityLevel,qi=o.unstable_ImmediatePriority,Oi=o.unstable_UserBlockingPriority,Mi=o.unstable_NormalPriority,Pi=o.unstable_LowPriority,Ii=o.unstable_IdlePriority,Ni={},Ri=void 0!==Fi?Fi:function(){},Li=null,ji=null,Wi=!1,Gi=Ti(),Hi=1e4>Gi?Ti:function(){return Ti()-Gi};function zi(){switch(Bi()){case qi:return 99;case Oi:return 98;case Mi:return 97;case Pi:return 96;case Ii:return 95;default:throw Error(a(332))}}function Vi(e){switch(e){case 99:return qi;case 98:return Oi;case 97:return Mi;case 96:return Pi;case 95:return Ii;default:throw Error(a(332))}}function Zi(e,t){return e=Vi(e),ki(e,t)}function Ui(e,t,n){return e=Vi(e),xi(e,t,n)}function Yi(){if(null!==ji){var e=ji;ji=null,wi(e)}Ki()}function Ki(){if(!Wi&&null!==Li){Wi=!0;var e=0;try{var t=Li;Zi(99,(function(){for(;em?(y=p,p=null):y=p.sibling;var v=d(i,p,s[m],u);if(null===v){null===p&&(p=y);break}e&&p&&null===v.alternate&&t(i,p),a=o(v,a,m),null===l?c=v:l.sibling=v,l=v,p=y}if(m===s.length)return n(i,p),c;if(null===p){for(;my?(v=m,m=null):v=m.sibling;var _=d(i,m,g.value,c);if(null===_){null===m&&(m=v);break}e&&m&&null===_.alternate&&t(i,m),s=o(_,s,y),null===p?l=_:p.sibling=_,p=_,m=v}if(g.done)return n(i,m),l;if(null===m){for(;!g.done;y++,g=u.next())null!==(g=f(i,g.value,c))&&(s=o(g,s,y),null===p?l=g:p.sibling=g,p=g);return l}for(m=r(i,m);!g.done;y++,g=u.next())null!==(g=h(m,i,y,g.value,c))&&(e&&null!==g.alternate&&m.delete(null===g.key?y:g.key),s=o(g,s,y),null===p?l=g:p.sibling=g,p=g);return e&&m.forEach((function(e){return t(i,e)})),l}return function(e,r,o,u){var c="object"===typeof o&&null!==o&&o.type===C&&null===o.key;c&&(o=o.props.children);var l="object"===typeof o&&null!==o;if(l)switch(o.$$typeof){case b:e:{for(l=o.key,c=r;null!==c;){if(c.key===l){if(7===c.tag){if(o.type===C){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}}else if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=Co(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===C?((r=Yu(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Uu(o.type,o.key,o.props,null,e.mode,u)).ref=Co(e,r,o),u.return=e,e=u)}return s(e);case A:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xu(o,e.mode,u)).return=e,e=r}return s(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Ju(o,e.mode,u)).return=e,e=r),s(e);if(Ao(o))return m(e,r,o,u);if(G(o))return y(e,r,o,u);if(l&&ko(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,U(e.type)||"Component"))}return n(e,r)}}var wo=xo(!0),So=xo(!1),Fo={},To=ci(Fo),Bo=ci(Fo),qo=ci(Fo);function Oo(e){if(e===Fo)throw Error(a(174));return e}function Mo(e,t){switch(pi(qo,t),pi(Bo,e),pi(To,Fo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(To),pi(To,t)}function Po(){li(To),li(Bo),li(qo)}function Io(e){Oo(qo.current);var t=Oo(To.current),n=he(t,e.type);t!==n&&(pi(Bo,e),pi(To,n))}function No(e){Bo.current===e&&(li(To),li(Bo))}var Ro=ci(0);function Lo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jo=null,Wo=null,Go=!1;function Ho(e,t){var n=zu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function zo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Vo(e){if(Go){var t=Wo;if(t){var n=t;if(!zo(e,t)){if(!(t=Yr(n.nextSibling))||!zo(e,t))return e.flags=-1025&e.flags|2,Go=!1,void(jo=e);Ho(jo,n)}jo=e,Wo=Yr(t.firstChild)}else e.flags=-1025&e.flags|2,Go=!1,jo=e}}function Zo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;jo=e}function Uo(e){if(e!==jo)return!1;if(!Go)return Zo(e),Go=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!zr(t,e.memoizedProps))for(t=Wo;t;)Ho(e,t),t=Yr(t.nextSibling);if(Zo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Wo=Yr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Wo=null}}else Wo=jo?Yr(e.stateNode.nextSibling):null;return!0}function Yo(){Wo=jo=null,Go=!1}var Ko=[];function Jo(){for(var e=0;eo))throw Error(a(301));o+=1,na=ta=null,t.updateQueue=null,Xo.current=Pa,e=n(r,i)}while(ia)}if(Xo.current=qa,t=null!==ta&&null!==ta.next,$o=0,na=ta=ea=null,ra=!1,t)throw Error(a(300));return e}function ua(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ea.memoizedState=na=e:na=na.next=e,na}function ca(){if(null===ta){var e=ea.alternate;e=null!==e?e.memoizedState:null}else e=ta.next;var t=null===na?ea.memoizedState:na.next;if(null!==t)na=t,ta=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ta=e).memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},null===na?ea.memoizedState=na=e:na=na.next=e}return na}function la(e,t){return"function"===typeof t?t(e):t}function pa(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ta,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var u=s=o=null,c=i;do{var l=c.lane;if(($o&l)===l)null!==u&&(u=u.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var p={lane:l,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(s=u=p,o=r):u=u.next=p,ea.lanes|=l,Ws|=l}c=c.next}while(null!==c&&c!==i);null===u?o=r:u.next=s,lr(r,t.memoizedState)||(Na=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fa(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);lr(o,t.memoizedState)||(Na=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function da(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=($o&e)===e)&&(t._workInProgressVersionPrimary=r,Ko.push(t))),e)return n(t._source);throw Ko.push(t),Error(a(350))}function ha(e,t,n,r){var i=Os;if(null===i)throw Error(a(349));var o=t._getVersion,s=o(t._source),u=Xo.current,c=u.useState((function(){return da(i,t,n)})),l=c[1],p=c[0];c=na;var f=e.memoizedState,d=f.refs,h=d.getSnapshot,m=f.source;f=f.subscribe;var y=ea;return e.memoizedState={refs:d,source:t,subscribe:r},u.useEffect((function(){d.getSnapshot=n,d.setSnapshot=l;var e=o(t._source);if(!lr(s,e)){e=n(t._source),lr(p,e)||(l(e),e=du(y),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,a=e;0n?98:n,(function(){e(!0)})),Zi(97<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Qr]=t,e[$r]=r,Ya(e,t),t.stateNode=e,c=ke(n,r),n){case"dialog":Tr("cancel",e),Tr("close",e),o=r;break;case"iframe":case"object":case"embed":Tr("load",e),o=r;break;case"video":case"audio":for(o=0;oZs&&(t.flags|=64,s=!0,as(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Lo(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),as(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Go)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Hi()-r.renderingStartTime>Zs&&1073741824!==n&&(t.flags|=64,s=!0,as(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Hi(),n.sibling=null,t=Ro.current,pi(Ro,s?1&t|2:1&t),n):null;case 23:case 24:return Au(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function us(e){switch(e.tag){case 1:vi(e.type)&&gi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Po(),li(hi),li(di),Jo(),0!==(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return No(e),null;case 13:return li(Ro),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return li(Ro),null;case 4:return Po(),null;case 10:return ro(e),null;case 23:case 24:return Au(),null;default:return null}}function cs(e,t){try{var n="",r=t;do{n+=Z(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i}}function ls(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Ya=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ka=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Oo(To.current);var a,s=null;switch(n){case"input":o=$(e,o),r=$(e,r),s=[];break;case"option":o=oe(e,o),r=oe(e,r),s=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),s=[];break;case"textarea":o=se(e,o),r=se(e,r),s=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=jr)}for(p in Ce(n,r),n=null,o)if(!r.hasOwnProperty(p)&&o.hasOwnProperty(p)&&null!=o[p])if("style"===p){var c=o[p];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==p&&"children"!==p&&"suppressContentEditableWarning"!==p&&"suppressHydrationWarning"!==p&&"autoFocus"!==p&&(u.hasOwnProperty(p)?s||(s=[]):(s=s||[]).push(p,null));for(p in r){var l=r[p];if(c=null!=o?o[p]:void 0,r.hasOwnProperty(p)&&l!==c&&(null!=l||null!=c))if("style"===p)if(c){for(a in c)!c.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&c[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(s||(s=[]),s.push(p,n)),n=l;else"dangerouslySetInnerHTML"===p?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(s=s||[]).push(p,l)):"children"===p?"string"!==typeof l&&"number"!==typeof l||(s=s||[]).push(p,""+l):"suppressContentEditableWarning"!==p&&"suppressHydrationWarning"!==p&&(u.hasOwnProperty(p)?(null!=l&&"onScroll"===p&&Tr("scroll",e),s||c===l||(s=[])):"object"===typeof l&&null!==l&&l.$$typeof===P?l.toString():(s=s||[]).push(p,l))}n&&(s=s||[]).push("style",n);var p=s;(t.updateQueue=p)&&(t.flags|=4)}},Ja=function(e,t,n,r){n!==r&&(t.flags|=4)};var ps="function"===typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=lo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Js||(Js=!0,Xs=r),ls(0,t)},n}function ds(e,t,n){(n=lo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return ls(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Qs?Qs=new Set([this]):Qs.add(this),ls(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hs="function"===typeof WeakSet?WeakSet:Set;function ms(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){ju(e,n)}else t.current=null}function ys(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Ur(t.stateNode.containerInfo))}throw Error(a(163))}function vs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!==(4&(i=i.tag))&&0!==(1&i)&&(Nu(n,e),Iu(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Xi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&mo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}mo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Hr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&bt(n)))))}throw Error(a(163))}function gs(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,r.style.display=De("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function _s(e,t){if(Ci&&"function"===typeof Ci.onCommitFiberUnmount)try{Ci.onCommitFiberUnmount(Ai,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!==(4&r))Nu(t,n);else{r=t;try{i()}catch(o){ju(r,o)}}n=n.next}while(n!==e)}break;case 1:if(ms(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){ju(t,o)}break;case 5:ms(t);break;case 4:ks(e,t)}}function Es(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Ds(e){return 5===e.tag||3===e.tag||4===e.tag}function bs(e){e:{for(var t=e.return;null!==t;){if(Ds(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ge(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ds(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?As(e,n,t):Cs(e,n,t)}function As(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=jr));else if(4!==r&&null!==(e=e.child))for(As(e,t,n),e=e.sibling;null!==e;)As(e,t,n),e=e.sibling}function Cs(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Cs(e,t,n),e=e.sibling;null!==e;)Cs(e,t,n),e=e.sibling}function ks(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,u=i,c=u;;)if(_s(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===u)break e;for(;null===c.sibling;){if(null===c.return||c.return===u)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,u=i.stateNode,8===s.nodeType?s.parentNode.removeChild(u):s.removeChild(u)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(_s(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function xs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[$r]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),ke(e,i),t=ke(e,r),i=0;ii&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=Hi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Fs(n/1960))-n)){e.timeoutHandle=Vr(qu.bind(null,e),n);break}qu(e);break;default:throw Error(a(329))}}return yu(e,Hi()),e.callbackNode===t?vu.bind(null,e):null}function gu(e,t){for(t&=~Hs,t&=~Gs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Rs&&(Rs=2),u=cs(u,s),f=a;do{switch(f.tag){case 3:o=u,f.flags|=4096,t&=-t,f.lanes|=t,fo(f,fs(0,o,t));break e;case 1:o=u;var D=f.type,b=f.stateNode;if(0===(64&f.flags)&&("function"===typeof D.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Qs||!Qs.has(b)))){f.flags|=4096,t&=-t,f.lanes|=t,fo(f,ds(f,o,t));break e}}f=f.return}while(null!==f)}Bu(n)}catch(A){t=A,Ms===n&&null!==n&&(Ms=n=n.return);continue}break}}function xu(){var e=Ts.current;return Ts.current=qa,null===e?qa:e}function wu(e,t){var n=qs;qs|=16;var r=xu();for(Os===e&&Ps===t||Cu(e,t);;)try{Su();break}catch(i){ku(e,i)}if(no(),qs=n,Ts.current=r,null!==Ms)throw Error(a(261));return Os=null,Ps=0,Rs}function Su(){for(;null!==Ms;)Tu(Ms)}function Fu(){for(;null!==Ms&&!Si();)Tu(Ms)}function Tu(e){var t=Ys(e.alternate,e,Is);e.memoizedProps=e.pendingProps,null===t?Bu(e):Ms=t,Bs.current=null}function Bu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=ss(n,t,Is)))return void(Ms=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Is)||0===(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1s&&(u=s,s=b,b=u),u=hr(_,b),o=hr(_,s),u&&o&&(1!==D.rangeCount||D.anchorNode!==u.node||D.anchorOffset!==u.offset||D.focusNode!==o.node||D.focusOffset!==o.offset)&&((E=E.createRange()).setStart(u.node,u.offset),D.removeAllRanges(),b>s?(D.addRange(E),D.extend(o.node,o.offset)):(E.setEnd(o.node,o.offset),D.addRange(E))))),E=[];for(D=_;D=D.parentNode;)1===D.nodeType&&E.push({element:D,left:D.scrollLeft,top:D.scrollTop});for("function"===typeof _.focus&&_.focus(),_=0;_Hi()-Vs?Cu(e,0):Hs|=n),yu(e,t)}function Gu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===zi()?1:2:(0===uu&&(uu=js),0===(t=Wt(62914560&~uu))&&(t=4194304))),n=fu(),null!==(e=mu(e,t))&&(Ht(e,t,n),yu(e,n))}function Hu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function zu(e,t,n,r){return new Hu(e,t,n,r)}function Vu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Zu(e,t){var n=e.alternate;return null===n?((n=zu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Uu(e,t,n,r,i,o){var s=2;if(r=e,"function"===typeof e)Vu(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case C:return Yu(n.children,i,o,t);case I:s=8,i|=16;break;case k:s=8,i|=1;break;case x:return(e=zu(12,n,t,8|i)).elementType=x,e.type=x,e.lanes=o,e;case T:return(e=zu(13,n,t,i)).type=T,e.elementType=T,e.lanes=o,e;case B:return(e=zu(19,n,t,i)).elementType=B,e.lanes=o,e;case N:return Ku(n,i,o,t);case R:return(e=zu(24,n,t,i)).elementType=R,e.lanes=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case w:s=10;break e;case S:s=9;break e;case F:s=11;break e;case q:s=14;break e;case O:s=16,r=null;break e;case M:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=zu(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Yu(e,t,n,r){return(e=zu(7,e,r,t)).lanes=n,e}function Ku(e,t,n,r){return(e=zu(23,e,r,t)).elementType=N,e.lanes=n,e}function Ju(e,t,n){return(e=zu(6,e,null,t)).lanes=n,e}function Xu(e,t,n){return(t=zu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qu(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Gt(0),this.expirationTimes=Gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gt(0),this.mutableSourceEagerHydrationData=null}function $u(e,t,n){var r=3=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:F(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(n){"object"===typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},6813:function(e,t){"use strict";var n,r,i,o;if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,l=null,p=function e(){if(null!==c)try{var n=t.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(e,0),r}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(p,0))},r=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,d=window.clearTimeout;if("undefined"!==typeof console){var h=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,y=null,v=-1,g=5,_=0;t.unstable_shouldYield=function(){return t.unstable_now()>=_},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,i=e[r];if(!(void 0!==i&&0k(a,n))void 0!==u&&0>k(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>k(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var x=[],w=[],S=1,F=null,T=3,B=!1,q=!1,O=!1;function M(e){for(var t=A(w);null!==t;){if(null===t.callback)C(w);else{if(!(t.startTime<=e))break;C(w),t.sortIndex=t.expirationTime,b(x,t)}t=A(w)}}function P(e){if(O=!1,M(e),!q)if(null!==A(x))q=!0,n(I);else{var t=A(w);null!==t&&r(P,t.startTime-e)}}function I(e,n){q=!1,O&&(O=!1,i()),B=!0;var o=T;try{for(M(n),F=A(x);null!==F&&(!(F.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=F.callback;if("function"===typeof a){F.callback=null,T=F.priorityLevel;var s=a(F.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?F.callback=s:F===A(x)&&C(x),M(n)}else C(x);F=A(x)}if(null!==F)var u=!0;else{var c=A(w);null!==c&&r(P,c.startTime-n),u=!1}return u}finally{F=null,T=o,B=!1}}var N=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){q||B||(q=!0,n(I))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return A(x)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=N,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0s?(e.sortIndex=a,b(w,e),null===A(x)&&e===A(w)&&(O?i():O=!0,r(P,a-s))):(e.sortIndex=u,b(x,e),q||B||(q=!0,n(I))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f: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.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},1413:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4942);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:0,r=o(t,e);return n?(0,a.U1)(r,-n):r};i.cf.prototype.euclid=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.struct(u(e,t,n))},i.cf.prototype.euclidLegato=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=u(e,t,n),c=o.indexOf(1),l=(0,a.U1)(o,c).join("").split("1").slice(1).map((function(e){return[e.length+1,!0]}));return this.struct(i.$E.apply(void 0,(0,r.Z)(l))).late((0,s.Z)(c).div(t))},t.Z=u},8090:function(e,t,n){"use strict";var r=n(2518),i=n(471);r.prototype.sam=function(){return this.floor()},r.prototype.nextSam=function(){return this.sam().add(1)},r.prototype.wholeCycle=function(){return new i.i(this.sam(),this.nextSam())},r.prototype.cyclePos=function(){return this.sub(this.sam())},r.prototype.lt=function(e){return this.compare(e)<0},r.prototype.gt=function(e){return this.compare(e)>0},r.prototype.lte=function(e){return this.compare(e)<=0},r.prototype.gte=function(e){return this.compare(e)>=0},r.prototype.eq=function(e){return 0==this.compare(e)},r.prototype.max=function(e){return this.gt(e)?this:e},r.prototype.min=function(e){return this.lt(e)?this:e},r.prototype.show=function(){return this.s*this.n+"/"+this.d},r.prototype.or=function(e){return this.eq(0)?e:this};t.Z=function(e){return"number"===typeof e&&(e=String(e)),r(e)}},1029:function(__unused_webpack___webpack_module__,__webpack_exports__){"use strict";__webpack_exports__.Z=function(route){return fetch("https://gist.githubusercontent.com/".concat(route,"?cachebust=").concat(Date.now())).then((function(e){return e.text()})).then((function(code){return eval(code)}))}},5559:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(1413),i=n(9439),o=n(5671),a=n(3144),s=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,o.Z)(this,e),this.whole=t,this.part=n,this.value=r,this.context=i,this.stateful=a,a&&console.assert("function"===typeof this.value,"Stateful values must be functions")}return(0,a.Z)(e,[{key:"duration",get:function(){return this.whole.end.sub(this.whole.begin).valueOf()}},{key:"wholeOrPart",value:function(){return this.whole?this.whole:this.part}},{key:"withSpan",value:function(t){return new e(this.whole?t(this.whole):void 0,t(this.part),this.value,this.context)}},{key:"withValue",value:function(t){return new e(this.whole,this.part,t(this.value),this.context)}},{key:"hasOnset",value:function(){return void 0!=this.whole&&this.whole.begin.equals(this.part.begin)}},{key:"resolveState",value:function(t){if(this.stateful&&this.hasOnset()){console.log("stateful");var n=(0,this.value)(t),r=(0,i.Z)(n,2),o=r[0],a=r[1];return[o,new e(this.whole,this.part,a,this.context,!1)]}return[t,this]}},{key:"spanEquals",value:function(e){return void 0==this.whole&&void 0==e.whole||this.whole.equals(e.whole)}},{key:"equals",value:function(e){return this.spanEquals(e)&&this.part.equals(e.part)&&this.value===e.value}},{key:"show",value:function(){return"("+(void 0==this.whole?"~":this.whole.show())+", "+this.part.show()+", "+this.value+")"}},{key:"combineContext",value:function(e){return(0,r.Z)((0,r.Z)((0,r.Z)({},this.context),e.context),{},{locations:(this.context.locations||[]).concat(e.context.locations||[])})}},{key:"setContext",value:function(t){return new e(this.whole,this.part,this.value,t)}}]),e}();t.Z=s},3198:function(e,t,n){"use strict";n.r(t),n.d(t,{Fraction:function(){return r.Z},Hap:function(){return i.S},Pattern:function(){return o.cf},State:function(){return j.Z},TimeSpan:function(){return W.i},_brandBy:function(){return w},_irand:function(){return T},add:function(){return o.IH},append:function(){return o.R3},brand:function(){return F},brandBy:function(){return S},cat:function(){return o.d3},choose:function(){return O},chooseWith:function(){return q},chunk:function(){return o.yo},chunkBack:function(){return o.ej},compose:function(){return a.qC},constant:function(){return a.a9},cosine:function(){return m},cosine2:function(){return y},curry:function(){return a.WA},div:function(){return o.hi},early:function(){return o.oX},echo:function(){return o.B9},every:function(){return o.yW},fast:function(){return o.q3},fastcat:function(){return o.gB},flatten:function(){return a.xH},fromMidi:function(){return a.$4},getFrequency:function(){return a.Nb},getPlayableNoteValue:function(){return a.LQ},id:function(){return a.id},inv:function(){return o.JB},invert:function(){return o.U_},irand:function(){return B},isNote:function(){return a.gi},isPattern:function(){return o.R},isaw:function(){return c},isaw2:function(){return l},iter:function(){return o.he},iterBack:function(){return o.ey},jux:function(){return o.qX},juxBy:function(){return o.bR},late:function(){return o.wt},linger:function(){return o.fq},listRange:function(){return a.XQ},makeComposable:function(){return o.M8},mask:function(){return o.sS},mod:function(){return a.wQ},mul:function(){return o.dC},off:function(){return o.S1},patternify2:function(){return o.NC},patternify3:function(){return o.Ec},patternify4:function(){return o.mF},perlin:function(){return L},perlinWith:function(){return R},pipe:function(){return a.zG},ply:function(){return o.D},pm:function(){return o.pm},polymeter:function(){return o.DZ},polymeterSteps:function(){return o.Yh},polyrhythm:function(){return o.df},pr:function(){return o.pr},pure:function(){return o.Le},rand:function(){return x},range:function(){return o.w6},range2:function(){return o.wA},reify:function(){return o.ip},removeUndefineds:function(){return a.po},rev:function(){return o.OD},rotate:function(){return a.U1},saw:function(){return p},saw2:function(){return f},sequence:function(){return o.vP},set:function(){return o.t8},signal:function(){return u},silence:function(){return o.Bv},sine:function(){return h},sine2:function(){return d},slow:function(){return o.Yu},slowcat:function(){return o.Dr},slowcatPrime:function(){return o.Gf},square:function(){return v},square2:function(){return g},stack:function(){return o.kn},steady:function(){return s},struct:function(){return o.n_},sub:function(){return o.lu},superimpose:function(){return o.dv},time:function(){return D},timeCat:function(){return o.$E},toMidi:function(){return a.dL},tokenizeNote:function(){return a.TL},tri:function(){return _},tri2:function(){return E},wchoose:function(){return I},wchooseCycles:function(){return N},when:function(){return o.gx}});n(9320),n(242);var r=n(8090),i=n(5559),o=n(1626),a=n(1775);function s(e){return new o.cf((function(t){return[new i.S(void 0,t.span,e)]}))}var u=function(e){return new o.cf((function(t){return[new i.S(void 0,t.span,e(t.span.midpoint()))]}))},c=u((function(e){return 1-e%1})),l=c._toBipolar(),p=u((function(e){return e%1})),f=p._toBipolar(),d=u((function(e){return Math.sin(2*Math.PI*e)})),h=d._fromBipolar(),m=h._early((0,r.Z)(1).div(4)),y=d._early((0,r.Z)(1).div(4)),v=u((function(e){return Math.floor(2*e%2)})),g=v._toBipolar(),_=(0,o.gB)(c,p),E=(0,o.gB)(l,f),D=u(a.id),b=function(e){var t=e<<13^e,n=t>>17^t;return n<<5^n},A=function(e){return b(Math.trunc(536870912*function(e){return e-Math.trunc(e)}(e/300)))},C=function(e){return e%536870912/536870912},k=function(e){return Math.abs(C(A(e)))},x=u(k),w=function(e){return x.fmap((function(t){return t1?t-1:0),r=1;rt}),a)]};return e.fmap(f)},P=function(){return M.apply(void 0,arguments).outerJoin()},I=function(){for(var e=arguments.length,t=new Array(e),n=0;nt})))},o.cf.prototype._degradeBy=function(e){return this._degradeByWith(x,e)},o.cf.prototype.degrade=function(){return this._degradeBy(.5)},o.cf.prototype._undegradeBy=function(e){return this._degradeByWith(x.fmap((function(e){return 1-e})),e)},o.cf.prototype.undegrade=function(){return this._undegradeBy(.5)},o.cf.prototype._sometimesBy=function(e,t){return(0,o.kn)(this._degradeBy(e),t(this._undegradeBy(1-e)))},o.cf.prototype.sometimesBy=function(e,t){var n=this;return(0,o.ip)(e).fmap((function(e){return n._sometimesBy(e,t)})).innerJoin()},o.cf.prototype._sometimesByPre=function(e,t){return(0,o.kn)(this._degradeBy(e),t(this).undegradeBy(1-e))},o.cf.prototype.sometimesByPre=function(e,t){var n=this;return(0,o.ip)(e).fmap((function(e){return n._sometimesByPre(e,t)})).innerJoin()},o.cf.prototype.sometimes=function(e){return this._sometimesBy(.5,e)},o.cf.prototype.sometimesPre=function(e){return this._sometimesByPre(.5,e)},o.cf.prototype._someCyclesBy=function(e,t){return(0,o.kn)(this._degradeByWith(x._segment(1),e),t(this._degradeByWith(x.fmap((function(e){return 1-e}))._segment(1),1-e)))},o.cf.prototype.someCyclesBy=function(e,t){var n=this;return(0,o.ip)(e).fmap((function(e){return n._someCyclesBy(e,t)})).innerJoin()},o.cf.prototype.someCycles=function(e){return this._someCyclesBy(.5,e)},o.cf.prototype.often=function(e){return this.sometimesBy(.75,e)},o.cf.prototype.rarely=function(e){return this.sometimesBy(.25,e)},o.cf.prototype.almostNever=function(e){return this.sometimesBy(.1,e)},o.cf.prototype.almostAlways=function(e){return this.sometimesBy(.9,e)},o.cf.prototype.never=function(e){return this},o.cf.prototype.always=function(e){return e(this)},o.cf.prototype.patternified.push("degradeBy","undegradeBy");var j=n(5098),W=n(471)},1626:function(e,t,n){"use strict";n.d(t,{$E:function(){return S},B9:function(){return G},Bv:function(){return _},D:function(){return ne},DZ:function(){return q},Dr:function(){return C},Ec:function(){return he},Gf:function(){return k},IH:function(){return I},JB:function(){return V},Le:function(){return E},M8:function(){return fe},NC:function(){return de},OD:function(){return oe},R:function(){return D},R3:function(){return N},S1:function(){return te},U_:function(){return Z},Yh:function(){return B},Yu:function(){return ae},bR:function(){return J},cf:function(){return h},d3:function(){return w},dC:function(){return ee},df:function(){return M},dv:function(){return ce},ej:function(){return L},ey:function(){return Y},fq:function(){return Q},gB:function(){return x},gx:function(){return pe},he:function(){return U},hi:function(){return j},ip:function(){return b},kn:function(){return A},lu:function(){return ue},mF:function(){return me},n_:function(){return se},oX:function(){return W},pm:function(){return O},pr:function(){return P},q3:function(){return z},qX:function(){return K},sS:function(){return $},t8:function(){return le},vP:function(){return T},w6:function(){return re},wA:function(){return ie},wt:function(){return X},yW:function(){return H},yo:function(){return R}});for(var r=n(9439),i=n(3433),o=n(7762),a=n(1413),s=n(5671),u=n(3144),c=n(471),l=n(8090),p=n(5559),f=n(5098),d=n(1775),h=function(){function e(t){(0,s.Z)(this,e),this.query=t}return(0,u.Z)(e,[{key:"queryArc",value:function(e,t){return this.query(new f.C(new c.Z(e,t)))}},{key:"_splitQueries",value:function(){var t=this;return new e((function(e){return(0,d.xH)(e.span.spanCycles.map((function(n){return t.query(e.setSpan(n))})))}))}},{key:"withQuerySpan",value:function(t){var n=this;return new e((function(e){return n.query(e.withSpan(t))}))}},{key:"withQueryTime",value:function(t){var n=this;return new e((function(e){return n.query(e.withSpan((function(e){return e.withTime(t)})))}))}},{key:"withEventSpan",value:function(t){var n=this;return new e((function(e){return n.query(e).map((function(e){return e.withSpan(t)}))}))}},{key:"withEventTime",value:function(e){return this.withEventSpan((function(t){return t.withTime(e)}))}},{key:"_withEvents",value:function(t){var n=this;return new e((function(e){return t(n.query(e))}))}},{key:"_withEvent",value:function(e){return this._withEvents((function(t){return t.map(e)}))}},{key:"_setContext",value:function(e){return this._withEvent((function(t){return t.setContext(e)}))}},{key:"_withContext",value:function(e){return this._withEvent((function(t){return t.setContext(e(t.context))}))}},{key:"_stripContext",value:function(){return this._withEvent((function(e){return e.setContext({})}))}},{key:"withLocation",value:function(e,t){var n={start:{line:e[0],column:e[1],offset:e[2]},end:{line:t[0],column:t[1],offset:t[2]}};return this._withContext((function(e){var t=(e.locations||[]).concat([n]);return(0,a.Z)((0,a.Z)({},e),{},{locations:t})}))}},{key:"withMiniLocation",value:function(e,t){var n={start:{line:e[0],column:e[1],offset:e[2]},end:{line:t[0],column:t[1],offset:t[2]}};return this._withContext((function(e){var t=e.locations||[];return t=t.map((function(e){var t=e.start,r=e.end,i=1===t.line?n.start.column:0;return{start:(0,a.Z)((0,a.Z)({},t),{},{line:t.line-1+(n.start.line-1)+1,column:t.column-1+i}),end:(0,a.Z)((0,a.Z)({},r),{},{line:r.line-1+(n.start.line-1)+1,column:r.column-1+i})}})),(0,a.Z)((0,a.Z)({},e),{},{locations:t})}))}},{key:"withValue",value:function(t){var n=this;return new e((function(e){return n.query(e).map((function(e){return e.withValue(t)}))}))}},{key:"fmap",value:function(e){return this.withValue(e)}},{key:"_filterEvents",value:function(t){var n=this;return new e((function(e){return n.query(e).filter(t)}))}},{key:"_filterValues",value:function(t){var n=this;return new e((function(e){return n.query(e).filter((function(e){return t(e.value)}))}))}},{key:"_removeUndefineds",value:function(){return this._filterValues((function(e){return void 0!=e}))}},{key:"onsetsOnly",value:function(){return this._filterEvents((function(e){return e.hasOnset()}))}},{key:"_appWhole",value:function(t,n){var r=this;return new e((function(e){var i=r.query(e),o=n.query(e);return(0,d.xH)(i.map((function(e){return(0,d.po)(o.map((function(n){return function(e,n){var r=e.part.intersection(n.part);if(void 0!=r)return new p.Z(t(e.whole,n.whole),r,e.value(n.value),n.combineContext(e))}(e,n)})))})))}))}},{key:"appBoth",value:function(e){return this._appWhole((function(e,t){if(void 0!=e&&void 0!=t)return e.intersection_e(t)}),e)}},{key:"appLeft",value:function(t){var n=this;return new e((function(e){var r,i=[],a=(0,o.Z)(n.query(e));try{for(a.s();!(r=a.n()).done;){var s,u=r.value,c=t.query(e.setSpan(u.wholeOrPart())),l=(0,o.Z)(c);try{for(l.s();!(s=l.n()).done;){var f=s.value,d=u.whole,h=u.part.intersection(f.part);if(h){var m=u.value(f.value),y=f.combineContext(u),v=new p.Z(d,h,m,y);i.push(v)}}}catch(g){l.e(g)}finally{l.f()}}}catch(g){a.e(g)}finally{a.f()}return i}))}},{key:"appRight",value:function(t){var n=this;return new e((function(e){var r,i=[],a=(0,o.Z)(t.query(e));try{for(a.s();!(r=a.n()).done;){var s,u=r.value,c=n.query(e.setSpan(u.wholeOrPart())),l=(0,o.Z)(c);try{for(l.s();!(s=l.n()).done;){var f=s.value,d=u.whole,h=f.part.intersection(u.part);if(h){var m=f.value(u.value),y=u.combineContext(f),v=new p.Z(d,h,m,y);i.push(v)}}}catch(g){l.e(g)}finally{l.f()}}}catch(g){a.e(g)}finally{a.f()}return i}))}},{key:"firstCycle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this;return e||(t=t._stripContext()),t.query(new f.C(new c.Z((0,l.Z)(0),(0,l.Z)(1))))}},{key:"_firstCycleValues",get:function(){return this.firstCycle().map((function(e){return e.value}))}},{key:"_showFirstCycle",get:function(){return this.firstCycle().map((function(e){return"".concat(e.value,": ").concat(e.whole.begin.toFraction()," - ").concat(e.whole.end.toFraction())}))}},{key:"_sortEventsByPart",value:function(){return this._withEvents((function(e){return e.sort((function(e,t){return e.part.begin.sub(t.part.begin).or(e.part.end.sub(t.part.end)).or(e.whole.begin.sub(t.whole.begin).or(e.whole.end.sub(t.whole.end)))}))}))}},{key:"_opLeft",value:function(e,t){return this.fmap(t).appLeft(b(e))}},{key:"_opRight",value:function(e,t){return this.fmap(t).appRight(b(e))}},{key:"_opBoth",value:function(e,t){return this.fmap(t).appBoth(b(e))}},{key:"_opSqueeze",value:function(e,t){var n=b(e);return this.fmap((function(e){return n.fmap((function(n){return t(e)(n)}))}))._squeezeJoin()}},{key:"_opSqueezeFlip",value:function(e,t){var n=this;return b(e).fmap((function(e){return n.fmap((function(n){return t(n)(e)}))}))._squeezeJoin()}},{key:"_asNumber",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._withEvent((function(t){var n=Number(t.value);if(!isNaN(n))return t.withValue((function(){return n}));var r={e:Math.E,pi:Math.PI}[t.value];if("undefined"!==typeof r)return t.withValue((function(){return r}));if((0,d.gi)(t.value))return new p.Z(t.whole,t.part,(0,d.dL)(t.value),(0,a.Z)((0,a.Z)({},t.context),{},{type:"midi"}));if(!e)throw new Error('cannot parse as number: "'+t.value+'"');return t.withValue((function(){}))}))._removeUndefineds()}},{key:"round",value:function(){return this._asNumber().fmap((function(e){return Math.round(e)}))}},{key:"floor",value:function(){return this._asNumber().fmap((function(e){return Math.floor(e)}))}},{key:"ceil",value:function(){return this._asNumber().fmap((function(e){return Math.ceil(e)}))}},{key:"_toBipolar",value:function(){return this.fmap((function(e){return 2*e-1}))}},{key:"_fromBipolar",value:function(){return this.fmap((function(e){return(e+1)/2}))}},{key:"range",value:function(e,t){return this.mul(t-e).add(e)}},{key:"rangex",value:function(e,t){return this.range(Math.log(e),Math.log(t)).fmap(Math.exp)}},{key:"range2",value:function(e,t){return this._fromBipolar().range(e,t)}},{key:"_bindWhole",value:function(t,n){var r=this;return new e((function(e){var i=function(r){return n(r.value).query(e.setSpan(r.part)).map((function(e){return function(e,n){return new p.Z(t(e.whole,n.whole),n.part,n.value,Object.assign({},e.context,n.context,{locations:(e.context.locations||[]).concat(n.context.locations||[])}))}(r,e)}))};return(0,d.xH)(r.query(e).map((function(e){return i(e)})))}))}},{key:"bind",value:function(e){return this._bindWhole((function(e,t){if(void 0!=e&&void 0!=t)return e.intersection_e(t)}),e)}},{key:"join",value:function(){return this.bind(d.id)}},{key:"outerBind",value:function(e){return this._bindWhole((function(e,t){return e}),e)}},{key:"outerJoin",value:function(){return this.outerBind(d.id)}},{key:"innerBind",value:function(e){return this._bindWhole((function(e,t){return t}),e)}},{key:"innerJoin",value:function(){return this.innerBind(d.id)}},{key:"_squeezeJoin",value:function(){var t=this;return new e((function(e){var n=t.query(e);return(0,d.xH)(n.map((function(t){return t.value._compressSpan(t.wholeOrPart().cycleArc()).query(e.setSpan(t.part)).map((function(e){return function(e,t){var n=void 0;if(!t.whole||!e.whole||(n=t.whole.intersection(e.whole))){var r=t.part.intersection(e.part);if(r){var i=t.combineContext(e);return new p.Z(n,r,t.value,i)}}}(t,e)}))}))).filter((function(e){return e}))}))}},{key:"_squeezeBind",value:function(e){return this.fmap(e)._squeezeJoin()}},{key:"_apply",value:function(e){return e(this)}},{key:"layer",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r1&&void 0!==arguments[1]&&arguments[1];return C.apply(void 0,(0,i.Z)((0,d.XQ)(0,e-1).map((function(r){return n?t.late(r/e):t.early(r/e)}))))}},{key:"iterBack",value:function(e){return this.iter(e,!0)}},{key:"_chunk",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Array(e-1).fill(!1);r.unshift(!0);var o=T.apply(void 0,(0,i.Z)(r)).iter(e,n);return this.when(o,t)}},{key:"_chunkBack",value:function(e,t){return this._chunk(e,t,!0)}},{key:"edit",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:{};n.composable&&(h.prototype.composable[e]=t),n.patternified&&(h.prototype.patternified=h.prototype.patternified.concat([e])),h.prototype.bootstrap()},h.prototype.define("hush",(function(e){return e.hush()}),{patternified:!1,composable:!0}),h.prototype.define("bypass",(function(e){return e.bypass(on)}),{patternified:!0,composable:!0})},5098:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.Z)(this,e),this.span=t,this.controls=n}return(0,i.Z)(e,[{key:"setSpan",value:function(t){return new e(t,this.controls)}},{key:"withSpan",value:function(e){return this.setSpan(e(this.span))}},{key:"setControls",value:function(t){return new e(this.span,t)}}]),e}();t.C=o},471:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(5671),i=n(3144),o=n(8090),a=function(){function e(t,n){(0,r.Z)(this,e),this.begin=(0,o.Z)(t),this.end=(0,o.Z)(n)}return(0,i.Z)(e,[{key:"spanCycles",get:function(){for(var t=[],n=this.begin,r=this.end,i=r.sam();r.gt(n);){if(n.sam().equals(i)){t.push(new e(n,this.end));break}var o=n.nextSam();t.push(new e(n,o)),n=o}return t}},{key:"cycleArc",value:function(){var t=this.begin.cyclePos(),n=t.add(this.end.sub(this.begin));return new e(t,n)}},{key:"withTime",value:function(t){return new e(t(this.begin),t(this.end))}},{key:"withEnd",value:function(t){return new e(this.begin,t(this.end))}},{key:"withCycle",value:function(t){var n=this.begin.sam();return new e(n.add(t(this.begin.sub(n))),n.add(t(this.end.sub(n))))}},{key:"intersection",value:function(t){var n=this.begin.max(t.begin),r=this.end.min(t.end);if(!n.gt(r)){if(n.equals(r)){if(n.equals(this.end)&&this.begin.lt(this.end))return;if(n.equals(t.end)&&t.begin.lt(t.end))return}return new e(n,r)}}},{key:"intersection_e",value:function(e){var t=this.intersection(e);if(void 0==t)throw"TimeSpans do not intersect";return t}},{key:"midpoint",value:function(){return this.begin.add(this.end.sub(this.begin).div((0,o.Z)(2)))}},{key:"equals",value:function(e){return this.begin.equals(e.begin)&&this.end.equals(e.end)}},{key:"show",value:function(){return this.begin.show()+" -> "+this.end.show()}}]),e}();t.Z=a},1775:function(e,t,n){"use strict";n.d(t,{$4:function(){return u},LQ:function(){return l},Nb:function(){return p},TL:function(){return a},U1:function(){return f},WA:function(){return E},XQ:function(){return _},a9:function(){return g},dL:function(){return s},gi:function(){return o},id:function(){return v},po:function(){return m},qC:function(){return h},wQ:function(){return c},xH:function(){return y},zG:function(){return d}});var r=n(3433),i=n(9439),o=function(e){return/^[a-gA-G][#b]*[0-9]$/.test(e)},a=function(e){var t;if("string"!==typeof e)return[];var n=(null===(t=e.match(/^([a-gA-G])([#b]*)([0-9])?$/))||void 0===t?void 0:t.slice(1))||[],r=(0,i.Z)(n,3),o=r[0],a=r[1],s=void 0===a?"":a,u=r[2];return o?[o,s,u?Number(u):void 0]:[]},s=function(e){var t=a(e),n=(0,i.Z)(t,3),r=n[0],o=n[1],s=n[2];if(!r)throw new Error('not a note: "'+e+'"');var u={c:0,d:2,e:4,f:5,g:7,a:9,b:11}[r.toLowerCase()],c=(null===o||void 0===o?void 0:o.split("").reduce((function(e,t){return e+{"#":1,b:-1}[t]}),0))||0;return 12*(Number(s)+1)+u+c},u=function(e){return 440*Math.pow(2,(e-69)/12)},c=function e(t,n){return t<0?e(t+n,n):t%n},l=function(e){var t=e.value,n=e.context;if("number"===typeof t&&"frequency"!==n.type)t=u(e.value);else if("string"===typeof t&&!o(t))throw new Error("not a note: "+t);return t},p=function(e){var t=e.value,n=e.context;if("object"===typeof t&&t.freq)return t.freq;if("number"===typeof t&&"frequency"!==n.type)t=u(e.value);else if("string"===typeof t&&o(t))t=u(s(e.value));else if("number"!==typeof t)throw new Error("not a note or frequency:"+t);return t},f=function(e,t){return e.slice(t).concat(e.slice(0,t))},d=function(){for(var e=arguments.length,t=new Array(e),n=0;n=e.length)return e.apply(this,i);var a=function(){for(var e=arguments.length,t=new Array(e),r=0;r {\n".concat(e,"\n})()");var t=function(e){var t=e.statements[0].expression.callee.body;t.statements=t.statements.slice(0,-1).concat([new l.Jo({expression:t.statements.slice(-1)[0]})])};return{code:e,addReturn:t}}(e),n=t.code,o=t.addReturn,a=(0,i.Mi)(n),s=[],u=[],c=d(a.tree,{enter:function(e,t){var i,o,c;if(u.push(t),u.some((function(e){return s.includes(e)})))return e;if(function(e){return"TemplateExpression"===e.type&&1===e.elements.length}(e))return A(e,e,a.locations,s);if(1===(null===(i=e.directives)||void 0===i?void 0:i.length)&&(null===(o=e.statements)||void 0===o||!o.length)){var p=A(new l.kK({value:e.directives[0].rawValue}),e.directives[0],a.locations,s);return(0,r.Z)((0,r.Z)({},e),{},{directives:[],statements:[p]})}if(function(e,t,n){if("LiteralStringExpression"!==e.type)return!1;var r=t.get(e);return'"'===n.slice(r.start.offset,r.end.offset)[0]}(e,a.locations,n))return A(e,e,a.locations,s);var f={"*":"fast","/":"slow","&":"stack","&&":"append"};if("BinaryExpression"===e.type&&f[e.operator]&&["LiteralNumericExpression","LiteralStringExpression","IdentifierExpression"].includes(null===(c=e.right)||void 0===c?void 0:c.type)&&function(e){return"IdentifierExpression"===e.type&&y(e.name)||D(e)}(e.left)){var d=e.left;return"IdentifierExpression"===e.left.type&&(d=_("reify",e.left)),new l.Lt({callee:new l.AR({property:f[e.operator],object:_("reify",d)}),arguments:[e.right]})}var h=E(u)||function(e){return"StaticMemberExpression"===(null===e||void 0===e?void 0:e.type)&&Object.keys(m.prototype.composable).includes(e.property)}(t);if("CallExpression"===e.type&&"pure"===e.callee.name)return b(e.arguments[0],e.arguments[0],a.locations,s);if("IdentifierExpression"===e.type){if(y(e.name)){var g="s"===e.name[1]?e.name.replace("s","#"):e.name;return h?b(new l.kK({value:g}),e,a.locations,s):new l.kK({value:g})}if("r"===e.name)return new l.YI({name:"silence"})}return["LiteralStringExpression"].includes(e.type)&&h?b(e,e,a.locations,s):v?function(e,t,n){var r=["mini","m"];if("CallExpression"===e.type&&r.includes(e.callee.name)){if(e.arguments.length>1)return console.warn("multi arg mini locations not supported yet..."),e;var i=e.arguments[0];return A(i,i,t,n)}if("StaticMemberExpression"===e.type&&r.includes(e.property))return A(e.object,e,t,n);return e}(e,a.locations,s):e},leave:function(){u.pop()}});return o(c),h(c)};function _(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&("("===e[r-1]?n--:")"===e[r-1]&&n++,-1!==n);)r--;i=r,r=o,n=0;for(;r1)throw Error("More than one element was found.");if(0===n.length)throw Error("No element was found.");var r=(0,p.Z)(n,1)[0];return e.delete(r),r},V=function(e,t,n,r){var i=H(e,t),o=z(i,(function(e){return e[0]===n&&e[1]===r}));return 0===i.size&&e.delete(t),o},Z=function(e){return H(M,e)},U=function(e){if(S.has(e))throw new Error("The AudioNode is already stored.");S.add(e),Z(e).forEach((function(e){return e(!0)}))},Y=function(e){return"port"in e},K=function(e){if(!S.has(e))throw new Error("The AudioNode is not stored.");S.delete(e),Z(e).forEach((function(e){return e(!1)}))},J=function(e,t){!Y(e)&&t.every((function(e){return 0===e.size}))&&K(e)};function X(e,t){return X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},X(e,t)}function Q(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&&X(e,t)}function $(e){return $=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},$(e)}function ee(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function te(e){return te="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},te(e)}function ne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function re(e,t){if(t&&("object"===te(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ne(e)}function ie(e){var t=ee();return function(){var n,r=$(e);if(t){var i=$(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return re(this,n)}}var oe={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",fftSize:2048,maxDecibels:-30,minDecibels:-100,smoothingTimeConstant:.8},ae=function(e,t){return e.context===t},se=function(e){try{e.copyToChannel(new Float32Array(1),0,-1)}catch(t){return!1}return!0},ue=function(){return new DOMException("","IndexSizeError")},ce=function(e){var t;e.getChannelData=(t=e.getChannelData,function(n){try{return t.call(e,n)}catch(r){if(12===r.code)throw ue();throw r}})},le={numberOfChannels:1},pe=-34028234663852886e22,fe=-pe,de=function(e){return S.has(e)},he={buffer:null,channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",loop:!1,loopEnd:0,loopStart:0,playbackRate:1},me=__webpack_require__(7762),ye=function(e){return H(F,e)},ve=function(e){return H(B,e)},ge=function e(t,n){ye(t).activeInputs.forEach((function(r){return r.forEach((function(r){var i=(0,p.Z)(r,1)[0];n.includes(t)||e(i,[].concat((0,h.Z)(n),[t]))}))}));var r,i=function(e){return"playbackRate"in e}(t)?[t.playbackRate]:Y(t)?Array.from(t.parameters.values()):function(e){return"frequency"in e&&"gain"in e}(t)?[t.Q,t.detune,t.frequency,t.gain]:function(e){return"offset"in e}(t)?[t.offset]:function(e){return!("frequency"in e)&&"gain"in e}(t)?[t.gain]:function(e){return"detune"in e&&"frequency"in e}(t)?[t.detune,t.frequency]:function(e){return"pan"in e}(t)?[t.pan]:[],o=(0,me.Z)(i);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=ve(a);void 0!==s&&s.activeInputs.forEach((function(t){var r=(0,p.Z)(t,1)[0];return e(r,n)}))}}catch(u){o.e(u)}finally{o.f()}de(t)&&K(t)},_e=function(e){ge(e.destination,[])},Ee=function(e){return void 0===e||"number"===typeof e||"string"===typeof e&&("balanced"===e||"interactive"===e||"playback"===e)},De=function(e){return"context"in e},be=function(e){return De(e[0])},Ae=function(e,t,n,r){var i,o=(0,me.Z)(e);try{for(o.s();!(i=o.n()).done;){if(n(i.value)){if(r)return!1;throw Error("The set contains at least one similar element.")}}}catch(a){o.e(a)}finally{o.f()}return e.add(t),!0},Ce=function(e,t,n,r){var i=(0,p.Z)(n,2),o=i[0],a=i[1];Ae(e,[t,o,a],(function(e){return e[0]===t&&e[1]===o}),r)},ke=function(e,t,n){var r=(0,p.Z)(t,3),i=r[0],o=r[1],a=r[2],s=e.get(i);void 0===s?e.set(i,new Set([[o,a]])):Ae(s,[o,a],(function(e){return e[0]===o}),n)},xe=function(e){return"inputs"in e},we=function(e,t,n,r){if(xe(t)){var i=t.inputs[r];return e.connect(i,n,0),[i,n,0]}return e.connect(t,n,r),[t,n,r]},Se=function(e,t,n){var r,i=(0,me.Z)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o[0]===t&&o[1]===n)return e.delete(o),o}}catch(a){i.e(a)}finally{i.f()}return null},Fe=function(e,t){if(!Z(e).delete(t))throw new Error("Missing the expected event listener.")},Te=function(e,t,n){var r=H(e,t),i=z(r,(function(e){return e[0]===n}));return 0===r.size&&e.delete(t),i},Be=function(e,t,n,r){xe(t)?e.disconnect(t.inputs[r],n,0):e.disconnect(t,n,r)},qe=function(e){return H(T,e)},Oe=function(e){return H(q,e)},Me=function(e){return P.has(e)},Pe=function(e){return!S.has(e)},Ie=function(e,t){return new Promise((function(n){if(null!==t)n(!0);else{var r=e.createScriptProcessor(256,1,1),i=e.createGain(),o=e.createBuffer(1,2,44100),a=o.getChannelData(0);a[0]=1,a[1]=1;var s=e.createBufferSource();s.buffer=o,s.loop=!0,s.connect(r).connect(e.destination),s.connect(i),s.disconnect(i),r.onaudioprocess=function(t){var i=t.inputBuffer.getChannelData(0);Array.prototype.some.call(i,(function(e){return 1===e}))?n(!0):n(!1),s.stop(),r.onaudioprocess=null,s.disconnect(r),r.disconnect(e.destination)},s.start()}}))},Ne=function(e,t){var n,r=new Map,i=(0,me.Z)(e);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,s=(0,me.Z)(a);try{for(s.s();!(o=s.n()).done;){var u=o.value,c=r.get(u);r.set(u,void 0===c?1:c+1)}}catch(l){s.e(l)}finally{s.f()}}}catch(l){i.e(l)}finally{i.f()}r.forEach((function(e,n){return t(n,e)}))},Re=function(e){return"context"in e},Le=function(e){var t,n,r=new Map;e.connect=(t=e.connect.bind(e),function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=Re(e)?t(e,n,i):t(e,n),a=r.get(e);return void 0===a?r.set(e,[{input:i,output:n}]):a.every((function(e){return e.input!==i||e.output!==n}))&&a.push({input:i,output:n}),o}),e.disconnect=(n=e.disconnect,function(t,i,o){if(n.apply(e),void 0===t)r.clear();else if("number"===typeof t){var a,s=(0,me.Z)(r);try{for(s.s();!(a=s.n()).done;){var u=(0,p.Z)(a.value,2),c=u[0],l=u[1].filter((function(e){return e.output!==t}));0===l.length?r.delete(c):r.set(c,l)}}catch(v){s.e(v)}finally{s.f()}}else if(r.has(t))if(void 0===i)r.delete(t);else{var f=r.get(t);if(void 0!==f){var d=f.filter((function(e){return e.output!==i&&(e.input!==o||void 0===o)}));0===d.length?r.delete(t):r.set(t,d)}}var h,m=(0,me.Z)(r);try{var y=function(){var t=(0,p.Z)(h.value,2),n=t[0];t[1].forEach((function(t){Re(n)?e.connect(n,t.output,t.input):e.connect(n,t.output)}))};for(m.s();!(h=m.n()).done;)y()}catch(v){m.e(v)}finally{m.f()}})},je=function(e,t,n,r){var i=ve(t),o=i.activeInputs,a=i.passiveInputs,s=ye(e).outputs,u=Z(e),c=function(i){var s=qe(e),u=Oe(t);if(i){var c=Te(a,e,n);Ce(o,e,c,!1),r||Me(e)||s.connect(u,n)}else{var l=function(e,t,n){return z(e,(function(e){return e[0]===t&&e[1]===n}))}(o,e,n);ke(a,l,!1),r||Me(e)||s.disconnect(u,n)}};return!!Ae(s,[t,n],(function(e){return e[0]===t&&e[1]===n}),!0)&&(u.add(c),de(e)?Ce(o,e,[n,c],!0):ke(a,[e,n,c],!0),!0)},We=function(e,t,n,r,i){var o=function(e,t,n,r){var i=ye(t),o=i.activeInputs,a=i.passiveInputs,s=Se(o[r],e,n);return null===s?[V(a,e,n,r)[2],!1]:[s[2],!0]}(e,n,r,i),a=(0,p.Z)(o,2),s=a[0],u=a[1];if(null!==s&&(Fe(e,s),!u||t||Me(e)||Be(qe(e),qe(n),r,i)),de(n)){var c=ye(n).activeInputs;J(n,c)}},Ge=function(e,t,n,r){var i=function(e,t,n){var r=ve(t),i=r.activeInputs,o=r.passiveInputs,a=Se(i,e,n);return null===a?[Te(o,e,n)[1],!1]:[a[2],!0]}(e,n,r),o=(0,p.Z)(i,2),a=o[0],s=o[1];null!==a&&(Fe(e,a),!s||t||Me(e)||qe(e).disconnect(Oe(n),r))},He=function(){function e(t){(0,w.Z)(this,e),this._map=new Map(t)}return(0,x.Z)(e,[{key:"size",get:function(){return this._map.size}},{key:"entries",value:function(){return this._map.entries()}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._map.forEach((function(r,i){return e.call(n,r,i,t)}))}},{key:"get",value:function(e){return this._map.get(e)}},{key:"has",value:function(e){return this._map.has(e)}},{key:"keys",value:function(){return this._map.keys()}},{key:"values",value:function(){return this._map.values()}}]),e}(),ze={channelCount:2,channelCountMode:"explicit",channelInterpretation:"speakers",numberOfInputs:1,numberOfOutputs:1,parameterData:{},processorOptions:{}},Ve=__webpack_require__(4942);function Ze(e,t,n,r,i){if("function"===typeof e.copyFromChannel)0===t[n].byteLength&&(t[n]=new Float32Array(128)),e.copyFromChannel(t[n],r,i);else{var o=e.getChannelData(r);if(0===t[n].byteLength)t[n]=o.slice(i,i+128);else{var a=new Float32Array(o.buffer,i*Float32Array.BYTES_PER_ELEMENT,128);t[n].set(a)}}}var Ue=function(e,t,n,r,i){"function"===typeof e.copyToChannel?0!==t[n].byteLength&&e.copyToChannel(t[n],r,i):0!==t[n].byteLength&&e.getChannelData(r).set(t[n],i)},Ye=function(e,t){for(var n=[],r=0;r0&&null!==n)for(var u=0;u0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;if("number"===typeof i&&i<0||r<0||n<0)throw new RangeError("The parameters can't be negative.");t.call(e,n,r,i)}}(e.start)},Dt=function(e){var t;e.stop=(t=e.stop,function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(n<0)throw new RangeError("The parameter can't be negative.");t.call(e,n)})},bt=function(e,t){return null===e?512:Math.max(512,Math.min(16384,Math.pow(2,Math.round(Math.log2(e*t)))))},At=function(e){return new Promise((function(t,n){var r=new MessageChannel,i=r.port1,o=r.port2;i.onmessage=function(e){var n=e.data;i.close(),o.close(),t(n)},i.onmessageerror=function(e){var t=e.data;i.close(),o.close(),n(t)},o.postMessage(e)}))},Ct=function(){var e=(0,l.Z)(d().mark((function e(t,n){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,At(n);case 2:return r=e.sent,e.abrupt("return",new t(r));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),kt=function(e,t){var n=e.createBiquadFilter();return vt(n,t),_t(n,t,"Q"),_t(n,t,"detune"),_t(n,t,"frequency"),_t(n,t,"gain"),yt(n,t,"type"),n},xt=function(e,t){var n=e.createChannelSplitter(t.numberOfOutputs);return vt(n,t),function(e){var t=e.numberOfOutputs;Object.defineProperty(e,"channelCount",{get:function(){return t},set:function(e){if(e!==t)throw st()}}),Object.defineProperty(e,"channelCountMode",{get:function(){return"explicit"},set:function(e){if("explicit"!==e)throw st()}}),Object.defineProperty(e,"channelInterpretation",{get:function(){return"discrete"},set:function(e){if("discrete"!==e)throw st()}})}(n),n};function wt(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var St=function(e,t){return e.connect=t.connect.bind(t),e.disconnect=t.disconnect.bind(t),e},Ft=["offset"],Tt=function(e,t){var n=e.createDelay(t.maxDelayTime);return vt(n,t),_t(n,t,"delayTime"),n},Bt=function(e,t){var n=e.createGain();return vt(n,t),_t(n,t,"gain"),n};function qt(e,t){var n=t[0]*t[0]+t[1]*t[1];return[(e[0]*t[0]+e[1]*t[1])/n,(e[1]*t[0]-e[0]*t[1])/n]}function Ot(e,t){for(var n,r,i=[0,0],o=e.length-1;o>=0;o-=1)r=t,(i=[(n=i)[0]*r[0]-n[1]*r[1],n[0]*r[1]+n[1]*r[0]])[0]+=e[o];return i}var Mt,Pt,It,Nt,Rt,Lt,jt=["coneInnerAngle","coneOuterAngle","coneOuterGain","distanceModel","maxDistance","orientationX","orientationY","orientationZ","panningModel","positionX","positionY","positionZ","refDistance","rolloffFactor"],Wt=function(e,t,n,r){return e.createScriptProcessor(t,n,r)},Gt=["channelCount","channelCountMode","pan"],Ht=["curve","oversample"],zt=function(){return new DOMException("","NotSupportedError")},Vt={numberOfChannels:1},Zt={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",detune:0,frequency:440,periodicWave:void 0,type:"sine"},Ut={channelCount:2,channelCountMode:"clamped-max",channelInterpretation:"speakers",coneInnerAngle:360,coneOuterAngle:360,coneOuterGain:0,distanceModel:"inverse",maxDistance:1e4,orientationX:1,orientationY:0,orientationZ:0,panningModel:"equalpower",positionX:0,positionY:0,positionZ:0,refDistance:1,rolloffFactor:1},Yt={disableNormalization:!1},Kt={channelCount:2,channelCountMode:"explicit",channelInterpretation:"speakers",pan:0},Jt=function(){return new DOMException("","UnknownError")},Xt={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",curve:null,oversample:"none"},Qt=function(e,t,n){return void 0===e.copyFromChannel?e.getChannelData(n)[0]:(e.copyFromChannel(t,n),t[0])},$t=function(e){if(null===e)return!1;var t=e.length;return t%2!==0?0!==e[Math.floor(t/2)]:e[t/2-1]+e[t/2]!==0},en=function(e,t,n,r){for(var i=e;!i.hasOwnProperty(t);)i=Object.getPrototypeOf(i);var o=Object.getOwnPropertyDescriptor(i,t),a=o.get,s=o.set;Object.defineProperty(e,t,{get:n(a),set:r(s)})},tn=function(e){var t=e.createOscillator();try{t.start(-1)}catch(n){return n instanceof RangeError}return!1},nn=function(e){var t=e.createBuffer(1,1,44100),n=e.createBufferSource();n.buffer=t,n.start(),n.stop();try{return n.stop(),!0}catch(r){return!1}},rn=function(e){var t=e.createOscillator();try{t.stop(-1)}catch(n){return n instanceof RangeError}return!1},on=function(){try{new DOMException}catch(e){return!1}return!0},an=function(){return new Promise((function(e){var t=new ArrayBuffer(0),n=new MessageChannel,r=n.port1,i=n.port2;r.onmessage=function(t){var n=t.data;return e(null!==n)},i.postMessage(t,[t])}))},sn=function(e,t){var n=t.createGain();e.connect(n);var r,i=(r=e.disconnect,function(){r.call(e,n),e.removeEventListener("ended",i)});e.addEventListener("ended",i),St(e,n),e.stop=function(t){var r=!1;return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(r)try{t.call(e,i)}catch(o){n.gain.setValueAtTime(0,i)}else t.call(e,i),r=!0}}(e.stop)},un=function(e,t){return function(n){var r={value:e};return Object.defineProperties(n,{currentTarget:r,target:r}),"function"===typeof t?t.call(e,n):t.handleEvent.call(e,n)}},cn=function(e){return function(t,n,r,i){var o=(0,p.Z)(r,3),a=o[0],s=o[1],u=o[2];e(t[s],[n,a,u],(function(e){return e[0]===n&&e[1]===a}),i)}}(Ae),ln=function(e){return function(t,n,r,i){var o=(0,p.Z)(r,3),a=o[0],s=o[1],u=o[2],c=t.get(a);void 0===c?t.set(a,new Set([[s,n,u]])):e(c,[s,n,u],(function(e){return e[0]===s&&e[1]===n}),i)}}(Ae),pn=function(e){return function(t,n,r,i){return e(t[i],(function(e){return e[0]===n&&e[1]===r}))}}(z),fn=new WeakMap,dn=function(e){return function(t){var n;return null!==(n=e.get(t))&&void 0!==n?n:0}}(fn),hn=(Mt=new Map,Pt=new WeakMap,function(e,t){var n=Pt.get(e);if(void 0!==n)return n;var r=Mt.get(e);if(void 0!==r)return r;try{var i=t();return i instanceof Promise?(Mt.set(e,i),i.catch((function(){return!1})).then((function(t){return Mt.delete(e),Pt.set(e,t),t}))):(Pt.set(e,i),i)}catch(o){return Pt.set(e,!1),!1}}),mn="undefined"===typeof window?null:window,yn=function(e,t){return function(n,r){var i=n.createAnalyser();if(vt(i,r),!(r.maxDecibels>r.minDecibels))throw t();return yt(i,r,"fftSize"),yt(i,r,"maxDecibels"),yt(i,r,"minDecibels"),yt(i,r,"smoothingTimeConstant"),e(gt,(function(){return gt(i)}))||function(e){e.getFloatTimeDomainData=function(t){var n=new Uint8Array(t.length);e.getByteTimeDomainData(n);for(var r=Math.max(n.length,e.fftSize),i=0;i1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n<0||n>=this._nativeAudioNode.numberOfOutputs)throw i();var c=l(this._context),p=m(c);if(f(e)||d(e))throw o();if(De(e)){var y=qe(e);try{var v,g=we(this._nativeAudioNode,y,n,s),_=Pe(this);if(p||_)(v=this._nativeAudioNode).disconnect.apply(v,(0,h.Z)(g));"closed"!==this.context.state&&!_&&Pe(e)&&U(e)}catch(k){if(12===k.code)throw o();throw k}var E=t(this,e,n,s,p);if(E){var D=u([this],e);Ne(D,r(p))}return e}var b=Oe(e);if("playbackRate"===b.name&&1024===b.maxValue)throw a();try{this._nativeAudioNode.connect(b,n),(p||Pe(this))&&this._nativeAudioNode.disconnect(b,n)}catch(k){if(12===k.code)throw o();throw k}var A=je(this,e,n,p);if(A){var C=u([this],e);Ne(C,r(p))}}},{key:"disconnect",value:function(e,t,n){var r,a=l(this._context),c=m(a);if(void 0===e)r=function(e,t){var n,r=ye(e),i=[],o=(0,me.Z)(r.outputs);try{for(o.s();!(n=o.n()).done;){var a=n.value;be(a)?We.apply(void 0,[e,t].concat((0,h.Z)(a))):Ge.apply(void 0,[e,t].concat((0,h.Z)(a))),i.push(a[0])}}catch(s){o.e(s)}finally{o.f()}return r.outputs.clear(),i}(this,c);else if("number"===typeof e){if(e<0||e>=this.numberOfOutputs)throw i();r=function(e,t,n){var r,i=ye(e),o=[],a=(0,me.Z)(i.outputs);try{for(a.s();!(r=a.n()).done;){var s=r.value;s[1]===n&&(be(s)?We.apply(void 0,[e,t].concat((0,h.Z)(s))):Ge.apply(void 0,[e,t].concat((0,h.Z)(s))),o.push(s[0]),i.outputs.delete(s))}}catch(u){a.e(u)}finally{a.f()}return o}(this,c,e)}else{if(void 0!==t&&(t<0||t>=this.numberOfOutputs))throw i();if(De(e)&&void 0!==n&&(n<0||n>=e.numberOfInputs))throw i();if(r=function(e,t,n,r,i){var o=ye(e);return Array.from(o.outputs).filter((function(e){return e[0]===n&&(void 0===r||e[1]===r)&&(void 0===i||e[2]===i)})).map((function(n){return be(n)?We.apply(void 0,[e,t].concat((0,h.Z)(n))):Ge.apply(void 0,[e,t].concat((0,h.Z)(n))),o.outputs.delete(n),n[0]}))}(this,c,e,t,n),0===r.length)throw o()}var p,f=(0,me.Z)(r);try{for(f.s();!(p=f.n()).done;){var d=p.value,y=u([this],d);Ne(y,s)}}catch(v){f.e(v)}finally{f.f()}}}]),g}(c)}((Nt=F,function(e,t,n){for(var r=[],i=0;ithis._nativeAnalyserNode.minDecibels))throw this._nativeAnalyserNode.maxDecibels=t,n()}},{key:"minDecibels",get:function(){return this._nativeAnalyserNode.minDecibels},set:function(e){var t=this._nativeAnalyserNode.minDecibels;if(this._nativeAnalyserNode.minDecibels=e,!(this._nativeAnalyserNode.maxDecibels>e))throw this._nativeAnalyserNode.minDecibels=t,n()}},{key:"smoothingTimeConstant",get:function(){return this._nativeAnalyserNode.smoothingTimeConstant},set:function(e){this._nativeAnalyserNode.smoothingTimeConstant=e}},{key:"getByteFrequencyData",value:function(e){this._nativeAnalyserNode.getByteFrequencyData(e)}},{key:"getByteTimeDomainData",value:function(e){this._nativeAnalyserNode.getByteTimeDomainData(e)}},{key:"getFloatFrequencyData",value:function(e){this._nativeAnalyserNode.getFloatFrequencyData(e)}},{key:"getFloatTimeDomainData",value:function(e){this._nativeAnalyserNode.getFloatTimeDomainData(e)}}]),s}(e)}(Tn,_n,ue,yn,En,bn),qn=new WeakSet,On=function(e){return null===e?null:e.hasOwnProperty("AudioBuffer")?e.AudioBuffer:null}(mn),Mn=(Rt=new Uint32Array(1),function(e){return Rt[0]=e,Rt[0]}),Pn=function(e,t){return function(n){n.copyFromChannel=function(r,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=e(o),s=e(i);if(s>=n.numberOfChannels)throw t();for(var u=n.length,c=n.getChannelData(s),l=r.length,p=a<0?-a:0;p+a2&&void 0!==arguments[2]?arguments[2]:0,a=e(o),s=e(i);if(s>=n.numberOfChannels)throw t();for(var u=n.length,c=n.getChannelData(s),l=r.length,p=a<0?-a:0;p+a2&&void 0!==arguments[2]?arguments[2]:0,a=e(o),s=e(i);if(a2&&void 0!==arguments[2]?arguments[2]:0,a=e(o),s=e(i);if(a0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;if(n)throw st();t.call(e,r,i,o),n=!0}}(e.start)}(d),t(r,(function(){return r(p)}))||u(d),t(i,(function(){return i(p)}))||c(d,p),t(o,(function(){return o(p)}))||Et(d),t(a,(function(){return a(p)}))||l(d,p),t(s,(function(){return s(p)}))||Dt(d),e(p,d),d}}(Rn,hn,(function(e){var t=e.createBufferSource();t.start();try{t.start()}catch(n){return!0}return!1}),(function(e){var t=e.createBufferSource(),n=e.createBuffer(1,1,44100);t.buffer=n;try{t.start(0,1)}catch(r){return!1}return!0}),(function(e){var t=e.createBufferSource();t.start();try{t.stop()}catch(n){return!1}return!0}),tn,nn,rn,(function(e){e.start=function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0,o=e.buffer,a=null===o?r:Math.min(o.duration,r);null!==o&&a>o.duration-.5/e.context.sampleRate?t.call(e,n,0,0):t.call(e,n,a,i)}}(e.start)}),function(e){return function(t,n){var r=n.createBuffer(1,1,44100);null===t.buffer&&(t.buffer=r),e(t,"buffer",(function(e){return function(){var n=e.call(t);return n===r?null:n}}),(function(e){return function(n){return e.call(t,null===n?r:n)}}))}}(en),sn),Gn=function(e,t){return function(n,r,i){return e(r).replay(i),t(r,n,i)}}(function(e){return function(t){var n=e(t);if(null===n.renderer)throw new Error("Missing the renderer of the given AudioParam in the audio graph.");return n.renderer}}(ve),Ln),Hn=function(e,t,n,r,i){return function(){var o=new WeakMap,a=null,s=null,u=function(){var u=(0,l.Z)(d().mark((function u(c,l){var p,f,m,y;return d().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(p=n(c),(f=ae(p,l))||(m={buffer:p.buffer,channelCount:p.channelCount,channelCountMode:p.channelCountMode,channelInterpretation:p.channelInterpretation,loop:p.loop,loopEnd:p.loopEnd,loopStart:p.loopStart,playbackRate:p.playbackRate.value},p=t(l,m),null!==a&&(y=p).start.apply(y,(0,h.Z)(a)),null!==s&&p.stop(s)),o.set(l,p),f){u.next=9;break}return u.next=7,r(l,c.playbackRate,p.playbackRate);case 7:u.next=11;break;case 9:return u.next=11,e(l,c.playbackRate,p.playbackRate);case 11:return u.next=13,i(c,l,p);case 13:return u.abrupt("return",p);case 14:case"end":return u.stop()}}),u)})));return function(e,t){return u.apply(this,arguments)}}();return{set start(e){a=e},set stop(e){s=e},render:function(e,t){var n=o.get(t);return void 0!==n?Promise.resolve(n):u(e,t)}}}}(jn,Wn,qe,Gn,gn),zn=function(e,t,n,r,i,o,a,s,u,c,l,p,f){return function(d,h,m){var y=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,v=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,g=new k.AutomationEventList(m.defaultValue),_=h?r(g):null,E={get defaultValue(){return m.defaultValue},get maxValue(){return null===y?m.maxValue:y},get minValue(){return null===v?m.minValue:v},get value(){return m.value},set value(e){m.value=e,E.setValueAtTime(e,d.context.currentTime)},cancelAndHoldAtTime:function(e){if("function"===typeof m.cancelAndHoldAtTime)null===_&&g.flush(d.context.currentTime),g.add(i(e)),m.cancelAndHoldAtTime(e);else{var t=Array.from(g).pop();null===_&&g.flush(d.context.currentTime),g.add(i(e));var n=Array.from(g).pop();m.cancelScheduledValues(e),t!==n&&void 0!==n&&("exponentialRampToValue"===n.type?m.exponentialRampToValueAtTime(n.value,n.endTime):"linearRampToValue"===n.type?m.linearRampToValueAtTime(n.value,n.endTime):"setValue"===n.type?m.setValueAtTime(n.value,n.startTime):"setValueCurve"===n.type&&m.setValueCurveAtTime(n.values,n.startTime,n.duration))}return E},cancelScheduledValues:function(e){return null===_&&g.flush(d.context.currentTime),g.add(o(e)),m.cancelScheduledValues(e),E},exponentialRampToValueAtTime:function(e,t){if(0===e)throw new RangeError;if(!Number.isFinite(t)||t<0)throw new RangeError;return null===_&&g.flush(d.context.currentTime),g.add(a(e,t)),m.exponentialRampToValueAtTime(e,t),E},linearRampToValueAtTime:function(e,t){return null===_&&g.flush(d.context.currentTime),g.add(s(e,t)),m.linearRampToValueAtTime(e,t),E},setTargetAtTime:function(e,t,n){return null===_&&g.flush(d.context.currentTime),g.add(u(e,t,n)),m.setTargetAtTime(e,t,n),E},setValueAtTime:function(e,t){return null===_&&g.flush(d.context.currentTime),g.add(c(e,t)),m.setValueAtTime(e,t),E},setValueCurveAtTime:function(e,t,n){var r=e instanceof Float32Array?e:new Float32Array(e);if(null!==p&&"webkitAudioContext"===p.name){for(var i=t+n,o=d.context.sampleRate,a=Math.ceil(t*o),s=Math.floor(i*o),u=s-a,c=new Float32Array(u),h=0;h0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;if(this._nativeAudioBufferSourceNode.start(t,n,r),null!==this._audioBufferSourceNodeRenderer&&(this._audioBufferSourceNodeRenderer.start=void 0===r?[t,n]:[t,n,r]),"closed"!==this.context.state){U(this);var i=function t(){e._nativeAudioBufferSourceNode.removeEventListener("ended",t),de(e)&&K(e)};this._nativeAudioBufferSourceNode.addEventListener("ended",i)}}},{key:"stop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._nativeAudioBufferSourceNode.stop(e),null!==this._audioBufferSourceNodeRenderer&&(this._audioBufferSourceNodeRenderer.stop=e)}}]),c}(e)}(Tn,Hn,zn,st,Wn,En,bn,un),Zn=function(e,t,n,r,i,o,a,s){return function(e){Q(c,e);var u=ie(c);function c(e,n){var r;(0,w.Z)(this,c);var l=o(e),p=a(l),f=i(l,n,p),d=p?t(s):null;return(r=u.call(this,e,!1,f,d))._isNodeOfNativeOfflineAudioContext=p,r._nativeAudioDestinationNode=f,r}return(0,x.Z)(c,[{key:"channelCount",get:function(){return this._nativeAudioDestinationNode.channelCount},set:function(e){if(this._isNodeOfNativeOfflineAudioContext)throw r();if(e>this._nativeAudioDestinationNode.maxChannelCount)throw n();this._nativeAudioDestinationNode.channelCount=e}},{key:"channelCountMode",get:function(){return this._nativeAudioDestinationNode.channelCountMode},set:function(e){if(this._isNodeOfNativeOfflineAudioContext)throw r();this._nativeAudioDestinationNode.channelCountMode=e}},{key:"maxChannelCount",get:function(){return this._nativeAudioDestinationNode.maxChannelCount}}]),c}(e)}(Tn,(function(e){var t=new WeakMap,n=function(){var n=(0,l.Z)(d().mark((function n(r,i){var o;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=i.destination,t.set(i,o),n.next=4,e(r,i,o);case 4:return n.abrupt("return",o);case 5:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}();return{render:function(e,r){var i=t.get(r);return void 0!==i?Promise.resolve(i):n(e,r)}}}),ue,st,function(e,t){return function(n,r,i){var o=n.destination;if(o.channelCount!==r)try{o.channelCount=r}catch(s){}i&&"explicit"!==o.channelCountMode&&(o.channelCountMode="explicit"),0===o.maxChannelCount&&Object.defineProperty(o,"maxChannelCount",{value:r});var a=e(n,{channelCount:r,channelCountMode:o.channelCountMode,channelInterpretation:o.channelInterpretation,gain:1});return t(a,"channelCount",(function(e){return function(){return e.call(a)}}),(function(e){return function(t){e.call(a,t);try{o.channelCount=t}catch(n){if(t>o.maxChannelCount)throw n}}})),t(a,"channelCountMode",(function(e){return function(){return e.call(a)}}),(function(e){return function(t){e.call(a,t),o.channelCountMode=t}})),t(a,"channelInterpretation",(function(e){return function(){return e.call(a)}}),(function(e){return function(t){e.call(a,t),o.channelInterpretation=t}})),Object.defineProperty(a,"maxChannelCount",{get:function(){return o.maxChannelCount}}),a.connect(o),a}}(Bt,en),En,bn,gn),Un=function(e,t,n,r,i){return function(){var o=new WeakMap,a=function(){var a=(0,l.Z)(d().mark((function a(s,u){var c,l,p;return d().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(c=n(s),(l=ae(c,u))||(p={Q:c.Q.value,channelCount:c.channelCount,channelCountMode:c.channelCountMode,channelInterpretation:c.channelInterpretation,detune:c.detune.value,frequency:c.frequency.value,gain:c.gain.value,type:c.type},c=t(u,p)),o.set(u,c),l){a.next=15;break}return a.next=7,r(u,s.Q,c.Q);case 7:return a.next=9,r(u,s.detune,c.detune);case 9:return a.next=11,r(u,s.frequency,c.frequency);case 11:return a.next=13,r(u,s.gain,c.gain);case 13:a.next=23;break;case 15:return a.next=17,e(u,s.Q,c.Q);case 17:return a.next=19,e(u,s.detune,c.detune);case 19:return a.next=21,e(u,s.frequency,c.frequency);case 21:return a.next=23,e(u,s.gain,c.gain);case 23:return a.next=25,i(s,u,c);case 25:return a.abrupt("return",c);case 26:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}();return{render:function(e,t){var n=o.get(t);return void 0!==n?Promise.resolve(n):a(e,t)}}}}(jn,kt,qe,Gn,gn),Yn=function(e){return function(t,n){return e.set(t,n)}}(fn),Kn=function(e,t,n,r,i,o,a,s){return function(e){Q(c,e);var u=ie(c);function c(e,r){var l;(0,w.Z)(this,c);var p=o(e),f=(0,b.Z)((0,b.Z)({},Xe),r),d=i(p,f),h=a(p),m=h?n():null;return(l=u.call(this,e,!1,d,m))._Q=t(ne(l),h,d.Q,fe,pe),l._detune=t(ne(l),h,d.detune,1200*Math.log2(fe),-1200*Math.log2(fe)),l._frequency=t(ne(l),h,d.frequency,e.sampleRate/2,0),l._gain=t(ne(l),h,d.gain,40*Math.log10(fe),pe),l._nativeBiquadFilterNode=d,s(ne(l),1),l}return(0,x.Z)(c,[{key:"detune",get:function(){return this._detune}},{key:"frequency",get:function(){return this._frequency}},{key:"gain",get:function(){return this._gain}},{key:"Q",get:function(){return this._Q}},{key:"type",get:function(){return this._nativeBiquadFilterNode.type},set:function(e){this._nativeBiquadFilterNode.type=e}},{key:"getFrequencyResponse",value:function(e,t,n){try{this._nativeBiquadFilterNode.getFrequencyResponse(e,t,n)}catch(i){if(11===i.code)throw r();throw i}if(e.length!==t.length||t.length!==n.length)throw r()}}]),c}(e)}(Tn,zn,Un,ut,kt,En,bn,Yn),Jn=function(e,t){return function(n,r,i){var o,a,s=new Set;return n.connect=(o=n.connect,function(i){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,c=0===s.size;if(t(i))return o.call(n,i,a,u),e(s,[i,a,u],(function(e){return e[0]===i&&e[1]===a&&e[2]===u}),!0),c&&r(),i;o.call(n,i,a),e(s,[i,a],(function(e){return e[0]===i&&e[1]===a}),!0),c&&r()}),n.disconnect=(a=n.disconnect,function(e,r,o){var u=s.size>0;if(void 0===e)a.apply(n),s.clear();else if("number"===typeof e){a.call(n,e);var c,l=(0,me.Z)(s);try{for(l.s();!(c=l.n()).done;){var p=c.value;p[1]===e&&s.delete(p)}}catch(y){l.e(y)}finally{l.f()}}else{t(e)?a.call(n,e,r,o):a.call(n,e,r);var f,d=(0,me.Z)(s);try{for(d.s();!(f=d.n()).done;){var h=f.value;h[0]!==e||void 0!==r&&h[1]!==r||void 0!==o&&h[2]!==o||s.delete(h)}}catch(y){d.e(y)}finally{d.f()}}var m=0===s.size;u&&m&&i()}),n}}(Ae,wn),Xn=function(e,t){return function(n,r){r.channelCount=1,r.channelCountMode="explicit",Object.defineProperty(r,"channelCount",{get:function(){return 1},set:function(){throw e()}}),Object.defineProperty(r,"channelCountMode",{get:function(){return"explicit"},set:function(){throw e()}});var i=n.createBufferSource();t(r,(function(){for(var e=r.numberOfInputs,t=0;t0&&void 0!==arguments[0]?arguments[0]:0;c.start.call(c,e)},stop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;c.stop.call(c,e)}};return e(i,c),r(St(f,l),(function(){return c.connect(l)}),(function(){return c.disconnect(l)}))}}(Rn,Wn,Bt,Jn),ir=function(e,t,n,r,i){return function(o,a){if(void 0===o.createConstantSource)return n(o,a);var s=o.createConstantSource();return vt(s,a),_t(s,a,"offset"),t(r,(function(){return r(o)}))||Et(s),t(i,(function(){return i(o)}))||Dt(s),e(o,s),s}}(Rn,hn,rr,tn,rn),or=function(e,t,n,r,i){return function(){var o=new WeakMap,a=null,s=null,u=function(){var u=(0,l.Z)(d().mark((function u(c,l){var p,f,h;return d().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(p=n(c),(f=ae(p,l))||(h={channelCount:p.channelCount,channelCountMode:p.channelCountMode,channelInterpretation:p.channelInterpretation,offset:p.offset.value},p=t(l,h),null!==a&&p.start(a),null!==s&&p.stop(s)),o.set(l,p),f){u.next=9;break}return u.next=7,r(l,c.offset,p.offset);case 7:u.next=11;break;case 9:return u.next=11,e(l,c.offset,p.offset);case 11:return u.next=13,i(c,l,p);case 13:return u.abrupt("return",p);case 14:case"end":return u.stop()}}),u)})));return function(e,t){return u.apply(this,arguments)}}();return{set start(e){a=e},set stop(e){s=e},render:function(e,t){var n=o.get(t);return void 0!==n?Promise.resolve(n):u(e,t)}}}}(jn,ir,qe,Gn,gn),ar=function(e,t,n,r,i,o,a){return function(e){Q(u,e);var s=ie(u);function u(e,a){var c;(0,w.Z)(this,u);var l=i(e),p=(0,b.Z)((0,b.Z)({},et),a),f=r(l,p),d=o(l),h=d?n():null;return(c=s.call(this,e,!1,f,h))._constantSourceNodeRenderer=h,c._nativeConstantSourceNode=f,c._offset=t(ne(c),d,f.offset,fe,pe),c._onended=null,c}return(0,x.Z)(u,[{key:"offset",get:function(){return this._offset}},{key:"onended",get:function(){return this._onended},set:function(e){var t="function"===typeof e?a(this,e):null;this._nativeConstantSourceNode.onended=t;var n=this._nativeConstantSourceNode.onended;this._onended=null!==n&&n===t?e:n}},{key:"start",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this._nativeConstantSourceNode.start(t),null!==this._constantSourceNodeRenderer&&(this._constantSourceNodeRenderer.start=t),"closed"!==this.context.state){U(this);var n=function t(){e._nativeConstantSourceNode.removeEventListener("ended",t),de(e)&&K(e)};this._nativeConstantSourceNode.addEventListener("ended",n)}}},{key:"stop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._nativeConstantSourceNode.stop(e),null!==this._constantSourceNodeRenderer&&(this._constantSourceNodeRenderer.stop=e)}}]),u}(e)}(Tn,zn,or,ir,En,bn,un),sr=function(e,t){return function(n,r){var i=n.createConvolver();if(vt(i,r),r.disableNormalization===i.normalize&&(i.normalize=!r.disableNormalization),yt(i,r,"buffer"),r.channelCount>2)throw e();if(t(i,"channelCount",(function(e){return function(){return e.call(i)}}),(function(t){return function(n){if(n>2)throw e();return t.call(i,n)}})),"max"===r.channelCountMode)throw e();return t(i,"channelCountMode",(function(e){return function(){return e.call(i)}}),(function(t){return function(n){if("max"===n)throw e();return t.call(i,n)}})),i}}(zt,en),ur=function(e,t,n){return function(){var r=new WeakMap,i=function(){var i=(0,l.Z)(d().mark((function i(o,a){var s,u;return d().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(s=t(o),ae(s,a)||(u={buffer:s.buffer,channelCount:s.channelCount,channelCountMode:s.channelCountMode,channelInterpretation:s.channelInterpretation,disableNormalization:!s.normalize},s=e(a,u)),r.set(a,s),!xe(s)){i.next=9;break}return i.next=7,n(o,a,s.inputs[0]);case 7:i.next=11;break;case 9:return i.next=11,n(o,a,s);case 11:return i.abrupt("return",s);case 12:case"end":return i.stop()}}),i)})));return function(e,t){return i.apply(this,arguments)}}();return{render:function(e,t){var n=r.get(t);return void 0!==n?Promise.resolve(n):i(e,t)}}}}(sr,qe,gn),cr=function(e,t,n,r,i,o){return function(e){Q(s,e);var a=ie(s);function s(e,u){var c;(0,w.Z)(this,s);var l=r(e),p=(0,b.Z)((0,b.Z)({},tt),u),f=n(l,p),d=i(l)?t():null;return(c=a.call(this,e,!1,f,d))._isBufferNullified=!1,c._nativeConvolverNode=f,null!==p.buffer&&o(ne(c),p.buffer.duration),c}return(0,x.Z)(s,[{key:"buffer",get:function(){return this._isBufferNullified?null:this._nativeConvolverNode.buffer},set:function(e){if(this._nativeConvolverNode.buffer=e,null===e&&null!==this._nativeConvolverNode.buffer){var t=this._nativeConvolverNode.context;this._nativeConvolverNode.buffer=t.createBuffer(1,1,44100),this._isBufferNullified=!0,o(this,0)}else this._isBufferNullified=!1,o(this,null===this._nativeConvolverNode.buffer?0:this._nativeConvolverNode.buffer.duration)}},{key:"normalize",get:function(){return this._nativeConvolverNode.normalize},set:function(e){this._nativeConvolverNode.normalize=e}}]),s}(e)}(Tn,ur,sr,En,bn,Yn),lr=function(e,t,n,r,i){return function(o){var a=new WeakMap,s=function(){var s=(0,l.Z)(d().mark((function s(u,c){var l,p,f;return d().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(l=n(u),(p=ae(l,c))||(f={channelCount:l.channelCount,channelCountMode:l.channelCountMode,channelInterpretation:l.channelInterpretation,delayTime:l.delayTime.value,maxDelayTime:o},l=t(c,f)),a.set(c,l),p){s.next=9;break}return s.next=7,r(c,u.delayTime,l.delayTime);case 7:s.next=11;break;case 9:return s.next=11,e(c,u.delayTime,l.delayTime);case 11:return s.next=13,i(u,c,l);case 13:return s.abrupt("return",l);case 14:case"end":return s.stop()}}),s)})));return function(e,t){return s.apply(this,arguments)}}();return{render:function(e,t){var n=a.get(t);return void 0!==n?Promise.resolve(n):s(e,t)}}}}(jn,Tt,qe,Gn,gn),pr=function(e,t,n,r,i,o,a){return function(e){Q(u,e);var s=ie(u);function u(e,c){var l;(0,w.Z)(this,u);var p=i(e),f=(0,b.Z)((0,b.Z)({},rt),c),d=r(p,f),h=o(p),m=h?n(f.maxDelayTime):null;return(l=s.call(this,e,!1,d,m))._delayTime=t(ne(l),h,d.delayTime),a(ne(l),f.maxDelayTime),l}return(0,x.Z)(u,[{key:"delayTime",get:function(){return this._delayTime}}]),u}(e)}(Tn,zn,lr,Tt,En,bn,Yn),fr=function(e){return function(t,n){var r=t.createDynamicsCompressor();if(vt(r,n),n.channelCount>2)throw e();if("max"===n.channelCountMode)throw e();return _t(r,n,"attack"),_t(r,n,"knee"),_t(r,n,"ratio"),_t(r,n,"release"),_t(r,n,"threshold"),r}}(zt),dr=function(e,t,n,r,i){return function(){var o=new WeakMap,a=function(){var a=(0,l.Z)(d().mark((function a(s,u){var c,l,p;return d().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(c=n(s),(l=ae(c,u))||(p={attack:c.attack.value,channelCount:c.channelCount,channelCountMode:c.channelCountMode,channelInterpretation:c.channelInterpretation,knee:c.knee.value,ratio:c.ratio.value,release:c.release.value,threshold:c.threshold.value},c=t(u,p)),o.set(u,c),l){a.next=17;break}return a.next=7,r(u,s.attack,c.attack);case 7:return a.next=9,r(u,s.knee,c.knee);case 9:return a.next=11,r(u,s.ratio,c.ratio);case 11:return a.next=13,r(u,s.release,c.release);case 13:return a.next=15,r(u,s.threshold,c.threshold);case 15:a.next=27;break;case 17:return a.next=19,e(u,s.attack,c.attack);case 19:return a.next=21,e(u,s.knee,c.knee);case 21:return a.next=23,e(u,s.ratio,c.ratio);case 23:return a.next=25,e(u,s.release,c.release);case 25:return a.next=27,e(u,s.threshold,c.threshold);case 27:return a.next=29,i(s,u,c);case 29:return a.abrupt("return",c);case 30:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}();return{render:function(e,t){var n=o.get(t);return void 0!==n?Promise.resolve(n):a(e,t)}}}}(jn,fr,qe,Gn,gn),hr=function(e,t,n,r,i,o,a,s){return function(e){Q(c,e);var u=ie(c);function c(e,i){var l;(0,w.Z)(this,c);var p=o(e),f=(0,b.Z)((0,b.Z)({},ot),i),d=r(p,f),h=a(p),m=h?n():null;return(l=u.call(this,e,!1,d,m))._attack=t(ne(l),h,d.attack),l._knee=t(ne(l),h,d.knee),l._nativeDynamicsCompressorNode=d,l._ratio=t(ne(l),h,d.ratio),l._release=t(ne(l),h,d.release),l._threshold=t(ne(l),h,d.threshold),s(ne(l),.006),l}return(0,x.Z)(c,[{key:"attack",get:function(){return this._attack}},{key:"channelCount",get:function(){return this._nativeDynamicsCompressorNode.channelCount},set:function(e){var t=this._nativeDynamicsCompressorNode.channelCount;if(this._nativeDynamicsCompressorNode.channelCount=e,e>2)throw this._nativeDynamicsCompressorNode.channelCount=t,i()}},{key:"channelCountMode",get:function(){return this._nativeDynamicsCompressorNode.channelCountMode},set:function(e){var t=this._nativeDynamicsCompressorNode.channelCountMode;if(this._nativeDynamicsCompressorNode.channelCountMode=e,"max"===e)throw this._nativeDynamicsCompressorNode.channelCountMode=t,i()}},{key:"knee",get:function(){return this._knee}},{key:"ratio",get:function(){return this._ratio}},{key:"reduction",get:function(){return"number"===typeof this._nativeDynamicsCompressorNode.reduction.value?this._nativeDynamicsCompressorNode.reduction.value:this._nativeDynamicsCompressorNode.reduction}},{key:"release",get:function(){return this._release}},{key:"threshold",get:function(){return this._threshold}}]),c}(e)}(Tn,zn,dr,fr,zt,En,bn,Yn),mr=function(e,t,n,r,i){return function(){var o=new WeakMap,a=function(){var a=(0,l.Z)(d().mark((function a(s,u){var c,l,p;return d().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(c=n(s),(l=ae(c,u))||(p={channelCount:c.channelCount,channelCountMode:c.channelCountMode,channelInterpretation:c.channelInterpretation,gain:c.gain.value},c=t(u,p)),o.set(u,c),l){a.next=9;break}return a.next=7,r(u,s.gain,c.gain);case 7:a.next=11;break;case 9:return a.next=11,e(u,s.gain,c.gain);case 11:return a.next=13,i(s,u,c);case 13:return a.abrupt("return",c);case 14:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}();return{render:function(e,t){var n=o.get(t);return void 0!==n?Promise.resolve(n):a(e,t)}}}}(jn,Bt,qe,Gn,gn),yr=function(e,t,n,r,i,o){return function(e){Q(s,e);var a=ie(s);function s(e,u){var c;(0,w.Z)(this,s);var l=i(e),p=(0,b.Z)((0,b.Z)({},at),u),f=r(l,p),d=o(l),h=d?n():null;return(c=a.call(this,e,!1,f,h))._gain=t(ne(c),d,f.gain,fe,pe),c}return(0,x.Z)(s,[{key:"gain",get:function(){return this._gain}}]),s}(e)}(Tn,zn,mr,Bt,En,bn),vr=function(e,t,n,r){return function(i,o,a){var s=a.channelCount,u=a.channelCountMode,c=a.channelInterpretation,l=a.feedback,p=a.feedforward,f=bt(o,i.sampleRate),d=l instanceof Float64Array?l:new Float64Array(l),h=p instanceof Float64Array?p:new Float64Array(p),m=d.length,y=h.length,v=Math.min(m,y);if(0===m||m>20)throw r();if(0===d[0])throw t();if(0===y||y>20)throw r();if(0===h[0])throw t();if(1!==d[0]){for(var g=0;g0&&void 0!==arguments[0]?arguments[0]:0;if(this._nativeOscillatorNode.start(t),null!==this._oscillatorNodeRenderer&&(this._oscillatorNodeRenderer.start=t),"closed"!==this.context.state){U(this);var n=function t(){e._nativeOscillatorNode.removeEventListener("ended",t),de(e)&&K(e)};this._nativeOscillatorNode.addEventListener("ended",n)}}},{key:"stop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._nativeOscillatorNode.stop(e),null!==this._oscillatorNodeRenderer&&(this._oscillatorNodeRenderer.stop=e)}}]),u}(e)}(Tn,zn,kr,xr,En,bn,un),Sr=function(e){return function(t,n){var r=e(t,{buffer:null,channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",loop:!1,loopEnd:0,loopStart:0,playbackRate:1}),i=t.createBuffer(1,2,44100);return r.buffer=i,r.loop=!0,r.connect(n),r.start(),function(){r.stop(),r.disconnect(n)}}}(Wn),Fr=function(e,t,n,r,i){return function(o,a){var s=a.curve,u=a.oversample,c=wt(a,Ht),l=o.createWaveShaper(),p=o.createWaveShaper();vt(l,c),vt(p,c);var f=n(o,(0,b.Z)((0,b.Z)({},c),{},{gain:1})),d=n(o,(0,b.Z)((0,b.Z)({},c),{},{gain:-1})),h=n(o,(0,b.Z)((0,b.Z)({},c),{},{gain:1})),m=n(o,(0,b.Z)((0,b.Z)({},c),{},{gain:-1})),y=null,v=!1,g=null,_={get bufferSize(){},get channelCount(){return l.channelCount},set channelCount(e){f.channelCount=e,d.channelCount=e,l.channelCount=e,h.channelCount=e,p.channelCount=e,m.channelCount=e},get channelCountMode(){return l.channelCountMode},set channelCountMode(e){f.channelCountMode=e,d.channelCountMode=e,l.channelCountMode=e,h.channelCountMode=e,p.channelCountMode=e,m.channelCountMode=e},get channelInterpretation(){return l.channelInterpretation},set channelInterpretation(e){f.channelInterpretation=e,d.channelInterpretation=e,l.channelInterpretation=e,h.channelInterpretation=e,p.channelInterpretation=e,m.channelInterpretation=e},get context(){return l.context},get curve(){return g},set curve(n){if(null!==n&&n.length<2)throw t();if(null===n)l.curve=n,p.curve=n;else{var i=n.length,a=new Float32Array(i+2-i%2),s=new Float32Array(i+2-i%2);a[0]=n[0],s[0]=-n[i-1];for(var u=Math.ceil((i+1)/2),c=(i+1)/2-1,d=1;d2)throw a();if("max"===S.channelCountMode)throw a();vt(F,S);var T={channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete"},B=n(l,(0,b.Z)((0,b.Z)({},T),{},{channelInterpretation:"speakers",numberOfInputs:6})),q=r(l,(0,b.Z)((0,b.Z)({},S),{},{gain:1})),O=r(l,(0,b.Z)((0,b.Z)({},T),{},{gain:1})),M=r(l,(0,b.Z)((0,b.Z)({},T),{},{gain:0})),P=r(l,(0,b.Z)((0,b.Z)({},T),{},{gain:0})),I=r(l,(0,b.Z)((0,b.Z)({},T),{},{gain:0})),N=r(l,(0,b.Z)((0,b.Z)({},T),{},{gain:0})),R=r(l,(0,b.Z)((0,b.Z)({},T),{},{gain:0})),L=i(l,256,6,1),j=o(l,(0,b.Z)((0,b.Z)({},T),{},{curve:new Float32Array([1,1]),oversample:"none"})),W=[g,_,E],G=[A,C,k],H=new Float32Array(1);L.onaudioprocess=function(e){var t=e.inputBuffer,n=[u(t,H,0),u(t,H,1),u(t,H,2)];n.some((function(e,t){return e!==W[t]}))&&(F.setOrientation.apply(F,n),W=n);var r=[u(t,H,3),u(t,H,4),u(t,H,5)];r.some((function(e,t){return e!==G[t]}))&&(F.setPosition.apply(F,r),G=r)},Object.defineProperty(M.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(P.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(I.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(N.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(R.gain,"defaultValue",{get:function(){return 0}});var z={get bufferSize(){},get channelCount(){return F.channelCount},set channelCount(e){if(e>2)throw a();q.channelCount=e,F.channelCount=e},get channelCountMode(){return F.channelCountMode},set channelCountMode(e){if("max"===e)throw a();q.channelCountMode=e,F.channelCountMode=e},get channelInterpretation(){return F.channelInterpretation},set channelInterpretation(e){q.channelInterpretation=e,F.channelInterpretation=e},get coneInnerAngle(){return F.coneInnerAngle},set coneInnerAngle(e){F.coneInnerAngle=e},get coneOuterAngle(){return F.coneOuterAngle},set coneOuterAngle(e){F.coneOuterAngle=e},get coneOuterGain(){return F.coneOuterGain},set coneOuterGain(e){if(e<0||e>1)throw t();F.coneOuterGain=e},get context(){return F.context},get distanceModel(){return F.distanceModel},set distanceModel(e){F.distanceModel=e},get inputs(){return[q]},get maxDistance(){return F.maxDistance},set maxDistance(e){if(e<0)throw new RangeError;F.maxDistance=e},get numberOfInputs(){return F.numberOfInputs},get numberOfOutputs(){return F.numberOfOutputs},get orientationX(){return O.gain},get orientationY(){return M.gain},get orientationZ(){return P.gain},get panningModel(){return F.panningModel},set panningModel(e){F.panningModel=e},get positionX(){return I.gain},get positionY(){return N.gain},get positionZ(){return R.gain},get refDistance(){return F.refDistance},set refDistance(e){if(e<0)throw new RangeError;F.refDistance=e},get rolloffFactor(){return F.rolloffFactor},set rolloffFactor(e){if(e<0)throw new RangeError;F.rolloffFactor=e},addEventListener:function(){return q.addEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},dispatchEvent:function(){return q.dispatchEvent(arguments.length<=0?void 0:arguments[0])},removeEventListener:function(){return q.removeEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])}};f!==z.coneInnerAngle&&(z.coneInnerAngle=f),d!==z.coneOuterAngle&&(z.coneOuterAngle=d),m!==z.coneOuterGain&&(z.coneOuterGain=m),y!==z.distanceModel&&(z.distanceModel=y),v!==z.maxDistance&&(z.maxDistance=v),g!==z.orientationX.value&&(z.orientationX.value=g),_!==z.orientationY.value&&(z.orientationY.value=_),E!==z.orientationZ.value&&(z.orientationZ.value=E),D!==z.panningModel&&(z.panningModel=D),A!==z.positionX.value&&(z.positionX.value=A),C!==z.positionY.value&&(z.positionY.value=C),k!==z.positionZ.value&&(z.positionZ.value=k),x!==z.refDistance&&(z.refDistance=x),w!==z.rolloffFactor&&(z.rolloffFactor=w),1===W[0]&&0===W[1]&&0===W[2]||F.setOrientation.apply(F,(0,h.Z)(W)),0===G[0]&&0===G[1]&&0===G[2]||F.setPosition.apply(F,(0,h.Z)(G));return c(St(z,F),(function(){q.connect(F),e(q,j,0,0),j.connect(O).connect(B,0,0),j.connect(M).connect(B,0,1),j.connect(P).connect(B,0,2),j.connect(I).connect(B,0,3),j.connect(N).connect(B,0,4),j.connect(R).connect(B,0,5),B.connect(L).connect(l.destination)}),(function(){q.disconnect(F),s(q,j,0,0),j.disconnect(O),O.disconnect(B),j.disconnect(M),M.disconnect(B),j.disconnect(P),P.disconnect(B),j.disconnect(I),I.disconnect(B),j.disconnect(N),N.disconnect(B),j.disconnect(R),R.disconnect(B),B.disconnect(L),L.disconnect(l.destination)}))}}(we,st,Qn,Bt,Wt,Tr,zt,Be,Qt,Jn),qr=function(e){return function(t,n){var r=t.createPanner();return void 0===r.orientationX?e(t,n):(vt(r,n),_t(r,n,"orientationX"),_t(r,n,"orientationY"),_t(r,n,"orientationZ"),_t(r,n,"positionX"),_t(r,n,"positionY"),_t(r,n,"positionZ"),yt(r,n,"coneInnerAngle"),yt(r,n,"coneOuterAngle"),yt(r,n,"coneOuterGain"),yt(r,n,"distanceModel"),yt(r,n,"maxDistance"),yt(r,n,"panningModel"),yt(r,n,"refDistance"),yt(r,n,"rolloffFactor"),r)}}(Br),Or=function(e,t,n,r,i,o,a,s,u,c){return function(){var p=new WeakMap,f=null,h=function(){var h=(0,l.Z)(d().mark((function h(m,y){var v,g,_,E,D,A,C;return d().wrap((function(h){for(;;)switch(h.prev=h.next){case 0:if(v=null,g=o(m),_={channelCount:g.channelCount,channelCountMode:g.channelCountMode,channelInterpretation:g.channelInterpretation},E=(0,b.Z)((0,b.Z)({},_),{},{coneInnerAngle:g.coneInnerAngle,coneOuterAngle:g.coneOuterAngle,coneOuterGain:g.coneOuterGain,distanceModel:g.distanceModel,maxDistance:g.maxDistance,panningModel:g.panningModel,refDistance:g.refDistance,rolloffFactor:g.rolloffFactor}),D=ae(g,y),"bufferSize"in g?v=r(y,(0,b.Z)((0,b.Z)({},_),{},{gain:1})):D||(A=(0,b.Z)((0,b.Z)({},E),{},{orientationX:g.orientationX.value,orientationY:g.orientationY.value,orientationZ:g.orientationZ.value,positionX:g.positionX.value,positionY:g.positionY.value,positionZ:g.positionZ.value}),g=i(y,A)),p.set(y,null===v?g:v),null===v){h.next=12;break}return h.delegateYield(d().mark((function e(){var o,p,h,g,D,A,C,k,x,w,S,F,T,B;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==f){e.next=7;break}if(null!==a){e.next=3;break}throw new Error("Missing the native OfflineAudioContext constructor.");case 3:o=new a(6,m.context.length,y.sampleRate),(p=t(o,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"speakers",numberOfInputs:6})).connect(o.destination),f=(0,l.Z)(d().mark((function e(){var t,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([m.orientationX,m.orientationY,m.orientationZ,m.positionX,m.positionY,m.positionZ].map(function(){var e=(0,l.Z)(d().mark((function e(t,r){var i;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(o,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",offset:0===r?1:0}),e.next=3,s(o,t,i.offset);case 3:return e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()));case 2:for(t=e.sent,r=0;r<6;r+=1)t[r].connect(p,0,r),t[r].start(0);return e.abrupt("return",c(o));case 5:case"end":return e.stop()}}),e)})))();case 7:return e.next=9,f;case 9:return h=e.sent,g=r(y,(0,b.Z)((0,b.Z)({},_),{},{gain:1})),e.next=13,u(m,y,g);case 13:for(D=[],A=0;Ay){var g=(v-y)/(16384-y)*u;f[v]=Math.cos(g),d[v]=Math.sin(g),h[v]=0,m[v]=1}else{var _=v/(16384-y)*u;f[v]=1,d[v]=0,h[v]=Math.cos(_),m[v]=Math.sin(_)}var E=t(e,{channelCount:2,channelCountMode:"explicit",channelInterpretation:"discrete",numberOfOutputs:2}),D=n(e,(0,b.Z)((0,b.Z)({},c),{},{gain:0})),A=r(e,(0,b.Z)((0,b.Z)({},l),{},{curve:f})),C=n(e,(0,b.Z)((0,b.Z)({},c),{},{gain:0})),k=r(e,(0,b.Z)((0,b.Z)({},l),{},{curve:d})),x=r(e,(0,b.Z)((0,b.Z)({},l),{},{curve:s})),w=n(e,(0,b.Z)((0,b.Z)({},c),{},{gain:0})),S=r(e,(0,b.Z)((0,b.Z)({},l),{},{curve:h})),F=n(e,(0,b.Z)((0,b.Z)({},c),{},{gain:0})),T=r(e,(0,b.Z)((0,b.Z)({},l),{},{curve:m}));return{connectGraph:function(){i.connect(E),i.connect(void 0===x.inputs?x:x.inputs[0]),E.connect(D,0),E.connect(C,0),E.connect(w,1),E.connect(F,1),x.connect(o),o.connect(void 0===A.inputs?A:A.inputs[0]),o.connect(void 0===k.inputs?k:k.inputs[0]),o.connect(void 0===S.inputs?S:S.inputs[0]),o.connect(void 0===T.inputs?T:T.inputs[0]),A.connect(D.gain),k.connect(C.gain),S.connect(w.gain),T.connect(F.gain),D.connect(p,0,0),w.connect(p,0,0),C.connect(p,0,1),F.connect(p,0,1)},disconnectGraph:function(){i.disconnect(E),i.disconnect(void 0===x.inputs?x:x.inputs[0]),E.disconnect(D,0),E.disconnect(C,0),E.disconnect(w,1),E.disconnect(F,1),x.disconnect(o),o.disconnect(void 0===A.inputs?A:A.inputs[0]),o.disconnect(void 0===k.inputs?k:k.inputs[0]),o.disconnect(void 0===S.inputs?S:S.inputs[0]),o.disconnect(void 0===T.inputs?T:T.inputs[0]),A.disconnect(D.gain),k.disconnect(C.gain),S.disconnect(w.gain),T.disconnect(F.gain),D.disconnect(p,0,0),w.disconnect(p,0,0),C.disconnect(p,0,1),F.disconnect(p,0,1)}}}(e,p,f,d);throw i()};return function(t,r){var a=r.channelCount,s=r.channelCountMode,u=r.pan,c=wt(r,Gt);if("max"===s)throw i();var l=e(t,(0,b.Z)((0,b.Z)({},c),{},{channelCount:1,channelCountMode:s,numberOfInputs:2})),f=n(t,(0,b.Z)((0,b.Z)({},c),{},{channelCount:a,channelCountMode:s,gain:1})),d=n(t,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",gain:u}),h=p(t,a,f,d,l),m=h.connectGraph,y=h.disconnectGraph;Object.defineProperty(d.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(d.gain,"maxValue",{get:function(){return 1}}),Object.defineProperty(d.gain,"minValue",{get:function(){return-1}});var v={get bufferSize(){},get channelCount(){return f.channelCount},set channelCount(e){if(f.channelCount!==e){g&&y();var n=p(t,e,f,d,l);m=n.connectGraph,y=n.disconnectGraph,g&&m()}f.channelCount=e},get channelCountMode(){return f.channelCountMode},set channelCountMode(e){if("clamped-max"===e||"max"===e)throw i();f.channelCountMode=e},get channelInterpretation(){return f.channelInterpretation},set channelInterpretation(e){f.channelInterpretation=e},get context(){return f.context},get inputs(){return[f]},get numberOfInputs(){return f.numberOfInputs},get numberOfOutputs(){return f.numberOfOutputs},get pan(){return d.gain},addEventListener:function(){return f.addEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},dispatchEvent:function(){return f.dispatchEvent(arguments.length<=0?void 0:arguments[0])},removeEventListener:function(){return f.removeEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])}},g=!1;return o(St(v,l),(function(){m(),g=!0}),(function(){y(),g=!1}))}}(Qn,xt,Bt,Tr,zt,Jn),Rr=function(e,t){return function(n,r){var i=r.channelCountMode;if("clamped-max"===i)throw t();if(void 0===n.createStereoPanner)return e(n,r);var o=n.createStereoPanner();return vt(o,r),_t(o,r,"pan"),Object.defineProperty(o,"channelCountMode",{get:function(){return i},set:function(e){if(e!==i)throw t()}}),o}}(Nr,zt),Lr=function(e,t,n,r,i){return function(){var o=new WeakMap,a=function(){var a=(0,l.Z)(d().mark((function a(s,u){var c,l,p;return d().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(c=n(s),(l=ae(c,u))||(p={channelCount:c.channelCount,channelCountMode:c.channelCountMode,channelInterpretation:c.channelInterpretation,pan:c.pan.value},c=t(u,p)),o.set(u,c),l){a.next=9;break}return a.next=7,r(u,s.pan,c.pan);case 7:a.next=11;break;case 9:return a.next=11,e(u,s.pan,c.pan);case 11:if(!xe(c)){a.next=16;break}return a.next=14,i(s,u,c.inputs[0]);case 14:a.next=18;break;case 16:return a.next=18,i(s,u,c);case 18:return a.abrupt("return",c);case 19:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}();return{render:function(e,t){var n=o.get(t);return void 0!==n?Promise.resolve(n):a(e,t)}}}}(jn,Rr,qe,Gn,gn),jr=function(e,t,n,r,i,o){return function(e){Q(s,e);var a=ie(s);function s(e,u){var c;(0,w.Z)(this,s);var l=i(e),p=(0,b.Z)((0,b.Z)({},Kt),u),f=n(l,p),d=o(l),h=d?r():null;return(c=a.call(this,e,!1,f,h))._pan=t(ne(c),d,f.pan),c}return(0,x.Z)(s,[{key:"pan",get:function(){return this._pan}}]),s}(e)}(Tn,zn,Rr,Lr,En,bn),Wr=function(e,t,n){return function(){var r=new WeakMap,i=function(){var i=(0,l.Z)(d().mark((function i(o,a){var s,u;return d().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(s=t(o),ae(s,a)||(u={channelCount:s.channelCount,channelCountMode:s.channelCountMode,channelInterpretation:s.channelInterpretation,curve:s.curve,oversample:s.oversample},s=e(a,u)),r.set(a,s),!xe(s)){i.next=9;break}return i.next=7,n(o,a,s.inputs[0]);case 7:i.next=11;break;case 9:return i.next=11,n(o,a,s);case 11:return i.abrupt("return",s);case 12:case"end":return i.stop()}}),i)})));return function(e,t){return i.apply(this,arguments)}}();return{render:function(e,t){var n=r.get(t);return void 0!==n?Promise.resolve(n):i(e,t)}}}}(Tr,qe,gn),Gr=function(e,t,n,r,i,o,a){return function(e){Q(u,e);var s=ie(u);function u(e,t){var c;(0,w.Z)(this,u);var l=i(e),p=(0,b.Z)((0,b.Z)({},Xt),t),f=n(l,p),d=o(l)?r():null;return(c=s.call(this,e,!0,f,d))._isCurveNullified=!1,c._nativeWaveShaperNode=f,a(ne(c),1),c}return(0,x.Z)(u,[{key:"curve",get:function(){return this._isCurveNullified?null:this._nativeWaveShaperNode.curve},set:function(e){if(null===e)this._isCurveNullified=!0,this._nativeWaveShaperNode.curve=new Float32Array([0,0]);else{if(e.length<2)throw t();this._isCurveNullified=!1,this._nativeWaveShaperNode.curve=e}}},{key:"oversample",get:function(){return this._nativeWaveShaperNode.oversample},set:function(e){this._nativeWaveShaperNode.oversample=e}}]),u}(e)}(Tn,st,Tr,Wr,En,bn,Yn),Hr=function(e){return null!==e&&e.isSecureContext}(mn),zr=function(e){return function(t,n,r){Object.defineProperties(e,{currentFrame:{configurable:!0,get:function(){return Math.round(t*n)}},currentTime:{configurable:!0,get:function(){return t}}});try{return r()}finally{null!==e&&(delete e.currentFrame,delete e.currentTime)}}}(mn),Vr=new WeakMap,Zr=function(e,t){return function(n){var r=e.get(n);if(void 0!==r)return r;if(null===t)throw new Error("Missing the native OfflineAudioContext constructor.");return r=new t(1,1,44100),e.set(n,r),r}}(Vr,Dn),Ur=Hr?function(e,t,n,r,i,o,a,s,u,c,l,f,d){var h=0;return function(m,y){var v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{credentials:"omit"},g=l.get(m);if(void 0!==g&&g.has(y))return Promise.resolve();var _=c.get(m);if(void 0!==_){var E=_.get(y);if(void 0!==E)return E}var D=o(m),b=void 0===D.audioWorklet?i(y).then((function(e){var t=(0,p.Z)(e,2),r=t[0],i=t[1],o=j(r,i),a=(0,p.Z)(o,2),s=a[0],u=a[1],c="".concat(s,";((a,b)=>{(a[b]=a[b]||[]).push((AudioWorkletProcessor,global,registerProcessor,sampleRate,self,window)=>{").concat(u,"\n})})(window,'_AWGS')");return n(c)})).then((function(){var e=d._AWGS.pop();if(void 0===e)throw new SyntaxError;r(D.currentTime,D.sampleRate,(function(){return e((0,x.Z)((function e(){(0,w.Z)(this,e)})),void 0,(function(e,n){if(""===e.trim())throw t();var r=I.get(D);if(void 0!==r){if(r.has(e))throw t();G(n),W(n.parameterDescriptors),r.set(e,n)}else G(n),W(n.parameterDescriptors),I.set(D,new Map([[e,n]]))}),D.sampleRate,void 0,void 0)}))})):Promise.all([i(y),Promise.resolve(e(f,f))]).then((function(e){var t=(0,p.Z)(e,2),n=(0,p.Z)(t[0],2),r=n[0],i=n[1],o=t[1],c=h+1;h=c;var l=j(r,i),f=(0,p.Z)(l,2),d=f[0],m=f[1],y=o?"AudioWorkletProcessor":"class extends AudioWorkletProcessor {__b=new WeakSet();constructor(){super();(p=>p.postMessage=(q=>(m,t)=>q.call(p,m,t?t.filter(u=>!this.__b.has(u)):t))(p.postMessage))(this.port)}}",g=o?"":"__c = (a) => a.forEach(e=>this.__b.add(e.buffer));",_=o?"":"i.forEach(this.__c);o.forEach(this.__c);this.__c(Object.values(p));",E="".concat(d,";((AudioWorkletProcessor,registerProcessor)=>{").concat(m,"\n})(").concat(y,",(n,p)=>registerProcessor(n,class extends p{").concat(g,"process(i,o,p){").concat(_,"return super.process(i.map(j=>j.some(k=>k.length===0)?[]:j),o,p)}}));registerProcessor('__sac").concat(c,"',class extends AudioWorkletProcessor{process(){return !1}})"),b=new Blob([E],{type:"application/javascript; charset=utf-8"}),A=URL.createObjectURL(b);return D.audioWorklet.addModule(A,v).then((function(){if(s(D))return D;var e=a(D);return e.audioWorklet.addModule(A,v).then((function(){return e}))})).then((function(e){if(null===u)throw new SyntaxError;try{new u(e,"__sac".concat(c))}catch(t){throw new SyntaxError}})).finally((function(){return URL.revokeObjectURL(A)}))}));return void 0===_?c.set(m,new Map([[y,b]])):_.set(y,b),b.then((function(){var e=l.get(m);void 0===e?l.set(m,new Set([y])):e.add(y)})).finally((function(){var e=c.get(m);void 0!==e&&e.delete(y)})),b}}(hn,zt,function(e){return function(t){return new Promise((function(n,r){if(null!==e){var i=e.document.head;if(null===i)r(new SyntaxError);else{var o=e.document.createElement("script"),a=new Blob([t],{type:"application/javascript"}),s=URL.createObjectURL(a),u=e.onerror,c=function(){e.onerror=u,URL.revokeObjectURL(s)};e.onerror=function(t,n,i,o,a){return n===s||n===e.location.href&&1===i&&1===o?(c(),r(a),!1):null!==u?u(t,n,i,o,a):void 0},o.onerror=function(){c(),r(new SyntaxError)},o.onload=function(){c(),n()},o.src=s,o.type="module",i.appendChild(o)}}else r(new SyntaxError)}))}}(mn),zr,function(e){return function(){var t=(0,l.Z)(d().mark((function t(n){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(n);case 3:if(!(r=t.sent).ok){t.next=10;break}return t.next=7,r.text();case 7:return t.t0=t.sent,t.t1=r.url,t.abrupt("return",[t.t0,t.t1]);case 10:t.next=14;break;case 12:t.prev=12,t.t2=t.catch(0);case 14:throw e();case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(e){return t.apply(this,arguments)}}()}((function(){return new DOMException("","AbortError")})),En,Zr,bn,Fn,new WeakMap,new WeakMap,function(e,t){return(0,l.Z)(d().mark((function n(){var r,i,o,a,s,u,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(null!==e){n.next=2;break}return n.abrupt("return",!0);case 2:if(null!==t){n.next=4;break}return n.abrupt("return",!1);case 4:return r=new Blob(['class A extends AudioWorkletProcessor{process(i){this.port.postMessage(i,[i[0][0].buffer])}}registerProcessor("a",A)'],{type:"application/javascript; charset=utf-8"}),i=new t(1,128,44100),o=URL.createObjectURL(r),a=!1,s=!1,n.prev=9,n.next=12,i.audioWorklet.addModule(o);case 12:return u=new e(i,"a",{numberOfOutputs:0}),c=i.createOscillator(),u.port.onmessage=function(){return a=!0},u.onprocessorerror=function(){return s=!0},c.connect(u),c.start(0),n.next=20,i.startRendering();case 20:n.next=24;break;case 22:n.prev=22,n.t0=n.catch(9);case 24:return n.prev=24,URL.revokeObjectURL(o),n.finish(24);case 27:return n.abrupt("return",a&&!s);case 28:case"end":return n.stop()}}),n,null,[[9,22,24,27]])})))}(Fn,Dn),mn):void 0,Yr=function(e,t){return function(n){return e(n)||t(n)}}(xn,bn),Kr=function(e,t,n,r,i,o,a,s,u,c,p){return function(f,h){var m=a(f)?f:o(f);if(i.has(h)){var y=n();return Promise.reject(y)}try{i.add(h)}catch(v){}return t(u,(function(){return u(m)}))?m.decodeAudioData(h).then((function(n){return nt(h).catch((function(){})),t(s,(function(){return s(n)}))||p(n),e.add(n),n})):new Promise((function(t,n){var i=function(){var e=(0,l.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,nt(h);case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),o=function(e){n(e),i()};try{m.decodeAudioData(h,(function(n){"function"!==typeof n.copyFromChannel&&(c(n),ce(n)),e.add(n),i().then((function(){return t(n)}))}),(function(e){o(null===e?r():e)}))}catch(y){o(y)}}))}}(qn,hn,(function(){return new DOMException("","DataCloneError")}),(function(){return new DOMException("","EncodingError")}),new WeakSet,En,Yr,se,ht,Pn,In),Jr=function(e,t,n,r,i,o,a,s,u,c,l,p,f,d,h,m,y,v,g,_){return function(h){Q(D,h);var E=ie(D);function D(t,n){var r;return(0,w.Z)(this,D),(r=E.call(this,t,n))._nativeContext=t,r._audioWorklet=void 0===e?void 0:{addModule:function(t,n){return e(ne(r),t,n)}},r}return(0,x.Z)(D,[{key:"audioWorklet",get:function(){return this._audioWorklet}},{key:"createAnalyser",value:function(){return new t(this)}},{key:"createBiquadFilter",value:function(){return new i(this)}},{key:"createBuffer",value:function(e,t,r){return new n({length:t,numberOfChannels:e,sampleRate:r})}},{key:"createBufferSource",value:function(){return new r(this)}},{key:"createChannelMerger",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6;return new o(this,{numberOfInputs:e})}},{key:"createChannelSplitter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6;return new a(this,{numberOfOutputs:e})}},{key:"createConstantSource",value:function(){return new s(this)}},{key:"createConvolver",value:function(){return new u(this)}},{key:"createDelay",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return new l(this,{maxDelayTime:e})}},{key:"createDynamicsCompressor",value:function(){return new p(this)}},{key:"createGain",value:function(){return new f(this)}},{key:"createIIRFilter",value:function(e,t){return new d(this,{feedback:t,feedforward:e})}},{key:"createOscillator",value:function(){return new m(this)}},{key:"createPanner",value:function(){return new y(this)}},{key:"createPeriodicWave",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{disableNormalization:!1};return new v(this,(0,b.Z)((0,b.Z)({},n),{},{imag:t,real:e}))}},{key:"createStereoPanner",value:function(){return new g(this)}},{key:"createWaveShaper",value:function(){return new _(this)}},{key:"decodeAudioData",value:function(e,t,n){return c(this._nativeContext,e).then((function(e){return"function"===typeof t&&t(e),e}),(function(e){throw"function"===typeof n&&n(e),e}))}}]),D}(h)}(Ur,Bn,Nn,Vn,Kn,er,nr,ar,cr,Kr,pr,hr,yr,Dr,Cr,wr,Mr,Ir,jr,Gr),Xr=function(e,t,n,r){return function(e){Q(o,e);var i=ie(o);function o(e,a){var s;(0,w.Z)(this,o);var u=n(e),c=t(u,a);if(r(u))throw TypeError();return(s=i.call(this,e,!0,c,null))._nativeMediaElementAudioSourceNode=c,s}return(0,x.Z)(o,[{key:"mediaElement",get:function(){return this._nativeMediaElementAudioSourceNode.mediaElement}}]),o}(e)}(Tn,(function(e,t){return e.createMediaElementSource(t.mediaElement)}),En,bn),Qr=function(e,t,n,r){return function(e){Q(o,e);var i=ie(o);function o(e,a){var s;(0,w.Z)(this,o);var u=n(e);if(r(u))throw new TypeError;var c=(0,b.Z)((0,b.Z)({},dt),a),l=t(u,c);return(s=i.call(this,e,!1,l,null))._nativeMediaStreamAudioDestinationNode=l,s}return(0,x.Z)(o,[{key:"stream",get:function(){return this._nativeMediaStreamAudioDestinationNode.stream}}]),o}(e)}(Tn,(function(e,t){var n=e.createMediaStreamDestination();return vt(n,t),1===n.numberOfOutputs&&Object.defineProperty(n,"numberOfOutputs",{get:function(){return 0}}),n}),En,bn),$r=function(e,t,n,r){return function(e){Q(o,e);var i=ie(o);function o(e,a){var s;(0,w.Z)(this,o);var u=n(e),c=t(u,a);if(r(u))throw new TypeError;return(s=i.call(this,e,!0,c,null))._nativeMediaStreamAudioSourceNode=c,s}return(0,x.Z)(o,[{key:"mediaStream",get:function(){return this._nativeMediaStreamAudioSourceNode.mediaStream}}]),o}(e)}(Tn,(function(e,t){var n=t.mediaStream,r=n.getAudioTracks();r.sort((function(e,t){return e.idt.id?1:0}));var i=r.slice(0,1),o=e.createMediaStreamSource(new MediaStream(i));return Object.defineProperty(o,"mediaStream",{value:n}),o}),En,bn),ei=function(e,t){return function(n,r){var i=r.mediaStreamTrack;if("function"===typeof n.createMediaStreamTrackSource)return n.createMediaStreamTrackSource(i);var o=new MediaStream([i]),a=n.createMediaStreamSource(o);if("audio"!==i.kind)throw e();if(t(n))throw new TypeError;return a}}(st,bn),ti=function(e,t,n){return function(e){Q(i,e);var r=ie(i);function i(e,o){(0,w.Z)(this,i);var a=n(e),s=t(a,o);return r.call(this,e,!0,s,null)}return(0,x.Z)(i)}(e)}(Tn,ei,En),ni=function(e,t,n,r,i,o,a,s,u){return function(e){Q(l,e);var c=ie(l);function l(){var e,t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,w.Z)(this,l),null===u)throw new Error("Missing the native AudioContext constructor.");try{t=new u(i)}catch(f){if(12===f.code&&"sampleRate is not in range"===f.message)throw n();throw f}if(null===t)throw r();if(!Ee(i.latencyHint))throw new TypeError("The provided value '".concat(i.latencyHint,"' is not a valid enum value of type AudioContextLatencyCategory."));if(void 0!==i.sampleRate&&t.sampleRate!==i.sampleRate)throw n();e=c.call(this,t,2);var o=i.latencyHint,a=t,s=a.sampleRate;if(e._baseLatency="number"===typeof t.baseLatency?t.baseLatency:"balanced"===o?512/s:"interactive"===o||void 0===o?256/s:"playback"===o?1024/s:128*Math.max(2,Math.min(128,Math.round(o*s/128)))/s,e._nativeAudioContext=t,"webkitAudioContext"===u.name?(e._nativeGainNode=t.createGain(),e._nativeOscillatorNode=t.createOscillator(),e._nativeGainNode.gain.value=1e-37,e._nativeOscillatorNode.connect(e._nativeGainNode).connect(t.destination),e._nativeOscillatorNode.start()):(e._nativeGainNode=null,e._nativeOscillatorNode=null),e._state=null,"running"===t.state){e._state="suspended";var p=function n(){"suspended"===e._state&&(e._state=null),t.removeEventListener("statechange",n)};t.addEventListener("statechange",p)}return e}return(0,x.Z)(l,[{key:"baseLatency",get:function(){return this._baseLatency}},{key:"state",get:function(){return null!==this._state?this._state:this._nativeAudioContext.state}},{key:"close",value:function(){var e=this;return"closed"===this.state?this._nativeAudioContext.close().then((function(){throw t()})):("suspended"===this._state&&(this._state=null),this._nativeAudioContext.close().then((function(){null!==e._nativeGainNode&&null!==e._nativeOscillatorNode&&(e._nativeOscillatorNode.stop(),e._nativeGainNode.disconnect(),e._nativeOscillatorNode.disconnect()),_e(e)})))}},{key:"createMediaElementSource",value:function(e){return new i(this,{mediaElement:e})}},{key:"createMediaStreamDestination",value:function(){return new o(this)}},{key:"createMediaStreamSource",value:function(e){return new a(this,{mediaStream:e})}},{key:"createMediaStreamTrackSource",value:function(e){return new s(this,{mediaStreamTrack:e})}},{key:"resume",value:function(){var e=this;return"suspended"===this._state?new Promise((function(t,n){e._nativeAudioContext.addEventListener("statechange",(function r(){e._nativeAudioContext.removeEventListener("statechange",r),"running"===e._nativeAudioContext.state?t():e.resume().then(t,n)}))})):this._nativeAudioContext.resume().catch((function(e){if(void 0===e||15===e.code)throw t();throw e}))}},{key:"suspend",value:function(){return this._nativeAudioContext.suspend().catch((function(e){if(void 0===e)throw t();throw e}))}}]),l}(e)}(Jr,st,zt,Jt,Xr,Qr,$r,ti,kn),ri=function(e){return function(t){var n=e.get(t);if(void 0===n)throw new Error("The context has no set of AudioWorkletNodes.");return n}}(Ar),ii=function(e){return function(t,n){e(t).add(n)}}(ri),oi=function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=t[r];if(void 0===o)throw e();return Re(n)?o.connect(n,0,i):o.connect(n,0)}}(ue),ai=function(e){return function(t,n){e(t).delete(n)}}(ri),si=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return void 0===n?t.forEach((function(e){return e.disconnect()})):"number"===typeof n?it(e,t,n).disconnect():Re(n)?void 0===r?t.forEach((function(e){return e.disconnect(n)})):void 0===i?it(e,t,r).disconnect(n,0):it(e,t,r).disconnect(n,0,i):void 0===r?t.forEach((function(e){return e.disconnect(n)})):it(e,t,r).disconnect(n,0)}}(ue),ui=new WeakMap,ci=function(e,t){return function(n){return t(e,n)}}(ui,H),li=function(e,t,n,r,i,o,a,s,u,c,l,p,f){return function(d,h,m,y){if(0===y.numberOfInputs&&0===y.numberOfOutputs)throw u();var v=Array.isArray(y.outputChannelCount)?y.outputChannelCount:Array.from(y.outputChannelCount);if(v.some((function(e){return e<1})))throw u();if(v.length!==y.numberOfOutputs)throw t();if("explicit"!==y.channelCountMode)throw u();var g=y.channelCount*y.numberOfInputs,_=v.reduce((function(e,t){return e+t}),0),E=void 0===m.parameterDescriptors?0:m.parameterDescriptors.length;if(g+E>6||_>6)throw u();for(var D=new MessageChannel,A=[],C=[],k=0;k0&&q.disconnect(O);for(var e=0,t=0;e0)return te.set(n,B/128),t;var r=te.get(n);return void 0===r?[]:(t.every((function(e){return e.every((function(e){return 0===e}))}))&&(1===r?te.delete(n):te.set(n,r-1)),t)})),c=l(d.currentTime+r/d.sampleRate,d.sampleRate,(function(){return Y.process(u,X,Q)}));$=c;for(var p=0,f=0;p0&&q.connect(O);for(var e=0,t=0;e0?(d.removeEventListener("statechange",t),n.stopImmediatePropagation(),s._waitForThePromiseToSettle(n)):e+=1)}}()),(s=o.call(this,d,p))._length=l,s._nativeOfflineAudioContext=d,s._state=null,s}return(0,x.Z)(a,[{key:"length",get:function(){return void 0===this._nativeOfflineAudioContext.length?this._length:this._nativeOfflineAudioContext.length}},{key:"state",get:function(){return null===this._state?this._nativeOfflineAudioContext.state:this._state}},{key:"startRendering",value:function(){var e=this;return"running"===this._state?Promise.reject(n()):(this._state="running",i(this.destination,this._nativeOfflineAudioContext).finally((function(){e._state=null,_e(e)})))}},{key:"_waitForThePromiseToSettle",value:function(e){var t=this;null===this._state?this._nativeOfflineAudioContext.dispatchEvent(e):setTimeout((function(){return t._waitForThePromiseToSettle(e)}))}}]),a}(e)}(Jr,hn,st,yi,vi)),_i=function(e,t){return function(n){var r=e.get(n);return t(r)||t(n)}}(O,xn),Ei=function(e,t){return function(n){return e.has(n)||t(n)}}(T,wn),Di=function(e,t){return function(n){return e.has(n)||t(n)}}(q,Sn),bi=function(e,t){return function(n){var r=e.get(n);return t(r)||t(n)}}(O,bn),Ai=function(){return ft(hn,function(e){return function(){if(null===e)return!1;var t=new e(1,1,44100).createBuffer(1,1,44100);if(void 0===t.copyToChannel)return!0;var n=new Float32Array(2);try{t.copyFromChannel(n,0,0)}catch(r){return!1}return!0}}(Dn),function(e){return function(){if(null===e)return!1;if(void 0!==e.prototype&&void 0!==e.prototype.close)return!0;var t=new e,n=void 0!==t.close;try{t.close()}catch(r){}return n}}(kn),function(e){return function(){if(null===e)return Promise.resolve(!1);var t=new e(1,1,44100);return new Promise((function(e){var n,r=!0,i=function(n){r&&(r=!1,t.startRendering(),e(n instanceof TypeError))};try{n=t.decodeAudioData(null,(function(){}),i)}catch(o){i(o)}void 0!==n&&n.catch(i)}))}}(Dn),function(e){return function(){if(null===e)return!1;var t;try{t=new e({latencyHint:"balanced"})}catch(n){return!1}return t.close(),!0}}(kn),function(e){return function(){if(null===e)return!1;var t=new e(1,1,44100).createGain(),n=t.connect(t)===t;return t.disconnect(t),n}}(Dn),function(e,t){return(0,l.Z)(d().mark((function n(){var r,i,o,a,s,u,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(null!==e){n.next=2;break}return n.abrupt("return",!0);case 2:if(null!==t){n.next=4;break}return n.abrupt("return",!1);case 4:return r=new Blob(['let c,p;class A extends AudioWorkletProcessor{constructor(){super();this.port.onmessage=(e)=>{p=e.data;p.onmessage=()=>{p.postMessage(c);p.close()};this.port.postMessage(0)}}process(){c=1}}registerProcessor("a",A)'],{type:"application/javascript; charset=utf-8"}),i=new MessageChannel,o=new t(1,128,44100),a=URL.createObjectURL(r),s=!1,n.prev=9,n.next=12,o.audioWorklet.addModule(a);case 12:return u=new e(o,"a",{numberOfOutputs:0}),c=o.createOscillator(),n.next=16,new Promise((function(e){u.port.onmessage=function(){return e()},u.port.postMessage(i.port2,[i.port2])}));case 16:return u.port.onmessage=function(){return s=!0},c.connect(u),c.start(0),n.next=21,o.startRendering();case 21:return n.next=23,new Promise((function(e){i.port1.onmessage=function(t){var n=t.data;return e(1===n)},i.port1.postMessage(0)}));case 23:s=n.sent,n.next=28;break;case 26:n.prev=26,n.t0=n.catch(9);case 28:return n.prev=28,i.port1.close(),URL.revokeObjectURL(a),n.finish(28);case 32:return n.abrupt("return",s);case 33:case"end":return n.stop()}}),n,null,[[9,26,28,32]])})))}(Fn,Dn),function(e){return function(){if(null===e)return!1;var t=new e(1,1,44100).createChannelMerger();if("max"===t.channelCountMode)return!0;try{t.channelCount=2}catch(n){return!0}return!1}}(Dn),function(e){return function(){if(null===e)return!1;var t=new e(1,1,44100);return void 0===t.createConstantSource||t.createConstantSource().offset.maxValue!==Number.POSITIVE_INFINITY}}(Dn),function(e){return function(){if(null===e)return!1;var t=new e(1,1,44100),n=t.createConvolver();n.buffer=t.createBuffer(1,1,t.sampleRate);try{n.buffer=t.createBuffer(1,1,t.sampleRate)}catch(r){return!1}return!0}}(Dn),function(e){return function(){if(null===e)return!1;var t=new e(1,1,44100).createConvolver();try{t.channelCount=1}catch(n){return!1}return!0}}(Dn),on,function(e){return function(){return null!==e&&e.hasOwnProperty("isSecureContext")}}(mn),function(e){return function(){if(null===e)return!1;var t=new e;try{return t.createMediaStreamSource(new MediaStream),!1}catch(n){return!0}finally{t.close()}}}(kn),function(e){return function(){if(null===e)return Promise.resolve(!1);var t=new e(1,1,44100);if(void 0===t.createStereoPanner)return Promise.resolve(!0);if(void 0===t.createConstantSource)return Promise.resolve(!0);var n=t.createConstantSource(),r=t.createStereoPanner();return n.channelCount=1,n.offset.value=1,r.channelCount=1,n.start(),n.connect(r).connect(t.destination),t.startRendering().then((function(e){return 1!==e.getChannelData(0)[0]}))}}(Dn),an)};function Ci(e,t){if(!e)throw new Error(t)}function ki(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;if(!(t<=e&&e<=n))throw new RangeError("Value must be within [".concat(t,", ").concat(n,"], got: ").concat(e))}function xi(e){e.isOffline||"running"===e.state||Ti('The AudioContext is "suspended". Invoke Tone.start() from a user action to start the audio.')}var wi=console;function Si(e){wi=e}function Fi(){var e;(e=wi).log.apply(e,arguments)}function Ti(){var e;(e=wi).warn.apply(e,arguments)}function Bi(e){return"undefined"===typeof e}function qi(e){return!Bi(e)}function Oi(e){return"function"===typeof e}function Mi(e){return"number"===typeof e}function Pi(e){return"[object Object]"===Object.prototype.toString.call(e)&&e.constructor===Object}function Ii(e){return"boolean"===typeof e}function Ni(e){return Array.isArray(e)}function Ri(e){return"string"===typeof e}function Li(e){return Ri(e)&&/^([a-g]{1}(?:b|#|x|bb)?)(-?[0-9]+)/i.test(e)}function ji(e){return new ni(e)}function Wi(e,t,n){return new gi(e,t,n)}var Gi="object"===typeof self?self:null,Hi=Gi&&(Gi.hasOwnProperty("AudioContext")||Gi.hasOwnProperty("webkitAudioContext"));function zi(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$(e)););return e}function Vi(){return Vi="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=zi(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Vi.apply(this,arguments)}function Zi(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function Ui(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}Object.create;Object.create;var Yi=function(){function e(t,n,r){(0,w.Z)(this,e),this._callback=t,this._type=n,this._updateInterval=r,this._createClock()}return(0,x.Z)(e,[{key:"_createWorker",value:function(){var e=new Blob(["\n\t\t\t// the initial timeout time\n\t\t\tlet timeoutTime = ".concat((1e3*this._updateInterval).toFixed(1),";\n\t\t\t// onmessage callback\n\t\t\tself.onmessage = function(msg){\n\t\t\t\ttimeoutTime = parseInt(msg.data);\n\t\t\t};\n\t\t\t// the tick function which posts a message\n\t\t\t// and schedules a new tick\n\t\t\tfunction tick(){\n\t\t\t\tsetTimeout(tick, timeoutTime);\n\t\t\t\tself.postMessage('tick');\n\t\t\t}\n\t\t\t// call tick initially\n\t\t\ttick();\n\t\t\t")],{type:"text/javascript"}),t=URL.createObjectURL(e),n=new Worker(t);n.onmessage=this._callback.bind(this),this._worker=n}},{key:"_createTimeout",value:function(){var e=this;this._timeout=setTimeout((function(){e._createTimeout(),e._callback()}),1e3*this._updateInterval)}},{key:"_createClock",value:function(){if("worker"===this._type)try{this._createWorker()}catch(e){this._type="timeout",this._createClock()}else"timeout"===this._type&&this._createTimeout()}},{key:"_disposeClock",value:function(){this._timeout&&(clearTimeout(this._timeout),this._timeout=0),this._worker&&(this._worker.terminate(),this._worker.onmessage=null)}},{key:"updateInterval",get:function(){return this._updateInterval},set:function(e){this._updateInterval=Math.max(e,128/44100),"worker"===this._type&&this._worker.postMessage(Math.max(1e3*e,1))}},{key:"type",get:function(){return this._type},set:function(e){this._disposeClock(),this._type=e,this._createClock()}},{key:"dispose",value:function(){this._disposeClock()}}]),e}();function Ki(e){return Di(e)}function Ji(e){return Ei(e)}function Xi(e){return bi(e)}function Qi(e){return _i(e)}function $i(e){return e instanceof AudioBuffer}function eo(e,t){return"value"===e||Ki(t)||Ji(t)||$i(t)}function to(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i={},o=Array.from(t);if(Pi(o[0])&&r&&!Reflect.has(o[0],r)){var a=Object.keys(o[0]).some((function(t){return Reflect.has(e,t)}));a||(to(i,(0,Ve.Z)({},r,o[0])),n.splice(n.indexOf(r),1),o.shift())}if(1===o.length&&Pi(o[0]))to(i,o[0]);else for(var s=0;st+ao}function uo(e,t){return so(e,t)||lo(e,t)}function co(e,t){return e+aothis.memory){var r=this.length-this.memory;this._timeline.splice(0,r)}return this}},{key:"remove",value:function(e){var t=this._timeline.indexOf(e);return-1!==t&&this._timeline.splice(t,1),this}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"time",n=this._search(e,t);return-1!==n?this._timeline[n]:null}},{key:"peek",value:function(){return this._timeline[0]}},{key:"shift",value:function(){return this._timeline.shift()}},{key:"getAfter",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"time",n=this._search(e,t);return n+10&&this._timeline[t-1].time