aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/tldts-core/dist
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-13 21:34:48 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-13 21:34:48 -0800
commit76cb9c2a39d477a64824a985ade40507e3bbade1 (patch)
tree41e997aa9c6f538d3a136af61dae9424db2005a9 /vanilla/node_modules/tldts-core/dist
parent819a39a21ac992b1393244a4c283bbb125208c69 (diff)
downloadneko-76cb9c2a39d477a64824a985ade40507e3bbade1.tar.gz
neko-76cb9c2a39d477a64824a985ade40507e3bbade1.tar.bz2
neko-76cb9c2a39d477a64824a985ade40507e3bbade1.zip
feat(vanilla): add testing infrastructure and tests (NK-wjnczv)
Diffstat (limited to 'vanilla/node_modules/tldts-core/dist')
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/index.js564
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/index.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js15
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/domain.js83
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/domain.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/extract-hostname.js149
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/extract-hostname.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/factory.js107
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/factory.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/is-ip.js72
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/is-ip.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/is-valid.js69
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/is-valid.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js69
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/lookup/interface.js3
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/lookup/interface.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/options.js22
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/options.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/subdomain.js14
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/src/subdomain.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/cjs/tsconfig.tsbuildinfo1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/index.js4
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/index.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js12
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/domain.js80
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/domain.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/extract-hostname.js146
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/extract-hostname.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/factory.js102
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/factory.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/is-ip.js69
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/is-ip.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/is-valid.js66
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/is-valid.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js66
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/lookup/interface.js2
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/lookup/interface.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/options.js19
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/options.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/subdomain.js11
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/src/subdomain.js.map1
-rw-r--r--vanilla/node_modules/tldts-core/dist/es6/tsconfig.bundle.tsbuildinfo1
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/index.d.ts4
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/domain-without-suffix.d.ts6
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/domain.d.ts5
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/extract-hostname.d.ts5
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/factory.d.ts28
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/is-ip.d.ts6
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/is-valid.d.ts15
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/lookup/fast-path.d.ts2
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/lookup/interface.d.ts9
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/options.d.ts10
-rw-r--r--vanilla/node_modules/tldts-core/dist/types/src/subdomain.d.ts4
57 files changed, 1862 insertions, 0 deletions
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/index.js b/vanilla/node_modules/tldts-core/dist/cjs/index.js
new file mode 100644
index 0000000..e9af4cb
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/index.js
@@ -0,0 +1,564 @@
+'use strict';
+
+/**
+ * Check if `vhost` is a valid suffix of `hostname` (top-domain)
+ *
+ * It means that `vhost` needs to be a suffix of `hostname` and we then need to
+ * make sure that: either they are equal, or the character preceding `vhost` in
+ * `hostname` is a '.' (it should not be a partial label).
+ *
+ * * hostname = 'not.evil.com' and vhost = 'vil.com' => not ok
+ * * hostname = 'not.evil.com' and vhost = 'evil.com' => ok
+ * * hostname = 'not.evil.com' and vhost = 'not.evil.com' => ok
+ */
+function shareSameDomainSuffix(hostname, vhost) {
+ if (hostname.endsWith(vhost)) {
+ return (hostname.length === vhost.length ||
+ hostname[hostname.length - vhost.length - 1] === '.');
+ }
+ return false;
+}
+/**
+ * Given a hostname and its public suffix, extract the general domain.
+ */
+function extractDomainWithSuffix(hostname, publicSuffix) {
+ // Locate the index of the last '.' in the part of the `hostname` preceding
+ // the public suffix.
+ //
+ // examples:
+ // 1. not.evil.co.uk => evil.co.uk
+ // ^ ^
+ // | | start of public suffix
+ // | index of the last dot
+ //
+ // 2. example.co.uk => example.co.uk
+ // ^ ^
+ // | | start of public suffix
+ // |
+ // | (-1) no dot found before the public suffix
+ const publicSuffixIndex = hostname.length - publicSuffix.length - 2;
+ const lastDotBeforeSuffixIndex = hostname.lastIndexOf('.', publicSuffixIndex);
+ // No '.' found, then `hostname` is the general domain (no sub-domain)
+ if (lastDotBeforeSuffixIndex === -1) {
+ return hostname;
+ }
+ // Extract the part between the last '.'
+ return hostname.slice(lastDotBeforeSuffixIndex + 1);
+}
+/**
+ * Detects the domain based on rules and upon and a host string
+ */
+function getDomain(suffix, hostname, options) {
+ // Check if `hostname` ends with a member of `validHosts`.
+ if (options.validHosts !== null) {
+ const validHosts = options.validHosts;
+ for (const vhost of validHosts) {
+ if ( /*@__INLINE__*/shareSameDomainSuffix(hostname, vhost)) {
+ return vhost;
+ }
+ }
+ }
+ let numberOfLeadingDots = 0;
+ if (hostname.startsWith('.')) {
+ while (numberOfLeadingDots < hostname.length &&
+ hostname[numberOfLeadingDots] === '.') {
+ numberOfLeadingDots += 1;
+ }
+ }
+ // If `hostname` is a valid public suffix, then there is no domain to return.
+ // Since we already know that `getPublicSuffix` returns a suffix of `hostname`
+ // there is no need to perform a string comparison and we only compare the
+ // size.
+ if (suffix.length === hostname.length - numberOfLeadingDots) {
+ return null;
+ }
+ // To extract the general domain, we start by identifying the public suffix
+ // (if any), then consider the domain to be the public suffix with one added
+ // level of depth. (e.g.: if hostname is `not.evil.co.uk` and public suffix:
+ // `co.uk`, then we take one more level: `evil`, giving the final result:
+ // `evil.co.uk`).
+ return /*@__INLINE__*/ extractDomainWithSuffix(hostname, suffix);
+}
+
+/**
+ * Return the part of domain without suffix.
+ *
+ * Example: for domain 'foo.com', the result would be 'foo'.
+ */
+function getDomainWithoutSuffix(domain, suffix) {
+ // Note: here `domain` and `suffix` cannot have the same length because in
+ // this case we set `domain` to `null` instead. It is thus safe to assume
+ // that `suffix` is shorter than `domain`.
+ return domain.slice(0, -suffix.length - 1);
+}
+
+/**
+ * @param url - URL we want to extract a hostname from.
+ * @param urlIsValidHostname - hint from caller; true if `url` is already a valid hostname.
+ */
+function extractHostname(url, urlIsValidHostname) {
+ let start = 0;
+ let end = url.length;
+ let hasUpper = false;
+ // If url is not already a valid hostname, then try to extract hostname.
+ if (!urlIsValidHostname) {
+ // Special handling of data URLs
+ if (url.startsWith('data:')) {
+ return null;
+ }
+ // Trim leading spaces
+ while (start < url.length && url.charCodeAt(start) <= 32) {
+ start += 1;
+ }
+ // Trim trailing spaces
+ while (end > start + 1 && url.charCodeAt(end - 1) <= 32) {
+ end -= 1;
+ }
+ // Skip scheme.
+ if (url.charCodeAt(start) === 47 /* '/' */ &&
+ url.charCodeAt(start + 1) === 47 /* '/' */) {
+ start += 2;
+ }
+ else {
+ const indexOfProtocol = url.indexOf(':/', start);
+ if (indexOfProtocol !== -1) {
+ // Implement fast-path for common protocols. We expect most protocols
+ // should be one of these 4 and thus we will not need to perform the
+ // more expansive validity check most of the time.
+ const protocolSize = indexOfProtocol - start;
+ const c0 = url.charCodeAt(start);
+ const c1 = url.charCodeAt(start + 1);
+ const c2 = url.charCodeAt(start + 2);
+ const c3 = url.charCodeAt(start + 3);
+ const c4 = url.charCodeAt(start + 4);
+ if (protocolSize === 5 &&
+ c0 === 104 /* 'h' */ &&
+ c1 === 116 /* 't' */ &&
+ c2 === 116 /* 't' */ &&
+ c3 === 112 /* 'p' */ &&
+ c4 === 115 /* 's' */) ;
+ else if (protocolSize === 4 &&
+ c0 === 104 /* 'h' */ &&
+ c1 === 116 /* 't' */ &&
+ c2 === 116 /* 't' */ &&
+ c3 === 112 /* 'p' */) ;
+ else if (protocolSize === 3 &&
+ c0 === 119 /* 'w' */ &&
+ c1 === 115 /* 's' */ &&
+ c2 === 115 /* 's' */) ;
+ else if (protocolSize === 2 &&
+ c0 === 119 /* 'w' */ &&
+ c1 === 115 /* 's' */) ;
+ else {
+ // Check that scheme is valid
+ for (let i = start; i < indexOfProtocol; i += 1) {
+ const lowerCaseCode = url.charCodeAt(i) | 32;
+ if (!(((lowerCaseCode >= 97 && lowerCaseCode <= 122) || // [a, z]
+ (lowerCaseCode >= 48 && lowerCaseCode <= 57) || // [0, 9]
+ lowerCaseCode === 46 || // '.'
+ lowerCaseCode === 45 || // '-'
+ lowerCaseCode === 43) // '+'
+ )) {
+ return null;
+ }
+ }
+ }
+ // Skip 0, 1 or more '/' after ':/'
+ start = indexOfProtocol + 2;
+ while (url.charCodeAt(start) === 47 /* '/' */) {
+ start += 1;
+ }
+ }
+ }
+ // Detect first occurrence of '/', '?' or '#'. We also keep track of the
+ // last occurrence of '@', ']' or ':' to speed-up subsequent parsing of
+ // (respectively), identifier, ipv6 or port.
+ let indexOfIdentifier = -1;
+ let indexOfClosingBracket = -1;
+ let indexOfPort = -1;
+ for (let i = start; i < end; i += 1) {
+ const code = url.charCodeAt(i);
+ if (code === 35 || // '#'
+ code === 47 || // '/'
+ code === 63 // '?'
+ ) {
+ end = i;
+ break;
+ }
+ else if (code === 64) {
+ // '@'
+ indexOfIdentifier = i;
+ }
+ else if (code === 93) {
+ // ']'
+ indexOfClosingBracket = i;
+ }
+ else if (code === 58) {
+ // ':'
+ indexOfPort = i;
+ }
+ else if (code >= 65 && code <= 90) {
+ hasUpper = true;
+ }
+ }
+ // Detect identifier: '@'
+ if (indexOfIdentifier !== -1 &&
+ indexOfIdentifier > start &&
+ indexOfIdentifier < end) {
+ start = indexOfIdentifier + 1;
+ }
+ // Handle ipv6 addresses
+ if (url.charCodeAt(start) === 91 /* '[' */) {
+ if (indexOfClosingBracket !== -1) {
+ return url.slice(start + 1, indexOfClosingBracket).toLowerCase();
+ }
+ return null;
+ }
+ else if (indexOfPort !== -1 && indexOfPort > start && indexOfPort < end) {
+ // Detect port: ':'
+ end = indexOfPort;
+ }
+ }
+ // Trim trailing dots
+ while (end > start + 1 && url.charCodeAt(end - 1) === 46 /* '.' */) {
+ end -= 1;
+ }
+ const hostname = start !== 0 || end !== url.length ? url.slice(start, end) : url;
+ if (hasUpper) {
+ return hostname.toLowerCase();
+ }
+ return hostname;
+}
+
+/**
+ * Check if a hostname is an IP. You should be aware that this only works
+ * because `hostname` is already garanteed to be a valid hostname!
+ */
+function isProbablyIpv4(hostname) {
+ // Cannot be shorted than 1.1.1.1
+ if (hostname.length < 7) {
+ return false;
+ }
+ // Cannot be longer than: 255.255.255.255
+ if (hostname.length > 15) {
+ return false;
+ }
+ let numberOfDots = 0;
+ for (let i = 0; i < hostname.length; i += 1) {
+ const code = hostname.charCodeAt(i);
+ if (code === 46 /* '.' */) {
+ numberOfDots += 1;
+ }
+ else if (code < 48 /* '0' */ || code > 57 /* '9' */) {
+ return false;
+ }
+ }
+ return (numberOfDots === 3 &&
+ hostname.charCodeAt(0) !== 46 /* '.' */ &&
+ hostname.charCodeAt(hostname.length - 1) !== 46 /* '.' */);
+}
+/**
+ * Similar to isProbablyIpv4.
+ */
+function isProbablyIpv6(hostname) {
+ if (hostname.length < 3) {
+ return false;
+ }
+ let start = hostname.startsWith('[') ? 1 : 0;
+ let end = hostname.length;
+ if (hostname[end - 1] === ']') {
+ end -= 1;
+ }
+ // We only consider the maximum size of a normal IPV6. Note that this will
+ // fail on so-called "IPv4 mapped IPv6 addresses" but this is a corner-case
+ // and a proper validation library should be used for these.
+ if (end - start > 39) {
+ return false;
+ }
+ let hasColon = false;
+ for (; start < end; start += 1) {
+ const code = hostname.charCodeAt(start);
+ if (code === 58 /* ':' */) {
+ hasColon = true;
+ }
+ else if (!(((code >= 48 && code <= 57) || // 0-9
+ (code >= 97 && code <= 102) || // a-f
+ (code >= 65 && code <= 90)) // A-F
+ )) {
+ return false;
+ }
+ }
+ return hasColon;
+}
+/**
+ * Check if `hostname` is *probably* a valid ip addr (either ipv6 or ipv4).
+ * This *will not* work on any string. We need `hostname` to be a valid
+ * hostname.
+ */
+function isIp(hostname) {
+ return isProbablyIpv6(hostname) || isProbablyIpv4(hostname);
+}
+
+/**
+ * Implements fast shallow verification of hostnames. This does not perform a
+ * struct check on the content of labels (classes of Unicode characters, etc.)
+ * but instead check that the structure is valid (number of labels, length of
+ * labels, etc.).
+ *
+ * If you need stricter validation, consider using an external library.
+ */
+function isValidAscii(code) {
+ return ((code >= 97 && code <= 122) || (code >= 48 && code <= 57) || code > 127);
+}
+/**
+ * Check if a hostname string is valid. It's usually a preliminary check before
+ * trying to use getDomain or anything else.
+ *
+ * Beware: it does not check if the TLD exists.
+ */
+function isValidHostname (hostname) {
+ if (hostname.length > 255) {
+ return false;
+ }
+ if (hostname.length === 0) {
+ return false;
+ }
+ if (
+ /*@__INLINE__*/ !isValidAscii(hostname.charCodeAt(0)) &&
+ hostname.charCodeAt(0) !== 46 && // '.' (dot)
+ hostname.charCodeAt(0) !== 95 // '_' (underscore)
+ ) {
+ return false;
+ }
+ // Validate hostname according to RFC
+ let lastDotIndex = -1;
+ let lastCharCode = -1;
+ const len = hostname.length;
+ for (let i = 0; i < len; i += 1) {
+ const code = hostname.charCodeAt(i);
+ if (code === 46 /* '.' */) {
+ if (
+ // Check that previous label is < 63 bytes long (64 = 63 + '.')
+ i - lastDotIndex > 64 ||
+ // Check that previous character was not already a '.'
+ lastCharCode === 46 ||
+ // Check that the previous label does not end with a '-' (dash)
+ lastCharCode === 45 ||
+ // Check that the previous label does not end with a '_' (underscore)
+ lastCharCode === 95) {
+ return false;
+ }
+ lastDotIndex = i;
+ }
+ else if (!( /*@__INLINE__*/(isValidAscii(code) || code === 45 || code === 95))) {
+ // Check if there is a forbidden character in the label
+ return false;
+ }
+ lastCharCode = code;
+ }
+ return (
+ // Check that last label is shorter than 63 chars
+ len - lastDotIndex - 1 <= 63 &&
+ // Check that the last character is an allowed trailing label character.
+ // Since we already checked that the char is a valid hostname character,
+ // we only need to check that it's different from '-'.
+ lastCharCode !== 45);
+}
+
+function setDefaultsImpl({ allowIcannDomains = true, allowPrivateDomains = false, detectIp = true, extractHostname = true, mixedInputs = true, validHosts = null, validateHostname = true, }) {
+ return {
+ allowIcannDomains,
+ allowPrivateDomains,
+ detectIp,
+ extractHostname,
+ mixedInputs,
+ validHosts,
+ validateHostname,
+ };
+}
+const DEFAULT_OPTIONS = /*@__INLINE__*/ setDefaultsImpl({});
+function setDefaults(options) {
+ if (options === undefined) {
+ return DEFAULT_OPTIONS;
+ }
+ return /*@__INLINE__*/ setDefaultsImpl(options);
+}
+
+/**
+ * Returns the subdomain of a hostname string
+ */
+function getSubdomain(hostname, domain) {
+ // If `hostname` and `domain` are the same, then there is no sub-domain
+ if (domain.length === hostname.length) {
+ return '';
+ }
+ return hostname.slice(0, -domain.length - 1);
+}
+
+/**
+ * Implement a factory allowing to plug different implementations of suffix
+ * lookup (e.g.: using a trie or the packed hashes datastructures). This is used
+ * and exposed in `tldts.ts` and `tldts-experimental.ts` bundle entrypoints.
+ */
+function getEmptyResult() {
+ return {
+ domain: null,
+ domainWithoutSuffix: null,
+ hostname: null,
+ isIcann: null,
+ isIp: null,
+ isPrivate: null,
+ publicSuffix: null,
+ subdomain: null,
+ };
+}
+function resetResult(result) {
+ result.domain = null;
+ result.domainWithoutSuffix = null;
+ result.hostname = null;
+ result.isIcann = null;
+ result.isIp = null;
+ result.isPrivate = null;
+ result.publicSuffix = null;
+ result.subdomain = null;
+}
+function parseImpl(url, step, suffixLookup, partialOptions, result) {
+ const options = /*@__INLINE__*/ setDefaults(partialOptions);
+ // Very fast approximate check to make sure `url` is a string. This is needed
+ // because the library will not necessarily be used in a typed setup and
+ // values of arbitrary types might be given as argument.
+ if (typeof url !== 'string') {
+ return result;
+ }
+ // Extract hostname from `url` only if needed. This can be made optional
+ // using `options.extractHostname`. This option will typically be used
+ // whenever we are sure the inputs to `parse` are already hostnames and not
+ // arbitrary URLs.
+ //
+ // `mixedInput` allows to specify if we expect a mix of URLs and hostnames
+ // as input. If only hostnames are expected then `extractHostname` can be
+ // set to `false` to speed-up parsing. If only URLs are expected then
+ // `mixedInputs` can be set to `false`. The `mixedInputs` is only a hint
+ // and will not change the behavior of the library.
+ if (!options.extractHostname) {
+ result.hostname = url;
+ }
+ else if (options.mixedInputs) {
+ result.hostname = extractHostname(url, isValidHostname(url));
+ }
+ else {
+ result.hostname = extractHostname(url, false);
+ }
+ // Check if `hostname` is a valid ip address
+ if (options.detectIp && result.hostname !== null) {
+ result.isIp = isIp(result.hostname);
+ if (result.isIp) {
+ return result;
+ }
+ }
+ // Perform hostname validation if enabled. If hostname is not valid, no need to
+ // go further as there will be no valid domain or sub-domain. This validation
+ // is applied before any early returns to ensure consistent behavior across
+ // all API methods including getHostname().
+ if (options.validateHostname &&
+ options.extractHostname &&
+ result.hostname !== null &&
+ !isValidHostname(result.hostname)) {
+ result.hostname = null;
+ return result;
+ }
+ if (step === 0 /* FLAG.HOSTNAME */ || result.hostname === null) {
+ return result;
+ }
+ // Extract public suffix
+ suffixLookup(result.hostname, options, result);
+ if (step === 2 /* FLAG.PUBLIC_SUFFIX */ || result.publicSuffix === null) {
+ return result;
+ }
+ // Extract domain
+ result.domain = getDomain(result.publicSuffix, result.hostname, options);
+ if (step === 3 /* FLAG.DOMAIN */ || result.domain === null) {
+ return result;
+ }
+ // Extract subdomain
+ result.subdomain = getSubdomain(result.hostname, result.domain);
+ if (step === 4 /* FLAG.SUB_DOMAIN */) {
+ return result;
+ }
+ // Extract domain without suffix
+ result.domainWithoutSuffix = getDomainWithoutSuffix(result.domain, result.publicSuffix);
+ return result;
+}
+
+function fastPath (hostname, options, out) {
+ // Fast path for very popular suffixes; this allows to by-pass lookup
+ // completely as well as any extra allocation or string manipulation.
+ if (!options.allowPrivateDomains && hostname.length > 3) {
+ const last = hostname.length - 1;
+ const c3 = hostname.charCodeAt(last);
+ const c2 = hostname.charCodeAt(last - 1);
+ const c1 = hostname.charCodeAt(last - 2);
+ const c0 = hostname.charCodeAt(last - 3);
+ if (c3 === 109 /* 'm' */ &&
+ c2 === 111 /* 'o' */ &&
+ c1 === 99 /* 'c' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'com';
+ return true;
+ }
+ else if (c3 === 103 /* 'g' */ &&
+ c2 === 114 /* 'r' */ &&
+ c1 === 111 /* 'o' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'org';
+ return true;
+ }
+ else if (c3 === 117 /* 'u' */ &&
+ c2 === 100 /* 'd' */ &&
+ c1 === 101 /* 'e' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'edu';
+ return true;
+ }
+ else if (c3 === 118 /* 'v' */ &&
+ c2 === 111 /* 'o' */ &&
+ c1 === 103 /* 'g' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'gov';
+ return true;
+ }
+ else if (c3 === 116 /* 't' */ &&
+ c2 === 101 /* 'e' */ &&
+ c1 === 110 /* 'n' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'net';
+ return true;
+ }
+ else if (c3 === 101 /* 'e' */ &&
+ c2 === 100 /* 'd' */ &&
+ c1 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'de';
+ return true;
+ }
+ }
+ return false;
+}
+
+exports.fastPathLookup = fastPath;
+exports.getEmptyResult = getEmptyResult;
+exports.parseImpl = parseImpl;
+exports.resetResult = resetResult;
+exports.setDefaults = setDefaults;
+//# sourceMappingURL=index.js.map
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/index.js.map b/vanilla/node_modules/tldts-core/dist/cjs/index.js.map
new file mode 100644
index 0000000..59c9a8c
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sources":["../../src/domain.ts","../../src/domain-without-suffix.ts","../../src/extract-hostname.ts","../../src/is-ip.ts","../../src/is-valid.ts","../../src/options.ts","../../src/subdomain.ts","../../src/factory.ts","../../src/lookup/fast-path.ts"],"sourcesContent":["import { IOptions } from './options';\n\n/**\n * Check if `vhost` is a valid suffix of `hostname` (top-domain)\n *\n * It means that `vhost` needs to be a suffix of `hostname` and we then need to\n * make sure that: either they are equal, or the character preceding `vhost` in\n * `hostname` is a '.' (it should not be a partial label).\n *\n * * hostname = 'not.evil.com' and vhost = 'vil.com' => not ok\n * * hostname = 'not.evil.com' and vhost = 'evil.com' => ok\n * * hostname = 'not.evil.com' and vhost = 'not.evil.com' => ok\n */\nfunction shareSameDomainSuffix(hostname: string, vhost: string): boolean {\n if (hostname.endsWith(vhost)) {\n return (\n hostname.length === vhost.length ||\n hostname[hostname.length - vhost.length - 1] === '.'\n );\n }\n\n return false;\n}\n\n/**\n * Given a hostname and its public suffix, extract the general domain.\n */\nfunction extractDomainWithSuffix(\n hostname: string,\n publicSuffix: string,\n): string {\n // Locate the index of the last '.' in the part of the `hostname` preceding\n // the public suffix.\n //\n // examples:\n // 1. not.evil.co.uk => evil.co.uk\n // ^ ^\n // | | start of public suffix\n // | index of the last dot\n //\n // 2. example.co.uk => example.co.uk\n // ^ ^\n // | | start of public suffix\n // |\n // | (-1) no dot found before the public suffix\n const publicSuffixIndex = hostname.length - publicSuffix.length - 2;\n const lastDotBeforeSuffixIndex = hostname.lastIndexOf('.', publicSuffixIndex);\n\n // No '.' found, then `hostname` is the general domain (no sub-domain)\n if (lastDotBeforeSuffixIndex === -1) {\n return hostname;\n }\n\n // Extract the part between the last '.'\n return hostname.slice(lastDotBeforeSuffixIndex + 1);\n}\n\n/**\n * Detects the domain based on rules and upon and a host string\n */\nexport default function getDomain(\n suffix: string,\n hostname: string,\n options: IOptions,\n): string | null {\n // Check if `hostname` ends with a member of `validHosts`.\n if (options.validHosts !== null) {\n const validHosts = options.validHosts;\n for (const vhost of validHosts) {\n if (/*@__INLINE__*/ shareSameDomainSuffix(hostname, vhost)) {\n return vhost;\n }\n }\n }\n\n let numberOfLeadingDots = 0;\n if (hostname.startsWith('.')) {\n while (\n numberOfLeadingDots < hostname.length &&\n hostname[numberOfLeadingDots] === '.'\n ) {\n numberOfLeadingDots += 1;\n }\n }\n\n // If `hostname` is a valid public suffix, then there is no domain to return.\n // Since we already know that `getPublicSuffix` returns a suffix of `hostname`\n // there is no need to perform a string comparison and we only compare the\n // size.\n if (suffix.length === hostname.length - numberOfLeadingDots) {\n return null;\n }\n\n // To extract the general domain, we start by identifying the public suffix\n // (if any), then consider the domain to be the public suffix with one added\n // level of depth. (e.g.: if hostname is `not.evil.co.uk` and public suffix:\n // `co.uk`, then we take one more level: `evil`, giving the final result:\n // `evil.co.uk`).\n return /*@__INLINE__*/ extractDomainWithSuffix(hostname, suffix);\n}\n","/**\n * Return the part of domain without suffix.\n *\n * Example: for domain 'foo.com', the result would be 'foo'.\n */\nexport default function getDomainWithoutSuffix(\n domain: string,\n suffix: string,\n): string {\n // Note: here `domain` and `suffix` cannot have the same length because in\n // this case we set `domain` to `null` instead. It is thus safe to assume\n // that `suffix` is shorter than `domain`.\n return domain.slice(0, -suffix.length - 1);\n}\n","/**\n * @param url - URL we want to extract a hostname from.\n * @param urlIsValidHostname - hint from caller; true if `url` is already a valid hostname.\n */\nexport default function extractHostname(\n url: string,\n urlIsValidHostname: boolean,\n): string | null {\n let start = 0;\n let end: number = url.length;\n let hasUpper = false;\n\n // If url is not already a valid hostname, then try to extract hostname.\n if (!urlIsValidHostname) {\n // Special handling of data URLs\n if (url.startsWith('data:')) {\n return null;\n }\n\n // Trim leading spaces\n while (start < url.length && url.charCodeAt(start) <= 32) {\n start += 1;\n }\n\n // Trim trailing spaces\n while (end > start + 1 && url.charCodeAt(end - 1) <= 32) {\n end -= 1;\n }\n\n // Skip scheme.\n if (\n url.charCodeAt(start) === 47 /* '/' */ &&\n url.charCodeAt(start + 1) === 47 /* '/' */\n ) {\n start += 2;\n } else {\n const indexOfProtocol = url.indexOf(':/', start);\n if (indexOfProtocol !== -1) {\n // Implement fast-path for common protocols. We expect most protocols\n // should be one of these 4 and thus we will not need to perform the\n // more expansive validity check most of the time.\n const protocolSize = indexOfProtocol - start;\n const c0 = url.charCodeAt(start);\n const c1 = url.charCodeAt(start + 1);\n const c2 = url.charCodeAt(start + 2);\n const c3 = url.charCodeAt(start + 3);\n const c4 = url.charCodeAt(start + 4);\n\n if (\n protocolSize === 5 &&\n c0 === 104 /* 'h' */ &&\n c1 === 116 /* 't' */ &&\n c2 === 116 /* 't' */ &&\n c3 === 112 /* 'p' */ &&\n c4 === 115 /* 's' */\n ) {\n // https\n } else if (\n protocolSize === 4 &&\n c0 === 104 /* 'h' */ &&\n c1 === 116 /* 't' */ &&\n c2 === 116 /* 't' */ &&\n c3 === 112 /* 'p' */\n ) {\n // http\n } else if (\n protocolSize === 3 &&\n c0 === 119 /* 'w' */ &&\n c1 === 115 /* 's' */ &&\n c2 === 115 /* 's' */\n ) {\n // wss\n } else if (\n protocolSize === 2 &&\n c0 === 119 /* 'w' */ &&\n c1 === 115 /* 's' */\n ) {\n // ws\n } else {\n // Check that scheme is valid\n for (let i = start; i < indexOfProtocol; i += 1) {\n const lowerCaseCode = url.charCodeAt(i) | 32;\n if (\n !(\n (\n (lowerCaseCode >= 97 && lowerCaseCode <= 122) || // [a, z]\n (lowerCaseCode >= 48 && lowerCaseCode <= 57) || // [0, 9]\n lowerCaseCode === 46 || // '.'\n lowerCaseCode === 45 || // '-'\n lowerCaseCode === 43\n ) // '+'\n )\n ) {\n return null;\n }\n }\n }\n\n // Skip 0, 1 or more '/' after ':/'\n start = indexOfProtocol + 2;\n while (url.charCodeAt(start) === 47 /* '/' */) {\n start += 1;\n }\n }\n }\n\n // Detect first occurrence of '/', '?' or '#'. We also keep track of the\n // last occurrence of '@', ']' or ':' to speed-up subsequent parsing of\n // (respectively), identifier, ipv6 or port.\n let indexOfIdentifier = -1;\n let indexOfClosingBracket = -1;\n let indexOfPort = -1;\n for (let i = start; i < end; i += 1) {\n const code: number = url.charCodeAt(i);\n if (\n code === 35 || // '#'\n code === 47 || // '/'\n code === 63 // '?'\n ) {\n end = i;\n break;\n } else if (code === 64) {\n // '@'\n indexOfIdentifier = i;\n } else if (code === 93) {\n // ']'\n indexOfClosingBracket = i;\n } else if (code === 58) {\n // ':'\n indexOfPort = i;\n } else if (code >= 65 && code <= 90) {\n hasUpper = true;\n }\n }\n\n // Detect identifier: '@'\n if (\n indexOfIdentifier !== -1 &&\n indexOfIdentifier > start &&\n indexOfIdentifier < end\n ) {\n start = indexOfIdentifier + 1;\n }\n\n // Handle ipv6 addresses\n if (url.charCodeAt(start) === 91 /* '[' */) {\n if (indexOfClosingBracket !== -1) {\n return url.slice(start + 1, indexOfClosingBracket).toLowerCase();\n }\n return null;\n } else if (indexOfPort !== -1 && indexOfPort > start && indexOfPort < end) {\n // Detect port: ':'\n end = indexOfPort;\n }\n }\n\n // Trim trailing dots\n while (end > start + 1 && url.charCodeAt(end - 1) === 46 /* '.' */) {\n end -= 1;\n }\n\n const hostname: string =\n start !== 0 || end !== url.length ? url.slice(start, end) : url;\n\n if (hasUpper) {\n return hostname.toLowerCase();\n }\n\n return hostname;\n}\n","/**\n * Check if a hostname is an IP. You should be aware that this only works\n * because `hostname` is already garanteed to be a valid hostname!\n */\nfunction isProbablyIpv4(hostname: string): boolean {\n // Cannot be shorted than 1.1.1.1\n if (hostname.length < 7) {\n return false;\n }\n\n // Cannot be longer than: 255.255.255.255\n if (hostname.length > 15) {\n return false;\n }\n\n let numberOfDots = 0;\n\n for (let i = 0; i < hostname.length; i += 1) {\n const code = hostname.charCodeAt(i);\n\n if (code === 46 /* '.' */) {\n numberOfDots += 1;\n } else if (code < 48 /* '0' */ || code > 57 /* '9' */) {\n return false;\n }\n }\n\n return (\n numberOfDots === 3 &&\n hostname.charCodeAt(0) !== 46 /* '.' */ &&\n hostname.charCodeAt(hostname.length - 1) !== 46 /* '.' */\n );\n}\n\n/**\n * Similar to isProbablyIpv4.\n */\nfunction isProbablyIpv6(hostname: string): boolean {\n if (hostname.length < 3) {\n return false;\n }\n\n let start = hostname.startsWith('[') ? 1 : 0;\n let end = hostname.length;\n\n if (hostname[end - 1] === ']') {\n end -= 1;\n }\n\n // We only consider the maximum size of a normal IPV6. Note that this will\n // fail on so-called \"IPv4 mapped IPv6 addresses\" but this is a corner-case\n // and a proper validation library should be used for these.\n if (end - start > 39) {\n return false;\n }\n\n let hasColon = false;\n\n for (; start < end; start += 1) {\n const code = hostname.charCodeAt(start);\n\n if (code === 58 /* ':' */) {\n hasColon = true;\n } else if (\n !(\n (\n (code >= 48 && code <= 57) || // 0-9\n (code >= 97 && code <= 102) || // a-f\n (code >= 65 && code <= 90)\n ) // A-F\n )\n ) {\n return false;\n }\n }\n\n return hasColon;\n}\n\n/**\n * Check if `hostname` is *probably* a valid ip addr (either ipv6 or ipv4).\n * This *will not* work on any string. We need `hostname` to be a valid\n * hostname.\n */\nexport default function isIp(hostname: string): boolean {\n return isProbablyIpv6(hostname) || isProbablyIpv4(hostname);\n}\n","/**\n * Implements fast shallow verification of hostnames. This does not perform a\n * struct check on the content of labels (classes of Unicode characters, etc.)\n * but instead check that the structure is valid (number of labels, length of\n * labels, etc.).\n *\n * If you need stricter validation, consider using an external library.\n */\n\nfunction isValidAscii(code: number): boolean {\n return (\n (code >= 97 && code <= 122) || (code >= 48 && code <= 57) || code > 127\n );\n}\n\n/**\n * Check if a hostname string is valid. It's usually a preliminary check before\n * trying to use getDomain or anything else.\n *\n * Beware: it does not check if the TLD exists.\n */\nexport default function (hostname: string): boolean {\n if (hostname.length > 255) {\n return false;\n }\n\n if (hostname.length === 0) {\n return false;\n }\n\n if (\n /*@__INLINE__*/ !isValidAscii(hostname.charCodeAt(0)) &&\n hostname.charCodeAt(0) !== 46 && // '.' (dot)\n hostname.charCodeAt(0) !== 95 // '_' (underscore)\n ) {\n return false;\n }\n\n // Validate hostname according to RFC\n let lastDotIndex = -1;\n let lastCharCode = -1;\n const len = hostname.length;\n\n for (let i = 0; i < len; i += 1) {\n const code = hostname.charCodeAt(i);\n if (code === 46 /* '.' */) {\n if (\n // Check that previous label is < 63 bytes long (64 = 63 + '.')\n i - lastDotIndex > 64 ||\n // Check that previous character was not already a '.'\n lastCharCode === 46 ||\n // Check that the previous label does not end with a '-' (dash)\n lastCharCode === 45 ||\n // Check that the previous label does not end with a '_' (underscore)\n lastCharCode === 95\n ) {\n return false;\n }\n\n lastDotIndex = i;\n } else if (\n !(/*@__INLINE__*/ (isValidAscii(code) || code === 45 || code === 95))\n ) {\n // Check if there is a forbidden character in the label\n return false;\n }\n\n lastCharCode = code;\n }\n\n return (\n // Check that last label is shorter than 63 chars\n len - lastDotIndex - 1 <= 63 &&\n // Check that the last character is an allowed trailing label character.\n // Since we already checked that the char is a valid hostname character,\n // we only need to check that it's different from '-'.\n lastCharCode !== 45\n );\n}\n","export interface IOptions {\n allowIcannDomains: boolean;\n allowPrivateDomains: boolean;\n detectIp: boolean;\n extractHostname: boolean;\n mixedInputs: boolean;\n validHosts: string[] | null;\n validateHostname: boolean;\n}\n\nfunction setDefaultsImpl({\n allowIcannDomains = true,\n allowPrivateDomains = false,\n detectIp = true,\n extractHostname = true,\n mixedInputs = true,\n validHosts = null,\n validateHostname = true,\n}: Partial<IOptions>): IOptions {\n return {\n allowIcannDomains,\n allowPrivateDomains,\n detectIp,\n extractHostname,\n mixedInputs,\n validHosts,\n validateHostname,\n };\n}\n\nconst DEFAULT_OPTIONS = /*@__INLINE__*/ setDefaultsImpl({});\n\nexport function setDefaults(options?: Partial<IOptions>): IOptions {\n if (options === undefined) {\n return DEFAULT_OPTIONS;\n }\n\n return /*@__INLINE__*/ setDefaultsImpl(options);\n}\n","/**\n * Returns the subdomain of a hostname string\n */\nexport default function getSubdomain(hostname: string, domain: string): string {\n // If `hostname` and `domain` are the same, then there is no sub-domain\n if (domain.length === hostname.length) {\n return '';\n }\n\n return hostname.slice(0, -domain.length - 1);\n}\n","/**\n * Implement a factory allowing to plug different implementations of suffix\n * lookup (e.g.: using a trie or the packed hashes datastructures). This is used\n * and exposed in `tldts.ts` and `tldts-experimental.ts` bundle entrypoints.\n */\n\nimport getDomain from './domain';\nimport getDomainWithoutSuffix from './domain-without-suffix';\nimport extractHostname from './extract-hostname';\nimport isIp from './is-ip';\nimport isValidHostname from './is-valid';\nimport { IPublicSuffix, ISuffixLookupOptions } from './lookup/interface';\nimport { IOptions, setDefaults } from './options';\nimport getSubdomain from './subdomain';\n\nexport interface IResult {\n // `hostname` is either a registered name (including but not limited to a\n // hostname), or an IP address. IPv4 addresses must be in dot-decimal\n // notation, and IPv6 addresses must be enclosed in brackets ([]). This is\n // directly extracted from the input URL.\n hostname: string | null;\n\n // Is `hostname` an IP? (IPv4 or IPv6)\n isIp: boolean | null;\n\n // `hostname` split between subdomain, domain and its public suffix (if any)\n subdomain: string | null;\n domain: string | null;\n publicSuffix: string | null;\n domainWithoutSuffix: string | null;\n\n // Specifies if `publicSuffix` comes from the ICANN or PRIVATE section of the list\n isIcann: boolean | null;\n isPrivate: boolean | null;\n}\n\nexport function getEmptyResult(): IResult {\n return {\n domain: null,\n domainWithoutSuffix: null,\n hostname: null,\n isIcann: null,\n isIp: null,\n isPrivate: null,\n publicSuffix: null,\n subdomain: null,\n };\n}\n\nexport function resetResult(result: IResult): void {\n result.domain = null;\n result.domainWithoutSuffix = null;\n result.hostname = null;\n result.isIcann = null;\n result.isIp = null;\n result.isPrivate = null;\n result.publicSuffix = null;\n result.subdomain = null;\n}\n\n// Flags representing steps in the `parse` function. They are used to implement\n// an early stop mechanism (simulating some form of laziness) to avoid doing\n// more work than necessary to perform a given action (e.g.: we don't need to\n// extract the domain and subdomain if we are only interested in public suffix).\nexport const enum FLAG {\n HOSTNAME,\n IS_VALID,\n PUBLIC_SUFFIX,\n DOMAIN,\n SUB_DOMAIN,\n ALL,\n}\n\nexport function parseImpl(\n url: string,\n step: FLAG,\n suffixLookup: (\n _1: string,\n _2: ISuffixLookupOptions,\n _3: IPublicSuffix,\n ) => void,\n partialOptions: Partial<IOptions>,\n result: IResult,\n): IResult {\n const options: IOptions = /*@__INLINE__*/ setDefaults(partialOptions);\n\n // Very fast approximate check to make sure `url` is a string. This is needed\n // because the library will not necessarily be used in a typed setup and\n // values of arbitrary types might be given as argument.\n if (typeof url !== 'string') {\n return result;\n }\n\n // Extract hostname from `url` only if needed. This can be made optional\n // using `options.extractHostname`. This option will typically be used\n // whenever we are sure the inputs to `parse` are already hostnames and not\n // arbitrary URLs.\n //\n // `mixedInput` allows to specify if we expect a mix of URLs and hostnames\n // as input. If only hostnames are expected then `extractHostname` can be\n // set to `false` to speed-up parsing. If only URLs are expected then\n // `mixedInputs` can be set to `false`. The `mixedInputs` is only a hint\n // and will not change the behavior of the library.\n if (!options.extractHostname) {\n result.hostname = url;\n } else if (options.mixedInputs) {\n result.hostname = extractHostname(url, isValidHostname(url));\n } else {\n result.hostname = extractHostname(url, false);\n }\n\n // Check if `hostname` is a valid ip address\n if (options.detectIp && result.hostname !== null) {\n result.isIp = isIp(result.hostname);\n if (result.isIp) {\n return result;\n }\n }\n\n // Perform hostname validation if enabled. If hostname is not valid, no need to\n // go further as there will be no valid domain or sub-domain. This validation\n // is applied before any early returns to ensure consistent behavior across\n // all API methods including getHostname().\n if (\n options.validateHostname &&\n options.extractHostname &&\n result.hostname !== null &&\n !isValidHostname(result.hostname)\n ) {\n result.hostname = null;\n return result;\n }\n\n if (step === FLAG.HOSTNAME || result.hostname === null) {\n return result;\n }\n\n // Extract public suffix\n suffixLookup(result.hostname, options, result);\n if (step === FLAG.PUBLIC_SUFFIX || result.publicSuffix === null) {\n return result;\n }\n\n // Extract domain\n result.domain = getDomain(result.publicSuffix, result.hostname, options);\n if (step === FLAG.DOMAIN || result.domain === null) {\n return result;\n }\n\n // Extract subdomain\n result.subdomain = getSubdomain(result.hostname, result.domain);\n if (step === FLAG.SUB_DOMAIN) {\n return result;\n }\n\n // Extract domain without suffix\n result.domainWithoutSuffix = getDomainWithoutSuffix(\n result.domain,\n result.publicSuffix,\n );\n\n return result;\n}\n","import { IPublicSuffix, ISuffixLookupOptions } from './interface';\n\nexport default function (\n hostname: string,\n options: ISuffixLookupOptions,\n out: IPublicSuffix,\n): boolean {\n // Fast path for very popular suffixes; this allows to by-pass lookup\n // completely as well as any extra allocation or string manipulation.\n if (!options.allowPrivateDomains && hostname.length > 3) {\n const last: number = hostname.length - 1;\n const c3: number = hostname.charCodeAt(last);\n const c2: number = hostname.charCodeAt(last - 1);\n const c1: number = hostname.charCodeAt(last - 2);\n const c0: number = hostname.charCodeAt(last - 3);\n\n if (\n c3 === 109 /* 'm' */ &&\n c2 === 111 /* 'o' */ &&\n c1 === 99 /* 'c' */ &&\n c0 === 46 /* '.' */\n ) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'com';\n return true;\n } else if (\n c3 === 103 /* 'g' */ &&\n c2 === 114 /* 'r' */ &&\n c1 === 111 /* 'o' */ &&\n c0 === 46 /* '.' */\n ) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'org';\n return true;\n } else if (\n c3 === 117 /* 'u' */ &&\n c2 === 100 /* 'd' */ &&\n c1 === 101 /* 'e' */ &&\n c0 === 46 /* '.' */\n ) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'edu';\n return true;\n } else if (\n c3 === 118 /* 'v' */ &&\n c2 === 111 /* 'o' */ &&\n c1 === 103 /* 'g' */ &&\n c0 === 46 /* '.' */\n ) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'gov';\n return true;\n } else if (\n c3 === 116 /* 't' */ &&\n c2 === 101 /* 'e' */ &&\n c1 === 110 /* 'n' */ &&\n c0 === 46 /* '.' */\n ) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'net';\n return true;\n } else if (\n c3 === 101 /* 'e' */ &&\n c2 === 100 /* 'd' */ &&\n c1 === 46 /* '.' */\n ) {\n out.isIcann = true;\n out.isPrivate = false;\n out.publicSuffix = 'de';\n return true;\n }\n }\n\n return false;\n}\n"],"names":[],"mappings":";;AAEA;;;;;;;;;;AAUG;AACH,SAAS,qBAAqB,CAAC,QAAgB,EAAE,KAAa,EAAA;AAC5D,IAAA,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AAC5B,QAAA,QACE,QAAQ,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM;AAChC,YAAA,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,GAAG;IAExD;AAEA,IAAA,OAAO,KAAK;AACd;AAEA;;AAEG;AACH,SAAS,uBAAuB,CAC9B,QAAgB,EAChB,YAAoB,EAAA;;;;;;;;;;;;;;;IAgBpB,MAAM,iBAAiB,GAAG,QAAQ,CAAC,MAAM,GAAG,YAAY,CAAC,MAAM,GAAG,CAAC;IACnE,MAAM,wBAAwB,GAAG,QAAQ,CAAC,WAAW,CAAC,GAAG,EAAE,iBAAiB,CAAC;;AAG7E,IAAA,IAAI,wBAAwB,KAAK,EAAE,EAAE;AACnC,QAAA,OAAO,QAAQ;IACjB;;IAGA,OAAO,QAAQ,CAAC,KAAK,CAAC,wBAAwB,GAAG,CAAC,CAAC;AACrD;AAEA;;AAEG;AACW,SAAU,SAAS,CAC/B,MAAc,EACd,Q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,IAAI;QACb;IACF;AAEA,IAAA,OAAO,KAAK;AACd;;;;;;;;"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js b/vanilla/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js
new file mode 100644
index 0000000..61f6a78
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js
@@ -0,0 +1,15 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.default = getDomainWithoutSuffix;
+/**
+ * Return the part of domain without suffix.
+ *
+ * Example: for domain 'foo.com', the result would be 'foo'.
+ */
+function getDomainWithoutSuffix(domain, suffix) {
+ // Note: here `domain` and `suffix` cannot have the same length because in
+ // this case we set `domain` to `null` instead. It is thus safe to assume
+ // that `suffix` is shorter than `domain`.
+ return domain.slice(0, -suffix.length - 1);
+}
+//# sourceMappingURL=domain-without-suffix.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js.map
new file mode 100644
index 0000000..11dbfd0
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"domain-without-suffix.js","sourceRoot":"","sources":["../../../src/domain-without-suffix.ts"],"names":[],"mappings":";;AAKA,yCAQC;AAbD;;;;GAIG;AACH,SAAwB,sBAAsB,CAC5C,MAAc,EACd,MAAc;IAEd,0EAA0E;IAC1E,yEAAyE;IACzE,0CAA0C;IAC1C,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAC7C,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/domain.js b/vanilla/node_modules/tldts-core/dist/cjs/src/domain.js
new file mode 100644
index 0000000..b1b7c93
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/domain.js
@@ -0,0 +1,83 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.default = getDomain;
+/**
+ * Check if `vhost` is a valid suffix of `hostname` (top-domain)
+ *
+ * It means that `vhost` needs to be a suffix of `hostname` and we then need to
+ * make sure that: either they are equal, or the character preceding `vhost` in
+ * `hostname` is a '.' (it should not be a partial label).
+ *
+ * * hostname = 'not.evil.com' and vhost = 'vil.com' => not ok
+ * * hostname = 'not.evil.com' and vhost = 'evil.com' => ok
+ * * hostname = 'not.evil.com' and vhost = 'not.evil.com' => ok
+ */
+function shareSameDomainSuffix(hostname, vhost) {
+ if (hostname.endsWith(vhost)) {
+ return (hostname.length === vhost.length ||
+ hostname[hostname.length - vhost.length - 1] === '.');
+ }
+ return false;
+}
+/**
+ * Given a hostname and its public suffix, extract the general domain.
+ */
+function extractDomainWithSuffix(hostname, publicSuffix) {
+ // Locate the index of the last '.' in the part of the `hostname` preceding
+ // the public suffix.
+ //
+ // examples:
+ // 1. not.evil.co.uk => evil.co.uk
+ // ^ ^
+ // | | start of public suffix
+ // | index of the last dot
+ //
+ // 2. example.co.uk => example.co.uk
+ // ^ ^
+ // | | start of public suffix
+ // |
+ // | (-1) no dot found before the public suffix
+ const publicSuffixIndex = hostname.length - publicSuffix.length - 2;
+ const lastDotBeforeSuffixIndex = hostname.lastIndexOf('.', publicSuffixIndex);
+ // No '.' found, then `hostname` is the general domain (no sub-domain)
+ if (lastDotBeforeSuffixIndex === -1) {
+ return hostname;
+ }
+ // Extract the part between the last '.'
+ return hostname.slice(lastDotBeforeSuffixIndex + 1);
+}
+/**
+ * Detects the domain based on rules and upon and a host string
+ */
+function getDomain(suffix, hostname, options) {
+ // Check if `hostname` ends with a member of `validHosts`.
+ if (options.validHosts !== null) {
+ const validHosts = options.validHosts;
+ for (const vhost of validHosts) {
+ if ( /*@__INLINE__*/shareSameDomainSuffix(hostname, vhost)) {
+ return vhost;
+ }
+ }
+ }
+ let numberOfLeadingDots = 0;
+ if (hostname.startsWith('.')) {
+ while (numberOfLeadingDots < hostname.length &&
+ hostname[numberOfLeadingDots] === '.') {
+ numberOfLeadingDots += 1;
+ }
+ }
+ // If `hostname` is a valid public suffix, then there is no domain to return.
+ // Since we already know that `getPublicSuffix` returns a suffix of `hostname`
+ // there is no need to perform a string comparison and we only compare the
+ // size.
+ if (suffix.length === hostname.length - numberOfLeadingDots) {
+ return null;
+ }
+ // To extract the general domain, we start by identifying the public suffix
+ // (if any), then consider the domain to be the public suffix with one added
+ // level of depth. (e.g.: if hostname is `not.evil.co.uk` and public suffix:
+ // `co.uk`, then we take one more level: `evil`, giving the final result:
+ // `evil.co.uk`).
+ return /*@__INLINE__*/ extractDomainWithSuffix(hostname, suffix);
+}
+//# sourceMappingURL=domain.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/domain.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/domain.js.map
new file mode 100644
index 0000000..8a7b37f
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/domain.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../../src/domain.ts"],"names":[],"mappings":";;AA4DA,4BAuCC;AAjGD;;;;;;;;;;GAUG;AACH,SAAS,qBAAqB,CAAC,QAAgB,EAAE,KAAa;IAC5D,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7B,OAAO,CACL,QAAQ,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM;YAChC,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,GAAG,CACrD,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,uBAAuB,CAC9B,QAAgB,EAChB,YAAoB;IAEpB,2EAA2E;IAC3E,qBAAqB;IACrB,EAAE;IACF,YAAY;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Q,CAAC,MAAM,GAAG,mBAAmB,EAAE,CAAC;QAC5D,OAAO,IAAI,CAAC;IACd,CAAC;IAED,2EAA2E;IAC3E,4EAA4E;IAC5E,4EAA4E;IAC5E,yEAAyE;IACzE,iBAAiB;IACjB,OAAO,eAAe,CAAC,uBAAuB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AACnE,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/extract-hostname.js b/vanilla/node_modules/tldts-core/dist/cjs/src/extract-hostname.js
new file mode 100644
index 0000000..0409fa8
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/extract-hostname.js
@@ -0,0 +1,149 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.default = extractHostname;
+/**
+ * @param url - URL we want to extract a hostname from.
+ * @param urlIsValidHostname - hint from caller; true if `url` is already a valid hostname.
+ */
+function extractHostname(url, urlIsValidHostname) {
+ let start = 0;
+ let end = url.length;
+ let hasUpper = false;
+ // If url is not already a valid hostname, then try to extract hostname.
+ if (!urlIsValidHostname) {
+ // Special handling of data URLs
+ if (url.startsWith('data:')) {
+ return null;
+ }
+ // Trim leading spaces
+ while (start < url.length && url.charCodeAt(start) <= 32) {
+ start += 1;
+ }
+ // Trim trailing spaces
+ while (end > start + 1 && url.charCodeAt(end - 1) <= 32) {
+ end -= 1;
+ }
+ // Skip scheme.
+ if (url.charCodeAt(start) === 47 /* '/' */ &&
+ url.charCodeAt(start + 1) === 47 /* '/' */) {
+ start += 2;
+ }
+ else {
+ const indexOfProtocol = url.indexOf(':/', start);
+ if (indexOfProtocol !== -1) {
+ // Implement fast-path for common protocols. We expect most protocols
+ // should be one of these 4 and thus we will not need to perform the
+ // more expansive validity check most of the time.
+ const protocolSize = indexOfProtocol - start;
+ const c0 = url.charCodeAt(start);
+ const c1 = url.charCodeAt(start + 1);
+ const c2 = url.charCodeAt(start + 2);
+ const c3 = url.charCodeAt(start + 3);
+ const c4 = url.charCodeAt(start + 4);
+ if (protocolSize === 5 &&
+ c0 === 104 /* 'h' */ &&
+ c1 === 116 /* 't' */ &&
+ c2 === 116 /* 't' */ &&
+ c3 === 112 /* 'p' */ &&
+ c4 === 115 /* 's' */) {
+ // https
+ }
+ else if (protocolSize === 4 &&
+ c0 === 104 /* 'h' */ &&
+ c1 === 116 /* 't' */ &&
+ c2 === 116 /* 't' */ &&
+ c3 === 112 /* 'p' */) {
+ // http
+ }
+ else if (protocolSize === 3 &&
+ c0 === 119 /* 'w' */ &&
+ c1 === 115 /* 's' */ &&
+ c2 === 115 /* 's' */) {
+ // wss
+ }
+ else if (protocolSize === 2 &&
+ c0 === 119 /* 'w' */ &&
+ c1 === 115 /* 's' */) {
+ // ws
+ }
+ else {
+ // Check that scheme is valid
+ for (let i = start; i < indexOfProtocol; i += 1) {
+ const lowerCaseCode = url.charCodeAt(i) | 32;
+ if (!(((lowerCaseCode >= 97 && lowerCaseCode <= 122) || // [a, z]
+ (lowerCaseCode >= 48 && lowerCaseCode <= 57) || // [0, 9]
+ lowerCaseCode === 46 || // '.'
+ lowerCaseCode === 45 || // '-'
+ lowerCaseCode === 43) // '+'
+ )) {
+ return null;
+ }
+ }
+ }
+ // Skip 0, 1 or more '/' after ':/'
+ start = indexOfProtocol + 2;
+ while (url.charCodeAt(start) === 47 /* '/' */) {
+ start += 1;
+ }
+ }
+ }
+ // Detect first occurrence of '/', '?' or '#'. We also keep track of the
+ // last occurrence of '@', ']' or ':' to speed-up subsequent parsing of
+ // (respectively), identifier, ipv6 or port.
+ let indexOfIdentifier = -1;
+ let indexOfClosingBracket = -1;
+ let indexOfPort = -1;
+ for (let i = start; i < end; i += 1) {
+ const code = url.charCodeAt(i);
+ if (code === 35 || // '#'
+ code === 47 || // '/'
+ code === 63 // '?'
+ ) {
+ end = i;
+ break;
+ }
+ else if (code === 64) {
+ // '@'
+ indexOfIdentifier = i;
+ }
+ else if (code === 93) {
+ // ']'
+ indexOfClosingBracket = i;
+ }
+ else if (code === 58) {
+ // ':'
+ indexOfPort = i;
+ }
+ else if (code >= 65 && code <= 90) {
+ hasUpper = true;
+ }
+ }
+ // Detect identifier: '@'
+ if (indexOfIdentifier !== -1 &&
+ indexOfIdentifier > start &&
+ indexOfIdentifier < end) {
+ start = indexOfIdentifier + 1;
+ }
+ // Handle ipv6 addresses
+ if (url.charCodeAt(start) === 91 /* '[' */) {
+ if (indexOfClosingBracket !== -1) {
+ return url.slice(start + 1, indexOfClosingBracket).toLowerCase();
+ }
+ return null;
+ }
+ else if (indexOfPort !== -1 && indexOfPort > start && indexOfPort < end) {
+ // Detect port: ':'
+ end = indexOfPort;
+ }
+ }
+ // Trim trailing dots
+ while (end > start + 1 && url.charCodeAt(end - 1) === 46 /* '.' */) {
+ end -= 1;
+ }
+ const hostname = start !== 0 || end !== url.length ? url.slice(start, end) : url;
+ if (hasUpper) {
+ return hostname.toLowerCase();
+ }
+ return hostname;
+}
+//# sourceMappingURL=extract-hostname.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/extract-hostname.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/extract-hostname.js.map
new file mode 100644
index 0000000..474f726
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/extract-hostname.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"extract-hostname.js","sourceRoot":"","sources":["../../../src/extract-hostname.ts"],"names":[],"mappings":";;AAIA,kCAqKC;AAzKD;;;GAGG;AACH,SAAwB,eAAe,CACrC,GAAW,EACX,kBAA2B;IAE3B,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,IAAI,GAAG,GAAW,GAAG,CAAC,MAAM,CAAC;IAC7B,IAAI,QAAQ,GAAG,KAAK,CAAC;IAErB,wEAAwE;IACxE,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,gCAAgC;QAChC,IAAI,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;YAC5B,OAAO,IAAI,CA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AC;QAED,yBAAyB;QACzB,IACE,iBAAiB,KAAK,CAAC,CAAC;YACxB,iBAAiB,GAAG,KAAK;YACzB,iBAAiB,GAAG,GAAG,EACvB,CAAC;YACD,KAAK,GAAG,iBAAiB,GAAG,CAAC,CAAC;QAChC,CAAC;QAED,wBAAwB;QACxB,IAAI,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,SAAS,EAAE,CAAC;YAC3C,IAAI,qBAAqB,KAAK,CAAC,CAAC,EAAE,CAAC;gBACjC,OAAO,GAAG,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,EAAE,qBAAqB,CAAC,CAAC,WAAW,EAAE,CAAC;YACnE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IAAI,WAAW,KAAK,CAAC,CAAC,IAAI,WAAW,GAAG,KAAK,IAAI,WAAW,GAAG,GAAG,EAAE,CAAC;YAC1E,mBAAmB;YACnB,GAAG,GAAG,WAAW,CAAC;QACpB,CAAC;IACH,CAAC;IAED,qBAAqB;IACrB,OAAO,GAAG,GAAG,KAAK,GAAG,CAAC,IAAI,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,SAAS,EAAE,CAAC;QACnE,GAAG,IAAI,CAAC,CAAC;IACX,CAAC;IAED,MAAM,QAAQ,GACZ,KAAK,KAAK,CAAC,IAAI,GAAG,KAAK,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IAElE,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,QAAQ,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/factory.js b/vanilla/node_modules/tldts-core/dist/cjs/src/factory.js
new file mode 100644
index 0000000..811ef5b
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/factory.js
@@ -0,0 +1,107 @@
+"use strict";
+/**
+ * Implement a factory allowing to plug different implementations of suffix
+ * lookup (e.g.: using a trie or the packed hashes datastructures). This is used
+ * and exposed in `tldts.ts` and `tldts-experimental.ts` bundle entrypoints.
+ */
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.getEmptyResult = getEmptyResult;
+exports.resetResult = resetResult;
+exports.parseImpl = parseImpl;
+const domain_1 = require("./domain");
+const domain_without_suffix_1 = require("./domain-without-suffix");
+const extract_hostname_1 = require("./extract-hostname");
+const is_ip_1 = require("./is-ip");
+const is_valid_1 = require("./is-valid");
+const options_1 = require("./options");
+const subdomain_1 = require("./subdomain");
+function getEmptyResult() {
+ return {
+ domain: null,
+ domainWithoutSuffix: null,
+ hostname: null,
+ isIcann: null,
+ isIp: null,
+ isPrivate: null,
+ publicSuffix: null,
+ subdomain: null,
+ };
+}
+function resetResult(result) {
+ result.domain = null;
+ result.domainWithoutSuffix = null;
+ result.hostname = null;
+ result.isIcann = null;
+ result.isIp = null;
+ result.isPrivate = null;
+ result.publicSuffix = null;
+ result.subdomain = null;
+}
+function parseImpl(url, step, suffixLookup, partialOptions, result) {
+ const options = /*@__INLINE__*/ (0, options_1.setDefaults)(partialOptions);
+ // Very fast approximate check to make sure `url` is a string. This is needed
+ // because the library will not necessarily be used in a typed setup and
+ // values of arbitrary types might be given as argument.
+ if (typeof url !== 'string') {
+ return result;
+ }
+ // Extract hostname from `url` only if needed. This can be made optional
+ // using `options.extractHostname`. This option will typically be used
+ // whenever we are sure the inputs to `parse` are already hostnames and not
+ // arbitrary URLs.
+ //
+ // `mixedInput` allows to specify if we expect a mix of URLs and hostnames
+ // as input. If only hostnames are expected then `extractHostname` can be
+ // set to `false` to speed-up parsing. If only URLs are expected then
+ // `mixedInputs` can be set to `false`. The `mixedInputs` is only a hint
+ // and will not change the behavior of the library.
+ if (!options.extractHostname) {
+ result.hostname = url;
+ }
+ else if (options.mixedInputs) {
+ result.hostname = (0, extract_hostname_1.default)(url, (0, is_valid_1.default)(url));
+ }
+ else {
+ result.hostname = (0, extract_hostname_1.default)(url, false);
+ }
+ // Check if `hostname` is a valid ip address
+ if (options.detectIp && result.hostname !== null) {
+ result.isIp = (0, is_ip_1.default)(result.hostname);
+ if (result.isIp) {
+ return result;
+ }
+ }
+ // Perform hostname validation if enabled. If hostname is not valid, no need to
+ // go further as there will be no valid domain or sub-domain. This validation
+ // is applied before any early returns to ensure consistent behavior across
+ // all API methods including getHostname().
+ if (options.validateHostname &&
+ options.extractHostname &&
+ result.hostname !== null &&
+ !(0, is_valid_1.default)(result.hostname)) {
+ result.hostname = null;
+ return result;
+ }
+ if (step === 0 /* FLAG.HOSTNAME */ || result.hostname === null) {
+ return result;
+ }
+ // Extract public suffix
+ suffixLookup(result.hostname, options, result);
+ if (step === 2 /* FLAG.PUBLIC_SUFFIX */ || result.publicSuffix === null) {
+ return result;
+ }
+ // Extract domain
+ result.domain = (0, domain_1.default)(result.publicSuffix, result.hostname, options);
+ if (step === 3 /* FLAG.DOMAIN */ || result.domain === null) {
+ return result;
+ }
+ // Extract subdomain
+ result.subdomain = (0, subdomain_1.default)(result.hostname, result.domain);
+ if (step === 4 /* FLAG.SUB_DOMAIN */) {
+ return result;
+ }
+ // Extract domain without suffix
+ result.domainWithoutSuffix = (0, domain_without_suffix_1.default)(result.domain, result.publicSuffix);
+ return result;
+}
+//# sourceMappingURL=factory.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/factory.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/factory.js.map
new file mode 100644
index 0000000..b5e7534
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/factory.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../src/factory.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAgCH,wCAWC;AAED,kCASC;AAeD,8BAyFC;A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EAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACzE,IAAI,IAAI,wBAAgB,IAAI,MAAM,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;QACnD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,oBAAoB;IACpB,MAAM,CAAC,SAAS,GAAG,IAAA,mBAAY,EAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE,IAAI,IAAI,4BAAoB,EAAE,CAAC;QAC7B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,gCAAgC;IAChC,MAAM,CAAC,mBAAmB,GAAG,IAAA,+BAAsB,EACjD,MAAM,CAAC,MAAM,EACb,MAAM,CAAC,YAAY,CACpB,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/is-ip.js b/vanilla/node_modules/tldts-core/dist/cjs/src/is-ip.js
new file mode 100644
index 0000000..c56643b
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/is-ip.js
@@ -0,0 +1,72 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.default = isIp;
+/**
+ * Check if a hostname is an IP. You should be aware that this only works
+ * because `hostname` is already garanteed to be a valid hostname!
+ */
+function isProbablyIpv4(hostname) {
+ // Cannot be shorted than 1.1.1.1
+ if (hostname.length < 7) {
+ return false;
+ }
+ // Cannot be longer than: 255.255.255.255
+ if (hostname.length > 15) {
+ return false;
+ }
+ let numberOfDots = 0;
+ for (let i = 0; i < hostname.length; i += 1) {
+ const code = hostname.charCodeAt(i);
+ if (code === 46 /* '.' */) {
+ numberOfDots += 1;
+ }
+ else if (code < 48 /* '0' */ || code > 57 /* '9' */) {
+ return false;
+ }
+ }
+ return (numberOfDots === 3 &&
+ hostname.charCodeAt(0) !== 46 /* '.' */ &&
+ hostname.charCodeAt(hostname.length - 1) !== 46 /* '.' */);
+}
+/**
+ * Similar to isProbablyIpv4.
+ */
+function isProbablyIpv6(hostname) {
+ if (hostname.length < 3) {
+ return false;
+ }
+ let start = hostname.startsWith('[') ? 1 : 0;
+ let end = hostname.length;
+ if (hostname[end - 1] === ']') {
+ end -= 1;
+ }
+ // We only consider the maximum size of a normal IPV6. Note that this will
+ // fail on so-called "IPv4 mapped IPv6 addresses" but this is a corner-case
+ // and a proper validation library should be used for these.
+ if (end - start > 39) {
+ return false;
+ }
+ let hasColon = false;
+ for (; start < end; start += 1) {
+ const code = hostname.charCodeAt(start);
+ if (code === 58 /* ':' */) {
+ hasColon = true;
+ }
+ else if (!(((code >= 48 && code <= 57) || // 0-9
+ (code >= 97 && code <= 102) || // a-f
+ (code >= 65 && code <= 90)) // A-F
+ )) {
+ return false;
+ }
+ }
+ return hasColon;
+}
+/**
+ * Check if `hostname` is *probably* a valid ip addr (either ipv6 or ipv4).
+ * This *will not* work on any string. We need `hostname` to be a valid
+ * hostname.
+ */
+function isIp(hostname) {
+ return isProbablyIpv6(hostname) || isProbablyIpv4(hostname);
+}
+//# sourceMappingURL=is-ip.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/is-ip.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/is-ip.js.map
new file mode 100644
index 0000000..9fa918e
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/is-ip.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"is-ip.js","sourceRoot":"","sources":["../../../src/is-ip.ts"],"names":[],"mappings":";;AAoFA,uBAEC;AAtFD;;;GAGG;AACH,SAAS,cAAc,CAAC,QAAgB;IACtC,iCAAiC;IACjC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,yCAAyC;IACzC,IAAI,QAAQ,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC;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AAI,QAAQ,GAAG,KAAK,CAAC;IAErB,OAAO,KAAK,GAAG,GAAG,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QAC/B,MAAM,IAAI,GAAG,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAExC,IAAI,IAAI,KAAK,EAAE,CAAC,SAAS,EAAE,CAAC;YAC1B,QAAQ,GAAG,IAAI,CAAC;QAClB,CAAC;aAAM,IACL,CAAC,CACC,CACE,CAAC,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC,IAAI,MAAM;YACpC,CAAC,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,GAAG,CAAC,IAAI,MAAM;YACrC,CAAC,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC,CAC3B,CAAC,MAAM;SACT,EACD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;GAIG;AACH,SAAwB,IAAI,CAAC,QAAgB;IAC3C,OAAO,cAAc,CAAC,QAAQ,CAAC,IAAI,cAAc,CAAC,QAAQ,CAAC,CAAC;AAC9D,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/is-valid.js b/vanilla/node_modules/tldts-core/dist/cjs/src/is-valid.js
new file mode 100644
index 0000000..c5c9172
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/is-valid.js
@@ -0,0 +1,69 @@
+"use strict";
+/**
+ * Implements fast shallow verification of hostnames. This does not perform a
+ * struct check on the content of labels (classes of Unicode characters, etc.)
+ * but instead check that the structure is valid (number of labels, length of
+ * labels, etc.).
+ *
+ * If you need stricter validation, consider using an external library.
+ */
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.default = default_1;
+function isValidAscii(code) {
+ return ((code >= 97 && code <= 122) || (code >= 48 && code <= 57) || code > 127);
+}
+/**
+ * Check if a hostname string is valid. It's usually a preliminary check before
+ * trying to use getDomain or anything else.
+ *
+ * Beware: it does not check if the TLD exists.
+ */
+function default_1(hostname) {
+ if (hostname.length > 255) {
+ return false;
+ }
+ if (hostname.length === 0) {
+ return false;
+ }
+ if (
+ /*@__INLINE__*/ !isValidAscii(hostname.charCodeAt(0)) &&
+ hostname.charCodeAt(0) !== 46 && // '.' (dot)
+ hostname.charCodeAt(0) !== 95 // '_' (underscore)
+ ) {
+ return false;
+ }
+ // Validate hostname according to RFC
+ let lastDotIndex = -1;
+ let lastCharCode = -1;
+ const len = hostname.length;
+ for (let i = 0; i < len; i += 1) {
+ const code = hostname.charCodeAt(i);
+ if (code === 46 /* '.' */) {
+ if (
+ // Check that previous label is < 63 bytes long (64 = 63 + '.')
+ i - lastDotIndex > 64 ||
+ // Check that previous character was not already a '.'
+ lastCharCode === 46 ||
+ // Check that the previous label does not end with a '-' (dash)
+ lastCharCode === 45 ||
+ // Check that the previous label does not end with a '_' (underscore)
+ lastCharCode === 95) {
+ return false;
+ }
+ lastDotIndex = i;
+ }
+ else if (!( /*@__INLINE__*/(isValidAscii(code) || code === 45 || code === 95))) {
+ // Check if there is a forbidden character in the label
+ return false;
+ }
+ lastCharCode = code;
+ }
+ return (
+ // Check that last label is shorter than 63 chars
+ len - lastDotIndex - 1 <= 63 &&
+ // Check that the last character is an allowed trailing label character.
+ // Since we already checked that the char is a valid hostname character,
+ // we only need to check that it's different from '-'.
+ lastCharCode !== 45);
+}
+//# sourceMappingURL=is-valid.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/is-valid.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/is-valid.js.map
new file mode 100644
index 0000000..3c5dc14
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/is-valid.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"is-valid.js","sourceRoot":"","sources":["../../../src/is-valid.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;AAcH,4BAyDC;AArED,SAAS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ACnB,CAAC;gBACD,OAAO,KAAK,CAAC;YACf,CAAC;YAED,YAAY,GAAG,CAAC,CAAC;QACnB,CAAC;aAAM,IACL,CAAC,EAAC,eAAgB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC,EACrE,CAAC;YACD,uDAAuD;YACvD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,YAAY,GAAG,IAAI,CAAC;IACtB,CAAC;IAED,OAAO;IACL,iDAAiD;IACjD,GAAG,GAAG,YAAY,GAAG,CAAC,IAAI,EAAE;QAC5B,wEAAwE;QACxE,wEAAwE;QACxE,sDAAsD;QACtD,YAAY,KAAK,EAAE,CACpB,CAAC;AACJ,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js b/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js
new file mode 100644
index 0000000..07d069c
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js
@@ -0,0 +1,69 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.default = default_1;
+function default_1(hostname, options, out) {
+ // Fast path for very popular suffixes; this allows to by-pass lookup
+ // completely as well as any extra allocation or string manipulation.
+ if (!options.allowPrivateDomains && hostname.length > 3) {
+ const last = hostname.length - 1;
+ const c3 = hostname.charCodeAt(last);
+ const c2 = hostname.charCodeAt(last - 1);
+ const c1 = hostname.charCodeAt(last - 2);
+ const c0 = hostname.charCodeAt(last - 3);
+ if (c3 === 109 /* 'm' */ &&
+ c2 === 111 /* 'o' */ &&
+ c1 === 99 /* 'c' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'com';
+ return true;
+ }
+ else if (c3 === 103 /* 'g' */ &&
+ c2 === 114 /* 'r' */ &&
+ c1 === 111 /* 'o' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'org';
+ return true;
+ }
+ else if (c3 === 117 /* 'u' */ &&
+ c2 === 100 /* 'd' */ &&
+ c1 === 101 /* 'e' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'edu';
+ return true;
+ }
+ else if (c3 === 118 /* 'v' */ &&
+ c2 === 111 /* 'o' */ &&
+ c1 === 103 /* 'g' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'gov';
+ return true;
+ }
+ else if (c3 === 116 /* 't' */ &&
+ c2 === 101 /* 'e' */ &&
+ c1 === 110 /* 'n' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'net';
+ return true;
+ }
+ else if (c3 === 101 /* 'e' */ &&
+ c2 === 100 /* 'd' */ &&
+ c1 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'de';
+ return true;
+ }
+ }
+ return false;
+}
+//# sourceMappingURL=fast-path.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js.map
new file mode 100644
index 0000000..896e925
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"fast-path.js","sourceRoot":"","sources":["../../../../src/lookup/fast-path.ts"],"names":[],"mappings":";;AAEA,4BA6EC;AA7ED,mBACE,QAAgB,EAChB,OAA6B,EAC7B,GAAkB;IAElB,qEAAqE;IACrE,qEAAqE;IACrE,IAAI,CAAC,OAAO,CAAC,mBAAmB,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxD,MAAM,IAAI,GAAW,QAAQ,CAAC,MAAM,GAAG,CAA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,KAAK,CAAC;YACzB,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IACL,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,EAAE,CAAC,SAAS,EACnB,CAAC;YACD,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;YACnB,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC;YACtB,GAAG,CAAC,YAAY,GAAG,KAAK,CAAC;YACzB,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IACL,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,EAAE,CAAC,SAAS,EACnB,CAAC;YACD,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;YACnB,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC;YACtB,GAAG,CAAC,YAAY,GAAG,KAAK,CAAC;YACzB,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IACL,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,EAAE,CAAC,SAAS,EACnB,CAAC;YACD,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;YACnB,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC;YACtB,GAAG,CAAC,YAAY,GAAG,IAAI,CAAC;YACxB,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/interface.js b/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/interface.js
new file mode 100644
index 0000000..d549d1f
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/interface.js
@@ -0,0 +1,3 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=interface.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/interface.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/interface.js.map
new file mode 100644
index 0000000..c5e1058
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/lookup/interface.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"interface.js","sourceRoot":"","sources":["../../../../src/lookup/interface.ts"],"names":[],"mappings":""} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/options.js b/vanilla/node_modules/tldts-core/dist/cjs/src/options.js
new file mode 100644
index 0000000..509f539
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/options.js
@@ -0,0 +1,22 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.setDefaults = setDefaults;
+function setDefaultsImpl({ allowIcannDomains = true, allowPrivateDomains = false, detectIp = true, extractHostname = true, mixedInputs = true, validHosts = null, validateHostname = true, }) {
+ return {
+ allowIcannDomains,
+ allowPrivateDomains,
+ detectIp,
+ extractHostname,
+ mixedInputs,
+ validHosts,
+ validateHostname,
+ };
+}
+const DEFAULT_OPTIONS = /*@__INLINE__*/ setDefaultsImpl({});
+function setDefaults(options) {
+ if (options === undefined) {
+ return DEFAULT_OPTIONS;
+ }
+ return /*@__INLINE__*/ setDefaultsImpl(options);
+}
+//# sourceMappingURL=options.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/options.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/options.js.map
new file mode 100644
index 0000000..c201524
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/options.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../src/options.ts"],"names":[],"mappings":";;AAgCA,kCAMC;AA5BD,SAAS,eAAe,CAAC,EACvB,iBAAiB,GAAG,IAAI,EACxB,mBAAmB,GAAG,KAAK,EAC3B,QAAQ,GAAG,IAAI,EACf,eAAe,GAAG,IAAI,EACtB,WAAW,GAAG,IAAI,EAClB,UAAU,GAAG,IAAI,EACjB,gBAAgB,GAAG,IAAI,GACL;IAClB,OAAO;QACL,iBAAiB;QACjB,mBAAmB;QACnB,QAAQ;QACR,eAAe;QACf,WAAW;QACX,UAAU;QACV,gBAAgB;KACjB,CAAC;AACJ,CAAC;AAED,MAAM,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;AAE5D,SAAgB,WAAW,CAAC,OAA2B;IACrD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,OAAO,eAAe,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;AAClD,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/subdomain.js b/vanilla/node_modules/tldts-core/dist/cjs/src/subdomain.js
new file mode 100644
index 0000000..5d1374d
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/subdomain.js
@@ -0,0 +1,14 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.default = getSubdomain;
+/**
+ * Returns the subdomain of a hostname string
+ */
+function getSubdomain(hostname, domain) {
+ // If `hostname` and `domain` are the same, then there is no sub-domain
+ if (domain.length === hostname.length) {
+ return '';
+ }
+ return hostname.slice(0, -domain.length - 1);
+}
+//# sourceMappingURL=subdomain.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/src/subdomain.js.map b/vanilla/node_modules/tldts-core/dist/cjs/src/subdomain.js.map
new file mode 100644
index 0000000..243a6a9
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/src/subdomain.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"subdomain.js","sourceRoot":"","sources":["../../../src/subdomain.ts"],"names":[],"mappings":";;AAGA,+BAOC;AAVD;;GAEG;AACH,SAAwB,YAAY,CAAC,QAAgB,EAAE,MAAc;IACnE,uEAAuE;IACvE,IAAI,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;QACtC,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/cjs/tsconfig.tsbuildinfo b/vanilla/node_modules/tldts-core/dist/cjs/tsconfig.tsbuildinfo
new file mode 100644
index 0000000..a74185b
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/cjs/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/typescript/lib/lib.es2017.full.d.ts","../../src/domain-without-suffix.ts","../../src/options.ts","../../src/domain.ts","../../src/extract-hostname.ts","../../src/is-ip.ts","../../src/is-valid.ts","../../src/lookup/interface.ts","../../src/subdomain.ts","../../src/factory.ts","../../src/lookup/fast-path.ts","../../index.ts","../../../../node_modules/@types/deep-eql/index.d.ts","../../../../node_modules/assertion-error/index.d.ts","../../../../node_modules/@types/chai/index.d.ts","../../../../node_modules/@types/command-line-args/index.d.ts","../../../../node_modules/@types/command-line-usage/index.d.ts","../../../../node_modules/@types/estree/index.d.ts","../../../../node_modules/@types/json-schema/index.d.ts","../../../../node_modules/@types/minimatch/index.d.ts","../../../../node_modules/@types/minimist/index.d.ts","../../../../node_modules/@types/mocha/index.d.ts","../../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/blob.d.ts","../../../../node_modules/@types/node/web-globals/console.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/encoding.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client-stats.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/importmeta.d.ts","../../../../node_modules/@types/node/web-globals/messaging.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/performance.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/web-globals/timers.d.ts","../../../../node_modules/@types/node/web-globals/url.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/inspector.generated.d.ts","../../../../node_modules/@types/node/inspector/promises.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/path/posix.d.ts","../../../../node_modules/@types/node/path/win32.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/punycode/index.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/quic.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/sea.d.ts","../../../../node_modules/@types/node/sqlite.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/test/reporters.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/util/types.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/normalize-package-data/index.d.ts","../../../../node_modules/@types/parse-json/index.d.ts","../../../../node_modules/@types/resolve/index.d.ts"],"fileIdsList":[[64,65,76,139,147,151,154,156,157,158,171],[76,139,147,151,154,156,157,158,171],[76,136,137,139,147,151,154,156,157,158,171],[76,138,139,147,151,154,156,157,158,171],[139,147,151,154,156,157,158,171],[76,139,147,151,154,156,157,158,171,179],[76,139,140,145,147,150,151,154,156,157,158,160,171,176,188],[76,139,140,141,147,150,151,154,156,157,158,171],[76,139,142,147,151,154,156,157,158,171,189],[76,139,143,144,147,151,154,156,157,158,161,171],[76,139,144,147,151,154,156,157,158,171,176,185],[76,139,145,147,150,151,154,156,157,158,160,171],[76,138,139,146,147,151,154,156,157,158,171],[76,139,147,148,151,154,156,157,158,171],[76,139,147,149,150,151,154,156,157,158,171],[76,138,139,147,150,151,154,156,157,158,171],[76,139,147,150,151,152,154,156,157,158,171,176,188],[76,139,147,150,151,152,154,156,157,158,171,176,179],[76,126,139,147,150,151,153,154,156,157,158,160,171,176,188],[76,139,147,150,151,153,154,156,157,158,160,171,176,185,188],[76,139,147,151,153,154,155,156,157,158,171,176,185,188],[74,75,76,77,78,79,80,81,82,83,84,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],[76,139,147,150,151,154,156,157,158,171],[76,139,147,151,154,156,158,171],[76,139,147,151,154,156,157,158,159,171,188],[76,139,147,150,151,154,156,157,158,160,171,176],[76,139,147,151,154,156,157,158,161,171],[76,139,147,151,154,156,157,158,162,171],[76,139,147,150,151,154,156,157,158,165,171],[76,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],[76,139,147,151,154,156,157,158,168,171],[76,139,147,151,154,156,157,158,169,171],[76,139,144,147,151,154,156,157,158,160,171,179],[76,139,147,150,151,154,156,157,158,171,172],[76,139,147,151,154,156,157,158,171,173,189,192],[76,139,147,150,151,154,156,157,158,171,176,178,179],[76,139,147,151,154,156,157,158,171,177,179],[76,139,147,151,154,156,157,158,171,179,189],[76,139,147,151,154,156,157,158,171,180],[76,136,139,147,151,154,156,157,158,171,176,182],[76,139,147,151,154,156,157,158,171,176,181],[76,139,147,150,151,154,156,157,158,171,183,184],[76,139,147,151,154,156,157,158,171,183,184],[76,139,144,147,151,154,156,157,158,160,171,176,185],[76,139,147,151,154,156,157,158,171,186],[76,139,147,151,154,156,157,158,160,171,187],[76,139,147,151,153,154,156,157,158,169,171,188],[76,139,147,151,154,156,157,158,171,189,190],[76,139,144,147,151,154,156,157,158,171,190],[76,139,147,151,154,156,157,158,171,176,191],[76,139,147,151,154,156,157,158,159,171,192],[76,139,147,151,154,156,157,158,171,193],[76,139,142,147,151,154,156,157,158,171],[76,139,144,147,151,154,156,157,158,171],[76,139,147,151,154,156,157,158,171,189],[76,126,139,147,151,154,156,157,158,171],[76,139,147,151,154,156,157,158,171,188],[76,139,147,151,154,156,157,158,171,194],[76,139,147,151,154,156,157,158,165,171],[76,139,147,151,154,156,157,158,171,184],[76,126,139,147,150,151,152,154,156,157,158,165,171,176,179,188,191,192,194],[76,139,147,151,154,156,157,158,171,176,195],[76,92,95,98,99,139,147,151,154,156,157,158,171,188],[76,95,139,147,151,154,156,157,158,171,176,188],[76,95,99,139,147,151,154,156,157,158,171,188],[76,139,147,151,154,156,157,158,171,176],[76,89,139,147,151,154,156,157,158,171],[76,93,139,147,151,154,156,157,158,171],[76,91,92,95,139,147,151,154,156,157,158,171,188],[76,139,147,151,154,156,157,158,160,171,185],[76,139,147,151,154,156,157,158,171,196],[76,89,139,147,151,154,156,157,158,171,196],[76,91,95,139,147,151,154,156,157,158,160,171,188],[76,86,87,88,90,94,139,147,150,151,154,156,157,158,171,176,188],[76,95,103,111,139,147,151,154,156,157,158,171],[76,87,93,139,147,151,154,156,157,158,171],[76,95,120,121,139,147,151,154,156,157,158,171],[76,87,90,95,139,147,151,154,156,157,158,171,179,188,196],[76,95,139,147,151,154,156,157,158,171],[76,91,95,139,147,151,154,156,157,158,171,188],[76,86,139,147,151,154,156,157,158,171],[76,89,90,91,93,94,95,96,97,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,121,122,123,124,125,139,147,151,154,156,157,158,171],[76,95,113,116,139,147,151,154,156,157,158,171],[76,95,103,104,105,139,147,151,154,156,157,158,171],[76,93,95,104,106,139,147,151,154,156,157,158,171],[76,94,139,147,151,154,156,157,158,171],[76,87,89,95,139,147,151,154,156,157,158,171],[76,95,99,104,106,139,147,151,154,156,157,158,171],[76,99,139,147,151,154,156,157,158,171],[76,93,95,98,139,147,151,154,156,157,158,171,188],[76,87,91,95,103,139,147,151,154,156,157,158,171],[76,95,113,139,147,151,154,156,157,158,171],[76,106,139,147,151,154,156,157,158,171],[76,89,95,120,139,147,151,154,156,157,158,171,179,194,196],[54,59,61,62,76,139,147,151,154,156,157,158,171],[54,76,139,147,151,154,156,157,158,171],[53,54,55,56,57,58,59,60,76,139,147,151,154,156,157,158,171],[59,76,139,147,151,154,156,157,158,171]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1d242d5c24cf285c88bc4fb93c5ff903de8319064e282986edeb6247ba028d5e","impliedFormat":1},{"version":"5c875363227e1151e0927c969e844d509e9cf2d0ec49675e8cc8e756fea657b2","signature":"e4b94e1cab43978c2cb360210076dc0ddc24127f899b26ecd1d08ad3e69a8bfb"},{"version":"0d7b6b51639fa0bc0ff2488a9d23b8c575f08233f9713ebcfebe7c80413a6c59","signature":"4ed6832518a6e057aca6c6861a7d86f432064a49b1cb6c960e472bcc2404e82a"},{"version":"68c0b48ca6aa01158d632d75e3b0c7512b7241453134b0e6f9b5fd85568170e8","signature":"728ead54363374ff91f50d97f4e4cb016cf7d98b5776e4a275561465e9b55644"},{"version":"ae4f2bc40749ddefbd7968510afd5f4225ee21d3adb0b7f08a001ac74448aa5b","signature":"1c2cd22324309770f5f95d5b545b8abfaa2f10012a495f7450cf5919efa5f1d0"},{"version":"7d228f7992334d9fa1dfa53e9eedeb165999e53eebfa8997114ef8199ba27b74","signature":"0070d0b5eac342c134ec352d2df82c2b44a89313c911a9a2c4192846b6670f47"},{"version":"c5dc32ae7ae379cc85b2ea15173a78732d3a2569ed9fbc22e75e111218cecc62","signature":"a4a9a883a79a43efcf8329429655b80c252e56c3e9dc838aed79e2b57cc7a301"},{"version":"58eb284519a37bcad186960e7e5e7090193ef4397d74fd121ac964115c60ddb8","signature":"863cbb90fdbdd1d4d46722580a9648a44732bbbca2ca36655f0951a872154ccc"},{"version":"b9d4b43460d9f3f3e3d0a78a8f27fe95dc9442fefb4264107f7e66dab1a723c0","signature":"570e79005c2a54cb13c7f8c04d072b96fb65209c977a6f2d06220b7972ec63fd"},{"version":"fabe61ce770550559b433f9bbf636299e10adcaecd49345d642fb008b5a0c454","signature":"45c1b68819be5f90018e54b257c0fff392fa02224db1622d9eecd31649ffade7"},{"version":"b9bef413fdb659ff3f25595b9d2d71c741daad836c26b8b1579ed8e82daf120b","signature":"899c62c52e9f287a86c1c4dd1281495fd80c652ccc578d93b976fa6c1efa1941"},{"version":"b9bfec8044371ad6527dc0c554ebe549c1117d426032f0551d25f54e69d11f6b","signature":"5e5c1ae2c2698f3029c0ed9f2b7fc3a72d155d04fe5d845fa04f657aa14e156d"},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"5b7206ca5f2f6eeaac6daa285664f424e0b728f3e31937da89deb8696c5f1dbc","impliedFormat":1},{"version":"53dd92e141efe47b413a058f3fbcc6e40a84f5afdde16f45de550a476da25d98","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","impliedFormat":1},{"version":"fbca5ffaebf282ec3cdac47b0d1d4a138a8b0bb32105251a38acb235087d3318","impliedFormat":1},{"version":"29f72ec1289ae3aeda78bf14b38086d3d803262ac13904b400422941a26a3636","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"438b41419b1df9f1fbe33b5e1b18f5853432be205991d1b19f5b7f351675541e","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"435b3711465425770ed2ee2f1cf00ce071835265e0851a7dc4600ab4b007550e","impliedFormat":1},{"version":"7e49f52a159435fc8df4de9dc377ef5860732ca2dc9efec1640531d3cf5da7a3","impliedFormat":1},{"version":"dd4bde4bdc2e5394aed6855e98cf135dfdf5dd6468cad842e03116d31bbcc9bc","impliedFormat":1},{"version":"4d4e879009a84a47c05350b8dca823036ba3a29a3038efed1be76c9f81e45edf","affectsGlobalScope":true,"impliedFormat":1},{"version":"237ba5ac2a95702a114a309e39c53a5bddff5f6333b325db9764df9b34f3502b","impliedFormat":1},{"version":"9ba13b47cb450a438e3076c4a3f6afb9dc85e17eae50f26d4b2d72c0688c9251","impliedFormat":1},{"version":"b64cd4401633ea4ecadfd700ddc8323a13b63b106ac7127c1d2726f32424622c","impliedFormat":1},{"version":"37c6e5fe5715814412b43cc9b50b24c67a63c4e04e753e0d1305970d65417a60","impliedFormat":1},{"version":"1d024184fb57c58c5c91823f9d10b4915a4867b7934e89115fd0d861a9df27c8","impliedFormat":1},{"version":"ee0e4946247f842c6dd483cbb60a5e6b484fee07996e3a7bc7343dfb68a04c5d","impliedFormat":1},{"version":"ef051f42b7e0ef5ca04552f54c4552eac84099d64b6c5ad0ef4033574b6035b8","impliedFormat":1},{"version":"853a43154f1d01b0173d9cbd74063507ece57170bad7a3b68f3fa1229ad0a92f","impliedFormat":1},{"version":"56231e3c39a031bfb0afb797690b20ed4537670c93c0318b72d5180833d98b72","impliedFormat":1},{"version":"5cc7c39031bfd8b00ad58f32143d59eb6ffc24f5d41a20931269011dccd36c5e","impliedFormat":1},{"version":"b0b69c61b0f0ec8ca15db4c8c41f6e77f4cacb784d42bca948f42dea33e8757e","affectsGlobalScope":true,"impliedFormat":1},{"version":"f96a48183254c00d24575401f1a761b4ce4927d927407e7862a83e06ce5d6964","impliedFormat":1},{"version":"cc25940cfb27aa538e60d465f98bb5068d4d7d33131861ace43f04fe6947d68f","impliedFormat":1},{"version":"9dec1d75d47c23b595402f265babeac9c0f645427df7e937d69ddfa05cdddc1f","impliedFormat":1},{"version":"01ff95aa1443e3f7248974e5a771f513cb2ac158c8898f470a1792f817bee497","impliedFormat":1},{"version":"757227c8b345c57d76f7f0e3bbad7a91ffca23f1b2547cbed9e10025816c9cb7","impliedFormat":1},{"version":"42a05d8f239f74587d4926aba8cc54792eed8e8a442c7adc9b38b516642aadfe","impliedFormat":1},{"version":"5d21b58d60383cc6ab9ad3d3e265d7d25af24a2c9b506247e0e50b0a884920be","impliedFormat":1},{"version":"101f482fd48cb4c7c0468dcc6d62c843d842977aea6235644b1edd05e81fbf22","impliedFormat":1},{"version":"ae6757460f37078884b1571a3de3ebaf724d827d7e1d53626c02b3c2a408ac63","affectsGlobalScope":true,"impliedFormat":1},{"version":"9451a46a89ed209e2e08329e6cac59f89356eae79a7230f916d8cc38725407c7","impliedFormat":1},{"version":"3ef397f12387eff17f550bc484ea7c27d21d43816bbe609d495107f44b97e933","impliedFormat":1},{"version":"1023282e2ba810bc07905d3668349fbd37a26411f0c8f94a70ef3c05fe523fcf","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"e236b5eba291f51bdf32c231673e6cab81b5410850e61f51a7a524dddadc0f95","impliedFormat":1},{"version":"2ccea88888048bbfcacbc9531a5596ea48a3e7dcd0a25f531a81bb717903ba4f","impliedFormat":1},{"version":"f7ba0e839daa0702e3ff1a1a871c0d8ea2d586ce684dd8a72c786c36a680b1d9","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f2c62938251b45715fd2a9887060ec4fbc8724727029d1cbce373747252bdd7","impliedFormat":1},{"version":"e3ace08b6bbd84655d41e244677b474fd995923ffef7149ddb68af8848b60b05","impliedFormat":1},{"version":"132580b0e86c48fab152bab850fc57a4b74fe915c8958d2ccb052b809a44b61c","impliedFormat":1},{"version":"af4ab0aa8908fc9a655bb833d3bc28e117c4f0e1038c5a891546158beb25accb","impliedFormat":1},{"version":"69c9a5a9392e8564bd81116e1ed93b13205201fb44cb35a7fde8c9f9e21c4b23","impliedFormat":1},{"version":"5f8fc37f8434691ffac1bfd8fc2634647da2c0e84253ab5d2dd19a7718915b35","impliedFormat":1},{"version":"5981c2340fd8b076cae8efbae818d42c11ffc615994cb060b1cd390795f1be2b","impliedFormat":1},{"version":"f64deb26664af64dc274637343bde8d82f930c77af05a412c7d310b77207a448","impliedFormat":1},{"version":"ed4f674fc8c0c993cc7e145069ac44129e03519b910c62be206a0cc777bdc60b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0250da3eb85c99624f974e77ef355cdf86f43980251bc371475c2b397ba55bcd","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"3d3a5f27ffbc06c885dd4d5f9ee20de61faf877fe2c3a7051c4825903d9a7fdc","impliedFormat":1},{"version":"12806f9f085598ef930edaf2467a5fa1789a878fba077cd27e85dc5851e11834","impliedFormat":1},{"version":"17d06eb5709839c7ce719f0c38ada6f308fb433f2cd6d8c87b35856e07400950","impliedFormat":1},{"version":"a43fe41c33d0a192a0ecaf9b92e87bef3709c9972e6d53c42c49251ccb962d69","impliedFormat":1},{"version":"a177959203c017fad3ecc4f3d96c8757a840957a4959a3ae00dab9d35961ca6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc727ccf9b36e257ff982ea0badeffbfc2c151802f741bddff00c6af3b784cf","impliedFormat":1},{"version":"2a00d005e3af99cd1cfa75220e60c61b04bfb6be7ca7453bfe2ef6cca37cc03c","impliedFormat":1},{"version":"4844a4c9b4b1e812b257676ed8a80b3f3be0e29bf05e742cc2ea9c3c6865e6c6","impliedFormat":1},{"version":"064878a60367e0407c42fb7ba02a2ea4d83257357dc20088e549bd4d89433e9c","impliedFormat":1},{"version":"14d4bd22d1b05824971b98f7e91b2484c90f1a684805c330476641417c3d9735","impliedFormat":1},{"version":"c3877fef8a43cd434f9728f25a97575b0eb73d92f38b5c87c840daccc3e21d97","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"1dbd83860e7634f9c236647f45dbc5d3c4f9eba8827d87209d6e9826fdf4dbd5","impliedFormat":1},{"version":"41ef7992c555671a8fe54db302788adefa191ded810a50329b79d20a6772d14c","impliedFormat":1},{"version":"041a7781b9127ab568d2cdcce62c58fdea7c7407f40b8c50045d7866a2727130","impliedFormat":1},{"version":"b37f83e7deea729aa9ce5593f78905afb45b7532fdff63041d374f60059e7852","impliedFormat":1},{"version":"e1cb68f3ef3a8dd7b2a9dfb3de482ed6c0f1586ba0db4e7d73c1d2147b6ffc51","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1},{"version":"916be7d770b0ae0406be9486ac12eb9825f21514961dd050594c4b250617d5a8","impliedFormat":1},{"version":"8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","impliedFormat":1}],"root":[[53,63]],"options":{"composite":true,"declaration":true,"declarationDir":"../types","module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"strict":true,"target":4},"referencedMap":[[66,1],[67,2],[68,2],[64,2],[69,2],[70,2],[71,2],[72,2],[73,2],[136,3],[137,3],[138,4],[76,5],[139,6],[140,7],[141,8],[74,2],[142,9],[143,10],[144,11],[145,12],[146,13],[147,14],[148,14],[149,15],[150,16],[151,17],[152,18],[77,2],[75,2],[153,19],[154,20],[155,21],[196,22],[156,23],[157,24],[158,23],[159,25],[160,26],[161,27],[162,28],[163,28],[164,28],[165,29],[167,30],[168,31],[169,32],[170,33],[171,34],[172,34],[173,35],[174,2],[175,2],[176,36],[177,37],[178,36],[179,38],[180,39],[181,40],[182,41],[183,42],[184,43],[185,44],[186,45],[187,46],[188,47],[189,48],[190,49],[191,50],[192,51],[193,52],[78,23],[79,2],[80,53],[81,54],[82,2],[83,55],[84,2],[127,56],[128,57],[129,58],[130,58],[131,59],[132,2],[133,6],[134,60],[135,57],[194,61],[195,62],[197,2],[198,2],[166,2],[199,2],[65,2],[85,2],[50,2],[51,2],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[22,2],[23,2],[4,2],[24,2],[52,2],[28,2],[25,2],[26,2],[27,2],[29,2],[30,2],[31,2],[5,2],[32,2],[33,2],[34,2],[35,2],[6,2],[39,2],[36,2],[37,2],[38,2],[40,2],[7,2],[41,2],[46,2],[47,2],[42,2],[43,2],[44,2],[45,2],[1,2],[48,2],[49,2],[11,2],[10,2],[103,63],[115,64],[101,65],[116,66],[125,67],[92,68],[93,69],[91,70],[124,71],[119,72],[123,73],[95,74],[112,75],[94,76],[122,77],[89,78],[90,72],[96,79],[97,2],[102,80],[100,79],[87,81],[126,82],[117,83],[106,84],[105,79],[107,85],[110,86],[104,87],[108,88],[120,71],[98,89],[99,90],[111,91],[88,66],[114,92],[113,79],[109,93],[118,2],[86,2],[121,94],[63,95],[53,2],[55,96],[56,2],[61,97],[57,2],[58,2],[62,98],[59,2],[54,2],[60,2]],"latestChangedDtsFile":"../types/index.d.ts","version":"5.9.3"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/index.js b/vanilla/node_modules/tldts-core/dist/es6/index.js
new file mode 100644
index 0000000..7e1cd82
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/index.js
@@ -0,0 +1,4 @@
+export { parseImpl, getEmptyResult, resetResult, } from './src/factory';
+export { default as fastPathLookup } from './src/lookup/fast-path';
+export { setDefaults } from './src/options';
+//# sourceMappingURL=index.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/index.js.map b/vanilla/node_modules/tldts-core/dist/es6/index.js.map
new file mode 100644
index 0000000..b19f42a
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EAET,cAAc,EACd,WAAW,GACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAY,WAAW,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js b/vanilla/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js
new file mode 100644
index 0000000..0f93266
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js
@@ -0,0 +1,12 @@
+/**
+ * Return the part of domain without suffix.
+ *
+ * Example: for domain 'foo.com', the result would be 'foo'.
+ */
+export default function getDomainWithoutSuffix(domain, suffix) {
+ // Note: here `domain` and `suffix` cannot have the same length because in
+ // this case we set `domain` to `null` instead. It is thus safe to assume
+ // that `suffix` is shorter than `domain`.
+ return domain.slice(0, -suffix.length - 1);
+}
+//# sourceMappingURL=domain-without-suffix.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js.map
new file mode 100644
index 0000000..8bc941f
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"domain-without-suffix.js","sourceRoot":"","sources":["../../../src/domain-without-suffix.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,MAAc,EACd,MAAc;IAEd,0EAA0E;IAC1E,yEAAyE;IACzE,0CAA0C;IAC1C,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAC7C,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/domain.js b/vanilla/node_modules/tldts-core/dist/es6/src/domain.js
new file mode 100644
index 0000000..0e23f78
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/domain.js
@@ -0,0 +1,80 @@
+/**
+ * Check if `vhost` is a valid suffix of `hostname` (top-domain)
+ *
+ * It means that `vhost` needs to be a suffix of `hostname` and we then need to
+ * make sure that: either they are equal, or the character preceding `vhost` in
+ * `hostname` is a '.' (it should not be a partial label).
+ *
+ * * hostname = 'not.evil.com' and vhost = 'vil.com' => not ok
+ * * hostname = 'not.evil.com' and vhost = 'evil.com' => ok
+ * * hostname = 'not.evil.com' and vhost = 'not.evil.com' => ok
+ */
+function shareSameDomainSuffix(hostname, vhost) {
+ if (hostname.endsWith(vhost)) {
+ return (hostname.length === vhost.length ||
+ hostname[hostname.length - vhost.length - 1] === '.');
+ }
+ return false;
+}
+/**
+ * Given a hostname and its public suffix, extract the general domain.
+ */
+function extractDomainWithSuffix(hostname, publicSuffix) {
+ // Locate the index of the last '.' in the part of the `hostname` preceding
+ // the public suffix.
+ //
+ // examples:
+ // 1. not.evil.co.uk => evil.co.uk
+ // ^ ^
+ // | | start of public suffix
+ // | index of the last dot
+ //
+ // 2. example.co.uk => example.co.uk
+ // ^ ^
+ // | | start of public suffix
+ // |
+ // | (-1) no dot found before the public suffix
+ const publicSuffixIndex = hostname.length - publicSuffix.length - 2;
+ const lastDotBeforeSuffixIndex = hostname.lastIndexOf('.', publicSuffixIndex);
+ // No '.' found, then `hostname` is the general domain (no sub-domain)
+ if (lastDotBeforeSuffixIndex === -1) {
+ return hostname;
+ }
+ // Extract the part between the last '.'
+ return hostname.slice(lastDotBeforeSuffixIndex + 1);
+}
+/**
+ * Detects the domain based on rules and upon and a host string
+ */
+export default function getDomain(suffix, hostname, options) {
+ // Check if `hostname` ends with a member of `validHosts`.
+ if (options.validHosts !== null) {
+ const validHosts = options.validHosts;
+ for (const vhost of validHosts) {
+ if ( /*@__INLINE__*/shareSameDomainSuffix(hostname, vhost)) {
+ return vhost;
+ }
+ }
+ }
+ let numberOfLeadingDots = 0;
+ if (hostname.startsWith('.')) {
+ while (numberOfLeadingDots < hostname.length &&
+ hostname[numberOfLeadingDots] === '.') {
+ numberOfLeadingDots += 1;
+ }
+ }
+ // If `hostname` is a valid public suffix, then there is no domain to return.
+ // Since we already know that `getPublicSuffix` returns a suffix of `hostname`
+ // there is no need to perform a string comparison and we only compare the
+ // size.
+ if (suffix.length === hostname.length - numberOfLeadingDots) {
+ return null;
+ }
+ // To extract the general domain, we start by identifying the public suffix
+ // (if any), then consider the domain to be the public suffix with one added
+ // level of depth. (e.g.: if hostname is `not.evil.co.uk` and public suffix:
+ // `co.uk`, then we take one more level: `evil`, giving the final result:
+ // `evil.co.uk`).
+ return /*@__INLINE__*/ extractDomainWithSuffix(hostname, suffix);
+}
+//# sourceMappingURL=domain.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/domain.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/domain.js.map
new file mode 100644
index 0000000..8d116c7
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/domain.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../../src/domain.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,SAAS,qBAAqB,CAAC,QAAgB,EAAE,KAAa;IAC5D,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7B,OAAO,CACL,QAAQ,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM;YAChC,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,GAAG,CACrD,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,uBAAuB,CAC9B,QAAgB,EAChB,YAAoB;IAEpB,2EAA2E;IAC3E,qBAAqB;IACrB,EAAE;IACF,YAAY;IACZ,qCAAqC;IACrC,iBAAiB;IACjB,wCAAwC;IACxC,kCAAkC;IAClC,EAAE;IACF,wCAAwC;IACxC,gBAAgB;IAChB,uCAAuC;IACvC,QAAQ;IACR,mDAAmD;IACnD,MAAM,iBAAiB,GAAG,QAAQ,C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B,OAAO,eAAe,CAAC,uBAAuB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AACnE,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/extract-hostname.js b/vanilla/node_modules/tldts-core/dist/es6/src/extract-hostname.js
new file mode 100644
index 0000000..2267976
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/extract-hostname.js
@@ -0,0 +1,146 @@
+/**
+ * @param url - URL we want to extract a hostname from.
+ * @param urlIsValidHostname - hint from caller; true if `url` is already a valid hostname.
+ */
+export default function extractHostname(url, urlIsValidHostname) {
+ let start = 0;
+ let end = url.length;
+ let hasUpper = false;
+ // If url is not already a valid hostname, then try to extract hostname.
+ if (!urlIsValidHostname) {
+ // Special handling of data URLs
+ if (url.startsWith('data:')) {
+ return null;
+ }
+ // Trim leading spaces
+ while (start < url.length && url.charCodeAt(start) <= 32) {
+ start += 1;
+ }
+ // Trim trailing spaces
+ while (end > start + 1 && url.charCodeAt(end - 1) <= 32) {
+ end -= 1;
+ }
+ // Skip scheme.
+ if (url.charCodeAt(start) === 47 /* '/' */ &&
+ url.charCodeAt(start + 1) === 47 /* '/' */) {
+ start += 2;
+ }
+ else {
+ const indexOfProtocol = url.indexOf(':/', start);
+ if (indexOfProtocol !== -1) {
+ // Implement fast-path for common protocols. We expect most protocols
+ // should be one of these 4 and thus we will not need to perform the
+ // more expansive validity check most of the time.
+ const protocolSize = indexOfProtocol - start;
+ const c0 = url.charCodeAt(start);
+ const c1 = url.charCodeAt(start + 1);
+ const c2 = url.charCodeAt(start + 2);
+ const c3 = url.charCodeAt(start + 3);
+ const c4 = url.charCodeAt(start + 4);
+ if (protocolSize === 5 &&
+ c0 === 104 /* 'h' */ &&
+ c1 === 116 /* 't' */ &&
+ c2 === 116 /* 't' */ &&
+ c3 === 112 /* 'p' */ &&
+ c4 === 115 /* 's' */) {
+ // https
+ }
+ else if (protocolSize === 4 &&
+ c0 === 104 /* 'h' */ &&
+ c1 === 116 /* 't' */ &&
+ c2 === 116 /* 't' */ &&
+ c3 === 112 /* 'p' */) {
+ // http
+ }
+ else if (protocolSize === 3 &&
+ c0 === 119 /* 'w' */ &&
+ c1 === 115 /* 's' */ &&
+ c2 === 115 /* 's' */) {
+ // wss
+ }
+ else if (protocolSize === 2 &&
+ c0 === 119 /* 'w' */ &&
+ c1 === 115 /* 's' */) {
+ // ws
+ }
+ else {
+ // Check that scheme is valid
+ for (let i = start; i < indexOfProtocol; i += 1) {
+ const lowerCaseCode = url.charCodeAt(i) | 32;
+ if (!(((lowerCaseCode >= 97 && lowerCaseCode <= 122) || // [a, z]
+ (lowerCaseCode >= 48 && lowerCaseCode <= 57) || // [0, 9]
+ lowerCaseCode === 46 || // '.'
+ lowerCaseCode === 45 || // '-'
+ lowerCaseCode === 43) // '+'
+ )) {
+ return null;
+ }
+ }
+ }
+ // Skip 0, 1 or more '/' after ':/'
+ start = indexOfProtocol + 2;
+ while (url.charCodeAt(start) === 47 /* '/' */) {
+ start += 1;
+ }
+ }
+ }
+ // Detect first occurrence of '/', '?' or '#'. We also keep track of the
+ // last occurrence of '@', ']' or ':' to speed-up subsequent parsing of
+ // (respectively), identifier, ipv6 or port.
+ let indexOfIdentifier = -1;
+ let indexOfClosingBracket = -1;
+ let indexOfPort = -1;
+ for (let i = start; i < end; i += 1) {
+ const code = url.charCodeAt(i);
+ if (code === 35 || // '#'
+ code === 47 || // '/'
+ code === 63 // '?'
+ ) {
+ end = i;
+ break;
+ }
+ else if (code === 64) {
+ // '@'
+ indexOfIdentifier = i;
+ }
+ else if (code === 93) {
+ // ']'
+ indexOfClosingBracket = i;
+ }
+ else if (code === 58) {
+ // ':'
+ indexOfPort = i;
+ }
+ else if (code >= 65 && code <= 90) {
+ hasUpper = true;
+ }
+ }
+ // Detect identifier: '@'
+ if (indexOfIdentifier !== -1 &&
+ indexOfIdentifier > start &&
+ indexOfIdentifier < end) {
+ start = indexOfIdentifier + 1;
+ }
+ // Handle ipv6 addresses
+ if (url.charCodeAt(start) === 91 /* '[' */) {
+ if (indexOfClosingBracket !== -1) {
+ return url.slice(start + 1, indexOfClosingBracket).toLowerCase();
+ }
+ return null;
+ }
+ else if (indexOfPort !== -1 && indexOfPort > start && indexOfPort < end) {
+ // Detect port: ':'
+ end = indexOfPort;
+ }
+ }
+ // Trim trailing dots
+ while (end > start + 1 && url.charCodeAt(end - 1) === 46 /* '.' */) {
+ end -= 1;
+ }
+ const hostname = start !== 0 || end !== url.length ? url.slice(start, end) : url;
+ if (hasUpper) {
+ return hostname.toLowerCase();
+ }
+ return hostname;
+}
+//# sourceMappingURL=extract-hostname.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/extract-hostname.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/extract-hostname.js.map
new file mode 100644
index 0000000..4136b63
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/extract-hostname.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"extract-hostname.js","sourceRoot":"","sources":["../../../src/extract-hostname.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CACrC,GAAW,EACX,kBAA2B;IAE3B,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,IAAI,GAAG,GAAW,GAAG,CAAC,MAAM,CAAC;IAC7B,IAAI,QAAQ,GAAG,KAAK,CAAC;IAErB,wEAAwE;IACxE,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,gCAAgC;QAChC,IAAI,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC;QACd,CAAC;QAED,sBAAsB;QACtB,OAAO,KAAK,GAAG,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;YACzD,KAAK,IAAI,CAAC,CAAC;QACb,CAAC;QAED,uBAAuB;QACvB,OAAO,GAAG,GAAG,KA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,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,SAAS,EAAE,CAAC;YAC3C,IAAI,qBAAqB,KAAK,CAAC,CAAC,EAAE,CAAC;gBACjC,OAAO,GAAG,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,EAAE,qBAAqB,CAAC,CAAC,WAAW,EAAE,CAAC;YACnE,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IAAI,WAAW,KAAK,CAAC,CAAC,IAAI,WAAW,GAAG,KAAK,IAAI,WAAW,GAAG,GAAG,EAAE,CAAC;YAC1E,mBAAmB;YACnB,GAAG,GAAG,WAAW,CAAC;QACpB,CAAC;IACH,CAAC;IAED,qBAAqB;IACrB,OAAO,GAAG,GAAG,KAAK,GAAG,CAAC,IAAI,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,SAAS,EAAE,CAAC;QACnE,GAAG,IAAI,CAAC,CAAC;IACX,CAAC;IAED,MAAM,QAAQ,GACZ,KAAK,KAAK,CAAC,IAAI,GAAG,KAAK,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IAElE,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,QAAQ,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/factory.js b/vanilla/node_modules/tldts-core/dist/es6/src/factory.js
new file mode 100644
index 0000000..07efee2
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/factory.js
@@ -0,0 +1,102 @@
+/**
+ * Implement a factory allowing to plug different implementations of suffix
+ * lookup (e.g.: using a trie or the packed hashes datastructures). This is used
+ * and exposed in `tldts.ts` and `tldts-experimental.ts` bundle entrypoints.
+ */
+import getDomain from './domain';
+import getDomainWithoutSuffix from './domain-without-suffix';
+import extractHostname from './extract-hostname';
+import isIp from './is-ip';
+import isValidHostname from './is-valid';
+import { setDefaults } from './options';
+import getSubdomain from './subdomain';
+export function getEmptyResult() {
+ return {
+ domain: null,
+ domainWithoutSuffix: null,
+ hostname: null,
+ isIcann: null,
+ isIp: null,
+ isPrivate: null,
+ publicSuffix: null,
+ subdomain: null,
+ };
+}
+export function resetResult(result) {
+ result.domain = null;
+ result.domainWithoutSuffix = null;
+ result.hostname = null;
+ result.isIcann = null;
+ result.isIp = null;
+ result.isPrivate = null;
+ result.publicSuffix = null;
+ result.subdomain = null;
+}
+export function parseImpl(url, step, suffixLookup, partialOptions, result) {
+ const options = /*@__INLINE__*/ setDefaults(partialOptions);
+ // Very fast approximate check to make sure `url` is a string. This is needed
+ // because the library will not necessarily be used in a typed setup and
+ // values of arbitrary types might be given as argument.
+ if (typeof url !== 'string') {
+ return result;
+ }
+ // Extract hostname from `url` only if needed. This can be made optional
+ // using `options.extractHostname`. This option will typically be used
+ // whenever we are sure the inputs to `parse` are already hostnames and not
+ // arbitrary URLs.
+ //
+ // `mixedInput` allows to specify if we expect a mix of URLs and hostnames
+ // as input. If only hostnames are expected then `extractHostname` can be
+ // set to `false` to speed-up parsing. If only URLs are expected then
+ // `mixedInputs` can be set to `false`. The `mixedInputs` is only a hint
+ // and will not change the behavior of the library.
+ if (!options.extractHostname) {
+ result.hostname = url;
+ }
+ else if (options.mixedInputs) {
+ result.hostname = extractHostname(url, isValidHostname(url));
+ }
+ else {
+ result.hostname = extractHostname(url, false);
+ }
+ // Check if `hostname` is a valid ip address
+ if (options.detectIp && result.hostname !== null) {
+ result.isIp = isIp(result.hostname);
+ if (result.isIp) {
+ return result;
+ }
+ }
+ // Perform hostname validation if enabled. If hostname is not valid, no need to
+ // go further as there will be no valid domain or sub-domain. This validation
+ // is applied before any early returns to ensure consistent behavior across
+ // all API methods including getHostname().
+ if (options.validateHostname &&
+ options.extractHostname &&
+ result.hostname !== null &&
+ !isValidHostname(result.hostname)) {
+ result.hostname = null;
+ return result;
+ }
+ if (step === 0 /* FLAG.HOSTNAME */ || result.hostname === null) {
+ return result;
+ }
+ // Extract public suffix
+ suffixLookup(result.hostname, options, result);
+ if (step === 2 /* FLAG.PUBLIC_SUFFIX */ || result.publicSuffix === null) {
+ return result;
+ }
+ // Extract domain
+ result.domain = getDomain(result.publicSuffix, result.hostname, options);
+ if (step === 3 /* FLAG.DOMAIN */ || result.domain === null) {
+ return result;
+ }
+ // Extract subdomain
+ result.subdomain = getSubdomain(result.hostname, result.domain);
+ if (step === 4 /* FLAG.SUB_DOMAIN */) {
+ return result;
+ }
+ // Extract domain without suffix
+ result.domainWithoutSuffix = getDomainWithoutSuffix(result.domain, result.publicSuffix);
+ return result;
+}
+//# sourceMappingURL=factory.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/factory.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/factory.js.map
new file mode 100644
index 0000000..9bf7f65
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/factory.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../src/factory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,SAAS,MAAM,UAAU,CAAC;AACjC,OAAO,sBAAsB,MAAM,yBAAyB,CAAC;AAC7D,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,eAAe,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAY,WAAW,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,YAAY,MAAM,aAAa,CAAC;AAuBvC,MAAM,UAAU,cAAc;IAC5B,OAAO;QACL,MAAM,EAAE,IAAI;QACZ,mBAAmB,EAAE,IAAI;QACzB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,IAAI;QACV,SAAS,EAAE,IAAI;QACf,YA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AC;QAC7B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,gCAAgC;IAChC,MAAM,CAAC,mBAAmB,GAAG,sBAAsB,CACjD,MAAM,CAAC,MAAM,EACb,MAAM,CAAC,YAAY,CACpB,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/is-ip.js b/vanilla/node_modules/tldts-core/dist/es6/src/is-ip.js
new file mode 100644
index 0000000..715f930
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/is-ip.js
@@ -0,0 +1,69 @@
+/**
+ * Check if a hostname is an IP. You should be aware that this only works
+ * because `hostname` is already garanteed to be a valid hostname!
+ */
+function isProbablyIpv4(hostname) {
+ // Cannot be shorted than 1.1.1.1
+ if (hostname.length < 7) {
+ return false;
+ }
+ // Cannot be longer than: 255.255.255.255
+ if (hostname.length > 15) {
+ return false;
+ }
+ let numberOfDots = 0;
+ for (let i = 0; i < hostname.length; i += 1) {
+ const code = hostname.charCodeAt(i);
+ if (code === 46 /* '.' */) {
+ numberOfDots += 1;
+ }
+ else if (code < 48 /* '0' */ || code > 57 /* '9' */) {
+ return false;
+ }
+ }
+ return (numberOfDots === 3 &&
+ hostname.charCodeAt(0) !== 46 /* '.' */ &&
+ hostname.charCodeAt(hostname.length - 1) !== 46 /* '.' */);
+}
+/**
+ * Similar to isProbablyIpv4.
+ */
+function isProbablyIpv6(hostname) {
+ if (hostname.length < 3) {
+ return false;
+ }
+ let start = hostname.startsWith('[') ? 1 : 0;
+ let end = hostname.length;
+ if (hostname[end - 1] === ']') {
+ end -= 1;
+ }
+ // We only consider the maximum size of a normal IPV6. Note that this will
+ // fail on so-called "IPv4 mapped IPv6 addresses" but this is a corner-case
+ // and a proper validation library should be used for these.
+ if (end - start > 39) {
+ return false;
+ }
+ let hasColon = false;
+ for (; start < end; start += 1) {
+ const code = hostname.charCodeAt(start);
+ if (code === 58 /* ':' */) {
+ hasColon = true;
+ }
+ else if (!(((code >= 48 && code <= 57) || // 0-9
+ (code >= 97 && code <= 102) || // a-f
+ (code >= 65 && code <= 90)) // A-F
+ )) {
+ return false;
+ }
+ }
+ return hasColon;
+}
+/**
+ * Check if `hostname` is *probably* a valid ip addr (either ipv6 or ipv4).
+ * This *will not* work on any string. We need `hostname` to be a valid
+ * hostname.
+ */
+export default function isIp(hostname) {
+ return isProbablyIpv6(hostname) || isProbablyIpv4(hostname);
+}
+//# sourceMappingURL=is-ip.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/is-ip.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/is-ip.js.map
new file mode 100644
index 0000000..259bc62
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/is-ip.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"is-ip.js","sourceRoot":"","sources":["../../../src/is-ip.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,SAAS,cAAc,CAAC,QAAgB;IACtC,iCAAiC;IACjC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,yCAAyC;IACzC,IAAI,QAAQ,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,YAAY,GAAG,CAAC,CAAC;IAErB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5C,MAAM,IAAI,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAEpC,IAAI,IAAI,KAAK,EAAE,CAAC,SAAS,EAAE,CAAC;YAC1B,YAAY,IAAI,CAAC,CAAC;QACpB,CAAC;aAAM,IAAI,IAAI,GAAG,EAAE,CAAC,SAAS,IAAI,IAAI,GAAG,EAAE,CAAC,SAAS,EAAE,CAAC;YACtD,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AI,MAAM;YACrC,CAAC,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC,CAC3B,CAAC,MAAM;SACT,EACD,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,QAAgB;IAC3C,OAAO,cAAc,CAAC,QAAQ,CAAC,IAAI,cAAc,CAAC,QAAQ,CAAC,CAAC;AAC9D,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/is-valid.js b/vanilla/node_modules/tldts-core/dist/es6/src/is-valid.js
new file mode 100644
index 0000000..02d3ffc
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/is-valid.js
@@ -0,0 +1,66 @@
+/**
+ * Implements fast shallow verification of hostnames. This does not perform a
+ * struct check on the content of labels (classes of Unicode characters, etc.)
+ * but instead check that the structure is valid (number of labels, length of
+ * labels, etc.).
+ *
+ * If you need stricter validation, consider using an external library.
+ */
+function isValidAscii(code) {
+ return ((code >= 97 && code <= 122) || (code >= 48 && code <= 57) || code > 127);
+}
+/**
+ * Check if a hostname string is valid. It's usually a preliminary check before
+ * trying to use getDomain or anything else.
+ *
+ * Beware: it does not check if the TLD exists.
+ */
+export default function (hostname) {
+ if (hostname.length > 255) {
+ return false;
+ }
+ if (hostname.length === 0) {
+ return false;
+ }
+ if (
+ /*@__INLINE__*/ !isValidAscii(hostname.charCodeAt(0)) &&
+ hostname.charCodeAt(0) !== 46 && // '.' (dot)
+ hostname.charCodeAt(0) !== 95 // '_' (underscore)
+ ) {
+ return false;
+ }
+ // Validate hostname according to RFC
+ let lastDotIndex = -1;
+ let lastCharCode = -1;
+ const len = hostname.length;
+ for (let i = 0; i < len; i += 1) {
+ const code = hostname.charCodeAt(i);
+ if (code === 46 /* '.' */) {
+ if (
+ // Check that previous label is < 63 bytes long (64 = 63 + '.')
+ i - lastDotIndex > 64 ||
+ // Check that previous character was not already a '.'
+ lastCharCode === 46 ||
+ // Check that the previous label does not end with a '-' (dash)
+ lastCharCode === 45 ||
+ // Check that the previous label does not end with a '_' (underscore)
+ lastCharCode === 95) {
+ return false;
+ }
+ lastDotIndex = i;
+ }
+ else if (!( /*@__INLINE__*/(isValidAscii(code) || code === 45 || code === 95))) {
+ // Check if there is a forbidden character in the label
+ return false;
+ }
+ lastCharCode = code;
+ }
+ return (
+ // Check that last label is shorter than 63 chars
+ len - lastDotIndex - 1 <= 63 &&
+ // Check that the last character is an allowed trailing label character.
+ // Since we already checked that the char is a valid hostname character,
+ // we only need to check that it's different from '-'.
+ lastCharCode !== 45);
+}
+//# sourceMappingURL=is-valid.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/is-valid.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/is-valid.js.map
new file mode 100644
index 0000000..11043aa
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/is-valid.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"is-valid.js","sourceRoot":"","sources":["../../../src/is-valid.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,SAAS,YAAY,CAAC,IAAY;IAChC,OAAO,CACL,CAAC,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC,IAAI,IAAI,GAAG,GAAG,CACxE,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,WAAW,QAAgB;IACvC,IAAI,QAAQ,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;IAED;IACE,eAAe,CAAC,CAAC,YAAY,CAAC,QAAQ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ACJ,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js b/vanilla/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js
new file mode 100644
index 0000000..419c929
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js
@@ -0,0 +1,66 @@
+export default function (hostname, options, out) {
+ // Fast path for very popular suffixes; this allows to by-pass lookup
+ // completely as well as any extra allocation or string manipulation.
+ if (!options.allowPrivateDomains && hostname.length > 3) {
+ const last = hostname.length - 1;
+ const c3 = hostname.charCodeAt(last);
+ const c2 = hostname.charCodeAt(last - 1);
+ const c1 = hostname.charCodeAt(last - 2);
+ const c0 = hostname.charCodeAt(last - 3);
+ if (c3 === 109 /* 'm' */ &&
+ c2 === 111 /* 'o' */ &&
+ c1 === 99 /* 'c' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'com';
+ return true;
+ }
+ else if (c3 === 103 /* 'g' */ &&
+ c2 === 114 /* 'r' */ &&
+ c1 === 111 /* 'o' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'org';
+ return true;
+ }
+ else if (c3 === 117 /* 'u' */ &&
+ c2 === 100 /* 'd' */ &&
+ c1 === 101 /* 'e' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'edu';
+ return true;
+ }
+ else if (c3 === 118 /* 'v' */ &&
+ c2 === 111 /* 'o' */ &&
+ c1 === 103 /* 'g' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'gov';
+ return true;
+ }
+ else if (c3 === 116 /* 't' */ &&
+ c2 === 101 /* 'e' */ &&
+ c1 === 110 /* 'n' */ &&
+ c0 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'net';
+ return true;
+ }
+ else if (c3 === 101 /* 'e' */ &&
+ c2 === 100 /* 'd' */ &&
+ c1 === 46 /* '.' */) {
+ out.isIcann = true;
+ out.isPrivate = false;
+ out.publicSuffix = 'de';
+ return true;
+ }
+ }
+ return false;
+}
+//# sourceMappingURL=fast-path.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js.map
new file mode 100644
index 0000000..2bfedda
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"fast-path.js","sourceRoot":"","sources":["../../../../src/lookup/fast-path.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,WACZ,QAAgB,EAChB,OAA6B,EAC7B,GAAkB;IAElB,qEAAqE;IACrE,qEAAqE;IACrE,IAAI,CAAC,OAAO,CAAC,mBAAmB,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxD,MAAM,IAAI,GAAW,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;QACzC,MAAM,EAAE,GAAW,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QAC7C,MAAM,EAAE,GAAW,QAAQ,CAAC,UAAU,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;QACjD,MAAM,EAAE,GAAW,QAAQ,CAAC,UAAU,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;QACjD,MAAM,EAAE,GAAW,QAAQ,CAAC,UAAU,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;QAEjD,IACE,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,EAAE,CAAC,SAAS;YACnB,EAAE,KAAK,EAAE,CAAC,SAAS,EACnB,CAAC;YACD,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;Y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ACnB,CAAC;YACD,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;YACnB,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC;YACtB,GAAG,CAAC,YAAY,GAAG,KAAK,CAAC;YACzB,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IACL,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,GAAG,CAAC,SAAS;YACpB,EAAE,KAAK,EAAE,CAAC,SAAS,EACnB,CAAC;YACD,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;YACnB,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC;YACtB,GAAG,CAAC,YAAY,GAAG,IAAI,CAAC;YACxB,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/lookup/interface.js b/vanilla/node_modules/tldts-core/dist/es6/src/lookup/interface.js
new file mode 100644
index 0000000..95423ac
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/lookup/interface.js
@@ -0,0 +1,2 @@
+export {};
+//# sourceMappingURL=interface.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/lookup/interface.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/lookup/interface.js.map
new file mode 100644
index 0000000..c5e1058
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/lookup/interface.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"interface.js","sourceRoot":"","sources":["../../../../src/lookup/interface.ts"],"names":[],"mappings":""} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/options.js b/vanilla/node_modules/tldts-core/dist/es6/src/options.js
new file mode 100644
index 0000000..8ff002e
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/options.js
@@ -0,0 +1,19 @@
+function setDefaultsImpl({ allowIcannDomains = true, allowPrivateDomains = false, detectIp = true, extractHostname = true, mixedInputs = true, validHosts = null, validateHostname = true, }) {
+ return {
+ allowIcannDomains,
+ allowPrivateDomains,
+ detectIp,
+ extractHostname,
+ mixedInputs,
+ validHosts,
+ validateHostname,
+ };
+}
+const DEFAULT_OPTIONS = /*@__INLINE__*/ setDefaultsImpl({});
+export function setDefaults(options) {
+ if (options === undefined) {
+ return DEFAULT_OPTIONS;
+ }
+ return /*@__INLINE__*/ setDefaultsImpl(options);
+}
+//# sourceMappingURL=options.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/options.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/options.js.map
new file mode 100644
index 0000000..40c8ded
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/options.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../src/options.ts"],"names":[],"mappings":"AAUA,SAAS,eAAe,CAAC,EACvB,iBAAiB,GAAG,IAAI,EACxB,mBAAmB,GAAG,KAAK,EAC3B,QAAQ,GAAG,IAAI,EACf,eAAe,GAAG,IAAI,EACtB,WAAW,GAAG,IAAI,EAClB,UAAU,GAAG,IAAI,EACjB,gBAAgB,GAAG,IAAI,GACL;IAClB,OAAO;QACL,iBAAiB;QACjB,mBAAmB;QACnB,QAAQ;QACR,eAAe;QACf,WAAW;QACX,UAAU;QACV,gBAAgB;KACjB,CAAC;AACJ,CAAC;AAED,MAAM,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;AAE5D,MAAM,UAAU,WAAW,CAAC,OAA2B;IACrD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,OAAO,eAAe,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;AAClD,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/subdomain.js b/vanilla/node_modules/tldts-core/dist/es6/src/subdomain.js
new file mode 100644
index 0000000..43a0856
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/subdomain.js
@@ -0,0 +1,11 @@
+/**
+ * Returns the subdomain of a hostname string
+ */
+export default function getSubdomain(hostname, domain) {
+ // If `hostname` and `domain` are the same, then there is no sub-domain
+ if (domain.length === hostname.length) {
+ return '';
+ }
+ return hostname.slice(0, -domain.length - 1);
+}
+//# sourceMappingURL=subdomain.js.map \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/src/subdomain.js.map b/vanilla/node_modules/tldts-core/dist/es6/src/subdomain.js.map
new file mode 100644
index 0000000..327690e
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/src/subdomain.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"subdomain.js","sourceRoot":"","sources":["../../../src/subdomain.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,QAAgB,EAAE,MAAc;IACnE,uEAAuE;IACvE,IAAI,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;QACtC,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/es6/tsconfig.bundle.tsbuildinfo b/vanilla/node_modules/tldts-core/dist/es6/tsconfig.bundle.tsbuildinfo
new file mode 100644
index 0000000..fe56adf
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/es6/tsconfig.bundle.tsbuildinfo
@@ -0,0 +1 @@
+{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/typescript/lib/lib.es2017.full.d.ts","../../src/domain-without-suffix.ts","../../src/options.ts","../../src/domain.ts","../../src/extract-hostname.ts","../../src/is-ip.ts","../../src/is-valid.ts","../../src/lookup/interface.ts","../../src/subdomain.ts","../../src/factory.ts","../../src/lookup/fast-path.ts","../../index.ts","../../../../node_modules/@types/deep-eql/index.d.ts","../../../../node_modules/assertion-error/index.d.ts","../../../../node_modules/@types/chai/index.d.ts","../../../../node_modules/@types/command-line-args/index.d.ts","../../../../node_modules/@types/command-line-usage/index.d.ts","../../../../node_modules/@types/estree/index.d.ts","../../../../node_modules/@types/json-schema/index.d.ts","../../../../node_modules/@types/minimatch/index.d.ts","../../../../node_modules/@types/minimist/index.d.ts","../../../../node_modules/@types/mocha/index.d.ts","../../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/blob.d.ts","../../../../node_modules/@types/node/web-globals/console.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/encoding.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client-stats.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/importmeta.d.ts","../../../../node_modules/@types/node/web-globals/messaging.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/performance.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/web-globals/timers.d.ts","../../../../node_modules/@types/node/web-globals/url.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/inspector.generated.d.ts","../../../../node_modules/@types/node/inspector/promises.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/path/posix.d.ts","../../../../node_modules/@types/node/path/win32.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/punycode/index.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/quic.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/sea.d.ts","../../../../node_modules/@types/node/sqlite.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/test/reporters.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/util/types.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/normalize-package-data/index.d.ts","../../../../node_modules/@types/parse-json/index.d.ts","../../../../node_modules/@types/resolve/index.d.ts"],"fileIdsList":[[64,65,76,139,147,151,154,156,157,158,171],[76,139,147,151,154,156,157,158,171],[76,136,137,139,147,151,154,156,157,158,171],[76,138,139,147,151,154,156,157,158,171],[139,147,151,154,156,157,158,171],[76,139,147,151,154,156,157,158,171,179],[76,139,140,145,147,150,151,154,156,157,158,160,171,176,188],[76,139,140,141,147,150,151,154,156,157,158,171],[76,139,142,147,151,154,156,157,158,171,189],[76,139,143,144,147,151,154,156,157,158,161,171],[76,139,144,147,151,154,156,157,158,171,176,185],[76,139,145,147,150,151,154,156,157,158,160,171],[76,138,139,146,147,151,154,156,157,158,171],[76,139,147,148,151,154,156,157,158,171],[76,139,147,149,150,151,154,156,157,158,171],[76,138,139,147,150,151,154,156,157,158,171],[76,139,147,150,151,152,154,156,157,158,171,176,188],[76,139,147,150,151,152,154,156,157,158,171,176,179],[76,126,139,147,150,151,153,154,156,157,158,160,171,176,188],[76,139,147,150,151,153,154,156,157,158,160,171,176,185,188],[76,139,147,151,153,154,155,156,157,158,171,176,185,188],[74,75,76,77,78,79,80,81,82,83,84,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],[76,139,147,150,151,154,156,157,158,171],[76,139,147,151,154,156,158,171],[76,139,147,151,154,156,157,158,159,171,188],[76,139,147,150,151,154,156,157,158,160,171,176],[76,139,147,151,154,156,157,158,161,171],[76,139,147,151,154,156,157,158,162,171],[76,139,147,150,151,154,156,157,158,165,171],[76,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195],[76,139,147,151,154,156,157,158,168,171],[76,139,147,151,154,156,157,158,169,171],[76,139,144,147,151,154,156,157,158,160,171,179],[76,139,147,150,151,154,156,157,158,171,172],[76,139,147,151,154,156,157,158,171,173,189,192],[76,139,147,150,151,154,156,157,158,171,176,178,179],[76,139,147,151,154,156,157,158,171,177,179],[76,139,147,151,154,156,157,158,171,179,189],[76,139,147,151,154,156,157,158,171,180],[76,136,139,147,151,154,156,157,158,171,176,182],[76,139,147,151,154,156,157,158,171,176,181],[76,139,147,150,151,154,156,157,158,171,183,184],[76,139,147,151,154,156,157,158,171,183,184],[76,139,144,147,151,154,156,157,158,160,171,176,185],[76,139,147,151,154,156,157,158,171,186],[76,139,147,151,154,156,157,158,160,171,187],[76,139,147,151,153,154,156,157,158,169,171,188],[76,139,147,151,154,156,157,158,171,189,190],[76,139,144,147,151,154,156,157,158,171,190],[76,139,147,151,154,156,157,158,171,176,191],[76,139,147,151,154,156,157,158,159,171,192],[76,139,147,151,154,156,157,158,171,193],[76,139,142,147,151,154,156,157,158,171],[76,139,144,147,151,154,156,157,158,171],[76,139,147,151,154,156,157,158,171,189],[76,126,139,147,151,154,156,157,158,171],[76,139,147,151,154,156,157,158,171,188],[76,139,147,151,154,156,157,158,171,194],[76,139,147,151,154,156,157,158,165,171],[76,139,147,151,154,156,157,158,171,184],[76,126,139,147,150,151,152,154,156,157,158,165,171,176,179,188,191,192,194],[76,139,147,151,154,156,157,158,171,176,195],[76,92,95,98,99,139,147,151,154,156,157,158,171,188],[76,95,139,147,151,154,156,157,158,171,176,188],[76,95,99,139,147,151,154,156,157,158,171,188],[76,139,147,151,154,156,157,158,171,176],[76,89,139,147,151,154,156,157,158,171],[76,93,139,147,151,154,156,157,158,171],[76,91,92,95,139,147,151,154,156,157,158,171,188],[76,139,147,151,154,156,157,158,160,171,185],[76,139,147,151,154,156,157,158,171,196],[76,89,139,147,151,154,156,157,158,171,196],[76,91,95,139,147,151,154,156,157,158,160,171,188],[76,86,87,88,90,94,139,147,150,151,154,156,157,158,171,176,188],[76,95,103,111,139,147,151,154,156,157,158,171],[76,87,93,139,147,151,154,156,157,158,171],[76,95,120,121,139,147,151,154,156,157,158,171],[76,87,90,95,139,147,151,154,156,157,158,171,179,188,196],[76,95,139,147,151,154,156,157,158,171],[76,91,95,139,147,151,154,156,157,158,171,188],[76,86,139,147,151,154,156,157,158,171],[76,89,90,91,93,94,95,96,97,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,121,122,123,124,125,139,147,151,154,156,157,158,171],[76,95,113,116,139,147,151,154,156,157,158,171],[76,95,103,104,105,139,147,151,154,156,157,158,171],[76,93,95,104,106,139,147,151,154,156,157,158,171],[76,94,139,147,151,154,156,157,158,171],[76,87,89,95,139,147,151,154,156,157,158,171],[76,95,99,104,106,139,147,151,154,156,157,158,171],[76,99,139,147,151,154,156,157,158,171],[76,93,95,98,139,147,151,154,156,157,158,171,188],[76,87,91,95,103,139,147,151,154,156,157,158,171],[76,95,113,139,147,151,154,156,157,158,171],[76,106,139,147,151,154,156,157,158,171],[76,89,95,120,139,147,151,154,156,157,158,171,179,194,196],[54,59,61,62,76,139,147,151,154,156,157,158,171],[54,76,139,147,151,154,156,157,158,171],[53,54,55,56,57,58,59,60,76,139,147,151,154,156,157,158,171],[59,76,139,147,151,154,156,157,158,171]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1d242d5c24cf285c88bc4fb93c5ff903de8319064e282986edeb6247ba028d5e","impliedFormat":1},"5c875363227e1151e0927c969e844d509e9cf2d0ec49675e8cc8e756fea657b2","0d7b6b51639fa0bc0ff2488a9d23b8c575f08233f9713ebcfebe7c80413a6c59","68c0b48ca6aa01158d632d75e3b0c7512b7241453134b0e6f9b5fd85568170e8","ae4f2bc40749ddefbd7968510afd5f4225ee21d3adb0b7f08a001ac74448aa5b","7d228f7992334d9fa1dfa53e9eedeb165999e53eebfa8997114ef8199ba27b74","c5dc32ae7ae379cc85b2ea15173a78732d3a2569ed9fbc22e75e111218cecc62","58eb284519a37bcad186960e7e5e7090193ef4397d74fd121ac964115c60ddb8","b9d4b43460d9f3f3e3d0a78a8f27fe95dc9442fefb4264107f7e66dab1a723c0","fabe61ce770550559b433f9bbf636299e10adcaecd49345d642fb008b5a0c454","b9bef413fdb659ff3f25595b9d2d71c741daad836c26b8b1579ed8e82daf120b","b9bfec8044371ad6527dc0c554ebe549c1117d426032f0551d25f54e69d11f6b",{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"5b7206ca5f2f6eeaac6daa285664f424e0b728f3e31937da89deb8696c5f1dbc","impliedFormat":1},{"version":"53dd92e141efe47b413a058f3fbcc6e40a84f5afdde16f45de550a476da25d98","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","impliedFormat":1},{"version":"fbca5ffaebf282ec3cdac47b0d1d4a138a8b0bb32105251a38acb235087d3318","impliedFormat":1},{"version":"29f72ec1289ae3aeda78bf14b38086d3d803262ac13904b400422941a26a3636","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"438b41419b1df9f1fbe33b5e1b18f5853432be205991d1b19f5b7f351675541e","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"435b3711465425770ed2ee2f1cf00ce071835265e0851a7dc4600ab4b007550e","impliedFormat":1},{"version":"7e49f52a159435fc8df4de9dc377ef5860732ca2dc9efec1640531d3cf5da7a3","impliedFormat":1},{"version":"dd4bde4bdc2e5394aed6855e98cf135dfdf5dd6468cad842e03116d31bbcc9bc","impliedFormat":1},{"version":"4d4e879009a84a47c05350b8dca823036ba3a29a3038efed1be76c9f81e45edf","affectsGlobalScope":true,"impliedFormat":1},{"version":"237ba5ac2a95702a114a309e39c53a5bddff5f6333b325db9764df9b34f3502b","impliedFormat":1},{"version":"9ba13b47cb450a438e3076c4a3f6afb9dc85e17eae50f26d4b2d72c0688c9251","impliedFormat":1},{"version":"b64cd4401633ea4ecadfd700ddc8323a13b63b106ac7127c1d2726f32424622c","impliedFormat":1},{"version":"37c6e5fe5715814412b43cc9b50b24c67a63c4e04e753e0d1305970d65417a60","impliedFormat":1},{"version":"1d024184fb57c58c5c91823f9d10b4915a4867b7934e89115fd0d861a9df27c8","impliedFormat":1},{"version":"ee0e4946247f842c6dd483cbb60a5e6b484fee07996e3a7bc7343dfb68a04c5d","impliedFormat":1},{"version":"ef051f42b7e0ef5ca04552f54c4552eac84099d64b6c5ad0ef4033574b6035b8","impliedFormat":1},{"version":"853a43154f1d01b0173d9cbd74063507ece57170bad7a3b68f3fa1229ad0a92f","impliedFormat":1},{"version":"56231e3c39a031bfb0afb797690b20ed4537670c93c0318b72d5180833d98b72","impliedFormat":1},{"version":"5cc7c39031bfd8b00ad58f32143d59eb6ffc24f5d41a20931269011dccd36c5e","impliedFormat":1},{"version":"b0b69c61b0f0ec8ca15db4c8c41f6e77f4cacb784d42bca948f42dea33e8757e","affectsGlobalScope":true,"impliedFormat":1},{"version":"f96a48183254c00d24575401f1a761b4ce4927d927407e7862a83e06ce5d6964","impliedFormat":1},{"version":"cc25940cfb27aa538e60d465f98bb5068d4d7d33131861ace43f04fe6947d68f","impliedFormat":1},{"version":"9dec1d75d47c23b595402f265babeac9c0f645427df7e937d69ddfa05cdddc1f","impliedFormat":1},{"version":"01ff95aa1443e3f7248974e5a771f513cb2ac158c8898f470a1792f817bee497","impliedFormat":1},{"version":"757227c8b345c57d76f7f0e3bbad7a91ffca23f1b2547cbed9e10025816c9cb7","impliedFormat":1},{"version":"42a05d8f239f74587d4926aba8cc54792eed8e8a442c7adc9b38b516642aadfe","impliedFormat":1},{"version":"5d21b58d60383cc6ab9ad3d3e265d7d25af24a2c9b506247e0e50b0a884920be","impliedFormat":1},{"version":"101f482fd48cb4c7c0468dcc6d62c843d842977aea6235644b1edd05e81fbf22","impliedFormat":1},{"version":"ae6757460f37078884b1571a3de3ebaf724d827d7e1d53626c02b3c2a408ac63","affectsGlobalScope":true,"impliedFormat":1},{"version":"9451a46a89ed209e2e08329e6cac59f89356eae79a7230f916d8cc38725407c7","impliedFormat":1},{"version":"3ef397f12387eff17f550bc484ea7c27d21d43816bbe609d495107f44b97e933","impliedFormat":1},{"version":"1023282e2ba810bc07905d3668349fbd37a26411f0c8f94a70ef3c05fe523fcf","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"e236b5eba291f51bdf32c231673e6cab81b5410850e61f51a7a524dddadc0f95","impliedFormat":1},{"version":"2ccea88888048bbfcacbc9531a5596ea48a3e7dcd0a25f531a81bb717903ba4f","impliedFormat":1},{"version":"f7ba0e839daa0702e3ff1a1a871c0d8ea2d586ce684dd8a72c786c36a680b1d9","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f2c62938251b45715fd2a9887060ec4fbc8724727029d1cbce373747252bdd7","impliedFormat":1},{"version":"e3ace08b6bbd84655d41e244677b474fd995923ffef7149ddb68af8848b60b05","impliedFormat":1},{"version":"132580b0e86c48fab152bab850fc57a4b74fe915c8958d2ccb052b809a44b61c","impliedFormat":1},{"version":"af4ab0aa8908fc9a655bb833d3bc28e117c4f0e1038c5a891546158beb25accb","impliedFormat":1},{"version":"69c9a5a9392e8564bd81116e1ed93b13205201fb44cb35a7fde8c9f9e21c4b23","impliedFormat":1},{"version":"5f8fc37f8434691ffac1bfd8fc2634647da2c0e84253ab5d2dd19a7718915b35","impliedFormat":1},{"version":"5981c2340fd8b076cae8efbae818d42c11ffc615994cb060b1cd390795f1be2b","impliedFormat":1},{"version":"f64deb26664af64dc274637343bde8d82f930c77af05a412c7d310b77207a448","impliedFormat":1},{"version":"ed4f674fc8c0c993cc7e145069ac44129e03519b910c62be206a0cc777bdc60b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0250da3eb85c99624f974e77ef355cdf86f43980251bc371475c2b397ba55bcd","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"3d3a5f27ffbc06c885dd4d5f9ee20de61faf877fe2c3a7051c4825903d9a7fdc","impliedFormat":1},{"version":"12806f9f085598ef930edaf2467a5fa1789a878fba077cd27e85dc5851e11834","impliedFormat":1},{"version":"17d06eb5709839c7ce719f0c38ada6f308fb433f2cd6d8c87b35856e07400950","impliedFormat":1},{"version":"a43fe41c33d0a192a0ecaf9b92e87bef3709c9972e6d53c42c49251ccb962d69","impliedFormat":1},{"version":"a177959203c017fad3ecc4f3d96c8757a840957a4959a3ae00dab9d35961ca6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc727ccf9b36e257ff982ea0badeffbfc2c151802f741bddff00c6af3b784cf","impliedFormat":1},{"version":"2a00d005e3af99cd1cfa75220e60c61b04bfb6be7ca7453bfe2ef6cca37cc03c","impliedFormat":1},{"version":"4844a4c9b4b1e812b257676ed8a80b3f3be0e29bf05e742cc2ea9c3c6865e6c6","impliedFormat":1},{"version":"064878a60367e0407c42fb7ba02a2ea4d83257357dc20088e549bd4d89433e9c","impliedFormat":1},{"version":"14d4bd22d1b05824971b98f7e91b2484c90f1a684805c330476641417c3d9735","impliedFormat":1},{"version":"c3877fef8a43cd434f9728f25a97575b0eb73d92f38b5c87c840daccc3e21d97","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"1dbd83860e7634f9c236647f45dbc5d3c4f9eba8827d87209d6e9826fdf4dbd5","impliedFormat":1},{"version":"41ef7992c555671a8fe54db302788adefa191ded810a50329b79d20a6772d14c","impliedFormat":1},{"version":"041a7781b9127ab568d2cdcce62c58fdea7c7407f40b8c50045d7866a2727130","impliedFormat":1},{"version":"b37f83e7deea729aa9ce5593f78905afb45b7532fdff63041d374f60059e7852","impliedFormat":1},{"version":"e1cb68f3ef3a8dd7b2a9dfb3de482ed6c0f1586ba0db4e7d73c1d2147b6ffc51","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1},{"version":"916be7d770b0ae0406be9486ac12eb9825f21514961dd050594c4b250617d5a8","impliedFormat":1},{"version":"8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","impliedFormat":1}],"root":[[53,63]],"options":{"composite":false,"declaration":false,"declarationDir":"../..","declarationMap":false,"module":5,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"strict":true,"target":4},"referencedMap":[[66,1],[67,2],[68,2],[64,2],[69,2],[70,2],[71,2],[72,2],[73,2],[136,3],[137,3],[138,4],[76,5],[139,6],[140,7],[141,8],[74,2],[142,9],[143,10],[144,11],[145,12],[146,13],[147,14],[148,14],[149,15],[150,16],[151,17],[152,18],[77,2],[75,2],[153,19],[154,20],[155,21],[196,22],[156,23],[157,24],[158,23],[159,25],[160,26],[161,27],[162,28],[163,28],[164,28],[165,29],[167,30],[168,31],[169,32],[170,33],[171,34],[172,34],[173,35],[174,2],[175,2],[176,36],[177,37],[178,36],[179,38],[180,39],[181,40],[182,41],[183,42],[184,43],[185,44],[186,45],[187,46],[188,47],[189,48],[190,49],[191,50],[192,51],[193,52],[78,23],[79,2],[80,53],[81,54],[82,2],[83,55],[84,2],[127,56],[128,57],[129,58],[130,58],[131,59],[132,2],[133,6],[134,60],[135,57],[194,61],[195,62],[197,2],[198,2],[166,2],[199,2],[65,2],[85,2],[50,2],[51,2],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[22,2],[23,2],[4,2],[24,2],[52,2],[28,2],[25,2],[26,2],[27,2],[29,2],[30,2],[31,2],[5,2],[32,2],[33,2],[34,2],[35,2],[6,2],[39,2],[36,2],[37,2],[38,2],[40,2],[7,2],[41,2],[46,2],[47,2],[42,2],[43,2],[44,2],[45,2],[1,2],[48,2],[49,2],[11,2],[10,2],[103,63],[115,64],[101,65],[116,66],[125,67],[92,68],[93,69],[91,70],[124,71],[119,72],[123,73],[95,74],[112,75],[94,76],[122,77],[89,78],[90,72],[96,79],[97,2],[102,80],[100,79],[87,81],[126,82],[117,83],[106,84],[105,79],[107,85],[110,86],[104,87],[108,88],[120,71],[98,89],[99,90],[111,91],[88,66],[114,92],[113,79],[109,93],[118,2],[86,2],[121,94],[63,95],[53,2],[55,96],[56,2],[61,97],[57,2],[58,2],[62,98],[59,2],[54,2],[60,2]],"version":"5.9.3"} \ No newline at end of file
diff --git a/vanilla/node_modules/tldts-core/dist/types/index.d.ts b/vanilla/node_modules/tldts-core/dist/types/index.d.ts
new file mode 100644
index 0000000..00613b8
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/index.d.ts
@@ -0,0 +1,4 @@
+export { FLAG, parseImpl, IResult, getEmptyResult, resetResult, } from './src/factory';
+export { IPublicSuffix, ISuffixLookupOptions } from './src/lookup/interface';
+export { default as fastPathLookup } from './src/lookup/fast-path';
+export { IOptions, setDefaults } from './src/options';
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/domain-without-suffix.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/domain-without-suffix.d.ts
new file mode 100644
index 0000000..f105424
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/domain-without-suffix.d.ts
@@ -0,0 +1,6 @@
+/**
+ * Return the part of domain without suffix.
+ *
+ * Example: for domain 'foo.com', the result would be 'foo'.
+ */
+export default function getDomainWithoutSuffix(domain: string, suffix: string): string;
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/domain.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/domain.d.ts
new file mode 100644
index 0000000..4982c29
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/domain.d.ts
@@ -0,0 +1,5 @@
+import { IOptions } from './options';
+/**
+ * Detects the domain based on rules and upon and a host string
+ */
+export default function getDomain(suffix: string, hostname: string, options: IOptions): string | null;
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/extract-hostname.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/extract-hostname.d.ts
new file mode 100644
index 0000000..175c251
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/extract-hostname.d.ts
@@ -0,0 +1,5 @@
+/**
+ * @param url - URL we want to extract a hostname from.
+ * @param urlIsValidHostname - hint from caller; true if `url` is already a valid hostname.
+ */
+export default function extractHostname(url: string, urlIsValidHostname: boolean): string | null;
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/factory.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/factory.d.ts
new file mode 100644
index 0000000..b5ce878
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/factory.d.ts
@@ -0,0 +1,28 @@
+/**
+ * Implement a factory allowing to plug different implementations of suffix
+ * lookup (e.g.: using a trie or the packed hashes datastructures). This is used
+ * and exposed in `tldts.ts` and `tldts-experimental.ts` bundle entrypoints.
+ */
+import { IPublicSuffix, ISuffixLookupOptions } from './lookup/interface';
+import { IOptions } from './options';
+export interface IResult {
+ hostname: string | null;
+ isIp: boolean | null;
+ subdomain: string | null;
+ domain: string | null;
+ publicSuffix: string | null;
+ domainWithoutSuffix: string | null;
+ isIcann: boolean | null;
+ isPrivate: boolean | null;
+}
+export declare function getEmptyResult(): IResult;
+export declare function resetResult(result: IResult): void;
+export declare const enum FLAG {
+ HOSTNAME = 0,
+ IS_VALID = 1,
+ PUBLIC_SUFFIX = 2,
+ DOMAIN = 3,
+ SUB_DOMAIN = 4,
+ ALL = 5
+}
+export declare function parseImpl(url: string, step: FLAG, suffixLookup: (_1: string, _2: ISuffixLookupOptions, _3: IPublicSuffix) => void, partialOptions: Partial<IOptions>, result: IResult): IResult;
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/is-ip.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/is-ip.d.ts
new file mode 100644
index 0000000..f0cc2ec
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/is-ip.d.ts
@@ -0,0 +1,6 @@
+/**
+ * Check if `hostname` is *probably* a valid ip addr (either ipv6 or ipv4).
+ * This *will not* work on any string. We need `hostname` to be a valid
+ * hostname.
+ */
+export default function isIp(hostname: string): boolean;
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/is-valid.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/is-valid.d.ts
new file mode 100644
index 0000000..1a76faf
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/is-valid.d.ts
@@ -0,0 +1,15 @@
+/**
+ * Implements fast shallow verification of hostnames. This does not perform a
+ * struct check on the content of labels (classes of Unicode characters, etc.)
+ * but instead check that the structure is valid (number of labels, length of
+ * labels, etc.).
+ *
+ * If you need stricter validation, consider using an external library.
+ */
+/**
+ * Check if a hostname string is valid. It's usually a preliminary check before
+ * trying to use getDomain or anything else.
+ *
+ * Beware: it does not check if the TLD exists.
+ */
+export default function (hostname: string): boolean;
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/lookup/fast-path.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/lookup/fast-path.d.ts
new file mode 100644
index 0000000..e04cec5
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/lookup/fast-path.d.ts
@@ -0,0 +1,2 @@
+import { IPublicSuffix, ISuffixLookupOptions } from './interface';
+export default function (hostname: string, options: ISuffixLookupOptions, out: IPublicSuffix): boolean;
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/lookup/interface.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/lookup/interface.d.ts
new file mode 100644
index 0000000..09179a5
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/lookup/interface.d.ts
@@ -0,0 +1,9 @@
+export interface IPublicSuffix {
+ isIcann: boolean | null;
+ isPrivate: boolean | null;
+ publicSuffix: string | null;
+}
+export interface ISuffixLookupOptions {
+ allowIcannDomains: boolean;
+ allowPrivateDomains: boolean;
+}
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/options.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/options.d.ts
new file mode 100644
index 0000000..fffdfab
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/options.d.ts
@@ -0,0 +1,10 @@
+export interface IOptions {
+ allowIcannDomains: boolean;
+ allowPrivateDomains: boolean;
+ detectIp: boolean;
+ extractHostname: boolean;
+ mixedInputs: boolean;
+ validHosts: string[] | null;
+ validateHostname: boolean;
+}
+export declare function setDefaults(options?: Partial<IOptions>): IOptions;
diff --git a/vanilla/node_modules/tldts-core/dist/types/src/subdomain.d.ts b/vanilla/node_modules/tldts-core/dist/types/src/subdomain.d.ts
new file mode 100644
index 0000000..8d103d5
--- /dev/null
+++ b/vanilla/node_modules/tldts-core/dist/types/src/subdomain.d.ts
@@ -0,0 +1,4 @@
+/**
+ * Returns the subdomain of a hostname string
+ */
+export default function getSubdomain(hostname: string, domain: string): string;