From 953ddd82e48dd206cef5ac94456549aed13b3ad5 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 17 Nov 2023 23:25:29 +0100 Subject: Updated 30 files and deleted 2976 files (automated) --- .../node_modules/css-select/lib/attributes.d.ts | 7 - .../css-select/lib/attributes.d.ts.map | 1 - .../node_modules/css-select/lib/attributes.js | 236 --------------------- .../node_modules/css-select/lib/attributes.js.map | 1 - .../node_modules/css-select/lib/compile.d.ts | 13 -- .../node_modules/css-select/lib/compile.d.ts.map | 1 - .../node_modules/css-select/lib/compile.js | 151 ------------- .../node_modules/css-select/lib/compile.js.map | 1 - .../css-select/lib/esm/attributes.d.ts | 7 - .../css-select/lib/esm/attributes.d.ts.map | 1 - .../node_modules/css-select/lib/esm/attributes.js | 222 ------------------- .../css-select/lib/esm/attributes.js.map | 1 - .../node_modules/css-select/lib/esm/compile.d.ts | 13 -- .../css-select/lib/esm/compile.d.ts.map | 1 - .../node_modules/css-select/lib/esm/compile.js | 115 ---------- .../node_modules/css-select/lib/esm/compile.js.map | 1 - .../node_modules/css-select/lib/esm/general.d.ts | 3 - .../css-select/lib/esm/general.d.ts.map | 1 - .../node_modules/css-select/lib/esm/general.js | 144 ------------- .../node_modules/css-select/lib/esm/general.js.map | 1 - .../node_modules/css-select/lib/esm/index.d.ts | 50 ----- .../node_modules/css-select/lib/esm/index.d.ts.map | 1 - .../node_modules/css-select/lib/esm/index.js | 115 ---------- .../node_modules/css-select/lib/esm/index.js.map | 1 - .../node_modules/css-select/lib/esm/package.json | 1 - .../lib/esm/pseudo-selectors/aliases.d.ts | 5 - .../lib/esm/pseudo-selectors/aliases.d.ts.map | 1 - .../css-select/lib/esm/pseudo-selectors/aliases.js | 35 --- .../lib/esm/pseudo-selectors/aliases.js.map | 1 - .../lib/esm/pseudo-selectors/filters.d.ts | 4 - .../lib/esm/pseudo-selectors/filters.d.ts.map | 1 - .../css-select/lib/esm/pseudo-selectors/filters.js | 143 ------------- .../lib/esm/pseudo-selectors/filters.js.map | 1 - .../css-select/lib/esm/pseudo-selectors/index.d.ts | 8 - .../lib/esm/pseudo-selectors/index.d.ts.map | 1 - .../css-select/lib/esm/pseudo-selectors/index.js | 40 ---- .../lib/esm/pseudo-selectors/index.js.map | 1 - .../lib/esm/pseudo-selectors/pseudos.d.ts | 6 - .../lib/esm/pseudo-selectors/pseudos.d.ts.map | 1 - .../css-select/lib/esm/pseudo-selectors/pseudos.js | 79 ------- .../lib/esm/pseudo-selectors/pseudos.js.map | 1 - .../lib/esm/pseudo-selectors/subselects.d.ts | 9 - .../lib/esm/pseudo-selectors/subselects.d.ts.map | 1 - .../lib/esm/pseudo-selectors/subselects.js | 94 -------- .../lib/esm/pseudo-selectors/subselects.js.map | 1 - .../node_modules/css-select/lib/esm/sort.d.ts | 12 -- .../node_modules/css-select/lib/esm/sort.d.ts.map | 1 - .../node_modules/css-select/lib/esm/sort.js | 79 ------- .../node_modules/css-select/lib/esm/sort.js.map | 1 - .../node_modules/css-select/lib/esm/types.d.ts | 167 --------------- .../node_modules/css-select/lib/esm/types.d.ts.map | 1 - .../node_modules/css-select/lib/esm/types.js | 2 - .../node_modules/css-select/lib/esm/types.js.map | 1 - .../node_modules/css-select/lib/general.d.ts | 3 - .../node_modules/css-select/lib/general.d.ts.map | 1 - .../node_modules/css-select/lib/general.js | 148 ------------- .../node_modules/css-select/lib/general.js.map | 1 - .../node_modules/css-select/lib/index.d.ts | 50 ----- .../node_modules/css-select/lib/index.d.ts.map | 1 - .../node_modules/css-select/lib/index.js | 154 -------------- .../node_modules/css-select/lib/index.js.map | 1 - .../css-select/lib/pseudo-selectors/aliases.d.ts | 5 - .../lib/pseudo-selectors/aliases.d.ts.map | 1 - .../css-select/lib/pseudo-selectors/aliases.js | 34 --- .../css-select/lib/pseudo-selectors/aliases.js.map | 1 - .../css-select/lib/pseudo-selectors/filters.d.ts | 4 - .../lib/pseudo-selectors/filters.d.ts.map | 1 - .../css-select/lib/pseudo-selectors/filters.js | 157 -------------- .../css-select/lib/pseudo-selectors/filters.js.map | 1 - .../css-select/lib/pseudo-selectors/index.d.ts | 8 - .../css-select/lib/pseudo-selectors/index.d.ts.map | 1 - .../css-select/lib/pseudo-selectors/index.js | 46 ---- .../css-select/lib/pseudo-selectors/index.js.map | 1 - .../css-select/lib/pseudo-selectors/pseudos.d.ts | 6 - .../lib/pseudo-selectors/pseudos.d.ts.map | 1 - .../css-select/lib/pseudo-selectors/pseudos.js | 93 -------- .../css-select/lib/pseudo-selectors/pseudos.js.map | 1 - .../lib/pseudo-selectors/subselects.d.ts | 9 - .../lib/pseudo-selectors/subselects.d.ts.map | 1 - .../css-select/lib/pseudo-selectors/subselects.js | 112 ---------- .../lib/pseudo-selectors/subselects.js.map | 1 - .../node_modules/css-select/lib/sort.d.ts | 12 -- .../node_modules/css-select/lib/sort.d.ts.map | 1 - .../node_modules/css-select/lib/sort.js | 84 -------- .../node_modules/css-select/lib/sort.js.map | 1 - .../node_modules/css-select/lib/types.d.ts | 167 --------------- .../node_modules/css-select/lib/types.d.ts.map | 1 - .../node_modules/css-select/lib/types.js | 3 - .../node_modules/css-select/lib/types.js.map | 1 - 89 files changed, 2899 deletions(-) delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/attributes.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/attributes.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/attributes.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/attributes.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/compile.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/compile.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/compile.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/compile.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/attributes.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/attributes.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/attributes.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/attributes.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/compile.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/compile.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/compile.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/compile.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/general.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/general.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/general.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/general.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/index.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/index.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/index.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/index.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/package.json delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/sort.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/sort.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/sort.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/sort.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/types.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/types.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/types.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/esm/types.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/general.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/general.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/general.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/general.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/index.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/index.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/index.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/index.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/sort.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/sort.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/sort.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/sort.js.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/types.d.ts delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/types.d.ts.map delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/types.js delete mode 100644 includes/external/addressbook/node_modules/css-select/lib/types.js.map (limited to 'includes/external/addressbook/node_modules/css-select/lib') diff --git a/includes/external/addressbook/node_modules/css-select/lib/attributes.d.ts b/includes/external/addressbook/node_modules/css-select/lib/attributes.d.ts deleted file mode 100644 index 27b60a5..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/attributes.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { CompiledQuery, InternalOptions } from "./types.js"; -import type { AttributeSelector, AttributeAction } from "css-what"; -/** - * Attribute selectors - */ -export declare const attributeRules: Record(next: CompiledQuery, data: AttributeSelector, options: InternalOptions) => CompiledQuery>; -//# sourceMappingURL=attributes.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/attributes.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/attributes.d.ts.map deleted file mode 100644 index aafba15..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/attributes.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"attributes.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["attributes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AA+EnE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAC/B,eAAe,EACf,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAC3B,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,KAC1C,aAAa,CAAC,WAAW,CAAC,CAsLlC,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/attributes.js b/includes/external/addressbook/node_modules/css-select/lib/attributes.js deleted file mode 100644 index 3c6867f..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/attributes.js +++ /dev/null @@ -1,236 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.attributeRules = void 0; -var boolbase_1 = __importDefault(require("boolbase")); -/** - * All reserved characters in a regex, used for escaping. - * - * Taken from XRegExp, (c) 2007-2020 Steven Levithan under the MIT license - * https://github.com/slevithan/xregexp/blob/95eeebeb8fac8754d54eafe2b4743661ac1cf028/src/xregexp.js#L794 - */ -var reChars = /[-[\]{}()*+?.,\\^$|#\s]/g; -function escapeRegex(value) { - return value.replace(reChars, "\\$&"); -} -/** - * Attributes that are case-insensitive in HTML. - * - * @private - * @see https://html.spec.whatwg.org/multipage/semantics-other.html#case-sensitivity-of-selectors - */ -var caseInsensitiveAttributes = new Set([ - "accept", - "accept-charset", - "align", - "alink", - "axis", - "bgcolor", - "charset", - "checked", - "clear", - "codetype", - "color", - "compact", - "declare", - "defer", - "dir", - "direction", - "disabled", - "enctype", - "face", - "frame", - "hreflang", - "http-equiv", - "lang", - "language", - "link", - "media", - "method", - "multiple", - "nohref", - "noresize", - "noshade", - "nowrap", - "readonly", - "rel", - "rev", - "rules", - "scope", - "scrolling", - "selected", - "shape", - "target", - "text", - "type", - "valign", - "valuetype", - "vlink", -]); -function shouldIgnoreCase(selector, options) { - return typeof selector.ignoreCase === "boolean" - ? selector.ignoreCase - : selector.ignoreCase === "quirks" - ? !!options.quirksMode - : !options.xmlMode && caseInsensitiveAttributes.has(selector.name); -} -/** - * Attribute selectors - */ -exports.attributeRules = { - equals: function (next, data, options) { - var adapter = options.adapter; - var name = data.name; - var value = data.value; - if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return function (elem) { - var attr = adapter.getAttributeValue(elem, name); - return (attr != null && - attr.length === value.length && - attr.toLowerCase() === value && - next(elem)); - }; - } - return function (elem) { - return adapter.getAttributeValue(elem, name) === value && next(elem); - }; - }, - hyphen: function (next, data, options) { - var adapter = options.adapter; - var name = data.name; - var value = data.value; - var len = value.length; - if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return function hyphenIC(elem) { - var attr = adapter.getAttributeValue(elem, name); - return (attr != null && - (attr.length === len || attr.charAt(len) === "-") && - attr.substr(0, len).toLowerCase() === value && - next(elem)); - }; - } - return function hyphen(elem) { - var attr = adapter.getAttributeValue(elem, name); - return (attr != null && - (attr.length === len || attr.charAt(len) === "-") && - attr.substr(0, len) === value && - next(elem)); - }; - }, - element: function (next, data, options) { - var adapter = options.adapter; - var name = data.name, value = data.value; - if (/\s/.test(value)) { - return boolbase_1.default.falseFunc; - } - var regex = new RegExp("(?:^|\\s)".concat(escapeRegex(value), "(?:$|\\s)"), shouldIgnoreCase(data, options) ? "i" : ""); - return function element(elem) { - var attr = adapter.getAttributeValue(elem, name); - return (attr != null && - attr.length >= value.length && - regex.test(attr) && - next(elem)); - }; - }, - exists: function (next, _a, _b) { - var name = _a.name; - var adapter = _b.adapter; - return function (elem) { return adapter.hasAttrib(elem, name) && next(elem); }; - }, - start: function (next, data, options) { - var adapter = options.adapter; - var name = data.name; - var value = data.value; - var len = value.length; - if (len === 0) { - return boolbase_1.default.falseFunc; - } - if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return function (elem) { - var attr = adapter.getAttributeValue(elem, name); - return (attr != null && - attr.length >= len && - attr.substr(0, len).toLowerCase() === value && - next(elem)); - }; - } - return function (elem) { - var _a; - return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.startsWith(value)) && - next(elem); - }; - }, - end: function (next, data, options) { - var adapter = options.adapter; - var name = data.name; - var value = data.value; - var len = -value.length; - if (len === 0) { - return boolbase_1.default.falseFunc; - } - if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return function (elem) { - var _a; - return ((_a = adapter - .getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.substr(len).toLowerCase()) === value && next(elem); - }; - } - return function (elem) { - var _a; - return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.endsWith(value)) && - next(elem); - }; - }, - any: function (next, data, options) { - var adapter = options.adapter; - var name = data.name, value = data.value; - if (value === "") { - return boolbase_1.default.falseFunc; - } - if (shouldIgnoreCase(data, options)) { - var regex_1 = new RegExp(escapeRegex(value), "i"); - return function anyIC(elem) { - var attr = adapter.getAttributeValue(elem, name); - return (attr != null && - attr.length >= value.length && - regex_1.test(attr) && - next(elem)); - }; - } - return function (elem) { - var _a; - return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.includes(value)) && - next(elem); - }; - }, - not: function (next, data, options) { - var adapter = options.adapter; - var name = data.name; - var value = data.value; - if (value === "") { - return function (elem) { - return !!adapter.getAttributeValue(elem, name) && next(elem); - }; - } - else if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return function (elem) { - var attr = adapter.getAttributeValue(elem, name); - return ((attr == null || - attr.length !== value.length || - attr.toLowerCase() !== value) && - next(elem)); - }; - } - return function (elem) { - return adapter.getAttributeValue(elem, name) !== value && next(elem); - }; - }, -}; -//# sourceMappingURL=attributes.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/attributes.js.map b/includes/external/addressbook/node_modules/css-select/lib/attributes.js.map deleted file mode 100644 index e542c97..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/attributes.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"attributes.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["attributes.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAgC;AAIhC;;;;;GAKG;AACH,IAAM,OAAO,GAAG,0BAA0B,CAAC;AAC3C,SAAS,WAAW,CAAC,KAAa;IAC9B,OAAO,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAC1C,CAAC;AAED;;;;;GAKG;AACH,IAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC;IACtC,QAAQ;IACR,gBAAgB;IAChB,OAAO;IACP,OAAO;IACP,MAAM;IACN,SAAS;IACT,SAAS;IACT,SAAS;IACT,OAAO;IACP,UAAU;IACV,OAAO;IACP,SAAS;IACT,SAAS;IACT,OAAO;IACP,KAAK;IACL,WAAW;IACX,UAAU;IACV,SAAS;IACT,MAAM;IACN,OAAO;IACP,UAAU;IACV,YAAY;IACZ,MAAM;IACN,UAAU;IACV,MAAM;IACN,OAAO;IACP,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,UAAU;IACV,SAAS;IACT,QAAQ;IACR,UAAU;IACV,KAAK;IACL,KAAK;IACL,OAAO;IACP,OAAO;IACP,WAAW;IACX,UAAU;IACV,OAAO;IACP,QAAQ;IACR,MAAM;IACN,MAAM;IACN,QAAQ;IACR,WAAW;IACX,OAAO;CACV,CAAC,CAAC;AAEH,SAAS,gBAAgB,CACrB,QAA2B,EAC3B,OAA2C;IAE3C,OAAO,OAAO,QAAQ,CAAC,UAAU,KAAK,SAAS;QAC3C,CAAC,CAAC,QAAQ,CAAC,UAAU;QACrB,CAAC,CAAC,QAAQ,CAAC,UAAU,KAAK,QAAQ;YAClC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU;YACtB,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,IAAI,yBAAyB,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CA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,EAAE,IAAI,CAAC,CAAC;gBACnD,OAAO,CACH,CAAC,IAAI,IAAI,IAAI;oBACT,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM;oBAC5B,IAAI,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC;oBACjC,IAAI,CAAC,IAAI,CAAC,CACb,CAAC;YACN,CAAC,CAAC;SACL;QAED,OAAO,UAAC,IAAI;YACR,OAAA,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC;QAA7D,CAA6D,CAAC;IACtE,CAAC;CACJ,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/compile.d.ts b/includes/external/addressbook/node_modules/css-select/lib/compile.d.ts deleted file mode 100644 index f67b508..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/compile.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Selector } from "css-what"; -import type { CompiledQuery, InternalOptions, InternalSelector } from "./types.js"; -/** - * Compiles a selector to an executable function. - * - * @param selector Selector to compile. - * @param options Compilation options. - * @param context Optional context for the selector. - */ -export declare function compile(selector: string | Selector[][], options: InternalOptions, context?: Node[] | Node): CompiledQuery; -export declare function compileUnsafe(selector: string | Selector[][], options: InternalOptions, context?: Node[] | Node): CompiledQuery; -export declare function compileToken(token: InternalSelector[][], options: InternalOptions, context?: Node[] | Node): CompiledQuery; -//# sourceMappingURL=compile.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/compile.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/compile.d.ts.map deleted file mode 100644 index 59231bc..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/compile.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"compile.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,QAAQ,EAAgB,MAAM,UAAU,CAAC;AAQzD,OAAO,KAAK,EACR,aAAa,EACb,eAAe,EACf,gBAAgB,EACnB,MAAM,YAAY,CAAC;AAEpB;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAClD,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,EAAE,EAC/B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,GACxB,aAAa,CAAC,IAAI,CAAC,CAGrB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACxD,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,EAAE,EAC/B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,GACxB,aAAa,CAAC,WAAW,CAAC,CAG5B;AAqDD,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACvD,KAAK,EAAE,gBAAgB,EAAE,EAAE,EAC3B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,GACxB,aAAa,CAAC,WAAW,CAAC,CAsD5B"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/compile.js b/includes/external/addressbook/node_modules/css-select/lib/compile.js deleted file mode 100644 index cf0507c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/compile.js +++ /dev/null @@ -1,151 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compileToken = exports.compileUnsafe = exports.compile = void 0; -var css_what_1 = require("css-what"); -var boolbase_1 = __importDefault(require("boolbase")); -var sort_js_1 = __importStar(require("./sort.js")); -var general_js_1 = require("./general.js"); -var subselects_js_1 = require("./pseudo-selectors/subselects.js"); -/** - * Compiles a selector to an executable function. - * - * @param selector Selector to compile. - * @param options Compilation options. - * @param context Optional context for the selector. - */ -function compile(selector, options, context) { - var next = compileUnsafe(selector, options, context); - return (0, subselects_js_1.ensureIsTag)(next, options.adapter); -} -exports.compile = compile; -function compileUnsafe(selector, options, context) { - var token = typeof selector === "string" ? (0, css_what_1.parse)(selector) : selector; - return compileToken(token, options, context); -} -exports.compileUnsafe = compileUnsafe; -function includesScopePseudo(t) { - return (t.type === css_what_1.SelectorType.Pseudo && - (t.name === "scope" || - (Array.isArray(t.data) && - t.data.some(function (data) { return data.some(includesScopePseudo); })))); -} -var DESCENDANT_TOKEN = { type: css_what_1.SelectorType.Descendant }; -var FLEXIBLE_DESCENDANT_TOKEN = { - type: "_flexibleDescendant", -}; -var SCOPE_TOKEN = { - type: css_what_1.SelectorType.Pseudo, - name: "scope", - data: null, -}; -/* - * CSS 4 Spec (Draft): 3.4.1. Absolutizing a Relative Selector - * http://www.w3.org/TR/selectors4/#absolutizing - */ -function absolutize(token, _a, context) { - var adapter = _a.adapter; - // TODO Use better check if the context is a document - var hasContext = !!(context === null || context === void 0 ? void 0 : context.every(function (e) { - var parent = adapter.isTag(e) && adapter.getParent(e); - return e === subselects_js_1.PLACEHOLDER_ELEMENT || (parent && adapter.isTag(parent)); - })); - for (var _i = 0, token_1 = token; _i < token_1.length; _i++) { - var t = token_1[_i]; - if (t.length > 0 && - (0, sort_js_1.isTraversal)(t[0]) && - t[0].type !== css_what_1.SelectorType.Descendant) { - // Don't continue in else branch - } - else if (hasContext && !t.some(includesScopePseudo)) { - t.unshift(DESCENDANT_TOKEN); - } - else { - continue; - } - t.unshift(SCOPE_TOKEN); - } -} -function compileToken(token, options, context) { - var _a; - token.forEach(sort_js_1.default); - context = (_a = options.context) !== null && _a !== void 0 ? _a : context; - var isArrayContext = Array.isArray(context); - var finalContext = context && (Array.isArray(context) ? context : [context]); - // Check if the selector is relative - if (options.relativeSelector !== false) { - absolutize(token, options, finalContext); - } - else if (token.some(function (t) { return t.length > 0 && (0, sort_js_1.isTraversal)(t[0]); })) { - throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled"); - } - var shouldTestNextSiblings = false; - var query = token - .map(function (rules) { - if (rules.length >= 2) { - var first = rules[0], second = rules[1]; - if (first.type !== css_what_1.SelectorType.Pseudo || - first.name !== "scope") { - // Ignore - } - else if (isArrayContext && - second.type === css_what_1.SelectorType.Descendant) { - rules[1] = FLEXIBLE_DESCENDANT_TOKEN; - } - else if (second.type === css_what_1.SelectorType.Adjacent || - second.type === css_what_1.SelectorType.Sibling) { - shouldTestNextSiblings = true; - } - } - return compileRules(rules, options, finalContext); - }) - .reduce(reduceRules, boolbase_1.default.falseFunc); - query.shouldTestNextSiblings = shouldTestNextSiblings; - return query; -} -exports.compileToken = compileToken; -function compileRules(rules, options, context) { - var _a; - return rules.reduce(function (previous, rule) { - return previous === boolbase_1.default.falseFunc - ? boolbase_1.default.falseFunc - : (0, general_js_1.compileGeneralSelector)(previous, rule, options, context, compileToken); - }, (_a = options.rootFunc) !== null && _a !== void 0 ? _a : boolbase_1.default.trueFunc); -} -function reduceRules(a, b) { - if (b === boolbase_1.default.falseFunc || a === boolbase_1.default.trueFunc) { - return a; - } - if (a === boolbase_1.default.falseFunc || b === boolbase_1.default.trueFunc) { - return b; - } - return function combine(elem) { - return a(elem) || b(elem); - }; -} -//# sourceMappingURL=compile.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/compile.js.map b/includes/external/addressbook/node_modules/css-select/lib/compile.js.map deleted file mode 100644 index 0634249..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/compile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"compile.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["compile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAyD;AACzD,sDAAgC;AAChC,mDAAmD;AACnD,2CAAsD;AACtD,kEAG0C;AAO1C;;;;;;GAMG;AACH,SAAgB,OAAO,CACnB,QAA+B,EAC/B,OAA2C,EAC3C,OAAuB;IAEvB,IAAM,IAAI,GAAG,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACvD,OAAO,IAAA,2BAAW,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AAC9C,CAAC;AAPD,0BAOC;AAED,SAAgB,aAAa,CACzB,QAA+B,EAC/B,OAA2C,EAC3C,OAAuB;IAEvB,IAAM,KAAK,GAAG,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,gBAAK,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;IACxE,OAAO,YAAY,CAAoB,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AACpE,CAAC;AAPD,sCAOC;AAED,SA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AE;QACrD,OAAO,CAAC,CAAC;KACZ;IACD,IAAI,CAAC,KAAK,kBAAQ,CAAC,SAAS,IAAI,CAAC,KAAK,kBAAQ,CAAC,QAAQ,EAAE;QACrD,OAAO,CAAC,CAAC;KACZ;IAED,OAAO,SAAS,OAAO,CAAC,IAAI;QACxB,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC,CAAC;AACN,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.d.ts deleted file mode 100644 index 27b60a5..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { CompiledQuery, InternalOptions } from "./types.js"; -import type { AttributeSelector, AttributeAction } from "css-what"; -/** - * Attribute selectors - */ -export declare const attributeRules: Record(next: CompiledQuery, data: AttributeSelector, options: InternalOptions) => CompiledQuery>; -//# sourceMappingURL=attributes.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.d.ts.map deleted file mode 100644 index aafba15..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"attributes.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["attributes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AA+EnE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAC/B,eAAe,EACf,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAC3B,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,KAC1C,aAAa,CAAC,WAAW,CAAC,CAsLlC,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.js b/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.js deleted file mode 100644 index 199467e..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.js +++ /dev/null @@ -1,222 +0,0 @@ -import boolbase from "boolbase"; -/** - * All reserved characters in a regex, used for escaping. - * - * Taken from XRegExp, (c) 2007-2020 Steven Levithan under the MIT license - * https://github.com/slevithan/xregexp/blob/95eeebeb8fac8754d54eafe2b4743661ac1cf028/src/xregexp.js#L794 - */ -const reChars = /[-[\]{}()*+?.,\\^$|#\s]/g; -function escapeRegex(value) { - return value.replace(reChars, "\\$&"); -} -/** - * Attributes that are case-insensitive in HTML. - * - * @private - * @see https://html.spec.whatwg.org/multipage/semantics-other.html#case-sensitivity-of-selectors - */ -const caseInsensitiveAttributes = new Set([ - "accept", - "accept-charset", - "align", - "alink", - "axis", - "bgcolor", - "charset", - "checked", - "clear", - "codetype", - "color", - "compact", - "declare", - "defer", - "dir", - "direction", - "disabled", - "enctype", - "face", - "frame", - "hreflang", - "http-equiv", - "lang", - "language", - "link", - "media", - "method", - "multiple", - "nohref", - "noresize", - "noshade", - "nowrap", - "readonly", - "rel", - "rev", - "rules", - "scope", - "scrolling", - "selected", - "shape", - "target", - "text", - "type", - "valign", - "valuetype", - "vlink", -]); -function shouldIgnoreCase(selector, options) { - return typeof selector.ignoreCase === "boolean" - ? selector.ignoreCase - : selector.ignoreCase === "quirks" - ? !!options.quirksMode - : !options.xmlMode && caseInsensitiveAttributes.has(selector.name); -} -/** - * Attribute selectors - */ -export const attributeRules = { - equals(next, data, options) { - const { adapter } = options; - const { name } = data; - let { value } = data; - if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return (elem) => { - const attr = adapter.getAttributeValue(elem, name); - return (attr != null && - attr.length === value.length && - attr.toLowerCase() === value && - next(elem)); - }; - } - return (elem) => adapter.getAttributeValue(elem, name) === value && next(elem); - }, - hyphen(next, data, options) { - const { adapter } = options; - const { name } = data; - let { value } = data; - const len = value.length; - if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return function hyphenIC(elem) { - const attr = adapter.getAttributeValue(elem, name); - return (attr != null && - (attr.length === len || attr.charAt(len) === "-") && - attr.substr(0, len).toLowerCase() === value && - next(elem)); - }; - } - return function hyphen(elem) { - const attr = adapter.getAttributeValue(elem, name); - return (attr != null && - (attr.length === len || attr.charAt(len) === "-") && - attr.substr(0, len) === value && - next(elem)); - }; - }, - element(next, data, options) { - const { adapter } = options; - const { name, value } = data; - if (/\s/.test(value)) { - return boolbase.falseFunc; - } - const regex = new RegExp(`(?:^|\\s)${escapeRegex(value)}(?:$|\\s)`, shouldIgnoreCase(data, options) ? "i" : ""); - return function element(elem) { - const attr = adapter.getAttributeValue(elem, name); - return (attr != null && - attr.length >= value.length && - regex.test(attr) && - next(elem)); - }; - }, - exists(next, { name }, { adapter }) { - return (elem) => adapter.hasAttrib(elem, name) && next(elem); - }, - start(next, data, options) { - const { adapter } = options; - const { name } = data; - let { value } = data; - const len = value.length; - if (len === 0) { - return boolbase.falseFunc; - } - if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return (elem) => { - const attr = adapter.getAttributeValue(elem, name); - return (attr != null && - attr.length >= len && - attr.substr(0, len).toLowerCase() === value && - next(elem)); - }; - } - return (elem) => { - var _a; - return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.startsWith(value)) && - next(elem); - }; - }, - end(next, data, options) { - const { adapter } = options; - const { name } = data; - let { value } = data; - const len = -value.length; - if (len === 0) { - return boolbase.falseFunc; - } - if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return (elem) => { - var _a; - return ((_a = adapter - .getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.substr(len).toLowerCase()) === value && next(elem); - }; - } - return (elem) => { - var _a; - return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.endsWith(value)) && - next(elem); - }; - }, - any(next, data, options) { - const { adapter } = options; - const { name, value } = data; - if (value === "") { - return boolbase.falseFunc; - } - if (shouldIgnoreCase(data, options)) { - const regex = new RegExp(escapeRegex(value), "i"); - return function anyIC(elem) { - const attr = adapter.getAttributeValue(elem, name); - return (attr != null && - attr.length >= value.length && - regex.test(attr) && - next(elem)); - }; - } - return (elem) => { - var _a; - return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.includes(value)) && - next(elem); - }; - }, - not(next, data, options) { - const { adapter } = options; - const { name } = data; - let { value } = data; - if (value === "") { - return (elem) => !!adapter.getAttributeValue(elem, name) && next(elem); - } - else if (shouldIgnoreCase(data, options)) { - value = value.toLowerCase(); - return (elem) => { - const attr = adapter.getAttributeValue(elem, name); - return ((attr == null || - attr.length !== value.length || - attr.toLowerCase() !== value) && - next(elem)); - }; - } - return (elem) => adapter.getAttributeValue(elem, name) !== value && next(elem); - }, -}; -//# sourceMappingURL=attributes.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.js.map deleted file mode 100644 index 09d1da6..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/attributes.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"attributes.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["attributes.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAIhC;;;;;GAKG;AACH,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAC3C,SAAS,WAAW,CAAC,KAA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,MAAM,KAAK,KAAK,CAAC,MAAM;oBAC5B,IAAI,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC;oBACjC,IAAI,CAAC,IAAI,CAAC,CACb,CAAC;YACN,CAAC,CAAC;SACL;QAED,OAAO,CAAC,IAAI,EAAE,EAAE,CACZ,OAAO,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IACtE,CAAC;CACJ,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/compile.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/compile.d.ts deleted file mode 100644 index f67b508..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/compile.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Selector } from "css-what"; -import type { CompiledQuery, InternalOptions, InternalSelector } from "./types.js"; -/** - * Compiles a selector to an executable function. - * - * @param selector Selector to compile. - * @param options Compilation options. - * @param context Optional context for the selector. - */ -export declare function compile(selector: string | Selector[][], options: InternalOptions, context?: Node[] | Node): CompiledQuery; -export declare function compileUnsafe(selector: string | Selector[][], options: InternalOptions, context?: Node[] | Node): CompiledQuery; -export declare function compileToken(token: InternalSelector[][], options: InternalOptions, context?: Node[] | Node): CompiledQuery; -//# sourceMappingURL=compile.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/compile.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/compile.d.ts.map deleted file mode 100644 index 59231bc..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/compile.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"compile.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,QAAQ,EAAgB,MAAM,UAAU,CAAC;AAQzD,OAAO,KAAK,EACR,aAAa,EACb,eAAe,EACf,gBAAgB,EACnB,MAAM,YAAY,CAAC;AAEpB;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAClD,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,EAAE,EAC/B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,GACxB,aAAa,CAAC,IAAI,CAAC,CAGrB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACxD,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,EAAE,EAC/B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,GACxB,aAAa,CAAC,WAAW,CAAC,CAG5B;AAqDD,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACvD,KAAK,EAAE,gBAAgB,EAAE,EAAE,EAC3B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,GACxB,aAAa,CAAC,WAAW,CAAC,CAsD5B"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/compile.js b/includes/external/addressbook/node_modules/css-select/lib/esm/compile.js deleted file mode 100644 index 1f5ee57..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/compile.js +++ /dev/null @@ -1,115 +0,0 @@ -import { parse, SelectorType } from "css-what"; -import boolbase from "boolbase"; -import sortRules, { isTraversal } from "./sort.js"; -import { compileGeneralSelector } from "./general.js"; -import { ensureIsTag, PLACEHOLDER_ELEMENT, } from "./pseudo-selectors/subselects.js"; -/** - * Compiles a selector to an executable function. - * - * @param selector Selector to compile. - * @param options Compilation options. - * @param context Optional context for the selector. - */ -export function compile(selector, options, context) { - const next = compileUnsafe(selector, options, context); - return ensureIsTag(next, options.adapter); -} -export function compileUnsafe(selector, options, context) { - const token = typeof selector === "string" ? parse(selector) : selector; - return compileToken(token, options, context); -} -function includesScopePseudo(t) { - return (t.type === SelectorType.Pseudo && - (t.name === "scope" || - (Array.isArray(t.data) && - t.data.some((data) => data.some(includesScopePseudo))))); -} -const DESCENDANT_TOKEN = { type: SelectorType.Descendant }; -const FLEXIBLE_DESCENDANT_TOKEN = { - type: "_flexibleDescendant", -}; -const SCOPE_TOKEN = { - type: SelectorType.Pseudo, - name: "scope", - data: null, -}; -/* - * CSS 4 Spec (Draft): 3.4.1. Absolutizing a Relative Selector - * http://www.w3.org/TR/selectors4/#absolutizing - */ -function absolutize(token, { adapter }, context) { - // TODO Use better check if the context is a document - const hasContext = !!(context === null || context === void 0 ? void 0 : context.every((e) => { - const parent = adapter.isTag(e) && adapter.getParent(e); - return e === PLACEHOLDER_ELEMENT || (parent && adapter.isTag(parent)); - })); - for (const t of token) { - if (t.length > 0 && - isTraversal(t[0]) && - t[0].type !== SelectorType.Descendant) { - // Don't continue in else branch - } - else if (hasContext && !t.some(includesScopePseudo)) { - t.unshift(DESCENDANT_TOKEN); - } - else { - continue; - } - t.unshift(SCOPE_TOKEN); - } -} -export function compileToken(token, options, context) { - var _a; - token.forEach(sortRules); - context = (_a = options.context) !== null && _a !== void 0 ? _a : context; - const isArrayContext = Array.isArray(context); - const finalContext = context && (Array.isArray(context) ? context : [context]); - // Check if the selector is relative - if (options.relativeSelector !== false) { - absolutize(token, options, finalContext); - } - else if (token.some((t) => t.length > 0 && isTraversal(t[0]))) { - throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled"); - } - let shouldTestNextSiblings = false; - const query = token - .map((rules) => { - if (rules.length >= 2) { - const [first, second] = rules; - if (first.type !== SelectorType.Pseudo || - first.name !== "scope") { - // Ignore - } - else if (isArrayContext && - second.type === SelectorType.Descendant) { - rules[1] = FLEXIBLE_DESCENDANT_TOKEN; - } - else if (second.type === SelectorType.Adjacent || - second.type === SelectorType.Sibling) { - shouldTestNextSiblings = true; - } - } - return compileRules(rules, options, finalContext); - }) - .reduce(reduceRules, boolbase.falseFunc); - query.shouldTestNextSiblings = shouldTestNextSiblings; - return query; -} -function compileRules(rules, options, context) { - var _a; - return rules.reduce((previous, rule) => previous === boolbase.falseFunc - ? boolbase.falseFunc - : compileGeneralSelector(previous, rule, options, context, compileToken), (_a = options.rootFunc) !== null && _a !== void 0 ? _a : boolbase.trueFunc); -} -function reduceRules(a, b) { - if (b === boolbase.falseFunc || a === boolbase.trueFunc) { - return a; - } - if (a === boolbase.falseFunc || b === boolbase.trueFunc) { - return b; - } - return function combine(elem) { - return a(elem) || b(elem); - }; -} -//# sourceMappingURL=compile.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/compile.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/compile.js.map deleted file mode 100644 index 8e83703..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/compile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"compile.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAY,YAAY,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EACH,WAAW,EACX,mBAAmB,GACtB,MAAM,kCAAkC,CAAC;AAO1C;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CACnB,QAA+B,EAC/B,OAA2C,EAC3C,OAAuB;IAEvB,MAAM,IAAI,GAAG,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC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,EACJ,OAAO,EACP,OAAO,EACP,YAAY,CACf,EACX,MAAA,OAAO,CAAC,QAAQ,mCAAI,QAAQ,CAAC,QAAQ,CACxC,CAAC;AACN,CAAC;AAED,SAAS,WAAW,CAChB,CAA6B,EAC7B,CAA6B;IAE7B,IAAI,CAAC,KAAK,QAAQ,CAAC,SAAS,IAAI,CAAC,KAAK,QAAQ,CAAC,QAAQ,EAAE;QACrD,OAAO,CAAC,CAAC;KACZ;IACD,IAAI,CAAC,KAAK,QAAQ,CAAC,SAAS,IAAI,CAAC,KAAK,QAAQ,CAAC,QAAQ,EAAE;QACrD,OAAO,CAAC,CAAC;KACZ;IAED,OAAO,SAAS,OAAO,CAAC,IAAI;QACxB,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC,CAAC;AACN,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/general.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/general.d.ts deleted file mode 100644 index 2baa1f3..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/general.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { CompiledQuery, InternalOptions, InternalSelector, CompileToken } from "./types.js"; -export declare function compileGeneralSelector(next: CompiledQuery, selector: InternalSelector, options: InternalOptions, context: Node[] | undefined, compileToken: CompileToken): CompiledQuery; -//# sourceMappingURL=general.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/general.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/general.d.ts.map deleted file mode 100644 index 82c8d6d..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/general.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"general.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["general.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAER,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,YAAY,EACf,MAAM,YAAY,CAAC;AAkBpB,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACjE,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,EAC3B,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,WAAW,CAAC,GAC9C,aAAa,CAAC,WAAW,CAAC,CAiK5B"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/general.js b/includes/external/addressbook/node_modules/css-select/lib/esm/general.js deleted file mode 100644 index 743ef7b..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/general.js +++ /dev/null @@ -1,144 +0,0 @@ -import { attributeRules } from "./attributes.js"; -import { compilePseudoSelector } from "./pseudo-selectors/index.js"; -import { SelectorType } from "css-what"; -function getElementParent(node, adapter) { - const parent = adapter.getParent(node); - if (parent && adapter.isTag(parent)) { - return parent; - } - return null; -} -/* - * All available rules - */ -export function compileGeneralSelector(next, selector, options, context, compileToken) { - const { adapter, equals } = options; - switch (selector.type) { - case SelectorType.PseudoElement: { - throw new Error("Pseudo-elements are not supported by css-select"); - } - case SelectorType.ColumnCombinator: { - throw new Error("Column combinators are not yet supported by css-select"); - } - case SelectorType.Attribute: { - if (selector.namespace != null) { - throw new Error("Namespaced attributes are not yet supported by css-select"); - } - if (!options.xmlMode || options.lowerCaseAttributeNames) { - selector.name = selector.name.toLowerCase(); - } - return attributeRules[selector.action](next, selector, options); - } - case SelectorType.Pseudo: { - return compilePseudoSelector(next, selector, options, context, compileToken); - } - // Tags - case SelectorType.Tag: { - if (selector.namespace != null) { - throw new Error("Namespaced tag names are not yet supported by css-select"); - } - let { name } = selector; - if (!options.xmlMode || options.lowerCaseTags) { - name = name.toLowerCase(); - } - return function tag(elem) { - return adapter.getName(elem) === name && next(elem); - }; - } - // Traversal - case SelectorType.Descendant: { - if (options.cacheResults === false || - typeof WeakSet === "undefined") { - return function descendant(elem) { - let current = elem; - while ((current = getElementParent(current, adapter))) { - if (next(current)) { - return true; - } - } - return false; - }; - } - // @ts-expect-error `ElementNode` is not extending object - const isFalseCache = new WeakSet(); - return function cachedDescendant(elem) { - let current = elem; - while ((current = getElementParent(current, adapter))) { - if (!isFalseCache.has(current)) { - if (adapter.isTag(current) && next(current)) { - return true; - } - isFalseCache.add(current); - } - } - return false; - }; - } - case "_flexibleDescendant": { - // Include element itself, only used while querying an array - return function flexibleDescendant(elem) { - let current = elem; - do { - if (next(current)) - return true; - } while ((current = getElementParent(current, adapter))); - return false; - }; - } - case SelectorType.Parent: { - return function parent(elem) { - return adapter - .getChildren(elem) - .some((elem) => adapter.isTag(elem) && next(elem)); - }; - } - case SelectorType.Child: { - return function child(elem) { - const parent = adapter.getParent(elem); - return parent != null && adapter.isTag(parent) && next(parent); - }; - } - case SelectorType.Sibling: { - return function sibling(elem) { - const siblings = adapter.getSiblings(elem); - for (let i = 0; i < siblings.length; i++) { - const currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - break; - if (adapter.isTag(currentSibling) && next(currentSibling)) { - return true; - } - } - return false; - }; - } - case SelectorType.Adjacent: { - if (adapter.prevElementSibling) { - return function adjacent(elem) { - const previous = adapter.prevElementSibling(elem); - return previous != null && next(previous); - }; - } - return function adjacent(elem) { - const siblings = adapter.getSiblings(elem); - let lastElement; - for (let i = 0; i < siblings.length; i++) { - const currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - break; - if (adapter.isTag(currentSibling)) { - lastElement = currentSibling; - } - } - return !!lastElement && next(lastElement); - }; - } - case SelectorType.Universal: { - if (selector.namespace != null && selector.namespace !== "*") { - throw new Error("Namespaced universal selectors are not yet supported by css-select"); - } - return next; - } - } -} -//# sourceMappingURL=general.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/general.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/general.js.map deleted file mode 100644 index 6838068..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/general.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"general.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["general.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAQpE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,SAAS,gBAAgB,CACrB,IAAiB,EACjB,OAAmC;IAEnC,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACvC,IAAI,MAAM,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;QACjC,OAAO,MAAM,CAAC;KACjB;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED;;GAEG;AAEH,MAAM,UAAU,sBAAsB,CAClC,IAAgC,EAChC,QAA0B,EAC1B,OAA2C,EAC3C,OAA2B,EAC3B,YAA6C;IAE7C,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAEpC,QAAQ,QAAQ,CAAC,IAAI,EAAE;QACnB,KAAK,YAAY,CAAC,aAAa,CAAC,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;SACtE;QACD,KAAK,YAAY,CAAC,gBAAgB,CAAC,CAAC;YAChC,MAAM,IAAI,KAAK,CACX,wDAAwD,CAC3D,CAAC;SACL;QACD,KAAK,YAAY,CAAC,SAAS,CAAC,CAAC;YACzB,IAAI,QAAQ,CAAC,SAAS,IAAI,IAAI,EAAE;gBAC5B,MAAM,IAAI,KAAK,CACX,2DAA2D,CAC9D,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AAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;oBACtC,MAAM,cAAc,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;oBACnC,IAAI,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC;wBAAE,MAAM;oBACxC,IAAI,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE;wBAC/B,WAAW,GAAG,cAAc,CAAC;qBAChC;iBACJ;gBAED,OAAO,CAAC,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC;YAC9C,CAAC,CAAC;SACL;QACD,KAAK,YAAY,CAAC,SAAS,CAAC,CAAC;YACzB,IAAI,QAAQ,CAAC,SAAS,IAAI,IAAI,IAAI,QAAQ,CAAC,SAAS,KAAK,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CACX,oEAAoE,CACvE,CAAC;aACL;YAED,OAAO,IAAI,CAAC;SACf;KACJ;AACL,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/index.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/index.d.ts deleted file mode 100644 index 0911372..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/index.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import type { CompiledQuery, Options, Query, Adapter } from "./types.js"; -export type { Options }; -/** - * Compiles the query, returns a function. - */ -export declare const compile: (selector: string | import("css-what").Selector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; -export declare const _compileUnsafe: (selector: string | import("css-what").Selector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; -export declare const _compileToken: (selector: import("./types.js").InternalSelector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; -export declare function prepareContext(elems: Node | Node[], adapter: Adapter, shouldTestNextSiblings?: boolean): Node[]; -/** - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elems Elements to query. If it is an element, its children will be queried.. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns All matching elements. - * - */ -export declare const selectAll: (query: Query, elements: Node | Node[], options?: Options | undefined) => ElementNode[]; -/** - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elems Elements to query. If it is an element, its children will be queried.. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns the first match, or null if there was no match. - */ -export declare const selectOne: (query: Query, elements: Node | Node[], options?: Options | undefined) => ElementNode | null; -/** - * Tests whether or not an element is matched by query. - * - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elem The element to test if it matches the query. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns - */ -export declare function is(elem: ElementNode, query: Query, options?: Options): boolean; -/** - * Alias for selectAll(query, elems, options). - * @see [compile] for supported selector queries. - */ -export default selectAll; -/** @deprecated Use the `pseudos` option instead. */ -export { filters, pseudos, aliases } from "./pseudo-selectors/index.js"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/index.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/index.d.ts.map deleted file mode 100644 index 120c4fe..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["index.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACR,aAAa,EACb,OAAO,EAEP,KAAK,EACL,OAAO,EAEV,MAAM,YAAY,CAAC;AAGpB,YAAY,EAAE,OAAO,EAAE,CAAC;AA0CxB;;GAEG;AACH,eAAO,MAAM,OAAO,oMAA0B,CAAC;AAC/C,eAAO,MAAM,cAAc,2MAA6B,CAAC;AACzD,eAAO,MAAM,aAAa,4MAA4B,CAAC;AA6BvD,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACzD,KAAK,EAAE,IAAI,GAAG,IAAI,EAAE,EACpB,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,EACnC,sBAAsB,UAAQ,GAC/B,IAAI,EAAE,CAYR;AAiBD;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,yJASrB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,8JASrB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,EAAE,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAC7C,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,EACzB,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GACrC,OAAO,CAKT;AAED;;;GAGG;AACH,eAAe,SAAS,CAAC;AAGzB,oDAAoD;AACpD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/index.js b/includes/external/addressbook/node_modules/css-select/lib/esm/index.js deleted file mode 100644 index 7d827a2..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/index.js +++ /dev/null @@ -1,115 +0,0 @@ -import * as DomUtils from "domutils"; -import boolbase from "boolbase"; -import { compile as compileRaw, compileUnsafe, compileToken, } from "./compile.js"; -import { getNextSiblings } from "./pseudo-selectors/subselects.js"; -const defaultEquals = (a, b) => a === b; -const defaultOptions = { - adapter: DomUtils, - equals: defaultEquals, -}; -function convertOptionFormats(options) { - var _a, _b, _c, _d; - /* - * We force one format of options to the other one. - */ - // @ts-expect-error Default options may have incompatible `Node` / `ElementNode`. - const opts = options !== null && options !== void 0 ? options : defaultOptions; - // @ts-expect-error Same as above. - (_a = opts.adapter) !== null && _a !== void 0 ? _a : (opts.adapter = DomUtils); - // @ts-expect-error `equals` does not exist on `Options` - (_b = opts.equals) !== null && _b !== void 0 ? _b : (opts.equals = (_d = (_c = opts.adapter) === null || _c === void 0 ? void 0 : _c.equals) !== null && _d !== void 0 ? _d : defaultEquals); - return opts; -} -function wrapCompile(func) { - return function addAdapter(selector, options, context) { - const opts = convertOptionFormats(options); - return func(selector, opts, context); - }; -} -/** - * Compiles the query, returns a function. - */ -export const compile = wrapCompile(compileRaw); -export const _compileUnsafe = wrapCompile(compileUnsafe); -export const _compileToken = wrapCompile(compileToken); -function getSelectorFunc(searchFunc) { - return function select(query, elements, options) { - const opts = convertOptionFormats(options); - if (typeof query !== "function") { - query = compileUnsafe(query, opts, elements); - } - const filteredElements = prepareContext(elements, opts.adapter, query.shouldTestNextSiblings); - return searchFunc(query, filteredElements, opts); - }; -} -export function prepareContext(elems, adapter, shouldTestNextSiblings = false) { - /* - * Add siblings if the query requires them. - * See https://github.com/fb55/css-select/pull/43#issuecomment-225414692 - */ - if (shouldTestNextSiblings) { - elems = appendNextSiblings(elems, adapter); - } - return Array.isArray(elems) - ? adapter.removeSubsets(elems) - : adapter.getChildren(elems); -} -function appendNextSiblings(elem, adapter) { - // Order matters because jQuery seems to check the children before the siblings - const elems = Array.isArray(elem) ? elem.slice(0) : [elem]; - const elemsLength = elems.length; - for (let i = 0; i < elemsLength; i++) { - const nextSiblings = getNextSiblings(elems[i], adapter); - elems.push(...nextSiblings); - } - return elems; -} -/** - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elems Elements to query. If it is an element, its children will be queried.. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns All matching elements. - * - */ -export const selectAll = getSelectorFunc((query, elems, options) => query === boolbase.falseFunc || !elems || elems.length === 0 - ? [] - : options.adapter.findAll(query, elems)); -/** - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elems Elements to query. If it is an element, its children will be queried.. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns the first match, or null if there was no match. - */ -export const selectOne = getSelectorFunc((query, elems, options) => query === boolbase.falseFunc || !elems || elems.length === 0 - ? null - : options.adapter.findOne(query, elems)); -/** - * Tests whether or not an element is matched by query. - * - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elem The element to test if it matches the query. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns - */ -export function is(elem, query, options) { - const opts = convertOptionFormats(options); - return (typeof query === "function" ? query : compileRaw(query, opts))(elem); -} -/** - * Alias for selectAll(query, elems, options). - * @see [compile] for supported selector queries. - */ -export default selectAll; -// Export filters, pseudos and aliases to allow users to supply their own. -/** @deprecated Use the `pseudos` option instead. */ -export { filters, pseudos, aliases } from "./pseudo-selectors/index.js"; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/index.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/index.js.map deleted file mode 100644 index b9e98bf..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,OAAO,QAAQ,MAAM,UAAU,CAAC;AAKhC,OAAO,EACH,OAAO,IAAI,UAAU,EACrB,aAAa,EACb,YAAY,GACf,MAAM,cAAc,CAAC;AAStB,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC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AAM,SAAS,GAAG,eAAe,CACpC,CACI,KAA6B,EAC7B,KAAoB,EACpB,OAA2C,EAC9B,EAAE,CACf,KAAK,KAAK,QAAQ,CAAC,SAAS,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;IACxD,CAAC,CAAC,EAAE;IACJ,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAClD,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CACpC,CACI,KAA6B,EAC7B,KAAoB,EACpB,OAA2C,EACzB,EAAE,CACpB,KAAK,KAAK,QAAQ,CAAC,SAAS,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;IACxD,CAAC,CAAC,IAAI;IACN,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAClD,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,UAAU,EAAE,CACd,IAAiB,EACjB,KAAyB,EACzB,OAAoC;IAEpC,MAAM,IAAI,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC3C,OAAO,CAAC,OAAO,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAClE,IAAI,CACP,CAAC;AACN,CAAC;AAED;;;GAGG;AACH,eAAe,SAAS,CAAC;AAEzB,0EAA0E;AAC1E,oDAAoD;AACpD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/package.json b/includes/external/addressbook/node_modules/css-select/lib/esm/package.json deleted file mode 100644 index 089153b..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/package.json +++ /dev/null @@ -1 +0,0 @@ -{"type":"module"} diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts deleted file mode 100644 index 1bcb31a..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Aliases are pseudos that are expressed as selectors. - */ -export declare const aliases: Record; -//# sourceMappingURL=aliases.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map deleted file mode 100644 index 37c9e8c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"aliases.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/aliases.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwC1C,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js deleted file mode 100644 index 49cd6f0..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Aliases are pseudos that are expressed as selectors. - */ -export const aliases = { - // Links - "any-link": ":is(a, area, link)[href]", - link: ":any-link:not(:visited)", - // Forms - // https://html.spec.whatwg.org/multipage/scripting.html#disabled-elements - disabled: `:is( - :is(button, input, select, textarea, optgroup, option)[disabled], - optgroup[disabled] > option, - fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) - )`, - enabled: ":not(:disabled)", - checked: ":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)", - required: ":is(input, select, textarea)[required]", - optional: ":is(input, select, textarea):not([required])", - // JQuery extensions - // https://html.spec.whatwg.org/multipage/form-elements.html#concept-option-selectedness - selected: "option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)", - checkbox: "[type=checkbox]", - file: "[type=file]", - password: "[type=password]", - radio: "[type=radio]", - reset: "[type=reset]", - image: "[type=image]", - submit: "[type=submit]", - parent: ":not(:empty)", - header: ":is(h1, h2, h3, h4, h5, h6)", - button: ":is(button, input[type=button])", - input: ":is(input, textarea, select, button)", - text: "input:is(:not([type!='']), [type=text])", -}; -//# sourceMappingURL=aliases.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map deleted file mode 100644 index 6ef57c9..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"aliases.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/aliases.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAA2B;IAC3C,QAAQ;IAER,UAAU,EAAE,0BAA0B;IACtC,IAAI,EAAE,yBAAyB;IAE/B,QAAQ;IAER,0EAA0E;IAC1E,QAAQ,EAAE;;;;MAIR;IACF,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EACH,6EAA6E;IACjF,QAAQ,EAAE,wCAAwC;IAClD,QAAQ,EAAE,8CAA8C;IAExD,oBAAoB;IAEpB,wFAAwF;IACxF,QAAQ,EACJ,8FAA8F;IAElG,QAAQ,EAAE,iBAAiB;IAC3B,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,iBAAiB;IAC3B,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,eAAe;IAEvB,MAAM,EAAE,cAAc;IACtB,MAAM,EAAE,6BAA6B;IAErC,MAAM,EAAE,iCAAiC;IACzC,KAAK,EAAE,sCAAsC;IAC7C,IAAI,EAAE,yCAAyC;CAClD,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts deleted file mode 100644 index a75d063..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { CompiledQuery, InternalOptions } from "../types.js"; -export declare type Filter = (next: CompiledQuery, text: string, options: InternalOptions, context?: Node[]) => CompiledQuery; -export declare const filters: Record; -//# sourceMappingURL=filters.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map deleted file mode 100644 index 86f1cef..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"filters.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/filters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAW,MAAM,aAAa,CAAC;AAE3E,oBAAY,MAAM,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,KACf,aAAa,CAAC,WAAW,CAAC,CAAC;AAYhC,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2I1C,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.js b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.js deleted file mode 100644 index 2f939ed..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +++ /dev/null @@ -1,143 +0,0 @@ -import getNCheck from "nth-check"; -import boolbase from "boolbase"; -function getChildFunc(next, adapter) { - return (elem) => { - const parent = adapter.getParent(elem); - return parent != null && adapter.isTag(parent) && next(elem); - }; -} -export const filters = { - contains(next, text, { adapter }) { - return function contains(elem) { - return next(elem) && adapter.getText(elem).includes(text); - }; - }, - icontains(next, text, { adapter }) { - const itext = text.toLowerCase(); - return function icontains(elem) { - return (next(elem) && - adapter.getText(elem).toLowerCase().includes(itext)); - }; - }, - // Location specific methods - "nth-child"(next, rule, { adapter, equals }) { - const func = getNCheck(rule); - if (func === boolbase.falseFunc) - return boolbase.falseFunc; - if (func === boolbase.trueFunc) - return getChildFunc(next, adapter); - return function nthChild(elem) { - const siblings = adapter.getSiblings(elem); - let pos = 0; - for (let i = 0; i < siblings.length; i++) { - if (equals(elem, siblings[i])) - break; - if (adapter.isTag(siblings[i])) { - pos++; - } - } - return func(pos) && next(elem); - }; - }, - "nth-last-child"(next, rule, { adapter, equals }) { - const func = getNCheck(rule); - if (func === boolbase.falseFunc) - return boolbase.falseFunc; - if (func === boolbase.trueFunc) - return getChildFunc(next, adapter); - return function nthLastChild(elem) { - const siblings = adapter.getSiblings(elem); - let pos = 0; - for (let i = siblings.length - 1; i >= 0; i--) { - if (equals(elem, siblings[i])) - break; - if (adapter.isTag(siblings[i])) { - pos++; - } - } - return func(pos) && next(elem); - }; - }, - "nth-of-type"(next, rule, { adapter, equals }) { - const func = getNCheck(rule); - if (func === boolbase.falseFunc) - return boolbase.falseFunc; - if (func === boolbase.trueFunc) - return getChildFunc(next, adapter); - return function nthOfType(elem) { - const siblings = adapter.getSiblings(elem); - let pos = 0; - for (let i = 0; i < siblings.length; i++) { - const currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - break; - if (adapter.isTag(currentSibling) && - adapter.getName(currentSibling) === adapter.getName(elem)) { - pos++; - } - } - return func(pos) && next(elem); - }; - }, - "nth-last-of-type"(next, rule, { adapter, equals }) { - const func = getNCheck(rule); - if (func === boolbase.falseFunc) - return boolbase.falseFunc; - if (func === boolbase.trueFunc) - return getChildFunc(next, adapter); - return function nthLastOfType(elem) { - const siblings = adapter.getSiblings(elem); - let pos = 0; - for (let i = siblings.length - 1; i >= 0; i--) { - const currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - break; - if (adapter.isTag(currentSibling) && - adapter.getName(currentSibling) === adapter.getName(elem)) { - pos++; - } - } - return func(pos) && next(elem); - }; - }, - // TODO determine the actual root element - root(next, _rule, { adapter }) { - return (elem) => { - const parent = adapter.getParent(elem); - return (parent == null || !adapter.isTag(parent)) && next(elem); - }; - }, - scope(next, rule, options, context) { - const { equals } = options; - if (!context || context.length === 0) { - // Equivalent to :root - return filters["root"](next, rule, options); - } - if (context.length === 1) { - // NOTE: can't be unpacked, as :has uses this for side-effects - return (elem) => equals(context[0], elem) && next(elem); - } - return (elem) => context.includes(elem) && next(elem); - }, - hover: dynamicStatePseudo("isHovered"), - visited: dynamicStatePseudo("isVisited"), - active: dynamicStatePseudo("isActive"), -}; -/** - * Dynamic state pseudos. These depend on optional Adapter methods. - * - * @param name The name of the adapter method to call. - * @returns Pseudo for the `filters` object. - */ -function dynamicStatePseudo(name) { - return function dynamicPseudo(next, _rule, { adapter }) { - const func = adapter[name]; - if (typeof func !== "function") { - return boolbase.falseFunc; - } - return function active(elem) { - return func(elem) && next(elem); - }; - }; -} -//# sourceMappingURL=filters.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map deleted file mode 100644 index 605d0cb..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"filters.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/filters.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,QAAQ,MAAM,UAAU,CAAC;AAUhC,SAAS,YAAY,CACjB,IAAgC,EAChC,OAAmC;IAEnC,OAAO,CAAC,IAAI,EAAE,EAAE;QACZ,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACvC,OAAO,MAAM,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IACjE,CAAC,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAA2B;IAC3C,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE;QAC5B,OAAO,SAAS,QAAQ,CAAC,IAAI;YACzB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC9D,CAAC,CAAC;IACN,CAAC;IACD,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE;QAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAEjC,OAAO,SAAS,SAAS,CAAC,IAAI;YAC1B,OAAO,CACH,IAAI,CAAC,IAAI,CAAC;gBACV,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,WA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AAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;QAE3B,IAAI,OAAO,IAAI,KAAK,UAAU,EAAE;YAC5B,OAAO,QAAQ,CAAC,SAAS,CAAC;SAC7B;QAED,OAAO,SAAS,MAAM,CAAC,IAAI;YACvB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC,CAAC;IACN,CAAC,CAAC;AACN,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts deleted file mode 100644 index 2c41913..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { CompiledQuery, InternalOptions, CompileToken } from "../types.js"; -import { PseudoSelector } from "css-what"; -import { filters } from "./filters.js"; -import { pseudos } from "./pseudos.js"; -import { aliases } from "./aliases.js"; -export { filters, pseudos, aliases }; -export declare function compilePseudoSelector(next: CompiledQuery, selector: PseudoSelector, options: InternalOptions, context: Node[] | undefined, compileToken: CompileToken): CompiledQuery; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map deleted file mode 100644 index ba14097..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/index.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAS,cAAc,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAoB,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAErC,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChE,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,EAC3B,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,WAAW,CAAC,GAC9C,aAAa,CAAC,WAAW,CAAC,CA4C5B"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.js b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.js deleted file mode 100644 index ab43243..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.js +++ /dev/null @@ -1,40 +0,0 @@ -import { parse } from "css-what"; -import { filters } from "./filters.js"; -import { pseudos, verifyPseudoArgs } from "./pseudos.js"; -import { aliases } from "./aliases.js"; -import { subselects } from "./subselects.js"; -export { filters, pseudos, aliases }; -export function compilePseudoSelector(next, selector, options, context, compileToken) { - var _a; - const { name, data } = selector; - if (Array.isArray(data)) { - if (!(name in subselects)) { - throw new Error(`Unknown pseudo-class :${name}(${data})`); - } - return subselects[name](next, data, options, context, compileToken); - } - const userPseudo = (_a = options.pseudos) === null || _a === void 0 ? void 0 : _a[name]; - const stringPseudo = typeof userPseudo === "string" ? userPseudo : aliases[name]; - if (typeof stringPseudo === "string") { - if (data != null) { - throw new Error(`Pseudo ${name} doesn't have any arguments`); - } - // The alias has to be parsed here, to make sure options are respected. - const alias = parse(stringPseudo); - return subselects["is"](next, alias, options, context, compileToken); - } - if (typeof userPseudo === "function") { - verifyPseudoArgs(userPseudo, name, data, 1); - return (elem) => userPseudo(elem, data) && next(elem); - } - if (name in filters) { - return filters[name](next, data, options, context); - } - if (name in pseudos) { - const pseudo = pseudos[name]; - verifyPseudoArgs(pseudo, name, data, 2); - return (elem) => pseudo(elem, options, data) && next(elem); - } - throw new Error(`Unknown pseudo-class :${name}`); -} -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map deleted file mode 100644 index f8fe1e7..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,EAAkB,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAErC,MAAM,UAAU,qBAAqB,CACjC,IAAgC,EAChC,QAAwB,EACxB,OAA2C,EAC3C,OAA2B,EAC3B,YAA6C;;IAE7C,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,QAAQ,CAAC;IAEhC,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACrB,IAAI,CAAC,CAAC,IAAI,IAAI,UAAU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I,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAExC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;KAC9D;IAED,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;AACrD,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts deleted file mode 100644 index cfcf8d6..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { PseudoSelector } from "css-what"; -import type { InternalOptions } from "../types.js"; -export declare type Pseudo = (elem: ElementNode, options: InternalOptions, subselect?: string | null) => boolean; -export declare const pseudos: Record; -export declare function verifyPseudoArgs>(func: (...args: T) => boolean, name: string, subselect: PseudoSelector["data"], argIndex: number): void; -//# sourceMappingURL=pseudos.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map deleted file mode 100644 index b2d1137..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pseudos.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/pseudos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,oBAAY,MAAM,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChD,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,KACxB,OAAO,CAAC;AAGb,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkF1C,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,KAAK,CAAC,OAAO,CAAC,EACrD,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,EAC7B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,EACjC,QAAQ,EAAE,MAAM,GACjB,IAAI,CAQN"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js deleted file mode 100644 index fe2ebef..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +++ /dev/null @@ -1,79 +0,0 @@ -// While filters are precompiled, pseudos get called when they are needed -export const pseudos = { - empty(elem, { adapter }) { - return !adapter.getChildren(elem).some((elem) => - // FIXME: `getText` call is potentially expensive. - adapter.isTag(elem) || adapter.getText(elem) !== ""); - }, - "first-child"(elem, { adapter, equals }) { - if (adapter.prevElementSibling) { - return adapter.prevElementSibling(elem) == null; - } - const firstChild = adapter - .getSiblings(elem) - .find((elem) => adapter.isTag(elem)); - return firstChild != null && equals(elem, firstChild); - }, - "last-child"(elem, { adapter, equals }) { - const siblings = adapter.getSiblings(elem); - for (let i = siblings.length - 1; i >= 0; i--) { - if (equals(elem, siblings[i])) - return true; - if (adapter.isTag(siblings[i])) - break; - } - return false; - }, - "first-of-type"(elem, { adapter, equals }) { - const siblings = adapter.getSiblings(elem); - const elemName = adapter.getName(elem); - for (let i = 0; i < siblings.length; i++) { - const currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - return true; - if (adapter.isTag(currentSibling) && - adapter.getName(currentSibling) === elemName) { - break; - } - } - return false; - }, - "last-of-type"(elem, { adapter, equals }) { - const siblings = adapter.getSiblings(elem); - const elemName = adapter.getName(elem); - for (let i = siblings.length - 1; i >= 0; i--) { - const currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - return true; - if (adapter.isTag(currentSibling) && - adapter.getName(currentSibling) === elemName) { - break; - } - } - return false; - }, - "only-of-type"(elem, { adapter, equals }) { - const elemName = adapter.getName(elem); - return adapter - .getSiblings(elem) - .every((sibling) => equals(elem, sibling) || - !adapter.isTag(sibling) || - adapter.getName(sibling) !== elemName); - }, - "only-child"(elem, { adapter, equals }) { - return adapter - .getSiblings(elem) - .every((sibling) => equals(elem, sibling) || !adapter.isTag(sibling)); - }, -}; -export function verifyPseudoArgs(func, name, subselect, argIndex) { - if (subselect === null) { - if (func.length > argIndex) { - throw new Error(`Pseudo-class :${name} requires an argument`); - } - } - else if (func.length === argIndex) { - throw new Error(`Pseudo-class :${name} doesn't have any arguments`); - } -} -//# sourceMappingURL=pseudos.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map deleted file mode 100644 index 62f4ec3..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pseudos.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/pseudos.ts"],"names":[],"mappings":"AASA,yEAAyE;AACzE,MAAM,CAAC,MAAM,OAAO,GAA2B;IAC3C,KAAK,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE;QACnB,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,CACl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,IAAI,EAAE,OAAO,CAAC;YACrB,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC;YACvB,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,QAAQ,CAC5C,CAAC;IACV,CAAC;IACD,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAClC,OAAO,OAAO;aACT,WAAW,CAAC,IAAI,CAAC;aACjB,KAAK,CACF,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAChE,CAAC;IACV,CAAC;CACJ,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAC5B,IAA6B,EAC7B,IAAY,EACZ,SAAiC,EACjC,QAAgB;IAEhB,IAAI,SAAS,KAAK,IAAI,EAAE;QACpB,IAAI,IAAI,CAAC,MAAM,GAAG,QAAQ,EAAE;YACxB,MAAM,IAAI,KAAK,CAAC,iBAAiB,IAAI,uBAAuB,CAAC,CAAC;SACjE;KACJ;SAAM,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE;QACjC,MAAM,IAAI,KAAK,CAAC,iBAAiB,IAAI,6BAA6B,CAAC,CAAC;KACvE;AACL,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts deleted file mode 100644 index 6555ef2..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { Selector } from "css-what"; -import type { CompiledQuery, InternalOptions, CompileToken, Adapter } from "../types.js"; -/** Used as a placeholder for :has. Will be replaced with the actual element. */ -export declare const PLACEHOLDER_ELEMENT: {}; -export declare function ensureIsTag(next: CompiledQuery, adapter: Adapter): CompiledQuery; -export declare type Subselect = (next: CompiledQuery, subselect: Selector[][], options: InternalOptions, context: Node[] | undefined, compileToken: CompileToken) => CompiledQuery; -export declare function getNextSiblings(elem: Node, adapter: Adapter): ElementNode[]; -export declare const subselects: Record; -//# sourceMappingURL=subselects.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map deleted file mode 100644 index 9950c0c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"subselects.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/subselects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,KAAK,EACR,aAAa,EACb,eAAe,EACf,YAAY,EACZ,OAAO,EACV,MAAM,aAAa,CAAC;AAGrB,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,IAAK,CAAC;AAEtC,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACtD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GACpC,aAAa,CAAC,IAAI,CAAC,CAGrB;AAED,oBAAY,SAAS,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACnD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,SAAS,EAAE,QAAQ,EAAE,EAAE,EACvB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,EAC3B,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,WAAW,CAAC,KAC5C,aAAa,CAAC,WAAW,CAAC,CAAC;AAEhC,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAC1D,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GACpC,WAAW,EAAE,CAMf;AAiCD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAgEhD,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js deleted file mode 100644 index 25d7e8e..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +++ /dev/null @@ -1,94 +0,0 @@ -import boolbase from "boolbase"; -import { isTraversal } from "../sort.js"; -/** Used as a placeholder for :has. Will be replaced with the actual element. */ -export const PLACEHOLDER_ELEMENT = {}; -export function ensureIsTag(next, adapter) { - if (next === boolbase.falseFunc) - return boolbase.falseFunc; - return (elem) => adapter.isTag(elem) && next(elem); -} -export function getNextSiblings(elem, adapter) { - const siblings = adapter.getSiblings(elem); - if (siblings.length <= 1) - return []; - const elemIndex = siblings.indexOf(elem); - if (elemIndex < 0 || elemIndex === siblings.length - 1) - return []; - return siblings.slice(elemIndex + 1).filter(adapter.isTag); -} -function copyOptions(options) { - // Not copied: context, rootFunc - return { - xmlMode: !!options.xmlMode, - lowerCaseAttributeNames: !!options.lowerCaseAttributeNames, - lowerCaseTags: !!options.lowerCaseTags, - quirksMode: !!options.quirksMode, - cacheResults: !!options.cacheResults, - pseudos: options.pseudos, - adapter: options.adapter, - equals: options.equals, - }; -} -const is = (next, token, options, context, compileToken) => { - const func = compileToken(token, copyOptions(options), context); - return func === boolbase.trueFunc - ? next - : func === boolbase.falseFunc - ? boolbase.falseFunc - : (elem) => func(elem) && next(elem); -}; -/* - * :not, :has, :is, :matches and :where have to compile selectors - * doing this in src/pseudos.ts would lead to circular dependencies, - * so we add them here - */ -export const subselects = { - is, - /** - * `:matches` and `:where` are aliases for `:is`. - */ - matches: is, - where: is, - not(next, token, options, context, compileToken) { - const func = compileToken(token, copyOptions(options), context); - return func === boolbase.falseFunc - ? next - : func === boolbase.trueFunc - ? boolbase.falseFunc - : (elem) => !func(elem) && next(elem); - }, - has(next, subselect, options, _context, compileToken) { - const { adapter } = options; - const opts = copyOptions(options); - opts.relativeSelector = true; - const context = subselect.some((s) => s.some(isTraversal)) - ? // Used as a placeholder. Will be replaced with the actual element. - [PLACEHOLDER_ELEMENT] - : undefined; - const compiled = compileToken(subselect, opts, context); - if (compiled === boolbase.falseFunc) - return boolbase.falseFunc; - const hasElement = ensureIsTag(compiled, adapter); - // If `compiled` is `trueFunc`, we can skip this. - if (context && compiled !== boolbase.trueFunc) { - /* - * `shouldTestNextSiblings` will only be true if the query starts with - * a traversal (sibling or adjacent). That means we will always have a context. - */ - const { shouldTestNextSiblings = false } = compiled; - return (elem) => { - if (!next(elem)) - return false; - context[0] = elem; - const childs = adapter.getChildren(elem); - const nextElements = shouldTestNextSiblings - ? [...childs, ...getNextSiblings(elem, adapter)] - : childs; - return adapter.existsOne(hasElement, nextElements); - }; - } - return (elem) => next(elem) && - adapter.existsOne(hasElement, adapter.getChildren(elem)); - }, -}; -//# sourceMappingURL=subselects.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map deleted file mode 100644 index 39cdd6e..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"subselects.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/subselects.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAOhC,OAAO,EAAE,W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AAC,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;IACjE,CAAC;CACJ,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/sort.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/sort.d.ts deleted file mode 100644 index 93c996c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/sort.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { InternalSelector } from "./types.js"; -import { type Traversal } from "css-what"; -export declare function isTraversal(token: InternalSelector): token is Traversal; -/** - * Sort the parts of the passed selector, - * as there is potential for optimization - * (some types of selectors are faster than others) - * - * @param arr Selector to sort - */ -export default function sortByProcedure(arr: InternalSelector[]): void; -//# sourceMappingURL=sort.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/sort.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/sort.d.ts.map deleted file mode 100644 index 8e996f4..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/sort.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sort.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["sort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AASzE,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,KAAK,IAAI,SAAS,CAEvE;AAWD;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAerE"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/sort.js b/includes/external/addressbook/node_modules/css-select/lib/esm/sort.js deleted file mode 100644 index b3b3239..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/sort.js +++ /dev/null @@ -1,79 +0,0 @@ -import { AttributeAction, SelectorType } from "css-what"; -const procedure = new Map([ - [SelectorType.Universal, 50], - [SelectorType.Tag, 30], - [SelectorType.Attribute, 1], - [SelectorType.Pseudo, 0], -]); -export function isTraversal(token) { - return !procedure.has(token.type); -} -const attributes = new Map([ - [AttributeAction.Exists, 10], - [AttributeAction.Equals, 8], - [AttributeAction.Not, 7], - [AttributeAction.Start, 6], - [AttributeAction.End, 6], - [AttributeAction.Any, 5], -]); -/** - * Sort the parts of the passed selector, - * as there is potential for optimization - * (some types of selectors are faster than others) - * - * @param arr Selector to sort - */ -export default function sortByProcedure(arr) { - const procs = arr.map(getProcedure); - for (let i = 1; i < arr.length; i++) { - const procNew = procs[i]; - if (procNew < 0) - continue; - for (let j = i - 1; j >= 0 && procNew < procs[j]; j--) { - const token = arr[j + 1]; - arr[j + 1] = arr[j]; - arr[j] = token; - procs[j + 1] = procs[j]; - procs[j] = procNew; - } - } -} -function getProcedure(token) { - var _a, _b; - let proc = (_a = procedure.get(token.type)) !== null && _a !== void 0 ? _a : -1; - if (token.type === SelectorType.Attribute) { - proc = (_b = attributes.get(token.action)) !== null && _b !== void 0 ? _b : 4; - if (token.action === AttributeAction.Equals && token.name === "id") { - // Prefer ID selectors (eg. #ID) - proc = 9; - } - if (token.ignoreCase) { - /* - * IgnoreCase adds some overhead, prefer "normal" token - * this is a binary operation, to ensure it's still an int - */ - proc >>= 1; - } - } - else if (token.type === SelectorType.Pseudo) { - if (!token.data) { - proc = 3; - } - else if (token.name === "has" || token.name === "contains") { - proc = 0; // Expensive in any case - } - else if (Array.isArray(token.data)) { - // Eg. :matches, :not - proc = Math.min(...token.data.map((d) => Math.min(...d.map(getProcedure)))); - // If we have traversals, try to avoid executing this selector - if (proc < 0) { - proc = 0; - } - } - else { - proc = 2; - } - } - return proc; -} -//# sourceMappingURL=sort.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/sort.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/sort.js.map deleted file mode 100644 index 537c45c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/sort.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sort.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["sort.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAkB,MAAM,UAAU,CAAC;AAEzE,MAAM,SAAS,GAAG,IAAI,GAAG,CAAmC;IACxD,CAAC,YAAY,CAAC,SAAS,EAAE,EAAE,CAAC;IAC5B,CAAC,YAAY,CAAC,GAAG,EAAE,EAAE,CAAC;IACtB,CAAC,YAAY,CAAC,SAAS,EAAE,CAAC,CAAC;IAC3B,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,WAAW,CAAC,KAAuB;IAC/C,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,GAAG,IAAI,GAAG,CAA0B;IAChD,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC;IAC5B,CAAC,eAAe,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3B,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,CAAC;IACxB,CAAC,eAAe,CAAC,KAAK,EAAE,CAAC,CAAC;IAC1B,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,CAAC;IACxB,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,CAAC;CAC3B,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,GAAuB;IAC3D,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACpC,KAAK,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C,MAAM,EAAE;QAC3C,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;YACb,IAAI,GAAG,CAAC,CAAC;SACZ;aAAM,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,EAAE;YAC1D,IAAI,GAAG,CAAC,CAAC,CAAC,wBAAwB;SACrC;aAAM,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;YAClC,qBAAqB;YACrB,IAAI,GAAG,IAAI,CAAC,GAAG,CACX,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAC7D,CAAC;YAEF,8DAA8D;YAC9D,IAAI,IAAI,GAAG,CAAC,EAAE;gBACV,IAAI,GAAG,CAAC,CAAC;aACZ;SACJ;aAAM;YACH,IAAI,GAAG,CAAC,CAAC;SACZ;KACJ;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/types.d.ts b/includes/external/addressbook/node_modules/css-select/lib/esm/types.d.ts deleted file mode 100644 index 7a0cd8a..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/types.d.ts +++ /dev/null @@ -1,167 +0,0 @@ -import type { Selector } from "css-what"; -export declare type InternalSelector = Selector | { - type: "_flexibleDescendant"; -}; -export declare type Predicate = (v: Value) => boolean; -export interface Adapter { - /** - * Is the node a tag? - */ - isTag: (node: Node) => node is ElementNode; - /** - * Does at least one of passed element nodes pass the test predicate? - */ - existsOne: (test: Predicate, elems: Node[]) => boolean; - /** - * Get the attribute value. - */ - getAttributeValue: (elem: ElementNode, name: string) => string | undefined; - /** - * Get the node's children - */ - getChildren: (node: Node) => Node[]; - /** - * Get the name of the tag - */ - getName: (elem: ElementNode) => string; - /** - * Get the parent of the node - */ - getParent: (node: ElementNode) => Node | null; - /** - * Get the siblings of the node. Note that unlike jQuery's `siblings` method, - * this is expected to include the current node as well - */ - getSiblings: (node: Node) => Node[]; - /** - * Returns the previous element sibling of a node. - */ - prevElementSibling?: (node: Node) => ElementNode | null; - /** - * Get the text content of the node, and its children if it has any. - */ - getText: (node: Node) => string; - /** - * Does the element have the named attribute? - */ - hasAttrib: (elem: ElementNode, name: string) => boolean; - /** - * Takes an array of nodes, and removes any duplicates, as well as any - * nodes whose ancestors are also in the array. - */ - removeSubsets: (nodes: Node[]) => Node[]; - /** - * Finds all of the element nodes in the array that match the test predicate, - * as well as any of their children that match it. - */ - findAll: (test: Predicate, nodes: Node[]) => ElementNode[]; - /** - * Finds the first node in the array that matches the test predicate, or one - * of its children. - */ - findOne: (test: Predicate, elems: Node[]) => ElementNode | null; - /** - * The adapter can also optionally include an equals method, if your DOM - * structure needs a custom equality test to compare two objects which refer - * to the same underlying node. If not provided, `css-select` will fall back to - * `a === b`. - */ - equals?: (a: Node, b: Node) => boolean; - /** - * Is the element in hovered state? - */ - isHovered?: (elem: ElementNode) => boolean; - /** - * Is the element in visited state? - */ - isVisited?: (elem: ElementNode) => boolean; - /** - * Is the element in active state? - */ - isActive?: (elem: ElementNode) => boolean; -} -export interface Options { - /** - * When enabled, tag names will be case-sensitive. - * - * @default false - */ - xmlMode?: boolean; - /** - * Lower-case attribute names. - * - * @default !xmlMode - */ - lowerCaseAttributeNames?: boolean; - /** - * Lower-case tag names. - * - * @default !xmlMode - */ - lowerCaseTags?: boolean; - /** - * Is the document in quirks mode? - * - * This will lead to .className and #id being case-insensitive. - * - * @default false - */ - quirksMode?: boolean; - /** - * Pseudo-classes that override the default ones. - * - * Maps from names to either strings of functions. - * - A string value is a selector that the element must match to be selected. - * - A function is called with the element as its first argument, and optional - * parameters second. If it returns true, the element is selected. - */ - pseudos?: Record boolean)> | undefined; - /** - * The last function in the stack, will be called with the last element - * that's looked at. - */ - rootFunc?: (element: ElementNode) => boolean; - /** - * The adapter to use when interacting with the backing DOM structure. By - * default it uses the `domutils` module. - */ - adapter?: Adapter; - /** - * The context of the current query. Used to limit the scope of searches. - * Can be matched directly using the `:scope` pseudo-class. - */ - context?: Node | Node[]; - /** - * Indicates whether to consider the selector as a relative selector. - * - * Relative selectors that don't include a `:scope` pseudo-class behave - * as if they have a `:scope ` prefix (a `:scope` pseudo-class, followed by - * a descendant selector). - * - * If relative selectors are disabled, selectors starting with a traversal - * will lead to an error. - * - * @default true - * @see {@link https://www.w3.org/TR/selectors-4/#relative} - */ - relativeSelector?: boolean; - /** - * Allow css-select to cache results for some selectors, sometimes greatly - * improving querying performance. Disable this if your document can - * change in between queries with the same compiled selector. - * - * @default true - */ - cacheResults?: boolean; -} -export interface InternalOptions extends Options { - adapter: Adapter; - equals: (a: Node, b: Node) => boolean; -} -export interface CompiledQuery { - (node: ElementNode): boolean; - shouldTestNextSiblings?: boolean; -} -export declare type Query = string | CompiledQuery | Selector[][]; -export declare type CompileToken = (token: InternalSelector[][], options: InternalOptions, context?: Node[] | Node) => CompiledQuery; -//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/types.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/esm/types.d.ts.map deleted file mode 100644 index d14b18f..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,oBAAY,gBAAgB,GAAG,QAAQ,GAAG;IAAE,IAAI,EAAE,qBAAqB,CAAA;CAAE,CAAC;AAE1E,oBAAY,SAAS,CAAC,KAAK,IAAI,CAAC,CAAC,EAAE,KAAK,KAAK,OA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AAC;CAC1B;AAGD,MAAM,WAAW,eAAe,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,CAC3D,SAAQ,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IACpC,MAAM,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,KAAK,OAAO,CAAC;CACzC;AAED,MAAM,WAAW,aAAa,CAAC,WAAW;IACtC,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACpC;AACD,oBAAY,KAAK,CAAC,WAAW,IACvB,MAAM,GACN,aAAa,CAAC,WAAW,CAAC,GAC1B,QAAQ,EAAE,EAAE,CAAC;AACnB,oBAAY,YAAY,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,IAAI,CACvD,KAAK,EAAE,gBAAgB,EAAE,EAAE,EAC3B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,KACtB,aAAa,CAAC,WAAW,CAAC,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/types.js b/includes/external/addressbook/node_modules/css-select/lib/esm/types.js deleted file mode 100644 index 718fd38..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/types.js +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/esm/types.js.map b/includes/external/addressbook/node_modules/css-select/lib/esm/types.js.map deleted file mode 100644 index d1bde2f..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/esm/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["types.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/general.d.ts b/includes/external/addressbook/node_modules/css-select/lib/general.d.ts deleted file mode 100644 index 2baa1f3..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/general.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { CompiledQuery, InternalOptions, InternalSelector, CompileToken } from "./types.js"; -export declare function compileGeneralSelector(next: CompiledQuery, selector: InternalSelector, options: InternalOptions, context: Node[] | undefined, compileToken: CompileToken): CompiledQuery; -//# sourceMappingURL=general.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/general.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/general.d.ts.map deleted file mode 100644 index 82c8d6d..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/general.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"general.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["general.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAER,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,YAAY,EACf,MAAM,YAAY,CAAC;AAkBpB,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACjE,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,EAC3B,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,WAAW,CAAC,GAC9C,aAAa,CAAC,WAAW,CAAC,CAiK5B"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/general.js b/includes/external/addressbook/node_modules/css-select/lib/general.js deleted file mode 100644 index 5c06800..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/general.js +++ /dev/null @@ -1,148 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compileGeneralSelector = void 0; -var attributes_js_1 = require("./attributes.js"); -var index_js_1 = require("./pseudo-selectors/index.js"); -var css_what_1 = require("css-what"); -function getElementParent(node, adapter) { - var parent = adapter.getParent(node); - if (parent && adapter.isTag(parent)) { - return parent; - } - return null; -} -/* - * All available rules - */ -function compileGeneralSelector(next, selector, options, context, compileToken) { - var adapter = options.adapter, equals = options.equals; - switch (selector.type) { - case css_what_1.SelectorType.PseudoElement: { - throw new Error("Pseudo-elements are not supported by css-select"); - } - case css_what_1.SelectorType.ColumnCombinator: { - throw new Error("Column combinators are not yet supported by css-select"); - } - case css_what_1.SelectorType.Attribute: { - if (selector.namespace != null) { - throw new Error("Namespaced attributes are not yet supported by css-select"); - } - if (!options.xmlMode || options.lowerCaseAttributeNames) { - selector.name = selector.name.toLowerCase(); - } - return attributes_js_1.attributeRules[selector.action](next, selector, options); - } - case css_what_1.SelectorType.Pseudo: { - return (0, index_js_1.compilePseudoSelector)(next, selector, options, context, compileToken); - } - // Tags - case css_what_1.SelectorType.Tag: { - if (selector.namespace != null) { - throw new Error("Namespaced tag names are not yet supported by css-select"); - } - var name_1 = selector.name; - if (!options.xmlMode || options.lowerCaseTags) { - name_1 = name_1.toLowerCase(); - } - return function tag(elem) { - return adapter.getName(elem) === name_1 && next(elem); - }; - } - // Traversal - case css_what_1.SelectorType.Descendant: { - if (options.cacheResults === false || - typeof WeakSet === "undefined") { - return function descendant(elem) { - var current = elem; - while ((current = getElementParent(current, adapter))) { - if (next(current)) { - return true; - } - } - return false; - }; - } - // @ts-expect-error `ElementNode` is not extending object - var isFalseCache_1 = new WeakSet(); - return function cachedDescendant(elem) { - var current = elem; - while ((current = getElementParent(current, adapter))) { - if (!isFalseCache_1.has(current)) { - if (adapter.isTag(current) && next(current)) { - return true; - } - isFalseCache_1.add(current); - } - } - return false; - }; - } - case "_flexibleDescendant": { - // Include element itself, only used while querying an array - return function flexibleDescendant(elem) { - var current = elem; - do { - if (next(current)) - return true; - } while ((current = getElementParent(current, adapter))); - return false; - }; - } - case css_what_1.SelectorType.Parent: { - return function parent(elem) { - return adapter - .getChildren(elem) - .some(function (elem) { return adapter.isTag(elem) && next(elem); }); - }; - } - case css_what_1.SelectorType.Child: { - return function child(elem) { - var parent = adapter.getParent(elem); - return parent != null && adapter.isTag(parent) && next(parent); - }; - } - case css_what_1.SelectorType.Sibling: { - return function sibling(elem) { - var siblings = adapter.getSiblings(elem); - for (var i = 0; i < siblings.length; i++) { - var currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - break; - if (adapter.isTag(currentSibling) && next(currentSibling)) { - return true; - } - } - return false; - }; - } - case css_what_1.SelectorType.Adjacent: { - if (adapter.prevElementSibling) { - return function adjacent(elem) { - var previous = adapter.prevElementSibling(elem); - return previous != null && next(previous); - }; - } - return function adjacent(elem) { - var siblings = adapter.getSiblings(elem); - var lastElement; - for (var i = 0; i < siblings.length; i++) { - var currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - break; - if (adapter.isTag(currentSibling)) { - lastElement = currentSibling; - } - } - return !!lastElement && next(lastElement); - }; - } - case css_what_1.SelectorType.Universal: { - if (selector.namespace != null && selector.namespace !== "*") { - throw new Error("Namespaced universal selectors are not yet supported by css-select"); - } - return next; - } - } -} -exports.compileGeneralSelector = compileGeneralSelector; -//# sourceMappingURL=general.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/general.js.map b/includes/external/addressbook/node_modules/css-select/lib/general.js.map deleted file mode 100644 index 0832b74..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/general.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"general.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["general.ts"],"names":[],"mappings":";;;AAAA,iDAAiD;AACjD,wDAAoE;AAQpE,qC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C,SAAS,CAAC,CAAC;YACzB,IAAI,QAAQ,CAAC,SAAS,IAAI,IAAI,IAAI,QAAQ,CAAC,SAAS,KAAK,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CACX,oEAAoE,CACvE,CAAC;aACL;YAED,OAAO,IAAI,CAAC;SACf;KACJ;AACL,CAAC;AAvKD,wDAuKC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/index.d.ts b/includes/external/addressbook/node_modules/css-select/lib/index.d.ts deleted file mode 100644 index 0911372..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/index.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import type { CompiledQuery, Options, Query, Adapter } from "./types.js"; -export type { Options }; -/** - * Compiles the query, returns a function. - */ -export declare const compile: (selector: string | import("css-what").Selector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; -export declare const _compileUnsafe: (selector: string | import("css-what").Selector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; -export declare const _compileToken: (selector: import("./types.js").InternalSelector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; -export declare function prepareContext(elems: Node | Node[], adapter: Adapter, shouldTestNextSiblings?: boolean): Node[]; -/** - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elems Elements to query. If it is an element, its children will be queried.. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns All matching elements. - * - */ -export declare const selectAll: (query: Query, elements: Node | Node[], options?: Options | undefined) => ElementNode[]; -/** - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elems Elements to query. If it is an element, its children will be queried.. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns the first match, or null if there was no match. - */ -export declare const selectOne: (query: Query, elements: Node | Node[], options?: Options | undefined) => ElementNode | null; -/** - * Tests whether or not an element is matched by query. - * - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elem The element to test if it matches the query. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns - */ -export declare function is(elem: ElementNode, query: Query, options?: Options): boolean; -/** - * Alias for selectAll(query, elems, options). - * @see [compile] for supported selector queries. - */ -export default selectAll; -/** @deprecated Use the `pseudos` option instead. */ -export { filters, pseudos, aliases } from "./pseudo-selectors/index.js"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/index.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/index.d.ts.map deleted file mode 100644 index 120c4fe..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["index.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACR,aAAa,EACb,OAAO,EAEP,KAAK,EACL,OAAO,EAEV,MAAM,YAAY,CAAC;AAGpB,YAAY,EAAE,OAAO,EAAE,CAAC;AA0CxB;;GAEG;AACH,eAAO,MAAM,OAAO,oMAA0B,CAAC;AAC/C,eAAO,MAAM,cAAc,2MAA6B,CAAC;AACzD,eAAO,MAAM,aAAa,4MAA4B,CAAC;AA6BvD,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACzD,KAAK,EAAE,IAAI,GAAG,IAAI,EAAE,EACpB,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,EACnC,sBAAsB,UAAQ,GAC/B,IAAI,EAAE,CAYR;AAiBD;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,yJASrB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,8JASrB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,EAAE,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAC7C,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,EACzB,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GACrC,OAAO,CAKT;AAED;;;GAGG;AACH,eAAe,SAAS,CAAC;AAGzB,oDAAoD;AACpD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/index.js b/includes/external/addressbook/node_modules/css-select/lib/index.js deleted file mode 100644 index 0dc6da0..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/index.js +++ /dev/null @@ -1,154 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.aliases = exports.pseudos = exports.filters = exports.is = exports.selectOne = exports.selectAll = exports.prepareContext = exports._compileToken = exports._compileUnsafe = exports.compile = void 0; -var DomUtils = __importStar(require("domutils")); -var boolbase_1 = __importDefault(require("boolbase")); -var compile_js_1 = require("./compile.js"); -var subselects_js_1 = require("./pseudo-selectors/subselects.js"); -var defaultEquals = function (a, b) { return a === b; }; -var defaultOptions = { - adapter: DomUtils, - equals: defaultEquals, -}; -function convertOptionFormats(options) { - var _a, _b, _c, _d; - /* - * We force one format of options to the other one. - */ - // @ts-expect-error Default options may have incompatible `Node` / `ElementNode`. - var opts = options !== null && options !== void 0 ? options : defaultOptions; - // @ts-expect-error Same as above. - (_a = opts.adapter) !== null && _a !== void 0 ? _a : (opts.adapter = DomUtils); - // @ts-expect-error `equals` does not exist on `Options` - (_b = opts.equals) !== null && _b !== void 0 ? _b : (opts.equals = (_d = (_c = opts.adapter) === null || _c === void 0 ? void 0 : _c.equals) !== null && _d !== void 0 ? _d : defaultEquals); - return opts; -} -function wrapCompile(func) { - return function addAdapter(selector, options, context) { - var opts = convertOptionFormats(options); - return func(selector, opts, context); - }; -} -/** - * Compiles the query, returns a function. - */ -exports.compile = wrapCompile(compile_js_1.compile); -exports._compileUnsafe = wrapCompile(compile_js_1.compileUnsafe); -exports._compileToken = wrapCompile(compile_js_1.compileToken); -function getSelectorFunc(searchFunc) { - return function select(query, elements, options) { - var opts = convertOptionFormats(options); - if (typeof query !== "function") { - query = (0, compile_js_1.compileUnsafe)(query, opts, elements); - } - var filteredElements = prepareContext(elements, opts.adapter, query.shouldTestNextSiblings); - return searchFunc(query, filteredElements, opts); - }; -} -function prepareContext(elems, adapter, shouldTestNextSiblings) { - if (shouldTestNextSiblings === void 0) { shouldTestNextSiblings = false; } - /* - * Add siblings if the query requires them. - * See https://github.com/fb55/css-select/pull/43#issuecomment-225414692 - */ - if (shouldTestNextSiblings) { - elems = appendNextSiblings(elems, adapter); - } - return Array.isArray(elems) - ? adapter.removeSubsets(elems) - : adapter.getChildren(elems); -} -exports.prepareContext = prepareContext; -function appendNextSiblings(elem, adapter) { - // Order matters because jQuery seems to check the children before the siblings - var elems = Array.isArray(elem) ? elem.slice(0) : [elem]; - var elemsLength = elems.length; - for (var i = 0; i < elemsLength; i++) { - var nextSiblings = (0, subselects_js_1.getNextSiblings)(elems[i], adapter); - elems.push.apply(elems, nextSiblings); - } - return elems; -} -/** - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elems Elements to query. If it is an element, its children will be queried.. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns All matching elements. - * - */ -exports.selectAll = getSelectorFunc(function (query, elems, options) { - return query === boolbase_1.default.falseFunc || !elems || elems.length === 0 - ? [] - : options.adapter.findAll(query, elems); -}); -/** - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elems Elements to query. If it is an element, its children will be queried.. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns the first match, or null if there was no match. - */ -exports.selectOne = getSelectorFunc(function (query, elems, options) { - return query === boolbase_1.default.falseFunc || !elems || elems.length === 0 - ? null - : options.adapter.findOne(query, elems); -}); -/** - * Tests whether or not an element is matched by query. - * - * @template Node The generic Node type for the DOM adapter being used. - * @template ElementNode The Node type for elements for the DOM adapter being used. - * @param elem The element to test if it matches the query. - * @param query can be either a CSS selector string or a compiled query function. - * @param [options] options for querying the document. - * @see compile for supported selector queries. - * @returns - */ -function is(elem, query, options) { - var opts = convertOptionFormats(options); - return (typeof query === "function" ? query : (0, compile_js_1.compile)(query, opts))(elem); -} -exports.is = is; -/** - * Alias for selectAll(query, elems, options). - * @see [compile] for supported selector queries. - */ -exports.default = exports.selectAll; -// Export filters, pseudos and aliases to allow users to supply their own. -/** @deprecated Use the `pseudos` option instead. */ -var index_js_1 = require("./pseudo-selectors/index.js"); -Object.defineProperty(exports, "filters", { enumerable: true, get: function () { return index_js_1.filters; } }); -Object.defineProperty(exports, "pseudos", { enumerable: true, get: function () { return index_js_1.pseudos; } }); -Object.defineProperty(exports, "aliases", { enumerable: true, get: function () { return index_js_1.aliases; } }); -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/index.js.map b/includes/external/addressbook/node_modules/css-select/lib/index.js.map deleted file mode 100644 index c44e856..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAqC;AACrC,sDAAgC;AAKhC,2CAIsB;AAStB,kEAAmE;AAInE,IAAM,aAAa,GAAG,UAAO,CAAO,EAAE,CAAO,IAAK,OAAA,CAAC,KAAK,CAAC,EAAP,CAAO,CAAC;AAC1D,IAAM,cAAc,GAAuD;IACvE,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,aAAa;CACxB,CAAC;AAEF,SAAS,oBAAoB,CACzB,OAAoC;;IAEpC;;OAEG;IACH,iFAAiF;IACjF,IAAM,IAAI,GAA+B,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,cAAc,CAAC;IACnE,kCAAkC;IAClC,MAAA,IAAI,CAAC,OAAO,oCAAZ,IAAI,CAAC,OAAO,GAAK,QAAQ,EAAC;IAC1B,wDAAwD;IACxD,MAAA,IAAI,CAAC,MAAM,oCAAX,IAAI,CAAC,MAAM,GAAK,MAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,MAAM,mCAAI,aAAa,EAAC;IAEtD,OAAO,IAA0C,CAAC;AACtD,CAAC;AAED,SAAS,WAAW,CAChB,IAIqB;IAErB,OAAO,SAAS,UAAU,CACtB,QAAkB,EAClB,OAAoC,EACpC,OAAuB;QAEvB,IAAM,IAAI,GAAG,oBAAoB,CAA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,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC3C,OAAO,CAAC,OAAO,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAA,oBAAU,EAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAClE,IAAI,CACP,CAAC;AACN,CAAC;AATD,gBASC;AAED;;;GAGG;AACH,kBAAe,iBAAS,CAAC;AAEzB,0EAA0E;AAC1E,oDAAoD;AACpD,wDAAwE;AAA/D,mGAAA,OAAO,OAAA;AAAE,mGAAA,OAAO,OAAA;AAAE,mGAAA,OAAO,OAAA"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts deleted file mode 100644 index 1bcb31a..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Aliases are pseudos that are expressed as selectors. - */ -export declare const aliases: Record; -//# sourceMappingURL=aliases.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map deleted file mode 100644 index 37c9e8c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"aliases.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/aliases.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwC1C,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js deleted file mode 100644 index c259889..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.aliases = void 0; -/** - * Aliases are pseudos that are expressed as selectors. - */ -exports.aliases = { - // Links - "any-link": ":is(a, area, link)[href]", - link: ":any-link:not(:visited)", - // Forms - // https://html.spec.whatwg.org/multipage/scripting.html#disabled-elements - disabled: ":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )", - enabled: ":not(:disabled)", - checked: ":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)", - required: ":is(input, select, textarea)[required]", - optional: ":is(input, select, textarea):not([required])", - // JQuery extensions - // https://html.spec.whatwg.org/multipage/form-elements.html#concept-option-selectedness - selected: "option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)", - checkbox: "[type=checkbox]", - file: "[type=file]", - password: "[type=password]", - radio: "[type=radio]", - reset: "[type=reset]", - image: "[type=image]", - submit: "[type=submit]", - parent: ":not(:empty)", - header: ":is(h1, h2, h3, h4, h5, h6)", - button: ":is(button, input[type=button])", - input: ":is(input, textarea, select, button)", - text: "input:is(:not([type!='']), [type=text])", -}; -//# sourceMappingURL=aliases.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js.map deleted file mode 100644 index 6a82f97..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"aliases.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/aliases.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,OAAO,GAA2B;IAC3C,QAAQ;IAER,UAAU,EAAE,0BAA0B;IACtC,IAAI,EAAE,yBAAyB;IAE/B,QAAQ;IAER,0EAA0E;IAC1E,QAAQ,EAAE,yMAIR;IACF,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EACH,6EAA6E;IACjF,QAAQ,EAAE,wCAAwC;IAClD,QAAQ,EAAE,8CAA8C;IAExD,oBAAoB;IAEpB,wFAAwF;IACxF,QAAQ,EACJ,8FAA8F;IAElG,QAAQ,EAAE,iBAAiB;IAC3B,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,iBAAiB;IAC3B,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,eAAe;IAEvB,MAAM,EAAE,cAAc;IACtB,MAAM,EAAE,6BAA6B;IAErC,MAAM,EAAE,iCAAiC;IACzC,KAAK,EAAE,sCAAsC;IAC7C,IAAI,EAAE,yCAAyC;CAClD,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts deleted file mode 100644 index a75d063..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { CompiledQuery, InternalOptions } from "../types.js"; -export declare type Filter = (next: CompiledQuery, text: string, options: InternalOptions, context?: Node[]) => CompiledQuery; -export declare const filters: Record; -//# sourceMappingURL=filters.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map deleted file mode 100644 index 86f1cef..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"filters.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/filters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAW,MAAM,aAAa,CAAC;AAE3E,oBAAY,MAAM,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,KACf,aAAa,CAAC,WAAW,CAAC,CAAC;AAYhC,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2I1C,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js deleted file mode 100644 index 981ec2f..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js +++ /dev/null @@ -1,157 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.filters = void 0; -var nth_check_1 = __importDefault(require("nth-check")); -var boolbase_1 = __importDefault(require("boolbase")); -function getChildFunc(next, adapter) { - return function (elem) { - var parent = adapter.getParent(elem); - return parent != null && adapter.isTag(parent) && next(elem); - }; -} -exports.filters = { - contains: function (next, text, _a) { - var adapter = _a.adapter; - return function contains(elem) { - return next(elem) && adapter.getText(elem).includes(text); - }; - }, - icontains: function (next, text, _a) { - var adapter = _a.adapter; - var itext = text.toLowerCase(); - return function icontains(elem) { - return (next(elem) && - adapter.getText(elem).toLowerCase().includes(itext)); - }; - }, - // Location specific methods - "nth-child": function (next, rule, _a) { - var adapter = _a.adapter, equals = _a.equals; - var func = (0, nth_check_1.default)(rule); - if (func === boolbase_1.default.falseFunc) - return boolbase_1.default.falseFunc; - if (func === boolbase_1.default.trueFunc) - return getChildFunc(next, adapter); - return function nthChild(elem) { - var siblings = adapter.getSiblings(elem); - var pos = 0; - for (var i = 0; i < siblings.length; i++) { - if (equals(elem, siblings[i])) - break; - if (adapter.isTag(siblings[i])) { - pos++; - } - } - return func(pos) && next(elem); - }; - }, - "nth-last-child": function (next, rule, _a) { - var adapter = _a.adapter, equals = _a.equals; - var func = (0, nth_check_1.default)(rule); - if (func === boolbase_1.default.falseFunc) - return boolbase_1.default.falseFunc; - if (func === boolbase_1.default.trueFunc) - return getChildFunc(next, adapter); - return function nthLastChild(elem) { - var siblings = adapter.getSiblings(elem); - var pos = 0; - for (var i = siblings.length - 1; i >= 0; i--) { - if (equals(elem, siblings[i])) - break; - if (adapter.isTag(siblings[i])) { - pos++; - } - } - return func(pos) && next(elem); - }; - }, - "nth-of-type": function (next, rule, _a) { - var adapter = _a.adapter, equals = _a.equals; - var func = (0, nth_check_1.default)(rule); - if (func === boolbase_1.default.falseFunc) - return boolbase_1.default.falseFunc; - if (func === boolbase_1.default.trueFunc) - return getChildFunc(next, adapter); - return function nthOfType(elem) { - var siblings = adapter.getSiblings(elem); - var pos = 0; - for (var i = 0; i < siblings.length; i++) { - var currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - break; - if (adapter.isTag(currentSibling) && - adapter.getName(currentSibling) === adapter.getName(elem)) { - pos++; - } - } - return func(pos) && next(elem); - }; - }, - "nth-last-of-type": function (next, rule, _a) { - var adapter = _a.adapter, equals = _a.equals; - var func = (0, nth_check_1.default)(rule); - if (func === boolbase_1.default.falseFunc) - return boolbase_1.default.falseFunc; - if (func === boolbase_1.default.trueFunc) - return getChildFunc(next, adapter); - return function nthLastOfType(elem) { - var siblings = adapter.getSiblings(elem); - var pos = 0; - for (var i = siblings.length - 1; i >= 0; i--) { - var currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - break; - if (adapter.isTag(currentSibling) && - adapter.getName(currentSibling) === adapter.getName(elem)) { - pos++; - } - } - return func(pos) && next(elem); - }; - }, - // TODO determine the actual root element - root: function (next, _rule, _a) { - var adapter = _a.adapter; - return function (elem) { - var parent = adapter.getParent(elem); - return (parent == null || !adapter.isTag(parent)) && next(elem); - }; - }, - scope: function (next, rule, options, context) { - var equals = options.equals; - if (!context || context.length === 0) { - // Equivalent to :root - return exports.filters["root"](next, rule, options); - } - if (context.length === 1) { - // NOTE: can't be unpacked, as :has uses this for side-effects - return function (elem) { return equals(context[0], elem) && next(elem); }; - } - return function (elem) { return context.includes(elem) && next(elem); }; - }, - hover: dynamicStatePseudo("isHovered"), - visited: dynamicStatePseudo("isVisited"), - active: dynamicStatePseudo("isActive"), -}; -/** - * Dynamic state pseudos. These depend on optional Adapter methods. - * - * @param name The name of the adapter method to call. - * @returns Pseudo for the `filters` object. - */ -function dynamicStatePseudo(name) { - return function dynamicPseudo(next, _rule, _a) { - var adapter = _a.adapter; - var func = adapter[name]; - if (typeof func !== "function") { - return boolbase_1.default.falseFunc; - } - return function active(elem) { - return func(elem) && next(elem); - }; - }; -} -//# sourceMappingURL=filters.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js.map deleted file mode 100644 index 5ce5696..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/filters.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"filters.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/filters.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAkC;AAClC,sDAAgC;AAUhC,SAAS,YAAY,CACjB,IAAgC,EAChC,OAAmC;IAEnC,OAAO,UAAC,IAAI;QACR,IAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,C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AAC,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YAClC,sBAAsB;YACtB,OAAO,eAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;SAC/C;QAED,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YACtB,8DAA8D;YAC9D,OAAO,UAAC,IAAI,IAAK,OAAA,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,EAAtC,CAAsC,CAAC;SAC3D;QAED,OAAO,UAAC,IAAI,IAAK,OAAA,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,EAApC,CAAoC,CAAC;IAC1D,CAAC;IAED,KAAK,EAAE,kBAAkB,CAAC,WAAW,CAAC;IACtC,OAAO,EAAE,kBAAkB,CAAC,WAAW,CAAC;IACxC,MAAM,EAAE,kBAAkB,CAAC,UAAU,CAAC;CACzC,CAAC;AAEF;;;;;GAKG;AACH,SAAS,kBAAkB,CACvB,IAA4C;IAE5C,OAAO,SAAS,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE,EAAW;YAAT,OAAO,aAAA;QAChD,IAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;QAE3B,IAAI,OAAO,IAAI,KAAK,UAAU,EAAE;YAC5B,OAAO,kBAAQ,CAAC,SAAS,CAAC;SAC7B;QAED,OAAO,SAAS,MAAM,CAAC,IAAI;YACvB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC,CAAC;IACN,CAAC,CAAC;AACN,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts deleted file mode 100644 index 2c41913..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { CompiledQuery, InternalOptions, CompileToken } from "../types.js"; -import { PseudoSelector } from "css-what"; -import { filters } from "./filters.js"; -import { pseudos } from "./pseudos.js"; -import { aliases } from "./aliases.js"; -export { filters, pseudos, aliases }; -export declare function compilePseudoSelector(next: CompiledQuery, selector: PseudoSelector, options: InternalOptions, context: Node[] | undefined, compileToken: CompileToken): CompiledQuery; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map deleted file mode 100644 index ba14097..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/index.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAS,cAAc,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAoB,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAErC,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChE,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,EAC3B,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,WAAW,CAAC,GAC9C,aAAa,CAAC,WAAW,CAAC,CA4C5B"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js deleted file mode 100644 index 2536786..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js +++ /dev/null @@ -1,46 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.compilePseudoSelector = exports.aliases = exports.pseudos = exports.filters = void 0; -var css_what_1 = require("css-what"); -var filters_js_1 = require("./filters.js"); -Object.defineProperty(exports, "filters", { enumerable: true, get: function () { return filters_js_1.filters; } }); -var pseudos_js_1 = require("./pseudos.js"); -Object.defineProperty(exports, "pseudos", { enumerable: true, get: function () { return pseudos_js_1.pseudos; } }); -var aliases_js_1 = require("./aliases.js"); -Object.defineProperty(exports, "aliases", { enumerable: true, get: function () { return aliases_js_1.aliases; } }); -var subselects_js_1 = require("./subselects.js"); -function compilePseudoSelector(next, selector, options, context, compileToken) { - var _a; - var name = selector.name, data = selector.data; - if (Array.isArray(data)) { - if (!(name in subselects_js_1.subselects)) { - throw new Error("Unknown pseudo-class :".concat(name, "(").concat(data, ")")); - } - return subselects_js_1.subselects[name](next, data, options, context, compileToken); - } - var userPseudo = (_a = options.pseudos) === null || _a === void 0 ? void 0 : _a[name]; - var stringPseudo = typeof userPseudo === "string" ? userPseudo : aliases_js_1.aliases[name]; - if (typeof stringPseudo === "string") { - if (data != null) { - throw new Error("Pseudo ".concat(name, " doesn't have any arguments")); - } - // The alias has to be parsed here, to make sure options are respected. - var alias = (0, css_what_1.parse)(stringPseudo); - return subselects_js_1.subselects["is"](next, alias, options, context, compileToken); - } - if (typeof userPseudo === "function") { - (0, pseudos_js_1.verifyPseudoArgs)(userPseudo, name, data, 1); - return function (elem) { return userPseudo(elem, data) && next(elem); }; - } - if (name in filters_js_1.filters) { - return filters_js_1.filters[name](next, data, options, context); - } - if (name in pseudos_js_1.pseudos) { - var pseudo_1 = pseudos_js_1.pseudos[name]; - (0, pseudos_js_1.verifyPseudoArgs)(pseudo_1, name, data, 2); - return function (elem) { return pseudo_1(elem, options, data) && next(elem); }; - } - throw new Error("Unknown pseudo-class :".concat(name)); -} -exports.compilePseudoSelector = compilePseudoSelector; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js.map deleted file mode 100644 index 93f6fc8..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/index.ts"],"names":[],"mappings":";;;AAeA,qCAAiD;AACjD,2CAAuC;AAK9B,wFALA,oBAAO,OAKA;AAJhB,2CAAyD;AAIvC,wFAJT,oBAAO,OAIS;AAHzB,2CAAuC;AAGZ,wFAHlB,oBAAO,OAGkB;AAFlC,iDAA6C;AAI7C,SAAgB,qBAAqB,CACjC,IAAgC,EAChC,QAAwB,EACxB,OAA2C,EAC3C,OAA2B,EAC3B,YAA6C;;IAErC,IAAA,IAAI,GAAW,QAAQ,KAAnB,EAAE,IAAI,GAAK,QAAQ,KAAb,CAAc;IAEhC,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACrB,IAAI,CAAC,CAAC,IAAI,IAAI,0BAAU,CAAC,EAAE;YACvB,MAAM,IAAI,KAAK,CAAC,gCAAyB,IAAI,cAAI,IAAI,MAAG,CAAC,CAAC;SAC7D;QAED,OAAO,0BAAU,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC;K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AAC;KAC9D;IAED,MAAM,IAAI,KAAK,CAAC,gCAAyB,IAAI,CAAE,CAAC,CAAC;AACrD,CAAC;AAlDD,sDAkDC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts deleted file mode 100644 index cfcf8d6..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { PseudoSelector } from "css-what"; -import type { InternalOptions } from "../types.js"; -export declare type Pseudo = (elem: ElementNode, options: InternalOptions, subselect?: string | null) => boolean; -export declare const pseudos: Record; -export declare function verifyPseudoArgs>(func: (...args: T) => boolean, name: string, subselect: PseudoSelector["data"], argIndex: number): void; -//# sourceMappingURL=pseudos.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map deleted file mode 100644 index b2d1137..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pseudos.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/pseudos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,oBAAY,MAAM,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAChD,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,KACxB,OAAO,CAAC;AAGb,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkF1C,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,KAAK,CAAC,OAAO,CAAC,EACrD,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,EAC7B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,cAAc,CAAC,MAAM,CAAC,EACjC,QAAQ,EAAE,MAAM,GACjB,IAAI,CAQN"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js deleted file mode 100644 index 050ac7f..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js +++ /dev/null @@ -1,93 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.verifyPseudoArgs = exports.pseudos = void 0; -// While filters are precompiled, pseudos get called when they are needed -exports.pseudos = { - empty: function (elem, _a) { - var adapter = _a.adapter; - return !adapter.getChildren(elem).some(function (elem) { - // FIXME: `getText` call is potentially expensive. - return adapter.isTag(elem) || adapter.getText(elem) !== ""; - }); - }, - "first-child": function (elem, _a) { - var adapter = _a.adapter, equals = _a.equals; - if (adapter.prevElementSibling) { - return adapter.prevElementSibling(elem) == null; - } - var firstChild = adapter - .getSiblings(elem) - .find(function (elem) { return adapter.isTag(elem); }); - return firstChild != null && equals(elem, firstChild); - }, - "last-child": function (elem, _a) { - var adapter = _a.adapter, equals = _a.equals; - var siblings = adapter.getSiblings(elem); - for (var i = siblings.length - 1; i >= 0; i--) { - if (equals(elem, siblings[i])) - return true; - if (adapter.isTag(siblings[i])) - break; - } - return false; - }, - "first-of-type": function (elem, _a) { - var adapter = _a.adapter, equals = _a.equals; - var siblings = adapter.getSiblings(elem); - var elemName = adapter.getName(elem); - for (var i = 0; i < siblings.length; i++) { - var currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - return true; - if (adapter.isTag(currentSibling) && - adapter.getName(currentSibling) === elemName) { - break; - } - } - return false; - }, - "last-of-type": function (elem, _a) { - var adapter = _a.adapter, equals = _a.equals; - var siblings = adapter.getSiblings(elem); - var elemName = adapter.getName(elem); - for (var i = siblings.length - 1; i >= 0; i--) { - var currentSibling = siblings[i]; - if (equals(elem, currentSibling)) - return true; - if (adapter.isTag(currentSibling) && - adapter.getName(currentSibling) === elemName) { - break; - } - } - return false; - }, - "only-of-type": function (elem, _a) { - var adapter = _a.adapter, equals = _a.equals; - var elemName = adapter.getName(elem); - return adapter - .getSiblings(elem) - .every(function (sibling) { - return equals(elem, sibling) || - !adapter.isTag(sibling) || - adapter.getName(sibling) !== elemName; - }); - }, - "only-child": function (elem, _a) { - var adapter = _a.adapter, equals = _a.equals; - return adapter - .getSiblings(elem) - .every(function (sibling) { return equals(elem, sibling) || !adapter.isTag(sibling); }); - }, -}; -function verifyPseudoArgs(func, name, subselect, argIndex) { - if (subselect === null) { - if (func.length > argIndex) { - throw new Error("Pseudo-class :".concat(name, " requires an argument")); - } - } - else if (func.length === argIndex) { - throw new Error("Pseudo-class :".concat(name, " doesn't have any arguments")); - } -} -exports.verifyPseudoArgs = verifyPseudoArgs; -//# sourceMappingURL=pseudos.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map deleted file mode 100644 index 089cc51..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pseudos.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/pseudos.ts"],"names":[],"mappings":";;;AASA,yEAAyE;AAC5D,QAAA,OAAO,GAA2B;IAC3C,KAAK,YAAC,IAAI,EAAE,EAAW;YAAT,OA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C,IAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAEvC,OAAO,OAAO;aACT,WAAW,CAAC,IAAI,CAAC;aACjB,KAAK,CACF,UAAC,OAAO;YACJ,OAAA,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC;gBACrB,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC;gBACvB,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,QAAQ;QAFrC,CAEqC,CAC5C,CAAC;IACV,CAAC;IACD,YAAY,YAAC,IAAI,EAAE,EAAmB;YAAjB,OAAO,aAAA,EAAE,MAAM,YAAA;QAChC,OAAO,OAAO;aACT,WAAW,CAAC,IAAI,CAAC;aACjB,KAAK,CACF,UAAC,OAAO,IAAK,OAAA,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAhD,CAAgD,CAChE,CAAC;IACV,CAAC;CACJ,CAAC;AAEF,SAAgB,gBAAgB,CAC5B,IAA6B,EAC7B,IAAY,EACZ,SAAiC,EACjC,QAAgB;IAEhB,IAAI,SAAS,KAAK,IAAI,EAAE;QACpB,IAAI,IAAI,CAAC,MAAM,GAAG,QAAQ,EAAE;YACxB,MAAM,IAAI,KAAK,CAAC,wBAAiB,IAAI,0BAAuB,CAAC,CAAC;SACjE;KACJ;SAAM,IAAI,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE;QACjC,MAAM,IAAI,KAAK,CAAC,wBAAiB,IAAI,gCAA6B,CAAC,CAAC;KACvE;AACL,CAAC;AAbD,4CAaC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts deleted file mode 100644 index 6555ef2..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { Selector } from "css-what"; -import type { CompiledQuery, InternalOptions, CompileToken, Adapter } from "../types.js"; -/** Used as a placeholder for :has. Will be replaced with the actual element. */ -export declare const PLACEHOLDER_ELEMENT: {}; -export declare function ensureIsTag(next: CompiledQuery, adapter: Adapter): CompiledQuery; -export declare type Subselect = (next: CompiledQuery, subselect: Selector[][], options: InternalOptions, context: Node[] | undefined, compileToken: CompileToken) => CompiledQuery; -export declare function getNextSiblings(elem: Node, adapter: Adapter): ElementNode[]; -export declare const subselects: Record; -//# sourceMappingURL=subselects.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map deleted file mode 100644 index 9950c0c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"subselects.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/subselects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,KAAK,EACR,aAAa,EACb,eAAe,EACf,YAAY,EACZ,OAAO,EACV,MAAM,aAAa,CAAC;AAGrB,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,IAAK,CAAC;AAEtC,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACtD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GACpC,aAAa,CAAC,IAAI,CAAC,CAGrB;AAED,oBAAY,SAAS,GAAG,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EACnD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,EAChC,SAAS,EAAE,QAAQ,EAAE,EAAE,EACvB,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS,EAC3B,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,WAAW,CAAC,KAC5C,aAAa,CAAC,WAAW,CAAC,CAAC;AAEhC,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,EAC1D,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GACpC,WAAW,EAAE,CAMf;AAiCD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAgEhD,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js deleted file mode 100644 index d2f3b1c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js +++ /dev/null @@ -1,112 +0,0 @@ -"use strict"; -var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { - if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } - } - return to.concat(ar || Array.prototype.slice.call(from)); -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.subselects = exports.getNextSiblings = exports.ensureIsTag = exports.PLACEHOLDER_ELEMENT = void 0; -var boolbase_1 = __importDefault(require("boolbase")); -var sort_js_1 = require("../sort.js"); -/** Used as a placeholder for :has. Will be replaced with the actual element. */ -exports.PLACEHOLDER_ELEMENT = {}; -function ensureIsTag(next, adapter) { - if (next === boolbase_1.default.falseFunc) - return boolbase_1.default.falseFunc; - return function (elem) { return adapter.isTag(elem) && next(elem); }; -} -exports.ensureIsTag = ensureIsTag; -function getNextSiblings(elem, adapter) { - var siblings = adapter.getSiblings(elem); - if (siblings.length <= 1) - return []; - var elemIndex = siblings.indexOf(elem); - if (elemIndex < 0 || elemIndex === siblings.length - 1) - return []; - return siblings.slice(elemIndex + 1).filter(adapter.isTag); -} -exports.getNextSiblings = getNextSiblings; -function copyOptions(options) { - // Not copied: context, rootFunc - return { - xmlMode: !!options.xmlMode, - lowerCaseAttributeNames: !!options.lowerCaseAttributeNames, - lowerCaseTags: !!options.lowerCaseTags, - quirksMode: !!options.quirksMode, - cacheResults: !!options.cacheResults, - pseudos: options.pseudos, - adapter: options.adapter, - equals: options.equals, - }; -} -var is = function (next, token, options, context, compileToken) { - var func = compileToken(token, copyOptions(options), context); - return func === boolbase_1.default.trueFunc - ? next - : func === boolbase_1.default.falseFunc - ? boolbase_1.default.falseFunc - : function (elem) { return func(elem) && next(elem); }; -}; -/* - * :not, :has, :is, :matches and :where have to compile selectors - * doing this in src/pseudos.ts would lead to circular dependencies, - * so we add them here - */ -exports.subselects = { - is: is, - /** - * `:matches` and `:where` are aliases for `:is`. - */ - matches: is, - where: is, - not: function (next, token, options, context, compileToken) { - var func = compileToken(token, copyOptions(options), context); - return func === boolbase_1.default.falseFunc - ? next - : func === boolbase_1.default.trueFunc - ? boolbase_1.default.falseFunc - : function (elem) { return !func(elem) && next(elem); }; - }, - has: function (next, subselect, options, _context, compileToken) { - var adapter = options.adapter; - var opts = copyOptions(options); - opts.relativeSelector = true; - var context = subselect.some(function (s) { return s.some(sort_js_1.isTraversal); }) - ? // Used as a placeholder. Will be replaced with the actual element. - [exports.PLACEHOLDER_ELEMENT] - : undefined; - var compiled = compileToken(subselect, opts, context); - if (compiled === boolbase_1.default.falseFunc) - return boolbase_1.default.falseFunc; - var hasElement = ensureIsTag(compiled, adapter); - // If `compiled` is `trueFunc`, we can skip this. - if (context && compiled !== boolbase_1.default.trueFunc) { - /* - * `shouldTestNextSiblings` will only be true if the query starts with - * a traversal (sibling or adjacent). That means we will always have a context. - */ - var _a = compiled.shouldTestNextSiblings, shouldTestNextSiblings_1 = _a === void 0 ? false : _a; - return function (elem) { - if (!next(elem)) - return false; - context[0] = elem; - var childs = adapter.getChildren(elem); - var nextElements = shouldTestNextSiblings_1 - ? __spreadArray(__spreadArray([], childs, true), getNextSiblings(elem, adapter), true) : childs; - return adapter.existsOne(hasElement, nextElements); - }; - } - return function (elem) { - return next(elem) && - adapter.existsOne(hasElement, adapter.getChildren(elem)); - }; - }, -}; -//# sourceMappingURL=subselects.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js.map b/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js.map deleted file mode 100644 index 40e0c25..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"subselects.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["pseudo-selectors/subselects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,sDAAgC;AAOhC,sCAAyC;AAEzC,gFAAgF;AACnE,QAAA,mBAAmB,GAAG,EAAE,CAAC;AAEtC,SAAgB,WAAW,CACvB,IAAgC,EAChC,OAAmC;IAEnC,IAAI,IAAI,KAAK,kBAAQ,CAAC,SAAS;QAAE,OAAO,kBAAQ,CAAC,SAAS,CAAC;IAC3D,OAAO,UAAC,IAAU,IAAK,OAAA,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,EAAjC,CAAiC,CAAC;AAC7D,CAAC;AAND,kCAMC;AAUD,SAAgB,eAAe,CAC3B,IAAU,EACV,OAAmC;IAEnC,IAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC3C,IAAI,QAAQ,CAAC,MAAM,IAAI,CAAC;QAAE,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,QAAQ,EAAE,OAAO,CAAC,CAAC;QAElD,iDAAiD;QACjD,IAAI,OAAO,IAAI,QAAQ,KAAK,kBAAQ,CAAC,QAAQ,EAAE;YAC3C;;;eAGG;YACK,IAAA,KAAmC,QAAQ,uBAAb,EAA9B,wBAAsB,mBAAG,KAAK,KAAA,CAAc;YAEpD,OAAO,UAAC,IAAI;gBACR,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;oBAAE,OAAO,KAAK,CAAC;gBAE9B,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;gBAClB,IAAM,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;gBACzC,IAAM,YAAY,GAAG,wBAAsB;oBACvC,CAAC,iCAAK,MAAM,SAAK,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,QAC/C,CAAC,CAAC,MAAM,CAAC;gBAEb,OAAO,OAAO,CAAC,SAAS,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;YACvD,CAAC,CAAC;SACL;QAED,OAAO,UAAC,IAAI;YACR,OAAA,IAAI,CAAC,IAAI,CAAC;gBACV,OAAO,CAAC,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QADxD,CACwD,CAAC;IACjE,CAAC;CACJ,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/sort.d.ts b/includes/external/addressbook/node_modules/css-select/lib/sort.d.ts deleted file mode 100644 index 93c996c..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/sort.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { InternalSelector } from "./types.js"; -import { type Traversal } from "css-what"; -export declare function isTraversal(token: InternalSelector): token is Traversal; -/** - * Sort the parts of the passed selector, - * as there is potential for optimization - * (some types of selectors are faster than others) - * - * @param arr Selector to sort - */ -export default function sortByProcedure(arr: InternalSelector[]): void; -//# sourceMappingURL=sort.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/sort.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/sort.d.ts.map deleted file mode 100644 index 8e996f4..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/sort.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sort.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["sort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AASzE,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,KAAK,IAAI,SAAS,CAEvE;AAWD;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAerE"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/sort.js b/includes/external/addressbook/node_modules/css-select/lib/sort.js deleted file mode 100644 index d597e82..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/sort.js +++ /dev/null @@ -1,84 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isTraversal = void 0; -var css_what_1 = require("css-what"); -var procedure = new Map([ - [css_what_1.SelectorType.Universal, 50], - [css_what_1.SelectorType.Tag, 30], - [css_what_1.SelectorType.Attribute, 1], - [css_what_1.SelectorType.Pseudo, 0], -]); -function isTraversal(token) { - return !procedure.has(token.type); -} -exports.isTraversal = isTraversal; -var attributes = new Map([ - [css_what_1.AttributeAction.Exists, 10], - [css_what_1.AttributeAction.Equals, 8], - [css_what_1.AttributeAction.Not, 7], - [css_what_1.AttributeAction.Start, 6], - [css_what_1.AttributeAction.End, 6], - [css_what_1.AttributeAction.Any, 5], -]); -/** - * Sort the parts of the passed selector, - * as there is potential for optimization - * (some types of selectors are faster than others) - * - * @param arr Selector to sort - */ -function sortByProcedure(arr) { - var procs = arr.map(getProcedure); - for (var i = 1; i < arr.length; i++) { - var procNew = procs[i]; - if (procNew < 0) - continue; - for (var j = i - 1; j >= 0 && procNew < procs[j]; j--) { - var token = arr[j + 1]; - arr[j + 1] = arr[j]; - arr[j] = token; - procs[j + 1] = procs[j]; - procs[j] = procNew; - } - } -} -exports.default = sortByProcedure; -function getProcedure(token) { - var _a, _b; - var proc = (_a = procedure.get(token.type)) !== null && _a !== void 0 ? _a : -1; - if (token.type === css_what_1.SelectorType.Attribute) { - proc = (_b = attributes.get(token.action)) !== null && _b !== void 0 ? _b : 4; - if (token.action === css_what_1.AttributeAction.Equals && token.name === "id") { - // Prefer ID selectors (eg. #ID) - proc = 9; - } - if (token.ignoreCase) { - /* - * IgnoreCase adds some overhead, prefer "normal" token - * this is a binary operation, to ensure it's still an int - */ - proc >>= 1; - } - } - else if (token.type === css_what_1.SelectorType.Pseudo) { - if (!token.data) { - proc = 3; - } - else if (token.name === "has" || token.name === "contains") { - proc = 0; // Expensive in any case - } - else if (Array.isArray(token.data)) { - // Eg. :matches, :not - proc = Math.min.apply(Math, token.data.map(function (d) { return Math.min.apply(Math, d.map(getProcedure)); })); - // If we have traversals, try to avoid executing this selector - if (proc < 0) { - proc = 0; - } - } - else { - proc = 2; - } - } - return proc; -} -//# sourceMappingURL=sort.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/sort.js.map b/includes/external/addressbook/node_modules/css-select/lib/sort.js.map deleted file mode 100644 index 5b4862b..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/sort.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sort.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["sort.ts"],"names":[],"mappings":";;;AACA,qCAAyE;AAEzE,IAAM,SAAS,GAAG,IAAI,GAAG,CAAmC;IACxD,CAAC,uBA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G,CAAC,UAAC,CAAC,IAAK,OAAA,IAAI,CAAC,GAAG,OAAR,IAAI,EAAQ,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAA/B,CAAgC,CAAC,CAC7D,CAAC;YAEF,8DAA8D;YAC9D,IAAI,IAAI,GAAG,CAAC,EAAE;gBACV,IAAI,GAAG,CAAC,CAAC;aACZ;SACJ;aAAM;YACH,IAAI,GAAG,CAAC,CAAC;SACZ;KACJ;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/types.d.ts b/includes/external/addressbook/node_modules/css-select/lib/types.d.ts deleted file mode 100644 index 7a0cd8a..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/types.d.ts +++ /dev/null @@ -1,167 +0,0 @@ -import type { Selector } from "css-what"; -export declare type InternalSelector = Selector | { - type: "_flexibleDescendant"; -}; -export declare type Predicate = (v: Value) => boolean; -export interface Adapter { - /** - * Is the node a tag? - */ - isTag: (node: Node) => node is ElementNode; - /** - * Does at least one of passed element nodes pass the test predicate? - */ - existsOne: (test: Predicate, elems: Node[]) => boolean; - /** - * Get the attribute value. - */ - getAttributeValue: (elem: ElementNode, name: string) => string | undefined; - /** - * Get the node's children - */ - getChildren: (node: Node) => Node[]; - /** - * Get the name of the tag - */ - getName: (elem: ElementNode) => string; - /** - * Get the parent of the node - */ - getParent: (node: ElementNode) => Node | null; - /** - * Get the siblings of the node. Note that unlike jQuery's `siblings` method, - * this is expected to include the current node as well - */ - getSiblings: (node: Node) => Node[]; - /** - * Returns the previous element sibling of a node. - */ - prevElementSibling?: (node: Node) => ElementNode | null; - /** - * Get the text content of the node, and its children if it has any. - */ - getText: (node: Node) => string; - /** - * Does the element have the named attribute? - */ - hasAttrib: (elem: ElementNode, name: string) => boolean; - /** - * Takes an array of nodes, and removes any duplicates, as well as any - * nodes whose ancestors are also in the array. - */ - removeSubsets: (nodes: Node[]) => Node[]; - /** - * Finds all of the element nodes in the array that match the test predicate, - * as well as any of their children that match it. - */ - findAll: (test: Predicate, nodes: Node[]) => ElementNode[]; - /** - * Finds the first node in the array that matches the test predicate, or one - * of its children. - */ - findOne: (test: Predicate, elems: Node[]) => ElementNode | null; - /** - * The adapter can also optionally include an equals method, if your DOM - * structure needs a custom equality test to compare two objects which refer - * to the same underlying node. If not provided, `css-select` will fall back to - * `a === b`. - */ - equals?: (a: Node, b: Node) => boolean; - /** - * Is the element in hovered state? - */ - isHovered?: (elem: ElementNode) => boolean; - /** - * Is the element in visited state? - */ - isVisited?: (elem: ElementNode) => boolean; - /** - * Is the element in active state? - */ - isActive?: (elem: ElementNode) => boolean; -} -export interface Options { - /** - * When enabled, tag names will be case-sensitive. - * - * @default false - */ - xmlMode?: boolean; - /** - * Lower-case attribute names. - * - * @default !xmlMode - */ - lowerCaseAttributeNames?: boolean; - /** - * Lower-case tag names. - * - * @default !xmlMode - */ - lowerCaseTags?: boolean; - /** - * Is the document in quirks mode? - * - * This will lead to .className and #id being case-insensitive. - * - * @default false - */ - quirksMode?: boolean; - /** - * Pseudo-classes that override the default ones. - * - * Maps from names to either strings of functions. - * - A string value is a selector that the element must match to be selected. - * - A function is called with the element as its first argument, and optional - * parameters second. If it returns true, the element is selected. - */ - pseudos?: Record boolean)> | undefined; - /** - * The last function in the stack, will be called with the last element - * that's looked at. - */ - rootFunc?: (element: ElementNode) => boolean; - /** - * The adapter to use when interacting with the backing DOM structure. By - * default it uses the `domutils` module. - */ - adapter?: Adapter; - /** - * The context of the current query. Used to limit the scope of searches. - * Can be matched directly using the `:scope` pseudo-class. - */ - context?: Node | Node[]; - /** - * Indicates whether to consider the selector as a relative selector. - * - * Relative selectors that don't include a `:scope` pseudo-class behave - * as if they have a `:scope ` prefix (a `:scope` pseudo-class, followed by - * a descendant selector). - * - * If relative selectors are disabled, selectors starting with a traversal - * will lead to an error. - * - * @default true - * @see {@link https://www.w3.org/TR/selectors-4/#relative} - */ - relativeSelector?: boolean; - /** - * Allow css-select to cache results for some selectors, sometimes greatly - * improving querying performance. Disable this if your document can - * change in between queries with the same compiled selector. - * - * @default true - */ - cacheResults?: boolean; -} -export interface InternalOptions extends Options { - adapter: Adapter; - equals: (a: Node, b: Node) => boolean; -} -export interface CompiledQuery { - (node: ElementNode): boolean; - shouldTestNextSiblings?: boolean; -} -export declare type Query = string | CompiledQuery | Selector[][]; -export declare type CompileToken = (token: InternalSelector[][], options: InternalOptions, context?: Node[] | Node) => CompiledQuery; -//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/types.d.ts.map b/includes/external/addressbook/node_modules/css-select/lib/types.d.ts.map deleted file mode 100644 index d14b18f..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,oBAAY,gBAAgB,GAAG,QAAQ,GAAG;IAAE,IAAI,EAAE,qBAAqB,CAAA;CAAE,CAAC;AAE1E,oBAAY,SAAS,CAAC,KAAK,IAAI,CAAC,CAAC,EAAE,KAAK,KAAK,OAAO,CAAC;AACrD,MAAM,WAAW,OAAO,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI;IACnD;;OAEG;IACH,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,IAAI,WAAW,CAAC;IAE3C;;OAEG;IACH,SAAS,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,OAAO,CAAC;IAEpE;;OAEG;IACH,iBAAiB,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IAE3E;;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CACpC;AACD,oBAAY,KAAK,CAAC,WAAW,IACvB,MAAM,GACN,aAAa,CAAC,WAAW,CAAC,GAC1B,QAAQ,EAAE,EAAE,CAAC;AACnB,oBAAY,YAAY,CAAC,IAAI,EAAE,WAAW,SAAS,IAAI,IAAI,CACvD,KAAK,EAAE,gBAAgB,EAAE,EAAE,EAC3B,OAAO,EAAE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,KACtB,aAAa,CAAC,WAAW,CAAC,CAAC"} \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/types.js b/includes/external/addressbook/node_modules/css-select/lib/types.js deleted file mode 100644 index 11e638d..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/types.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/includes/external/addressbook/node_modules/css-select/lib/types.js.map b/includes/external/addressbook/node_modules/css-select/lib/types.js.map deleted file mode 100644 index d1bde2f..0000000 --- a/includes/external/addressbook/node_modules/css-select/lib/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.js","sourceRoot":"https://raw.githubusercontent.com/fb55/css-select/0f0725a9dfeddd2fdb54eda9656cdbab5bbf6be6/src/","sources":["types.ts"],"names":[],"mappings":""} \ No newline at end of file -- cgit