Showing preview only (1,901K chars total). Download the full file or copy to clipboard to get everything.
Repository: NebulaServices/Dynamic
Branch: main
Commit: 0783cd628049
Files: 138
Total size: 1.8 MB
Directory structure:
gitextract_my54d9qf/
├── .github/
│ └── dependabot.yml
├── .gitignore
├── .npmignore
├── LICENSE
├── README.md
├── bin/
│ ├── balls.sh
│ ├── index.cjs
│ ├── index.d.ts
│ └── start.sh
├── docs/
│ ├── configuration/
│ │ ├── bare.md
│ │ ├── encoding.md
│ │ ├── logging.md
│ │ └── modes.md
│ └── examples/
│ └── uv-dynamic-multi/
│ ├── dynamic/
│ │ ├── dynamic.client.js
│ │ ├── dynamic.config.js
│ │ ├── dynamic.handler.js
│ │ ├── dynamic.html.js
│ │ └── dynamic.worker.js
│ ├── index.html
│ ├── resources/
│ │ ├── scripts/
│ │ │ ├── backdrop.js
│ │ │ ├── index.js
│ │ │ └── notice.js
│ │ └── style.css
│ ├── sw.js
│ └── uv/
│ ├── uv.bundle.js
│ ├── uv.bundle.js.LICENSE.txt
│ ├── uv.client.js
│ ├── uv.config.js
│ ├── uv.handler.js
│ └── uv.sw.js
├── esbuild.dev.js
├── esbuild.prod.js
├── fortnite
├── index.js
├── lib/
│ ├── client/
│ │ ├── client.ts
│ │ └── index.ts
│ ├── dynamic.config.js
│ ├── global/
│ │ ├── bundle.ts
│ │ ├── client/
│ │ │ ├── index.ts
│ │ │ ├── methods/
│ │ │ │ ├── core/
│ │ │ │ │ ├── eval.ts
│ │ │ │ │ ├── function.ts
│ │ │ │ │ ├── get.ts
│ │ │ │ │ ├── html.ts
│ │ │ │ │ ├── location.ts
│ │ │ │ │ ├── protocol.ts
│ │ │ │ │ ├── reflect.ts
│ │ │ │ │ └── window.ts
│ │ │ │ ├── document/
│ │ │ │ │ ├── attr.ts
│ │ │ │ │ ├── cookie.ts
│ │ │ │ │ ├── mutation.ts
│ │ │ │ │ ├── style.ts
│ │ │ │ │ └── write.ts
│ │ │ │ ├── init.ts
│ │ │ │ ├── window/
│ │ │ │ │ ├── blob.ts
│ │ │ │ │ ├── fetch.ts
│ │ │ │ │ ├── history.ts
│ │ │ │ │ ├── imports.ts
│ │ │ │ │ ├── message.ts
│ │ │ │ │ ├── navigator.ts
│ │ │ │ │ ├── niche.ts
│ │ │ │ │ ├── policy.ts
│ │ │ │ │ ├── rtc.ts
│ │ │ │ │ ├── storage.ts
│ │ │ │ │ ├── worker.ts
│ │ │ │ │ └── ws.ts
│ │ │ │ └── wrap.ts
│ │ │ └── methods.ts
│ │ ├── client.ts
│ │ ├── codec.ts
│ │ ├── cookie/
│ │ │ ├── db.ts
│ │ │ ├── index.ts
│ │ │ └── parse.ts
│ │ ├── headers.ts
│ │ ├── http/
│ │ │ ├── request.ts
│ │ │ └── response.ts
│ │ ├── http.ts
│ │ ├── is/
│ │ │ ├── css.ts
│ │ │ ├── html.ts
│ │ │ └── js.ts
│ │ ├── istype.ts
│ │ ├── meta/
│ │ │ ├── load.ts
│ │ │ └── type.ts
│ │ ├── meta.ts
│ │ ├── middleware.ts
│ │ ├── modules.ts
│ │ ├── regex.ts
│ │ ├── rewrite/
│ │ │ ├── css.ts
│ │ │ ├── html/
│ │ │ │ ├── generateHead.ts
│ │ │ │ ├── html.ts
│ │ │ │ ├── nodewrapper.ts
│ │ │ │ └── srcset.ts
│ │ │ ├── js/
│ │ │ │ ├── emit.ts
│ │ │ │ ├── iterate.ts
│ │ │ │ ├── js.ts
│ │ │ │ ├── object/
│ │ │ │ │ ├── Eval.ts
│ │ │ │ │ └── PostMessage.ts
│ │ │ │ ├── process.ts
│ │ │ │ ├── type/
│ │ │ │ │ ├── AssignmentExpression.ts
│ │ │ │ │ ├── CallExpression.ts
│ │ │ │ │ ├── Identifier.ts
│ │ │ │ │ ├── Imports.ts
│ │ │ │ │ ├── Literal.ts
│ │ │ │ │ ├── MemberExpression.ts
│ │ │ │ │ ├── Property.ts
│ │ │ │ │ ├── ThisExpression.ts
│ │ │ │ │ └── VariableDeclaractor.ts
│ │ │ │ └── types.ts
│ │ │ └── manifest.ts
│ │ ├── rewrite.ts
│ │ ├── url/
│ │ │ ├── decode.ts
│ │ │ └── encode.ts
│ │ ├── url.ts
│ │ ├── util/
│ │ │ ├── about.ts
│ │ │ ├── class.ts
│ │ │ ├── clone.ts
│ │ │ ├── edit.ts
│ │ │ ├── encode.ts
│ │ │ ├── error.ts
│ │ │ ├── file.ts
│ │ │ ├── path.ts
│ │ │ ├── reqHeader.ts
│ │ │ ├── resHeader.ts
│ │ │ ├── rewritePath.ts
│ │ │ └── route.ts
│ │ └── util.ts
│ ├── handler/
│ │ └── index.ts
│ ├── html/
│ │ └── index.ts
│ ├── types.d.ts
│ └── worker/
│ └── index.ts
├── package.json
├── static/
│ ├── index.html
│ ├── resources/
│ │ ├── scripts/
│ │ │ ├── backdrop.js
│ │ │ ├── index.js
│ │ │ ├── notice.js
│ │ │ └── settings.js
│ │ └── style.css
│ └── sw.js
└── tsconfig.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/dependabot.yml
================================================
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
================================================
FILE: .gitignore
================================================
node_modules
dist
.DS_Store
**/.DS_Store
package-lock.json
================================================
FILE: .npmignore
================================================
node_modules
================================================
FILE: LICENSE
================================================
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser 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
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
================================================
FILE: README.md
================================================


[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[](https://github.com/NebulaServices/Dynamic/blob/main/LICENSE)
[](https://typescriptlang.org)
[](http://makeapullrequest.com)
## Features
- Customizable and easily configurable
- Seriously Simple to use
- Highly supportive, and supports your favorite sites:
- Google (login and suite apps)
- Youtube
- Discord
- TikTok
- And so much more
- Diabolically fast
- Written in TypeScript
## Implementation
See [Examples](https://github.com/NebulaServices/Dynamic/tree/main/examples);
## Getting started (How to run)
### Method 1
1. Clone and change directory into Dynamic
```bash
git clone https://github,com/NebulaServices/Dynamic.git && cd Dynamic
```
2. Run bash script and follow the instructions in the script
```bash
./bin/start.sh
```
### Method 2
1. Clone and change directory into Dynamic
```bash
git clone https://GitHub.com/NebulaServices/Dynamic.git && cd Dynamic
```
2. Install dependencies
```bash
npm i
```
3. Build Dynamic Bundles
```bash
npm run build
```
4. Run the server
```bash
npm start
```
## Notice
Hi there, we're launching this project in **early public beta**. Behind the scenes we're working hard at rewriting and bug fixes. Thanks for understanding.
## Developer support
We have our very own developer support server! Join with this link: https://discord.gg/shESgmwt3M
## Authors
- [@Sylvie](https://www.github.com/Sylvie-TN) - Lead developer
- [@GreenyDev](https://github.com/GreenyDEV) - Documentation, project manager
Made with ❤️ By Nebula Services
================================================
FILE: bin/balls.sh
================================================
================================================
FILE: bin/index.cjs
================================================
"use strict";
const { resolve } = require("node:path");
const dynamicPath = resolve(__dirname, "..", "dist");
exports.dynamicPath = dynamicPath;
================================================
FILE: bin/index.d.ts
================================================
declare const dynamicPath: string;
export { dynamicPath };
================================================
FILE: bin/start.sh
================================================
#!/bin/bash
tput setaf 33; echo "Thanks for using Dynamic!"; tput sgr0
#Navigating to the project root
scriptDir="${0%/*}"
cd $scriptDir
cd ../
echo "Project Directory: $(pwd)"
tput bold; echo "Dev build is currently still being working on, choose at your own risk"; tput sgr0
while [[ $devAns != "dev" ]] || [[ $devAns != "prod" ]]
do
echo "Dev or Prod? dev/prod"
read devAns
if [[ $devAns == "dev" ]] || [[ $devAns == "prod" ]]
then
break
else
tput setaf 124; echo "Invalid Input"; tput sgr0
fi
done
echo "Checking if packages are installed"
if ls | grep -q node_modules
then
echo "node_modules found"
while [[ $cleanAns != "y" ]] || [[ $cleanAns != "n" ]]
do
echo "Would you like to reinstall? y/n"
read cleanAns
if [[ $cleanAns == "y" ]] || [[ $cleanAns == "n" ]]
then
break
else
tput setaf 124; echo "Invalid Input"; tput sgr0
fi
done
if [[ $cleanAns = "y" ]]
then
echo "Cleaning node_modules"
rm -rf node_modules
echo "Installing node_modules"
npm install
elif [[ $cleanAns = "n" ]]
then
echo "Skipping packages"
fi
else
echo "node_modules not found"
while [[ $installAns != "y" ]] || [[ $installAns != "n" ]]
do
echo "Would you like to install? y/n"
read installAns
if [[ $installAns == "y" ]] || [[ $installAns == "n" ]]
then
break
else
tput setaf 124; echo "Invalid Input"; tput sgr0
fi
done
if [[ $installAns == "y" ]]
then
echo "Installing node_modules"
npm install
elif [[ $installAns == "n" ]]
then
echo "Skipping packages"
fi
fi
if [[ $devAns == "dev" ]]
then
while [[ $buildAns != "y" ]] || [[ $buildAns != "n" ]]
do
echo "Would you like to build and start? y/n"
read buildAns
if [[ $buildAns == "y" ]] || [[ $buildAns == "n" ]]
then
break
else
tput setaf 124; echo "Invalid Input"; tput sgr0
fi
done
if [[ $buildAns == 'y' ]]
then
echo "Running Dynamic"
npm run build:dev
elif [[ $buildAns == 'n' ]]
then
tput setaf 124; echo "Exiting Dynamic"; tpur sgr0
fi
elif [[ $devAns == "prod" ]]
then
while [[ $buildAns != "build" ]] || [[ $buildAns != "start" ]] || [[ $buildAns != "both" ]]
do
tput sitm; echo "Hint: ctrl + c to exit"; tput sgr0
echo "Would you like to build, start, or both? build/start/both"
read buildAns
if [[ $buildAns == "build" ]] || [[ $buildAns == "start" ]] || [[ $buildAns == "both" ]]
then
break
else
tput setaf 124; echo "Invalid Input"; tput sgr0
fi
done
if [[ $buildAns == "build" ]]
then
echo "Building Dynamic"
npm run build:$devAns
elif [[ $buildAns == "start" ]]
then
echo "Starting Dynamic"
npm run start
elif [[ $buildAns == "both" ]]
then
echo "Doing Both!"
echo "Building Dynamic"
npm run build:$devAns
echo "Starting Dynamic :)"
npm run start
fi
fi
================================================
FILE: docs/configuration/bare.md
================================================
# Bare version and path
You might have noticed this setting in your configuration file:
```js
bare: {
version: 2,
path: '/bare/',
},
```
This is refering to the Bare endpoint that Dynamic uses. The version is what Dynamic concatonates to the path. It will finally look something like `/path/version/`. There are differences in the versions. Details on the specification can be found here:
* v1: https://github.com/tomphttp/specifications/blob/master/BareServerV1.md
* v2: https://github.com/tomphttp/specifications/blob/master/BareServerV2.md
* v3: https://github.com/tomphttp/specifications/blob/master/BareServerV3.md
## Unsupported versions.
Dynamic does not have stable support v3 as of now.
================================================
FILE: docs/configuration/encoding.md
================================================
# URL Encoding and Decoding
In the context of Dynamic, and other popular Interception proxies, URL Encoding and Decoding is the way Dynamic changes the URLs, specifically to hide them.
## Encoding types
There's a few types of encodings that Dynamic currently supports.
### XOR
The XOR encryption algorithm is an example of symmetric encryption where the same key is used to both encrypt and decrypt a message. Symmetric Encryption: The same cryptographic key is used both to encrypt and decrypt messages
Okay, yes, XOR is a cipher not an encoding. But for the purpose of simplicity, we're going to refer to it as an encoding.
Example:
* `https://google.com`
* `hvtrs8%2F-wuw%2Cgmoelg.aoo%2F`
* `https://www.youtube.com`
* `hvtrs8%2F-wuw%2Cymuvu%60e%2Ccmm-`
Want to use XOR? Change your `encoding` value to `xor`
### AES
Similar to the XOR encoding, AES (Advanced Encryption Standard) encoding is a type of symmetric encryption where the same key is used to both encrypt and decrypt a message, however AES doesn't settle for a one-byte affair; it operates with much longer key lengths (up to 256 bits) compared to the 8 bits of XOR. Like XOR, it is also a cipher and not an encoding. If you're trying to hide your activity the best, AES is the way to go. While the URL may not be readable, it will be **very** difficult for a third party to decrypt the URL without the key.
Example:
* `https://google.com`
* `88b1yAJnVf99jJZjWhNiho+l5CUg1PRDZGg0Dn005/MseDO3Sn2Mzs`
* `https://www.youtube.com`
* `+Bu/h2WhD6UXm5YAYzOuiiPEmA5l/gEZC0CUtY4jb3h6f4Cgwzsm/i`
If this fits your need, Change your `encoding` value to `aes`
### Plain
In computing, plain encoding is a loose term for data (e.g. file contents) that represent *only characters* of readable material but not its graphical representation nor other objects (floating-point numbers, images, etc.). It may also include a limited number of "whitespace" characters that affect simple arrangement of text.
Note that this provides very little URL cloaking.
Example:
* `https://google.com`
* `https%3A%2F%2Fgoogle.com`
* `https://www.youtube.com`
* `https%3A%2F%2Fwww.youtube.com`
If this fits your need, Change your `encoding` value to `plain`
### Base64
Base64 is a encoding algorithm that allows you to transform any characters into an alphabet which consists of Latin letters, digits, plus, and slash. Thanks to it, Dynamic can hide URLs by turning the letters of the URL into numbers.
Example:
* `https://google.com`
* `aHR0cHM6Ly9nb29nbGUuY29t`
* `https://www.youtube.com`
* `aHR0cHM6Ly93d3cueW91dHViZS5jb20=`
If this fits your need, Change your `encoding` value to `base64`
================================================
FILE: docs/configuration/logging.md
================================================
# Developer console logging
// 0: none, 1: errors, 2: errors + warnings, 3: errors + warnings + info
Dynamic gives you the option to choose what kind of logs are allowed to appear in the Developer console found in the inspect element menu.
## No logging
For absolutely no logging, change the value in your configuration to `0`
## Errors only
If you only want errors in console, but want to ignore warnings, this is the level for you! Turn the value in your configuration to `1`
## Indecisive
Looking for both Errors and Warnings? Change the value in your configuration to `2`
## The everything burger
Exactly what it sounds like, errors + warnings + info. Set the value in your configuration to `2`
================================================
FILE: docs/configuration/modes.md
================================================
# Performance modes
Dynamic provides two performance options to fit your needs.
## Development
When you set your performance mode to `development`, Dynamic will not cache itself or minify at all.
This mode is recommended when:
* Creating middleware with the Dynamic API
* Testing features that require debugging
## Production
When you set your performance mode to `production`, Dynamic will cache its bundle and configuration file. This is Dynamics peak performance mode.
This mode is recommended when:
* Production or public use is intended
* When speed is priority over middleware updates.
================================================
FILE: docs/examples/uv-dynamic-multi/dynamic/dynamic.client.js
================================================
"use strict";(()=>{var _r=Object.create;var xt=Object.defineProperty;var xr=Object.getOwnPropertyDescriptor;var wr=Object.getOwnPropertyNames;var br=Object.getPrototypeOf,vr=Object.prototype.hasOwnProperty;var Er=(t,e,i)=>e in t?xt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var gi=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),wt=(t,e)=>{for(var i in e)xt(t,i,{get:e[i],enumerable:!0})},Sr=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of wr(e))!vr.call(t,r)&&r!==i&&xt(t,r,{get:()=>e[r],enumerable:!(n=xr(e,r))||n.enumerable});return t};var Wt=(t,e,i)=>(i=t!=null?_r(br(t)):{},Sr(e||!t||!t.__esModule?xt(i,"default",{value:t,enumerable:!0}):i,t));var V=(t,e,i)=>(Er(t,typeof e!="symbol"?e+"":e,i),i);var qt=gi((zn,xi)=>{"use strict";function H(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function _i(t,e){for(var i="",n=0,r=-1,s=0,a,o=0;o<=t.length;++o){if(o<t.length)a=t.charCodeAt(o);else{if(a===47)break;a=47}if(a===47){if(!(r===o-1||s===1))if(r!==o-1&&s===2){if(i.length<2||n!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var p=i.lastIndexOf("/");if(p!==i.length-1){p===-1?(i="",n=0):(i=i.slice(0,p),n=i.length-1-i.lastIndexOf("/")),r=o,s=0;continue}}else if(i.length===2||i.length===1){i="",n=0,r=o,s=0;continue}}e&&(i.length>0?i+="/..":i="..",n=2)}else i.length>0?i+="/"+t.slice(r+1,o):i=t.slice(r+1,o),n=o-r-1;r=o,s=0}else a===46&&s!==-1?++s:s=-1}return i}function Cr(t,e){var i=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return i?i===e.root?i+n:i+t+n:n}var Z={resolve:function(){for(var e="",i=!1,n,r=arguments.length-1;r>=-1&&!i;r--){var s;r>=0?s=arguments[r]:(n===void 0&&(n=process.cwd()),s=n),H(s),s.length!==0&&(e=s+"/"+e,i=s.charCodeAt(0)===47)}return e=_i(e,!i),i?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(H(e),e.length===0)return".";var i=e.charCodeAt(0)===47,n=e.charCodeAt(e.length-1)===47;return e=_i(e,!i),e.length===0&&!i&&(e="."),e.length>0&&n&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return H(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,i=0;i<arguments.length;++i){var n=arguments[i];H(n),n.length>0&&(e===void 0?e=n:e+="/"+n)}return e===void 0?".":Z.normalize(e)},relative:function(e,i){if(H(e),H(i),e===i||(e=Z.resolve(e),i=Z.resolve(i),e===i))return"";for(var n=1;n<e.length&&e.charCodeAt(n)===47;++n);for(var r=e.length,s=r-n,a=1;a<i.length&&i.charCodeAt(a)===47;++a);for(var o=i.length,p=o-a,h=s<p?s:p,u=-1,m=0;m<=h;++m){if(m===h){if(p>h){if(i.charCodeAt(a+m)===47)return i.slice(a+m+1);if(m===0)return i.slice(a+m)}else s>h&&(e.charCodeAt(n+m)===47?u=m:m===0&&(u=0));break}var y=e.charCodeAt(n+m),_=i.charCodeAt(a+m);if(y!==_)break;y===47&&(u=m)}var w="";for(m=n+u+1;m<=r;++m)(m===r||e.charCodeAt(m)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+i.slice(a+u):(a+=u,i.charCodeAt(a)===47&&++a,i.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(H(e),e.length===0)return".";for(var i=e.charCodeAt(0),n=i===47,r=-1,s=!0,a=e.length-1;a>=1;--a)if(i=e.charCodeAt(a),i===47){if(!s){r=a;break}}else s=!1;return r===-1?n?"/":".":n&&r===1?"//":e.slice(0,r)},basename:function(e,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');H(e);var n=0,r=-1,s=!0,a;if(i!==void 0&&i.length>0&&i.length<=e.length){if(i.length===e.length&&i===e)return"";var o=i.length-1,p=-1;for(a=e.length-1;a>=0;--a){var h=e.charCodeAt(a);if(h===47){if(!s){n=a+1;break}}else p===-1&&(s=!1,p=a+1),o>=0&&(h===i.charCodeAt(o)?--o===-1&&(r=a):(o=-1,r=p))}return n===r?r=p:r===-1&&(r=e.length),e.slice(n,r)}else{for(a=e.length-1;a>=0;--a)if(e.charCodeAt(a)===47){if(!s){n=a+1;break}}else r===-1&&(s=!1,r=a+1);return r===-1?"":e.slice(n,r)}},extname:function(e){H(e);for(var i=-1,n=0,r=-1,s=!0,a=0,o=e.length-1;o>=0;--o){var p=e.charCodeAt(o);if(p===47){if(!s){n=o+1;break}continue}r===-1&&(s=!1,r=o+1),p===46?i===-1?i=o:a!==1&&(a=1):i!==-1&&(a=-1)}return i===-1||r===-1||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return Cr("/",e)},parse:function(e){H(e);var i={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return i;var n=e.charCodeAt(0),r=n===47,s;r?(i.root="/",s=1):s=0;for(var a=-1,o=0,p=-1,h=!0,u=e.length-1,m=0;u>=s;--u){if(n=e.charCodeAt(u),n===47){if(!h){o=u+1;break}continue}p===-1&&(h=!1,p=u+1),n===46?a===-1?a=u:m!==1&&(m=1):a!==-1&&(m=-1)}return a===-1||p===-1||m===0||m===1&&a===p-1&&a===o+1?p!==-1&&(o===0&&r?i.base=i.name=e.slice(1,p):i.base=i.name=e.slice(o,p)):(o===0&&r?(i.name=e.slice(1,a),i.base=e.slice(1,p)):(i.name=e.slice(o,a),i.base=e.slice(o,p)),i.ext=e.slice(a,p)),o>0?i.dir=e.slice(0,o-1):r&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};Z.posix=Z;xi.exports=Z});var Gi=gi((ks,ct)=>{"use strict";var et={decodeValues:!0,map:!1,silent:!1};function de(t){return typeof t=="string"&&!!t.trim()}function me(t,e){var i=t.split(";").filter(de),n=i.shift(),r=En(n),s=r.name,a=r.value;e=e?Object.assign({},et,e):et;try{a=e.decodeValues?decodeURIComponent(a):a}catch(p){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+a+"'. Set options.decodeValues to false to disable this feature.",p)}var o={name:s,value:a};return i.forEach(function(p){var h=p.split("="),u=h.shift().trimLeft().toLowerCase(),m=h.join("=");u==="expires"?o.expires=new Date(m):u==="max-age"?o.maxAge=parseInt(m,10):u==="secure"?o.secure=!0:u==="httponly"?o.httpOnly=!0:u==="samesite"?o.sameSite=m:o[u]=m}),o}function En(t){var e="",i="",n=t.split("=");return n.length>1?(e=n.shift(),i=n.join("=")):i=t,{name:e,value:i}}function qi(t,e){if(e=e?Object.assign({},et,e):et,!t)return e.map?{}:[];if(t.headers)if(typeof t.headers.getSetCookie=="function")t=t.headers.getSetCookie();else if(t.headers["set-cookie"])t=t.headers["set-cookie"];else{var i=t.headers[Object.keys(t.headers).find(function(r){return r.toLowerCase()==="set-cookie"})];!i&&t.headers.cookie&&!e.silent&&console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),t=i}if(Array.isArray(t)||(t=[t]),e=e?Object.assign({},et,e):et,e.map){var n={};return t.filter(de).reduce(function(r,s){var a=me(s,e);return r[a.name]=a,r},n)}else return t.filter(de).map(function(r){return me(r,e)})}function Sn(t){if(Array.isArray(t))return t;if(typeof t!="string")return[];var e=[],i=0,n,r,s,a,o;function p(){for(;i<t.length&&/\s/.test(t.charAt(i));)i+=1;return i<t.length}function h(){return r=t.charAt(i),r!=="="&&r!==";"&&r!==","}for(;i<t.length;){for(n=i,o=!1;p();)if(r=t.charAt(i),r===","){for(s=i,i+=1,p(),a=i;i<t.length&&h();)i+=1;i<t.length&&t.charAt(i)==="="?(o=!0,i=a,e.push(t.substring(n,s)),n=i):i=s+1}else i+=1;(!o||i>=t.length)&&e.push(t.substring(n,t.length))}return e}ct.exports=qi;ct.exports.parse=qi;ct.exports.parseString=me;ct.exports.splitCookiesString=Sn});var bi=Wt(qt()),bt={"application/ecmascript":{source:"apache",compressible:!0,extensions:["ecma"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/http":{source:"iana"},"application/javascript":{source:"apache",charset:"UTF-8",compressible:!0,extensions:["js"]},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/mp4":{source:"iana",extensions:["mp4","mpg4","mp4s","m4p"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/sql":{source:"iana",extensions:["sql"]},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-gzip":{source:"apache"},"application/x-javascript":{compressible:!0},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/red":{source:"iana"},"audio/rtx":{source:"iana"},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/webp":{source:"iana",extensions:["webp"]},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/ecmascript":{source:"apache"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"text/markdown":{source:"iana",compressible:!0,extensions:["md","markdown"]}},vi=/^\s*([^;\s]*)(?:;|\s|$)/,kr=/^text\//i,$={};function wi(t){if(!t||typeof t!="string")return!1;var e=vi.exec(t),i=e&&bt[e[1].toLowerCase()];return i&&i.charset?i.charset:!(!e||!kr.test(e[1]))&&"UTF-8"}function Ar(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?$.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var i=$.charset(e);i&&(e+="; charset="+i.toLowerCase())}return e}function Lr(t){if(!t||typeof t!="string")return!1;var e=vi.exec(t),i=e&&$.extensions[e[1].toLowerCase()];return!(!i||!i.length)&&i[0]}function Pr(t){if(!t||typeof t!="string")return!1;var e=(0,bi.extname)("x."+t).toLowerCase().substr(1);return e&&$.types[e]||!1}function Ir(t,e){var i=["nginx","apache",void 0,"iana"];Object.keys(bt).forEach(function(n){var r=bt[n],s=r.extensions;if(s&&s.length){t[n]=s;for(var a=0;a<s.length;a++){var o=s[a];if(e[o]){var p=i.indexOf(bt[e[o]].source),h=i.indexOf(r.source);if(e[o]!=="application/octet-stream"&&(p>h||p===h&&e[o].substr(0,12)==="application/"))continue}e[o]=n}}})}$.charset=wi,$.charsets={lookup:wi},$.contentType=Ar,$.extension=Lr,$.extensions=Object.create(null),$.lookup=Pr,$.types=Object.create(null),Ir($.extensions,$.types);var Ei=$;var Nn=Wt(qt(),1);var vt={};wt(vt,{deleteDB:()=>Vr,openDB:()=>Yt,unwrap:()=>nt,wrap:()=>B});var Tr=(t,e)=>e.some(i=>t instanceof i),Si,Ci;function Rr(){return Si||(Si=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Nr(){return Ci||(Ci=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var ki=new WeakMap,zt=new WeakMap,Ai=new WeakMap,Gt=new WeakMap,Kt=new WeakMap;function Or(t){let e=new Promise((i,n)=>{let r=()=>{t.removeEventListener("success",s),t.removeEventListener("error",a)},s=()=>{i(B(t.result)),r()},a=()=>{n(t.error),r()};t.addEventListener("success",s),t.addEventListener("error",a)});return e.then(i=>{i instanceof IDBCursor&&ki.set(i,t)}).catch(()=>{}),Kt.set(e,t),e}function Dr(t){if(zt.has(t))return;let e=new Promise((i,n)=>{let r=()=>{t.removeEventListener("complete",s),t.removeEventListener("error",a),t.removeEventListener("abort",a)},s=()=>{i(),r()},a=()=>{n(t.error||new DOMException("AbortError","AbortError")),r()};t.addEventListener("complete",s),t.addEventListener("error",a),t.addEventListener("abort",a)});zt.set(t,e)}var Xt={get(t,e,i){if(t instanceof IDBTransaction){if(e==="done")return zt.get(t);if(e==="objectStoreNames")return t.objectStoreNames||Ai.get(t);if(e==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return B(t[e])},set(t,e,i){return t[e]=i,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function Li(t){Xt=t(Xt)}function Mr(t){return t===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...i){let n=t.call(nt(this),e,...i);return Ai.set(n,e.sort?e.sort():[e]),B(n)}:Nr().includes(t)?function(...e){return t.apply(nt(this),e),B(ki.get(this))}:function(...e){return B(t.apply(nt(this),e))}}function $r(t){return typeof t=="function"?Mr(t):(t instanceof IDBTransaction&&Dr(t),Tr(t,Rr())?new Proxy(t,Xt):t)}function B(t){if(t instanceof IDBRequest)return Or(t);if(Gt.has(t))return Gt.get(t);let e=$r(t);return e!==t&&(Gt.set(t,e),Kt.set(e,t)),e}var nt=t=>Kt.get(t);function Yt(t,e,{blocked:i,upgrade:n,blocking:r,terminated:s}={}){let a=indexedDB.open(t,e),o=B(a);return n&&a.addEventListener("upgradeneeded",p=>{n(B(a.result),p.oldVersion,p.newVersion,B(a.transaction),p)}),i&&a.addEventListener("blocked",p=>i(p.oldVersion,p.newVersion,p)),o.then(p=>{s&&p.addEventListener("close",()=>s()),r&&p.addEventListener("versionchange",h=>r(h.oldVersion,h.newVersion,h))}).catch(()=>{}),o}function Vr(t,{blocked:e}={}){let i=indexedDB.deleteDatabase(t);return e&&i.addEventListener("blocked",n=>e(n.oldVersion,n)),B(i).then(()=>{})}var Br=["get","getKey","getAll","getAllKeys","count"],jr=["put","add","delete","clear"],Qt=new Map;function Pi(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(Qt.get(e))return Qt.get(e);let i=e.replace(/FromIndex$/,""),n=e!==i,r=jr.includes(i);if(!(i in(n?IDBIndex:IDBObjectStore).prototype)||!(r||Br.includes(i)))return;let s=async function(a,...o){let p=this.transaction(a,r?"readwrite":"readonly"),h=p.store;return n&&(h=h.index(o.shift())),(await Promise.all([h[i](...o),r&&p.done]))[0]};return Qt.set(e,s),s}Li(t=>({...t,get:(e,i,n)=>Pi(e,i)||t.get(e,i,n),has:(e,i)=>!!Pi(e,i)||t.has(e,i)}));var Et={};wt(Et,{decode:()=>Zt,encode:()=>Jt});var{encode:Jt,decode:Zt}={encode(t){if(!t)return t;t=t.toString();let e=Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),i,n,r,s,a="",o=t.length%3;for(let p=0;p<t.length;){if((n=t.charCodeAt(p++))>255||(r=t.charCodeAt(p++))>255||(s=t.charCodeAt(p++))>255)throw new TypeError("invalid character found");i=n<<16|r<<8|s,a+=e[i>>18&63]+e[i>>12&63]+e[i>>6&63]+e[63&i]}return encodeURIComponent(o?a.slice(0,o-3)+"===".substr(o):a)},decode(t){if(!t)return t;let e={0:52,1:53,2:54,3:55,4:56,5:57,6:58,7:59,8:60,9:61,A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25,a:26,b:27,c:28,d:29,e:30,f:31,g:32,h:33,i:34,j:35,k:36,l:37,m:38,n:39,o:40,p:41,q:42,r:43,s:44,t:45,u:46,v:47,w:48,x:49,y:50,z:51,"+":62,"/":63,"=":64},i;t=(t=decodeURIComponent(t.toString())).replace(/\s+/g,""),t+="==".slice(2-(3&t.length));let n,r,s="";for(let a=0;a<t.length;)i=e[t.charAt(a++)]<<18|e[t.charAt(a++)]<<12|(n=e[t.charAt(a++)])<<6|(r=e[t.charAt(a++)]),s+=n===64?String.fromCharCode(i>>16&255):r===64?String.fromCharCode(i>>16&255,i>>8&255):String.fromCharCode(i>>16&255,i>>8&255,255&i);return s}};function Ur(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function O(t,e,i){return t(i={path:e,exports:{},require:function(n,r){return Fr(n,r??i.path)}},i.exports),i.exports}function Fr(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var k=O(function(t,e){e.__esModule=!0,e.isIdentifierChar=function(m,y){return m<48?m===36:m<58||!(m<65)&&(m<91||(m<97?m===95:m<123||(m<=65535?m>=170&&a.test(String.fromCharCode(m)):y!==!1&&(h(m,o)||h(m,p)))))},e.isIdentifierStart=function(m,y){return m<65?m===36:m<91||(m<97?m===95:m<123||(m<=65535?m>=170&&s.test(String.fromCharCode(m)):y!==!1&&h(m,o)))},e.reservedWords=e.keywords=e.keywordRelationalOperator=void 0,e.reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};let i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";e.keywords={5:i,"5module":i+" export import",6:i+" const class extends export import super"},e.keywordRelationalOperator=/^in(stanceof)?$/;let n="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",r="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",s=RegExp("["+n+"]"),a=RegExp("["+n+r+"]");n=r=null;let o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],p=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function h(u,m){let y=65536;for(let _=0;_<m.length;_+=2){if((y+=m[_])>u)return!1;if((y+=m[_+1])>=u)return!0}}}),l=O(function(t,e){e.__esModule=!0,e.types=e.keywords=e.TokenType=void 0;class i{constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExpr=!!m.beforeExpr,this.startsExpr=!!m.startsExpr,this.isLoop=!!m.isLoop,this.isAssign=!!m.isAssign,this.prefix=!!m.prefix,this.postfix=!!m.postfix,this.binop=m.binop||null,this.updateContext=null}}function n(h,u){return new i(h,{beforeExpr:!0,binop:u})}e.TokenType=i;let r={beforeExpr:!0},s={startsExpr:!0},a={};function o(h,u={}){return u.keyword=h,a[h]=new i(h,u)}e.keywords=a;let p={num:new i("num",s),regexp:new i("regexp",s),string:new i("string",s),name:new i("name",s),privateId:new i("privateId",s),eof:new i("eof"),bracketL:new i("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new i("]"),braceL:new i("{",{beforeExpr:!0,startsExpr:!0}),braceR:new i("}"),parenL:new i("(",{beforeExpr:!0,startsExpr:!0}),parenR:new i(")"),comma:new i(",",r),semi:new i(";",r),colon:new i(":",r),dot:new i("."),question:new i("?",r),questionDot:new i("?."),arrow:new i("=>",r),template:new i("template"),invalidTemplate:new i("invalidTemplate"),ellipsis:new i("...",r),backQuote:new i("`",s),dollarBraceL:new i("${",{beforeExpr:!0,startsExpr:!0}),eq:new i("=",{beforeExpr:!0,isAssign:!0}),assign:new i("_=",{beforeExpr:!0,isAssign:!0}),incDec:new i("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new i("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:n("||",1),logicalAND:n("&&",2),bitwiseOR:n("|",3),bitwiseXOR:n("^",4),bitwiseAND:n("&",5),equality:n("==/!=/===/!==",6),relational:n("</>/<=/>=",7),bitShift:n("<</>>/>>>",8),plusMin:new i("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:n("%",10),star:n("*",10),slash:n("/",10),starstar:new i("**",{beforeExpr:!0}),coalesce:n("??",1),_break:o("break"),_case:o("case",r),_catch:o("catch"),_continue:o("continue"),_debugger:o("debugger"),_default:o("default",r),_do:o("do",{isLoop:!0,beforeExpr:!0}),_else:o("else",r),_finally:o("finally"),_for:o("for",{isLoop:!0}),_function:o("function",s),_if:o("if"),_return:o("return",r),_switch:o("switch"),_throw:o("throw",r),_try:o("try"),_var:o("var"),_const:o("const"),_while:o("while",{isLoop:!0}),_with:o("with"),_new:o("new",{beforeExpr:!0,startsExpr:!0}),_this:o("this",s),_super:o("super",s),_class:o("class",s),_extends:o("extends",r),_export:o("export"),_import:o("import",s),_null:o("null",s),_true:o("true",s),_false:o("false",s),_in:o("in",{beforeExpr:!0,binop:7}),_instanceof:o("instanceof",{beforeExpr:!0,binop:7}),_typeof:o("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:o("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:o("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})};e.types=p}),S=O(function(t,e){e.__esModule=!0,e.isNewLine=r,e.lineBreakG=e.lineBreak=void 0,e.nextLineBreak=function(a,o,p=a.length){for(let h=o;h<p;h++){let u=a.charCodeAt(h);if(r(u))return h<p-1&&u===13&&a.charCodeAt(h+1)===10?h+2:h+1}return-1},e.skipWhiteSpace=e.nonASCIIwhitespace=void 0;let i=/\r\n?|\n|\u2028|\u2029/;e.lineBreak=i;let n=RegExp(i.source,"g");function r(s){return s===10||s===13||s===8232||s===8233}e.lineBreakG=n,e.nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,e.skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g}),P=O(function(t,e){e.__esModule=!0,e.loneSurrogate=e.isArray=e.hasOwn=void 0,e.wordsRegexp=function(p){return RegExp("^(?:"+p.replace(/ /g,"|")+")$")};let i=Object.prototype,n=i.hasOwnProperty,r=i.toString,s=Object.hasOwn||((o,p)=>n.call(o,p));e.hasOwn=s;let a=Array.isArray||(o=>r.call(o)==="[object Array]");e.isArray=a,e.loneSurrogate=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/}),F=O(function(t,e){e.__esModule=!0,e.SourceLocation=e.Position=void 0,e.getLineInfo=function(r,s){for(let a=1,o=0;;){let p=(0,S.nextLineBreak)(r,o,s);if(p<0)return new i(a,s-o);++a,o=p}};class i{constructor(r,s){this.line=r,this.column=s}offset(r){return new i(this.line,this.column+r)}}e.Position=i,e.SourceLocation=class{constructor(r,s,a){this.start=s,this.end=a,r.sourceFile!==null&&(this.source=r.sourceFile)}}}),ee=O(function(t,e){e.__esModule=!0,e.defaultOptions=void 0,e.getOptions=function(s){var a,o;let p={};for(let h in i)p[h]=s&&(0,P.hasOwn)(s,h)?s[h]:i[h];if(p.ecmaVersion==="latest"?p.ecmaVersion=1e8:p.ecmaVersion==null?(!n&&typeof console=="object"&&console.warn&&(n=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
Defaulting to 2020, but this will stop working in the future.`)),p.ecmaVersion=11):p.ecmaVersion>=2015&&(p.ecmaVersion-=2009),p.allowReserved==null&&(p.allowReserved=p.ecmaVersion<5),(0,P.isArray)(p.onToken)){let h=p.onToken;p.onToken=u=>h.push(u)}return(0,P.isArray)(p.onComment)&&(p.onComment=(a=p,o=p.onComment,function(h,u,m,y,_,w){let c={type:h?"Block":"Line",value:u,start:m,end:y};a.locations&&(c.loc=new F.SourceLocation(this,_,w)),a.ranges&&(c.range=[m,y]),o.push(c)})),p};let i={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};e.defaultOptions=i;let n=!1}),x=O(function(t,e){e.__esModule=!0,e.SCOPE_VAR=e.SCOPE_TOP=e.SCOPE_SUPER=e.SCOPE_SIMPLE_CATCH=e.SCOPE_GENERATOR=e.SCOPE_FUNCTION=e.SCOPE_DIRECT_SUPER=e.SCOPE_CLASS_STATIC_BLOCK=e.SCOPE_ASYNC=e.SCOPE_ARROW=e.BIND_VAR=e.BIND_SIMPLE_CATCH=e.BIND_OUTSIDE=e.BIND_NONE=e.BIND_LEXICAL=e.BIND_FUNCTION=void 0,e.functionFlags=function(n,r){return 2|(n?4:0)|(r?8:0)},e.SCOPE_VAR=259,e.SCOPE_CLASS_STATIC_BLOCK=256,e.SCOPE_DIRECT_SUPER=128,e.SCOPE_SUPER=64,e.SCOPE_SIMPLE_CATCH=32,e.SCOPE_ARROW=16,e.SCOPE_GENERATOR=8,e.SCOPE_ASYNC=4,e.SCOPE_FUNCTION=2,e.SCOPE_TOP=1,e.BIND_OUTSIDE=5,e.BIND_SIMPLE_CATCH=4,e.BIND_FUNCTION=3,e.BIND_LEXICAL=2,e.BIND_VAR=1,e.BIND_NONE=0}),L=O(function(t,e){e.__esModule=!0,e.Parser=void 0,e.Parser=class{constructor(n,r,s){this.options=n=(0,ee.getOptions)(n),this.sourceFile=n.sourceFile,this.keywords=(0,P.wordsRegexp)(k.keywords[n.ecmaVersion>=6?6:n.sourceType==="module"?"5module":5]);let a="";n.allowReserved!==!0&&(a=k.reservedWords[n.ecmaVersion>=6?6:n.ecmaVersion===5?5:3],n.sourceType==="module"&&(a+=" await")),this.reservedWords=(0,P.wordsRegexp)(a);let o=(a?a+" ":"")+k.reservedWords.strict;this.reservedWordsStrict=(0,P.wordsRegexp)(o),this.reservedWordsStrictBind=(0,P.wordsRegexp)(o+" "+k.reservedWords.strictBind),this.input=String(r),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
`,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(S.lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=l.types.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=n.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&n.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(x.SCOPE_TOP),this.regexpState=null,this.privateNameStack=[]}parse(){let n=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(n)}get inFunction(){return(this.currentVarScope().flags&x.SCOPE_FUNCTION)>0}get inGenerator(){return(this.currentVarScope().flags&x.SCOPE_GENERATOR)>0&&!this.currentVarScope().inClassFieldInit}get inAsync(){return(this.currentVarScope().flags&x.SCOPE_ASYNC)>0&&!this.currentVarScope().inClassFieldInit}get canAwait(){for(let n=this.scopeStack.length-1;n>=0;n--){let r=this.scopeStack[n];if(r.inClassFieldInit||r.flags&x.SCOPE_CLASS_STATIC_BLOCK)return!1;if(r.flags&x.SCOPE_FUNCTION)return(r.flags&x.SCOPE_ASYNC)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction}get allowSuper(){let n=this.currentThisScope(),r=n.flags,s=n.inClassFieldInit;return(r&x.SCOPE_SUPER)>0||s||this.options.allowSuperOutsideMethod}get allowDirectSuper(){return(this.currentThisScope().flags&x.SCOPE_DIRECT_SUPER)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}get allowNewDotTarget(){let n=this.currentThisScope(),r=n.flags,s=n.inClassFieldInit;return(r&(x.SCOPE_FUNCTION|x.SCOPE_CLASS_STATIC_BLOCK))>0||s}get inClassStaticBlock(){return(this.currentVarScope().flags&x.SCOPE_CLASS_STATIC_BLOCK)>0}static extend(...n){let r=this;for(let s=0;s<n.length;s++)r=n[s](r);return r}static parse(n,r){return new this(r,n).parse()}static parseExpressionAt(n,r,s){let a=new this(s,n,r);return a.nextToken(),a.parseExpression()}static tokenizer(n,r){return new this(r,n)}}}),kt=O(function(t,e){e.__esModule=!0,e.DestructuringErrors=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};let i=L.Parser.prototype,n=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;i.strictDirective=function(r){for(;;){S.skipWhiteSpace.lastIndex=r,r+=S.skipWhiteSpace.exec(this.input)[0].length;let s=n.exec(this.input.slice(r));if(!s||(s[1]||s[2])==="use strict")return!1;r+=s[0].length,S.skipWhiteSpace.lastIndex=r,r+=S.skipWhiteSpace.exec(this.input)[0].length,this.input[r]===";"&&r++}},i.eat=function(r){return this.type===r&&(this.next(),!0)},i.isContextual=function(r){return this.type===l.types.name&&this.value===r&&!this.containsEsc},i.eatContextual=function(r){return!!this.isContextual(r)&&(this.next(),!0)},i.expectContextual=function(r){this.eatContextual(r)||this.unexpected()},i.canInsertSemicolon=function(){return this.type===l.types.eof||this.type===l.types.braceR||S.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},i.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},i.semicolon=function(){this.eat(l.types.semi)||this.insertSemicolon()||this.unexpected()},i.afterTrailingComma=function(r,s){if(this.type===r)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),s||this.next(),!0},i.expect=function(r){this.eat(r)||this.unexpected()},i.unexpected=function(r){this.raise(r??this.start,"Unexpected token")},i.checkPatternErrors=function(r,s){if(!r)return;r.trailingComma>-1&&this.raiseRecoverable(r.trailingComma,"Comma is not permitted after the rest element");let a=s?r.parenthesizedAssign:r.parenthesizedBind;a>-1&&this.raiseRecoverable(a,"Parenthesized pattern")},i.checkExpressionErrors=function(r,s){if(!r)return!1;let a=r.shorthandAssign,o=r.doubleProto;if(!s)return a>=0||o>=0;a>=0&&this.raise(a,"Shorthand property assignments are valid only in destructuring patterns"),o>=0&&this.raiseRecoverable(o,"Redefinition of __proto__ property")},i.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},i.isSimpleAssignTarget=function(r){return r.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(r.expression):r.type==="Identifier"||r.type==="MemberExpression"}});function st(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=Hr(t))||e&&t&&typeof t.length=="number"){i&&(t=i);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hr(t,e){if(t){if(typeof t=="string")return Ii(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ii(t,e)}}function Ii(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}var b=L.Parser.prototype;b.parseTopLevel=function(t){let e=Object.create(null);for(t.body||(t.body=[]);this.type!==l.types.eof;){let r=this.parseStatement(null,!0,e);t.body.push(r)}if(this.inModule)for(var i=0,n=Object.keys(this.undefinedExports);i<n.length;i++){let r=n[i];this.raiseRecoverable(this.undefinedExports[r].start,`Export '${r}' is not defined`)}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType,this.finishNode(t,"Program")};var ie={kind:"loop"},Wr={kind:"switch"};b.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;S.skipWhiteSpace.lastIndex=this.pos;let e=S.skipWhiteSpace.exec(this.input),i=this.pos+e[0].length,n=this.input.charCodeAt(i);if(n===91||n===92||n>55295&&n<56320)return!0;if(t)return!1;if(n===123)return!0;if((0,k.isIdentifierStart)(n,!0)){let r=i+1;for(;(0,k.isIdentifierChar)(n=this.input.charCodeAt(r),!0);)++r;if(n===92||n>55295&&n<56320)return!0;let s=this.input.slice(i,r);if(!k.keywordRelationalOperator.test(s))return!0}return!1},b.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;S.skipWhiteSpace.lastIndex=this.pos;let t=S.skipWhiteSpace.exec(this.input),e=this.pos+t[0].length,i;return!S.lineBreak.test(this.input.slice(this.pos,e))&&this.input.slice(e,e+8)==="function"&&(e+8===this.input.length||!((0,k.isIdentifierChar)(i=this.input.charCodeAt(e+8))||i>55295&&i<56320))},b.parseStatement=function(t,e,i){let n=this.type,r=this.startNode(),s;switch(this.isLet(t)&&(n=l.types._var,s="let"),n){case l.types._break:case l.types._continue:return this.parseBreakContinueStatement(r,n.keyword);case l.types._debugger:return this.parseDebuggerStatement(r);case l.types._do:return this.parseDoStatement(r);case l.types._for:return this.parseForStatement(r);case l.types._function:return t&&(this.strict||t!=="if"&&t!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(r,!1,!t);case l.types._class:return t&&this.unexpected(),this.parseClass(r,!0);case l.types._if:return this.parseIfStatement(r);case l.types._return:return this.parseReturnStatement(r);case l.types._switch:return this.parseSwitchStatement(r);case l.types._throw:return this.parseThrowStatement(r);case l.types._try:return this.parseTryStatement(r);case l.types._const:case l.types._var:return s=s||this.value,t&&s!=="var"&&this.unexpected(),this.parseVarStatement(r,s);case l.types._while:return this.parseWhileStatement(r);case l.types._with:return this.parseWithStatement(r);case l.types.braceL:return this.parseBlock(!0,r);case l.types.semi:return this.parseEmptyStatement(r);case l.types._export:case l.types._import:if(this.options.ecmaVersion>10&&n===l.types._import){S.skipWhiteSpace.lastIndex=this.pos;let p=S.skipWhiteSpace.exec(this.input),h=this.pos+p[0].length,u=this.input.charCodeAt(h);if(u===40||u===46)return this.parseExpressionStatement(r,this.parseExpression())}return this.options.allowImportExportEverywhere||(e||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===l.types._import?this.parseImport(r):this.parseExport(r,i);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(r,!0,!t);let a=this.value,o=this.parseExpression();return n===l.types.name&&o.type==="Identifier"&&this.eat(l.types.colon)?this.parseLabeledStatement(r,a,o,t):this.parseExpressionStatement(r,o)}},b.parseBreakContinueStatement=function(t,e){let i=e==="break";this.next(),this.eat(l.types.semi)||this.insertSemicolon()?t.label=null:this.type!==l.types.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());let n=0;for(;n<this.labels.length;++n){let r=this.labels[n];if((t.label==null||r.name===t.label.name)&&(r.kind!=null&&(i||r.kind==="loop")||t.label&&i))break}return n===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,i?"BreakStatement":"ContinueStatement")},b.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},b.parseDoStatement=function(t){return this.next(),this.labels.push(ie),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(l.types._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(l.types.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},b.parseForStatement=function(t){this.next();let e=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ie),this.enterScope(0),this.expect(l.types.parenL),this.type===l.types.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);let i=this.isLet();if(this.type===l.types._var||this.type===l.types._const||i){let o=this.startNode(),p=i?"let":this.value;return this.next(),this.parseVar(o,!0,p),this.finishNode(o,"VariableDeclaration"),(this.type===l.types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&o.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===l.types._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,o)):(e>-1&&this.unexpected(e),this.parseFor(t,o))}let n=this.isContextual("let"),r=!1,s=new kt.DestructuringErrors,a=this.parseExpression(!(e>-1)||"await",s);return this.type===l.types._in||(r=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===l.types._in?e>-1&&this.unexpected(e):t.await=e>-1),n&&r&&this.raise(a.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(a,!1,s),this.checkLValPattern(a),this.parseForIn(t,a)):(this.checkExpressionErrors(s,!0),e>-1&&this.unexpected(e),this.parseFor(t,a))},b.parseFunctionStatement=function(t,e,i){return this.next(),this.parseFunction(t,at|(i?0:re),!1,e)},b.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(l.types._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},b.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(l.types.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},b.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(l.types.braceL),this.labels.push(Wr),this.enterScope(0);let e;for(let i=!1;this.type!==l.types.braceR;)if(this.type===l.types._case||this.type===l.types._default){let n=this.type===l.types._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),n?e.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(l.types.colon)}else e||this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},b.parseThrowStatement=function(t){return this.next(),S.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var qr=[];b.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===l.types._catch){let e=this.startNode();if(this.next(),this.eat(l.types.parenL)){e.param=this.parseBindingAtom();let i=e.param.type==="Identifier";this.enterScope(i?x.SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(e.param,i?x.BIND_SIMPLE_CATCH:x.BIND_LEXICAL),this.expect(l.types.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0);e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(l.types._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},b.parseVarStatement=function(t,e){return this.next(),this.parseVar(t,!1,e),this.semicolon(),this.finishNode(t,"VariableDeclaration")},b.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(ie),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},b.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},b.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},b.parseLabeledStatement=function(t,e,i,n){for(var r,s=st(this.labels);!(r=s()).done;)r.value.name===e&&this.raise(i.start,"Label '"+e+"' is already declared");let a=this.type.isLoop?"loop":this.type===l.types._switch?"switch":null;for(let o=this.labels.length-1;o>=0;o--){let p=this.labels[o];if(p.statementStart===t.start)p.statementStart=this.start,p.kind=a;else break}return this.labels.push({name:e,kind:a,statementStart:this.start}),t.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")},b.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},b.parseBlock=function(t=!0,e=this.startNode(),i){for(e.body=[],this.expect(l.types.braceL),t&&this.enterScope(0);this.type!==l.types.braceR;){let n=this.parseStatement(null);e.body.push(n)}return i&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(e,"BlockStatement")},b.parseFor=function(t,e){return t.init=e,this.expect(l.types.semi),t.test=this.type===l.types.semi?null:this.parseExpression(),this.expect(l.types.semi),t.update=this.type===l.types.parenR?null:this.parseExpression(),this.expect(l.types.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},b.parseForIn=function(t,e){let i=this.type===l.types._in;return this.next(),e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(e.start,`${i?"for-in":"for-of"} loop variable declaration may not have an initializer`),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(l.types.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")},b.parseVar=function(t,e,i){for(t.declarations=[],t.kind=i;;){let n=this.startNode();if(this.parseVarId(n,i),this.eat(l.types.eq)?n.init=this.parseMaybeAssign(e):i!=="const"||this.type===l.types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?n.id.type==="Identifier"||e&&(this.type===l.types._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(l.types.comma))break}return t},b.parseVarId=function(t,e){t.id=this.parseBindingAtom(),this.checkLValPattern(t.id,e==="var"?x.BIND_VAR:x.BIND_LEXICAL,!1)};var at=1,re=2;function Gr(t,e){let i=e.key.name,n=t[i],r="true";return e.type==="MethodDefinition"&&(e.kind==="get"||e.kind==="set")&&(r=(e.static?"s":"i")+e.kind),n==="iget"&&r==="iset"||n==="iset"&&r==="iget"||n==="sget"&&r==="sset"||n==="sset"&&r==="sget"?(t[i]="true",!1):!!n||(t[i]=r,!1)}function St(t,e){let i=t.computed,n=t.key;return!i&&(n.type==="Identifier"&&n.name===e||n.type==="Literal"&&n.value===e)}function te(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=zr(t))||e&&t&&typeof t.length=="number"){i&&(t=i);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zr(t,e){if(t){if(typeof t=="string")return Ti(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ti(t,e)}}function Ti(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}b.parseFunction=function(t,e,i,n,r){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===l.types.star&&e&re&&this.unexpected(),t.generator=this.eat(l.types.star)),this.options.ecmaVersion>=8&&(t.async=!!n),e&at&&(t.id=4&e&&this.type!==l.types.name?null:this.parseIdent(),t.id&&!(e&re)&&this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?x.BIND_VAR:x.BIND_LEXICAL:x.BIND_FUNCTION));let s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope((0,x.functionFlags)(t.async,t.generator)),e&at||(t.id=this.type===l.types.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,i,!1,r),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(t,e&at?"FunctionDeclaration":"FunctionExpression")},b.parseFunctionParams=function(t){this.expect(l.types.parenL),t.params=this.parseBindingList(l.types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},b.parseClass=function(t,e){this.next();let i=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);let n=this.enterClassBody(),r=this.startNode(),s=!1;for(r.body=[],this.expect(l.types.braceL);this.type!==l.types.braceR;){let a=this.parseClassElement(t.superClass!==null);a&&(r.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"?(s&&this.raise(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&a.key.type==="PrivateIdentifier"&&Gr(n,a)&&this.raiseRecoverable(a.key.start,`Identifier '#${a.key.name}' has already been declared`))}return this.strict=i,this.next(),t.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},b.parseClassElement=function(t){if(this.eat(l.types.semi))return null;let e=this.options.ecmaVersion,i=this.startNode(),n="",r=!1,s=!1,a="method",o=!1;if(this.eatContextual("static")){if(e>=13&&this.eat(l.types.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===l.types.star?o=!0:n="static"}if(i.static=o,!n&&e>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===l.types.star)&&!this.canInsertSemicolon()?s=!0:n="async"),!n&&(e>=9||!s)&&this.eat(l.types.star)&&(r=!0),!n&&!s&&!r){let p=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=p:n=p)}if(n?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=n,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),e<13||this.type===l.types.parenL||a!=="method"||r||s){let p=!i.static&&St(i,"constructor");p&&a!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=p?"constructor":a,this.parseClassMethod(i,r,s,p&&t)}else this.parseClassField(i);return i},b.isClassElementNameStart=function(){return this.type===l.types.name||this.type===l.types.privateId||this.type===l.types.num||this.type===l.types.string||this.type===l.types.bracketL||this.type.keyword},b.parseClassElementName=function(t){this.type===l.types.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),t.computed=!1,t.key=this.parsePrivateIdent()):this.parsePropertyName(t)},b.parseClassMethod=function(t,e,i,n){let r=t.key;t.kind==="constructor"?(e&&this.raise(r.start,"Constructor can't be a generator"),i&&this.raise(r.start,"Constructor can't be an async method")):t.static&&St(t,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");let s=t.value=this.parseMethod(e,i,n);return t.kind==="get"&&s.params.length!==0&&this.raiseRecoverable(s.start,"getter should have no params"),t.kind==="set"&&s.params.length!==1&&this.raiseRecoverable(s.start,"setter should have exactly one param"),t.kind==="set"&&s.params[0].type==="RestElement"&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(t,"MethodDefinition")},b.parseClassField=function(t){if(St(t,"constructor")?this.raise(t.key.start,"Classes can't have a field named 'constructor'"):t.static&&St(t,"prototype")&&this.raise(t.key.start,"Classes can't have a static field named 'prototype'"),this.eat(l.types.eq)){let e=this.currentThisScope(),i=e.inClassFieldInit;e.inClassFieldInit=!0,t.value=this.parseMaybeAssign(),e.inClassFieldInit=i}else t.value=null;return this.semicolon(),this.finishNode(t,"PropertyDefinition")},b.parseClassStaticBlock=function(t){t.body=[];let e=this.labels;for(this.labels=[],this.enterScope(x.SCOPE_CLASS_STATIC_BLOCK|x.SCOPE_SUPER);this.type!==l.types.braceR;){let i=this.parseStatement(null);t.body.push(i)}return this.next(),this.exitScope(),this.labels=e,this.finishNode(t,"StaticBlock")},b.parseClassId=function(t,e){this.type===l.types.name?(t.id=this.parseIdent(),e&&this.checkLValSimple(t.id,x.BIND_LEXICAL,!1)):(e===!0&&this.unexpected(),t.id=null)},b.parseClassSuper=function(t){t.superClass=this.eat(l.types._extends)?this.parseExprSubscripts(!1):null},b.enterClassBody=function(){let t={declared:Object.create(null),used:[]};return this.privateNameStack.push(t),t.declared},b.exitClassBody=function(){let t=this.privateNameStack.pop(),e=t.declared,i=t.used,n=this.privateNameStack.length,r=n===0?null:this.privateNameStack[n-1];for(let s=0;s<i.length;++s){let a=i[s];(0,P.hasOwn)(e,a.name)||(r?r.used.push(a):this.raiseRecoverable(a.start,`Private field '#${a.name}' must be declared in an enclosing class`))}},b.parseExport=function(t,e){if(this.next(),this.eat(l.types.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseModuleExportName(),this.checkExport(e,t.exported.name,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==l.types.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration");if(this.eat(l.types._default)){this.checkExport(e,"default",this.lastTokStart);let r;if(this.type===l.types._function||(r=this.isAsyncFunction())){let s=this.startNode();this.next(),r&&this.next(),t.declaration=this.parseFunction(s,4|at,!1,r)}else if(this.type===l.types._class){let s=this.startNode();t.declaration=this.parseClass(s,"nullableID")}else t.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(t,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())t.declaration=this.parseStatement(null),t.declaration.type==="VariableDeclaration"?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id.name,t.declaration.id.start),t.specifiers=[],t.source=null;else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==l.types.string&&this.unexpected(),t.source=this.parseExprAtom();else{for(var i,n=st(t.specifiers);!(i=n()).done;){let r=i.value;this.checkUnreserved(r.local),this.checkLocalExport(r.local),r.local.type==="Literal"&&this.raise(r.local.start,"A string literal cannot be used as an exported binding without `from`.")}t.source=null}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},b.checkExport=function(t,e,i){t&&((0,P.hasOwn)(t,e)&&this.raiseRecoverable(i,"Duplicate export '"+e+"'"),t[e]=!0)},b.checkPatternExport=function(t,e){let i=e.type;if(i==="Identifier")this.checkExport(t,e.name,e.start);else if(i==="ObjectPattern")for(var n,r=st(e.properties);!(n=r()).done;){let o=n.value;this.checkPatternExport(t,o)}else if(i==="ArrayPattern")for(var s,a=st(e.elements);!(s=a()).done;){let o=s.value;o&&this.checkPatternExport(t,o)}else i==="Property"?this.checkPatternExport(t,e.value):i==="AssignmentPattern"?this.checkPatternExport(t,e.left):i==="RestElement"?this.checkPatternExport(t,e.argument):i==="ParenthesizedExpression"&&this.checkPatternExport(t,e.expression)},b.checkVariableExport=function(t,e){if(t)for(var i,n=st(e);!(i=n()).done;){let r=i.value;this.checkPatternExport(t,r.id)}},b.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},b.parseExportSpecifiers=function(t){let e=[],i=!0;for(this.expect(l.types.braceL);!this.eat(l.types.braceR);){if(i)i=!1;else if(this.expect(l.types.comma),this.afterTrailingComma(l.types.braceR))break;let n=this.startNode();n.local=this.parseModuleExportName(),n.exported=this.eatContextual("as")?this.parseModuleExportName():n.local,this.checkExport(t,n.exported[n.exported.type==="Identifier"?"name":"value"],n.exported.start),e.push(this.finishNode(n,"ExportSpecifier"))}return e},b.parseImport=function(t){return this.next(),this.type===l.types.string?(t.specifiers=qr,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===l.types.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},b.parseImportSpecifiers=function(){let t=[],e=!0;if(this.type===l.types.name){let i=this.startNode();if(i.local=this.parseIdent(),this.checkLValSimple(i.local,x.BIND_LEXICAL),t.push(this.finishNode(i,"ImportDefaultSpecifier")),!this.eat(l.types.comma))return t}if(this.type===l.types.star){let i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLValSimple(i.local,x.BIND_LEXICAL),t.push(this.finishNode(i,"ImportNamespaceSpecifier")),t}for(this.expect(l.types.braceL);!this.eat(l.types.braceR);){if(e)e=!1;else if(this.expect(l.types.comma),this.afterTrailingComma(l.types.braceR))break;let i=this.startNode();i.imported=this.parseModuleExportName(),this.eatContextual("as")?i.local=this.parseIdent():(this.checkUnreserved(i.imported),i.local=i.imported),this.checkLValSimple(i.local,x.BIND_LEXICAL),t.push(this.finishNode(i,"ImportSpecifier"))}return t},b.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===l.types.string){let t=this.parseLiteral(this.value);return P.loneSurrogate.test(t.value)&&this.raise(t.start,"An export name cannot include a lone surrogate."),t}return this.parseIdent(!0)},b.adaptDirectivePrologue=function(t){for(let e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)},b.isDirectiveCandidate=function(t){return t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value=="string"&&(this.input[t.start]==='"'||this.input[t.start]==="'")};var U=L.Parser.prototype;U.toAssignable=function(t,e,i){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&t.name==="await"&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var n,r=te(t.properties);!(n=r()).done;){let s=n.value;this.toAssignable(s,e),s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")&&this.raise(s.argument.start,"Unexpected token")}break;case"Property":t.kind!=="init"&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),t.argument.type==="AssignmentPattern"&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":t.operator!=="="&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,i);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return t},U.toAssignableList=function(t,e){let i=t.length;for(let n=0;n<i;n++){let r=t[n];r&&this.toAssignable(r,e)}if(i){let n=t[i-1];this.options.ecmaVersion===6&&e&&n&&n.type==="RestElement"&&n.argument.type!=="Identifier"&&this.unexpected(n.argument.start)}return t},U.parseSpread=function(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},U.parseRestBinding=function(){let t=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==l.types.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},U.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case l.types.bracketL:let t=this.startNode();return this.next(),t.elements=this.parseBindingList(l.types.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case l.types.braceL:return this.parseObj(!0)}return this.parseIdent()},U.parseBindingList=function(t,e,i){let n=[],r=!0;for(;!this.eat(t);)if(r?r=!1:this.expect(l.types.comma),e&&this.type===l.types.comma)n.push(null);else{if(i&&this.afterTrailingComma(t))break;if(this.type===l.types.ellipsis){let s=this.parseRestBinding();this.parseBindingListItem(s),n.push(s),this.type===l.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}else{let s=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(s),n.push(s)}}return n},U.parseBindingListItem=function(t){return t},U.parseMaybeDefault=function(t,e,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(l.types.eq))return i;let n=this.startNodeAt(t,e);return n.left=i,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},U.checkLValSimple=function(t,e=x.BIND_NONE,i){let n=e!==x.BIND_NONE;switch(t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(n?"Binding ":"Assigning to ")+t.name+" in strict mode"),n&&(e===x.BIND_LEXICAL&&t.name==="let"&&this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name"),i&&((0,P.hasOwn)(i,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),i[t.name]=!0),e!==x.BIND_OUTSIDE&&this.declareName(t.name,e,t.start));break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(t.start,"Binding parenthesized expression"),this.checkLValSimple(t.expression,e,i);default:this.raise(t.start,(n?"Binding":"Assigning to")+" rvalue")}},U.checkLValPattern=function(t,e=x.BIND_NONE,i){switch(t.type){case"ObjectPattern":for(var n,r=te(t.properties);!(n=r()).done;){let o=n.value;this.checkLValInnerPattern(o,e,i)}break;case"ArrayPattern":for(var s,a=te(t.elements);!(s=a()).done;){let o=s.value;o&&this.checkLValInnerPattern(o,e,i)}break;default:this.checkLValSimple(t,e,i)}},U.checkLValInnerPattern=function(t,e=x.BIND_NONE,i){switch(t.type){case"Property":this.checkLValInnerPattern(t.value,e,i);break;case"AssignmentPattern":this.checkLValPattern(t.left,e,i);break;case"RestElement":this.checkLValPattern(t.argument,e,i);break;default:this.checkLValPattern(t,e,i)}};var tt=O(function(t,e){e.__esModule=!0,e.types=e.TokContext=void 0;class i{constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace=!!p,this.override=h,this.generator=!!u}}e.TokContext=i;let n={b_stat:new i("{",!1),b_expr:new i("{",!0),b_tmpl:new i("${",!1),p_stat:new i("(",!1),p_expr:new i("(",!0),q_tmpl:new i("`",!0,!0,s=>s.tryReadTemplateToken()),f_stat:new i("function",!1),f_expr:new i("function",!0),f_expr_gen:new i("function",!0,!1,null,!0),f_gen:new i("function",!1,!1,null,!0)};e.types=n;let r=L.Parser.prototype;r.initialContext=function(){return[n.b_stat]},r.curContext=function(){return this.context[this.context.length-1]},r.braceIsBlock=function(s){let a=this.curContext();return a===n.f_expr||a===n.f_stat||(s===l.types.colon&&(a===n.b_stat||a===n.b_expr)?!a.isExpr:s===l.types._return||s===l.types.name&&this.exprAllowed?S.lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):s===l.types._else||s===l.types.semi||s===l.types.eof||s===l.types.parenR||s===l.types.arrow||(s===l.types.braceL?a===n.b_stat:s!==l.types._var&&s!==l.types._const&&s!==l.types.name&&!this.exprAllowed))},r.inGeneratorContext=function(){for(let s=this.context.length-1;s>=1;s--){let a=this.context[s];if(a.token==="function")return a.generator}return!1},r.updateContext=function(s){let a,o=this.type;o.keyword&&s===l.types.dot?this.exprAllowed=!1:(a=o.updateContext)?a.call(this,s):this.exprAllowed=o.beforeExpr},r.overrideContext=function(s){this.curContext()!==s&&(this.context[this.context.length-1]=s)},l.types.parenR.updateContext=l.types.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}let s=this.context.pop();s===n.b_stat&&this.curContext().token==="function"&&(s=this.context.pop()),this.exprAllowed=!s.isExpr},l.types.braceL.updateContext=function(s){this.context.push(this.braceIsBlock(s)?n.b_stat:n.b_expr),this.exprAllowed=!0},l.types.dollarBraceL.updateContext=function(){this.context.push(n.b_tmpl),this.exprAllowed=!0},l.types.parenL.updateContext=function(s){let a=s===l.types._if||s===l.types._for||s===l.types._with||s===l.types._while;this.context.push(a?n.p_stat:n.p_expr),this.exprAllowed=!0},l.types.incDec.updateContext=function(){},l.types._function.updateContext=l.types._class.updateContext=function(s){!s.beforeExpr||s===l.types._else||s===l.types.semi&&this.curContext()!==n.p_stat||s===l.types._return&&S.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(s===l.types.colon||s===l.types.braceL)&&this.curContext()===n.b_stat?this.context.push(n.f_stat):this.context.push(n.f_expr),this.exprAllowed=!1},l.types.backQuote.updateContext=function(){this.curContext()===n.q_tmpl?this.context.pop():this.context.push(n.q_tmpl),this.exprAllowed=!1},l.types.star.updateContext=function(s){if(s===l.types._function){let a=this.context.length-1;this.context[a]===n.f_expr?this.context[a]=n.f_expr_gen:this.context[a]=n.f_gen}this.exprAllowed=!0},l.types.name.updateContext=function(s){let a=!1;this.options.ecmaVersion>=6&&s!==l.types.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(a=!0),this.exprAllowed=a}});function Ri(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=Xr(t))||e&&t&&typeof t.length=="number"){i&&(t=i);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xr(t,e){if(t){if(typeof t=="string")return Ni(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ni(t,e)}}function Ni(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}var E=L.Parser.prototype;function Mi(t){return t.type==="MemberExpression"&&t.property.type==="PrivateIdentifier"||t.type==="ChainExpression"&&Mi(t.expression)}E.checkPropClash=function(t,e,i){if(this.options.ecmaVersion>=9&&t.type==="SpreadElement"||this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))return;let n=t.key,r;switch(n.type){case"Identifier":r=n.name;break;case"Literal":r=String(n.value);break;default:return}let s=t.kind;if(this.options.ecmaVersion>=6){r==="__proto__"&&s==="init"&&(e.proto&&(i?i.doubleProto<0&&(i.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),e.proto=!0);return}let a=e[r="$"+r];if(a){let o;(o=s==="init"?this.strict&&a.init||a.get||a.set:a.init||a[s])&&this.raiseRecoverable(n.start,"Redefinition of property")}else a=e[r]={init:!1,get:!1,set:!1};a[s]=!0},E.parseExpression=function(t,e){let i=this.start,n=this.startLoc,r=this.parseMaybeAssign(t,e);if(this.type===l.types.comma){let s=this.startNodeAt(i,n);for(s.expressions=[r];this.eat(l.types.comma);)s.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(s,"SequenceExpression")}return r},E.parseMaybeAssign=function(t,e,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}let n=!1,r=-1,s=-1,a=-1;e?(r=e.parenthesizedAssign,s=e.trailingComma,a=e.doubleProto,e.parenthesizedAssign=e.trailingComma=-1):(e=new kt.DestructuringErrors,n=!0);let o=this.start,p=this.startLoc;(this.type===l.types.parenL||this.type===l.types.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=t==="await");let h=this.parseMaybeConditional(t,e);if(i&&(h=i.call(this,h,o,p)),this.type.isAssign){let u=this.startNodeAt(o,p);return u.operator=this.value,this.type===l.types.eq&&(h=this.toAssignable(h,!1,e)),n||(e.parenthesizedAssign=e.trailingComma=e.doubleProto=-1),e.shorthandAssign>=h.start&&(e.shorthandAssign=-1),this.type===l.types.eq?this.checkLValPattern(h):this.checkLValSimple(h),u.left=h,this.next(),u.right=this.parseMaybeAssign(t),a>-1&&(e.doubleProto=a),this.finishNode(u,"AssignmentExpression")}return n&&this.checkExpressionErrors(e,!0),r>-1&&(e.parenthesizedAssign=r),s>-1&&(e.trailingComma=s),h},E.parseMaybeConditional=function(t,e){let i=this.start,n=this.startLoc,r=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return r;if(this.eat(l.types.question)){let s=this.startNodeAt(i,n);return s.test=r,s.consequent=this.parseMaybeAssign(),this.expect(l.types.colon),s.alternate=this.parseMaybeAssign(t),this.finishNode(s,"ConditionalExpression")}return r},E.parseExprOps=function(t,e){let i=this.start,n=this.startLoc,r=this.parseMaybeUnary(e,!1,!1,t);return this.checkExpressionErrors(e)||r.start===i&&r.type==="ArrowFunctionExpression"?r:this.parseExprOp(r,i,n,-1,t)},E.parseExprOp=function(t,e,i,n,r){let s=this.type.binop;if(s!=null&&(!r||this.type!==l.types._in)&&s>n){let a=this.type===l.types.logicalOR||this.type===l.types.logicalAND,o=this.type===l.types.coalesce;o&&(s=l.types.logicalAND.binop);let p=this.value;this.next();let h=this.start,u=this.startLoc,m=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,r),h,u,s,r),y=this.buildBinary(e,i,t,m,p,a||o);return(a&&this.type===l.types.coalesce||o&&(this.type===l.types.logicalOR||this.type===l.types.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(y,e,i,n,r)}return t},E.buildBinary=function(t,e,i,n,r,s){n.type==="PrivateIdentifier"&&this.raise(n.start,"Private identifier can only be left side of binary expression");let a=this.startNodeAt(t,e);return a.left=i,a.operator=r,a.right=n,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")},E.parseMaybeUnary=function(t,e,i,n){let r=this.start,s=this.startLoc,a;if(this.isContextual("await")&&this.canAwait)a=this.parseAwait(n),e=!0;else if(this.type.prefix){let o=this.startNode(),p=this.type===l.types.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,p,n),this.checkExpressionErrors(t,!0),p?this.checkLValSimple(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):o.operator==="delete"&&Mi(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):e=!0,a=this.finishNode(o,p?"UpdateExpression":"UnaryExpression")}else if(e||this.type!==l.types.privateId){if(a=this.parseExprSubscripts(t,n),this.checkExpressionErrors(t))return a;for(;this.type.postfix&&!this.canInsertSemicolon();){let o=this.startNodeAt(r,s);o.operator=this.value,o.prefix=!1,o.argument=a,this.checkLValSimple(a),this.next(),a=this.finishNode(o,"UpdateExpression")}}else(n||this.privateNameStack.length===0)&&this.unexpected(),a=this.parsePrivateIdent(),this.type!==l.types._in&&this.unexpected();return!i&&this.eat(l.types.starstar)?e?void this.unexpected(this.lastTokStart):this.buildBinary(r,s,a,this.parseMaybeUnary(null,!1,!1,n),"**",!1):a},E.parseExprSubscripts=function(t,e){let i=this.start,n=this.startLoc,r=this.parseExprAtom(t,e);if(r.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return r;let s=this.parseSubscripts(r,i,n,!1,e);return t&&s.type==="MemberExpression"&&(t.parenthesizedAssign>=s.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=s.start&&(t.parenthesizedBind=-1),t.trailingComma>=s.start&&(t.trailingComma=-1)),s},E.parseSubscripts=function(t,e,i,n,r){let s=this.options.ecmaVersion>=8&&t.type==="Identifier"&&t.name==="async"&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start==5&&this.potentialArrowAt===t.start,a=!1;for(;;){let o=this.parseSubscript(t,e,i,n,s,a,r);if(o.optional&&(a=!0),o===t||o.type==="ArrowFunctionExpression"){if(a){let p=this.startNodeAt(e,i);p.expression=o,o=this.finishNode(p,"ChainExpression")}return o}t=o}},E.parseSubscript=function(t,e,i,n,r,s,a){let o=this.options.ecmaVersion>=11,p=o&&this.eat(l.types.questionDot);n&&p&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");let h=this.eat(l.types.bracketL);if(h||p&&this.type!==l.types.parenL&&this.type!==l.types.backQuote||this.eat(l.types.dot)){let u=this.startNodeAt(e,i);u.object=t,h?(u.property=this.parseExpression(),this.expect(l.types.bracketR)):this.type===l.types.privateId&&t.type!=="Super"?u.property=this.parsePrivateIdent():u.property=this.parseIdent(this.options.allowReserved!=="never"),u.computed=!!h,o&&(u.optional=p||u.object.optional),t=this.finishNode(u,"MemberExpression")}else if(!n&&this.eat(l.types.parenL)){let u=new kt.DestructuringErrors,m=this.yieldPos,y=this.awaitPos,_=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;let w=this.parseExprList(l.types.parenR,this.options.ecmaVersion>=8,!1,u);if(r&&!p&&!this.canInsertSemicolon()&&this.eat(l.types.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=m,this.awaitPos=y,this.awaitIdentPos=_,this.parseArrowExpression(this.startNodeAt(e,i),w,!0,a);this.checkExpressionErrors(u,!0),this.yieldPos=m||this.yieldPos,this.awaitPos=y||this.awaitPos,this.awaitIdentPos=_||this.awaitIdentPos;let c=this.startNodeAt(e,i);c.callee=t,c.arguments=w,o&&(c.optional=p),t=this.finishNode(c,"CallExpression")}else if(this.type===l.types.backQuote){(p||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");let u=this.startNodeAt(e,i);u.tag=t,u.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(u,"TaggedTemplateExpression")}return t},E.parseExprAtom=function(t,e){this.type===l.types.slash&&this.readRegexp();let i,n=this.potentialArrowAt===this.start;switch(this.type){case l.types._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type!==l.types.parenL||this.allowDirectSuper||this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==l.types.dot&&this.type!==l.types.bracketL&&this.type!==l.types.parenL&&this.unexpected(),this.finishNode(i,"Super");case l.types._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case l.types.name:let r=this.start,s=this.startLoc,a=this.containsEsc,o=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(l.types._function))return this.overrideContext(tt.types.f_expr),this.parseFunction(this.startNodeAt(r,s),0,!1,!0,e);if(n&&!this.canInsertSemicolon()){if(this.eat(l.types.arrow))return this.parseArrowExpression(this.startNodeAt(r,s),[o],!1,e);if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===l.types.name&&!a&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return o=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(l.types.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,s),[o],!0,e)}return o;case l.types.regexp:let p=this.value;return(i=this.parseLiteral(p.value)).regex={pattern:p.pattern,flags:p.flags},i;case l.types.num:case l.types.string:return this.parseLiteral(this.value);case l.types._null:case l.types._true:case l.types._false:return(i=this.startNode()).value=this.type===l.types._null?null:this.type===l.types._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case l.types.parenL:let h=this.start,u=this.parseParenAndDistinguishExpression(n,e);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(t.parenthesizedAssign=h),t.parenthesizedBind<0&&(t.parenthesizedBind=h)),u;case l.types.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(l.types.bracketR,!0,!0,t),this.finishNode(i,"ArrayExpression");case l.types.braceL:return this.overrideContext(tt.types.b_expr),this.parseObj(!1,t);case l.types._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case l.types._class:return this.parseClass(this.startNode(),!1);case l.types._new:return this.parseNew();case l.types.backQuote:return this.parseTemplate();case l.types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},E.parseExprImport=function(){let t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");let e=this.parseIdent(!0);switch(this.type){case l.types.parenL:return this.parseDynamicImport(t);case l.types.dot:return t.meta=e,this.parseImportMeta(t);default:this.unexpected()}},E.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),!this.eat(l.types.parenR)){let e=this.start;this.eat(l.types.comma)&&this.eat(l.types.parenR)?this.raiseRecoverable(e,"Trailing comma is not allowed in import()"):this.unexpected(e)}return this.finishNode(t,"ImportExpression")},E.parseImportMeta=function(t){this.next();let e=this.containsEsc;return t.property=this.parseIdent(!0),t.property.name!=="meta"&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),e&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")},E.parseLiteral=function(t){let e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),e.raw.charCodeAt(e.raw.length-1)===110&&(e.bigint=e.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(e,"Literal")},E.parseParenExpression=function(){this.expect(l.types.parenL);let t=this.parseExpression();return this.expect(l.types.parenR),t},E.parseParenAndDistinguishExpression=function(t,e){let i=this.start,n=this.startLoc,r,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();let a=this.start,o=this.startLoc,p=[],h=!0,u=!1,m=new kt.DestructuringErrors,y=this.yieldPos,_=this.awaitPos,w;for(this.yieldPos=0,this.awaitPos=0;this.type!==l.types.parenR;){if(h?h=!1:this.expect(l.types.comma),s&&this.afterTrailingComma(l.types.parenR,!0)){u=!0;break}if(this.type===l.types.ellipsis){w=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===l.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}p.push(this.parseMaybeAssign(!1,m,this.parseParenItem))}let c=this.lastTokEnd,d=this.lastTokEndLoc;if(this.expect(l.types.parenR),t&&!this.canInsertSemicolon()&&this.eat(l.types.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=_,this.parseParenArrowList(i,n,p,e);(!p.length||u)&&this.unexpected(this.lastTokStart),w&&this.unexpected(w),this.checkExpressionErrors(m,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=_||this.awaitPos,p.length>1?((r=this.startNodeAt(a,o)).expressions=p,this.finishNodeAt(r,"SequenceExpression",c,d)):r=p[0]}else r=this.parseParenExpression();if(!this.options.preserveParens)return r;{let a=this.startNodeAt(i,n);return a.expression=r,this.finishNode(a,"ParenthesizedExpression")}},E.parseParenItem=function(t){return t},E.parseParenArrowList=function(t,e,i,n){return this.parseArrowExpression(this.startNodeAt(t,e),i,!1,n)};var Kr=[];E.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");let t=this.startNode(),e=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(l.types.dot)){t.meta=e;let s=this.containsEsc;return t.property=this.parseIdent(!0),t.property.name!=="target"&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),s&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}let i=this.start,n=this.startLoc,r=this.type===l.types._import;return t.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0,!1),r&&t.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(l.types.parenL)?t.arguments=this.parseExprList(l.types.parenR,this.options.ecmaVersion>=8,!1):t.arguments=Kr,this.finishNode(t,"NewExpression")},E.parseTemplateElement=function({isTagged:t}){let e=this.startNode();return this.type===l.types.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),e.value={raw:this.value,cooked:null}):e.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
`),cooked:this.value},this.next(),e.tail=this.type===l.types.backQuote,this.finishNode(e,"TemplateElement")},E.parseTemplate=function({isTagged:t=!1}={}){let e=this.startNode();this.next(),e.expressions=[];let i=this.parseTemplateElement({isTagged:t});for(e.quasis=[i];!i.tail;)this.type===l.types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(l.types.dollarBraceL),e.expressions.push(this.parseExpression()),this.expect(l.types.braceR),e.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(e,"TemplateLiteral")},E.isAsyncProp=function(t){return!t.computed&&t.key.type==="Identifier"&&t.key.name==="async"&&(this.type===l.types.name||this.type===l.types.num||this.type===l.types.string||this.type===l.types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===l.types.star)&&!S.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},E.parseObj=function(t,e){let i=this.startNode(),n=!0,r={};for(i.properties=[],this.next();!this.eat(l.types.braceR);){if(n)n=!1;else if(this.expect(l.types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(l.types.braceR))break;let s=this.parseProperty(t,e);t||this.checkPropClash(s,r,e),i.properties.push(s)}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},E.parseProperty=function(t,e){let i=this.startNode(),n,r,s,a;if(this.options.ecmaVersion>=9&&this.eat(l.types.ellipsis))return t?(i.argument=this.parseIdent(!1),this.type===l.types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(this.type===l.types.parenL&&e&&(e.parenthesizedAssign<0&&(e.parenthesizedAssign=this.start),e.parenthesizedBind<0&&(e.parenthesizedBind=this.start)),i.argument=this.parseMaybeAssign(!1,e),this.type===l.types.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(t||e)&&(s=this.start,a=this.startLoc),t||(n=this.eat(l.types.star)));let o=this.containsEsc;return this.parsePropertyName(i),!t&&!o&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(i)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(l.types.star),this.parsePropertyName(i,e)):r=!1,this.parsePropertyValue(i,t,n,r,s,a,e,o),this.finishNode(i,"Property")},E.parsePropertyValue=function(t,e,i,n,r,s,a,o){if((i||n)&&this.type===l.types.colon&&this.unexpected(),this.eat(l.types.colon))t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),t.kind="init";else if(this.options.ecmaVersion>=6&&this.type===l.types.parenL)e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(i,n);else if(e||o||!(this.options.ecmaVersion>=5)||t.computed||t.key.type!=="Identifier"||t.key.name!=="get"&&t.key.name!=="set"||this.type===l.types.comma||this.type===l.types.braceR||this.type===l.types.eq)this.options.ecmaVersion>=6&&!t.computed&&t.key.type==="Identifier"?((i||n)&&this.unexpected(),this.checkUnreserved(t.key),t.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=r),t.kind="init",e?t.value=this.parseMaybeDefault(r,s,this.copyNode(t.key)):this.type===l.types.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),t.value=this.parseMaybeDefault(r,s,this.copyNode(t.key))):t.value=this.copyNode(t.key),t.shorthand=!0):this.unexpected();else{(i||n)&&this.unexpected(),t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1);let p=t.kind==="get"?0:1;if(t.value.params.length!==p){let h=t.value.start;t.kind==="get"?this.raiseRecoverable(h,"getter should have no params"):this.raiseRecoverable(h,"setter should have exactly one param")}else t.kind==="set"&&t.value.params[0].type==="RestElement"&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")}},E.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(l.types.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(l.types.bracketR),t.key;t.computed=!1}return t.key=this.type===l.types.num||this.type===l.types.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},E.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},E.parseMethod=function(t,e,i){let n=this.startNode(),r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=t),this.options.ecmaVersion>=8&&(n.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope((0,x.functionFlags)(e,n.generator)|x.SCOPE_SUPER|(i?x.SCOPE_DIRECT_SUPER:0)),this.expect(l.types.parenL),n.params=this.parseBindingList(l.types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(n,"FunctionExpression")},E.parseArrowExpression=function(t,e,i,n){let r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope((0,x.functionFlags)(i,!1)|x.SCOPE_ARROW),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1,n),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(t,"ArrowFunctionExpression")},E.parseFunctionBody=function(t,e,i,n){let r=e&&this.type!==l.types.braceL,s=this.strict,a=!1;if(r)t.body=this.parseMaybeAssign(n),t.expression=!0,this.checkParams(t,!1);else{let o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);(!s||o)&&(a=this.strictDirective(this.end))&&o&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");let p=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(t,!s&&!a&&!e&&!i&&this.isSimpleParamList(t.params)),this.strict&&t.id&&this.checkLValSimple(t.id,x.BIND_OUTSIDE),t.body=this.parseBlock(!1,void 0,a&&!s),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=p}this.exitScope()},E.isSimpleParamList=function(t){for(var e,i=Ri(t);!(e=i()).done;)if(e.value.type!=="Identifier")return!1;return!0},E.checkParams=function(t,e){let i=Object.create(null);for(var n,r=Ri(t.params);!(n=r()).done;){let s=n.value;this.checkLValInnerPattern(s,x.BIND_VAR,e?null:i)}},E.parseExprList=function(t,e,i,n){let r=[],s=!0;for(;!this.eat(t);){if(s)s=!1;else if(this.expect(l.types.comma),e&&this.afterTrailingComma(t))break;let a;i&&this.type===l.types.comma?a=null:this.type===l.types.ellipsis?(a=this.parseSpread(n),n&&this.type===l.types.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):a=this.parseMaybeAssign(!1,n),r.push(a)}return r},E.checkUnreserved=function({start:t,end:e,name:i}){if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&i==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(i==="arguments"||i==="await")&&this.raise(t,`Cannot use ${i} in class static initialization block`),this.keywords.test(i)&&this.raise(t,`Unexpected keyword '${i}'`),this.options.ecmaVersion<6&&this.input.slice(t,e).indexOf("\\")!==-1)return;(this.strict?this.reservedWordsStrict:this.reservedWords).test(i)&&(this.inAsync||i!=="await"||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,`The keyword '${i}' is reserved`))},E.parseIdent=function(t,e){let i=this.startNode();return this.type===l.types.name?i.name=this.value:this.type.keyword?(i.name=this.type.keyword,(i.name==="class"||i.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!t),this.finishNode(i,"Identifier"),t||(this.checkUnreserved(i),i.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=i.start)),i},E.parsePrivateIdent=function(){let t=this.startNode();return this.type===l.types.privateId?t.name=this.value:this.unexpected(),this.next(),this.finishNode(t,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(t.start,`Private field '#${t.name}' must be declared in an enclosing class`):this.privateNameStack[this.privateNameStack.length-1].used.push(t),t},E.parseYield=function(t){this.yieldPos||(this.yieldPos=this.start);let e=this.startNode();return this.next(),this.type===l.types.semi||this.canInsertSemicolon()||this.type!==l.types.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(l.types.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},E.parseAwait=function(t){this.awaitPos||(this.awaitPos=this.start);let e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0,!1,t),this.finishNode(e,"AwaitExpression")};var Ct=L.Parser.prototype;Ct.raise=function(t,e){let i=(0,F.getLineInfo)(this.input,t),n=SyntaxError(e+=" ("+i.line+":"+i.column+")");throw n.pos=t,n.loc=i,n.raisedAt=this.pos,n},Ct.raiseRecoverable=Ct.raise,Ct.curPosition=function(){if(this.options.locations)return new F.Position(this.curLine,this.pos-this.lineStart)};var G=L.Parser.prototype,ne=class{constructor(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1}};G.enterScope=function(t){this.scopeStack.push(new ne(t))},G.exitScope=function(){this.scopeStack.pop()},G.treatFunctionsAsVarInScope=function(t){return t.flags&x.SCOPE_FUNCTION||!this.inModule&&t.flags&x.SCOPE_TOP},G.declareName=function(t,e,i){let n=!1;if(e===x.BIND_LEXICAL){let r=this.currentScope();n=r.lexical.indexOf(t)>-1||r.functions.indexOf(t)>-1||r.var.indexOf(t)>-1,r.lexical.push(t),this.inModule&&r.flags&x.SCOPE_TOP&&delete this.undefinedExports[t]}else if(e===x.BIND_SIMPLE_CATCH)this.currentScope().lexical.push(t);else if(e===x.BIND_FUNCTION){let r=this.currentScope();n=this.treatFunctionsAsVar?r.lexical.indexOf(t)>-1:r.lexical.indexOf(t)>-1||r.var.indexOf(t)>-1,r.functions.push(t)}else for(let r=this.scopeStack.length-1;r>=0;--r){let s=this.scopeStack[r];if(s.lexical.indexOf(t)>-1&&!(s.flags&x.SCOPE_SIMPLE_CATCH&&s.lexical[0]===t)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(t)>-1){n=!0;break}if(s.var.push(t),this.inModule&&s.flags&x.SCOPE_TOP&&delete this.undefinedExports[t],s.flags&x.SCOPE_VAR)break}n&&this.raiseRecoverable(i,`Identifier '${t}' has already been declared`)},G.checkLocalExport=function(t){this.scopeStack[0].lexical.indexOf(t.name)===-1&&this.scopeStack[0].var.indexOf(t.name)===-1&&(this.undefinedExports[t.name]=t)},G.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},G.currentVarScope=function(){for(let t=this.scopeStack.length-1;;t--){let e=this.scopeStack[t];if(e.flags&x.SCOPE_VAR)return e}},G.currentThisScope=function(){for(let t=this.scopeStack.length-1;;t--){let e=this.scopeStack[t];if(e.flags&x.SCOPE_VAR&&!(e.flags&x.SCOPE_ARROW))return e}};var Oi=O(function(t,e){e.__esModule=!0,e.Node=void 0;class i{constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.locations&&(this.loc=new F.SourceLocation(a,p)),a.options.directSourceFile&&(this.sourceFile=a.options.directSourceFile),a.options.ranges&&(this.range=[o,0])}}e.Node=i;let n=L.Parser.prototype;function r(s,a,o,p){return s.type=a,s.end=o,this.options.locations&&(s.loc.end=p),this.options.ranges&&(s.range[1]=o),s}n.startNode=function(){return new i(this,this.start,this.startLoc)},n.startNodeAt=function(s,a){return new i(this,s,a)},n.finishNode=function(s,a){return r.call(this,s,a,this.lastTokEnd,this.lastTokEndLoc)},n.finishNodeAt=function(s,a,o,p){return r.call(this,s,a,o,p)},n.copyNode=function(s){let a=new i(this,s.start,this.startLoc);for(let o in s)a[o]=s[o];return a}}),Qr=O(function(t,e){e.__esModule=!0,e.default=void 0;let i="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",n=i+" Extended_Pictographic",r=n,s=r+" EBase EComp EMod EPres ExtPict",a={9:i,10:n,11:r,12:s,13:s},o="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",p="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",h=p+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",u=h+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",m=u+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",y={9:p,10:h,11:u,12:m,13:m+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith"},_={};function w(f){let g=_[f]={binary:(0,P.wordsRegexp)(a[f]+" "+o),nonBinary:{General_Category:(0,P.wordsRegexp)(o),Script:(0,P.wordsRegexp)(y[f])}};g.nonBinary.Script_Extensions=g.nonBinary.Script,g.nonBinary.gc=g.nonBinary.General_Category,g.nonBinary.sc=g.nonBinary.Script,g.nonBinary.scx=g.nonBinary.Script_Extensions}for(var c=0,d=[9,10,11,12,13];c<d.length;c++){let f=d[c];w(f)}e.default=_,t.exports=e.default}),Yr=O(function(t,e){e.__esModule=!0,e.RegExpValidationState=void 0;var i,n=(i=Qr,i&&i.__esModule?i:{default:i});function r(c,d){(d==null||d>c.length)&&(d=c.length);for(var f=0,g=Array(d);f<d;f++)g[f]=c[f];return g}let s=L.Parser.prototype;function a(c){return c<=65535?String.fromCharCode(c):String.fromCharCode(((c-=65536)>>10)+55296,(1023&c)+56320)}function o(c){return c===36||c>=40&&c<=43||c===46||c===63||c>=91&&c<=94||c>=123&&c<=125}function p(c){return c>=65&&c<=90||c>=97&&c<=122}function h(c){return p(c)||c===95}function u(c){return h(c)||m(c)}function m(c){return c>=48&&c<=57}function y(c){return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}function _(c){return c>=65&&c<=70?10+(c-65):c>=97&&c<=102?10+(c-97):c-48}function w(c){return c>=48&&c<=55}e.RegExpValidationState=class{constructor(d){this.parser=d,this.validFlags=`gim${d.options.ecmaVersion>=6?"uy":""}${d.options.ecmaVersion>=9?"s":""}${d.options.ecmaVersion>=13?"d":""}`,this.unicodeProperties=n.default[d.options.ecmaVersion>=13?13:d.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]}reset(d,f,g){let v=g.indexOf("u")!==-1;this.start=0|d,this.source=f+"",this.flags=g,this.switchU=v&&this.parser.options.ecmaVersion>=6,this.switchN=v&&this.parser.options.ecmaVersion>=9}raise(d){this.parser.raiseRecoverable(this.start,`Invalid regular expression: /${this.source}/: ${d}`)}at(d,f=!1){let g=this.source,v=g.length;if(d>=v)return-1;let M=g.charCodeAt(d);if(!(f||this.switchU)||M<=55295||M>=57344||d+1>=v)return M;let A=g.charCodeAt(d+1);return A>=56320&&A<=57343?(M<<10)+A-56613888:M}nextIndex(d,f=!1){let g=this.source,v=g.length;if(d>=v)return v;let M=g.charCodeAt(d),A;return!(f||this.switchU)||M<=55295||M>=57344||d+1>=v||(A=g.charCodeAt(d+1))<56320||A>57343?d+1:d+2}current(d=!1){return this.at(this.pos,d)}lookahead(d=!1){return this.at(this.nextIndex(this.pos,d),d)}advance(d=!1){this.pos=this.nextIndex(this.pos,d)}eat(d,f=!1){return this.current(f)===d&&(this.advance(f),!0)}},s.validateRegExpFlags=function(c){let d=c.validFlags,f=c.flags;for(let g=0;g<f.length;g++){let v=f.charAt(g);d.indexOf(v)===-1&&this.raise(c.start,"Invalid regular expression flag"),f.indexOf(v,g+1)>-1&&this.raise(c.start,"Duplicate regular expression flag")}},s.validateRegExpPattern=function(c){this.regexp_pattern(c),!c.switchN&&this.options.ecmaVersion>=9&&c.groupNames.length>0&&(c.switchN=!0,this.regexp_pattern(c))},s.regexp_pattern=function(c){c.pos=0,c.lastIntValue=0,c.lastStringValue="",c.lastAssertionIsQuantifiable=!1,c.numCapturingParens=0,c.maxBackReference=0,c.groupNames.length=0,c.backReferenceNames.length=0,this.regexp_disjunction(c),c.pos!==c.source.length&&(c.eat(41)&&c.raise("Unmatched ')'"),(c.eat(93)||c.eat(125))&&c.raise("Lone quantifier brackets")),c.maxBackReference>c.numCapturingParens&&c.raise("Invalid escape");for(var d,f=function(v,M){var A=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(A)return(A=A.call(v)).next.bind(A);if(Array.isArray(v)||(A=function(q,yi){if(q){if(typeof q=="string")return r(q,yi);var J=Object.prototype.toString.call(q).slice(8,-1);if(J==="Object"&&q.constructor&&(J=q.constructor.name),J==="Map"||J==="Set")return Array.from(q);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return r(q,yi)}}(v))){A&&(v=A);var Y=0;return function(){return Y>=v.length?{done:!0}:{done:!1,value:v[Y++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(c.backReferenceNames);!(d=f()).done;){let g=d.value;c.groupNames.indexOf(g)===-1&&c.raise("Invalid named capture referenced")}},s.regexp_disjunction=function(c){for(this.regexp_alternative(c);c.eat(124);)this.regexp_alternative(c);this.regexp_eatQuantifier(c,!0)&&c.raise("Nothing to repeat"),c.eat(123)&&c.raise("Lone quantifier brackets")},s.regexp_alternative=function(c){for(;c.pos<c.source.length&&this.regexp_eatTerm(c););},s.regexp_eatTerm=function(c){return this.regexp_eatAssertion(c)?(c.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(c)&&c.switchU&&c.raise("Invalid quantifier"),!0):(c.switchU?!!this.regexp_eatAtom(c):!!this.regexp_eatExtendedAtom(c))&&(this.regexp_eatQuantifier(c),!0)},s.regexp_eatAssertion=function(c){let d=c.pos;if(c.lastAssertionIsQuantifiable=!1,c.eat(94)||c.eat(36))return!0;if(c.eat(92)){if(c.eat(66)||c.eat(98))return!0;c.pos=d}if(c.eat(40)&&c.eat(63)){let f=!1;if(this.options.ecmaVersion>=9&&(f=c.eat(60)),c.eat(61)||c.eat(33))return this.regexp_disjunction(c),c.eat(41)||c.raise("Unterminated group"),c.lastAssertionIsQuantifiable=!f,!0}return c.pos=d,!1},s.regexp_eatQuantifier=function(c,d=!1){return!!this.regexp_eatQuantifierPrefix(c,d)&&(c.eat(63),!0)},s.regexp_eatQuantifierPrefix=function(c,d){return c.eat(42)||c.eat(43)||c.eat(63)||this.regexp_eatBracedQuantifier(c,d)},s.regexp_eatBracedQuantifier=function(c,d){let f=c.pos;if(c.eat(123)){let g=0,v=-1;if(this.regexp_eatDecimalDigits(c)&&(g=c.lastIntValue,c.eat(44)&&this.regexp_eatDecimalDigits(c)&&(v=c.lastIntValue),c.eat(125)))return v!==-1&&v<g&&!d&&c.raise("numbers out of order in {} quantifier"),!0;c.switchU&&!d&&c.raise("Incomplete quantifier"),c.pos=f}return!1},s.regexp_eatAtom=function(c){return this.regexp_eatPatternCharacters(c)||c.eat(46)||this.regexp_eatReverseSolidusAtomEscape(c)||this.regexp_eatCharacterClass(c)||this.regexp_eatUncapturingGroup(c)||this.regexp_eatCapturingGroup(c)},s.regexp_eatReverseSolidusAtomEscape=function(c){let d=c.pos;if(c.eat(92)){if(this.regexp_eatAtomEscape(c))return!0;c.pos=d}return!1},s.regexp_eatUncapturingGroup=function(c){let d=c.pos;if(c.eat(40)){if(c.eat(63)&&c.eat(58)){if(this.regexp_disjunction(c),c.eat(41))return!0;c.raise("Unterminated group")}c.pos=d}return!1},s.regexp_eatCapturingGroup=function(c){if(c.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(c):c.current()===63&&c.raise("Invalid group"),this.regexp_disjunction(c),c.eat(41))return c.numCapturingParens+=1,!0;c.raise("Unterminated group")}return!1},s.regexp_eatExtendedAtom=function(c){return c.eat(46)||this.regexp_eatReverseSolidusAtomEscape(c)||this.regexp_eatCharacterClass(c)||this.regexp_eatUncapturingGroup(c)||this.regexp_eatCapturingGroup(c)||this.regexp_eatInvalidBracedQuantifier(c)||this.regexp_eatExtendedPatternCharacter(c)},s.regexp_eatInvalidBracedQuantifier=function(c){return this.regexp_eatBracedQuantifier(c,!0)&&c.raise("Nothing to repeat"),!1},s.regexp_eatSyntaxCharacter=function(c){let d=c.current();return!!o(d)&&(c.lastIntValue=d,c.advance(),!0)},s.regexp_eatPatternCharacters=function(c){let d=c.pos,f=0;for(;(f=c.current())!==-1&&!o(f);)c.advance();return c.pos!==d},s.regexp_eatExtendedPatternCharacter=function(c){let d=c.current();return d!==-1&&d!==36&&(!(d>=40)||!(d<=43))&&d!==46&&d!==63&&d!==91&&d!==94&&d!==124&&(c.advance(),!0)},s.regexp_groupSpecifier=function(c){if(c.eat(63)){if(this.regexp_eatGroupName(c)){c.groupNames.indexOf(c.lastStringValue)!==-1&&c.raise("Duplicate capture group name"),c.groupNames.push(c.lastStringValue);return}c.raise("Invalid group")}},s.regexp_eatGroupName=function(c){if(c.lastStringValue="",c.eat(60)){if(this.regexp_eatRegExpIdentifierName(c)&&c.eat(62))return!0;c.raise("Invalid capture group name")}return!1},s.regexp_eatRegExpIdentifierName=function(c){if(c.lastStringValue="",this.regexp_eatRegExpIdentifierStart(c)){for(c.lastStringValue+=a(c.lastIntValue);this.regexp_eatRegExpIdentifierPart(c);)c.lastStringValue+=a(c.lastIntValue);return!0}return!1},s.regexp_eatRegExpIdentifierStart=function(c){var d;let f=c.pos,g=this.options.ecmaVersion>=11,v=c.current(g);return c.advance(g),v===92&&this.regexp_eatRegExpUnicodeEscapeSequence(c,g)&&(v=c.lastIntValue),d=v,(0,k.isIdentifierStart)(d,!0)||d===36||d===95?(c.lastIntValue=v,!0):(c.pos=f,!1)},s.regexp_eatRegExpIdentifierPart=function(c){var d;let f=c.pos,g=this.options.ecmaVersion>=11,v=c.current(g);return c.advance(g),v===92&&this.regexp_eatRegExpUnicodeEscapeSequence(c,g)&&(v=c.lastIntValue),d=v,(0,k.isIdentifierChar)(d,!0)||d===36||d===95||d===8204||d===8205?(c.lastIntValue=v,!0):(c.pos=f,!1)},s.regexp_eatAtomEscape=function(c){return!!(this.regexp_eatBackReference(c)||this.regexp_eatCharacterClassEscape(c)||this.regexp_eatCharacterEscape(c)||c.switchN&&this.regexp_eatKGroupName(c))||(c.switchU&&(c.current()===99&&c.raise("Invalid unicode escape"),c.raise("Invalid escape")),!1)},s.regexp_eatBackReference=function(c){let d=c.pos;if(this.regexp_eatDecimalEscape(c)){let f=c.lastIntValue;if(c.switchU)return f>c.maxBackReference&&(c.maxBackReference=f),!0;if(f<=c.numCapturingParens)return!0;c.pos=d}return!1},s.regexp_eatKGroupName=function(c){if(c.eat(107)){if(this.regexp_eatGroupName(c))return c.backReferenceNames.push(c.lastStringValue),!0;c.raise("Invalid named reference")}return!1},s.regexp_eatCharacterEscape=function(c){return this.regexp_eatControlEscape(c)||this.regexp_eatCControlLetter(c)||this.regexp_eatZero(c)||this.regexp_eatHexEscapeSequence(c)||this.regexp_eatRegExpUnicodeEscapeSequence(c,!1)||!c.switchU&&this.regexp_eatLegacyOctalEscapeSequence(c)||this.regexp_eatIdentityEscape(c)},s.regexp_eatCControlLetter=function(c){let d=c.pos;if(c.eat(99)){if(this.regexp_eatControlLetter(c))return!0;c.pos=d}return!1},s.regexp_eatZero=function(c){return!(c.current()!==48||m(c.lookahead()))&&(c.lastIntValue=0,c.advance(),!0)},s.regexp_eatControlEscape=function(c){let d=c.current();return d===116?(c.lastIntValue=9,c.advance(),!0):d===110?(c.lastIntValue=10,c.advance(),!0):d===118?(c.lastIntValue=11,c.advance(),!0):d===102?(c.lastIntValue=12,c.advance(),!0):d===114&&(c.lastIntValue=13,c.advance(),!0)},s.regexp_eatControlLetter=function(c){let d=c.current();return!!p(d)&&(c.lastIntValue=d%32,c.advance(),!0)},s.regexp_eatRegExpUnicodeEscapeSequence=function(c,d=!1){let f=c.pos,g=d||c.switchU;if(c.eat(117)){var v;if(this.regexp_eatFixedHexDigits(c,4)){let M=c.lastIntValue;if(g&&M>=55296&&M<=56319){let A=c.pos;if(c.eat(92)&&c.eat(117)&&this.regexp_eatFixedHexDigits(c,4)){let Y=c.lastIntValue;if(Y>=56320&&Y<=57343)return c.lastIntValue=(M-55296)*1024+(Y-56320)+65536,!0}c.pos=A,c.lastIntValue=M}return!0}if(g&&c.eat(123)&&this.regexp_eatHexDigits(c)&&c.eat(125)&&(v=c.lastIntValue,v>=0&&v<=1114111))return!0;g&&c.raise("Invalid unicode escape"),c.pos=f}return!1},s.regexp_eatIdentityEscape=function(c){if(c.switchU)return!!this.regexp_eatSyntaxCharacter(c)||!!c.eat(47)&&(c.lastIntValue=47,!0);let d=c.current();return d!==99&&(!c.switchN||d!==107)&&(c.lastIntValue=d,c.advance(),!0)},s.regexp_eatDecimalEscape=function(c){c.lastIntValue=0;let d=c.current();if(d>=49&&d<=57){do c.lastIntValue=10*c.lastIntValue+(d-48),c.advance();while((d=c.current())>=48&&d<=57);return!0}return!1},s.regexp_eatCharacterClassEscape=function(c){var d;let f=c.current();if(d=f,d===100||d===68||d===115||d===83||d===119||d===87)return c.lastIntValue=-1,c.advance(),!0;if(c.switchU&&this.options.ecmaVersion>=9&&(f===80||f===112)){if(c.lastIntValue=-1,c.advance(),c.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(c)&&c.eat(125))return!0;c.raise("Invalid property name")}return!1},s.regexp_eatUnicodePropertyValueExpression=function(c){let d=c.pos;if(this.regexp_eatUnicodePropertyName(c)&&c.eat(61)){let f=c.lastStringValue;if(this.regexp_eatUnicodePropertyValue(c)){let g=c.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(c,f,g),!0}}if(c.pos=d,this.regexp_eatLoneUnicodePropertyNameOrValue(c)){let f=c.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(c,f),!0}return!1},s.regexp_validateUnicodePropertyNameAndValue=function(c,d,f){(0,P.hasOwn)(c.unicodeProperties.nonBinary,d)||c.raise("Invalid property name"),c.unicodeProperties.nonBinary[d].test(f)||c.raise("Invalid property value")},s.regexp_validateUnicodePropertyNameOrValue=function(c,d){c.unicodeProperties.binary.test(d)||c.raise("Invalid property name")},s.regexp_eatUnicodePropertyName=function(c){let d=0;for(c.lastStringValue="";h(d=c.current());)c.lastStringValue+=a(d),c.advance();return c.lastStringValue!==""},s.regexp_eatUnicodePropertyValue=function(c){let d=0;for(c.lastStringValue="";u(d=c.current());)c.lastStringValue+=a(d),c.advance();return c.lastStringValue!==""},s.regexp_eatLoneUnicodePropertyNameOrValue=function(c){return this.regexp_eatUnicodePropertyValue(c)},s.regexp_eatCharacterClass=function(c){if(c.eat(91)){if(c.eat(94),this.regexp_classRanges(c),c.eat(93))return!0;c.raise("Unterminated character class")}return!1},s.regexp_classRanges=function(c){for(;this.regexp_eatClassAtom(c);){let d=c.lastIntValue;if(c.eat(45)&&this.regexp_eatClassAtom(c)){let f=c.lastIntValue;c.switchU&&(d===-1||f===-1)&&c.raise("Invalid character class"),d!==-1&&f!==-1&&d>f&&c.raise("Range out of order in character class")}}},s.regexp_eatClassAtom=function(c){let d=c.pos;if(c.eat(92)){if(this.regexp_eatClassEscape(c))return!0;if(c.switchU){let g=c.current();(g===99||w(g))&&c.raise("Invalid class escape"),c.raise("Invalid escape")}c.pos=d}let f=c.current();return f!==93&&(c.lastIntValue=f,c.advance(),!0)},s.regexp_eatClassEscape=function(c){let d=c.pos;if(c.eat(98))return c.lastIntValue=8,!0;if(c.switchU&&c.eat(45))return c.lastIntValue=45,!0;if(!c.switchU&&c.eat(99)){if(this.regexp_eatClassControlLetter(c))return!0;c.pos=d}return this.regexp_eatCharacterClassEscape(c)||this.regexp_eatCharacterEscape(c)},s.regexp_eatClassControlLetter=function(c){let d=c.current();return(!!m(d)||d===95)&&(c.lastIntValue=d%32,c.advance(),!0)},s.regexp_eatHexEscapeSequence=function(c){let d=c.pos;if(c.eat(120)){if(this.regexp_eatFixedHexDigits(c,2))return!0;c.switchU&&c.raise("Invalid escape"),c.pos=d}return!1},s.regexp_eatDecimalDigits=function(c){let d=c.pos,f=0;for(c.lastIntValue=0;m(f=c.current());)c.lastIntValue=10*c.lastIntValue+(f-48),c.advance();return c.pos!==d},s.regexp_eatHexDigits=function(c){let d=c.pos,f=0;for(c.lastIntValue=0;y(f=c.current());)c.lastIntValue=16*c.lastIntValue+_(f),c.advance();return c.pos!==d},s.regexp_eatLegacyOctalEscapeSequence=function(c){if(this.regexp_eatOctalDigit(c)){let d=c.lastIntValue;if(this.regexp_eatOctalDigit(c)){let f=c.lastIntValue;d<=3&&this.regexp_eatOctalDigit(c)?c.lastIntValue=64*d+8*f+c.lastIntValue:c.lastIntValue=8*d+f}else c.lastIntValue=d;return!0}return!1},s.regexp_eatOctalDigit=function(c){let d=c.current();return w(d)?(c.lastIntValue=d-48,c.advance(),!0):(c.lastIntValue=0,!1)},s.regexp_eatFixedHexDigits=function(c,d){let f=c.pos;c.lastIntValue=0;for(let g=0;g<d;++g){let v=c.current();if(!y(v))return c.pos=f,!1;c.lastIntValue=16*c.lastIntValue+_(v),c.advance()}return!0}}),Di=O(function(t,e){e.__esModule=!0,e.Token=void 0;class i{constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,this.end=p.end,p.options.locations&&(this.loc=new F.SourceLocation(p,p.startLoc,p.endLoc)),p.options.ranges&&(this.range=[p.start,p.end])}}e.Token=i;let n=L.Parser.prototype;function r(o){return typeof BigInt!="function"?null:BigInt(o.replace(/_/g,""))}function s(o){return o<=65535?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,(1023&o)+56320)}n.next=function(o){!o&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new i(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},n.getToken=function(){return this.next(),new i(this)},typeof Symbol<"u"&&(n[Symbol.iterator]=function(){return{next:()=>{let o=this.getToken();return{done:o.type===l.types.eof,value:o}}}}),n.nextToken=function(){let o=this.curContext();return o&&o.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(l.types.eof):o.override?o.override(this):void this.readToken(this.fullCharCodeAtPos())},n.readToken=function(o){return(0,k.isIdentifierStart)(o,this.options.ecmaVersion>=6)||o===92?this.readWord():this.getTokenFromCode(o)},n.fullCharCodeAtPos=function(){let o=this.input.charCodeAt(this.pos);if(o<=55295||o>=56320)return o;let p=this.input.charCodeAt(this.pos+1);return p<=56319||p>=57344?o:(o<<10)+p-56613888},n.skipBlockComment=function(){let o=this.options.onComment&&this.curPosition(),p=this.pos,h=this.input.indexOf("*/",this.pos+=2);if(h===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=h+2,this.options.locations)for(let u,m=p;(u=(0,S.nextLineBreak)(this.input,m,this.pos))>-1;)++this.curLine,m=this.lineStart=u;this.options.onComment&&this.options.onComment(!0,this.input.slice(p+2,h),p,this.pos,o,this.curPosition())},n.skipLineComment=function(o){let p=this.pos,h=this.options.onComment&&this.curPosition(),u=this.input.charCodeAt(this.pos+=o);for(;this.pos<this.input.length&&!(0,S.isNewLine)(u);)u=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(p+o,this.pos),p,this.pos,h,this.curPosition())},n.skipSpace=function(){t:for(;this.pos<this.input.length;){let o=this.input.charCodeAt(this.pos);switch(o){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break t}break;default:if(o>8&&o<14||o>=5760&&S.nonASCIIwhitespace.test(String.fromCharCode(o)))++this.pos;else break t}}},n.finishToken=function(o,p){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());let h=this.type;this.type=o,this.value=p,this.updateContext(h)},n.readToken_dot=function(){let o=this.input.charCodeAt(this.pos+1);if(o>=48&&o<=57)return this.readNumber(!0);let p=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&o===46&&p===46?(this.pos+=3,this.finishToken(l.types.ellipsis)):(++this.pos,this.finishToken(l.types.dot))},n.readToken_slash=function(){let o=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):o===61?this.finishOp(l.types.assign,2):this.finishOp(l.types.slash,1)},n.readToken_mult_modulo_exp=function(o){let p=this.input.charCodeAt(this.pos+1),h=1,u=o===42?l.types.star:l.types.modulo;return this.options.ecmaVersion>=7&&o===42&&p===42&&(++h,u=l.types.starstar,p=this.input.charCodeAt(this.pos+2)),p===61?this.finishOp(l.types.assign,h+1):this.finishOp(u,h)},n.readToken_pipe_amp=function(o){let p=this.input.charCodeAt(this.pos+1);return p===o?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(l.types.assign,3):this.finishOp(o===124?l.types.logicalOR:l.types.logicalAND,2):p===61?this.finishOp(l.types.assign,2):this.finishOp(o===124?l.types.bitwiseOR:l.types.bitwiseAND,1)},n.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(l.types.assign,2):this.finishOp(l.types.bitwiseXOR,1)},n.readToken_plus_min=function(o){let p=this.input.charCodeAt(this.pos+1);return p===o?p===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||S.lineBreak.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(l.types.incDec,2):p===61?this.finishOp(l.types.assign,2):this.finishOp(l.types.plusMin,1)},n.readToken_lt_gt=function(o){let p=this.input.charCodeAt(this.pos+1),h=1;return p===o?(h=o===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+h)===61?this.finishOp(l.types.assign,h+1):this.finishOp(l.types.bitShift,h)):p!==33||o!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(p===61&&(h=2),this.finishOp(l.types.relational,h)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},n.readToken_eq_excl=function(o){let p=this.input.charCodeAt(this.pos+1);return p===61?this.finishOp(l.types.equality,this.input.charCodeAt(this.pos+2)===61?3:2):o===61&&p===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(l.types.arrow)):this.finishOp(o===61?l.types.eq:l.types.prefix,1)},n.readToken_question=function(){let o=this.options.ecmaVersion;if(o>=11){let p=this.input.charCodeAt(this.pos+1);if(p===46){let h=this.input.charCodeAt(this.pos+2);if(h<48||h>57)return this.finishOp(l.types.questionDot,2)}if(p===63)return o>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(l.types.assign,3):this.finishOp(l.types.coalesce,2)}return this.finishOp(l.types.question,1)},n.readToken_numberSign=function(){let o=this.options.ecmaVersion,p=35;if(o>=13&&(++this.pos,p=this.fullCharCodeAtPos(),(0,k.isIdentifierStart)(p,!0)||p===92))return this.finishToken(l.types.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+s(p)+"'")},n.getTokenFromCode=function(o){switch(o){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(l.types.parenL);case 41:return++this.pos,this.finishToken(l.types.parenR);case 59:return++this.pos,this.finishToken(l.types.semi);case 44:return++this.pos,this.finishToken(l.types.comma);case 91:return++this.pos,this.finishToken(l.types.bracketL);case 93:return++this.pos,this.finishToken(l.types.bracketR);case 123:return++this.pos,this.finishToken(l.types.braceL);case 125:return++this.pos,this.finishToken(l.types.braceR);case 58:return++this.pos,this.finishToken(l.types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(l.types.backQuote);case 48:let p=this.input.charCodeAt(this.pos+1);if(p===120||p===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(p===111||p===79)return this.readRadixNumber(8);if(p===98||p===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(o);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(o);case 124:case 38:return this.readToken_pipe_amp(o);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(o);case 60:case 62:return this.readToken_lt_gt(o);case 61:case 33:return this.readToken_eq_excl(o);case 63:return this.readToken_question();case 126:return this.finishOp(l.types.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+s(o)+"'")},n.finishOp=function(o,p){let h=this.input.slice(this.pos,this.pos+p);return this.pos+=p,this.finishToken(o,h)},n.readRegexp=function(){let o,p,h=this.pos;for(;;){this.pos>=this.input.length&&this.raise(h,"Unterminated regular expression");let c=this.input.charAt(this.pos);if(S.lineBreak.test(c)&&this.raise(h,"Unterminated regular expression"),o)o=!1;else{if(c==="[")p=!0;else if(c==="]"&&p)p=!1;else if(c==="/"&&!p)break;o=c==="\\"}++this.pos}let u=this.input.slice(h,this.pos);++this.pos;let m=this.pos,y=this.readWord1();this.containsEsc&&this.unexpected(m);let _=this.regexpState||(this.regexpState=new Yr.RegExpValidationState(this));_.reset(h,u,y),this.validateRegExpFlags(_),this.validateRegExpPattern(_);let w=null;try{w=RegExp(u,y)}catch{}return this.finishToken(l.types.regexp,{pattern:u,flags:y,value:w})},n.readInt=function(o,p,h){let u=this.options.ecmaVersion>=12&&p===void 0,m=h&&this.input.charCodeAt(this.pos)===48,y=this.pos,_=0,w=0;for(let c=0,d=p??1/0;c<d;++c,++this.pos){let f=this.input.charCodeAt(this.pos),g;if(u&&f===95){m&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),w===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),c===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),w=f;continue}if((g=f>=97?f-97+10:f>=65?f-65+10:f>=48&&f<=57?f-48:1/0)>=o)break;w=f,_=_*o+g}return u&&w===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===y||p!=null&&this.pos-y!==p?null:_},n.readRadixNumber=function(o){let p=this.pos;this.pos+=2;let h=this.readInt(o);return h==null&&this.raise(this.start+2,"Expected number in radix "+o),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(h=r(this.input.slice(p,this.pos)),++this.pos):(0,k.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(l.types.num,h)},n.readNumber=function(o){var p,h;let u=this.pos;o||this.readInt(10,void 0,!0)!==null||this.raise(u,"Invalid number");let m=this.pos-u>=2&&this.input.charCodeAt(u)===48;m&&this.strict&&this.raise(u,"Invalid number");let y=this.input.charCodeAt(this.pos);if(!m&&!o&&this.options.ecmaVersion>=11&&y===110){let w=r(this.input.slice(u,this.pos));return++this.pos,(0,k.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(l.types.num,w)}m&&/[89]/.test(this.input.slice(u,this.pos))&&(m=!1),y!==46||m||(++this.pos,this.readInt(10),y=this.input.charCodeAt(this.pos)),y!==69&&y!==101||m||(((y=this.input.charCodeAt(++this.pos))===43||y===45)&&++this.pos,this.readInt(10)===null&&this.raise(u,"Invalid number")),(0,k.isIdentifierStart)(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");let _=(p=this.input.slice(u,this.pos),(h=m)?parseInt(p,8):parseFloat(p.replace(/_/g,"")));return this.finishToken(l.types.num,_)},n.readCodePoint=function(){let o;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();let p=++this.pos;o=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,o>1114111&&this.invalidStringToken(p,"Code point out of bounds")}else o=this.readHexChar(4);return o},n.readString=function(o){let p="",h=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let u=this.input.charCodeAt(this.pos);if(u===o)break;u===92?(p+=this.input.slice(h,this.pos),p+=this.readEscapedChar(!1),h=this.pos):u===8232||u===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):((0,S.isNewLine)(u)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return p+=this.input.slice(h,this.pos++),this.finishToken(l.types.string,p)};let a={};n.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(o){if(o===a)this.readInvalidTemplateToken();else throw o}this.inTemplateElement=!1},n.invalidStringToken=function(o,p){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw a;this.raise(o,p)},n.readTmplToken=function(){let o="",p=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");let h=this.input.charCodeAt(this.pos);if(h===96||h===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===l.types.template||this.type===l.types.invalidTemplate)?h===36?(this.pos+=2,this.finishToken(l.types.dollarBraceL)):(++this.pos,this.finishToken(l.types.backQuote)):(o+=this.input.slice(p,this.pos),this.finishToken(l.types.template,o));if(h===92)o+=this.input.slice(p,this.pos),o+=this.readEscapedChar(!0),p=this.pos;else if((0,S.isNewLine)(h)){switch(o+=this.input.slice(p,this.pos),++this.pos,h){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:o+=`
`;break;default:o+=String.fromCharCode(h)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),p=this.pos}else++this.pos}},n.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(l.types.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},n.readEscapedChar=function(o){let p=this.input.charCodeAt(++this.pos);switch(++this.pos,p){case 110:return`
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return s(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),o){let h=this.pos-1;return this.invalidStringToken(h,"Invalid escape sequence in template string"),null}default:if(p>=48&&p<=55){let h=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],u=parseInt(h,8);return u>255&&(u=parseInt(h=h.slice(0,-1),8)),this.pos+=h.length-1,p=this.input.charCodeAt(this.pos),(h!=="0"||p===56||p===57)&&(this.strict||o)&&this.invalidStringToken(this.pos-1-h.length,o?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(u)}return(0,S.isNewLine)(p)?"":String.fromCharCode(p)}},n.readHexChar=function(o){let p=this.pos,h=this.readInt(16,o);return h===null&&this.invalidStringToken(p,"Bad character escape sequence"),h},n.readWord1=function(){this.containsEsc=!1;let o="",p=!0,h=this.pos,u=this.options.ecmaVersion>=6;for(;this.pos<this.input.length;){let m=this.fullCharCodeAtPos();if((0,k.isIdentifierChar)(m,u))this.pos+=m<=65535?1:2;else if(m===92){this.containsEsc=!0,o+=this.input.slice(h,this.pos);let y=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;let _=this.readCodePoint();(p?k.isIdentifierStart:k.isIdentifierChar)(_,u)||this.invalidStringToken(y,"Invalid Unicode escape"),o+=this.input.substr(this.pos-6,6),h=this.pos}else break;p=!1}return o+this.input.slice(h,this.pos)},n.readWord=function(){let o=this.readWord1(),p=l.types.name;return this.keywords.test(o)&&(p=l.keywords[o]),this.finishToken(p,o)}}),C=O(function(t,e){e.__esModule=!0,e.parse=function(p,h){return L.Parser.parse(p,h)},e.parseExpressionAt=function(p,h,u){return L.Parser.parseExpressionAt(p,h,u)},e.tokenizer=function(p,h){return L.Parser.tokenizer(p,h)},e.version=void 0,e.Parser=L.Parser,e.defaultOptions=ee.defaultOptions,e.Position=F.Position,e.SourceLocation=F.SourceLocation,e.getLineInfo=F.getLineInfo,e.Node=Oi.Node,e.TokenType=l.TokenType,e.tokTypes=l.types,e.keywordTypes=l.keywords,e.TokContext=tt.TokContext,e.tokContexts=tt.types,e.isIdentifierChar=k.isIdentifierChar,e.isIdentifierStart=k.isIdentifierStart,e.Token=Di.Token,e.isNewLine=S.isNewLine,e.lineBreak=S.lineBreak,e.lineBreakG=S.lineBreakG,e.nonASCIIwhitespace=S.nonASCIIwhitespace;var i=function(p,h){if(!h&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var u=n(h);if(u&&u.has(p))return u.get(p);var m={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in p)if(_!=="default"&&Object.prototype.hasOwnProperty.call(p,_)){var w=y?Object.getOwnPropertyDescriptor(p,_):null;w&&(w.get||w.set)?Object.defineProperty(m,_,w):m[_]=p[_]}return m.default=p,u&&u.set(p,m),m}(P);function n(o){if(typeof WeakMap!="function")return null;var p=new WeakMap,h=new WeakMap;return(n=function(m){return m?h:p})(o)}let r="8.7.0";e.version=r,L.Parser.acorn={Parser:L.Parser,version:r,defaultOptions:ee.defaultOptions,Position:F.Position,SourceLocation:F.SourceLocation,getLineInfo:F.getLineInfo,Node:Oi.Node,TokenType:l.TokenType,tokTypes:l.types,keywordTypes:l.keywords,TokContext:tt.TokContext,tokContexts:tt.types,isIdentifierChar:k.isIdentifierChar,isIdentifierStart:k.isIdentifierStart,Token:Di.Token,isNewLine:S.isNewLine,lineBreak:S.lineBreak,lineBreakG:S.lineBreakG,nonASCIIwhitespace:S.nonASCIIwhitespace};let s=i.wordsRegexp,a={};i.wordsRegexp=function(o){return a[o]||(a[o]=s(o)),a[o]}}),es=Ur(C),is=C.Node,rs=C.Parser,ns=C.Position,ss=C.SourceLocation,as=C.TokContext,os=C.Token,cs=C.TokenType;var ps=C.defaultOptions,ls=C.getLineInfo,hs=C.isIdentifierChar,us=C.isIdentifierStart,ds=C.isNewLine,ms=C.keywordTypes,fs=C.lineBreak,ys=C.lineBreakG,gs=C.nonASCIIwhitespace,$i=C.parse,_s=C.parseExpressionAt,xs=C.tokContexts,ws=C.tokTypes,bs=C.tokenizer,vs=C.version;var ae=globalThis.fetch,z=globalThis.WebSocket,Jr=globalThis.Request,Vi=globalThis.Response,Q={prototype:{send:z.prototype.send},CLOSED:z.CLOSED,CLOSING:z.CLOSING,CONNECTING:z.CONNECTING,OPEN:z.OPEN},Zr=20,tn=[101,204,205,304],en=[301,302,303,307,308],Lt=class extends Error{constructor(i,n){super(n.message||n.code);V(this,"status");V(this,"body");this.status=i,this.body=n}},oe=class{constructor(e,i){V(this,"base");this.base=new URL(`./v${e}/`,i)}};function X(t,e){let i=(t&65535)+(e&65535);return(t>>16)+(e>>16)+(i>>16)<<16|i&65535}function rn(t,e){return t<<e|t>>>32-e}function Pt(t,e,i,n,r,s){return X(rn(X(X(e,t),X(n,s)),r),i)}function I(t,e,i,n,r,s,a){return Pt(e&i|~e&n,t,e,r,s,a)}function T(t,e,i,n,r,s,a){return Pt(e&n|i&~n,t,e,r,s,a)}function R(t,e,i,n,r,s,a){return Pt(e^i^n,t,e,r,s,a)}function N(t,e,i,n,r,s,a){return Pt(i^(e|~n),t,e,r,s,a)}function At(t,e){t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;let i=1732584193,n=-271733879,r=-1732584194,s=271733878;for(let a=0;a<t.length;a+=16){let o=i,p=n,h=r,u=s;i=I(i,n,r,s,t[a],7,-680876936),s=I(s,i,n,r,t[a+1],12,-389564586),r=I(r,s,i,n,t[a+2],17,606105819),n=I(n,r,s,i,t[a+3],22,-1044525330),i=I(i,n,r,s,t[a+4],7,-176418897),s=I(s,i,n,r,t[a+5],12,1200080426),r=I(r,s,i,n,t[a+6],17,-1473231341),n=I(n,r,s,i,t[a+7],22,-45705983),i=I(i,n,r,s,t[a+8],7,1770035416),s=I(s,i,n,r,t[a+9],12,-1958414417),r=I(r,s,i,n,t[a+10],17,-42063),n=I(n,r,s,i,t[a+11],22,-1990404162),i=I(i,n,r,s,t[a+12],7,1804603682),s=I(s,i,n,r,t[a+13],12,-40341101),r=I(r,s,i,n,t[a+14],17,-1502002290),n=I(n,r,s,i,t[a+15],22,1236535329),i=T(i,n,r,s,t[a+1],5,-165796510),s=T(s,i,n,r,t[a+6],9,-1069501632),r=T(r,s,i,n,t[a+11],14,643717713),n=T(n,r,s,i,t[a],20,-373897302),i=T(i,n,r,s,t[a+5],5,-701558691),s=T(s,i,n,r,t[a+10],9,38016083),r=T(r,s,i,n,t[a+15],14,-660478335),n=T(n,r,s,i,t[a+4],20,-405537848),i=T(i,n,r,s,t[a+9],5,568446438),s=T(s,i,n,r,t[a+14],9,-1019803690),r=T(r,s,i,n,t[a+3],14,-187363961),n=T(n,r,s,i,t[a+8],20,1163531501),i=T(i,n,r,s,t[a+13],5,-1444681467),s=T(s,i,n,r,t[a+2],9,-51403784),r=T(r,s,i,n,t[a+7],14,1735328473),n=T(n,r,s,i,t[a+12],20,-1926607734),i=R(i,n,r,s,t[a+5],4,-378558),s=R(s,i,n,r,t[a+8],11,-2022574463),r=R(r,s,i,n,t[a+11],16,1839030562),n=R(n,r,s,i,t[a+14],23,-35309556),i=R(i,n,r,s,t[a+1],4,-1530992060),s=R(s,i,n,r,t[a+4],11,1272893353),r=R(r,s,i,n,t[a+7],16,-155497632),n=R(n,r,s,i,t[a+10],23,-1094730640),i=R(i,n,r,s,t[a+13],4,681279174),s=R(s,i,n,r,t[a],11,-358537222),r=R(r,s,i,n,t[a+3],16,-722521979),n=R(n,r,s,i,t[a+6],23,76029189),i=R(i,n,r,s,t[a+9],4,-640364487),s=R(s,i,n,r,t[a+12],11,-421815835),r=R(r,s,i,n,t[a+15],16,530742520),n=R(n,r,s,i,t[a+2],23,-995338651),i=N(i,n,r,s,t[a],6,-198630844),s=N(s,i,n,r,t[a+7],10,1126891415),r=N(r,s,i,n,t[a+14],15,-1416354905),n=N(n,r,s,i,t[a+5],21,-57434055),i=N(i,n,r,s,t[a+12],6,1700485571),s=N(s,i,n,r,t[a+3],10,-1894986606),r=N(r,s,i,n,t[a+10],15,-1051523),n=N(n,r,s,i,t[a+1],21,-2054922799),i=N(i,n,r,s,t[a+8],6,1873313359),s=N(s,i,n,r,t[a+15],10,-30611744),r=N(r,s,i,n,t[a+6],15,-1560198380),n=N(n,r,s,i,t[a+13],21,1309151649),i=N(i,n,r,s,t[a+4],6,-145523070),s=N(s,i,n,r,t[a+11],10,-1120210379),r=N(r,s,i,n,t[a+2],15,718787259),n=N(n,r,s,i,t[a+9],21,-343485551),i=X(i,o),n=X(n,p),r=X(r,h),s=X(s,u)}return[i,n,r,s]}function Bi(t){let e="",i=t.length*32;for(let n=0;n<i;n+=8)e+=String.fromCharCode(t[n>>5]>>>n%32&255);return e}function ce(t){let e=[],i=t.length>>2;for(let r=0;r<i;r+=1)e[r]=0;let n=t.length*8;for(let r=0;r<n;r+=8)e[r>>5]|=(t.charCodeAt(r/8)&255)<<r%32;return e}function nn(t){return Bi(At(ce(t),t.length*8))}function sn(t,e){let i=ce(t),n=[],r=[];i.length>16&&(i=At(i,t.length*8));for(let a=0;a<16;a+=1)n[a]=i[a]^909522486,r[a]=i[a]^1549556828;let s=At(n.concat(ce(e)),512+e.length*8);return Bi(At(r.concat(s),512+128))}function ji(t){let e="0123456789abcdef",i="";for(let n=0;n<t.length;n+=1){let r=t.charCodeAt(n);i+=e.charAt(r>>>4&15)+e.charAt(r&15)}return i}function pe(t){return unescape(encodeURIComponent(t))}function Ui(t){return nn(pe(t))}function an(t){return ji(Ui(t))}function Fi(t,e){return sn(pe(t),pe(e))}function on(t,e){return ji(Fi(t,e))}function cn(t,e,i){return e?i?Fi(e,t):on(e,t):i?Ui(t):an(t)}var se=3072;function pn(t){let e=new Headers(t);if(t.has("x-bare-headers")){let i=t.get("x-bare-headers");if(i.length>se){e.delete("x-bare-headers");let n=0;for(let r=0;r<i.length;r+=se){let s=i.slice(r,r+se),a=n++;e.set(`x-bare-headers-${a}`,`;${s}`)}}}return e}function ln(t){let e=new Headers(t),i="x-bare-headers";if(t.has(`${i}-0`)){let n=[];for(let[r,s]of t){if(!r.startsWith(i))continue;if(!s.startsWith(";"))throw new Lt(400,{code:"INVALID_BARE_HEADER",id:`request.headers.${r}`,message:"Value didn't begin with semi-colon."});let a=parseInt(r.slice(i.length+1));n[a]=s.slice(1),e.delete(r)}e.set(i,n.join(""))}return e}var le=class extends oe{constructor(i){super(3,i);V(this,"ws");V(this,"http");this.ws=new URL(this.base),this.http=new URL(this.base),this.ws.protocol==="https:"?this.ws.protocol="wss:":this.ws.protocol="ws:"}connect(i,n,r,s,a){let o=new z(this.ws),p=()=>{o.removeEventListener("close",h),o.removeEventListener("message",u)},h=()=>{p()},u=m=>{if(p(),typeof m.data!="string")throw new TypeError("the first websocket message was not a text frame");let y=JSON.parse(m.data);if(y.type!=="open")throw new TypeError("message was not of open type");m.stopImmediatePropagation(),s({protocol:y.protocol,setCookies:y.setCookies}),a(Q.OPEN),o.dispatchEvent(new Event("open"))};return o.addEventListener("close",h),o.addEventListener("message",u),o.addEventListener("open",m=>{m.stopImmediatePropagation(),a(Q.CONNECTING),r().then(y=>Q.prototype.send.call(o,JSON.stringify({type:"connect",remote:i.toString(),protocols:n,headers:y,forwardHeaders:[]})))},{once:!0}),o}async request(i,n,r,s,a,o,p){if(s.protocol.startsWith("blob:")){let w=await ae(s),c=new Vi(w.body,w);return c.rawHeaders=Object.fromEntries(w.headers),c.rawResponse=w,c}let h={};if(n instanceof Headers)for(let[w,c]of n)h[w]=c;else for(let w in n)h[w]=n[w];let u={credentials:"omit",method:i,signal:p};a!=="only-if-cached"&&(u.cache=a),r!==void 0&&(u.body=r),o!==void 0&&(u.duplex=o),u.headers=this.createBareHeaders(s,h);let m=await ae(this.http+"?cache="+cn(s.toString()),u),y=await this.readBareResponse(m),_=new Vi(tn.includes(y.status)?void 0:m.body,{status:y.status,statusText:y.statusText??void 0,headers:new Headers(y.headers)});return _.rawHeaders=y.headers,_.rawResponse=m,_}async readBareResponse(i){if(!i.ok)throw new Lt(i.status,await i.json());let n=ln(i.headers),r={},s=n.get("x-bare-status");s!==null&&(r.status=parseInt(s));let a=n.get("x-bare-status-text");a!==null&&(r.statusText=a);let o=n.get("x-bare-headers");return o!==null&&(r.headers=JSON.parse(o)),r}createBareHeaders(i,n,r=[],s=[],a=[]){let o=new Headers;o.set("x-bare-url",i.toString()),o.set("x-bare-headers",JSON.stringify(n));for(let p of r)o.append("x-bare-forward-headers",p);for(let p of s)o.append("x-bare-pass-headers",p);for(let p of a)o.append("x-bare-pass-status",p.toString());return pn(o),o}},hn="!#$%&'*+-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz|~";function un(t){for(let e=0;e<t.length;e++){let i=t[e];if(!hn.includes(i))return!1}return!0}var dn=[["v3",le]];async function Hi(t,e){let i=await ae(t,{signal:e});if(!i.ok)throw new Error(`Unable to fetch Bare meta: ${i.status} ${await i.text()}`);return await i.json()}var mn=Object.getOwnPropertyDescriptor(z.prototype,"readyState").get,fn=["ws:","wss:"],ot=class{constructor(e,i){V(this,"manifest");V(this,"client");V(this,"server");V(this,"working");V(this,"onDemand");V(this,"onDemandSignal");this.server=new URL(e),!i||i instanceof AbortSignal?(this.onDemand=!0,this.onDemandSignal=i):(this.onDemand=!1,this.loadManifest(i))}loadManifest(e){return this.manifest=e,this.client=this.getClient(),this.client}demand(){return this.onDemand?(this.working||(this.working=Hi(this.server,this.onDemandSignal).then(e=>this.loadManifest(e)).catch(e=>{throw delete this.working,e})),this.working):this.client}getClient(){for(let[e,i]of dn)if(this.manifest.versions.includes(e))return new i(this.server);throw new Error("Unable to find compatible client version. Starting from v2.0.0, @tomphttp/bare-client only supports Bare servers v3+. For more information, see https://github.com/tomphttp/bare-client/")}createWebSocket(e,i=[],n){if(!this.client)throw new TypeError("You need to wait for the client to finish fetching the manifest before creating any WebSockets. Try caching the manifest data before making this request.");try{e=new URL(e)}catch{throw new DOMException(`Faiiled to construct 'WebSocket': The URL '${e}' is invalid.`)}if(!fn.includes(e.protocol))throw new DOMException(`Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. '${e.protocol}' is not allowed.`);Array.isArray(i)||(i=[i]),i=i.map(String);for(let u of i)if(!un(u))throw new DOMException(`Failed to construct 'WebSocket': The subprotocol '${u}' is invalid.`);let r=this.client.connect(e,i,async()=>{let u=typeof n.headers=="function"?await n.headers():n.headers||{},m=u instanceof Headers?Object.fromEntries(u):u;return m.Host=e.host,m.Pragma="no-cache",m["Cache-Control"]="no-cache",m.Upgrade="websocket",m.Connection="Upgrade",m},u=>{s=u.protocol,n.setCookiesCallback&&n.setCookiesCallback(u.setCookies)},u=>{a=u},n.webSocketImpl||z),s="",a=Q.CONNECTING,o=()=>{let u=mn.call(r);return u===Q.OPEN?a:u};n.readyStateHook?n.readyStateHook(r,o):Object.defineProperty(r,"readyState",{get:o,configurable:!0,enumerable:!0});let p=()=>{if(o()===Q.CONNECTING)return new DOMException("Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.")};n.sendErrorHook?n.sendErrorHook(r,p):r.send=function(...u){let m=p();if(m)throw m;Q.prototype.send.call(this,...u)},n.urlHook?n.urlHook(r,e):Object.defineProperty(r,"url",{get:()=>e.toString(),configurable:!0,enumerable:!0});let h=()=>s;return n.protocolHook?n.protocolHook(r,h):Object.defineProperty(r,"protocol",{get:h,configurable:!0,enumerable:!0}),r}async fetch(e,i){let n=yn(e)?new Jr(e,i):e,r=i?.headers||n.headers,s=r instanceof Headers?Object.fromEntries(r):r,a=i?.duplex,o=i?.body||n.body,p=new URL(n.url),h=await this.demand();for(let u=0;;u++){"host"in s?s.host=p.host:s.Host=p.host;let m=await h.request(n.method,s,o,p,n.cache,a,n.signal);m.finalURL=p.toString();let y=i?.redirect||n.redirect;if(en.includes(m.status))switch(y){case"follow":{let _=m.headers.get("location");if(Zr>u&&_!==null){p=new URL(_,p);continue}else throw new TypeError("Failed to fetch")}case"error":throw new TypeError("Failed to fetch");case"manual":return m}else return m}}};function yn(t){return typeof t=="string"||t instanceof URL}async function Wi(t,e){let i=await Hi(t,e);return new ot(t,i)}var ue={};wt(ue,{parse:()=>_n,serialize:()=>he});var gn=Object.prototype.toString,It=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function _n(t,e){if(typeof t!="string")throw new TypeError("argument str must be a string");for(var i={},n=(e||{}).decode||xn,r=0;r<t.length;){var s=t.indexOf("=",r);if(s===-1)break;var a=t.indexOf(";",r);if(a===-1)a=t.length;else if(a<s){r=t.lastIndexOf(";",s-1)+1;continue}var o=t.slice(r,s).trim();if(i[o]===void 0){var p=t.slice(s+1,a).trim();p.charCodeAt(0)===34&&(p=p.slice(1,-1)),i[o]=vn(p,n)}r=a+1}return i}function he(t,e,i){var n=i||{},r=n.encode||wn;if(typeof r!="function")throw new TypeError("option encode is invalid");if(!It.test(t))throw new TypeError("argument name is invalid");var s=r(e);if(s&&!It.test(s))throw new TypeError("argument val is invalid");var a=t+"="+s;if(n.maxAge!=null){var o=n.maxAge-0;if(isNaN(o)||!isFinite(o))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(o)}if(n.domain){if(!It.test(n.domain))throw new TypeError("option domain is invalid");a+="; Domain="+n.domain}if(n.path){if(!It.test(n.path))throw new TypeError("option path is invalid");a+="; Path="+n.path}if(n.expires){var p=n.expires;bn(p)&&!isNaN(p.valueOf())||(a+="; Expires="+new Date(0).toUTCString()),a+="; Expires="+p.toUTCString()}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.priority)switch(typeof n.priority=="string"?n.priority.toLowerCase():n.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return a}function xn(t){return t.indexOf("%")!==-1?decodeURIComponent(t):t}function wn(t){return encodeURIComponent(t)}function bn(t){return gn.call(t)==="[object Date]"||t instanceof Date}function vn(t,e){try{return e(t)}catch{return t}}var rr=Wt(Gi(),1);var K={};Object.defineProperty(K,"__esModule",{value:!0}),K.GENERATOR=K.EXPRESSIONS_PRECEDENCE=K.NEEDS_PARENTHESES=void 0;function Cn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zi(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function kn(t,e,i){return e&&zi(t.prototype,e),i&&zi(t,i),t}var An=JSON.stringify;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");var Tt={"||":3,"&&":4,"|":5,"??":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},j=17;K.NEEDS_PARENTHESES=j;var Xi,Ki,Qi,Yi,Ji,Zi,tr={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:j,ClassExpression:j,FunctionExpression:j,ObjectExpression:j,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function it(t,e){var i=t.generator;if(t.write("("),e!=null&&e.length>0){i[e[0].type](e[0],t);for(var n=e.length,r=1;r<n;r++){var s=e[r];t.write(", "),i[s.type](s,t)}}t.write(")")}function er(t,e,i,n){var r=t.expressionsPrecedence[e.type];if(r===j)return!0;var s=t.expressionsPrecedence[i.type];return r!==s?!n&&r===15&&s===14&&i.operator==="**"||r<s:(r===13||r===14)&&(e.operator==="**"&&i.operator==="**"?!n:n?Tt[e.operator]<=Tt[i.operator]:Tt[e.operator]<Tt[i.operator])}function Rt(t,e,i,n){var r=t.generator;er(t,e,i,n)?(t.write("("),r[e.type](e,t),t.write(")")):r[e.type](e,t)}function Ln(t,e,i,n){var r=e.split(`
`),s=r.length-1;if(t.write(r[0].trim()),s>0){t.write(n);for(var a=1;a<s;a++)t.write(i+r[a].trim()+n);t.write(i+r[s].trim())}}function D(t,e,i,n){for(var r=e.length,s=0;s<r;s++){var a=e[s];t.write(i),a.type[0]==="L"?t.write("// "+a.value.trim()+`
`,a):(t.write("/*"),Ln(t,a.value,i,n),t.write("*/"+n))}}function Pn(t){for(var e=t;e!=null;){var i=e.type;if(i[0]==="C"&&i[1]==="a")return!0;if(i[0]!=="M"||i[1]!=="e"||i[2]!=="m")return!1;e=e.object}}function fe(t,e){var i=t.generator,n=e.declarations;t.write(e.kind+" ");var r=n.length;if(r>0){i.VariableDeclarator(n[0],t);for(var s=1;s<r;s++)t.write(", "),i.VariableDeclarator(n[s],t)}}K.EXPRESSIONS_PRECEDENCE=tr;var ye={Program:function(t,e){var i=e.indent.repeat(e.indentLevel),n=e.lineEnd,r=e.writeComments;r&&t.comments!=null&&D(e,t.comments,i,n);for(var s=t.body,a=s.length,o=0;o<a;o++){var p=s[o];r&&p.comments!=null&&D(e,p.comments,i,n),e.write(i),this[p.type](p,e),e.write(n)}r&&t.trailingComments!=null&&D(e,t.trailingComments,i,n)},ParenthesizedExpression:function(t,e){e.write("("),this[t.expression.type](t.expression,e),e.write(")")},BlockStatement:Zi=function(t,e){var i=e.indent.repeat(e.indentLevel++),n=e.lineEnd,r=e.writeComments,s=i+e.indent;e.write("{");var a=t.body;if(a!=null&&a.length>0){e.write(n),r&&t.comments!=null&&D(e,t.comments,s,n);for(var o=a.length,p=0;p<o;p++){var h=a[p];r&&h.comments!=null&&D(e,h.comments,s,n),e.write(s),this[h.type](h,e),e.write(n)}e.write(i)}else r&&t.comments!=null&&(e.write(n),D(e,t.comments,s,n),e.write(i));r&&t.trailingComments!=null&&D(e,t.trailingComments,s,n),e.write("}"),e.indentLevel--},ClassBody:Zi,StaticBlock:function(t,e){e.write("static "),this.BlockStatement(t,e)},EmptyStatement:function(t,e){e.write(";")},ExpressionStatement:function(t,e){var i=e.expressionsPrecedence[t.expression.type];i===j||i===3&&t.expression.left.type[0]==="O"?(e.write("("),this[t.expression.type](t.expression,e),e.write(")")):this[t.expression.type](t.expression,e),e.write(";")},IfStatement:function(t,e){e.write("if ("),this[t.test.type](t.test,e),e.write(") "),this[t.consequent.type](t.consequent,e),t.alternate!=null&&(e.write(" else "),this[t.alternate.type](t.alternate,e))},LabeledStatement:function(t,e){this[t.label.type](t.label,e),e.write(": "),this[t.body.type](t.body,e)},BreakStatement:function(t,e){e.write("break"),t.label!=null&&(e.write(" "),this[t.label.type](t.label,e)),e.write(";")},ContinueStatement:function(t,e){e.write("continue"),t.label!=null&&(e.write(" "),this[t.label.type](t.label,e)),e.write(";")},WithStatement:function(t,e){e.write("with ("),this[t.object.type](t.object,e),e.write(") "),this[t.body.type](t.body,e)},SwitchStatement:function(t,e){var i=e.indent.repeat(e.indentLevel++),n=e.lineEnd,r=e.writeComments;e.indentLevel++;var s=i+e.indent,a=s+e.indent;e.write("switch ("),this[t.discriminant.type](t.discriminant,e),e.write(") {"+n);for(var o=t.cases,p=o.length,h=0;h<p;h++){var u=o[h];r&&u.comments!=null&&D(e,u.comments,s,n),u.test?(e.write(s+"case "),this[u.test.type](u.test,e),e.write(":"+n)):e.write(s+"default:"+n);for(var m=u.consequent,y=m.length,_=0;_<y;_++){var w=m[_];r&&w.comments!=null&&D(e,w.comments,a,n),e.write(a),this[w.type](w,e),e.write(n)}}e.indentLevel-=2,e.write(i+"}")},ReturnStatement:function(t,e){e.write("return"),t.argument&&(e.write(" "),this[t.argument.type](t.argument,e)),e.write(";")},ThrowStatement:function(t,e){e.write("throw "),this[t.argument.type](t.argument,e),e.write(";")},TryStatement:function(t,e){if(e.write("try "),this[t.block.type](t.block,e),t.handler){var i=t.handler;i.param==null?e.write(" catch "):(e.write(" catch ("),this[i.param.type](i.param,e),e.write(") ")),this[i.body.type](i.body,e)}t.finalizer&&(e.write(" finally "),this[t.finalizer.type](t.finalizer,e))},WhileStatement:function(t,e){e.write("while ("),this[t.test.type](t.test,e),e.write(") "),this[t.body.type](t.body,e)},DoWhileStatement:function(t,e){e.write("do "),this[t.body.type](t.body,e),e.write(" while ("),this[t.test.type](t.test,e),e.write(");")},ForStatement:function(t,e){if(e.write("for ("),t.init!=null){var i=t.init;i.type[0]==="V"?fe(e,i):this[i.type](i,e)}e.write("; "),t.test&&this[t.test.type](t.test,e),e.write("; "),t.update&&this[t.update.type](t.update,e),e.write(") "),this[t.body.type](t.body,e)},ForInStatement:Xi=function(t,e){e.write("for ".concat(t.await?"await ":"","("));var i=t.left;i.type[0]==="V"?fe(e,i):this[i.type](i,e),e.write(t.type[3]==="I"?" in ":" of "),this[t.right.type](t.right,e),e.write(") "),this[t.body.type](t.body,e)},ForOfStatement:Xi,DebuggerStatement:function(t,e){e.write("debugger;",t)},FunctionDeclaration:Ki=function(t,e){e.write((t.async?"async ":"")+(t.generator?"function* ":"function ")+(t.id?t.id.name:""),t),it(e,t.params),e.write(" "),this[t.body.type](t.body,e)},FunctionExpression:Ki,VariableDeclaration:function(t,e){fe(e,t),e.write(";")},VariableDeclarator:function(t,e){this[t.id.type](t.id,e),t.init!=null&&(e.write(" = "),this[t.init.type](t.init,e))},ClassDeclaration:function(t,e){if(e.write("class "+(t.id?"".concat(t.id.name," "):""),t),t.superClass){e.write("extends ");var i=t.superClass,n=i.type,r=e.expressionsPrecedence[n];n[0]==="C"&&n[1]==="l"&&n[5]==="E"||!(r===j||r<e.expressionsPrecedence.ClassExpression)?this[i.type](i,e):(e.write("("),this[t.superClass.type](i,e),e.write(")")),e.write(" ")}this.ClassBody(t.body,e)},ImportDeclaration:function(t,e){e.write("import ");var i=t.specifiers,n=i.length,r=0;if(n>0){for(;r<n;){r>0&&e.write(", ");var s=i[r],a=s.type[6];if(a==="D")e.write(s.local.name,s),r++;else{if(a!=="N")break;e.write("* as "+s.local.name,s),r++}}if(r<n){for(e.write("{");;){var o=i[r],p=o.imported.name;if(e.write(p,o),p!==o.local.name&&e.write(" as "+o.local.name),!(++r<n))break;e.write(", ")}e.write("}")}e.write(" from ")}this.Literal(t.source,e),e.write(";")},ImportExpression:function(t,e){e.write("import("),this[t.source.type](t.source,e),e.write(")")},ExportDefaultDeclaration:function(t,e){e.write("export default "),this[t.declaration.type](t.declaration,e),e.expressionsPrecedence[t.declaration.type]!=null&&t.declaration.type[0]!=="F"&&e.write(";")},ExportNamedDeclaration:function(t,e){if(e.write("export "),t.declaration)this[t.declaration.type](t.declaration,e);else{e.write("{");var i=t.specifiers,n=i.length;if(n>0)for(var r=0;;){var s=i[r],a=s.local.name;if(e.write(a,s),a!==s.exported.name&&e.write(" as "+s.exported.name),!(++r<n))break;e.write(", ")}e.write("}"),t.source&&(e.write(" from "),this.Literal(t.source,e)),e.write(";")}},ExportAllDeclaration:function(t,e){t.exported!=null?e.write("export * as "+t.exported.name+" from "):e.write("export * from "),this.Literal(t.source,e),e.write(";")},MethodDefinition:function(t,e){t.static&&e.write("static ");var i=t.kind[0];i!=="g"&&i!=="s"||e.write(t.kind+" "),t.value.async&&e.write("async "),t.value.generator&&e.write("*"),t.computed?(e.write("["),this[t.key.type](t.key,e),e.write("]")):this[t.key.type](t.key,e),it(e,t.value.params),e.write(" "),this[t.value.body.type](t.value.body,e)},ClassExpression:function(t,e){this.ClassDeclaration(t,e)},ArrowFunctionExpression:function(t,e){e.write(t.async?"async ":"",t);var i=t.params;i!=null&&(i.length===1&&i[0].type[0]==="I"?e.write(i[0].name,i[0]):it(e,t.params)),e.write(" => "),t.body.type[0]==="O"?(e.write("("),this.ObjectExpression(t.body,e),e.write(")")):this[t.body.type](t.body,e)},ThisExpression:function(t,e){e.write("this",t)},Super:function(t,e){e.write("super",t)},RestElement:Qi=function(t,e){e.write("..."),this[t.argument.type](t.argument,e)},SpreadElement:Qi,YieldExpression:function(t,e){e.write(t.delegate?"yield*":"yield"),t.argument&&(e.write(" "),this[t.argument.type](t.argument,e))},AwaitExpression:function(t,e){e.write("await ",t),Rt(e,t.argument,t)},TemplateLiteral:function(t,e){var i=t.quasis,n=t.expressions;e.write("`");for(var r=n.length,s=0;s<r;s++){var a=n[s],o=i[s];e.write(o.value.raw,o),e.write("${"),this[a.type](a,e),e.write("}")}var p=i[i.length-1];e.write(p.value.raw,p),e.write("`")},TemplateElement:function(t,e){e.write(t.value.raw,t)},TaggedTemplateExpression:function(t,e){Rt(e,t.tag,t),this[t.quasi.type](t.quasi,e)},ArrayExpression:Ji=function(t,e){if(e.write("["),t.elements.length>0)for(var i=t.elements,n=i.length,r=0;;){var s=i[r];if(s!=null&&this[s.type](s,e),!(++r<n)){s==null&&e.write(", ");break}e.write(", ")}e.write("]")},ArrayPattern:Ji,ObjectExpression:function(t,e){var i=e.indent.repeat(e.indentLevel++),n=e.lineEnd,r=e.writeComments,s=i+e.indent;if(e.write("{"),t.properties.length>0){e.write(n),r&&t.comments!=null&&D(e,t.comments,s,n);for(var a=","+n,o=t.properties,p=o.length,h=0;;){var u=o[h];if(r&&u.comments!=null&&D(e,u.comments,s,n),e.write(s),this[u.type](u,e),!(++h<p))break;e.write(a)}e.write(n),r&&t.trailingComments!=null&&D(e,t.trailingComments,s,n),e.write(i+"}")}else r?t.comments!=null?(e.write(n),D(e,t.comments,s,n),t.trailingComments!=null&&D(e,t.trailingComments,s,n),e.write(i+"}")):t.trailingComments!=null?(e.write(n),D(e,t.trailingComments,s,n),e.write(i+"}")):e.write("}"):e.write("}");e.indentLevel--},Property:function(t,e){t.method||t.kind[0]!=="i"?this.MethodDefinition(t,e):(t.shorthand||(t.computed?(e.write("["),this[t.key.type](t.key,e),e.write("]")):this[t.key.type](t.key,e),e.write(": ")),this[t.value.type](t.value,e))},PropertyDefinition:function(t,e){t.static&&e.write("static "),t.computed&&e.write("["),this[t.key.type](t.key,e),t.computed&&e.write("]"),t.value!=null?(e.write(" = "),this[t.value.type](t.value,e),e.write(";")):t.key.type[0]!=="F"&&e.write(";")},ObjectPattern:function(t,e){if(e.write("{"),t.properties.length>0)for(var i=t.properties,n=i.length,r=0;this[i[r].type](i[r],e),++r<n;)e.write(", ");e.write("}")},SequenceExpression:function(t,e){it(e,t.expressions)},UnaryExpression:function(t,e){if(t.prefix){var i=t.operator,n=t.argument,r=t.argument.type;e.write(i);var s=er(e,n,t);s||!(i.length>1)&&(r[0]!=="U"||r[1]!=="n"&&r[1]!=="p"||!n.prefix||n.operator[0]!==i||i!=="+"&&i!=="-")||e.write(" "),s?(e.write(i.length>1?" (":"("),this[r](n,e),e.write(")")):this[r](n,e)}else this[t.argument.type](t.argument,e),e.write(t.operator)},UpdateExpression:function(t,e){t.prefix?(e.write(t.operator),this[t.argument.type](t.argument,e)):(this[t.argument.type](t.argument,e),e.write(t.operator))},AssignmentExpression:function(t,e){this[t.left.type](t.left,e),e.write(" "+t.operator+" "),this[t.right.type](t.right,e)},AssignmentPattern:function(t,e){this[t.left.type](t.left,e),e.write(" = "),this[t.right.type](t.right,e)},BinaryExpression:Yi=function(t,e){var i=t.operator==="in";i&&e.write("("),Rt(e,t.left,t,!1),e.write(" "+t.operator+" "),Rt(e,t.right,t,!0),i&&e.write(")")},LogicalExpression:Yi,ConditionalExpression:function(t,e){var i=t.test,n=e.expressionsPrecedence[i.type];n===j||n<=e.expressionsPrecedence.ConditionalExpression?(e.write("("),this[i.type](i,e),e.write(")")):this[i.type](i,e),e.write(" ? "),this[t.consequent.type](t.consequent,e),e.write(" : "),this[t.alternate.type](t.alternate,e)},NewExpression:function(t,e){e.write("new ");var i=e.expressionsPrecedence[t.callee.type];i===j||i<e.expressionsPrecedence.CallExpression||Pn(t.callee)?(e.write("("),this[t.callee.type](t.callee,e),e.write(")")):this[t.callee.type](t.callee,e),it(e,t.arguments)},CallExpression:function(t,e){var i=e.expressionsPrecedence[t.callee.type];i===j||i<e.expressionsPrecedence.CallExpression?(e.write("("),this[t.callee.type](t.callee,e),e.write(")")):this[t.callee.type](t.callee,e),t.optional&&e.write("?."),it(e,t.arguments)},ChainExpression:function(t,e){this[t.expression.type](t.expression,e)},MemberExpression:function(t,e){var i=e.expressionsPrecedence[t.object.type];i===j||i<e.expressionsPrecedence.MemberExpression?(e.write("("),this[t.object.type](t.object,e),e.write(")")):this[t.object.type](t.object,e),t.computed?(t.optional&&e.write("?."),e.write("["),this[t.property.type](t.property,e),e.write("]")):(t.optional?e.write("?."):e.write("."),this[t.property.type](t.property,e))},MetaProperty:function(t,e){e.write(t.meta.name+"."+t.property.name,t)},Identifier:function(t,e){e.write(t.name,t)},PrivateIdentifier:function(t,e){e.write("#".concat(t.name),t)},Literal:function(t,e){t.raw!=null?e.write(t.raw,t):t.regex!=null?this.RegExpLiteral(t,e):t.bigint!=null?e.write(t.bigint+"n",t):e.write(An(t.value),t)},RegExpLiteral:function(t,e){var i=t.regex;e.write("/".concat(i.pattern,"/").concat(i.flags),t)}};K.GENERATOR=ye;var In={},Tn=ye;K.baseGenerator=Tn;var Rn=function(){function t(e){Cn(this,t);var i=e??In;this.output="",i.output!=null?(this.output=i.output,this.write=this.writeToStream):this.output="",this.generator=i.generator!=null?i.generator:ye,this.expressionsPrecedence=i.expressionsPrecedence!=null?i.expressionsPrecedence:tr,this.indent=i.indent!=null?i.indent:" ",this.lineEnd=i.lineEnd!=null?i.lineEnd:`
`,this.indentLevel=i.startingIndentLevel!=null?i.startingIndentLevel:0,this.writeComments=!!i.comments&&i.comments,i.sourceMap!=null&&(this.write=i.output==null?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=i.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split(`
`).length-1,this.mapping={original:null,generated:this,name:void 0,source:i.sourceMap.file||i.sourceMap._file})}return kn(t,[{key:"write",value:function(e){this.output+=e}},{key:"writeToStream",value:function(e){this.output.write(e)}},{key:"writeAndMap",value:function(e,i){this.output+=e,this.map(e,i)}},{key:"writeToStreamAndMap",value:function(e,i){this.output.write(e),this.map(e,i)}},{key:"map",value:function(e,i){if(i!=null){var n=i.type;if(n[0]==="L"&&n[2]==="n")return this.column=0,void this.line++;if(i.loc!=null){var r=this.mapping;r.original=i.loc.start,r.name=i.name,this.sourceMap.addMapping(r)}if(n[0]==="T"&&n[8]==="E"||n[0]==="L"&&n[1]==="i"&&typeof i.value=="string"){for(var s=e.length,a=this.column,o=this.line,p=0;p<s;p++)e[p]===`
`?(a=0,o++):a++;return this.column=a,void(this.line=o)}}var h=e.length,u=this.lineEnd;h>0&&(this.lineEndSize>0&&(u.length===1?e[h-1]===u:e.endsWith(u))?(this.line+=this.lineEndSize,this.column=0):this.column+=h)}},{key:"toString",value:function(){return this.output}}]),t}();function ir(t,e){var i=new Rn(e);return i.generator[t.type](t,i),i.output}var ge=class{constructor(e){this.mime=Ei;this.idb=vt;this.path=Nn;this.acorn={parse:$i};this.bare={createBareClient:Wi,BareClient:ot};this.base64=Et;this.estree={generate:ir};this.cookie={...ue,serialize:(...e)=>{try{return he.apply({},e)}catch(i){console.log(i)}}};this.setCookieParser=rr.parse;this.ctx=e}},nr=ge;function _e(t,e,i,n,r="",s=!1,a=""){if(self.__dynamic$config)var o=self.__dynamic$config.mode=="development";else var o=!1;if(s){var p=[{nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:t+(o?"?"+Math.floor(Math.random()*89999+1e4):"")}]},{nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:e+(o?"?"+Math.floor(Math.random()*89999+1e4):"")}]}];return this.ctx.config.assets.files.inject&&p.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:this.ctx.config.assets.files.inject+(o?"?"+Math.floor(Math.random()*(99999-1e4)+1e4):"")}]}),n&&p.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(`self.__dynamic$cookies = atob("${btoa(n)}");document.currentScript?.remove();`)}]}),r&&p.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(r+";document.currentScript?.remove();")}]}),a&&p.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(a+";document.currentScript?.remove();")}]}),p}else{var h=[`<script src="${e+(o?"?"+Math.floor(Math.random()*89999+1e4):"")}"><\/script>`,`<script src="${t+(o?"?"+Math.floor(Math.random()*89999+1e4):"")}"><\/script>`];return this.ctx.config.assets.files.inject&&h.unshift(`<script src="${this.ctx.config.assets.files.inject+(o?"?"+Math.floor(Math.random()*(99999-1e4)+1e4):"")}"><\/script>`),n&&h.unshift(`<script src="${"data:application/javascript;base64,"+btoa(`self.__dynamic$cookies = atob("${btoa(n)}");document.currentScript?.remove();`)}"><\/script>`),r&&h.unshift(`<script src="${"data:application/javascript;base64,"+btoa(r+";document.currentScript?.remove();")}"><\/script>`),a&&h.unshift(`<script src="${"data:application/javascript;base64,"+btoa(a+";document.currentScript?.remove();")}"><\/script>`),h}}var pt=class{constructor(e){this.generateHead=_e;this.config=[{elements:"all",tags:["style"],action:"css"},{elements:["script","iframe","embed","input","track","media","source","img","a","link","area","form","object"],tags:["src","href","action","data"],action:"url"},{elements:["source","img"],tags:["srcset"],action:"srcset"},{elements:["script","link"],tags:["integrity"],action:"rewrite",new:"nointegrity"},{elements:["script","link"],tags:["nonce"],action:"rewrite",new:"nononce"},{elements:["meta"],tags:["http-equiv"],action:"http-equiv"},{elements:["iframe"],tags:["srcdoc"],action:"html"},{elements:["link"],tags:["imagesrcset"],action:"srcset"},{elements:"all",tags:["onclick"],action:"js"}];this.ctx=e.ctx}generateRedirect(e){return`
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="${e}">here</A>.
</BODY></HTML>
`}iterate(e,i){function n(r=e){for(var s=0;s<r.childNodes.length;s++)i(r.childNodes[s]),r.childNodes[s].childNodes&&r.childNodes[s].childNodes.length&&n(r.childNodes[s])}n(e)}rewrite(e,i,n=[]){return Array.isArray(e)&&(e=e[0]),!e||(e=e.toString(),!e.match(/<(html|script|style)[^>]*>/g)&&e.match(/<\!DOCTYPE[^>]*>/gi))?e:e.replace(/(<!DOCTYPE html>|<html(.*?)>)/im,`$1${n.join("")}
`).replace(/<(script|link)\b[^>]*>/g,(r,s)=>r.replace(/\snonce\s*=\s*"[^"]*"/,a=>a.replace("nonce","nononce")).replace(/\sintegrity\s*=\s*"[^"]*"/,a=>a.replace("integrity","nointegrity")))}};var lt=class{constructor(e){this.ctx=e.ctx}rewrite(e,i,n={}){let r=this;return e&&e.toString().replace(/((@import ['"`]+|url\(['"`]?)(.*?)(['"`]?\)|['"`]+))/gmi,function(){try{return arguments[0].replace(arguments[3],r.ctx.url.encode(arguments[3],i))}catch{}})}};function xe(t,e){if(typeof t!="object"||!e)return;i(t,null,e);function i(n,r,s){if(!(typeof n!="object"||!s)){n.parent=r,s(n,r,s);for(let a in n)a!=="parent"&&(Array.isArray(n[a])?n[a].forEach(o=>{o&&i(o,n,s)}):n[a]&&i(n[a],n,s));typeof n.iterateEnd=="function"&&n.iterateEnd()}}}function we(t,e={},i,n){var r=this.ctx.modules.acorn.parse(t.toString(),{sourceType:e.module?"module":"script",allowImportExportEverywhere:!0,allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,ecmaVersion:"latest",preserveParens:!0,loose:!0,allowReserved:!0});return this.iterate(r,(s,a=null)=>{this.emit(s,s.type,a,i,n,e)}),t=this.ctx.modules.estree.generate(r),t}function be(t,e={}){if(typeof t.name!="string")return!1;if(t.__dynamic!==!0){if(!["parent","top","postMessage","opener","window","self","globalThis","parent","location"].includes(t.name))return!1;if(!(e.type=="CallExpression"&&e.callee==t)&&!(e.type=="MemberExpression"&&e.object!==t&&!["document","window","self","globalThis"].includes(e.object.name))&&e.type!="FunctionDeclaration"&&e.type!="VariableDeclaration"&&!(e.type=="VariableDeclarator"&&e.id==t)&&e.type!="LabeledStatement"&&!(e.type=="Property"&&e.key==t)&&!(e.type=="ArrowFunctionExpression"&&e.params.includes(t))&&!(e.type=="FunctionExpression"&&e.params.includes(t))&&!(e.type=="FunctionExpression"&&e.id==t)&&!(e.type=="CatchClause"&&e.param==t)&&e.type!="ContinueStatement"&&e.type!="BreakStatement"&&!(e.type=="AssignmentExpression"&&e.left==t)&&e.type!="UpdateExpression"&&e.type!="UpdateExpression"&&!(e.type=="ForInStatement"&&e.left==t)&&!(e.type=="MethodDefinition"&&e.key==t)&&!(e.type=="AssignmentPattern"&&e.left==t)&&e.type!="NewExpression"&&e?.parent?.type!="NewExpression"&&!(e.type=="UnaryExpression"&&e.argument==t)&&!(e.type=="Property"&&e.shorthand==!0&&e.value==t)){if(t.name=="__dynamic")return t.name="undefined";if(t.name=="eval"&&e.right!==t)return t.name="__dynamic$eval";t.name=`dg$(${t.name})`}}}function rt(t,e={}){Object.entries({type:"CallExpression",callee:{type:"MemberExpression",object:{type:"Identifier",name:"self"},property:{type:"Identifier",name:"__dynamic$message"}},arguments:[t.object||t,{type:"Identifier",name:"self",__dynamic:!0}]}).forEach(([i,n])=>t[i]=n)}function ve(t,e={},i={}){if(t.object.name+="",e.type!=="AssignmentExpression"&&e.left!==t){if(t.property.value=="postMessage"&&e.type=="CallExpression"&&e.callee==t)return rt(t,e);if(t.object.value=="postMessage"&&e.type=="CallExpression"&&e.callee==t)return rt(t,e);if((t.property.name=="postMessage"||t.object.name=="postMessage")&&t.object.type!=="Super"){var n=t.object?.name;t.type="CallExpression",t.callee={type:"Identifier",name:"__dynamic$message"},t.arguments=[{type:"Identifier",name:n},{type:"Identifier",name:"self",__dynamic:!0}],e.type=="CallExpression"&&(e.arguments=e.arguments);return}}if(t.property.name=="eval"&&(t.property.name="__dynamic$eval"),t.object.name=="eval"&&(t.object.name="__dynamic$eval"),i.destination!=="worker"&&(t.property.name=="window"&&t.object.name!="top"&&(t.object.name=="self"||t.object.name=="globalThis")&&e.type!=="NewExpression"&&(e.type!=="CallExpression"||e.type=="CallExpression"&&t!==e.callee)&&(t.property.name="__dynamic$window"),t.object.name=="top"&&e.type!=="NewExpression"&&(e.type!=="CallExpression"||e.type=="CallExpression"&&t!==e.callee)&&(t.object.name="top.__dynamic$window"),t.property.name=="top"&&(t.object.name=="self"||t.object.name=="globalThis")&&e.type!=="NewExpression"&&(e.type!=="CallExpression"||e.type=="CallExpression"&&t!==e.callee)&&(t.property.name="top.__dynamic$window"),e.type!=="NewExpression"&&(e.type!=="CallExpression"||e.type=="CallExpression"&&t!==e.callee)&&(t.object.name=="window"&&(t.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[t.object],__dynamic:!0}),t.object.name=="parent"&&(t.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[t.object],__dynamic:!0}),t.property.name=="__dynamic"&&(t.property.name="undefined"),t.object.name=="self"&&(t.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[t.object],__dynamic:!0}),t.object.name=="document"&&(t.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[t.object],__dynamic:!0}),t.object.name=="globalThis"&&(t.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[t.object],__dynamic:!0})),t.object.name=="location"&&(t.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[t.object],__dynamic:!0}),t.property.name=="location"&&e.type!=="BinaryExpression"&&e.type!=="AssignmentExpression")){t.property.__dynamic=!0,t.__dynamic=!0;let r=Object.assign({},t);t.type="CallExpression",t.callee={type:"Identifier",name:"dg$",__dynamic:!0},t.arguments=[r],t.__dynamic=!0}t.computed&&i.destination!=="worker"&&(t.property={type:"CallExpression",callee:{type:"Identifier",name:"dp$"},arguments:[t.property],__dynamic:!0})}function Ee(t,e={}){if(!(t.value instanceof String)||(t.value=="__dynamic"&&(t.value="undefined"),!["location","parent","top","postMessage"].includes(t.value)))return!1;t.value=="postMessage"&&e.type!="AssignmentExpression"&&e.left!=t&&rt(t,e),t.value=="location"&&(t.value="__dynamic$location"),t.value=="__dynamic"&&(t.value="undefined"),t.value=="eval"&&(t.value="__dynamic$eval")}function Nt(t,e={}){t.__dynamic||t.arguments.length&&(t.arguments=[{type:"CallExpression",callee:{type:"Identifier",name:"__dynamic$wrapEval",__dynamic:!0},arguments:t.arguments,__dynamic:!0}],t.__dynamic=!0)}function Se(t,e={}){if(!(e.type=="AssignmentExpression"&&e.left==t)){if(t.callee.type=="Identifier"){if(t.callee.name=="postMessage"){let i="undefined";t.callee.type="CallExpression",t.callee.callee={type:"Identifier",name:"__dynamic$message"},t.callee.arguments=[{type:"Identifier",name:i},{type:"Identifier",name:"self",__dynamic:!0}];return}t.callee.name=="eval"&&Nt(t)}if(t.callee.type=="MemberExpression"){if(t.callee.property.name=="postMessage"&&t.callee.object.type!=="Super"){let i=t.callee.object;t.callee.type="CallExpression",t.callee.callee={type:"Identifier",name:"__dynamic$message"},t.callee.arguments=[i,{type:"Identifier",name:"self",__dynamic:!0}];return}t.callee.object.name=="eval"&&Nt(t)}t.arguments.length>0&&t.arguments.length<4;try{}catch{}}}function Ce(t,e={}){if(t.left.type=="Identifier"){if(t.left.__dynamic===!0)return;if(t.left.name=="location"){var i=structuredClone(t.left),n=structuredClone(t.right);t.right.type="CallExpression",t.right.callee={type:"Identifier",name:"ds$"},t.right.arguments=[i,n]}}}function ke(t,e={}){t.parent.type!="ObjectPattern"&&t.parent?.parent?.type!="AssignmentExpression"&&(t.shorthand=!1)}function Ae(t,e={},i={},n={}){if(t.type=="Literal"&&(e.type=="ImportDeclaration"||e.type=="ExportNamedDeclaration"||e.type=="ExportAllDeclaration")){var r=t.value+"";t.value=i.url.encode(t.value,n.meta),t.raw=t.raw.replace(r,t.value),t.__dynamic=!0}t.type=="ImportExpression"&&(t.source={type:"CallExpression",callee:{type:"Identifier",name:"__dynamic$import"},arguments:[t.source,{type:"Literal",__dynamic:!0,value:i.meta.href}]},t.__dynamic=!0)}function Le(t,e={}){if(t.id.type!=="Identifier")return!1;t.id.__dynamic!==!0&&t.id.name!="location"}function On(t,e,i={},n={},r={},s={}){if(!t.__dynamic){switch(e){case"Identifier":be(t,i);break;case"MemberExpression":ve(t,i,s);break;case"Literal":Ee(t,i);break;case"CallExpression":Se(t,i);break;case"AssignmentExpression":Ce(t,i);break;case"ThisExpression":break;case"Property":ke(t,i);break;case"VariableDeclarator":Le(t,i);break;case"CatchClause":break;default:break}Ae(t,i,n,r)}}var sr=On;var ht=class{constructor(e){this.iterate=xe;this.process=we;this.emit=sr;this.ctx=e.ctx}rewrite(e,i={},n=!0,r={}){if(!e||e instanceof Object||(e=e.toString(),e.includes("/* dynamic.js */")))return e;e=`/* dynamic.js */
${e}`;try{try{e=this.process(e,i,{module:!0,...this.ctx},r)}catch{e=this.process(e,i,{module:!1,...this.ctx},r)}}catch{}return n&&(e=`
if (typeof self !== undefined && typeof self.importScripts == 'function' && typeof self.__dynamic == 'undefined') importScripts('/dynamic/dynamic.config.js', '/dynamic/dynamic.handler.js?'+Math.floor(Math.random()*(99999-10000)+10000));
${e}`),e}};var ut=class{constructor(e){this.config={rewrite:[["icons","urlit"],["name"," - Dynamic"],["start_url","url"],["scope","url"],["short_name"," - Dynamic"],["shortcuts","urlev"]],delete:["serviceworker"]};this.ctx=e.ctx}rewrite(e,i){let n=JSON.parse(e);for(let o in this.config)if(o=="rewrite")for(var[r,s]of this.config[o]){if(s=="urlit"&&n[r]){for(var a=0;a<n[r].length;a++)n[r][a].src=this.ctx.url.encode(n[r][a].src,i);continue}if(s=="urlev"&&n[r]){for(var a=0;a<n[r].length;a++)n[r][a].url=this.ctx.url.encode(n[r][a].url,i);continue}if(s=="url"&&n[r]){n[r]=this.ctx.url.encode(n[r],i);continue}s=="url"||s=="urlit"||s=="urlev"||(n[r]=n[r]+s)}else if(o=="delete")for(var r of this.config[o])n[r]&&delete n[r];return JSON.stringify(n)}};var ar={encode(t,e){return!t||!t.toString()?t:t.split(", ").map(i=>i.split(" ").map((n,r)=>r==0?e.url.encode(n,e.baseURL||e.meta):n).join(" ")).join(", ")},decode(t){return t}};var Pe=class{constructor(e){this.ctx=e,this.html=new pt(this),this.srcset=ar,this.js=new ht(this),this.css=new lt(this),this.man=new ut(this)}},or=Pe;async function cr(t){var e;if(t.method==="GET"){var i=new URL(t.url);e=i.searchParams.get("url")}else if(t.method==="POST"){if(e=(await t.formData()).get("url"),e===null){var i=new URL(t.url);e=i.searchParams.get("url")}if(!e)return new Response("Error: Invalid or Unfound url",{status:400})}else return new Response("Error: Invalid method",{status:405});return new Response("",{status:301,headers:{location:location.origin+this.ctx.config.prefix+this.ctx.encoding.encode(e)}})}function pr({url:t}){return!t.toString().substr(location.origin.length,(this.ctx.config.prefix+"route").length).startsWith(this.ctx.config.prefix+"route")}function Ie({url:t}){return!t.toString().substr(location.origin.length,this.ctx.config.prefix.length).startsWith(this.ctx.config.prefix)}async function Te(t,e,i){for(let r in t){if(this.ctx.headers.csp.indexOf(r.toLowerCase())!==-1&&delete t[r],r.toLowerCase()=="location"){t[r]=this.ctx.url.encode(t[r],e);continue}if(r.toLowerCase()==="set-cookie"){Array.isArray(t[r])?t[r]=t[r].map(s=>this.ctx.modules.setCookieParser(s,{decodeValues:!1})[0]):t[r]=this.ctx.modules.setCookiePars
gitextract_my54d9qf/ ├── .github/ │ └── dependabot.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── bin/ │ ├── balls.sh │ ├── index.cjs │ ├── index.d.ts │ └── start.sh ├── docs/ │ ├── configuration/ │ │ ├── bare.md │ │ ├── encoding.md │ │ ├── logging.md │ │ └── modes.md │ └── examples/ │ └── uv-dynamic-multi/ │ ├── dynamic/ │ │ ├── dynamic.client.js │ │ ├── dynamic.config.js │ │ ├── dynamic.handler.js │ │ ├── dynamic.html.js │ │ └── dynamic.worker.js │ ├── index.html │ ├── resources/ │ │ ├── scripts/ │ │ │ ├── backdrop.js │ │ │ ├── index.js │ │ │ └── notice.js │ │ └── style.css │ ├── sw.js │ └── uv/ │ ├── uv.bundle.js │ ├── uv.bundle.js.LICENSE.txt │ ├── uv.client.js │ ├── uv.config.js │ ├── uv.handler.js │ └── uv.sw.js ├── esbuild.dev.js ├── esbuild.prod.js ├── fortnite ├── index.js ├── lib/ │ ├── client/ │ │ ├── client.ts │ │ └── index.ts │ ├── dynamic.config.js │ ├── global/ │ │ ├── bundle.ts │ │ ├── client/ │ │ │ ├── index.ts │ │ │ ├── methods/ │ │ │ │ ├── core/ │ │ │ │ │ ├── eval.ts │ │ │ │ │ ├── function.ts │ │ │ │ │ ├── get.ts │ │ │ │ │ ├── html.ts │ │ │ │ │ ├── location.ts │ │ │ │ │ ├── protocol.ts │ │ │ │ │ ├── reflect.ts │ │ │ │ │ └── window.ts │ │ │ │ ├── document/ │ │ │ │ │ ├── attr.ts │ │ │ │ │ ├── cookie.ts │ │ │ │ │ ├── mutation.ts │ │ │ │ │ ├── style.ts │ │ │ │ │ └── write.ts │ │ │ │ ├── init.ts │ │ │ │ ├── window/ │ │ │ │ │ ├── blob.ts │ │ │ │ │ ├── fetch.ts │ │ │ │ │ ├── history.ts │ │ │ │ │ ├── imports.ts │ │ │ │ │ ├── message.ts │ │ │ │ │ ├── navigator.ts │ │ │ │ │ ├── niche.ts │ │ │ │ │ ├── policy.ts │ │ │ │ │ ├── rtc.ts │ │ │ │ │ ├── storage.ts │ │ │ │ │ ├── worker.ts │ │ │ │ │ └── ws.ts │ │ │ │ └── wrap.ts │ │ │ └── methods.ts │ │ ├── client.ts │ │ ├── codec.ts │ │ ├── cookie/ │ │ │ ├── db.ts │ │ │ ├── index.ts │ │ │ └── parse.ts │ │ ├── headers.ts │ │ ├── http/ │ │ │ ├── request.ts │ │ │ └── response.ts │ │ ├── http.ts │ │ ├── is/ │ │ │ ├── css.ts │ │ │ ├── html.ts │ │ │ └── js.ts │ │ ├── istype.ts │ │ ├── meta/ │ │ │ ├── load.ts │ │ │ └── type.ts │ │ ├── meta.ts │ │ ├── middleware.ts │ │ ├── modules.ts │ │ ├── regex.ts │ │ ├── rewrite/ │ │ │ ├── css.ts │ │ │ ├── html/ │ │ │ │ ├── generateHead.ts │ │ │ │ ├── html.ts │ │ │ │ ├── nodewrapper.ts │ │ │ │ └── srcset.ts │ │ │ ├── js/ │ │ │ │ ├── emit.ts │ │ │ │ ├── iterate.ts │ │ │ │ ├── js.ts │ │ │ │ ├── object/ │ │ │ │ │ ├── Eval.ts │ │ │ │ │ └── PostMessage.ts │ │ │ │ ├── process.ts │ │ │ │ ├── type/ │ │ │ │ │ ├── AssignmentExpression.ts │ │ │ │ │ ├── CallExpression.ts │ │ │ │ │ ├── Identifier.ts │ │ │ │ │ ├── Imports.ts │ │ │ │ │ ├── Literal.ts │ │ │ │ │ ├── MemberExpression.ts │ │ │ │ │ ├── Property.ts │ │ │ │ │ ├── ThisExpression.ts │ │ │ │ │ └── VariableDeclaractor.ts │ │ │ │ └── types.ts │ │ │ └── manifest.ts │ │ ├── rewrite.ts │ │ ├── url/ │ │ │ ├── decode.ts │ │ │ └── encode.ts │ │ ├── url.ts │ │ ├── util/ │ │ │ ├── about.ts │ │ │ ├── class.ts │ │ │ ├── clone.ts │ │ │ ├── edit.ts │ │ │ ├── encode.ts │ │ │ ├── error.ts │ │ │ ├── file.ts │ │ │ ├── path.ts │ │ │ ├── reqHeader.ts │ │ │ ├── resHeader.ts │ │ │ ├── rewritePath.ts │ │ │ └── route.ts │ │ └── util.ts │ ├── handler/ │ │ └── index.ts │ ├── html/ │ │ └── index.ts │ ├── types.d.ts │ └── worker/ │ └── index.ts ├── package.json ├── static/ │ ├── index.html │ ├── resources/ │ │ ├── scripts/ │ │ │ ├── backdrop.js │ │ │ ├── index.js │ │ │ ├── notice.js │ │ │ └── settings.js │ │ └── style.css │ └── sw.js └── tsconfig.json
Showing preview only (256K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (2492 symbols across 102 files)
FILE: docs/examples/uv-dynamic-multi/dynamic/dynamic.client.js
function H (line 1) | function H(t){if(typeof t!="string")throw new TypeError("Path must be a ...
function _i (line 1) | function _i(t,e){for(var i="",n=0,r=-1,s=0,a,o=0;o<=t.length;++o){if(o<t...
function Cr (line 1) | function Cr(t,e){var i=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");...
function de (line 1) | function de(t){return typeof t=="string"&&!!t.trim()}
function me (line 1) | function me(t,e){var i=t.split(";").filter(de),n=i.shift(),r=En(n),s=r.n...
function En (line 1) | function En(t){var e="",i="",n=t.split("=");return n.length>1?(e=n.shift...
function qi (line 1) | function qi(t,e){if(e=e?Object.assign({},et,e):et,!t)return e.map?{}:[];...
function Sn (line 1) | function Sn(t){if(Array.isArray(t))return t;if(typeof t!="string")return...
function wi (line 1) | function wi(t){if(!t||typeof t!="string")return!1;var e=vi.exec(t),i=e&&...
function Ar (line 1) | function Ar(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")==...
function Lr (line 1) | function Lr(t){if(!t||typeof t!="string")return!1;var e=vi.exec(t),i=e&&...
function Pr (line 1) | function Pr(t){if(!t||typeof t!="string")return!1;var e=(0,bi.extname)("...
function Ir (line 1) | function Ir(t,e){var i=["nginx","apache",void 0,"iana"];Object.keys(bt)....
function Rr (line 1) | function Rr(){return Si||(Si=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCur...
function Nr (line 1) | function Nr(){return Ci||(Ci=[IDBCursor.prototype.advance,IDBCursor.prot...
function Or (line 1) | function Or(t){let e=new Promise((i,n)=>{let r=()=>{t.removeEventListene...
function Dr (line 1) | function Dr(t){if(zt.has(t))return;let e=new Promise((i,n)=>{let r=()=>{...
method get (line 1) | get(t,e,i){if(t instanceof IDBTransaction){if(e==="done")return zt.get(t...
method set (line 1) | set(t,e,i){return t[e]=i,!0}
method has (line 1) | has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!...
function Li (line 1) | function Li(t){Xt=t(Xt)}
function Mr (line 1) | function Mr(t){return t===IDBDatabase.prototype.transaction&&!("objectSt...
function $r (line 1) | function $r(t){return typeof t=="function"?Mr(t):(t instanceof IDBTransa...
function B (line 1) | function B(t){if(t instanceof IDBRequest)return Or(t);if(Gt.has(t))retur...
function Yt (line 1) | function Yt(t,e,{blocked:i,upgrade:n,blocking:r,terminated:s}={}){let a=...
function Vr (line 1) | function Vr(t,{blocked:e}={}){let i=indexedDB.deleteDatabase(t);return e...
function Pi (line 1) | function Pi(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="st...
method encode (line 1) | encode(t){if(!t)return t;t=t.toString();let e=Array.from("ABCDEFGHIJKLMN...
method decode (line 1) | decode(t){if(!t)return t;let e={0:52,1:53,2:54,3:55,4:56,5:57,6:58,7:59,...
function Ur (line 1) | function Ur(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.c...
function O (line 1) | function O(t,e,i){return t(i={path:e,exports:{},require:function(n,r){re...
function Fr (line 1) | function Fr(){throw Error("Dynamic requires are not currently supported ...
function h (line 1) | function h(u,m){let y=65536;for(let _=0;_<m.length;_+=2){if((y+=m[_])>u)...
class i (line 1) | class i{constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.bef...
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
function n (line 1) | function n(h,u){return new i(h,{beforeExpr:!0,binop:u})}
function o (line 1) | function o(h,u={}){return u.keyword=h,a[h]=new i(h,u)}
function r (line 1) | function r(s){return s===10||s===13||s===8232||s===8233}
class i (line 1) | class i{constructor(r,s){this.line=r,this.column=s}offset(r){return new ...
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
method constructor (line 1) | constructor(r,s,a){this.start=s,this.end=a,r.sourceFile!==null&&(this.so...
method constructor (line 2) | constructor(n,r,s){this.options=n=(0,ee.getOptions)(n),this.sourceFile=n...
method parse (line 3) | parse(){let n=this.options.program||this.startNode();return this.nextTok...
method inFunction (line 3) | get inFunction(){return(this.currentVarScope().flags&x.SCOPE_FUNCTION)>0}
method inGenerator (line 3) | get inGenerator(){return(this.currentVarScope().flags&x.SCOPE_GENERATOR)...
method inAsync (line 3) | get inAsync(){return(this.currentVarScope().flags&x.SCOPE_ASYNC)>0&&!thi...
method canAwait (line 3) | get canAwait(){for(let n=this.scopeStack.length-1;n>=0;n--){let r=this.s...
method allowSuper (line 3) | get allowSuper(){let n=this.currentThisScope(),r=n.flags,s=n.inClassFiel...
method allowDirectSuper (line 3) | get allowDirectSuper(){return(this.currentThisScope().flags&x.SCOPE_DIRE...
method treatFunctionsAsVar (line 3) | get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.cu...
method allowNewDotTarget (line 3) | get allowNewDotTarget(){let n=this.currentThisScope(),r=n.flags,s=n.inCl...
method inClassStaticBlock (line 3) | get inClassStaticBlock(){return(this.currentVarScope().flags&x.SCOPE_CLA...
method extend (line 3) | static extend(...n){let r=this;for(let s=0;s<n.length;s++)r=n[s](r);retu...
method parse (line 3) | static parse(n,r){return new this(r,n).parse()}
method parseExpressionAt (line 3) | static parseExpressionAt(n,r,s){let a=new this(s,n,r);return a.nextToken...
method tokenizer (line 3) | static tokenizer(n,r){return new this(r,n)}
function st (line 3) | function st(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@itera...
function Hr (line 4) | function Hr(t,e){if(t){if(typeof t=="string")return Ii(t,e);var i=Object...
function Ii (line 4) | function Ii(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array...
function Gr (line 4) | function Gr(t,e){let i=e.key.name,n=t[i],r="true";return e.type==="Metho...
function St (line 4) | function St(t,e){let i=t.computed,n=t.key;return!i&&(n.type==="Identifie...
function te (line 4) | function te(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@itera...
function zr (line 5) | function zr(t,e){if(t){if(typeof t=="string")return Ti(t,e);var i=Object...
function Ti (line 5) | function Ti(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array...
class i (line 5) | class i{constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserv...
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
function Ri (line 5) | function Ri(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@itera...
function Xr (line 6) | function Xr(t,e){if(t){if(typeof t=="string")return Ni(t,e);var i=Object...
function Ni (line 6) | function Ni(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array...
function Mi (line 6) | function Mi(t){return t.type==="MemberExpression"&&t.property.type==="Pr...
method constructor (line 7) | constructor(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[...
class i (line 7) | class i{constructor(a,o,p){this.type="",this.start=o,this.end=0,a.option...
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
function r (line 7) | function r(s,a,o,p){return s.type=a,s.end=o,this.options.locations&&(s.l...
function w (line 7) | function w(f){let g=_[f]={binary:(0,P.wordsRegexp)(a[f]+" "+o),nonBinary...
function r (line 7) | function r(c,d){(d==null||d>c.length)&&(d=c.length);for(var f=0,g=Array(...
function a (line 7) | function a(c){return c<=65535?String.fromCharCode(c):String.fromCharCode...
function o (line 7) | function o(c){return c===36||c>=40&&c<=43||c===46||c===63||c>=91&&c<=94|...
function p (line 7) | function p(c){return c>=65&&c<=90||c>=97&&c<=122}
function h (line 7) | function h(c){return p(c)||c===95}
function u (line 7) | function u(c){return h(c)||m(c)}
function m (line 7) | function m(c){return c>=48&&c<=57}
function y (line 7) | function y(c){return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}
function _ (line 7) | function _(c){return c>=65&&c<=70?10+(c-65):c>=97&&c<=102?10+(c-97):c-48}
function w (line 7) | function w(c){return c>=48&&c<=55}
method constructor (line 7) | constructor(d){this.parser=d,this.validFlags=`gim${d.options.ecmaVersion...
method reset (line 7) | reset(d,f,g){let v=g.indexOf("u")!==-1;this.start=0|d,this.source=f+"",t...
method raise (line 7) | raise(d){this.parser.raiseRecoverable(this.start,`Invalid regular expres...
method at (line 7) | at(d,f=!1){let g=this.source,v=g.length;if(d>=v)return-1;let M=g.charCod...
method nextIndex (line 7) | nextIndex(d,f=!1){let g=this.source,v=g.length;if(d>=v)return v;let M=g....
method current (line 7) | current(d=!1){return this.at(this.pos,d)}
method lookahead (line 7) | lookahead(d=!1){return this.at(this.nextIndex(this.pos,d),d)}
method advance (line 7) | advance(d=!1){this.pos=this.nextIndex(this.pos,d)}
method eat (line 7) | eat(d,f=!1){return this.current(f)===d&&(this.advance(f),!0)}
class i (line 8) | class i{constructor(p){this.type=p.type,this.value=p.value,this.start=p....
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
function r (line 8) | function r(o){return typeof BigInt!="function"?null:BigInt(o.replace(/_/...
function s (line 8) | function s(o){return o<=65535?String.fromCharCode(o):String.fromCharCode...
function n (line 10) | function n(o){if(typeof WeakMap!="function")return null;var p=new WeakMa...
method constructor (line 10) | constructor(i,n){super(n.message||n.code);V(this,"status");V(this,"body"...
method constructor (line 10) | constructor(e,i){V(this,"base");this.base=new URL(`./v${e}/`,i)}
function X (line 10) | function X(t,e){let i=(t&65535)+(e&65535);return(t>>16)+(e>>16)+(i>>16)<...
function rn (line 10) | function rn(t,e){return t<<e|t>>>32-e}
function Pt (line 10) | function Pt(t,e,i,n,r,s){return X(rn(X(X(e,t),X(n,s)),r),i)}
function I (line 10) | function I(t,e,i,n,r,s,a){return Pt(e&i|~e&n,t,e,r,s,a)}
function T (line 10) | function T(t,e,i,n,r,s,a){return Pt(e&n|i&~n,t,e,r,s,a)}
function R (line 10) | function R(t,e,i,n,r,s,a){return Pt(e^i^n,t,e,r,s,a)}
function N (line 10) | function N(t,e,i,n,r,s,a){return Pt(i^(e|~n),t,e,r,s,a)}
function At (line 10) | function At(t,e){t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;let i=17325841...
function Bi (line 10) | function Bi(t){let e="",i=t.length*32;for(let n=0;n<i;n+=8)e+=String.fro...
function ce (line 10) | function ce(t){let e=[],i=t.length>>2;for(let r=0;r<i;r+=1)e[r]=0;let n=...
function nn (line 10) | function nn(t){return Bi(At(ce(t),t.length*8))}
function sn (line 10) | function sn(t,e){let i=ce(t),n=[],r=[];i.length>16&&(i=At(i,t.length*8))...
function ji (line 10) | function ji(t){let e="0123456789abcdef",i="";for(let n=0;n<t.length;n+=1...
function pe (line 10) | function pe(t){return unescape(encodeURIComponent(t))}
function Ui (line 10) | function Ui(t){return nn(pe(t))}
function an (line 10) | function an(t){return ji(Ui(t))}
function Fi (line 10) | function Fi(t,e){return sn(pe(t),pe(e))}
function on (line 10) | function on(t,e){return ji(Fi(t,e))}
function cn (line 10) | function cn(t,e,i){return e?i?Fi(e,t):on(e,t):i?Ui(t):an(t)}
function pn (line 10) | function pn(t){let e=new Headers(t);if(t.has("x-bare-headers")){let i=t....
function ln (line 10) | function ln(t){let e=new Headers(t),i="x-bare-headers";if(t.has(`${i}-0`...
method constructor (line 10) | constructor(i){super(3,i);V(this,"ws");V(this,"http");this.ws=new URL(th...
method connect (line 10) | connect(i,n,r,s,a){let o=new z(this.ws),p=()=>{o.removeEventListener("cl...
method request (line 10) | async request(i,n,r,s,a,o,p){if(s.protocol.startsWith("blob:")){let w=aw...
method readBareResponse (line 10) | async readBareResponse(i){if(!i.ok)throw new Lt(i.status,await i.json())...
method createBareHeaders (line 10) | createBareHeaders(i,n,r=[],s=[],a=[]){let o=new Headers;o.set("x-bare-ur...
function un (line 10) | function un(t){for(let e=0;e<t.length;e++){let i=t[e];if(!hn.includes(i)...
function Hi (line 10) | async function Hi(t,e){let i=await ae(t,{signal:e});if(!i.ok)throw new E...
method constructor (line 10) | constructor(e,i){V(this,"manifest");V(this,"client");V(this,"server");V(...
method loadManifest (line 10) | loadManifest(e){return this.manifest=e,this.client=this.getClient(),this...
method demand (line 10) | demand(){return this.onDemand?(this.working||(this.working=Hi(this.serve...
method getClient (line 10) | getClient(){for(let[e,i]of dn)if(this.manifest.versions.includes(e))retu...
method createWebSocket (line 10) | createWebSocket(e,i=[],n){if(!this.client)throw new TypeError("You need ...
method fetch (line 10) | async fetch(e,i){let n=yn(e)?new Jr(e,i):e,r=i?.headers||n.headers,s=r i...
function yn (line 10) | function yn(t){return typeof t=="string"||t instanceof URL}
function Wi (line 10) | async function Wi(t,e){let i=await Hi(t,e);return new ot(t,i)}
function _n (line 10) | function _n(t,e){if(typeof t!="string")throw new TypeError("argument str...
function he (line 10) | function he(t,e,i){var n=i||{},r=n.encode||wn;if(typeof r!="function")th...
function xn (line 10) | function xn(t){return t.indexOf("%")!==-1?decodeURIComponent(t):t}
function wn (line 10) | function wn(t){return encodeURIComponent(t)}
function bn (line 10) | function bn(t){return gn.call(t)==="[object Date]"||t instanceof Date}
function vn (line 10) | function vn(t,e){try{return e(t)}catch{return t}}
function Cn (line 10) | function Cn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a...
function zi (line 10) | function zi(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.e...
function kn (line 10) | function kn(t,e,i){return e&&zi(t.prototype,e),i&&zi(t,i),t}
function it (line 10) | function it(t,e){var i=t.generator;if(t.write("("),e!=null&&e.length>0){...
function er (line 10) | function er(t,e,i,n){var r=t.expressionsPrecedence[e.type];if(r===j)retu...
function Rt (line 10) | function Rt(t,e,i,n){var r=t.generator;er(t,e,i,n)?(t.write("("),r[e.typ...
function Ln (line 10) | function Ln(t,e,i,n){var r=e.split(`
function D (line 11) | function D(t,e,i,n){for(var r=e.length,s=0;s<r;s++){var a=e[s];t.write(i...
function Pn (line 12) | function Pn(t){for(var e=t;e!=null;){var i=e.type;if(i[0]==="C"&&i[1]===...
function fe (line 12) | function fe(t,e){var i=t.generator,n=e.declarations;t.write(e.kind+" ");...
function t (line 12) | function t(e){Cn(this,t);var i=e??In;this.output="",i.output!=null?(this...
function ir (line 15) | function ir(t,e){var i=new Rn(e);return i.generator[t.type](t,i),i.output}
method constructor (line 15) | constructor(e){this.mime=Ei;this.idb=vt;this.path=Nn;this.acorn={parse:$...
function _e (line 15) | function _e(t,e,i,n,r="",s=!1,a=""){if(self.__dynamic$config)var o=self....
method constructor (line 15) | constructor(e){this.generateHead=_e;this.config=[{elements:"all",tags:["...
method generateRedirect (line 15) | generateRedirect(e){return`
method iterate (line 22) | iterate(e,i){function n(r=e){for(var s=0;s<r.childNodes.length;s++)i(r.c...
method rewrite (line 22) | rewrite(e,i,n=[]){return Array.isArray(e)&&(e=e[0]),!e||(e=e.toString(),...
method constructor (line 23) | constructor(e){this.ctx=e.ctx}
method rewrite (line 23) | rewrite(e,i,n={}){let r=this;return e&&e.toString().replace(/((@import [...
function xe (line 23) | function xe(t,e){if(typeof t!="object"||!e)return;i(t,null,e);function i...
function we (line 23) | function we(t,e={},i,n){var r=this.ctx.modules.acorn.parse(t.toString(),...
function be (line 23) | function be(t,e={}){if(typeof t.name!="string")return!1;if(t.__dynamic!=...
function rt (line 23) | function rt(t,e={}){Object.entries({type:"CallExpression",callee:{type:"...
function ve (line 23) | function ve(t,e={},i={}){if(t.object.name+="",e.type!=="AssignmentExpres...
function Ee (line 23) | function Ee(t,e={}){if(!(t.value instanceof String)||(t.value=="__dynami...
function Nt (line 23) | function Nt(t,e={}){t.__dynamic||t.arguments.length&&(t.arguments=[{type...
function Se (line 23) | function Se(t,e={}){if(!(e.type=="AssignmentExpression"&&e.left==t)){if(...
function Ce (line 23) | function Ce(t,e={}){if(t.left.type=="Identifier"){if(t.left.__dynamic===...
function ke (line 23) | function ke(t,e={}){t.parent.type!="ObjectPattern"&&t.parent?.parent?.ty...
function Ae (line 23) | function Ae(t,e={},i={},n={}){if(t.type=="Literal"&&(e.type=="ImportDecl...
function Le (line 23) | function Le(t,e={}){if(t.id.type!=="Identifier")return!1;t.id.__dynamic!...
function On (line 23) | function On(t,e,i={},n={},r={},s={}){if(!t.__dynamic){switch(e){case"Ide...
method constructor (line 23) | constructor(e){this.iterate=xe;this.process=we;this.emit=sr;this.ctx=e.ctx}
method rewrite (line 23) | rewrite(e,i={},n=!0,r={}){if(!e||e instanceof Object||(e=e.toString(),e....
method constructor (line 28) | constructor(e){this.config={rewrite:[["icons","urlit"],["name"," - Dynam...
method rewrite (line 28) | rewrite(e,i){let n=JSON.parse(e);for(let o in this.config)if(o=="rewrite...
method encode (line 28) | encode(t,e){return!t||!t.toString()?t:t.split(", ").map(i=>i.split(" ")....
method decode (line 28) | decode(t){return t}
method constructor (line 28) | constructor(e){this.ctx=e,this.html=new pt(this),this.srcset=ar,this.js=...
function cr (line 28) | async function cr(t){var e;if(t.method==="GET"){var i=new URL(t.url);e=i...
function pr (line 28) | function pr({url:t}){return!t.toString().substr(location.origin.length,(...
function Ie (line 28) | function Ie({url:t}){return!t.toString().substr(location.origin.length,t...
function Te (line 28) | async function Te(t,e,i){for(let r in t){if(this.ctx.headers.csp.indexOf...
function Re (line 28) | function Re(t,e,i,n){let{referrer:r}=i;if(["origin","Origin","host","Hos...
function Ne (line 28) | function Ne(t){var e=Object.assign(Object.create(Object.getPrototypeOf(t...
function Oe (line 28) | function Oe(t){try{if(new new Proxy(t,{construct:()=>({})}),!Object.getO...
function De (line 28) | function De(t){return t.url.toString().substr(location.origin.length,t.u...
function Me (line 28) | async function Me(t){let e;if(self.__dynamic$config.mode!=="development"...
function $e (line 29) | async function $e(t,e){}
method constructor (line 29) | constructor(e){this.rawHeaders={};this.headers=new Headers({});this.stat...
method blob (line 29) | async blob(){return this.body}
method text (line 29) | async text(){return await this.body.text()}
function Ve (line 29) | function Ve(t){var e=this.ctx.encoding;return typeof this.ctx.config.enc...
function Be (line 29) | function Be(t,e,i){if(!t.url.startsWith("http"))return t.url;let n=t.url...
method constructor (line 29) | constructor(e){this.route=cr;this.routePath=pr;this.path=Ie;this.resHead...
function Ue (line 29) | function Ue(t,e){if(!t)return t;if(t=new String(t).toString(),t.startsWi...
function Fe (line 29) | function Fe(t){if(!t||(t=new String(t).toString(),t.match(this.ctx.regex...
method constructor (line 29) | constructor(e){this.encode=Ue;this.decode=Fe;this.ctx=e}
method constructor (line 29) | constructor(e){this.BypassRegex=Dn;this.DataRegex=Mn;this.WeirdRegex=$n;...
function We (line 29) | function We(t){t=new URL(t.href);for(var e in t)this.ctx.meta[e]=t[e];re...
method constructor (line 29) | constructor(){}
method constructor (line 29) | constructor(i){super();this.load=We;this.ctx=i}
function Ge (line 29) | function Ge(t,e=""){return(this.ctx.modules.mime.contentType(e||t.pathna...
function ze (line 29) | function ze(t,e="",i=""){let n;return!e&&this.ctx.modules.mime.contentTy...
function Xe (line 29) | function Xe(t,e=""){if(t.pathname.endsWith(".js")&&e=="text/plain")retur...
method constructor (line 29) | constructor(e){this.html=ze;this.js=Xe;this.css=Ge;this.ctx=e}
function Ot (line 29) | function Ot(t,e=!0){let i=h=>{let u=t.__dynamic.util.clone(h);for(var m=...
function Dt (line 29) | function Dt(t){t.__dynamic$get=function(e){var i=t.__dynamic.fire("get",...
function Mt (line 29) | function Mt(t){t.__dynamic.util.CreateDocumentProxy=function(i){return n...
function Qe (line 29) | function Qe(t){t.__dynamic.rewrite.dom=function(e,i){if(typeof t.DOMPars...
function Ye (line 29) | function Ye(t){let e=n=>new DOMParser().parseFromString(n,"text/html").b...
function Je (line 29) | function Je(t){let e=t.XMLHttpRequest;t.Worker=new Proxy(t.Worker,{const...
function Ze (line 29) | function Ze(t){t.__dynamic$history=function(e,...i){i[2]&&(i[2]=t.__dyna...
function fr (line 29) | function fr(t){t=t.toString();let e="";for(let i=0;i<t.length;i++){let n...
function ti (line 29) | function ti(t){let e=()=>t.location.protocol.replace("http","ws")+"//"+n...
function ei (line 29) | function ei(t){t.Request=t.__dynamic.wrap(t.Request,function(e,...i){if(...
function $t (line 29) | function $t(t){let e=s=>s.constructor.name=="Worker"||s.constructor.name...
function ii (line 29) | function ii(t){function e(i,...n){for(var r in n)n[r]=t.__dynamic.rewrit...
function Vt (line 29) | function Vt(t){t.importScripts=new Proxy(t.importScripts,{apply(e,i,n){r...
function Bt (line 29) | function Bt(t){var e=t.Reflect.get.bind({}),i=t.Reflect.set.bind({});t.R...
function ri (line 29) | function ri(t){t.__dynamic.define(t.document,"origin",{value:t.__dynamic...
function ni (line 29) | function ni(t){t.Storage.prototype.setItem=t.__dynamic.wrap(t.Storage.pr...
function si (line 29) | function si(t){"serviceWorker"in t.navigator&&(t.__dynamic.sw=t.navigato...
function oi (line 29) | function oi(t){if(delete t.Document.prototype.cookie,t.__dynamic.define(...
function ci (line 29) | function ci(t){t.CSSStyleDeclaration.prototype._setProperty=t.CSSStyleDe...
function jt (line 29) | function jt(t){t.__dynamic.createBlobHandler=async function(e,i,n){let r...
function Ut (line 29) | function Ut(t,e){e||(e=t.__dynamic);function i(r){if(!r.rewritten&&!(r.n...
function pi (line 29) | function pi(t){t.__dynamic.eval=t.__dynamic.wrap(eval,function(e,...i){i...
function li (line 29) | function li(t){var e=t.Function.prototype.toString;t.__dynamic.Function=...
function hi (line 29) | function hi(t){}
function ui (line 29) | function ui(t){}
method constructor (line 29) | constructor(e){this.methods=gr;self.constructor.name=="DedicatedWorkerGl...
function jn (line 29) | function jn(t,e){return t||(t=[]),t.find(i=>i.name==e.name)?t[t.findInde...
method upgrade (line 29) | async upgrade(t){await t.createObjectStore("__dynamic$cookies")}
method constructor (line 29) | constructor(e){this.db=W;this.ctx=e}
method get (line 29) | async get(e){this._db||(this._db=this.db.open());let i=await W.get(e,thi...
method set (line 29) | async set(e,i=""){return i=this.ctx.modules.setCookieParser.parse(i,{dec...
method open (line 29) | async open(){await W.open()}
method update (line 29) | async update(e){return this._db||(this._db=this.db.open()),await W.updat...
method constructor (line 29) | constructor(e){this.modules=new nr(this);this.util=new lr(this);this.met...
method on (line 29) | on(e,i){this.listeners.push({event:e,cb:i})}
method fire (line 29) | fire(e,i){var n=!1;for(var r of this.listeners)r.event===e&&(i=(n=!0,r.c...
function mi (line 29) | function mi(t,e){e||(e=t.__dynamic),e.define=new t.Proxy(t.Object.define...
function fi (line 29) | function fi(t){t.__dynamic.wrap=function(e,i,n){if(e.__dynamic$target)re...
function Ht (line 29) | function Ht(t,e={},i=""){if(t.hasOwnProperty("__dynamic"))return!1;t.has...
FILE: docs/examples/uv-dynamic-multi/dynamic/dynamic.handler.js
function H (line 1) | function H(t){if(typeof t!="string")throw new TypeError("Path must be a ...
function gi (line 1) | function gi(t,e){for(var i="",n=0,r=-1,s=0,a,o=0;o<=t.length;++o){if(o<t...
function kr (line 1) | function kr(t,e){var i=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");...
function me (line 1) | function me(t){return typeof t=="string"&&!!t.trim()}
function ye (line 1) | function ye(t,e){var i=t.split(";").filter(me),n=i.shift(),r=En(n),s=r.n...
function En (line 1) | function En(t){var e="",i="",n=t.split("=");return n.length>1?(e=n.shift...
function Wi (line 1) | function Wi(t,e){if(e=e?Object.assign({},et,e):et,!t)return e.map?{}:[];...
function Sn (line 1) | function Sn(t){if(Array.isArray(t))return t;if(typeof t!="string")return...
function xi (line 1) | function xi(t){if(!t||typeof t!="string")return!1;var e=bi.exec(t),i=e&&...
function Ar (line 1) | function Ar(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")==...
function Lr (line 1) | function Lr(t){if(!t||typeof t!="string")return!1;var e=bi.exec(t),i=e&&...
function Pr (line 1) | function Pr(t){if(!t||typeof t!="string")return!1;var e=(0,wi.extname)("...
function Ir (line 1) | function Ir(t,e){var i=["nginx","apache",void 0,"iana"];Object.keys(St)....
function Rr (line 1) | function Rr(){return Ei||(Ei=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCur...
function Nr (line 1) | function Nr(){return Si||(Si=[IDBCursor.prototype.advance,IDBCursor.prot...
function Or (line 1) | function Or(t){let e=new Promise((i,n)=>{let r=()=>{t.removeEventListene...
function Dr (line 1) | function Dr(t){if(Xt.has(t))return;let e=new Promise((i,n)=>{let r=()=>{...
method get (line 1) | get(t,e,i){if(t instanceof IDBTransaction){if(e==="done")return Xt.get(t...
method set (line 1) | set(t,e,i){return t[e]=i,!0}
method has (line 1) | has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!...
function Ai (line 1) | function Ai(t){Kt=t(Kt)}
function Mr (line 1) | function Mr(t){return t===IDBDatabase.prototype.transaction&&!("objectSt...
function $r (line 1) | function $r(t){return typeof t=="function"?Mr(t):(t instanceof IDBTransa...
function B (line 1) | function B(t){if(t instanceof IDBRequest)return Or(t);if(zt.has(t))retur...
function Jt (line 1) | function Jt(t,e,{blocked:i,upgrade:n,blocking:r,terminated:s}={}){let a=...
function Vr (line 1) | function Vr(t,{blocked:e}={}){let i=indexedDB.deleteDatabase(t);return e...
function Li (line 1) | function Li(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="st...
method encode (line 1) | encode(t){if(!t)return t;t=t.toString();let e=Array.from("ABCDEFGHIJKLMN...
method decode (line 1) | decode(t){if(!t)return t;let e={0:52,1:53,2:54,3:55,4:56,5:57,6:58,7:59,...
function Ur (line 1) | function Ur(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.c...
function O (line 1) | function O(t,e,i){return t(i={path:e,exports:{},require:function(n,r){re...
function Fr (line 1) | function Fr(){throw Error("Dynamic requires are not currently supported ...
function h (line 1) | function h(u,m){let f=65536;for(let _=0;_<m.length;_+=2){if((f+=m[_])>u)...
class i (line 1) | class i{constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.bef...
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
function n (line 1) | function n(h,u){return new i(h,{beforeExpr:!0,binop:u})}
function o (line 1) | function o(h,u={}){return u.keyword=h,a[h]=new i(h,u)}
function r (line 1) | function r(s){return s===10||s===13||s===8232||s===8233}
class i (line 1) | class i{constructor(r,s){this.line=r,this.column=s}offset(r){return new ...
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
method constructor (line 1) | constructor(r,s,a){this.start=s,this.end=a,r.sourceFile!==null&&(this.so...
method constructor (line 2) | constructor(n,r,s){this.options=n=(0,ie.getOptions)(n),this.sourceFile=n...
method parse (line 3) | parse(){let n=this.options.program||this.startNode();return this.nextTok...
method inFunction (line 3) | get inFunction(){return(this.currentVarScope().flags&x.SCOPE_FUNCTION)>0}
method inGenerator (line 3) | get inGenerator(){return(this.currentVarScope().flags&x.SCOPE_GENERATOR)...
method inAsync (line 3) | get inAsync(){return(this.currentVarScope().flags&x.SCOPE_ASYNC)>0&&!thi...
method canAwait (line 3) | get canAwait(){for(let n=this.scopeStack.length-1;n>=0;n--){let r=this.s...
method allowSuper (line 3) | get allowSuper(){let n=this.currentThisScope(),r=n.flags,s=n.inClassFiel...
method allowDirectSuper (line 3) | get allowDirectSuper(){return(this.currentThisScope().flags&x.SCOPE_DIRE...
method treatFunctionsAsVar (line 3) | get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.cu...
method allowNewDotTarget (line 3) | get allowNewDotTarget(){let n=this.currentThisScope(),r=n.flags,s=n.inCl...
method inClassStaticBlock (line 3) | get inClassStaticBlock(){return(this.currentVarScope().flags&x.SCOPE_CLA...
method extend (line 3) | static extend(...n){let r=this;for(let s=0;s<n.length;s++)r=n[s](r);retu...
method parse (line 3) | static parse(n,r){return new this(r,n).parse()}
method parseExpressionAt (line 3) | static parseExpressionAt(n,r,s){let a=new this(s,n,r);return a.nextToken...
method tokenizer (line 3) | static tokenizer(n,r){return new this(r,n)}
function at (line 3) | function at(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@itera...
function Hr (line 4) | function Hr(t,e){if(t){if(typeof t=="string")return Pi(t,e);var i=Object...
function Pi (line 4) | function Pi(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array...
function Gr (line 4) | function Gr(t,e){let i=e.key.name,n=t[i],r="true";return e.type==="Metho...
function At (line 4) | function At(t,e){let i=t.computed,n=t.key;return!i&&(n.type==="Identifie...
function ee (line 4) | function ee(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@itera...
function zr (line 5) | function zr(t,e){if(t){if(typeof t=="string")return Ii(t,e);var i=Object...
function Ii (line 5) | function Ii(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array...
class i (line 5) | class i{constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserv...
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
function Ti (line 5) | function Ti(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@itera...
function Xr (line 6) | function Xr(t,e){if(t){if(typeof t=="string")return Ri(t,e);var i=Object...
function Ri (line 6) | function Ri(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=Array...
function Di (line 6) | function Di(t){return t.type==="MemberExpression"&&t.property.type==="Pr...
method constructor (line 7) | constructor(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[...
class i (line 7) | class i{constructor(a,o,p){this.type="",this.start=o,this.end=0,a.option...
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
function r (line 7) | function r(s,a,o,p){return s.type=a,s.end=o,this.options.locations&&(s.l...
function w (line 7) | function w(y){let g=_[y]={binary:(0,P.wordsRegexp)(a[y]+" "+o),nonBinary...
function r (line 7) | function r(c,d){(d==null||d>c.length)&&(d=c.length);for(var y=0,g=Array(...
function a (line 7) | function a(c){return c<=65535?String.fromCharCode(c):String.fromCharCode...
function o (line 7) | function o(c){return c===36||c>=40&&c<=43||c===46||c===63||c>=91&&c<=94|...
function p (line 7) | function p(c){return c>=65&&c<=90||c>=97&&c<=122}
function h (line 7) | function h(c){return p(c)||c===95}
function u (line 7) | function u(c){return h(c)||m(c)}
function m (line 7) | function m(c){return c>=48&&c<=57}
function f (line 7) | function f(c){return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}
function _ (line 7) | function _(c){return c>=65&&c<=70?10+(c-65):c>=97&&c<=102?10+(c-97):c-48}
function w (line 7) | function w(c){return c>=48&&c<=55}
method constructor (line 7) | constructor(d){this.parser=d,this.validFlags=`gim${d.options.ecmaVersion...
method reset (line 7) | reset(d,y,g){let v=g.indexOf("u")!==-1;this.start=0|d,this.source=y+"",t...
method raise (line 7) | raise(d){this.parser.raiseRecoverable(this.start,`Invalid regular expres...
method at (line 7) | at(d,y=!1){let g=this.source,v=g.length;if(d>=v)return-1;let M=g.charCod...
method nextIndex (line 7) | nextIndex(d,y=!1){let g=this.source,v=g.length;if(d>=v)return v;let M=g....
method current (line 7) | current(d=!1){return this.at(this.pos,d)}
method lookahead (line 7) | lookahead(d=!1){return this.at(this.nextIndex(this.pos,d),d)}
method advance (line 7) | advance(d=!1){this.pos=this.nextIndex(this.pos,d)}
method eat (line 7) | eat(d,y=!1){return this.current(y)===d&&(this.advance(y),!0)}
class i (line 8) | class i{constructor(p){this.type=p.type,this.value=p.value,this.start=p....
method constructor (line 1) | constructor(u,m={}){this.label=u,this.keyword=m.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,s){this.line=r,this.column=s}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(a,o,p,h,u){this.token=a,this.isExpr=!!o,this.preserveSpace...
method constructor (line 7) | constructor(a,o,p){this.type="",this.start=o,this.end=0,a.options.loca...
method constructor (line 8) | constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,...
function r (line 8) | function r(o){return typeof BigInt!="function"?null:BigInt(o.replace(/_/...
function s (line 8) | function s(o){return o<=65535?String.fromCharCode(o):String.fromCharCode...
function n (line 10) | function n(o){if(typeof WeakMap!="function")return null;var p=new WeakMa...
method constructor (line 10) | constructor(i,n){super(n.message||n.code);V(this,"status");V(this,"body"...
method constructor (line 10) | constructor(e,i){V(this,"base");this.base=new URL(`./v${e}/`,i)}
function X (line 10) | function X(t,e){let i=(t&65535)+(e&65535);return(t>>16)+(e>>16)+(i>>16)<...
function rn (line 10) | function rn(t,e){return t<<e|t>>>32-e}
function Rt (line 10) | function Rt(t,e,i,n,r,s){return X(rn(X(X(e,t),X(n,s)),r),i)}
function I (line 10) | function I(t,e,i,n,r,s,a){return Rt(e&i|~e&n,t,e,r,s,a)}
function T (line 10) | function T(t,e,i,n,r,s,a){return Rt(e&n|i&~n,t,e,r,s,a)}
function R (line 10) | function R(t,e,i,n,r,s,a){return Rt(e^i^n,t,e,r,s,a)}
function N (line 10) | function N(t,e,i,n,r,s,a){return Rt(i^(e|~n),t,e,r,s,a)}
function It (line 10) | function It(t,e){t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;let i=17325841...
function Vi (line 10) | function Vi(t){let e="",i=t.length*32;for(let n=0;n<i;n+=8)e+=String.fro...
function pe (line 10) | function pe(t){let e=[],i=t.length>>2;for(let r=0;r<i;r+=1)e[r]=0;let n=...
function nn (line 10) | function nn(t){return Vi(It(pe(t),t.length*8))}
function sn (line 10) | function sn(t,e){let i=pe(t),n=[],r=[];i.length>16&&(i=It(i,t.length*8))...
function Bi (line 10) | function Bi(t){let e="0123456789abcdef",i="";for(let n=0;n<t.length;n+=1...
function le (line 10) | function le(t){return unescape(encodeURIComponent(t))}
function ji (line 10) | function ji(t){return nn(le(t))}
function an (line 10) | function an(t){return Bi(ji(t))}
function Ui (line 10) | function Ui(t,e){return sn(le(t),le(e))}
function on (line 10) | function on(t,e){return Bi(Ui(t,e))}
function cn (line 10) | function cn(t,e,i){return e?i?Ui(e,t):on(e,t):i?ji(t):an(t)}
function pn (line 10) | function pn(t){let e=new Headers(t);if(t.has("x-bare-headers")){let i=t....
function ln (line 10) | function ln(t){let e=new Headers(t),i="x-bare-headers";if(t.has(`${i}-0`...
method constructor (line 10) | constructor(i){super(3,i);V(this,"ws");V(this,"http");this.ws=new URL(th...
method connect (line 10) | connect(i,n,r,s,a){let o=new z(this.ws),p=()=>{o.removeEventListener("cl...
method request (line 10) | async request(i,n,r,s,a,o,p){if(s.protocol.startsWith("blob:")){let w=aw...
method readBareResponse (line 10) | async readBareResponse(i){if(!i.ok)throw new Tt(i.status,await i.json())...
method createBareHeaders (line 10) | createBareHeaders(i,n,r=[],s=[],a=[]){let o=new Headers;o.set("x-bare-ur...
function un (line 10) | function un(t){for(let e=0;e<t.length;e++){let i=t[e];if(!hn.includes(i)...
function Fi (line 10) | async function Fi(t,e){let i=await oe(t,{signal:e});if(!i.ok)throw new E...
method constructor (line 10) | constructor(e,i){V(this,"manifest");V(this,"client");V(this,"server");V(...
method loadManifest (line 10) | loadManifest(e){return this.manifest=e,this.client=this.getClient(),this...
method demand (line 10) | demand(){return this.onDemand?(this.working||(this.working=Fi(this.serve...
method getClient (line 10) | getClient(){for(let[e,i]of dn)if(this.manifest.versions.includes(e))retu...
method createWebSocket (line 10) | createWebSocket(e,i=[],n){if(!this.client)throw new TypeError("You need ...
method fetch (line 10) | async fetch(e,i){let n=fn(e)?new Jr(e,i):e,r=i?.headers||n.headers,s=r i...
function fn (line 10) | function fn(t){return typeof t=="string"||t instanceof URL}
function Hi (line 10) | async function Hi(t,e){let i=await Fi(t,e);return new ct(t,i)}
function _n (line 10) | function _n(t,e){if(typeof t!="string")throw new TypeError("argument str...
function ue (line 10) | function ue(t,e,i){var n=i||{},r=n.encode||wn;if(typeof r!="function")th...
function xn (line 10) | function xn(t){return t.indexOf("%")!==-1?decodeURIComponent(t):t}
function wn (line 10) | function wn(t){return encodeURIComponent(t)}
function bn (line 10) | function bn(t){return gn.call(t)==="[object Date]"||t instanceof Date}
function vn (line 10) | function vn(t,e){try{return e(t)}catch{return t}}
function kn (line 10) | function kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a...
function Gi (line 10) | function Gi(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.e...
function Cn (line 10) | function Cn(t,e,i){return e&&Gi(t.prototype,e),i&&Gi(t,i),t}
function it (line 10) | function it(t,e){var i=t.generator;if(t.write("("),e!=null&&e.length>0){...
function tr (line 10) | function tr(t,e,i,n){var r=t.expressionsPrecedence[e.type];if(r===j)retu...
function Dt (line 10) | function Dt(t,e,i,n){var r=t.generator;tr(t,e,i,n)?(t.write("("),r[e.typ...
function Ln (line 10) | function Ln(t,e,i,n){var r=e.split(`
function D (line 11) | function D(t,e,i,n){for(var r=e.length,s=0;s<r;s++){var a=e[s];t.write(i...
function Pn (line 12) | function Pn(t){for(var e=t;e!=null;){var i=e.type;if(i[0]==="C"&&i[1]===...
function fe (line 12) | function fe(t,e){var i=t.generator,n=e.declarations;t.write(e.kind+" ");...
function t (line 12) | function t(e){kn(this,t);var i=e??In;this.output="",i.output!=null?(this...
function er (line 15) | function er(t,e){var i=new Rn(e);return i.generator[t.type](t,i),i.output}
method constructor (line 15) | constructor(e){this.mime=vi;this.idb=kt;this.path=Nn;this.acorn={parse:M...
function xe (line 15) | function xe(t,e,i,n,r="",s=!1,a=""){if(self.__dynamic$config)var o=self....
method constructor (line 15) | constructor(e){this.generateHead=xe;this.config=[{elements:"all",tags:["...
method generateRedirect (line 15) | generateRedirect(e){return`
method iterate (line 22) | iterate(e,i){function n(r=e){for(var s=0;s<r.childNodes.length;s++)i(r.c...
method rewrite (line 22) | rewrite(e,i,n=[]){return Array.isArray(e)&&(e=e[0]),!e||(e=e.toString(),...
method constructor (line 23) | constructor(e){this.ctx=e.ctx}
method rewrite (line 23) | rewrite(e,i,n={}){let r=this;return e&&e.toString().replace(/((@import [...
function we (line 23) | function we(t,e){if(typeof t!="object"||!e)return;i(t,null,e);function i...
function be (line 23) | function be(t,e={},i,n){var r=this.ctx.modules.acorn.parse(t.toString(),...
function ve (line 23) | function ve(t,e={}){if(typeof t.name!="string")return!1;if(t.__dynamic!=...
function rt (line 23) | function rt(t,e={}){Object.entries({type:"CallExpression",callee:{type:"...
function Ee (line 23) | function Ee(t,e={},i={}){if(t.object.name+="",e.type!=="AssignmentExpres...
function Se (line 23) | function Se(t,e={}){if(!(t.value instanceof String)||(t.value=="__dynami...
function Mt (line 23) | function Mt(t,e={}){t.__dynamic||t.arguments.length&&(t.arguments=[{type...
function ke (line 23) | function ke(t,e={}){if(!(e.type=="AssignmentExpression"&&e.left==t)){if(...
function Ce (line 23) | function Ce(t,e={}){if(t.left.type=="Identifier"){if(t.left.__dynamic===...
function Ae (line 23) | function Ae(t,e={}){t.parent.type!="ObjectPattern"&&t.parent?.parent?.ty...
function Le (line 23) | function Le(t,e={},i={},n={}){if(t.type=="Literal"&&(e.type=="ImportDecl...
function Pe (line 23) | function Pe(t,e={}){if(t.id.type!=="Identifier")return!1;t.id.__dynamic!...
function On (line 23) | function On(t,e,i={},n={},r={},s={}){if(!t.__dynamic){switch(e){case"Ide...
method constructor (line 23) | constructor(e){this.iterate=we;this.process=be;this.emit=nr;this.ctx=e.ctx}
method rewrite (line 23) | rewrite(e,i={},n=!0,r={}){if(!e||e instanceof Object||(e=e.toString(),e....
method constructor (line 28) | constructor(e){this.config={rewrite:[["icons","urlit"],["name"," - Dynam...
method rewrite (line 28) | rewrite(e,i){let n=JSON.parse(e);for(let o in this.config)if(o=="rewrite...
method encode (line 28) | encode(t,e){return!t||!t.toString()?t:t.split(", ").map(i=>i.split(" ")....
method decode (line 28) | decode(t){return t}
method constructor (line 28) | constructor(e){this.ctx=e,this.html=new lt(this),this.srcset=sr,this.js=...
function or (line 28) | async function or(t){var e;if(t.method==="GET"){var i=new URL(t.url);e=i...
function cr (line 28) | function cr({url:t}){return!t.toString().substr(location.origin.length,(...
function Te (line 28) | function Te({url:t}){return!t.toString().substr(location.origin.length,t...
function Re (line 28) | async function Re(t,e,i){for(let r in t){if(this.ctx.headers.csp.indexOf...
function Ne (line 28) | function Ne(t,e,i,n){let{referrer:r}=i;if(["origin","Origin","host","Hos...
function Oe (line 28) | function Oe(t){var e=Object.assign(Object.create(Object.getPrototypeOf(t...
function De (line 28) | function De(t){try{if(new new Proxy(t,{construct:()=>({})}),!Object.getO...
function Me (line 28) | function Me(t){return t.url.toString().substr(location.origin.length,t.u...
function $e (line 28) | async function $e(t){let e;if(self.__dynamic$config.mode!=="development"...
function Ve (line 29) | async function Ve(t,e){}
method constructor (line 29) | constructor(e){this.rawHeaders={};this.headers=new Headers({});this.stat...
method blob (line 29) | async blob(){return this.body}
method text (line 29) | async text(){return await this.body.text()}
function Be (line 29) | function Be(t){var e=this.ctx.encoding;return typeof this.ctx.config.enc...
function je (line 29) | function je(t,e,i){if(!t.url.startsWith("http"))return t.url;let n=t.url...
method constructor (line 29) | constructor(e){this.route=or;this.routePath=cr;this.path=Te;this.resHead...
function Fe (line 29) | function Fe(t,e){if(!t)return t;if(t=new String(t).toString(),t.startsWi...
function He (line 29) | function He(t){if(!t||(t=new String(t).toString(),t.match(this.ctx.regex...
method constructor (line 29) | constructor(e){this.encode=Fe;this.decode=He;this.ctx=e}
method constructor (line 29) | constructor(e){this.BypassRegex=Dn;this.DataRegex=Mn;this.WeirdRegex=$n;...
function qe (line 29) | function qe(t){t=new URL(t.href);for(var e in t)this.ctx.meta[e]=t[e];re...
method constructor (line 29) | constructor(){}
method constructor (line 29) | constructor(i){super();this.load=qe;this.ctx=i}
function ze (line 29) | function ze(t,e=""){return(this.ctx.modules.mime.contentType(e||t.pathna...
function Xe (line 29) | function Xe(t,e="",i=""){let n;return!e&&this.ctx.modules.mime.contentTy...
function Ke (line 29) | function Ke(t,e=""){if(t.pathname.endsWith(".js")&&e=="text/plain")retur...
method constructor (line 29) | constructor(e){this.html=Xe;this.js=Ke;this.css=ze;this.ctx=e}
function $t (line 29) | function $t(t,e=!0){let i=h=>{let u=t.__dynamic.util.clone(h);for(var m=...
function Vt (line 29) | function Vt(t){t.__dynamic$get=function(e){var i=t.__dynamic.fire("get",...
function Bt (line 29) | function Bt(t){t.__dynamic.util.CreateDocumentProxy=function(i){return n...
function Ye (line 29) | function Ye(t){t.__dynamic.rewrite.dom=function(e,i){if(typeof t.DOMPars...
function Je (line 29) | function Je(t){let e=n=>new DOMParser().parseFromString(n,"text/html").b...
function Ze (line 29) | function Ze(t){let e=t.XMLHttpRequest;t.Worker=new Proxy(t.Worker,{const...
function ti (line 29) | function ti(t){t.__dynamic$history=function(e,...i){i[2]&&(i[2]=t.__dyna...
function mr (line 29) | function mr(t){t=t.toString();let e="";for(let i=0;i<t.length;i++){let n...
function ei (line 29) | function ei(t){let e=()=>t.location.protocol.replace("http","ws")+"//"+n...
function ii (line 29) | function ii(t){t.Request=t.__dynamic.wrap(t.Request,function(e,...i){if(...
function jt (line 29) | function jt(t){let e=s=>s.constructor.name=="Worker"||s.constructor.name...
function ri (line 29) | function ri(t){function e(i,...n){for(var r in n)n[r]=t.__dynamic.rewrit...
function Ut (line 29) | function Ut(t){t.importScripts=new Proxy(t.importScripts,{apply(e,i,n){r...
function Ft (line 29) | function Ft(t){var e=t.Reflect.get.bind({}),i=t.Reflect.set.bind({});t.R...
function ni (line 29) | function ni(t){t.__dynamic.define(t.document,"origin",{value:t.__dynamic...
function si (line 29) | function si(t){t.Storage.prototype.setItem=t.__dynamic.wrap(t.Storage.pr...
function ai (line 29) | function ai(t){"serviceWorker"in t.navigator&&(t.__dynamic.sw=t.navigato...
function ci (line 29) | function ci(t){if(delete t.Document.prototype.cookie,t.__dynamic.define(...
function pi (line 29) | function pi(t){t.CSSStyleDeclaration.prototype._setProperty=t.CSSStyleDe...
function Ht (line 29) | function Ht(t){t.__dynamic.createBlobHandler=async function(e,i,n){let r...
function Wt (line 29) | function Wt(t,e){e||(e=t.__dynamic);function i(r){if(!r.rewritten&&!(r.n...
function li (line 29) | function li(t){t.__dynamic.eval=t.__dynamic.wrap(eval,function(e,...i){i...
function hi (line 29) | function hi(t){var e=t.Function.prototype.toString;t.__dynamic.Function=...
function ui (line 29) | function ui(t){}
function di (line 29) | function di(t){}
method constructor (line 29) | constructor(e){this.methods=fr;self.constructor.name=="DedicatedWorkerGl...
function jn (line 29) | function jn(t,e){return t||(t=[]),t.find(i=>i.name==e.name)?t[t.findInde...
method upgrade (line 29) | async upgrade(t){await t.createObjectStore("__dynamic$cookies")}
method constructor (line 29) | constructor(e){this.db=W;this.ctx=e}
method get (line 29) | async get(e){this._db||(this._db=this.db.open());let i=await W.get(e,thi...
method set (line 29) | async set(e,i=""){return i=this.ctx.modules.setCookieParser.parse(i,{dec...
method open (line 29) | async open(){await W.open()}
method update (line 29) | async update(e){return this._db||(this._db=this.db.open()),await W.updat...
method constructor (line 29) | constructor(e){this.modules=new rr(this);this.util=new pr(this);this.met...
method on (line 29) | on(e,i){this.listeners.push({event:e,cb:i})}
method fire (line 29) | fire(e,i){var n=!1;for(var r of this.listeners)r.event===e&&(i=(n=!0,r.c...
function wt (line 29) | function wt(t){t.__dynamic.wrap=function(e,i,n){if(e.__dynamic$target)re...
function gr (line 29) | function gr(t,e={},i=""){if(t.hasOwnProperty("__dynamic"))return!1;t.has...
function bt (line 29) | function bt(t,e){e||(e=t.__dynamic),e.define=new t.Proxy(t.Object.define...
FILE: docs/examples/uv-dynamic-multi/dynamic/dynamic.html.js
method encode (line 1) | encode(e,t){return!e||!e.toString()?e:e.split(", ").map(a=>a.split(" ")....
method decode (line 1) | decode(e){return e}
method constructor (line 1) | constructor(t,a){this.Original=null;this.Original=t;var s=this;this.Orig...
method getAttribute (line 1) | getAttribute(t){return this.Original.attribs?typeof this.Original.attrib...
method setAttribute (line 1) | setAttribute(t,a){return this.Original.attribs?this.Original.attribs[t]=...
method removeAttribute (line 1) | removeAttribute(t){return this.Original.attribs?delete this.Original.att...
method hasAttribute (line 1) | hasAttribute(t){return this.Original.attribs?this.Original.attribs.hasOw...
function be (line 1) | function be(e,t,a,s,c="",T=!1,l=""){if(self.__dynamic$config)var m=self....
function te (line 1) | function te(e){return e>=55296&&e<=57343}
function ve (line 1) | function ve(e){return e>=56320&&e<=57343}
function Ye (line 1) | function Ye(e,t){return(e-55296)*1024+9216+t}
function ue (line 1) | function ue(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31...
function ae (line 1) | function ae(e){return e>=64976&&e<=65007||yt.has(e)}
method constructor (line 1) | constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-...
method col (line 1) | get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}
method offset (line 1) | get offset(){return this.droppedBufferSize+this.pos}
method getError (line 1) | getError(t){let{line:a,col:s,offset:c}=this;return{code:t,startLine:a,en...
method _err (line 1) | _err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(th...
method _addGap (line 1) | _addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}
method _processSurrogate (line 1) | _processSurrogate(t){if(this.pos!==this.html.length-1){let a=this.html.c...
method willDropParsedChunk (line 1) | willDropParsedChunk(){return this.pos>this.bufferWaterline}
method dropParsedChunk (line 1) | dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.subst...
method write (line 1) | write(t,a){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHi...
method insertHtmlAtCurrentPos (line 1) | insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+...
method startsWith (line 1) | startsWith(t,a){if(this.pos+t.length>this.html.length)return this.endOfC...
method peek (line 1) | peek(t){let a=this.pos+t;if(a>=this.html.length)return this.endOfChunkHi...
method advance (line 1) | advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.line...
method _checkForProblematicCharacters (line 1) | _checkForProblematicCharacters(t){ue(t)?this._err(d.controlCharacterInIn...
method retreat (line 1) | retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=thi...
function re (line 1) | function re(e,t){for(let a=e.attrs.length-1;a>=0;a--)if(e.attrs[a].name=...
function Ie (line 1) | function Ie(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Qt.ge...
function Re (line 1) | function Re(e){return e>=R.ZERO&&e<=R.NINE}
function Xt (line 1) | function Xt(e){return e>=R.UPPER_A&&e<=R.UPPER_F||e>=R.LOWER_A&&e<=R.LOW...
function qt (line 1) | function qt(e){return e>=R.UPPER_A&&e<=R.UPPER_Z||e>=R.LOWER_A&&e<=R.LOW...
function Wt (line 1) | function Wt(e){return e===R.EQUALS||qt(e)}
method constructor (line 1) | constructor(t,a,s){this.decodeTree=t,this.emitCodePoint=a,this.errors=s,...
method startEntity (line 1) | startEntity(t){this.decodeMode=t,this.state=I.EntityStart,this.result=0,...
method write (line 1) | write(t,a){switch(this.state){case I.EntityStart:return t.charCodeAt(a)=...
method stateNumericStart (line 1) | stateNumericStart(t,a){return a>=t.length?-1:(t.charCodeAt(a)|Gt)===R.LO...
method addToNumericResult (line 1) | addToNumericResult(t,a,s,c){if(a!==s){let T=s-a;this.result=this.result*...
method stateNumericHex (line 1) | stateNumericHex(t,a){let s=a;for(;a<t.length;){let c=t.charCodeAt(a);if(...
method stateNumericDecimal (line 1) | stateNumericDecimal(t,a){let s=a;for(;a<t.length;){let c=t.charCodeAt(a)...
method emitNumericEntity (line 1) | emitNumericEntity(t,a){var s;if(this.consumed<=a)return(s=this.errors)==...
method stateNamedEntity (line 1) | stateNamedEntity(t,a){let{decodeTree:s}=this,c=s[this.treeIndex],T=(c&P....
method emitNotTerminatedNamedEntity (line 1) | emitNotTerminatedNamedEntity(){var t;let{result:a,decodeTree:s}=this,c=(...
method emitNamedEntityData (line 1) | emitNamedEntityData(t,a,s){let{decodeTree:c}=this;return this.emitCodePo...
method end (line 1) | end(){var t;switch(this.state){case I.NamedEntity:return this.result!==0...
function Ge (line 1) | function Ge(e){let t="",a=new Le(e,s=>t+=Ce(s));return function(c,T){let...
function pe (line 1) | function pe(e,t,a,s){let c=(t&P.BRANCH_LENGTH)>>7,T=t&P.JUMP_TABLE;if(c=...
function k (line 1) | function k(e){var t;return(t=Kt.get(e))!==null&&t!==void 0?t:u.UNKNOWN}
function ie (line 1) | function ie(e){return e===h.H1||e===h.H2||e===h.H3||e===h.H4||e===h.H5||...
function qe (line 1) | function qe(e,t){return Vt.has(e)||t&&e===o.NOSCRIPT}
function G (line 1) | function G(e){return e>=r.DIGIT_0&&e<=r.DIGIT_9}
function Q (line 1) | function Q(e){return e>=r.LATIN_CAPITAL_A&&e<=r.LATIN_CAPITAL_Z}
function $t (line 1) | function $t(e){return e>=r.LATIN_SMALL_A&&e<=r.LATIN_SMALL_Z}
function U (line 1) | function U(e){return $t(e)||Q(e)}
function Oe (line 1) | function Oe(e){return U(e)||G(e)}
function Ke (line 1) | function Ke(e){return e>=r.LATIN_CAPITAL_A&&e<=r.LATIN_CAPITAL_F}
function Ve (line 1) | function Ve(e){return e>=r.LATIN_SMALL_A&&e<=r.LATIN_SMALL_F}
function Jt (line 1) | function Jt(e){return G(e)||Ke(e)||Ve(e)}
function ne (line 1) | function ne(e){return e+32}
function je (line 1) | function je(e){return e===r.SPACE||e===r.LINE_FEED||e===r.TABULATION||e=...
function Zt (line 1) | function Zt(e){return e===r.EQUALS_SIGN||Oe(e)}
function We (line 1) | function We(e){return je(e)||e===r.SOLIDUS||e===r.GREATER_THAN_SIGN}
method constructor (line 1) | constructor(t,a){this.options=t,this.handler=a,this.paused=!1,this.inLoo...
method _err (line 1) | _err(t){var a,s;(s=(a=this.handler).onParseError)===null||s===void 0||s....
method getCurrentLocation (line 1) | getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startL...
method _runParsingLoop (line 1) | _runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this...
method pause (line 1) | pause(){this.paused=!0}
method resume (line 1) | resume(t){if(!this.paused)throw new Error("Parser was already resumed");...
method write (line 1) | write(t,a,s){this.active=!0,this.preprocessor.write(t,a),this._runParsin...
method insertHtmlAtCurrentPos (line 1) | insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtC...
method _ensureHibernation (line 1) | _ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._uncon...
method _consume (line 1) | _consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}
method _unconsume (line 1) | _unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}
method _reconsumeInState (line 1) | _reconsumeInState(t,a){this.state=t,this._callState(a)}
method _advanceBy (line 1) | _advanceBy(t){this.consumedAfterSnapshot+=t;for(let a=0;a<t;a++)this.pre...
method _consumeSequenceIfMatch (line 1) | _consumeSequenceIfMatch(t,a){return this.preprocessor.startsWith(t,a)?(t...
method _createStartTagToken (line 1) | _createStartTagToken(){this.currentToken={type:A.START_TAG,tagName:"",ta...
method _createEndTagToken (line 1) | _createEndTagToken(){this.currentToken={type:A.END_TAG,tagName:"",tagID:...
method _createCommentToken (line 1) | _createCommentToken(t){this.currentToken={type:A.COMMENT,data:"",locatio...
method _createDoctypeToken (line 1) | _createDoctypeToken(t){this.currentToken={type:A.DOCTYPE,name:t,forceQui...
method _createCharacterToken (line 1) | _createCharacterToken(t,a){this.currentCharacterToken={type:t,chars:a,lo...
method _createAttr (line 1) | _createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=t...
method _leaveAttrName (line 1) | _leaveAttrName(){var t,a;let s=this.currentToken;if(re(s,this.currentAtt...
method _leaveAttrValue (line 1) | _leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=th...
method prepareToken (line 1) | prepareToken(t){this._emitCurrentCharacterToken(t.location),this.current...
method emitCurrentTagToken (line 1) | emitCurrentTagToken(){let t=this.currentToken;this.prepareToken(t),t.tag...
method emitCurrentComment (line 1) | emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),thi...
method emitCurrentDoctype (line 1) | emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),thi...
method _emitCurrentCharacterToken (line 1) | _emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&t...
method _emitEOFToken (line 1) | _emitEOFToken(){let t=this.getCurrentLocation(0);t&&(t.endLine=t.startLi...
method _appendCharToCurrentCharacterToken (line 1) | _appendCharToCurrentCharacterToken(t,a){if(this.currentCharacterToken)if...
method _emitCodePoint (line 1) | _emitCodePoint(t){let a=je(t)?A.WHITESPACE_CHARACTER:t===r.NULL?A.NULL_C...
method _emitChars (line 1) | _emitChars(t){this._appendCharToCurrentCharacterToken(A.CHARACTER,t)}
method _matchNamedCharacterReference (line 1) | _matchNamedCharacterReference(t){let a=null,s=0,c=!1;for(let T=0,l=x[0];...
method _isCharacterReferenceInAttribute (line 1) | _isCharacterReferenceInAttribute(){return this.returnState===i.ATTRIBUTE...
method _flushCodePointConsumedAsCharacterReference (line 1) | _flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenc...
method _callState (line 1) | _callState(t){switch(this.state){case i.DATA:{this._stateData(t);break}c...
method _stateData (line 1) | _stateData(t){switch(t){case r.LESS_THAN_SIGN:{this.state=i.TAG_OPEN;bre...
method _stateRcdata (line 1) | _stateRcdata(t){switch(t){case r.AMPERSAND:{this.returnState=i.RCDATA,th...
method _stateRawtext (line 1) | _stateRawtext(t){switch(t){case r.LESS_THAN_SIGN:{this.state=i.RAWTEXT_L...
method _stateScriptData (line 1) | _stateScriptData(t){switch(t){case r.LESS_THAN_SIGN:{this.state=i.SCRIPT...
method _statePlaintext (line 1) | _statePlaintext(t){switch(t){case r.NULL:{this._err(d.unexpectedNullChar...
method _stateTagOpen (line 1) | _stateTagOpen(t){if(U(t))this._createStartTagToken(),this.state=i.TAG_NA...
method _stateEndTagOpen (line 1) | _stateEndTagOpen(t){if(U(t))this._createEndTagToken(),this.state=i.TAG_N...
method _stateTagName (line 1) | _stateTagName(t){let a=this.currentToken;switch(t){case r.SPACE:case r.L...
method _stateRcdataLessThanSign (line 1) | _stateRcdataLessThanSign(t){t===r.SOLIDUS?this.state=i.RCDATA_END_TAG_OP...
method _stateRcdataEndTagOpen (line 1) | _stateRcdataEndTagOpen(t){U(t)?(this.state=i.RCDATA_END_TAG_NAME,this._s...
method handleSpecialEndTag (line 1) | handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTa...
method _stateRcdataEndTagName (line 1) | _stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars(...
method _stateRawtextLessThanSign (line 1) | _stateRawtextLessThanSign(t){t===r.SOLIDUS?this.state=i.RAWTEXT_END_TAG_...
method _stateRawtextEndTagOpen (line 1) | _stateRawtextEndTagOpen(t){U(t)?(this.state=i.RAWTEXT_END_TAG_NAME,this....
method _stateRawtextEndTagName (line 1) | _stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars...
method _stateScriptDataLessThanSign (line 1) | _stateScriptDataLessThanSign(t){switch(t){case r.SOLIDUS:{this.state=i.S...
method _stateScriptDataEndTagOpen (line 1) | _stateScriptDataEndTagOpen(t){U(t)?(this.state=i.SCRIPT_DATA_END_TAG_NAM...
method _stateScriptDataEndTagName (line 1) | _stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitCh...
method _stateScriptDataEscapeStart (line 1) | _stateScriptDataEscapeStart(t){t===r.HYPHEN_MINUS?(this.state=i.SCRIPT_D...
method _stateScriptDataEscapeStartDash (line 1) | _stateScriptDataEscapeStartDash(t){t===r.HYPHEN_MINUS?(this.state=i.SCRI...
method _stateScriptDataEscaped (line 1) | _stateScriptDataEscaped(t){switch(t){case r.HYPHEN_MINUS:{this.state=i.S...
method _stateScriptDataEscapedDash (line 1) | _stateScriptDataEscapedDash(t){switch(t){case r.HYPHEN_MINUS:{this.state...
method _stateScriptDataEscapedDashDash (line 1) | _stateScriptDataEscapedDashDash(t){switch(t){case r.HYPHEN_MINUS:{this._...
method _stateScriptDataEscapedLessThanSign (line 1) | _stateScriptDataEscapedLessThanSign(t){t===r.SOLIDUS?this.state=i.SCRIPT...
method _stateScriptDataEscapedEndTagOpen (line 1) | _stateScriptDataEscapedEndTagOpen(t){U(t)?(this.state=i.SCRIPT_DATA_ESCA...
method _stateScriptDataEscapedEndTagName (line 1) | _stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this....
method _stateScriptDataDoubleEscapeStart (line 1) | _stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(g.S...
method _stateScriptDataDoubleEscaped (line 1) | _stateScriptDataDoubleEscaped(t){switch(t){case r.HYPHEN_MINUS:{this.sta...
method _stateScriptDataDoubleEscapedDash (line 1) | _stateScriptDataDoubleEscapedDash(t){switch(t){case r.HYPHEN_MINUS:{this...
method _stateScriptDataDoubleEscapedDashDash (line 1) | _stateScriptDataDoubleEscapedDashDash(t){switch(t){case r.HYPHEN_MINUS:{...
method _stateScriptDataDoubleEscapedLessThanSign (line 1) | _stateScriptDataDoubleEscapedLessThanSign(t){t===r.SOLIDUS?(this.state=i...
method _stateScriptDataDoubleEscapeEnd (line 1) | _stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(g.SCR...
method _stateBeforeAttributeName (line 1) | _stateBeforeAttributeName(t){switch(t){case r.SPACE:case r.LINE_FEED:cas...
method _stateAttributeName (line 1) | _stateAttributeName(t){switch(t){case r.SPACE:case r.LINE_FEED:case r.TA...
method _stateAfterAttributeName (line 1) | _stateAfterAttributeName(t){switch(t){case r.SPACE:case r.LINE_FEED:case...
method _stateBeforeAttributeValue (line 1) | _stateBeforeAttributeValue(t){switch(t){case r.SPACE:case r.LINE_FEED:ca...
method _stateAttributeValueDoubleQuoted (line 1) | _stateAttributeValueDoubleQuoted(t){switch(t){case r.QUOTATION_MARK:{thi...
method _stateAttributeValueSingleQuoted (line 1) | _stateAttributeValueSingleQuoted(t){switch(t){case r.APOSTROPHE:{this.st...
method _stateAttributeValueUnquoted (line 1) | _stateAttributeValueUnquoted(t){switch(t){case r.SPACE:case r.LINE_FEED:...
method _stateAfterAttributeValueQuoted (line 1) | _stateAfterAttributeValueQuoted(t){switch(t){case r.SPACE:case r.LINE_FE...
method _stateSelfClosingStartTag (line 1) | _stateSelfClosingStartTag(t){switch(t){case r.GREATER_THAN_SIGN:{let a=t...
method _stateBogusComment (line 1) | _stateBogusComment(t){let a=this.currentToken;switch(t){case r.GREATER_T...
method _stateMarkupDeclarationOpen (line 1) | _stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(g.DASH_DASH,...
method _stateCommentStart (line 1) | _stateCommentStart(t){switch(t){case r.HYPHEN_MINUS:{this.state=i.COMMEN...
method _stateCommentStartDash (line 1) | _stateCommentStartDash(t){let a=this.currentToken;switch(t){case r.HYPHE...
method _stateComment (line 1) | _stateComment(t){let a=this.currentToken;switch(t){case r.HYPHEN_MINUS:{...
method _stateCommentLessThanSign (line 1) | _stateCommentLessThanSign(t){let a=this.currentToken;switch(t){case r.EX...
method _stateCommentLessThanSignBang (line 1) | _stateCommentLessThanSignBang(t){t===r.HYPHEN_MINUS?this.state=i.COMMENT...
method _stateCommentLessThanSignBangDash (line 1) | _stateCommentLessThanSignBangDash(t){t===r.HYPHEN_MINUS?this.state=i.COM...
method _stateCommentLessThanSignBangDashDash (line 1) | _stateCommentLessThanSignBangDashDash(t){t!==r.GREATER_THAN_SIGN&&t!==r....
method _stateCommentEndDash (line 1) | _stateCommentEndDash(t){let a=this.currentToken;switch(t){case r.HYPHEN_...
method _stateCommentEnd (line 1) | _stateCommentEnd(t){let a=this.currentToken;switch(t){case r.GREATER_THA...
method _stateCommentEndBang (line 1) | _stateCommentEndBang(t){let a=this.currentToken;switch(t){case r.HYPHEN_...
method _stateDoctype (line 1) | _stateDoctype(t){switch(t){case r.SPACE:case r.LINE_FEED:case r.TABULATI...
method _stateBeforeDoctypeName (line 1) | _stateBeforeDoctypeName(t){if(Q(t))this._createDoctypeToken(String.fromC...
method _stateDoctypeName (line 1) | _stateDoctypeName(t){let a=this.currentToken;switch(t){case r.SPACE:case...
method _stateAfterDoctypeName (line 1) | _stateAfterDoctypeName(t){let a=this.currentToken;switch(t){case r.SPACE...
method _stateAfterDoctypePublicKeyword (line 1) | _stateAfterDoctypePublicKeyword(t){let a=this.currentToken;switch(t){cas...
method _stateBeforeDoctypePublicIdentifier (line 1) | _stateBeforeDoctypePublicIdentifier(t){let a=this.currentToken;switch(t)...
method _stateDoctypePublicIdentifierDoubleQuoted (line 1) | _stateDoctypePublicIdentifierDoubleQuoted(t){let a=this.currentToken;swi...
method _stateDoctypePublicIdentifierSingleQuoted (line 1) | _stateDoctypePublicIdentifierSingleQuoted(t){let a=this.currentToken;swi...
method _stateAfterDoctypePublicIdentifier (line 1) | _stateAfterDoctypePublicIdentifier(t){let a=this.currentToken;switch(t){...
method _stateBetweenDoctypePublicAndSystemIdentifiers (line 1) | _stateBetweenDoctypePublicAndSystemIdentifiers(t){let a=this.currentToke...
method _stateAfterDoctypeSystemKeyword (line 1) | _stateAfterDoctypeSystemKeyword(t){let a=this.currentToken;switch(t){cas...
method _stateBeforeDoctypeSystemIdentifier (line 1) | _stateBeforeDoctypeSystemIdentifier(t){let a=this.currentToken;switch(t)...
method _stateDoctypeSystemIdentifierDoubleQuoted (line 1) | _stateDoctypeSystemIdentifierDoubleQuoted(t){let a=this.currentToken;swi...
method _stateDoctypeSystemIdentifierSingleQuoted (line 1) | _stateDoctypeSystemIdentifierSingleQuoted(t){let a=this.currentToken;swi...
method _stateAfterDoctypeSystemIdentifier (line 1) | _stateAfterDoctypeSystemIdentifier(t){let a=this.currentToken;switch(t){...
method _stateBogusDoctype (line 1) | _stateBogusDoctype(t){let a=this.currentToken;switch(t){case r.GREATER_T...
method _stateCdataSection (line 1) | _stateCdataSection(t){switch(t){case r.RIGHT_SQUARE_BRACKET:{this.state=...
method _stateCdataSectionBracket (line 1) | _stateCdataSectionBracket(t){t===r.RIGHT_SQUARE_BRACKET?this.state=i.CDA...
method _stateCdataSectionEnd (line 1) | _stateCdataSectionEnd(t){switch(t){case r.GREATER_THAN_SIGN:{this.state=...
method _stateCharacterReference (line 1) | _stateCharacterReference(t){t===r.NUMBER_SIGN?this.state=i.NUMERIC_CHARA...
method _stateNamedCharacterReference (line 1) | _stateNamedCharacterReference(t){let a=this._matchNamedCharacterReferenc...
method _stateAmbiguousAmpersand (line 1) | _stateAmbiguousAmpersand(t){Oe(t)?this._flushCodePointConsumedAsCharacte...
method _stateNumericCharacterReference (line 1) | _stateNumericCharacterReference(t){this.charRefCode=0,t===r.LATIN_SMALL_...
method _stateHexademicalCharacterReferenceStart (line 1) | _stateHexademicalCharacterReferenceStart(t){Jt(t)?(this.state=i.HEXADEMI...
method _stateHexademicalCharacterReference (line 1) | _stateHexademicalCharacterReference(t){Ke(t)?this.charRefCode=this.charR...
method _stateDecimalCharacterReference (line 1) | _stateDecimalCharacterReference(t){G(t)?this.charRefCode=this.charRefCod...
method _stateNumericCharacterReferenceEnd (line 1) | _stateNumericCharacterReferenceEnd(t){if(this.charRefCode===r.NULL)this....
method currentTmplContentOrNode (line 1) | get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdap...
method constructor (line 1) | constructor(t,a,s){this.treeAdapter=a,this.handler=s,this.items=[],this....
method _indexOf (line 1) | _indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}
method _isInTemplate (line 1) | _isInTemplate(){return this.currentTagId===u.TEMPLATE&&this.treeAdapter....
method _updateCurrentElement (line 1) | _updateCurrentElement(){this.current=this.items[this.stackTop],this.curr...
method push (line 1) | push(t,a){this.stackTop++,this.items[this.stackTop]=t,this.current=t,thi...
method pop (line 1) | pop(){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tm...
method replace (line 1) | replace(t,a){let s=this._indexOf(t);this.items[s]=a,s===this.stackTop&&(...
method insertAfter (line 1) | insertAfter(t,a,s){let c=this._indexOf(t)+1;this.items.splice(c,0,a),thi...
method popUntilTagNamePopped (line 1) | popUntilTagNamePopped(t){let a=this.stackTop+1;do a=this.tagIDs.lastInde...
method shortenToLength (line 1) | shortenToLength(t){for(;this.stackTop>=t;){let a=this.current;this.tmplC...
method popUntilElementPopped (line 1) | popUntilElementPopped(t){let a=this._indexOf(t);this.shortenToLength(a<0...
method popUntilPopped (line 1) | popUntilPopped(t,a){let s=this._indexOfTagNames(t,a);this.shortenToLengt...
method popUntilNumberedHeaderPopped (line 1) | popUntilNumberedHeaderPopped(){this.popUntilPopped(eu,E.HTML)}
method popUntilTableCellPopped (line 1) | popUntilTableCellPopped(){this.popUntilPopped(su,E.HTML)}
method popAllUpToHtmlElement (line 1) | popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}
method _indexOfTagNames (line 1) | _indexOfTagNames(t,a){for(let s=this.stackTop;s>=0;s--)if(t.includes(thi...
method clearBackTo (line 1) | clearBackTo(t,a){let s=this._indexOfTagNames(t,a);this.shortenToLength(s...
method clearBackToTableContext (line 1) | clearBackToTableContext(){this.clearBackTo(au,E.HTML)}
method clearBackToTableBodyContext (line 1) | clearBackToTableBodyContext(){this.clearBackTo(uu,E.HTML)}
method clearBackToTableRowContext (line 1) | clearBackToTableRowContext(){this.clearBackTo(tu,E.HTML)}
method remove (line 1) | remove(t){let a=this._indexOf(t);a>=0&&(a===this.stackTop?this.pop():(th...
method tryPeekProperlyNestedBodyElement (line 1) | tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[...
method contains (line 1) | contains(t){return this._indexOf(t)>-1}
method getCommonAncestor (line 1) | getCommonAncestor(t){let a=this._indexOf(t)-1;return a>=0?this.items[a]:...
method isRootHtmlElementCurrent (line 1) | isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===u....
method hasInScope (line 1) | hasInScope(t){for(let a=this.stackTop;a>=0;a--){let s=this.tagIDs[a],c=t...
method hasNumberedHeaderInScope (line 1) | hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){let a=this....
method hasInListItemScope (line 1) | hasInListItemScope(t){for(let a=this.stackTop;a>=0;a--){let s=this.tagID...
method hasInButtonScope (line 1) | hasInButtonScope(t){for(let a=this.stackTop;a>=0;a--){let s=this.tagIDs[...
method hasInTableScope (line 1) | hasInTableScope(t){for(let a=this.stackTop;a>=0;a--){let s=this.tagIDs[a...
method hasTableBodyContextInTableScope (line 1) | hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){let ...
method hasInSelectScope (line 1) | hasInSelectScope(t){for(let a=this.stackTop;a>=0;a--){let s=this.tagIDs[...
method generateImpliedEndTags (line 1) | generateImpliedEndTags(){for(;$e.has(this.currentTagId);)this.pop()}
method generateImpliedEndTagsThoroughly (line 1) | generateImpliedEndTagsThoroughly(){for(;ze.has(this.currentTagId);)this....
method generateImpliedEndTagsWithExclusion (line 1) | generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&ze.ha...
method constructor (line 1) | constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}
method _getNoahArkConditionCandidates (line 1) | _getNoahArkConditionCandidates(t,a){let s=[],c=a.length,T=this.treeAdapt...
method _ensureNoahArkCondition (line 1) | _ensureNoahArkCondition(t){if(this.entries.length<3)return;let a=this.tr...
method insertMarker (line 1) | insertMarker(){this.entries.unshift(Je)}
method pushElement (line 1) | pushElement(t,a){this._ensureNoahArkCondition(t),this.entries.unshift({t...
method insertElementAfterBookmark (line 1) | insertElementAfterBookmark(t,a){let s=this.entries.indexOf(this.bookmark...
method removeEntry (line 1) | removeEntry(t){let a=this.entries.indexOf(t);a>=0&&this.entries.splice(a...
method clearToLastMarker (line 1) | clearToLastMarker(){let t=this.entries.indexOf(Je);t>=0?this.entries.spl...
method getElementEntryInScopeWithTagName (line 1) | getElementEntryInScopeWithTagName(t){let a=this.entries.find(s=>s.type==...
method getElementEntry (line 1) | getElementEntry(t){return this.entries.find(a=>a.type===D.Element&&a.ele...
function Ze (line 1) | function Ze(e){return{nodeName:"#text",value:e,parentNode:null}}
method createDocument (line 1) | createDocument(){return{nodeName:"#document",mode:p.NO_QUIRKS,childNodes...
method createDocumentFragment (line 1) | createDocumentFragment(){return{nodeName:"#document-fragment",childNodes...
method createElement (line 1) | createElement(e,t,a){return{nodeName:e,tagName:e,attrs:a,namespaceURI:t,...
method createCommentNode (line 1) | createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}}
method appendChild (line 1) | appendChild(e,t){e.childNodes.push(t),t.parentNode=e}
method insertBefore (line 1) | insertBefore(e,t,a){let s=e.childNodes.indexOf(a);e.childNodes.splice(s,...
method setTemplateContent (line 1) | setTemplateContent(e,t){e.content=t}
method getTemplateContent (line 1) | getTemplateContent(e){return e.content}
method setDocumentType (line 1) | setDocumentType(e,t,a,s){let c=e.childNodes.find(T=>T.nodeName==="#docum...
method setDocumentMode (line 1) | setDocumentMode(e,t){e.mode=t}
method getDocumentMode (line 1) | getDocumentMode(e){return e.mode}
method detachNode (line 1) | detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);...
method insertText (line 1) | insertText(e,t){if(e.childNodes.length>0){let a=e.childNodes[e.childNode...
method insertTextBefore (line 1) | insertTextBefore(e,t,a){let s=e.childNodes[e.childNodes.indexOf(a)-1];s&...
method adoptAttributes (line 1) | adoptAttributes(e,t){let a=new Set(e.attrs.map(s=>s.name));for(let s=0;s...
method getFirstChild (line 1) | getFirstChild(e){return e.childNodes[0]}
method getChildNodes (line 1) | getChildNodes(e){return e.childNodes}
method getParentNode (line 1) | getParentNode(e){return e.parentNode}
method getAttrList (line 1) | getAttrList(e){return e.attrs}
method getTagName (line 1) | getTagName(e){return e.tagName}
method getNamespaceURI (line 1) | getNamespaceURI(e){return e.namespaceURI}
method getTextNodeContent (line 1) | getTextNodeContent(e){return e.value}
method getCommentNodeContent (line 1) | getCommentNodeContent(e){return e.data}
method getDocumentTypeNodeName (line 1) | getDocumentTypeNodeName(e){return e.name}
method getDocumentTypeNodePublicId (line 1) | getDocumentTypeNodePublicId(e){return e.publicId}
method getDocumentTypeNodeSystemId (line 1) | getDocumentTypeNodeSystemId(e){return e.systemId}
method isTextNode (line 1) | isTextNode(e){return e.nodeName==="#text"}
method isCommentNode (line 1) | isCommentNode(e){return e.nodeName==="#comment"}
method isDocumentTypeNode (line 1) | isDocumentTypeNode(e){return e.nodeName==="#documentType"}
method isElementNode (line 1) | isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")}
method setNodeSourceCodeLocation (line 1) | setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t}
method getNodeSourceCodeLocation (line 1) | getNodeSourceCodeLocation(e){return e.sourceCodeLocation}
method updateNodeSourceCodeLocation (line 1) | updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeL...
function et (line 1) | function et(e,t){return t.some(a=>e.startsWith(a))}
function st (line 1) | function st(e){return e.name===tt&&e.publicId===null&&(e.systemId===null...
function rt (line 1) | function rt(e){if(e.name!==tt)return p.QUIRKS;let{systemId:t}=e;if(t&&t....
function nt (line 1) | function nt(e){let t=e.tagID;return t===u.FONT&&e.attrs.some(({name:s})=...
function Se (line 1) | function Se(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Eu)...
function ge (line 1) | function ge(e){for(let t=0;t<e.attrs.length;t++){let a=hu.get(e.attrs[t]...
function Ee (line 1) | function Ee(e){for(let t=0;t<e.attrs.length;t++){let a=lu.get(e.attrs[t]...
function ct (line 1) | function ct(e){let t=fu.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=k(e...
function _u (line 1) | function _u(e,t){return t===E.MATHML&&(e===u.MI||e===u.MO||e===u.MN||e==...
function Au (line 1) | function Au(e,t,a){if(t===E.MATHML&&e===u.ANNOTATION_XML){for(let s=0;s<...
function ot (line 1) | function ot(e,t,a,s){return(!s||s===E.HTML)&&Au(e,t,a)||(!s||s===E.MATHM...
method constructor (line 1) | constructor(t,a,s=null,c=null){this.fragmentContext=s,this.scriptHandler...
method parse (line 1) | static parse(t,a){let s=new this(a);return s.tokenizer.write(t,!0),s.doc...
method getFragmentParser (line 1) | static getFragmentParser(t,a){let s={...Et,...a};t??(t=s.treeAdapter.cre...
method getFragment (line 1) | getFragment(){let t=this.treeAdapter.getFirstChild(this.document),a=this...
method _err (line 1) | _err(t,a,s){var c;if(!this.onParseError)return;let T=(c=t.location)!==nu...
method onItemPush (line 1) | onItemPush(t,a,s){var c,T;(T=(c=this.treeAdapter).onItemPush)===null||T=...
method onItemPop (line 1) | onItemPop(t,a){var s,c;if(this.options.sourceCodeLocationInfo&&this._set...
method _setContextModes (line 1) | _setContextModes(t,a){let s=t===this.document||this.treeAdapter.getNames...
method _switchToTextParsing (line 1) | _switchToTextParsing(t,a){this._insertElement(t,E.HTML),this.tokenizer.s...
method switchToPlaintextParsing (line 1) | switchToPlaintextParsing(){this.insertionMode=n.TEXT,this.originalInsert...
method _getAdjustedCurrentElement (line 1) | _getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this...
method _findFormInFragmentContext (line 1) | _findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this...
method _initTokenizerForFragmentParsing (line 1) | _initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.tree...
method _setDocumentType (line 1) | _setDocumentType(t){let a=t.name||"",s=t.publicId||"",c=t.systemId||"";i...
method _attachElementToTree (line 1) | _attachElementToTree(t,a){if(this.options.sourceCodeLocationInfo){let s=...
method _appendElement (line 1) | _appendElement(t,a){let s=this.treeAdapter.createElement(t.tagName,a,t.a...
method _insertElement (line 1) | _insertElement(t,a){let s=this.treeAdapter.createElement(t.tagName,a,t.a...
method _insertFakeElement (line 1) | _insertFakeElement(t,a){let s=this.treeAdapter.createElement(t,E.HTML,[]...
method _insertTemplate (line 1) | _insertTemplate(t){let a=this.treeAdapter.createElement(t.tagName,E.HTML...
method _insertFakeRootElement (line 1) | _insertFakeRootElement(){let t=this.treeAdapter.createElement(o.HTML,E.H...
method _appendCommentNode (line 1) | _appendCommentNode(t,a){let s=this.treeAdapter.createCommentNode(t.data)...
method _insertCharacters (line 1) | _insertCharacters(t){let a,s;if(this._shouldFosterParentOnInsertion()?({...
method _adoptNodes (line 1) | _adoptNodes(t,a){for(let s=this.treeAdapter.getFirstChild(t);s;s=this.tr...
method _setEndLocation (line 1) | _setEndLocation(t,a){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&a...
method shouldProcessStartTagTokenInForeignContent (line 1) | shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)...
method _processToken (line 1) | _processToken(t){switch(t.type){case A.CHARACTER:{this.onCharacter(t);br...
method _isIntegrationPoint (line 1) | _isIntegrationPoint(t,a,s){let c=this.treeAdapter.getNamespaceURI(a),T=t...
method _reconstructActiveFormattingElements (line 1) | _reconstructActiveFormattingElements(){let t=this.activeFormattingElemen...
method _closeTableCell (line 1) | _closeTableCell(){this.openElements.generateImpliedEndTags(),this.openEl...
method _closePElement (line 1) | _closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(u...
method _resetInsertionMode (line 1) | _resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)swit...
method _resetInsertionModeForSelect (line 1) | _resetInsertionModeForSelect(t){if(t>0)for(let a=t-1;a>0;a--){let s=this...
method _isElementCausesFosterParenting (line 1) | _isElementCausesFosterParenting(t){return lt.has(t)}
method _shouldFosterParentOnInsertion (line 1) | _shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&thi...
method _findFosterParentingLocation (line 1) | _findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0...
method _fosterParentElement (line 1) | _fosterParentElement(t){let a=this._findFosterParentingLocation();a.befo...
method _isSpecialElement (line 1) | _isSpecialElement(t,a){let s=this.treeAdapter.getNamespaceURI(t);return ...
method onCharacter (line 1) | onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){...
method onNullCharacter (line 1) | onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNo...
method onComment (line 1) | onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Pe(this,t...
method onDoctype (line 1) | onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case n.I...
method onStartTag (line 1) | onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processS...
method _processStartTag (line 1) | _processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Z...
method _startTagOutsideForeignContent (line 1) | _startTagOutsideForeignContent(t){switch(this.insertionMode){case n.INIT...
method onEndTag (line 1) | onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotI...
method _endTagOutsideForeignContent (line 1) | _endTagOutsideForeignContent(t){switch(this.insertionMode){case n.INITIA...
method onEof (line 1) | onEof(t){switch(this.insertionMode){case n.INITIAL:{q(this,t);break}case...
method onWhitespaceCharacter (line 1) | onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=...
function Ru (line 1) | function Ru(e,t){let a=e.activeFormattingElements.getElementEntryInScope...
function Lu (line 1) | function Lu(e,t){let a=null,s=e.openElements.stackTop;for(;s>=0;s--){let...
function pu (line 1) | function pu(e,t,a){let s=t,c=e.openElements.getCommonAncestor(t);for(let...
function Ou (line 1) | function Ou(e,t){let a=e.treeAdapter.getNamespaceURI(t.element),s=e.tree...
function Su (line 1) | function Su(e,t,a){let s=e.treeAdapter.getTagName(t),c=k(s);if(e._isElem...
function gu (line 1) | function gu(e,t,a){let s=e.treeAdapter.getNamespaceURI(a.element),{token...
function xe (line 1) | function xe(e,t){for(let a=0;a<Nu;a++){let s=Ru(e,t);if(!s)break;let c=L...
function Pe (line 1) | function Pe(e,t){e._appendCommentNode(t,e.openElements.currentTmplConten...
function Du (line 1) | function Du(e,t){e._appendCommentNode(t,e.openElements.items[0])}
function Pu (line 1) | function Pu(e,t){e._appendCommentNode(t,e.document)}
function Be (line 1) | function Be(e,t){if(e.stopped=!0,t.location){let a=e.fragmentContext?0:2...
function Mu (line 1) | function Mu(e,t){e._setDocumentType(t);let a=t.forceQuirks?p.QUIRKS:rt(t...
function q (line 1) | function q(e,t){e._err(t,d.missingDoctype,!0),e.treeAdapter.setDocumentM...
function xu (line 1) | function xu(e,t){t.tagID===u.HTML?(e._insertElement(t,E.HTML),e.insertio...
function Bu (line 1) | function Bu(e,t){let a=t.tagID;(a===u.HTML||a===u.HEAD||a===u.BODY||a===...
function K (line 1) | function K(e,t){e._insertFakeRootElement(),e.insertionMode=n.BEFORE_HEAD...
function Hu (line 1) | function Hu(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.HEAD:{...
function Uu (line 1) | function Uu(e,t){let a=t.tagID;a===u.HEAD||a===u.BODY||a===u.HTML||a===u...
function V (line 1) | function V(e,t){e._insertFakeElement(o.HEAD,u.HEAD),e.headElement=e.open...
function M (line 1) | function M(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.BASE:ca...
function Fu (line 1) | function Fu(e,t){switch(t.tagID){case u.HEAD:{e.openElements.pop(),e.ins...
function y (line 1) | function y(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpli...
function j (line 1) | function j(e,t){e.openElements.pop(),e.insertionMode=n.AFTER_HEAD,e._pro...
function ku (line 1) | function ku(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.BASEFO...
function yu (line 1) | function yu(e,t){switch(t.tagID){case u.NOSCRIPT:{e.openElements.pop(),e...
function z (line 1) | function z(e,t){let a=t.type===A.EOF?d.openElementsLeftAfterEof:d.disall...
function wu (line 1) | function wu(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.BODY:{...
function vu (line 1) | function vu(e,t){switch(t.tagID){case u.BODY:case u.HTML:case u.BR:{$(e,...
function $ (line 1) | function $(e,t){e._insertFakeElement(o.BODY,u.BODY),e.insertionMode=n.IN...
function fe (line 1) | function fe(e,t){switch(t.type){case A.CHARACTER:{mt(e,t);break}case A.W...
function ft (line 1) | function ft(e,t){e._reconstructActiveFormattingElements(),e._insertChara...
function mt (line 1) | function mt(e,t){e._reconstructActiveFormattingElements(),e._insertChara...
function Yu (line 1) | function Yu(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttrib...
function Qu (line 1) | function Qu(e,t){let a=e.openElements.tryPeekProperlyNestedBodyElement()...
function Gu (line 1) | function Gu(e,t){let a=e.openElements.tryPeekProperlyNestedBodyElement()...
function Xu (line 1) | function Xu(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(...
function qu (line 1) | function qu(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(...
function Wu (line 1) | function Wu(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(...
function Ku (line 1) | function Ku(e,t){let a=e.openElements.tmplCount>0;(!e.formElement||a)&&(...
function Vu (line 1) | function Vu(e,t){e.framesetOk=!1;let a=t.tagID;for(let s=e.openElements....
function ju (line 1) | function ju(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(...
function zu (line 1) | function zu(e,t){e.openElements.hasInScope(u.BUTTON)&&(e.openElements.ge...
function $u (line 1) | function $u(e,t){let a=e.activeFormattingElements.getElementEntryInScope...
function Ju (line 1) | function Ju(e,t){e._reconstructActiveFormattingElements(),e._insertEleme...
function Zu (line 1) | function Zu(e,t){e._reconstructActiveFormattingElements(),e.openElements...
function ea (line 1) | function ea(e,t){e._reconstructActiveFormattingElements(),e._insertEleme...
function ta (line 1) | function ta(e,t){e.treeAdapter.getDocumentMode(e.document)!==p.QUIRKS&&e...
function _t (line 1) | function _t(e,t){e._reconstructActiveFormattingElements(),e._appendEleme...
function At (line 1) | function At(e){let t=re(e,B.TYPE);return t!=null&&t.toLowerCase()===bu}
function ua (line 1) | function ua(e,t){e._reconstructActiveFormattingElements(),e._appendEleme...
function aa (line 1) | function aa(e,t){e._appendElement(t,E.HTML),t.ackSelfClosing=!0}
function sa (line 1) | function sa(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(...
function ra (line 1) | function ra(e,t){t.tagName=o.IMG,t.tagID=u.IMG,_t(e,t)}
function ia (line 1) | function ia(e,t){e._insertElement(t,E.HTML),e.skipNextNewLine=!0,e.token...
function na (line 1) | function na(e,t){e.openElements.hasInButtonScope(u.P)&&e._closePElement(...
function ca (line 1) | function ca(e,t){e.framesetOk=!1,e._switchToTextParsing(t,O.RAWTEXT)}
function Tt (line 1) | function Tt(e,t){e._switchToTextParsing(t,O.RAWTEXT)}
function oa (line 1) | function oa(e,t){e._reconstructActiveFormattingElements(),e._insertEleme...
function da (line 1) | function da(e,t){e.openElements.currentTagId===u.OPTION&&e.openElements....
function Ea (line 1) | function Ea(e,t){e.openElements.hasInScope(u.RUBY)&&e.openElements.gener...
function Ta (line 1) | function Ta(e,t){e.openElements.hasInScope(u.RUBY)&&e.openElements.gener...
function ha (line 1) | function ha(e,t){e._reconstructActiveFormattingElements(),Se(t),Ee(t),t....
function la (line 1) | function la(e,t){e._reconstructActiveFormattingElements(),ge(t),Ee(t),t....
function ht (line 1) | function ht(e,t){e._reconstructActiveFormattingElements(),e._insertEleme...
function S (line 1) | function S(e,t){switch(t.tagID){case u.I:case u.S:case u.B:case u.U:case...
function fa (line 1) | function fa(e,t){if(e.openElements.hasInScope(u.BODY)&&(e.insertionMode=...
function ma (line 1) | function ma(e,t){e.openElements.hasInScope(u.BODY)&&(e.insertionMode=n.A...
function _a (line 1) | function _a(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElem...
function Aa (line 1) | function Aa(e){let t=e.openElements.tmplCount>0,{formElement:a}=e;t||(e....
function ba (line 1) | function ba(e){e.openElements.hasInButtonScope(u.P)||e._insertFakeElemen...
function Na (line 1) | function Na(e){e.openElements.hasInListItemScope(u.LI)&&(e.openElements....
function Ca (line 1) | function Ca(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElem...
function Ia (line 1) | function Ia(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElement...
function Ra (line 1) | function Ra(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElem...
function La (line 1) | function La(e){e._reconstructActiveFormattingElements(),e._insertFakeEle...
function bt (line 1) | function bt(e,t){let a=t.tagName,s=t.tagID;for(let c=e.openElements.stac...
function me (line 1) | function me(e,t){switch(t.tagID){case u.A:case u.B:case u.I:case u.S:cas...
function Nt (line 1) | function Nt(e,t){e.tmplInsertionModeStack.length>0?St(e,t):Be(e,t)}
function pa (line 1) | function pa(e,t){var a;t.tagID===u.SCRIPT&&((a=e.scriptHandler)===null||...
function Oa (line 1) | function Oa(e,t){e._err(t,d.eofInElementThatCanContainOnlyText),e.openEl...
function De (line 1) | function De(e,t){if(lt.has(e.openElements.currentTagId))switch(e.pending...
function Sa (line 1) | function Sa(e,t){e.openElements.clearBackToTableContext(),e.activeFormat...
function ga (line 1) | function ga(e,t){e.openElements.clearBackToTableContext(),e._insertEleme...
function Da (line 1) | function Da(e,t){e.openElements.clearBackToTableContext(),e._insertFakeE...
function Pa (line 1) | function Pa(e,t){e.openElements.clearBackToTableContext(),e._insertEleme...
function Ma (line 1) | function Ma(e,t){e.openElements.clearBackToTableContext(),e._insertFakeE...
function xa (line 1) | function xa(e,t){e.openElements.hasInTableScope(u.TABLE)&&(e.openElement...
function Ba (line 1) | function Ba(e,t){At(t)?e._appendElement(t,E.HTML):ee(e,t),t.ackSelfClosi...
function Ha (line 1) | function Ha(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._inser...
function v (line 1) | function v(e,t){switch(t.tagID){case u.TD:case u.TH:case u.TR:{Ma(e,t);b...
function Z (line 1) | function Z(e,t){switch(t.tagID){case u.TABLE:{e.openElements.hasInTableS...
function ee (line 1) | function ee(e,t){let a=e.fosterParentingEnabled;e.fosterParentingEnabled...
function Ct (line 1) | function Ct(e,t){e.pendingCharacterTokens.push(t)}
function It (line 1) | function It(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePend...
function W (line 1) | function W(e,t){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;...
function Ua (line 1) | function Ua(e,t){let a=t.tagID;Rt.has(a)?e.openElements.hasInTableScope(...
function Fa (line 1) | function Fa(e,t){let a=t.tagID;switch(a){case u.CAPTION:case u.TABLE:{e....
function He (line 1) | function He(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.COL:{e...
function ka (line 1) | function ka(e,t){switch(t.tagID){case u.COLGROUP:{e.openElements.current...
function he (line 1) | function he(e,t){e.openElements.currentTagId===u.COLGROUP&&(e.openElemen...
function _e (line 1) | function _e(e,t){switch(t.tagID){case u.TR:{e.openElements.clearBackToTa...
function Me (line 1) | function Me(e,t){let a=t.tagID;switch(t.tagID){case u.TBODY:case u.TFOOT...
function Ae (line 1) | function Ae(e,t){switch(t.tagID){case u.TH:case u.TD:{e.openElements.cle...
function Lt (line 1) | function Lt(e,t){switch(t.tagID){case u.TR:{e.openElements.hasInTableSco...
function ya (line 1) | function ya(e,t){let a=t.tagID;Rt.has(a)?(e.openElements.hasInTableScope...
function wa (line 1) | function wa(e,t){let a=t.tagID;switch(a){case u.TD:case u.TH:{e.openElem...
function pt (line 1) | function pt(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.OPTION...
function Ot (line 1) | function Ot(e,t){switch(t.tagID){case u.OPTGROUP:{e.openElements.stackTo...
function va (line 1) | function va(e,t){let a=t.tagID;a===u.CAPTION||a===u.TABLE||a===u.TBODY||...
function Ya (line 1) | function Ya(e,t){let a=t.tagID;a===u.CAPTION||a===u.TABLE||a===u.TBODY||...
function Qa (line 1) | function Qa(e,t){switch(t.tagID){case u.BASE:case u.BASEFONT:case u.BGSO...
function Ga (line 1) | function Ga(e,t){t.tagID===u.TEMPLATE&&y(e,t)}
function St (line 1) | function St(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagN...
function Xa (line 1) | function Xa(e,t){t.tagID===u.HTML?S(e,t):le(e,t)}
function gt (line 1) | function gt(e,t){var a;if(t.tagID===u.HTML){if(e.fragmentContext||(e.ins...
function le (line 1) | function le(e,t){e.insertionMode=n.IN_BODY,fe(e,t)}
function qa (line 1) | function qa(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.FRAMES...
function Wa (line 1) | function Wa(e,t){t.tagID===u.FRAMESET&&!e.openElements.isRootHtmlElement...
function Ka (line 1) | function Ka(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.NOFRAM...
function Va (line 1) | function Va(e,t){t.tagID===u.HTML&&(e.insertionMode=n.AFTER_AFTER_FRAMES...
function ja (line 1) | function ja(e,t){t.tagID===u.HTML?S(e,t):Te(e,t)}
function Te (line 1) | function Te(e,t){e.insertionMode=n.IN_BODY,fe(e,t)}
function za (line 1) | function za(e,t){switch(t.tagID){case u.HTML:{S(e,t);break}case u.NOFRAM...
function $a (line 1) | function $a(e,t){t.chars=C,e._insertCharacters(t)}
function Ja (line 1) | function Ja(e,t){e._insertCharacters(t),e.framesetOk=!1}
function Dt (line 1) | function Dt(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current...
function Za (line 1) | function Za(e,t){if(nt(t))Dt(e),e._startTagOutsideForeignContent(t);else...
function es (line 1) | function es(e,t){if(t.tagID===u.P||t.tagID===u.BR){Dt(e),e._endTagOutsid...
function Ue (line 1) | function Ue(e,t){return function(s){let c,T=0,l="";for(;c=e.exec(s);)T!=...
function xt (line 1) | function xt(e,t){return t.treeAdapter.isElementNode(e)&&t.treeAdapter.ge...
function Fe (line 1) | function Fe(e,t){let a={...as,...t};return xt(e,a)?"":Bt(e,a)}
function Bt (line 1) | function Bt(e,t){let a="",s=t.treeAdapter.isElementNode(e)&&t.treeAdapte...
function ss (line 1) | function ss(e,t){return t.treeAdapter.isElementNode(e)?rs(e,t):t.treeAda...
function rs (line 1) | function rs(e,t){let a=t.treeAdapter.getTagName(e);return`<${a}${is(e,t)...
function is (line 1) | function is(e,{treeAdapter:t}){let a="";for(let s of t.getAttrList(e)){i...
function ns (line 1) | function ns(e,t){let{treeAdapter:a}=t,s=a.getTextNodeContent(e),c=a.getP...
function cs (line 1) | function cs(e,{treeAdapter:t}){return`<!--${t.getCommentNodeContent(e)}-...
function os (line 1) | function os(e,{treeAdapter:t}){return`<!DOCTYPE ${t.getDocumentTypeNodeN...
function Ht (line 1) | function Ht(e,t){return J.parse(e,t)}
method constructor (line 1) | constructor(t){this.generateHead=be;this.config=[{elements:"all",tags:["...
method generateRedirect (line 1) | generateRedirect(t){return`
method iterate (line 8) | iterate(t,a){function s(c=t){for(var T=0;T<c.childNodes.length;T++)a(c.c...
method rewrite (line 8) | rewrite(t,a,s=[]){let c=this;if(Array.isArray(t)&&(t=t[0]),!t||(t=t.toSt...
FILE: docs/examples/uv-dynamic-multi/dynamic/dynamic.worker.js
function G (line 1) | function G(e){if(typeof e!="string")throw new TypeError("Path must be a ...
function zt (line 1) | function zt(e,t){for(var i="",s=0,r=-1,n=0,o,c=0;c<=e.length;++c){if(c<e...
function es (line 1) | function es(e,t){var i=t.dir||t.root,s=t.base||(t.name||"")+(t.ext||"");...
function nt (line 1) | function nt(e){return typeof e=="string"&&!!e.trim()}
function at (line 1) | function at(e,t){var i=e.split(";").filter(nt),s=i.shift(),r=Ys(s),n=r.n...
function Ys (line 1) | function Ys(e){var t="",i="",s=e.split("=");return s.length>1?(t=s.shift...
function bi (line 1) | function bi(e,t){if(t=t?Object.assign({},ie,t):ie,!e)return t.map?{}:[];...
function Js (line 1) | function Js(e){if(Array.isArray(e))return e;if(typeof e!="string")return...
function Xt (line 1) | function Xt(e){if(!e||typeof e!="string")return!1;var t=Yt.exec(e),i=t&&...
function is (line 1) | function is(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")==...
function ss (line 1) | function ss(e){if(!e||typeof e!="string")return!1;var t=Yt.exec(e),i=t&&...
function rs (line 1) | function rs(e){if(!e||typeof e!="string")return!1;var t=(0,Qt.extname)("...
function ns (line 1) | function ns(e,t){var i=["nginx","apache",void 0,"iana"];Object.keys(Ee)....
function os (line 1) | function os(){return Zt||(Zt=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCur...
function cs (line 1) | function cs(){return ei||(ei=[IDBCursor.prototype.advance,IDBCursor.prot...
function ls (line 1) | function ls(e){let t=new Promise((i,s)=>{let r=()=>{e.removeEventListene...
function ps (line 1) | function ps(e){if(je.has(e))return;let t=new Promise((i,s)=>{let r=()=>{...
method get (line 1) | get(e,t,i){if(e instanceof IDBTransaction){if(t==="done")return je.get(e...
method set (line 1) | set(e,t,i){return e[t]=i,!0}
method has (line 1) | has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!...
function si (line 1) | function si(e){Ue=e(Ue)}
function hs (line 1) | function hs(e){return e===IDBDatabase.prototype.transaction&&!("objectSt...
function us (line 1) | function us(e){return typeof e=="function"?hs(e):(e instanceof IDBTransa...
function U (line 1) | function U(e){if(e instanceof IDBRequest)return ls(e);if(Ve.has(e))retur...
function He (line 1) | function He(e,t,{blocked:i,upgrade:s,blocking:r,terminated:n}={}){let o=...
function fs (line 1) | function fs(e,{blocked:t}={}){let i=indexedDB.deleteDatabase(e);return t...
function ri (line 1) | function ri(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="st...
method encode (line 1) | encode(e){if(!e)return e;e=e.toString();let t=Array.from("ABCDEFGHIJKLMN...
method decode (line 1) | decode(e){if(!e)return e;let t={0:52,1:53,2:54,3:55,4:56,5:57,6:58,7:59,...
function ys (line 1) | function ys(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.c...
function B (line 1) | function B(e,t,i){return e(i={path:t,exports:{},require:function(s,r){re...
function gs (line 1) | function gs(){throw Error("Dynamic requires are not currently supported ...
function h (line 1) | function h(u,d){let g=65536;for(let w=0;w<d.length;w+=2){if((g+=d[w])>u)...
class i (line 1) | class i{constructor(u,d={}){this.label=u,this.keyword=d.keyword,this.bef...
method constructor (line 1) | constructor(u,d={}){this.label=u,this.keyword=d.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,n){this.line=r,this.column=n}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(o,c,l,h,u){this.token=o,this.isExpr=!!c,this.preserveSpace...
method constructor (line 7) | constructor(o,c,l){this.type="",this.start=c,this.end=0,o.options.loca...
method constructor (line 8) | constructor(l){this.type=l.type,this.value=l.value,this.start=l.start,...
function s (line 1) | function s(h,u){return new i(h,{beforeExpr:!0,binop:u})}
function c (line 1) | function c(h,u={}){return u.keyword=h,o[h]=new i(h,u)}
function r (line 1) | function r(n){return n===10||n===13||n===8232||n===8233}
class i (line 1) | class i{constructor(r,n){this.line=r,this.column=n}offset(r){return new ...
method constructor (line 1) | constructor(u,d={}){this.label=u,this.keyword=d.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,n){this.line=r,this.column=n}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(o,c,l,h,u){this.token=o,this.isExpr=!!c,this.preserveSpace...
method constructor (line 7) | constructor(o,c,l){this.type="",this.start=c,this.end=0,o.options.loca...
method constructor (line 8) | constructor(l){this.type=l.type,this.value=l.value,this.start=l.start,...
method constructor (line 1) | constructor(r,n,o){this.start=n,this.end=o,r.sourceFile!==null&&(this.so...
method constructor (line 2) | constructor(s,r,n){this.options=s=(0,ze.getOptions)(s),this.sourceFile=s...
method parse (line 3) | parse(){let s=this.options.program||this.startNode();return this.nextTok...
method inFunction (line 3) | get inFunction(){return(this.currentVarScope().flags&_.SCOPE_FUNCTION)>0}
method inGenerator (line 3) | get inGenerator(){return(this.currentVarScope().flags&_.SCOPE_GENERATOR)...
method inAsync (line 3) | get inAsync(){return(this.currentVarScope().flags&_.SCOPE_ASYNC)>0&&!thi...
method canAwait (line 3) | get canAwait(){for(let s=this.scopeStack.length-1;s>=0;s--){let r=this.s...
method allowSuper (line 3) | get allowSuper(){let s=this.currentThisScope(),r=s.flags,n=s.inClassFiel...
method allowDirectSuper (line 3) | get allowDirectSuper(){return(this.currentThisScope().flags&_.SCOPE_DIRE...
method treatFunctionsAsVar (line 3) | get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.cu...
method allowNewDotTarget (line 3) | get allowNewDotTarget(){let s=this.currentThisScope(),r=s.flags,n=s.inCl...
method inClassStaticBlock (line 3) | get inClassStaticBlock(){return(this.currentVarScope().flags&_.SCOPE_CLA...
method extend (line 3) | static extend(...s){let r=this;for(let n=0;n<s.length;n++)r=s[n](r);retu...
method parse (line 3) | static parse(s,r){return new this(r,s).parse()}
method parseExpressionAt (line 3) | static parseExpressionAt(s,r,n){let o=new this(n,s,r);return o.nextToken...
method tokenizer (line 3) | static tokenizer(s,r){return new this(r,s)}
function ae (line 3) | function ae(e,t){var i=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@itera...
function xs (line 4) | function xs(e,t){if(e){if(typeof e=="string")return ni(e,t);var i=Object...
function ni (line 4) | function ni(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=Array...
function _s (line 4) | function _s(e,t){let i=t.key.name,s=e[i],r="true";return t.type==="Metho...
function ke (line 4) | function ke(e,t){let i=e.computed,s=e.key;return!i&&(s.type==="Identifie...
function qe (line 4) | function qe(e,t){var i=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@itera...
function vs (line 5) | function vs(e,t){if(e){if(typeof e=="string")return ai(e,t);var i=Object...
function ai (line 5) | function ai(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=Array...
class i (line 5) | class i{constructor(o,c,l,h,u){this.token=o,this.isExpr=!!c,this.preserv...
method constructor (line 1) | constructor(u,d={}){this.label=u,this.keyword=d.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,n){this.line=r,this.column=n}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(o,c,l,h,u){this.token=o,this.isExpr=!!c,this.preserveSpace...
method constructor (line 7) | constructor(o,c,l){this.type="",this.start=c,this.end=0,o.options.loca...
method constructor (line 8) | constructor(l){this.type=l.type,this.value=l.value,this.start=l.start,...
function oi (line 5) | function oi(e,t){var i=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@itera...
function Es (line 6) | function Es(e,t){if(e){if(typeof e=="string")return ci(e,t);var i=Object...
function ci (line 6) | function ci(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=Array...
function hi (line 6) | function hi(e){return e.type==="MemberExpression"&&e.property.type==="Pr...
method constructor (line 7) | constructor(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[...
class i (line 7) | class i{constructor(o,c,l){this.type="",this.start=c,this.end=0,o.option...
method constructor (line 1) | constructor(u,d={}){this.label=u,this.keyword=d.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,n){this.line=r,this.column=n}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(o,c,l,h,u){this.token=o,this.isExpr=!!c,this.preserveSpace...
method constructor (line 7) | constructor(o,c,l){this.type="",this.start=c,this.end=0,o.options.loca...
method constructor (line 8) | constructor(l){this.type=l.type,this.value=l.value,this.start=l.start,...
function r (line 7) | function r(n,o,c,l){return n.type=o,n.end=c,this.options.locations&&(n.l...
function y (line 7) | function y(m){let x=w[m]={binary:(0,T.wordsRegexp)(o[m]+" "+c),nonBinary...
function r (line 7) | function r(a,f){(f==null||f>a.length)&&(f=a.length);for(var m=0,x=Array(...
function o (line 7) | function o(a){return a<=65535?String.fromCharCode(a):String.fromCharCode...
function c (line 7) | function c(a){return a===36||a>=40&&a<=43||a===46||a===63||a>=91&&a<=94|...
function l (line 7) | function l(a){return a>=65&&a<=90||a>=97&&a<=122}
function h (line 7) | function h(a){return l(a)||a===95}
function u (line 7) | function u(a){return h(a)||d(a)}
function d (line 7) | function d(a){return a>=48&&a<=57}
function g (line 7) | function g(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102}
function w (line 7) | function w(a){return a>=65&&a<=70?10+(a-65):a>=97&&a<=102?10+(a-97):a-48}
function y (line 7) | function y(a){return a>=48&&a<=55}
method constructor (line 7) | constructor(f){this.parser=f,this.validFlags=`gim${f.options.ecmaVersion...
method reset (line 7) | reset(f,m,x){let b=x.indexOf("u")!==-1;this.start=0|f,this.source=m+"",t...
method raise (line 7) | raise(f){this.parser.raiseRecoverable(this.start,`Invalid regular expres...
method at (line 7) | at(f,m=!1){let x=this.source,b=x.length;if(f>=b)return-1;let S=x.charCod...
method nextIndex (line 7) | nextIndex(f,m=!1){let x=this.source,b=x.length;if(f>=b)return b;let S=x....
method current (line 7) | current(f=!1){return this.at(this.pos,f)}
method lookahead (line 7) | lookahead(f=!1){return this.at(this.nextIndex(this.pos,f),f)}
method advance (line 7) | advance(f=!1){this.pos=this.nextIndex(this.pos,f)}
method eat (line 7) | eat(f,m=!1){return this.current(m)===f&&(this.advance(m),!0)}
class i (line 8) | class i{constructor(l){this.type=l.type,this.value=l.value,this.start=l....
method constructor (line 1) | constructor(u,d={}){this.label=u,this.keyword=d.keyword,this.beforeExp...
method constructor (line 1) | constructor(r,n){this.line=r,this.column=n}
method offset (line 1) | offset(r){return new i(this.line,this.column+r)}
method constructor (line 5) | constructor(o,c,l,h,u){this.token=o,this.isExpr=!!c,this.preserveSpace...
method constructor (line 7) | constructor(o,c,l){this.type="",this.start=c,this.end=0,o.options.loca...
method constructor (line 8) | constructor(l){this.type=l.type,this.value=l.value,this.start=l.start,...
function r (line 8) | function r(c){return typeof BigInt!="function"?null:BigInt(c.replace(/_/...
function n (line 8) | function n(c){return c<=65535?String.fromCharCode(c):String.fromCharCode...
function s (line 10) | function s(c){if(typeof WeakMap!="function")return null;var l=new WeakMa...
method constructor (line 10) | constructor(i,s){super(s.message||s.code);j(this,"status");j(this,"body"...
method constructor (line 10) | constructor(t,i){j(this,"base");this.base=new URL(`./v${t}/`,i)}
function Q (line 10) | function Q(e,t){let i=(e&65535)+(t&65535);return(e>>16)+(t>>16)+(i>>16)<...
function Ts (line 10) | function Ts(e,t){return e<<t|e>>>32-t}
function Te (line 10) | function Te(e,t,i,s,r,n){return Q(Ts(Q(Q(t,e),Q(s,n)),r),i)}
function L (line 10) | function L(e,t,i,s,r,n,o){return Te(t&i|~t&s,e,t,r,n,o)}
function R (line 10) | function R(e,t,i,s,r,n,o){return Te(t&s|i&~s,e,t,r,n,o)}
function O (line 10) | function O(e,t,i,s,r,n,o){return Te(t^i^s,e,t,r,n,o)}
function D (line 10) | function D(e,t,i,s,r,n,o){return Te(i^(t|~s),e,t,r,n,o)}
function Pe (line 10) | function Pe(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;let i=17325841...
function di (line 10) | function di(e){let t="",i=e.length*32;for(let s=0;s<i;s+=8)t+=String.fro...
function et (line 10) | function et(e){let t=[],i=e.length>>2;for(let r=0;r<i;r+=1)t[r]=0;let s=...
function Ls (line 10) | function Ls(e){return di(Pe(et(e),e.length*8))}
function Rs (line 10) | function Rs(e,t){let i=et(e),s=[],r=[];i.length>16&&(i=Pe(i,e.length*8))...
function mi (line 10) | function mi(e){let t="0123456789abcdef",i="";for(let s=0;s<e.length;s+=1...
function tt (line 10) | function tt(e){return unescape(encodeURIComponent(e))}
function yi (line 10) | function yi(e){return Ls(tt(e))}
function Os (line 10) | function Os(e){return mi(yi(e))}
function gi (line 10) | function gi(e,t){return Rs(tt(e),tt(t))}
function Ds (line 10) | function Ds(e,t){return mi(gi(e,t))}
function Bs (line 10) | function Bs(e,t,i){return t?i?gi(t,e):Ds(t,e):i?yi(e):Os(e)}
function Ms (line 10) | function Ms(e){let t=new Headers(e);if(e.has("x-bare-headers")){let i=e....
function Vs (line 10) | function Vs(e){let t=new Headers(e),i="x-bare-headers";if(e.has(`${i}-0`...
method constructor (line 10) | constructor(i){super(3,i);j(this,"ws");j(this,"http");this.ws=new URL(th...
method connect (line 10) | connect(i,s,r,n,o){let c=new X(this.ws),l=()=>{c.removeEventListener("cl...
method request (line 10) | async request(i,s,r,n,o,c,l){if(n.protocol.startsWith("blob:")){let y=aw...
method readBareResponse (line 10) | async readBareResponse(i){if(!i.ok)throw new Ne(i.status,await i.json())...
method createBareHeaders (line 10) | createBareHeaders(i,s,r=[],n=[],o=[]){let c=new Headers;c.set("x-bare-ur...
function Us (line 10) | function Us(e){for(let t=0;t<e.length;t++){let i=e[t];if(!js.includes(i)...
function xi (line 10) | async function xi(e,t){let i=await Je(e,{signal:t});if(!i.ok)throw new E...
method constructor (line 10) | constructor(t,i){j(this,"manifest");j(this,"client");j(this,"server");j(...
method loadManifest (line 10) | loadManifest(t){return this.manifest=t,this.client=this.getClient(),this...
method demand (line 10) | demand(){return this.onDemand?(this.working||(this.working=xi(this.serve...
method getClient (line 10) | getClient(){for(let[t,i]of Fs)if(this.manifest.versions.includes(t))retu...
method createWebSocket (line 10) | createWebSocket(t,i=[],s){if(!this.client)throw new TypeError("You need ...
method fetch (line 10) | async fetch(t,i){let s=Ws(t)?new Is(t,i):t,r=i?.headers||s.headers,n=r i...
function Ws (line 10) | function Ws(e){return typeof e=="string"||e instanceof URL}
function wi (line 10) | async function wi(e,t){let i=await xi(e,t);return new ce(e,i)}
function qs (line 10) | function qs(e,t){if(typeof e!="string")throw new TypeError("argument str...
function st (line 10) | function st(e,t,i){var s=i||{},r=s.encode||Ks;if(typeof r!="function")th...
function zs (line 10) | function zs(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}
function Ks (line 10) | function Ks(e){return encodeURIComponent(e)}
function Xs (line 10) | function Xs(e){return Gs.call(e)==="[object Date]"||e instanceof Date}
function Qs (line 10) | function Qs(e,t){try{return t(e)}catch{return e}}
function Zs (line 10) | function Zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a...
function vi (line 10) | function vi(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.e...
function er (line 10) | function er(e,t,i){return t&&vi(e.prototype,t),i&&vi(e,i),e}
function se (line 10) | function se(e,t){var i=e.generator;if(e.write("("),t!=null&&t.length>0){...
function Ni (line 10) | function Ni(e,t,i,s){var r=e.expressionsPrecedence[t.type];if(r===F)retu...
function Oe (line 10) | function Oe(e,t,i,s){var r=e.generator;Ni(e,t,i,s)?(e.write("("),r[t.typ...
function ir (line 10) | function ir(e,t,i,s){var r=t.split(`
function M (line 11) | function M(e,t,i,s){for(var r=t.length,n=0;n<r;n++){var o=t[n];e.write(i...
function sr (line 12) | function sr(e){for(var t=e;t!=null;){var i=t.type;if(i[0]==="C"&&i[1]===...
function ot (line 12) | function ot(e,t){var i=e.generator,s=t.declarations;e.write(t.kind+" ");...
function e (line 12) | function e(t){Zs(this,e);var i=t??rr;this.output="",i.output!=null?(this...
function Ti (line 15) | function Ti(e,t){var i=new ar(t);return i.generator[e.type](e,i),i.output}
method constructor (line 15) | constructor(t){this.mime=Jt;this.idb=Ce;this.path=or;this.acorn={parse:u...
function pt (line 15) | function pt(e,t,i,s,r="",n=!1,o=""){if(self.__dynamic$config)var c=self....
method constructor (line 15) | constructor(t){this.generateHead=pt;this.config=[{elements:"all",tags:["...
method generateRedirect (line 15) | generateRedirect(t){return`
method iterate (line 22) | iterate(t,i){function s(r=t){for(var n=0;n<r.childNodes.length;n++)i(r.c...
method rewrite (line 22) | rewrite(t,i,s=[]){return Array.isArray(t)&&(t=t[0]),!t||(t=t.toString(),...
method constructor (line 23) | constructor(t){this.ctx=t.ctx}
method rewrite (line 23) | rewrite(t,i,s={}){let r=this;return t&&t.toString().replace(/((@import [...
function ht (line 23) | function ht(e,t){if(typeof e!="object"||!t)return;i(e,null,t);function i...
function ut (line 23) | function ut(e,t={},i,s){var r=this.ctx.modules.acorn.parse(e.toString(),...
function ft (line 23) | function ft(e,t={}){if(typeof e.name!="string")return!1;if(e.__dynamic!=...
function re (line 23) | function re(e,t={}){Object.entries({type:"CallExpression",callee:{type:"...
function dt (line 23) | function dt(e,t={},i={}){if(e.object.name+="",t.type!=="AssignmentExpres...
function mt (line 23) | function mt(e,t={}){if(!(e.value instanceof String)||(e.value=="__dynami...
function De (line 23) | function De(e,t={}){e.__dynamic||e.arguments.length&&(e.arguments=[{type...
function yt (line 23) | function yt(e,t={}){if(!(t.type=="AssignmentExpression"&&t.left==e)){if(...
function gt (line 23) | function gt(e,t={}){if(e.left.type=="Identifier"){if(e.left.__dynamic===...
function xt (line 23) | function xt(e,t={}){e.parent.type!="ObjectPattern"&&e.parent?.parent?.ty...
function wt (line 23) | function wt(e,t={},i={},s={}){if(e.type=="Literal"&&(t.type=="ImportDecl...
function bt (line 23) | function bt(e,t={}){if(e.id.type!=="Identifier")return!1;e.id.__dynamic!...
function cr (line 23) | function cr(e,t,i={},s={},r={},n={}){if(!e.__dynamic){switch(t){case"Ide...
method constructor (line 23) | constructor(t){this.iterate=ht;this.process=ut;this.emit=Oi;this.ctx=t.ctx}
method rewrite (line 23) | rewrite(t,i={},s=!0,r={}){if(!t||t instanceof Object||(t=t.toString(),t....
method constructor (line 28) | constructor(t){this.config={rewrite:[["icons","urlit"],["name"," - Dynam...
method rewrite (line 28) | rewrite(t,i){let s=JSON.parse(t);for(let c in this.config)if(c=="rewrite...
method encode (line 28) | encode(e,t){return!e||!e.toString()?e:e.split(", ").map(i=>i.split(" ")....
method decode (line 28) | decode(e){return e}
method constructor (line 28) | constructor(t){this.ctx=t,this.html=new pe(this),this.srcset=Di,this.js=...
function Mi (line 28) | async function Mi(e){var t;if(e.method==="GET"){var i=new URL(e.url);t=i...
function Vi (line 28) | function Vi({url:e}){return!e.toString().substr(location.origin.length,(...
function vt (line 28) | function vt({url:e}){return!e.toString().substr(location.origin.length,t...
function Et (line 28) | async function Et(e,t,i){for(let r in e){if(this.ctx.headers.csp.indexOf...
function Ct (line 28) | function Ct(e,t,i,s){let{referrer:r}=i;if(["origin","Origin","host","Hos...
function St (line 28) | function St(e){var t=Object.assign(Object.create(Object.getPrototypeOf(e...
function kt (line 28) | function kt(e){try{if(new new Proxy(e,{construct:()=>({})}),!Object.getO...
function It (line 28) | function It(e){return e.url.toString().substr(location.origin.length,e.u...
function At (line 28) | async function At(e){let t;if(self.__dynamic$config.mode!=="development"...
function Pt (line 29) | async function Pt(e,t){}
method constructor (line 29) | constructor(t){this.rawHeaders={};this.headers=new Headers({});this.stat...
method blob (line 29) | async blob(){return this.body}
method text (line 29) | async text(){return await this.body.text()}
function Nt (line 29) | function Nt(e){var t=this.ctx.encoding;return typeof this.ctx.config.enc...
function Tt (line 29) | function Tt(e,t,i){if(!e.url.startsWith("http"))return e.url;let s=e.url...
method constructor (line 29) | constructor(t){this.route=Mi;this.routePath=Vi;this.path=vt;this.resHead...
function Rt (line 29) | function Rt(e,t){if(!e)return e;if(e=new String(e).toString(),e.startsWi...
function Ot (line 29) | function Ot(e){if(!e||(e=new String(e).toString(),e.match(this.ctx.regex...
method constructor (line 29) | constructor(t){this.encode=Rt;this.decode=Ot;this.ctx=t}
function Bt (line 29) | function Bt(e){e=new URL(e.href);for(var t in e)this.ctx.meta[t]=e[t];re...
method constructor (line 29) | constructor(){}
method constructor (line 29) | constructor(i){super();this.load=Bt;this.ctx=i}
method constructor (line 29) | constructor(t="",i=new Request("")){this.headers=new Headers({});this.re...
method init (line 29) | get init(){return{headers:this.headers||new Headers({}),redirect:this.re...
method constructor (line 29) | constructor(i="",s=new Response("")){super(i,s);this.status=200;this.sta...
method init (line 29) | get init(){return{headers:this.headers||new Headers({}),statusText:this....
method constructor (line 29) | constructor(t){this.Request=ye;this.Response=ge;this.ctx=t}
method constructor (line 29) | constructor(t){this.BypassRegex=lr;this.DataRegex=pr;this.WeirdRegex=hr;...
method constructor (line 29) | constructor(t){this.ctx=t}
function Ut (line 29) | function Ut(e,t=""){return(this.ctx.modules.mime.contentType(t||e.pathna...
function Ft (line 29) | function Ft(e,t="",i=""){let s;return!t&&this.ctx.modules.mime.contentTy...
function $t (line 29) | function $t(e,t=""){if(e.pathname.endsWith(".js")&&t=="text/plain")retur...
method constructor (line 29) | constructor(t){this.html=Ft;this.js=$t;this.css=Ut;this.ctx=t}
function ur (line 29) | function ur(e,t){return e||(e=[]),e.find(i=>i.name==t.name)?e[e.findInde...
method upgrade (line 29) | async upgrade(e){await e.createObjectStore("__dynamic$cookies")}
method constructor (line 29) | constructor(t){this.db=q;this.ctx=t}
method get (line 29) | async get(t){this._db||(this._db=this.db.open());let i=await q.get(t,thi...
method set (line 29) | async set(t,i=""){return i=this.ctx.modules.setCookieParser.parse(i,{dec...
method open (line 29) | async open(){await q.open()}
method update (line 29) | async update(t){return this._db||(this._db=this.db.open()),await q.updat...
method constructor (line 29) | constructor(t){this.modules=new Ri(this);this.util=new ji(this);this.htt...
method on (line 29) | on(t,i){this.listeners.push({event:t,cb:i})}
method fire (line 29) | fire(t,i){var s=!1;for(var r of this.listeners)r.event===t&&(i=(s=!0,r.c...
method get (line 29) | get(){return new URL(t.url.decode(this.url))}
method constructor (line 29) | constructor(s=e.__dynamic$config){this.listeners=[];this.middleware=t.mi...
method route (line 29) | async route(s){let{request:r}=s;if(r.url.startsWith(t.config.bare.path.t...
method fetch (line 29) | async fetch(s){let{request:r}=s;try{if(r.mode!=="navigate"&&(r.client=(a...
FILE: docs/examples/uv-dynamic-multi/resources/scripts/backdrop.js
function getWebGLContext (line 23) | function getWebGLContext(canvas) {
function getSupportedFormat (line 73) | function getSupportedFormat(gl, internalFormat, format, type)
function supportRenderTextureFormat (line 94) | function supportRenderTextureFormat(gl, internalFormat, format, type) {
function pointerPrototype (line 113) | function pointerPrototype() {
class GLProgram (line 126) | class GLProgram {
method constructor (line 127) | constructor(vertexShader, fragmentShader) {
method bind (line 145) | bind() {
function compileShader (line 150) | function compileShader(type, source) {
function initFramebuffers (line 427) | function initFramebuffers() {
function createFBO (line 443) | function createFBO(texId, w, h, internalFormat, format, type, param) {
function createDoubleFBO (line 462) | function createDoubleFBO(texId, w, h, internalFormat, format, type, para...
function update (line 499) | function update() {
function splat (line 588) | function splat(x, y, dx, dy, color) {
function multipleSplats (line 604) | function multipleSplats(amount) {
function resizeCanvas (line 615) | function resizeCanvas() {
FILE: docs/examples/uv-dynamic-multi/resources/scripts/index.js
function worker (line 3) | async function worker() {
function prependHttps (line 14) | function prependHttps(url) {
function isUrl (line 21) | function isUrl(val = "") {
FILE: docs/examples/uv-dynamic-multi/resources/scripts/notice.js
function greet (line 4) | async function greet(){
FILE: docs/examples/uv-dynamic-multi/uv/uv.bundle.js
function B (line 2) | function B(e){if(e<128)return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57|...
function U (line 2) | function U(e){return 10===e||13===e||8232===e||8233===e}
function F (line 2) | function F(e){return 32===e||9===e||U(e)||11===e||12===e||160===e||e>=57...
function H (line 2) | function H(e,t){var n="";for(t|=0;t>0;t>>>=1,e+=e)1&t&&(n+=e);return n}
function j (line 2) | function j(e,t){var n,a;function i(e){return"object"==typeof e&&e instan...
function G (line 2) | function G(e,t){return 8232==(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029...
function q (line 2) | function q(e,t){var n,i,s="\\";switch(e){case 8:s+="b";break;case 12:s+=...
function z (line 2) | function z(e){var t="\\";switch(e){case 92:t+="\\";break;case 10:t+="n";...
function Y (line 2) | function Y(e,t){if(!e.length)return t;if(!t.length)return e;var n=e.char...
function V (line 2) | function V(){var e=ue.indent;return ue.indent+=ue.indentUnit,e}
function W (line 2) | function W(e){return e.type===m.BlockStatement?ue.optSpace:e.type===m.Em...
function Q (line 2) | function Q(e){return e.type===m.BlockStatement?ue.optSpace:ue.newline+ue...
function X (line 2) | function X(e){var t=e.body;if(function(e){var t=e.params,n=t.length,a=n-...
function Z (line 2) | function Z(e){return!!e&&e.type===m.LogicalExpression}
function ee (line 2) | function ee(e,t,n){var a=e.operator,i=P[e.operator],s=i<t.precedence,o=t...
function te (line 2) | function te(e){var t=e.elements,n=t.length;if(n){var a=n-1,i=n>1,s=V(),o...
function ne (line 2) | function ne(e){var t=e.blocks,n=e.filter,a=e.type===m.GeneratorExpressio...
function se (line 2) | function se(e,t,n){for(var a=n.length,i=a-1,s=0;s<a;++s){e=Y(e,le(n[s],K...
function oe (line 2) | function oe(e,t,n){var a=t.body,i=t.left,s=!l&&n.semicolonOptional,o=V()...
function ce (line 2) | function ce(e,t,n){var a=ue.js;ue.js="",de[e.type](e,t,n);var i=ue.js;re...
function le (line 2) | function le(e,t){var n=ue.js;ue.js="",me[e.type](e,t);var a=ue.js;return...
function pe (line 2) | function pe(e){return function(t,n){d.verbatim&&t.hasOwnProperty(d.verba...
function s (line 2) | function s(){s.init.call(this)}
function i (line 2) | function i(n){e.removeListener(t,s),a(n)}
function s (line 2) | function s(){"function"==typeof e.removeListener&&e.removeListener("erro...
function r (line 2) | function r(e){if("function"!=typeof e)throw new TypeError('The "listener...
function c (line 2) | function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._m...
function l (line 2) | function l(e,t,n,a){var i,s,o,l;if(r(n),void 0===(s=e._events)?(s=e._eve...
function p (line 2) | function p(){if(!this.fired)return this.target.removeListener(this.type,...
function u (line 2) | function u(e,t,n){var a={fired:!1,wrapFn:void 0,target:e,type:t,listener...
function d (line 2) | function d(e,t,n){var a=e._events;if(void 0===a)return[];var i=a[t];retu...
function m (line 2) | function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"...
function h (line 2) | function h(e,t){for(var n=new Array(t),a=0;a<t;++a)n[a]=e[a];return n}
function f (line 2) | function f(e,t,n,a){if("function"==typeof e.on)a.once?e.once(t,n):e.on(t...
function n (line 2) | function n(e){return"string"==typeof e&&!!e.trim()}
function a (line 2) | function a(e,a){var i=e.split(";").filter(n),s=function(e){var t="",n=""...
function i (line 2) | function i(e,i){if(i=i?Object.assign({},t,i):t,!e)return i.map?{}:[];if(...
function c (line 2) | function c(){for(;r<e.length&&/\s/.test(e.charAt(r));)r+=1;return r<e.le...
function o (line 2) | function o(){this._array=[],this._set=s?new Map:Object.create(null)}
function i (line 2) | function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1...
function r (line 2) | function r(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceR...
function i (line 2) | function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3]...
function s (line 2) | function s(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth...
function l (line 2) | function l(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),o=i(e);if(o&&...
function u (line 2) | function u(e){return e}
function d (line 2) | function d(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.ch...
function m (line 2) | function m(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}
function n (line 2) | function n(a){var i=t[a];if(void 0!==i)return i.exports;var s=t[a]={expo...
function ae (line 2) | function ae(e){return e>=55296&&e<=57343}
function ie (line 2) | function ie(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31...
function se (line 2) | function se(e){return e>=64976&&e<=65007||Q.has(e)}
class re (line 2) | class re{constructor(e){this.handler=e,this.html="",this.pos=-1,this.las...
method constructor (line 2) | constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos...
method col (line 2) | get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==t...
method offset (line 2) | get offset(){return this.droppedBufferSize+this.pos}
method getError (line 2) | getError(e){const{line:t,col:n,offset:a}=this;return{code:e,startLine:...
method _err (line 2) | _err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(...
method _addGap (line 2) | _addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}
method _processSurrogate (line 2) | _processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.ht...
method willDropParsedChunk (line 2) | willDropParsedChunk(){return this.pos>this.bufferWaterline}
method dropParsedChunk (line 2) | dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.sub...
method write (line 2) | write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunk...
method insertHtmlAtCurrentPos (line 2) | insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+...
method startsWith (line 2) | startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endO...
method peek (line 2) | peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChu...
method advance (line 2) | advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.li...
method _checkForProblematicCharacters (line 2) | _checkForProblematicCharacters(e){ie(e)?this._err(oe.controlCharacterI...
method retreat (line 2) | retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=t...
function le (line 2) | function le(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name=...
function fe (line 2) | function fe(e){return he(function(e){var t;return e>=55296&&e<=57343||e>...
function xe (line 2) | function xe(e){return function(t,n){let a="",i=0,s=0;for(;(s=t.indexOf("...
function Ee (line 2) | function Ee(e,t,n,a){const i=(t&be.BRANCH_LENGTH)>>7,s=t&be.JUMP_TABLE;i...
function Ce (line 2) | function Ce(e){var t;return null!==(t=_e.get(e))&&void 0!==t?t:ye.UNKNOWN}
function Ie (line 2) | function Ie(e){return e===Se.H1||e===Se.H2||e===Se.H3||e===Se.H4||e===Se...
function Pe (line 2) | function Pe(e){return e>=K.DIGIT_0&&e<=K.DIGIT_9}
function Oe (line 2) | function Oe(e){return e>=K.LATIN_CAPITAL_A&&e<=K.LATIN_CAPITAL_Z}
function Me (line 2) | function Me(e){return function(e){return e>=K.LATIN_SMALL_A&&e<=K.LATIN_...
function Be (line 2) | function Be(e){return Me(e)||Pe(e)}
function Ue (line 2) | function Ue(e){return e>=K.LATIN_CAPITAL_A&&e<=K.LATIN_CAPITAL_F}
function Fe (line 2) | function Fe(e){return e>=K.LATIN_SMALL_A&&e<=K.LATIN_SMALL_F}
function He (line 2) | function He(e){return e+32}
function je (line 2) | function je(e){return e===K.SPACE||e===K.LINE_FEED||e===K.TABULATION||e=...
function Ge (line 2) | function Ge(e){return je(e)||e===K.SOLIDUS||e===K.GREATER_THAN_SIGN}
class qe (line 2) | class qe{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,t...
method constructor (line 2) | constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inL...
method _err (line 2) | _err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||...
method getCurrentLocation (line 2) | getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{star...
method _runParsingLoop (line 2) | _runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!th...
method pause (line 2) | pause(){this.paused=!0}
method resume (line 2) | resume(e){if(!this.paused)throw new Error("Parser was already resumed"...
method write (line 2) | write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runPars...
method insertHtmlAtCurrentPos (line 2) | insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlA...
method _ensureHibernation (line 2) | _ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._u...
method _consume (line 2) | _consume(){return this.consumedAfterSnapshot++,this.preprocessor.advan...
method _unconsume (line 2) | _unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}
method _reconsumeInState (line 2) | _reconsumeInState(e,t){this.state=e,this._callState(t)}
method _advanceBy (line 2) | _advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.p...
method _consumeSequenceIfMatch (line 2) | _consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)...
method _createStartTagToken (line 2) | _createStartTagToken(){this.currentToken={type:ce.START_TAG,tagName:""...
method _createEndTagToken (line 2) | _createEndTagToken(){this.currentToken={type:ce.END_TAG,tagName:"",tag...
method _createCommentToken (line 2) | _createCommentToken(e){this.currentToken={type:ce.COMMENT,data:"",loca...
method _createDoctypeToken (line 2) | _createDoctypeToken(e){this.currentToken={type:ce.DOCTYPE,name:e,force...
method _createCharacterToken (line 2) | _createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,...
method _createAttr (line 2) | _createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation...
method _leaveAttrName (line 2) | _leaveAttrName(){var e,t;const n=this.currentToken;if(null===le(n,this...
method _leaveAttrValue (line 2) | _leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=...
method prepareToken (line 2) | prepareToken(e){this._emitCurrentCharacterToken(e.location),this.curre...
method emitCurrentTagToken (line 2) | emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e...
method emitCurrentComment (line 2) | emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),t...
method emitCurrentDoctype (line 2) | emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),t...
method _emitCurrentCharacterToken (line 2) | _emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&...
method _emitEOFToken (line 2) | _emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.sta...
method _appendCharToCurrentCharacterToken (line 2) | _appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)...
method _emitCodePoint (line 2) | _emitCodePoint(e){const t=je(e)?ce.WHITESPACE_CHARACTER:e===K.NULL?ce....
method _emitChars (line 2) | _emitChars(e){this._appendCharToCurrentCharacterToken(ce.CHARACTER,e)}
method _matchNamedCharacterReference (line 2) | _matchNamedCharacterReference(e){let t=null,n=0,a=!1;for(let s=0,o=pe[...
method _isCharacterReferenceInAttribute (line 2) | _isCharacterReferenceInAttribute(){return this.returnState===Le.ATTRIB...
method _flushCodePointConsumedAsCharacterReference (line 2) | _flushCodePointConsumedAsCharacterReference(e){this._isCharacterRefere...
method _callState (line 2) | _callState(e){switch(this.state){case Le.DATA:this._stateData(e);break...
method _stateData (line 2) | _stateData(e){switch(e){case K.LESS_THAN_SIGN:this.state=Le.TAG_OPEN;b...
method _stateRcdata (line 2) | _stateRcdata(e){switch(e){case K.AMPERSAND:this.returnState=Le.RCDATA,...
method _stateRawtext (line 2) | _stateRawtext(e){switch(e){case K.LESS_THAN_SIGN:this.state=Le.RAWTEXT...
method _stateScriptData (line 2) | _stateScriptData(e){switch(e){case K.LESS_THAN_SIGN:this.state=Le.SCRI...
method _statePlaintext (line 2) | _statePlaintext(e){switch(e){case K.NULL:this._err(oe.unexpectedNullCh...
method _stateTagOpen (line 2) | _stateTagOpen(e){if(Me(e))this._createStartTagToken(),this.state=Le.TA...
method _stateEndTagOpen (line 2) | _stateEndTagOpen(e){if(Me(e))this._createEndTagToken(),this.state=Le.T...
method _stateTagName (line 2) | _stateTagName(e){const t=this.currentToken;switch(e){case K.SPACE:case...
method _stateRcdataLessThanSign (line 2) | _stateRcdataLessThanSign(e){e===K.SOLIDUS?this.state=Le.RCDATA_END_TAG...
method _stateRcdataEndTagOpen (line 2) | _stateRcdataEndTagOpen(e){Me(e)?(this.state=Le.RCDATA_END_TAG_NAME,thi...
method handleSpecialEndTag (line 2) | handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStart...
method _stateRcdataEndTagName (line 2) | _stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChar...
method _stateRawtextLessThanSign (line 2) | _stateRawtextLessThanSign(e){e===K.SOLIDUS?this.state=Le.RAWTEXT_END_T...
method _stateRawtextEndTagOpen (line 2) | _stateRawtextEndTagOpen(e){Me(e)?(this.state=Le.RAWTEXT_END_TAG_NAME,t...
method _stateRawtextEndTagName (line 2) | _stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitCha...
method _stateScriptDataLessThanSign (line 2) | _stateScriptDataLessThanSign(e){switch(e){case K.SOLIDUS:this.state=Le...
method _stateScriptDataEndTagOpen (line 2) | _stateScriptDataEndTagOpen(e){Me(e)?(this.state=Le.SCRIPT_DATA_END_TAG...
method _stateScriptDataEndTagName (line 2) | _stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emit...
method _stateScriptDataEscapeStart (line 2) | _stateScriptDataEscapeStart(e){e===K.HYPHEN_MINUS?(this.state=Le.SCRIP...
method _stateScriptDataEscapeStartDash (line 2) | _stateScriptDataEscapeStartDash(e){e===K.HYPHEN_MINUS?(this.state=Le.S...
method _stateScriptDataEscaped (line 2) | _stateScriptDataEscaped(e){switch(e){case K.HYPHEN_MINUS:this.state=Le...
method _stateScriptDataEscapedDash (line 2) | _stateScriptDataEscapedDash(e){switch(e){case K.HYPHEN_MINUS:this.stat...
method _stateScriptDataEscapedDashDash (line 2) | _stateScriptDataEscapedDashDash(e){switch(e){case K.HYPHEN_MINUS:this....
method _stateScriptDataEscapedLessThanSign (line 2) | _stateScriptDataEscapedLessThanSign(e){e===K.SOLIDUS?this.state=Le.SCR...
method _stateScriptDataEscapedEndTagOpen (line 2) | _stateScriptDataEscapedEndTagOpen(e){Me(e)?(this.state=Le.SCRIPT_DATA_...
method _stateScriptDataEscapedEndTagName (line 2) | _stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(thi...
method _stateScriptDataDoubleEscapeStart (line 2) | _stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(e...
method _stateScriptDataDoubleEscaped (line 2) | _stateScriptDataDoubleEscaped(e){switch(e){case K.HYPHEN_MINUS:this.st...
method _stateScriptDataDoubleEscapedDash (line 2) | _stateScriptDataDoubleEscapedDash(e){switch(e){case K.HYPHEN_MINUS:thi...
method _stateScriptDataDoubleEscapedDashDash (line 2) | _stateScriptDataDoubleEscapedDashDash(e){switch(e){case K.HYPHEN_MINUS...
method _stateScriptDataDoubleEscapedLessThanSign (line 2) | _stateScriptDataDoubleEscapedLessThanSign(e){e===K.SOLIDUS?(this.state...
method _stateScriptDataDoubleEscapeEnd (line 2) | _stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(ee,...
method _stateBeforeAttributeName (line 2) | _stateBeforeAttributeName(e){switch(e){case K.SPACE:case K.LINE_FEED:c...
method _stateAttributeName (line 2) | _stateAttributeName(e){switch(e){case K.SPACE:case K.LINE_FEED:case K....
method _stateAfterAttributeName (line 2) | _stateAfterAttributeName(e){switch(e){case K.SPACE:case K.LINE_FEED:ca...
method _stateBeforeAttributeValue (line 2) | _stateBeforeAttributeValue(e){switch(e){case K.SPACE:case K.LINE_FEED:...
method _stateAttributeValueDoubleQuoted (line 2) | _stateAttributeValueDoubleQuoted(e){switch(e){case K.QUOTATION_MARK:th...
method _stateAttributeValueSingleQuoted (line 2) | _stateAttributeValueSingleQuoted(e){switch(e){case K.APOSTROPHE:this.s...
method _stateAttributeValueUnquoted (line 2) | _stateAttributeValueUnquoted(e){switch(e){case K.SPACE:case K.LINE_FEE...
method _stateAfterAttributeValueQuoted (line 2) | _stateAfterAttributeValueQuoted(e){switch(e){case K.SPACE:case K.LINE_...
method _stateSelfClosingStartTag (line 2) | _stateSelfClosingStartTag(e){switch(e){case K.GREATER_THAN_SIGN:this.c...
method _stateBogusComment (line 2) | _stateBogusComment(e){const t=this.currentToken;switch(e){case K.GREAT...
method _stateMarkupDeclarationOpen (line 2) | _stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch($,!0)?(thi...
method _stateCommentStart (line 2) | _stateCommentStart(e){switch(e){case K.HYPHEN_MINUS:this.state=Le.COMM...
method _stateCommentStartDash (line 2) | _stateCommentStartDash(e){const t=this.currentToken;switch(e){case K.H...
method _stateComment (line 2) | _stateComment(e){const t=this.currentToken;switch(e){case K.HYPHEN_MIN...
method _stateCommentLessThanSign (line 2) | _stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case ...
method _stateCommentLessThanSignBang (line 2) | _stateCommentLessThanSignBang(e){e===K.HYPHEN_MINUS?this.state=Le.COMM...
method _stateCommentLessThanSignBangDash (line 2) | _stateCommentLessThanSignBangDash(e){e===K.HYPHEN_MINUS?this.state=Le....
method _stateCommentLessThanSignBangDashDash (line 2) | _stateCommentLessThanSignBangDashDash(e){e!==K.GREATER_THAN_SIGN&&e!==...
method _stateCommentEndDash (line 2) | _stateCommentEndDash(e){const t=this.currentToken;switch(e){case K.HYP...
method _stateCommentEnd (line 2) | _stateCommentEnd(e){const t=this.currentToken;switch(e){case K.GREATER...
method _stateCommentEndBang (line 2) | _stateCommentEndBang(e){const t=this.currentToken;switch(e){case K.HYP...
method _stateDoctype (line 2) | _stateDoctype(e){switch(e){case K.SPACE:case K.LINE_FEED:case K.TABULA...
method _stateBeforeDoctypeName (line 2) | _stateBeforeDoctypeName(e){if(Oe(e))this._createDoctypeToken(String.fr...
method _stateDoctypeName (line 2) | _stateDoctypeName(e){const t=this.currentToken;switch(e){case K.SPACE:...
method _stateAfterDoctypeName (line 2) | _stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case K.S...
method _stateAfterDoctypePublicKeyword (line 2) | _stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e)...
method _stateBeforeDoctypePublicIdentifier (line 2) | _stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switc...
method _stateDoctypePublicIdentifierDoubleQuoted (line 2) | _stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken...
method _stateDoctypePublicIdentifierSingleQuoted (line 2) | _stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken...
method _stateAfterDoctypePublicIdentifier (line 2) | _stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch...
method _stateBetweenDoctypePublicAndSystemIdentifiers (line 2) | _stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.current...
method _stateAfterDoctypeSystemKeyword (line 2) | _stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e)...
method _stateBeforeDoctypeSystemIdentifier (line 2) | _stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switc...
method _stateDoctypeSystemIdentifierDoubleQuoted (line 2) | _stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken...
method _stateDoctypeSystemIdentifierSingleQuoted (line 2) | _stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken...
method _stateAfterDoctypeSystemIdentifier (line 2) | _stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch...
method _stateBogusDoctype (line 2) | _stateBogusDoctype(e){const t=this.currentToken;switch(e){case K.GREAT...
method _stateCdataSection (line 2) | _stateCdataSection(e){switch(e){case K.RIGHT_SQUARE_BRACKET:this.state...
method _stateCdataSectionBracket (line 2) | _stateCdataSectionBracket(e){e===K.RIGHT_SQUARE_BRACKET?this.state=Le....
method _stateCdataSectionEnd (line 2) | _stateCdataSectionEnd(e){switch(e){case K.GREATER_THAN_SIGN:this.state...
method _stateCharacterReference (line 2) | _stateCharacterReference(e){e===K.NUMBER_SIGN?this.state=Le.NUMERIC_CH...
method _stateNamedCharacterReference (line 2) | _stateNamedCharacterReference(e){const t=this._matchNamedCharacterRefe...
method _stateAmbiguousAmpersand (line 2) | _stateAmbiguousAmpersand(e){Be(e)?this._flushCodePointConsumedAsCharac...
method _stateNumericCharacterReference (line 2) | _stateNumericCharacterReference(e){this.charRefCode=0,e===K.LATIN_SMAL...
method _stateHexademicalCharacterReferenceStart (line 2) | _stateHexademicalCharacterReferenceStart(e){!function(e){return Pe(e)|...
method _stateHexademicalCharacterReference (line 2) | _stateHexademicalCharacterReference(e){Ue(e)?this.charRefCode=16*this....
method _stateDecimalCharacterReference (line 2) | _stateDecimalCharacterReference(e){Pe(e)?this.charRefCode=10*this.char...
method _stateNumericCharacterReferenceEnd (line 2) | _stateNumericCharacterReferenceEnd(e){if(this.charRefCode===K.NULL)thi...
class Je (line 2) | class Je{get currentTmplContentOrNode(){return this._isInTemplate()?this...
method currentTmplContentOrNode (line 2) | get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAd...
method constructor (line 2) | constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],thi...
method _indexOf (line 2) | _indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}
method _isInTemplate (line 2) | _isInTemplate(){return this.currentTagId===ye.TEMPLATE&&this.treeAdapt...
method _updateCurrentElement (line 2) | _updateCurrentElement(){this.current=this.items[this.stackTop],this.cu...
method push (line 2) | push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,t...
method pop (line 2) | pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&thi...
method replace (line 2) | replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTo...
method insertAfter (line 2) | insertAfter(e,t,n){const a=this._indexOf(e)+1;this.items.splice(a,0,t)...
method popUntilTagNamePopped (line 2) | popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIn...
method shortenToLength (line 2) | shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.t...
method popUntilElementPopped (line 2) | popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength...
method popUntilPopped (line 2) | popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToL...
method popUntilNumberedHeaderPopped (line 2) | popUntilNumberedHeaderPopped(){this.popUntilPopped(We,ve.HTML)}
method popUntilTableCellPopped (line 2) | popUntilTableCellPopped(){this.popUntilPopped($e,ve.HTML)}
method popAllUpToHtmlElement (line 2) | popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}
method _indexOfTagNames (line 2) | _indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.includes(t...
method clearBackTo (line 2) | clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLeng...
method clearBackToTableContext (line 2) | clearBackToTableContext(){this.clearBackTo(Ke,ve.HTML)}
method clearBackToTableBodyContext (line 2) | clearBackToTableBodyContext(){this.clearBackTo(Xe,ve.HTML)}
method clearBackToTableRowContext (line 2) | clearBackToTableRowContext(){this.clearBackTo(Qe,ve.HTML)}
method remove (line 2) | remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop()...
method tryPeekProperlyNestedBodyElement (line 2) | tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagID...
method contains (line 2) | contains(e){return this._indexOf(e)>-1}
method getCommonAncestor (line 2) | getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items...
method isRootHtmlElementCurrent (line 2) | isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===...
method hasInScope (line 2) | hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t]...
method hasNumberedHeaderInScope (line 2) | hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=t...
method hasInListItemScope (line 2) | hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.t...
method hasInButtonScope (line 2) | hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tag...
method hasInTableScope (line 2) | hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagI...
method hasTableBodyContextInTableScope (line 2) | hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){co...
method hasInSelectScope (line 2) | hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tag...
method generateImpliedEndTags (line 2) | generateImpliedEndTags(){for(;ze.has(this.currentTagId);)this.pop()}
method generateImpliedEndTagsThoroughly (line 2) | generateImpliedEndTagsThoroughly(){for(;Ye.has(this.currentTagId);)thi...
method generateImpliedEndTagsWithExclusion (line 2) | generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Ye....
class tt (line 2) | class tt{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark...
method constructor (line 2) | constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}
method _getNoahArkConditionCandidates (line 2) | _getNoahArkConditionCandidates(e,t){const n=[],a=t.length,i=this.treeA...
method _ensureNoahArkCondition (line 2) | _ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=thi...
method insertMarker (line 2) | insertMarker(){this.entries.unshift(et)}
method pushElement (line 2) | pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift(...
method insertElementAfterBookmark (line 2) | insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.book...
method removeEntry (line 2) | removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.spli...
method clearToLastMarker (line 2) | clearToLastMarker(){const e=this.entries.indexOf(et);e>=0?this.entries...
method getElementEntryInScopeWithTagName (line 2) | getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.t...
method getElementEntry (line 2) | getElementEntry(e){return this.entries.find((t=>t.type===Ze.Element&&t...
function nt (line 2) | function nt(e){return{nodeName:"#text",value:e,parentNode:null}}
method appendChild (line 2) | appendChild(e,t){e.childNodes.push(t),t.parentNode=e}
method insertBefore (line 2) | insertBefore(e,t,n){const a=e.childNodes.indexOf(n);e.childNodes.splice(...
method setTemplateContent (line 2) | setTemplateContent(e,t){e.content=t}
method setDocumentType (line 2) | setDocumentType(e,t,n,a){const i=e.childNodes.find((e=>"#documentType"==...
method setDocumentMode (line 2) | setDocumentMode(e,t){e.mode=t}
method detachNode (line 2) | detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e...
method insertText (line 2) | insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNo...
method insertTextBefore (line 2) | insertTextBefore(e,t,n){const a=e.childNodes[e.childNodes.indexOf(n)-1];...
method adoptAttributes (line 2) | adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let a...
method setNodeSourceCodeLocation (line 2) | setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t}
method updateNodeSourceCodeLocation (line 2) | updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeL...
function pt (line 2) | function pt(e,t){return t.some((t=>e.startsWith(t)))}
function bt (line 2) | function bt(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.a...
function xt (line 2) | function xt(e){for(let t=0;t<e.attrs.length;t++){const n=mt.get(e.attrs[...
function Et (line 2) | function Et(e){for(let t=0;t<e.attrs.length;t++){const n=ht.get(e.attrs[...
function vt (line 2) | function vt(e,t,n,a){return(!a||a===ve.HTML)&&function(e,t,n){if(t===ve....
class _t (line 2) | class _t{constructor(e,t,n=null,a=null){this.fragmentContext=n,this.scri...
method constructor (line 2) | constructor(e,t,n=null,a=null){this.fragmentContext=n,this.scriptHandl...
method parse (line 2) | static parse(e,t){const n=new this(t);return n.tokenizer.write(e,!0),n...
method getFragmentParser (line 2) | static getFragmentParser(e,t){const n={...yt,...t};null!=e||(e=n.treeA...
method getFragment (line 2) | getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=...
method _err (line 2) | _err(e,t,n){var a;if(!this.onParseError)return;const i=null!==(a=e.loc...
method onItemPush (line 2) | onItemPush(e,t,n){var a,i;null===(i=(a=this.treeAdapter).onItemPush)||...
method onItemPop (line 2) | onItemPop(e,t){var n,a;if(this.options.sourceCodeLocationInfo&&this._s...
method _setContextModes (line 2) | _setContextModes(e,t){const n=e===this.document||this.treeAdapter.getN...
method _switchToTextParsing (line 2) | _switchToTextParsing(e,t){this._insertElement(e,ve.HTML),this.tokenize...
method switchToPlaintextParsing (line 2) | switchToPlaintextParsing(){this.insertionMode=kt.TEXT,this.originalIns...
method _getAdjustedCurrentElement (line 2) | _getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&th...
method _findFormInFragmentContext (line 2) | _findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(th...
method _initTokenizerForFragmentParsing (line 2) | _initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeA...
method _setDocumentType (line 2) | _setDocumentType(e){const t=e.name||"",n=e.publicId||"",a=e.systemId||...
method _attachElementToTree (line 2) | _attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){cons...
method _appendElement (line 2) | _appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t...
method _insertElement (line 2) | _insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t...
method _insertFakeElement (line 2) | _insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,ve.HT...
method _insertTemplate (line 2) | _insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,ve...
method _insertFakeRootElement (line 2) | _insertFakeRootElement(){const e=this.treeAdapter.createElement(Ae.HTM...
method _appendCommentNode (line 2) | _appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.d...
method _insertCharacters (line 2) | _insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?...
method _adoptNodes (line 2) | _adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this....
method _setEndLocation (line 2) | _setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&...
method shouldProcessStartTagTokenInForeignContent (line 2) | shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTM...
method _processToken (line 2) | _processToken(e){switch(e.type){case ce.CHARACTER:this.onCharacter(e);...
method _isIntegrationPoint (line 2) | _isIntegrationPoint(e,t,n){return vt(e,this.treeAdapter.getNamespaceUR...
method _reconstructActiveFormattingElements (line 2) | _reconstructActiveFormattingElements(){const e=this.activeFormattingEl...
method _closeTableCell (line 2) | _closeTableCell(){this.openElements.generateImpliedEndTags(),this.open...
method _closePElement (line 2) | _closePElement(){this.openElements.generateImpliedEndTagsWithExclusion...
method _resetInsertionMode (line 2) | _resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)sw...
method _resetInsertionModeForSelect (line 2) | _resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=...
method _isElementCausesFosterParenting (line 2) | _isElementCausesFosterParenting(e){return At.has(e)}
method _shouldFosterParentOnInsertion (line 2) | _shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&t...
method _findFosterParentingLocation (line 2) | _findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>...
method _fosterParentElement (line 2) | _fosterParentElement(e){const t=this._findFosterParentingLocation();t....
method _isSpecialElement (line 2) | _isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);ret...
method onCharacter (line 2) | onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode...
method onNullCharacter (line 2) | onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeign...
method onComment (line 2) | onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Rt(this,...
method onDoctype (line 2) | onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case k...
method onStartTag (line 2) | onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._proces...
method _processStartTag (line 2) | _processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)...
method _startTagOutsideForeignContent (line 2) | _startTagOutsideForeignContent(e){switch(this.insertionMode){case kt.I...
method onEndTag (line 2) | onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNo...
method _endTagOutsideForeignContent (line 2) | _endTagOutsideForeignContent(e){switch(this.insertionMode){case kt.INI...
method onEof (line 2) | onEof(e){switch(this.insertionMode){case kt.INITIAL:Ot(this,e);break;c...
method onWhitespaceCharacter (line 2) | onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLin...
function Ct (line 2) | function Ct(e,t){let n=e.activeFormattingElements.getElementEntryInScope...
function St (line 2) | function St(e,t){let n=null,a=e.openElements.stackTop;for(;a>=0;a--){con...
function wt (line 2) | function wt(e,t,n){let a=t,i=e.openElements.getCommonAncestor(t);for(let...
function It (line 2) | function It(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),a=e.tr...
function Nt (line 2) | function Nt(e,t,n){const a=Ce(e.treeAdapter.getTagName(t));if(e._isEleme...
function Dt (line 2) | function Dt(e,t,n){const a=e.treeAdapter.getNamespaceURI(n.element),{tok...
function Lt (line 2) | function Lt(e,t){for(let n=0;n<8;n++){const n=Ct(e,t);if(!n)break;const ...
function Rt (line 2) | function Rt(e,t){e._appendCommentNode(t,e.openElements.currentTmplConten...
function Pt (line 2) | function Pt(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0...
function Ot (line 2) | function Ot(e,t){e._err(t,oe.missingDoctype,!0),e.treeAdapter.setDocumen...
function Mt (line 2) | function Mt(e,t){e._insertFakeRootElement(),e.insertionMode=kt.BEFORE_HE...
function Bt (line 2) | function Bt(e,t){e._insertFakeElement(Ae.HEAD,ye.HEAD),e.headElement=e.o...
function Ut (line 2) | function Ut(e,t){switch(t.tagID){case ye.HTML:Kt(e,t);break;case ye.BASE...
function Ft (line 2) | function Ft(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpl...
function Ht (line 2) | function Ht(e,t){e.openElements.pop(),e.insertionMode=kt.AFTER_HEAD,e._p...
function jt (line 2) | function jt(e,t){const n=t.type===ce.EOF?oe.openElementsLeftAfterEof:oe....
function Gt (line 2) | function Gt(e,t){e._insertFakeElement(Ae.BODY,ye.BODY),e.insertionMode=k...
function qt (line 2) | function qt(e,t){switch(t.type){case ce.CHARACTER:Yt(e,t);break;case ce....
function zt (line 2) | function zt(e,t){e._reconstructActiveFormattingElements(),e._insertChara...
function Yt (line 2) | function Yt(e,t){e._reconstructActiveFormattingElements(),e._insertChara...
function Vt (line 2) | function Vt(e,t){e._reconstructActiveFormattingElements(),e._appendEleme...
function Wt (line 2) | function Wt(e){const t=le(e,ke.TYPE);return null!=t&&"hidden"===t.toLowe...
function Qt (line 2) | function Qt(e,t){e._switchToTextParsing(t,Re.RAWTEXT)}
function Xt (line 2) | function Xt(e,t){e._reconstructActiveFormattingElements(),e._insertEleme...
function Kt (line 2) | function Kt(e,t){switch(t.tagID){case ye.I:case ye.S:case ye.B:case ye.U...
function $t (line 2) | function $t(e,t){const n=t.tagName,a=t.tagID;for(let t=e.openElements.st...
function Jt (line 2) | function Jt(e,t){switch(t.tagID){case ye.A:case ye.B:case ye.I:case ye.S...
function Zt (line 2) | function Zt(e,t){e.tmplInsertionModeStack.length>0?bn(e,t):Pt(e,t)}
function en (line 2) | function en(e,t){if(At.has(e.openElements.currentTagId))switch(e.pending...
function tn (line 2) | function tn(e,t){switch(t.tagID){case ye.TD:case ye.TH:case ye.TR:!funct...
function nn (line 2) | function nn(e,t){switch(t.tagID){case ye.TABLE:e.openElements.hasInTable...
function an (line 2) | function an(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabl...
function sn (line 2) | function sn(e,t){e.pendingCharacterTokens.push(t)}
function on (line 2) | function on(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePend...
function rn (line 2) | function rn(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(...
function ln (line 2) | function ln(e,t){switch(t.tagID){case ye.HTML:Kt(e,t);break;case ye.COL:...
function pn (line 2) | function pn(e,t){e.openElements.currentTagId===ye.COLGROUP&&(e.openEleme...
function un (line 2) | function un(e,t){switch(t.tagID){case ye.TR:e.openElements.clearBackToTa...
function dn (line 2) | function dn(e,t){const n=t.tagID;switch(t.tagID){case ye.TBODY:case ye.T...
function mn (line 2) | function mn(e,t){switch(t.tagID){case ye.TH:case ye.TD:e.openElements.cl...
function hn (line 2) | function hn(e,t){switch(t.tagID){case ye.TR:e.openElements.hasInTableSco...
function fn (line 2) | function fn(e,t){switch(t.tagID){case ye.HTML:Kt(e,t);break;case ye.OPTI...
function gn (line 2) | function gn(e,t){switch(t.tagID){case ye.OPTGROUP:e.openElements.stackTo...
function bn (line 2) | function bn(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagN...
function xn (line 2) | function xn(e,t){var n;if(t.tagID===ye.HTML){if(e.fragmentContext||(e.in...
function En (line 2) | function En(e,t){e.insertionMode=kt.IN_BODY,qt(e,t)}
function vn (line 2) | function vn(e,t){e.insertionMode=kt.IN_BODY,qt(e,t)}
function kn (line 2) | function kn(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current...
function An (line 2) | function An(e,t){return function(n){let a,i=0,s="";for(;a=e.exec(n);)i!=...
function Sn (line 2) | function Sn(e,t){return t.treeAdapter.isElementNode(e)&&t.treeAdapter.ge...
function In (line 2) | function In(e,t){const n={...wn,...t};return Sn(e,n)?"":Nn(e,n)}
function Nn (line 2) | function Nn(e,t){let n="";const a=t.treeAdapter.isElementNode(e)&&t.tree...
function Dn (line 2) | function Dn(e,t){return t.treeAdapter.isElementNode(e)?function(e,t){con...
function Ln (line 2) | function Ln(e,t){return _t.parse(e,t)}
function Rn (line 2) | function Rn(e,t,n){"string"==typeof e&&(n=t,t=e,e=null);const a=_t.getFr...
class Pn (line 2) | class Pn extends W{constructor(e,t=!1,n={}){super(),this.stream=t,this.n...
method constructor (line 2) | constructor(e,t=!1,n={}){super(),this.stream=t,this.node=e,this.option...
method setAttribute (line 2) | setAttribute(e,t){for(const n of this.attrs)if(n.name===e)return n.val...
method getAttribute (line 2) | getAttribute(e){return(this.attrs.find((t=>t.name===e))||{}).value}
method hasAttribute (line 2) | hasAttribute(e){return!!this.attrs.find((t=>t.name===e))}
method removeAttribute (line 2) | removeAttribute(e){const t=this.attrs.findIndex((t=>t.name===e));void ...
method tagName (line 2) | get tagName(){return this.node.tagName}
method tagName (line 2) | set tagName(e){this.node.tagName=e}
method childNodes (line 2) | get childNodes(){return this.stream?null:this.node.childNodes}
method innerHTML (line 2) | get innerHTML(){return this.stream?null:In({nodeName:"#document-fragme...
method innerHTML (line 2) | set innerHTML(e){this.stream||(this.node.childNodes=Rn(e).childNodes)}
method outerHTML (line 2) | get outerHTML(){return this.stream?null:In({nodeName:"#document-fragme...
method outerHTML (line 2) | set outerHTML(e){this.stream||this.parentNode.childNodes.splice(this.p...
method textContent (line 2) | get textContent(){if(this.stream)return null;let e="";return this.iter...
method textContent (line 2) | set textContent(e){this.stream||(this.node.childNodes=[{nodeName:"#tex...
method nodeName (line 2) | get nodeName(){return this.node.nodeName}
method parentNode (line 2) | get parentNode(){return this.node.parentNode?new Pn(this.node.parentNo...
method attrs (line 2) | get attrs(){return this.node.attrs}
method namespaceURI (line 2) | get namespaceURI(){return this.node.namespaceURI}
class On (line 2) | class On{constructor(e,t,n={}){this.attr=t,this.attrs=e.attrs,this.node=...
method constructor (line 2) | constructor(e,t,n={}){this.attr=t,this.attrs=e.attrs,this.node=e,this....
method delete (line 2) | delete(){const e=this.attrs.findIndex((e=>e===this.attr));return this....
method name (line 2) | get name(){return this.attr.name}
method name (line 2) | set name(e){this.attr.name=e}
method value (line 2) | get value(){return this.attr.value}
method value (line 2) | set value(e){this.attr.value=e}
method deleted (line 2) | get deleted(){return!1}
class Mn (line 2) | class Mn{constructor(e,t,n=!1,a={}){this.stream=n,this.node=e,this.eleme...
method constructor (line 2) | constructor(e,t,n=!1,a={}){this.stream=n,this.node=e,this.element=t,th...
method nodeName (line 2) | get nodeName(){return this.node.nodeName}
method parentNode (line 2) | get parentNode(){return this.element}
method value (line 2) | get value(){return this.stream?this.node.text:this.node.value}
method value (line 2) | set value(e){this.stream?this.node.text=e:this.node.value=e}
method constructor (line 2) | constructor(e){super(),this.ctx=e,this.rewriteUrl=e.rewriteUrl,this.sour...
method rewrite (line 2) | rewrite(e,t={}){return e?this.recast(e,(e=>{e.tagName&&this.emit("elemen...
method source (line 2) | source(e,t={}){return e?this.recast(e,(e=>{e.tagName&&this.emit("element...
method recast (line 2) | recast(e,t,n={}){try{const a=(n.document?Ln:Rn)(new String(e).toString()...
method iterate (line 2) | iterate(e,t,n){if(!e)return e;if(e.tagName){const a=new Pn(e,!1,n);if(t(...
method wrapSrcset (line 2) | wrapSrcset(e,t=this.ctx.meta){return e.split(",").map((e=>{const n=e.tri...
method unwrapSrcset (line 2) | unwrapSrcset(e,t=this.ctx.meta){return e.split(",").map((e=>{const n=e.t...
function Zn (line 2) | function Zn(e){return e>=48&&e<=57}
function ea (line 2) | function ea(e){return Zn(e)||e>=65&&e<=70||e>=97&&e<=102}
function ta (line 2) | function ta(e){return e>=65&&e<=90}
function na (line 2) | function na(e){return function(e){return ta(e)||function(e){return e>=97...
function aa (line 2) | function aa(e){return na(e)||Zn(e)||45===e}
function ia (line 2) | function ia(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}
function sa (line 2) | function sa(e){return 10===e||13===e||12===e}
function oa (line 2) | function oa(e){return sa(e)||32===e||9===e}
function ra (line 2) | function ra(e,t){return 92===e&&(!sa(t)&&0!==t)}
function ca (line 2) | function ca(e,t,n){return 45===e?na(t)||45===t||ra(t,n):!!na(e)||92===e&...
function la (line 2) | function la(e,t,n){return 43===e||45===e?Zn(t)?2:46===t&&Zn(n)?3:0:46===...
function pa (line 2) | function pa(e){return 65279===e||65534===e?1:0}
function ma (line 2) | function ma(e){return e<128?ua[e]:132}
function ha (line 2) | function ha(e,t){return t<e.length?e.charCodeAt(t):0}
function fa (line 2) | function fa(e,t,n){return 13===n&&10===ha(e,t+1)?2:1}
function ga (line 2) | function ga(e,t,n){let a=e.charCodeAt(t);return ta(a)&&(a|=32),a===n}
function ba (line 2) | function ba(e,t,n,a){if(n-t!==a.length)return!1;if(t<0||n>e.length)retur...
function xa (line 2) | function xa(e,t){for(;t<e.length&&oa(e.charCodeAt(t));t++);return t}
function Ea (line 2) | function Ea(e,t){for(;t<e.length&&Zn(e.charCodeAt(t));t++);return t}
function va (line 2) | function va(e,t){if(ea(ha(e,(t+=2)-1))){for(const n=Math.min(e.length,t+...
function ka (line 2) | function ka(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!aa(n))...
function Ta (line 2) | function Ta(e,t){let n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeA...
function Aa (line 2) | function Aa(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(41===n)...
function ya (line 2) | function ya(e){if(1===e.length&&!ea(e.charCodeAt(0)))return e[0];let t=p...
function Ca (line 2) | function Ca(e=null,t){return null===e||e.length<t?new Uint32Array(Math.m...
function Sa (line 2) | function Sa(e){const t=e.source,n=t.length,a=t.length>0?pa(t.charCodeAt(...
class wa (line 2) | class wa{constructor(){this.lines=null,this.columns=null,this.computed=!...
method constructor (line 2) | constructor(){this.lines=null,this.columns=null,this.computed=!1}
method setSource (line 2) | setSource(e,t=0,n=1,a=1){this.source=e,this.startOffset=t,this.startLi...
method getLocation (line 2) | getLocation(e,t){return this.computed||Sa(this),{source:t,offset:this....
method getLocationRange (line 2) | getLocationRange(e,t,n){return this.computed||Sa(this),{source:n,start...
class La (line 2) | class La{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.t...
method constructor (line 2) | constructor(e,t){this.setSource(e,t)}
method reset (line 2) | reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStar...
method setSource (line 2) | setSource(e="",t=(()=>{})){const n=(e=String(e||"")).length,a=Ca(this....
method lookupType (line 2) | lookupType(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAn...
method lookupOffset (line 2) | lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?this.offset...
method lookupValue (line 2) | lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&ba(this.s...
method getTokenStart (line 2) | getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this...
method substrToCursor (line 2) | substrToCursor(e){return this.source.substring(e,this.tokenStart)}
method isBalanceEdge (line 2) | isBalanceEdge(e){return this.balance[this.tokenIndex]<e}
method isDelim (line 2) | isDelim(e,t){return t?9===this.lookupType(t)&&this.source.charCodeAt(t...
method skip (line 2) | skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,t...
method next (line 2) | next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,th...
method skipSC (line 2) | skipSC(){for(;this.tokenType===jn||this.tokenType===Jn;)this.next()}
method skipUntilBalanced (line 2) | skipUntilBalanced(e,t){let n,a,i=e;e:for(;i<this.tokenCount&&(n=this.b...
method forEachToken (line 2) | forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t...
method dump (line 2) | dump(){const e=new Array(this.tokenCount);return this.forEachToken(((t...
function Ra (line 2) | function Ra(e,t){function n(t){return t<o?e.charCodeAt(t):0}function a()...
class Oa (line 2) | class Oa{static createItem(e){return{prev:null,next:null,data:e}}constru...
method createItem (line 2) | static createItem(e){return{prev:null,next:null,data:e}}
method constructor (line 2) | constructor(){this.head=null,this.tail=null,this.cursor=null}
method createItem (line 2) | createItem(e){return Oa.createItem(e)}
method allocateCursor (line 2) | allocateCursor(e,t){let n;return null!==Pa?(n=Pa,Pa=Pa.cursor,n.prev=e...
method releaseCursor (line 2) | releaseCursor(){const{cursor:e}=this;this.cursor=e.cursor,e.prev=null,...
method updateCursors (line 2) | updateCursors(e,t,n,a){let{cursor:i}=this;for(;null!==i;)i.prev===e&&(...
method size (line 2) | get size(){let e=0;for(let t=this.head;null!==t;t=t.next)e++;return e}
method isEmpty (line 2) | get isEmpty(){return null===this.head}
method first (line 2) | get first(){return this.head&&this.head.data}
method last (line 2) | get last(){return this.tail&&this.tail.data}
method fromArray (line 2) | fromArray(e){let t=null;this.head=null;for(let n of e){const e=Oa.crea...
method toArray (line 2) | toArray(){return[...this]}
method toJSON (line 2) | toJSON(){return[...this]}
method forEach (line 2) | forEach(e,t=this){const n=this.allocateCursor(null,this.head);for(;nul...
method forEachRight (line 2) | forEachRight(e,t=this){const n=this.allocateCursor(this.tail,null);for...
method reduce (line 2) | reduce(e,t,n=this){let a,i=this.allocateCursor(null,this.head),s=t;for...
method reduceRight (line 2) | reduceRight(e,t,n=this){let a,i=this.allocateCursor(this.tail,null),s=...
method some (line 2) | some(e,t=this){for(let n=this.head;null!==n;n=n.next)if(e.call(t,n.dat...
method map (line 2) | map(e,t=this){const n=new Oa;for(let a=this.head;null!==a;a=a.next)n.a...
method filter (line 2) | filter(e,t=this){const n=new Oa;for(let a=this.head;null!==a;a=a.next)...
method nextUntil (line 2) | nextUntil(e,t,n=this){if(null===e)return;const a=this.allocateCursor(n...
method prevUntil (line 2) | prevUntil(e,t,n=this){if(null===e)return;const a=this.allocateCursor(e...
method clear (line 2) | clear(){this.head=null,this.tail=null}
method copy (line 2) | copy(){const e=new Oa;for(let t of this)e.appendData(t);return e}
method prepend (line 2) | prepend(e){return this.updateCursors(null,e,this.head,e),null!==this.h...
method prependData (line 2) | prependData(e){return this.prepend(Oa.createItem(e))}
method append (line 2) | append(e){return this.insert(e)}
method appendData (line 2) | appendData(e){return this.insert(Oa.createItem(e))}
method insert (line 2) | insert(e,t=null){if(null!==t)if(this.updateCursors(t.prev,e,t,e),null=...
method insertData (line 2) | insertData(e,t){return this.insert(Oa.createItem(e),t)}
method remove (line 2) | remove(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.pre...
method push (line 2) | push(e){this.insert(Oa.createItem(e))}
method pop (line 2) | pop(){return null!==this.tail?this.remove(this.tail):null}
method unshift (line 2) | unshift(e){this.prepend(Oa.createItem(e))}
method shift (line 2) | shift(){return null!==this.head?this.remove(this.head):null}
method prependList (line 2) | prependList(e){return this.insertList(e,this.head)}
method appendList (line 2) | appendList(e){return this.insertList(e)}
method insertList (line 2) | insertList(e,t){return null===e.head||(null!=t?(this.updateCursors(t.p...
method replace (line 2) | replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.rem...
method [Symbol.iterator] (line 2) | *[Symbol.iterator](){for(let e=this.head;null!==e;e=e.next)yield e.data}
function Ma (line 2) | function Ma(e,t){const n=Object.create(SyntaxError.prototype),a=new Erro...
function Ua (line 2) | function Ua({source:e,line:t,column:n},a){function i(e,t){return s.slice...
function Fa (line 2) | function Fa(e,t,n,a,i){return Object.assign(Ma("SyntaxError",e),{source:...
function Ha (line 2) | function Ha(e){const t=this.createList();let n=!1;const a={recognizer:e}...
function Ga (line 2) | function Ga(e){return function(){return this[e]()}}
function qa (line 2) | function qa(e){const t=Object.create(null);for(const n in e){const a=e[n...
function za (line 2) | function za(e){let t="",n="<unknown>",a=!1,i=ja,s=!1;const o=new wa,r=Ob...
function Ka (line 2) | function Ka(e){const t=new Set(e.map((([e,t])=>Wa(e)<<16|Wa(t))));return...
function Za (line 2) | function Za(e,t){if("function"!=typeof t)e.children.forEach(this.node,th...
function ei (line 2) | function ei(e){Ra(e,((t,n,a)=>{this.token(t,e.slice(n,a))}))}
function ti (line 2) | function ti(t){const n=new Map;for(let e in t.node){const a=t.node[e];"f...
function ii (line 2) | function ii(e){return"function"==typeof e?e:ai}
function si (line 2) | function si(e,t){return function(n,a,i){n.type===t&&e.call(this,n,a,i)}}
function oi (line 2) | function oi(e,t){const n=t.structure,a=[];for(const e in n){if(!1===ni.c...
function ri (line 2) | function ri(e,t){const n=e.fields.slice(),a=e.context,i="string"==typeof...
function ci (line 2) | function ci({StyleSheet:e,Atrule:t,Rule:n,Block:a,DeclarationList:i}){re...
function li (line 2) | function li(e){const t=function(e){const t={};for(const n in e.node)if(n...
function pi (line 2) | function pi(e){return e}
function ui (line 2) | function ui(e,t,n,a){let i;switch(e.type){case"Group":i=function(e,t,n,a...
function di (line 2) | function di(e,t){let n=pi,a=!1,i=!1;return"function"==typeof t?n=t:t&&(a...
function hi (line 2) | function hi(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?fi(n):n:...
function fi (line 2) | function fi({offset:e,line:t,column:n},a){const i={offset:e,line:t,colum...
function Ti (line 2) | function Ti(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45==...
function Ai (line 2) | function Ai(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.c...
function Si (line 2) | function Si(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}
function wi (line 2) | function wi(e,t,n){for(;null!==e&&(e.type===jn||e.type===Jn);)e=n(++t);r...
function Ii (line 2) | function Ii(e,t,n,a){if(!e)return 0;const i=e.value.charCodeAt(t);if(43=...
function Ni (line 2) | function Ni(e,t,n){let a=!1,i=wi(e,t,n);if(null===(e=n(i)))return t;if(e...
function Di (line 2) | function Di(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}
function Li (line 2) | function Li(e,t,n){let a=0;for(let i=t;i<e.value.length;i++){const s=e.v...
function Ri (line 2) | function Ri(e,t,n){if(!e)return 0;for(;Di(n(t),63);){if(++e>6)return 0;t...
function Mi (line 2) | function Mi(e,t){return t<e.length?e.charCodeAt(t):0}
function Bi (line 2) | function Bi(e,t){return ba(e,0,e.length,t)}
function Ui (line 2) | function Ui(e,t){for(let n=0;n<t.length;n++)if(Bi(e,t[n]))return!0;retur...
function Fi (line 2) | function Fi(e,t){return t===e.length-2&&(92===Mi(e,t)&&Zn(Mi(e,t+1)))}
function Hi (line 2) | function Hi(e,t,n){if(e&&"Range"===e.type){const a=Number(void 0!==n&&n!...
function ji (line 2) | function ji(e){return function(t,n,a){return null===t?0:2===t.type&&Ui(t...
function Gi (line 2) | function Gi(e){return function(t){return null===t||t.type!==e?0:1}}
function qi (line 2) | function qi(e){return e&&(e=new Set(e)),function(t,n,a){if(null===t||t.t...
function zi (line 2) | function zi(e){return"function"!=typeof e&&(e=function(){return 0}),func...
function Vi (line 2) | function Vi(e,t,n){return Object.assign(Ma("SyntaxError",e),{input:t,off...
class Wi (line 2) | class Wi{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<thi...
method constructor (line 2) | constructor(e){this.str=e,this.pos=0}
method charCodeAt (line 2) | charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}
method charCode (line 2) | charCode(){return this.charCodeAt(this.pos)}
method nextCharCode (line 2) | nextCharCode(){return this.charCodeAt(this.pos+1)}
method nextNonWsCode (line 2) | nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}
method findWsEnd (line 2) | findWsEnd(e){for(;e<this.str.length;e++){const t=this.str.charCodeAt(e...
method substringToPos (line 2) | substringToPos(e){return this.str.substring(this.pos,this.pos=e)}
method eat (line 2) | eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(...
method peek (line 2) | peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}
method error (line 2) | error(e){throw new Vi(e,this.str,this.pos)}
function $i (line 2) | function $i(e){return e.substringToPos(e.findWsEnd(e.pos))}
function Ji (line 2) | function Ji(e){let t=e.pos;for(;t<e.str.length;t++){const n=e.str.charCo...
function Zi (line 2) | function Zi(e){let t=e.pos;for(;t<e.str.length;t++){const n=e.str.charCo...
function es (line 2) | function es(e){const t=e.str.indexOf("'",e.pos+1);return-1===t&&(e.pos=e...
function ts (line 2) | function ts(e){let t=null,n=null;return e.eat(Qi),t=Zi(e),44===e.charCod...
function ns (line 2) | function ns(e,t){const n=function(e){let t=null,n=!1;switch(e.charCode()...
function as (line 2) | function as(e){const t=e.peek();return""===t?null:{type:"Token",value:t}}
function is (line 2) | function is(e){let t,n=null;return e.eat(60),t=Ji(e),40===e.charCode()&&...
function ss (line 2) | function ss(e,t){function n(e,t){return{type:"Group",terms:e,combinator:...
function os (line 2) | function os(e){const t=[],n={};let a,i=null,s=e.pos;for(;a=rs(e);)"Space...
function rs (line 2) | function rs(e){let t=e.charCode();if(t<128&&1===Xi[t])return function(e)...
function cs (line 2) | function cs(e){const t=new Wi(e),n=os(t);return t.pos!==e.length&&t.erro...
function ps (line 2) | function ps(e){return"function"==typeof e?e:ls}
method decorator (line 2) | decorator(e){const t=[];let n=null;return{...e,node(t){const a=n;n=t,e.n...
function ds (line 2) | function ds(e,t){return"string"==typeof e?function(e){const t=[];return ...
function gs (line 2) | function gs(e,t,n){return t===ms&&n===hs||e===ms&&t===ms&&n===ms?e:("If"...
function bs (line 2) | function bs(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e....
function xs (line 2) | function xs(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function...
function Es (line 2) | function Es(e,t,n){switch(e){case" ":{let e=ms;for(let n=t.length-1;n>=0...
function vs (line 2) | function vs(e){if("function"==typeof e)return{type:"Generic",fn:e};switc...
function ks (line 2) | function ks(e,t){return"string"==typeof e&&(e=cs(e)),{type:"MatchGraph",...
function _s (line 2) | function _s(e){let t=null,n=null,a=e;for(;null!==a;)n=a.prev,a.prev=t,t=...
function Cs (line 2) | function Cs(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;...
function Ss (line 2) | function Ss(e){return null===e||(e.type===Yn||2===e.type||e.type===Qn||e...
function ws (line 2) | function ws(e){return null===e||(e.type===Xn||e.type===Wn||e.type===$n||...
function Is (line 2) | function Is(e,t,n){function a(){do{b++,g=b<e.length?e[b]:null}while(null...
function Ns (line 2) | function Ns(e,t,n){const a=Is(e,t,n||{});if(null===a.match)return a;let ...
function Ds (line 2) | function Ds(e){function t(e){return null!==e&&("Type"===e.type||"Propert...
function Ls (line 2) | function Ls(e,t){return Os(this,e,(e=>"Type"===e.type&&e.name===t))}
function Rs (line 2) | function Rs(e,t){return Os(this,e,(e=>"Property"===e.type&&e.name===t))}
function Ps (line 2) | function Ps(e){return Os(this,e,(e=>"Keyword"===e.type))}
function Os (line 2) | function Os(e,t,n){const a=Ds.call(e,t);return null!==a&&a.some(n)}
function Ms (line 2) | function Ms(e){return"node"in e?e.node:Ms(e.match[0])}
function Bs (line 2) | function Bs(e){return"node"in e?e.node:Bs(e.match[e.match.length-1])}
function Us (line 2) | function Us(e,t,n,a,i){const s=[];return null!==n.matched&&function n(o)...
function Hs (line 2) | function Hs(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&...
function js (line 2) | function js(e){return Boolean(e)&&Hs(e.offset)&&Hs(e.line)&&Hs(e.column)}
function Gs (line 2) | function Gs(e,t){return function(n,a){if(!n||n.constructor!==Object)retu...
function qs (line 2) | function qs(e,t){const n=t.structure,a={type:String,loc:!0},i={type:'"'+...
function Ys (line 2) | function Ys(e,t,n){const a={};for(const i in e)e[i].syntax&&(a[i]=n?e[i]...
function Vs (line 2) | function Vs(e,t,n){const a={};for(const[i,s]of Object.entries(e))a[i]={p...
function Ws (line 2) | function Ws(e,n,a){return{matched:e,iterations:a,error:n,...t}}
function Qs (line 2) | function Qs(e,t,n,a){const i=ds(n,e.syntax);let s;return function(e){for...
class Xs (line 2) | class Xs{constructor(e,t,n){if(this.cssWideKeywordsSyntax=zs,this.syntax...
method constructor (line 2) | constructor(e,t,n){if(this.cssWideKeywordsSyntax=zs,this.syntax=t,this...
method checkStructure (line 2) | checkStructure(e){function t(e,t){a.push({node:e,message:t})}const n=t...
method createDescriptor (line 2) | createDescriptor(e,t,n,a=null){const i={type:t,name:n},s={type:t,name:...
method addAtrule_ (line 2) | addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.pr...
method addProperty_ (line 2) | addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Prop...
method addType_ (line 2) | addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}
method checkAtruleName (line 2) | checkAtruleName(e){if(!this.getAtrule(e))return new gi("Unknown at-rul...
method checkAtrulePrelude (line 2) | checkAtrulePrelude(e,t){const n=this.checkAtruleName(e);if(n)return n;...
method checkAtruleDescriptorName (line 2) | checkAtruleDescriptorName(e,t){const n=this.checkAtruleName(e);if(n)re...
method checkPropertyName (line 2) | checkPropertyName(e){if(!this.getProperty(e))return new gi("Unknown pr...
method matchAtrulePrelude (line 2) | matchAtrulePrelude(e,t){const n=this.checkAtrulePrelude(e,t);if(n)retu...
method matchAtruleDescriptor (line 2) | matchAtruleDescriptor(e,t,n){const a=this.checkAtruleDescriptorName(e,...
method matchDeclaration (line 2) | matchDeclaration(e){return"Declaration"!==e.type?Ws(null,new Error("No...
method matchProperty (line 2) | matchProperty(e,t){if(ki(e).custom)return Ws(null,new Error("Lexer mat...
method matchType (line 2) | matchType(e,t){const n=this.getType(e);return n?Qs(this,n,t,!1):Ws(nul...
method match (line 2) | match(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e....
method findValueFragments (line 2) | findValueFragments(e,t,n,a){return Us(this,t,this.matchProperty(e,t),n...
method findDeclarationValueFragments (line 2) | findDeclarationValueFragments(e,t,n){return Us(this,e.value,this.match...
method findAllFragments (line 2) | findAllFragments(e,t,n){const a=[];return this.syntax.walk(e,{visit:"D...
method getAtrule (line 2) | getAtrule(e,t=!0){const n=vi(e);return(n.vendor&&t?this.atrules[n.name...
method getAtrulePrelude (line 2) | getAtrulePrelude(e,t=!0){const n=this.getAtrule(e,t);return n&&n.prelu...
method getAtruleDescriptor (line 2) | getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.a...
method getProperty (line 2) | getProperty(e,t=!0){const n=ki(e);return(n.vendor&&t?this.properties[n...
method getType (line 2) | getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}
method validate (line 2) | validate(){function e(a,i,s,o){if(s.has(i))return s.get(i);s.set(i,!1)...
method dump (line 2) | dump(e,t){return{generic:this.generic,types:Ys(this.types,!t,e),proper...
method toString (line 2) | toString(){return JSON.stringify(this.dump())}
function Js (line 2) | function Js(e){return e&&e.constructor===Object}
function Zs (line 2) | function Zs(e){return Js(e)?{...e}:e}
function eo (line 2) | function eo(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==ty...
function to (line 2) | function to(e,t){if("string"==typeof t)return eo(e,t);const n={...e};for...
function no (line 2) | function no(e,t){const n=to(e,t);return!Js(n)||Object.keys(n).length?n:n...
function ao (line 2) | function ao(e,t,n){for(const a in n)if(!1!==Ks.call(n,a))if(!0===n[a])Ks...
function so (line 2) | function so(e){const t=za(e),n=li(e),a=ti(e),{fromPlainObject:i,toPlainO...
function po (line 2) | function po(e,t){let n=this.tokenStart+e;const a=this.charCodeAt(n);for(...
function uo (line 2) | function uo(e){return po.call(this,0,e)}
function mo (line 2) | function mo(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(...
function ho (line 2) | function ho(){let e=0,t=0,n=this.tokenType;for(;n===jn||n===Jn;)n=this.l...
function bo (line 2) | function bo(){const e=this.tokenStart;let t=null,n=null;if(this.tokenTyp...
function xo (line 2) | function xo(e){if(e.a){const t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-...
function Eo (line 2) | function Eo(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemi...
function vo (line 2) | function vo(){for(let e,t=1;e=this.lookupType(t);t++){if(e===$n)return!0...
function yo (line 2) | function yo(){const e=this.tokenStart;let t,n,a=null,i=null;switch(this....
function _o (line 2) | function _o(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.pr...
function Io (line 2) | function Io(e){let t=null;return null!==e&&(e=e.toLowerCase()),this.skip...
function No (line 2) | function No(e){this.children(e)}
function Do (line 2) | function Do(){this.eof&&this.error("Unexpected end of input");const e=th...
function Lo (line 2) | function Lo(){const e=this.tokenStart,t=this.charCodeAt(e);return 61!==t...
function Oo (line 2) | function Oo(){const e=this.tokenStart;let t,n=null,a=null,i=null;return ...
function Mo (line 2) | function Mo(e){this.token(9,"["),this.node(e.name),null!==e.matcher&&(th...
function Bo (line 2) | function Bo(e){return this.Raw(e,null,!0)}
function Uo (line 2) | function Uo(){return this.parseWithFallback(this.Rule,Bo)}
function Fo (line 2) | function Fo(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}
function Ho (line 2) | function Ho(){if(this.tokenType===zn)return Fo.call(this,this.tokenIndex...
function zo (line 2) | function zo(e){const t=e?Ho:Uo,n=this.tokenStart;let a=this.createList()...
function Yo (line 2) | function Yo(e){this.token(Kn,"{"),this.children(e,(e=>{"Declaration"===e...
function Qo (line 2) | function Qo(e,t){const n=this.tokenStart;let a=null;return this.eat(Vn),...
function Xo (line 2) | function Xo(e){this.token(9,"["),this.children(e),this.token(9,"]")}
function Jo (line 2) | function Jo(){const e=this.tokenStart;return this.eat(Gn),{type:"CDC",lo...
function Zo (line 2) | function Zo(){this.token(Gn,"--\x3e")}
function nr (line 2) | function nr(){const e=this.tokenStart;return this.eat(14),{type:"CDO",lo...
function ar (line 2) | function ar(){this.token(14,"\x3c!--")}
function or (line 2) | function or(){return this.eatDelim(46),{type:"ClassSelector",loc:this.ge...
function rr (line 2) | function rr(e){this.token(9,"."),this.token(1,e.name)}
function pr (line 2) | function pr(){const e=this.tokenStart;let t;switch(this.tokenType){case ...
function ur (line 2) | function ur(e){this.tokenize(e.name)}
function hr (line 2) | function hr(){const e=this.tokenStart;let t=this.tokenEnd;return this.ea...
function fr (line 2) | function fr(e){this.token(Jn,"/*"+e.value+"*/")}
function gr (line 2) | function gr(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemic...
function br (line 2) | function br(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemic...
function xr (line 2) | function xr(){const e=this.tokenIndex,t=this.Value();return"Raw"!==t.typ...
function Tr (line 2) | function Tr(){const e=this.tokenStart,t=this.tokenIndex,n=yr.call(this),...
function Ar (line 2) | function Ar(e){this.token(1,e.property),this.token(qn,":"),this.node(e.v...
function yr (line 2) | function yr(){const e=this.tokenStart;if(9===this.tokenType)switch(this....
function _r (line 2) | function _r(){this.eat(9),this.skipSC();const e=this.consume(1);return"i...
function Cr (line 2) | function Cr(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}
function Ir (line 2) | function Ir(){const e=this.createList();for(;!this.eof;)switch(this.toke...
function Nr (line 2) | function Nr(e){this.children(e,(e=>{"Declaration"===e.type&&this.token(z...
function Rr (line 2) | function Rr(){const e=this.tokenStart,t=this.consumeNumber(Hn);return{ty...
function Pr (line 2) | function Pr(e){this.token(Hn,e.value+e.unit)}
function Ur (line 2) | function Ur(e,t){const n=this.tokenStart,a=this.consumeFunctionName(),i=...
function Fr (line 2) | function Fr(e){this.token(2,e.name+"("),this.children(e),this.token(Xn,"...
function qr (line 2) | function qr(){const e=this.tokenStart;return this.eat(4),{type:"Hash",lo...
function zr (line 2) | function zr(e){this.token(4,"#"+e.value)}
function Wr (line 2) | function Wr(){return{type:"Identifier",loc:this.getLocation(this.tokenSt...
function Qr (line 2) | function Qr(e){this.token(1,e.name)}
function $r (line 2) | function $r(){const e=this.tokenStart;return this.eat(4),{type:"IdSelect...
function Jr (line 2) | function Jr(e){this.token(9,"#"+e.name)}
function tc (line 2) | function tc(){const e=this.tokenStart;let t,n=null;if(this.eat(Qn),this....
function nc (line 2) | function nc(e){this.token(Qn,"("),this.token(1,e.name),null!==e.value&&(...
function sc (line 2) | function sc(){const e=this.createList();let t=null;this.skipSC();e:for(;...
function oc (line 2) | function oc(e){this.children(e)}
function lc (line 2) | function lc(){const e=this.createList();for(this.skipSC();!this.eof&&(e....
function pc (line 2) | function pc(e){this.children(e,(()=>this.token(Yn,",")))}
function mc (line 2) | function mc(){this.skipSC();const e=this.tokenStart;let t,n=e,a=null;ret...
function hc (line 2) | function hc(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),t...
function bc (line 2) | function bc(){return{type:"Number",loc:this.getLocation(this.tokenStart,...
function xc (line 2) | function xc(e){this.token(Un,e.value)}
function kc (line 2) | function kc(){const e=this.tokenStart;return this.next(),{type:"Operator...
function Tc (line 2) | function Tc(e){this.tokenize(e.value)}
function _c (line 2) | function _c(e,t){const n=this.tokenStart;let a=null;return this.eat(Qn),...
function Cc (line 2) | function Cc(e){this.token(Qn,"("),this.children(e),this.token(Xn,")")}
function Ic (line 2) | function Ic(){return{type:"Percentage",loc:this.getLocation(this.tokenSt...
function Nc (line 2) | function Nc(e){this.token(Fn,e.value+"%")}
function Pc (line 2) | function Pc(){const e=this.tokenStart;let t,n,a=null;return this.eat(qn)...
function Oc (line 2) | function Oc(e){this.token(qn,":"),null===e.children?this.token(1,e.name)...
function Fc (line 2) | function Fc(){const e=this.tokenStart;let t,n,a=null;return this.eat(qn)...
function Hc (line 2) | function Hc(e){this.token(qn,":"),this.token(qn,":"),null===e.children?t...
function jc (line 2) | function jc(){this.skipSC();const e=this.consume(Un);for(let t=0;t<e.len...
function zc (line 2) | function zc(){const e=this.tokenStart,t=jc.call(this);let n;return this....
function Yc (line 2) | function Yc(e){this.token(Un,e.left),this.token(9,"/"),this.token(Un,e.r...
function Vc (line 2)
Condensed preview — 138 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,954K chars).
[
{
"path": ".github/dependabot.yml",
"chars": 501,
"preview": "# To get started with Dependabot version updates, you'll need to specify which\n# package ecosystems to update and where "
},
{
"path": ".gitignore",
"chars": 59,
"preview": "node_modules \ndist\n.DS_Store\n**/.DS_Store\npackage-lock.json"
},
{
"path": ".npmignore",
"chars": 13,
"preview": "node_modules\n"
},
{
"path": "LICENSE",
"chars": 7653,
"preview": " GNU LESSER GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007"
},
{
"path": "README.md",
"chars": 2078,
"preview": "\n\n\n![Version"
},
{
"path": "bin/balls.sh",
"chars": 0,
"preview": ""
},
{
"path": "bin/index.cjs",
"chars": 148,
"preview": "\"use strict\";\n\nconst { resolve } = require(\"node:path\");\n\nconst dynamicPath = resolve(__dirname, \"..\", \"dist\");\n\nexports"
},
{
"path": "bin/index.d.ts",
"chars": 60,
"preview": "declare const dynamicPath: string;\n\nexport { dynamicPath };\n"
},
{
"path": "bin/start.sh",
"chars": 3263,
"preview": "#!/bin/bash\ntput setaf 33; echo \"Thanks for using Dynamic!\"; tput sgr0\n\n#Navigating to the project root\nscriptDir=\"${0%/"
},
{
"path": "docs/configuration/bare.md",
"chars": 717,
"preview": "# Bare version and path \n\n\nYou might have noticed this setting in your configuration file: \n```js\n bare: {\n version:"
},
{
"path": "docs/configuration/encoding.md",
"chars": 2685,
"preview": "# URL Encoding and Decoding \n\nIn the context of Dynamic, and other popular Interception proxies, URL Encoding and Decodi"
},
{
"path": "docs/configuration/logging.md",
"chars": 708,
"preview": "# Developer console logging \n// 0: none, 1: errors, 2: errors + warnings, 3: errors + warnings + info\nDynamic gives you "
},
{
"path": "docs/configuration/modes.md",
"chars": 607,
"preview": "# Performance modes \nDynamic provides two performance options to fit your needs. \n\n## Development\n\nWhen you set your per"
},
{
"path": "docs/examples/uv-dynamic-multi/dynamic/dynamic.client.js",
"chars": 234242,
"preview": "\"use strict\";(()=>{var _r=Object.create;var xt=Object.defineProperty;var xr=Object.getOwnPropertyDescriptor;var wr=Objec"
},
{
"path": "docs/examples/uv-dynamic-multi/dynamic/dynamic.config.js",
"chars": 679,
"preview": "self.__dynamic$config = {\n prefix: '/service/',\n encoding: 'xor',\n mode: 'production', // development: zero cac"
},
{
"path": "docs/examples/uv-dynamic-multi/dynamic/dynamic.handler.js",
"chars": 234554,
"preview": "\"use strict\";(()=>{var _r=Object.create;var vt=Object.defineProperty;var xr=Object.getOwnPropertyDescriptor;var wr=Objec"
},
{
"path": "docs/examples/uv-dynamic-multi/dynamic/dynamic.html.js",
"chars": 191453,
"preview": "\"use strict\";(()=>{var we={encode(e,t){return!e||!e.toString()?e:e.split(\", \").map(a=>a.split(\" \").map((s,c)=>c==0?t.url"
},
{
"path": "docs/examples/uv-dynamic-multi/dynamic/dynamic.worker.js",
"chars": 199957,
"preview": "\"use strict\";(()=>{var zi=Object.create;var _e=Object.defineProperty;var Ki=Object.getOwnPropertyDescriptor;var Xi=Objec"
},
{
"path": "docs/examples/uv-dynamic-multi/index.html",
"chars": 844,
"preview": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>Dynamic</title>\n\t<meta charset=\"UTF-8\">\n\t<meta name=\"viewport\" content=\"width=devi"
},
{
"path": "docs/examples/uv-dynamic-multi/resources/scripts/backdrop.js",
"chars": 21121,
"preview": "\n'use strict';\n\nconst canvas = document.getElementsByTagName('canvas')[0];\ncanvas.width = canvas.clientWidth;\ncanvas.hei"
},
{
"path": "docs/examples/uv-dynamic-multi/resources/scripts/index.js",
"chars": 1307,
"preview": "let workerLoaded;\n\nasync function worker() {\n return await navigator.serviceWorker.register(\"/sw.js\", {\n scope: \"/se"
},
{
"path": "docs/examples/uv-dynamic-multi/resources/scripts/notice.js",
"chars": 734,
"preview": "const delay = ms => new Promise(res => setTimeout(res, ms));\n\n\nasync function greet(){\n const style = 'background-col"
},
{
"path": "docs/examples/uv-dynamic-multi/resources/style.css",
"chars": 2106,
"preview": "html { \n width: 100%;\n height: 100%;\n }\n body {\n background-color: #080808;\n color: #ffffff;\n "
},
{
"path": "docs/examples/uv-dynamic-multi/sw.js",
"chars": 775,
"preview": "importScripts('/dynamic/dynamic.config.js');\nimportScripts('/dynamic/dynamic.worker.js');\nimportScripts('dist/uv.bundle."
},
{
"path": "docs/examples/uv-dynamic-multi/uv/uv.bundle.js",
"chars": 655415,
"preview": "/*! For license information please see uv.bundle.js.LICENSE.txt */\n(()=>{var e={360:(e,t)=>{\"use strict\";var n,a,i,s,o,r"
},
{
"path": "docs/examples/uv-dynamic-multi/uv/uv.bundle.js.LICENSE.txt",
"chars": 122,
"preview": "/*!\n * mime-db\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2022 Douglas Christopher Wilson\n * MIT Licensed\n *"
},
{
"path": "docs/examples/uv-dynamic-multi/uv/uv.client.js",
"chars": 45631,
"preview": "(()=>{\"use strict\";var t={666:t=>{var e,r=\"object\"==typeof Reflect?Reflect:null,i=r&&\"function\"==typeof r.apply?r.apply:"
},
{
"path": "docs/examples/uv-dynamic-multi/uv/uv.config.js",
"chars": 356,
"preview": "/*global Ultraviolet*/\nself.__uv$config = {\n prefix: '/service/uv/',\n bare: 'https:///',\n encodeUrl: Ultraviole"
},
{
"path": "docs/examples/uv-dynamic-multi/uv/uv.handler.js",
"chars": 21045,
"preview": "(()=>{\"use strict\";const e=self.Ultraviolet,t=self.UVClient,a=self.__uv$config,r=self.__uv$bareData,o=self.__uv$bareURL,"
},
{
"path": "docs/examples/uv-dynamic-multi/uv/uv.sw.js",
"chars": 8367,
"preview": "(()=>{\"use strict\";const e=self.Ultraviolet,t=[\"cross-origin-embedder-policy\",\"cross-origin-opener-policy\",\"cross-origin"
},
{
"path": "esbuild.dev.js",
"chars": 1448,
"preview": "import * as esbuild from \"esbuild\";\nimport { copyFile } from \"fs/promises\";\n\nawait import(\"./index.js\");\n\nconsole.time(\""
},
{
"path": "esbuild.prod.js",
"chars": 1328,
"preview": "import * as esbuild from \"esbuild\";\nimport { copyFile } from \"fs/promises\";\n\nconsole.time(\"esbuild\");\n\nconst worker = aw"
},
{
"path": "fortnite",
"chars": 1,
"preview": "\n"
},
{
"path": "index.js",
"chars": 2731,
"preview": "import Fastify from 'fastify';\nimport fastifyStatic from '@fastify/static';\nimport fastifyCompress from '@fastify/compre"
},
{
"path": "lib/client/client.ts",
"chars": 1531,
"preview": "import { DynamicBundle } from '../global/client';\n\nimport init from '../global/client/methods/init';\nimport wrap from '."
},
{
"path": "lib/client/index.ts",
"chars": 70,
"preview": "import Client from './client';\n\nexport default Client(self) as Window;"
},
{
"path": "lib/dynamic.config.js",
"chars": 513,
"preview": "// See documentation for more information \n\nself.__dynamic$config = {\n prefix: '/service/',\n encoding: 'xor',\n mode: "
},
{
"path": "lib/global/bundle.ts",
"chars": 1978,
"preview": "import { BareClient } from '@tomphttp/bare-client';\nimport DynamicModules from './modules';\nimport DynamicRewrites from "
},
{
"path": "lib/global/client/index.ts",
"chars": 2798,
"preview": "import location from './methods/core/location';\nimport get from './methods/core/get';\nimport window from './methods/core"
},
{
"path": "lib/global/client/methods/core/eval.ts",
"chars": 1046,
"preview": "export default function Eval(self: Window | any) {\n self.__dynamic.eval = self.__dynamic.wrap(eval, function(this: Wi"
},
{
"path": "lib/global/client/methods/core/function.ts",
"chars": 2926,
"preview": "export default function Function(self: Window | any) {\n var _toString: Function = self.Function.prototype.toString;\n\n"
},
{
"path": "lib/global/client/methods/core/get.ts",
"chars": 2004,
"preview": "export default function Get(self: Window | any) {\n self.__dynamic$get = function(object: any) {\n var data: any"
},
{
"path": "lib/global/client/methods/core/html.ts",
"chars": 1971,
"preview": "import MetaURL from \"../../../meta/type\";\n\nexport default function html(self: Window | any) {\n self.__dynamic.rewrite"
},
{
"path": "lib/global/client/methods/core/location.ts",
"chars": 4449,
"preview": "export default function Location(self: any, doc: Boolean = true) {\n const cloneAncestor: Function = (ancestor: DOMStrin"
},
{
"path": "lib/global/client/methods/core/protocol.ts",
"chars": 1229,
"preview": "const valid_chars = \"!#$%&'*+-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz|~\";\nconst reserved_char"
},
{
"path": "lib/global/client/methods/core/reflect.ts",
"chars": 2203,
"preview": "export default function reflect(self: Window | any) {\n var get = self.Reflect.get.bind({});\n var set = self.Reflec"
},
{
"path": "lib/global/client/methods/core/window.ts",
"chars": 4898,
"preview": "export default function window(self: any) {\n self.__dynamic.util.CreateDocumentProxy = function CreateDocumentProxy(d"
},
{
"path": "lib/global/client/methods/document/attr.ts",
"chars": 14867,
"preview": "export default function attributes(self: Window | any) {\n const sanitize = (html: string): string => new DOMParser()."
},
{
"path": "lib/global/client/methods/document/cookie.ts",
"chars": 2405,
"preview": "import Cookie from '../../../cookie';\nimport { parse, serialize } from '../../../cookie/parse';\n\nexport default function"
},
{
"path": "lib/global/client/methods/document/mutation.ts",
"chars": 9971,
"preview": "import Mutate from '@dynamic-pkg/mutation';\n\nexport default function mutation(self: Window | any, __dynamic: any) {\n "
},
{
"path": "lib/global/client/methods/document/style.ts",
"chars": 2076,
"preview": "export default function style(self: any) {\n self.CSSStyleDeclaration.prototype._setProperty = self.CSSStyleDeclaratio"
},
{
"path": "lib/global/client/methods/document/write.ts",
"chars": 507,
"preview": "export default function write(self: any) {\n function handler(this: Document, handler: Function, ...args: Array<string"
},
{
"path": "lib/global/client/methods/init.ts",
"chars": 6778,
"preview": "import Client from \"../../../client/client\";\n\nexport default function init(self: Window | any, __dynamic: any) {\n if "
},
{
"path": "lib/global/client/methods/window/blob.ts",
"chars": 693,
"preview": "export default function blob(self: Window | any) {\n self.__dynamic.createBlobHandler = async function (blob: Blob, el"
},
{
"path": "lib/global/client/methods/window/fetch.ts",
"chars": 4127,
"preview": "export default function fetch(self: Window | any) {\n self.Request = self.__dynamic.wrap(self.Request,\n functio"
},
{
"path": "lib/global/client/methods/window/history.ts",
"chars": 655,
"preview": "export default function history(self: Window | any) {\n self.__dynamic$history = function(this: History, target: Funct"
},
{
"path": "lib/global/client/methods/window/imports.ts",
"chars": 766,
"preview": "export default function imports(self: any) {\n self.importScripts = new Proxy(self.importScripts, {\n apply(t, g"
},
{
"path": "lib/global/client/methods/window/message.ts",
"chars": 4013,
"preview": "export default function message(self: Window | any) {\n const isWorker = (s: any) => s.constructor.name=='Worker' || s.c"
},
{
"path": "lib/global/client/methods/window/navigator.ts",
"chars": 673,
"preview": "export default function navigator(self: Window | any) {\n if ('serviceWorker' in self.navigator) {\n self.__dyna"
},
{
"path": "lib/global/client/methods/window/niche.ts",
"chars": 5216,
"preview": "export default function niche(self: any) {\n // self explanatory\n\n self.__dynamic.define(self.document, 'origin', {"
},
{
"path": "lib/global/client/methods/window/policy.ts",
"chars": 596,
"preview": "export default function policy(self: Window | any) {\n // This breaks Google Login\n \n /*self.TrustedTypePolicy.p"
},
{
"path": "lib/global/client/methods/window/rtc.ts",
"chars": 2224,
"preview": "export default function rtc(self: Window | any) {\n // rip\n \n /*self.RTCPeerConnection = self.__dynamic.wrap(sel"
},
{
"path": "lib/global/client/methods/window/storage.ts",
"chars": 4152,
"preview": "export default function storage(self: Window | any) {\n\n self.Storage.prototype.setItem = self.__dynamic.wrap(self.Sto"
},
{
"path": "lib/global/client/methods/window/worker.ts",
"chars": 942,
"preview": "export default function worker(self: any) {\n const XHR = self.XMLHttpRequest;\n\n self.Worker = new Proxy(self.Worke"
},
{
"path": "lib/global/client/methods/window/ws.ts",
"chars": 2370,
"preview": "/*export default function websocket(self: Window | any) {\n // ty divide i love you\n\n const createSocket = (url: string"
},
{
"path": "lib/global/client/methods/wrap.ts",
"chars": 1772,
"preview": "export default function wrap(self: Window | any) {\n self.__dynamic.wrap = function(target: any, handler: any, result:"
},
{
"path": "lib/global/client/methods.ts",
"chars": 1496,
"preview": "export default [\n {\n name: 'get',\n function: 'self',\n },\n {\n name: 'func',\n functio"
},
{
"path": "lib/global/client.ts",
"chars": 1891,
"preview": "import DynamicModules from './modules';\nimport DynamicRewrites from './rewrite';\nimport DynamicUtil from './util';\nimpor"
},
{
"path": "lib/global/codec.ts",
"chars": 1652,
"preview": "//@ts-ignore\nimport AES from '../../node_modules/crypto-js/aes.js';\n//@ts-ignore\nimport Utf8 from '../../node_modules/cr"
},
{
"path": "lib/global/cookie/db.ts",
"chars": 3332,
"preview": "import * as idb from 'idb';\nimport { Cookie } from 'set-cookie-parser';\n\nfunction createObject(input: Array<Object> | un"
},
{
"path": "lib/global/cookie/index.ts",
"chars": 1013,
"preview": "import { IDBPDatabase } from 'idb';\nimport { DynamicBundle } from '../bundle';\nimport { DB } from './db';\nimport { seria"
},
{
"path": "lib/global/cookie/parse.ts",
"chars": 342,
"preview": "import { Cookie } from \"set-cookie-parser\";\n\nexport const parse = (str: string) =>\n str ? str.split(';').map((v: stri"
},
{
"path": "lib/global/headers.ts",
"chars": 628,
"preview": "export default {\n csp: [\n 'cross-origin-embedder-policy',\n 'cross-origin-opener-policy',\n 'cross"
},
{
"path": "lib/global/http/request.ts",
"chars": 755,
"preview": "export default class DynamicRequest {\n headers: Headers = new Headers({});\n redirect: String = 'manual';\n body:"
},
{
"path": "lib/global/http/response.ts",
"chars": 813,
"preview": "export default class DynamicResponse extends Response {\n status: number = 200;\n body: ReadableStream<Uint8Array> |"
},
{
"path": "lib/global/http.ts",
"chars": 301,
"preview": "import { DynamicBundle } from './client';\nimport Request from './http/request';\nimport Response from './http/response';\n"
},
{
"path": "lib/global/is/css.ts",
"chars": 304,
"preview": "import DynamicTypeFunctions from \"../istype\";\nimport MetaURL from \"../meta/type\";\n\nexport default function css(this: Dyn"
},
{
"path": "lib/global/is/html.ts",
"chars": 650,
"preview": "import DynamicTypeFunctions from \"../istype\";\nimport MetaURL from \"../meta/type\";\n\nexport default function html(this: Dy"
},
{
"path": "lib/global/is/js.ts",
"chars": 486,
"preview": "import DynamicTypeFunctions from \"../istype\";\nimport MetaURL from \"../meta/type\";\n\nexport default function js(this: Dyna"
},
{
"path": "lib/global/istype.ts",
"chars": 350,
"preview": "import { DynamicBundle } from \"./client\";\nimport css from \"./is/css\";\nimport html from \"./is/html\";\nimport js from \"./is"
},
{
"path": "lib/global/meta/load.ts",
"chars": 250,
"preview": "import DynamicMeta from \"../meta\";\n\ndeclare const self: any;\n\nexport default function loadMeta(this: DynamicMeta | any, "
},
{
"path": "lib/global/meta/type.ts",
"chars": 301,
"preview": "export default class MetaURL {\n host: string | any;\n hostname: string | any;\n origin: string | any;\n pathname: strin"
},
{
"path": "lib/global/meta.ts",
"chars": 298,
"preview": "import { DynamicBundle } from './client';\nimport load from './meta/load';\nimport MetaURL from './meta/type';\n\nclass Dyna"
},
{
"path": "lib/global/middleware.ts",
"chars": 191,
"preview": "import { DynamicBundle } from \"./client\";\n\nclass DynamicMiddleware {\n\n ctx: DynamicBundle;\n \n constructor(ctx: Dynami"
},
{
"path": "lib/global/modules.ts",
"chars": 677,
"preview": "import mime from '@dynamic-pkg/mime';\nimport * as path from 'path-browserify';\nimport * as idb from 'idb';\nimport { pars"
},
{
"path": "lib/global/regex.ts",
"chars": 471,
"preview": "import { DynamicBundle } from \"./client\";\n\nconst BypassRegex = /^(#|about:|mailto:|blob:|javascript:)/g;\nconst DataRegex"
},
{
"path": "lib/global/rewrite/css.ts",
"chars": 513,
"preview": "import MetaURL from \"../meta/type\";\nimport DynamicRewrites from \"../rewrite\";\n\nexport default class css {\n\n ctx;\n\n con"
},
{
"path": "lib/global/rewrite/html/generateHead.ts",
"chars": 5293,
"preview": "import { Element } from \"domhandler\";\nimport html from \"./html\";\n\ndeclare const self: Window | any;\n\nexport default func"
},
{
"path": "lib/global/rewrite/html/html.ts",
"chars": 2923,
"preview": "import Srcset from './srcset';\nimport Node from './nodewrapper';\nimport MetaURL from '../../meta/type';\nimport generateH"
},
{
"path": "lib/global/rewrite/html/nodewrapper.ts",
"chars": 1736,
"preview": "export default class Node {\n Original: Object | any | null = null;\n ctx: any;\n\n constructor(element: Element, c"
},
{
"path": "lib/global/rewrite/html/srcset.ts",
"chars": 571,
"preview": "export default {\n encode(val: string | undefined, dynamic: Object | any) {\n if (!val) return val;\n if ("
},
{
"path": "lib/global/rewrite/js/emit.ts",
"chars": 2046,
"preview": "import Identifier from './type/Identifier';\nimport MemberExpression from \"./type/MemberExpression\";\nimport Literal from "
},
{
"path": "lib/global/rewrite/js/iterate.ts",
"chars": 826,
"preview": "export default function Iterate(ast: Object, handler: Function) {\n if (typeof ast != 'object' || !handler) return;\n "
},
{
"path": "lib/global/rewrite/js/js.ts",
"chars": 1306,
"preview": "import MetaURL from '../../meta/type';\nimport iterate from './iterate';\nimport process from './process';\nimport emit fro"
},
{
"path": "lib/global/rewrite/js/object/Eval.ts",
"chars": 534,
"preview": "import { Node } from \"../types\";\n\nexport default function Eval(node: Node, parent: Node = {} as any) {\n if (node.__dy"
},
{
"path": "lib/global/rewrite/js/object/PostMessage.ts",
"chars": 559,
"preview": "import { Node } from \"../types\";\n\nexport default function PostMessage(node: Node, parent: Node = {} as any) {\n Object"
},
{
"path": "lib/global/rewrite/js/process.ts",
"chars": 670,
"preview": "import DynamicRewrites from \"../../rewrite\";\nimport js from \"./js\";\n\nexport default function process(this: js, src: stri"
},
{
"path": "lib/global/rewrite/js/type/AssignmentExpression.ts",
"chars": 608,
"preview": "import Eval from '../object/Eval';\nimport PostMessage from '../object/PostMessage';\nimport { Node } from '../types';\n\nex"
},
{
"path": "lib/global/rewrite/js/type/CallExpression.ts",
"chars": 2156,
"preview": "import Eval from '../object/Eval';\nimport PostMessage from '../object/PostMessage';\nimport { Node } from '../types';\n\nex"
},
{
"path": "lib/global/rewrite/js/type/Identifier.ts",
"chars": 2367,
"preview": "import Eval from '../object/Eval';\nimport PostMessage from '../object/PostMessage';\nimport { Node } from '../types';\n\nex"
},
{
"path": "lib/global/rewrite/js/type/Imports.ts",
"chars": 849,
"preview": "import Eval from '../object/Eval';\nimport PostMessage from '../object/PostMessage';\nimport { Node } from '../types';\n\nex"
},
{
"path": "lib/global/rewrite/js/type/Literal.ts",
"chars": 720,
"preview": "import Eval from '../object/Eval';\nimport PostMessage from '../object/PostMessage';\nimport { Node } from '../types';\n\nex"
},
{
"path": "lib/global/rewrite/js/type/MemberExpression.ts",
"chars": 5402,
"preview": "import Eval from '../object/Eval';\nimport PostMessage from '../object/PostMessage';\nimport { Node } from '../types';\n\nex"
},
{
"path": "lib/global/rewrite/js/type/Property.ts",
"chars": 283,
"preview": "// why am i doing this\n\nimport { Node } from \"../types\";\n\nexport default function Property(node: Node, parent: Node = {}"
},
{
"path": "lib/global/rewrite/js/type/ThisExpression.ts",
"chars": 645,
"preview": "import Eval from '../object/Eval';\nimport PostMessage from '../object/PostMessage';\nimport { Node } from '../types';\n\nex"
},
{
"path": "lib/global/rewrite/js/type/VariableDeclaractor.ts",
"chars": 299,
"preview": "import { Node } from \"../types\";\n\nexport default function VariableDeclarator(node: Node, parent: Node = {} as any) {\n "
},
{
"path": "lib/global/rewrite/js/types.ts",
"chars": 904,
"preview": "export type Node = Object & {\n type: string;\n value: string | Node | any;\n name: string;\n callee: Node;\n "
},
{
"path": "lib/global/rewrite/manifest.ts",
"chars": 1869,
"preview": "import MetaURL from \"../meta/type\";\nimport DynamicRewrites from \"../rewrite\";\n\nexport default class manifest {\n\n ctx;\n\n"
},
{
"path": "lib/global/rewrite.ts",
"chars": 578,
"preview": "import html from './rewrite/html/html';\nimport css from './rewrite/css';\nimport js from './rewrite/js/js';\nimport man fr"
},
{
"path": "lib/global/url/decode.ts",
"chars": 1009,
"preview": "import DynamicUrlRewriter from \"../url\";\n\ndeclare const self: any;\n\nexport default function decode(this: DynamicUrlRewri"
},
{
"path": "lib/global/url/encode.ts",
"chars": 3116,
"preview": "import MetaURL from \"../meta/type\";\nimport DynamicUrlRewriter from \"../url\";\n\nexport default function encode(this: Dynam"
},
{
"path": "lib/global/url.ts",
"chars": 321,
"preview": "import Encode from './url/encode';\nimport Decode from './url/decode';\nimport { DynamicBundle } from './bundle';\n\nclass D"
},
{
"path": "lib/global/util/about.ts",
"chars": 320,
"preview": "export default class about {\n rawHeaders = {};\n headers = new Headers({});\n status = 200;\n statusText = 'OK'"
},
{
"path": "lib/global/util/class.ts",
"chars": 255,
"preview": "export default function Class(obj: any) {\n try {\n new (new Proxy(obj, { construct: () => ({}) }));\n\n if (!Object."
},
{
"path": "lib/global/util/clone.ts",
"chars": 217,
"preview": "export default function copyInstance(original: any) {\n var copied: Object = Object.assign(\n Object.create(\n "
},
{
"path": "lib/global/util/edit.ts",
"chars": 856,
"preview": "declare const self: any;\n\nexport default async function Edit(req: Request) {\n let request: Response;\n\n if (self.__"
},
{
"path": "lib/global/util/encode.ts",
"chars": 493,
"preview": "import DynamicUtil from \"../util\";\n\nexport default function encode(this: DynamicUtil, self: Window | any) {\n var obj "
},
{
"path": "lib/global/util/error.ts",
"chars": 76,
"preview": "export default async function Error(request: Request, error: Error) {\n \n}"
},
{
"path": "lib/global/util/file.ts",
"chars": 210,
"preview": "declare const self: any;\n\nexport default function File(req: Request) {\n return req.url.toString().substr(location.ori"
},
{
"path": "lib/global/util/path.ts",
"chars": 230,
"preview": "import DynamicUtil from \"../util\";\n\nexport default function path(this: DynamicUtil, { url }: Request) {\n return !(url.t"
},
{
"path": "lib/global/util/reqHeader.ts",
"chars": 2853,
"preview": "import MetaURL from \"../meta/type\";\nimport DynamicUtil from \"../util\";\n\nexport default function Header(this: DynamicUtil"
},
{
"path": "lib/global/util/resHeader.ts",
"chars": 1181,
"preview": "import Cookie from \"../cookie\";\nimport MetaURL from \"../meta/type\";\nimport DynamicUtil from \"../util\";\n\nexport default a"
},
{
"path": "lib/global/util/rewritePath.ts",
"chars": 508,
"preview": "import MetaURL from \"../meta/type\";\nimport DynamicUtil from \"../util\";\n\nexport default function rewritePath(this: Dynami"
},
{
"path": "lib/global/util/route.ts",
"chars": 985,
"preview": "import DynamicUtil from \"../util\";\n\nasync function route(this: DynamicUtil, request: Request) {\n var url;\n\n if (reques"
},
{
"path": "lib/global/util.ts",
"chars": 1022,
"preview": "import { route, routePath } from './util/route';\nimport path from './util/path';\nimport resHeader from './util/resHeader"
},
{
"path": "lib/handler/index.ts",
"chars": 747,
"preview": "import { DynamicBundle } from '../global/client';\nimportScripts('/dynamic/dynamic.config.js');\n\nimport init from '../glo"
},
{
"path": "lib/html/index.ts",
"chars": 8161,
"preview": "import Srcset from '../global/rewrite/html/srcset';\nimport Node from '../global/rewrite/html/nodewrapper';\nimport MetaUR"
},
{
"path": "lib/types.d.ts",
"chars": 270,
"preview": "declare module '@dynamic-pkg/bare-client';\ndeclare module '@dynamic-pkg/acorn';\ndeclare module '@dynamic-pkg/astring';\nd"
},
{
"path": "lib/worker/index.ts",
"chars": 15185,
"preview": "import { BareResponse } from '@tomphttp/bare-client';\nimport { DynamicBundle } from '../global/bundle';\nimport Cookie fr"
},
{
"path": "package.json",
"chars": 1630,
"preview": "{\n \"name\": \"@nebula-services/dynamic\",\n \"version\": \"0.7.2-patch.2\",\n \"description\": \"The new generation of intercepti"
},
{
"path": "static/index.html",
"chars": 1408,
"preview": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>Dynamic</title>\n\t<meta charset=\"UTF-8\">\n\t<meta name=\"viewport\" content=\"width=devi"
},
{
"path": "static/resources/scripts/backdrop.js",
"chars": 21121,
"preview": "\n'use strict';\n\nconst canvas = document.getElementsByTagName('canvas')[0];\ncanvas.width = canvas.clientWidth;\ncanvas.hei"
},
{
"path": "static/resources/scripts/index.js",
"chars": 1244,
"preview": "let workerLoaded;\n\nasync function worker() {\n return await navigator.serviceWorker.register(\"/sw.js\", {\n scope: \"/se"
},
{
"path": "static/resources/scripts/notice.js",
"chars": 753,
"preview": "const delay = ms => new Promise(res => setTimeout(res, ms));\n\n\nasync function greet(){\n const style = 'background-col"
},
{
"path": "static/resources/scripts/settings.js",
"chars": 3348,
"preview": "'use strict';\nclass Modal {\n\n constructor() {\n this.triggers = document.querySelectorAll('.js-modal');\n this.clos"
},
{
"path": "static/resources/style.css",
"chars": 4673,
"preview": "html { \n width: 100%;\n height: 100%;\n }\n body {\n background-color: #080808;\n color: #ffffff;\n "
},
{
"path": "static/sw.js",
"chars": 464,
"preview": "importScripts('/dynamic/dynamic.config.js');\nimportScripts('/dynamic/dynamic.worker.js');\n\nconst dynamic = new Dynamic()"
},
{
"path": "tsconfig.json",
"chars": 304,
"preview": "{\n \"compilerOptions\": {\n \"outDir\": \"./dist/\",\n \"noImplicitAny\": true,\n \"module\": \"ESNext\",\n \"target\": \"es6\""
}
]
About this extraction
This page contains the full source code of the NebulaServices/Dynamic GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 138 files (1.8 MB), approximately 603.2k tokens, and a symbol index with 2492 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.