UNPKG

sprix

Version:

Sprites for your project, with pleasure

1,358 lines (1,297 loc) 11.7 MB
#!/usr/bin/env node "use strict"; var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __commonJS = (cb, mod) => function __require() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target2, all) => { for (var name2 in all) __defProp(target2, name2, { get: all[name2], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target2) => (target2 = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target2, "default", { value: mod, enumerable: true }) : target2, mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/utils.js var require_utils = __commonJS({ "node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/utils.js"(exports2) { "use strict"; exports2.removeLeadingAndTrailingHTTPWhitespace = (string4) => { return string4.replace(/^[ \t\n\r]+/u, "").replace(/[ \t\n\r]+$/u, ""); }; exports2.removeTrailingHTTPWhitespace = (string4) => { return string4.replace(/[ \t\n\r]+$/u, ""); }; exports2.isHTTPWhitespaceChar = (char) => { return char === " " || char === " " || char === "\n" || char === "\r"; }; exports2.solelyContainsHTTPTokenCodePoints = (string4) => { return /^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(string4); }; exports2.soleyContainsHTTPQuotedStringTokenCodePoints = (string4) => { return /^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(string4); }; exports2.asciiLowercase = (string4) => { return string4.replace(/[A-Z]/ug, (l) => l.toLowerCase()); }; exports2.collectAnHTTPQuotedString = (input, position) => { let value2 = ""; position++; while (true) { while (position < input.length && input[position] !== '"' && input[position] !== "\\") { value2 += input[position]; ++position; } if (position >= input.length) { break; } const quoteOrBackslash = input[position]; ++position; if (quoteOrBackslash === "\\") { if (position >= input.length) { value2 += "\\"; break; } value2 += input[position]; ++position; } else { break; } } return [value2, position]; }; } }); // node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/mime-type-parameters.js var require_mime_type_parameters = __commonJS({ "node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/mime-type-parameters.js"(exports2, module2) { "use strict"; var { asciiLowercase, solelyContainsHTTPTokenCodePoints, soleyContainsHTTPQuotedStringTokenCodePoints } = require_utils(); module2.exports = class MIMETypeParameters { constructor(map2) { this._map = map2; } get size() { return this._map.size; } get(name2) { name2 = asciiLowercase(String(name2)); return this._map.get(name2); } has(name2) { name2 = asciiLowercase(String(name2)); return this._map.has(name2); } set(name2, value2) { name2 = asciiLowercase(String(name2)); value2 = String(value2); if (!solelyContainsHTTPTokenCodePoints(name2)) { throw new Error(`Invalid MIME type parameter name "${name2}": only HTTP token code points are valid.`); } if (!soleyContainsHTTPQuotedStringTokenCodePoints(value2)) { throw new Error(`Invalid MIME type parameter value "${value2}": only HTTP quoted-string token code points are valid.`); } return this._map.set(name2, value2); } clear() { this._map.clear(); } delete(name2) { name2 = asciiLowercase(String(name2)); return this._map.delete(name2); } forEach(callbackFn, thisArg) { this._map.forEach(callbackFn, thisArg); } keys() { return this._map.keys(); } values() { return this._map.values(); } entries() { return this._map.entries(); } [Symbol.iterator]() { return this._map[Symbol.iterator](); } }; } }); // node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/parser.js var require_parser = __commonJS({ "node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/parser.js"(exports2, module2) { "use strict"; var { removeLeadingAndTrailingHTTPWhitespace, removeTrailingHTTPWhitespace, isHTTPWhitespaceChar, solelyContainsHTTPTokenCodePoints, soleyContainsHTTPQuotedStringTokenCodePoints, asciiLowercase, collectAnHTTPQuotedString } = require_utils(); module2.exports = (input) => { input = removeLeadingAndTrailingHTTPWhitespace(input); let position = 0; let type = ""; while (position < input.length && input[position] !== "/") { type += input[position]; ++position; } if (type.length === 0 || !solelyContainsHTTPTokenCodePoints(type)) { return null; } if (position >= input.length) { return null; } ++position; let subtype = ""; while (position < input.length && input[position] !== ";") { subtype += input[position]; ++position; } subtype = removeTrailingHTTPWhitespace(subtype); if (subtype.length === 0 || !solelyContainsHTTPTokenCodePoints(subtype)) { return null; } const mimeType = { type: asciiLowercase(type), subtype: asciiLowercase(subtype), parameters: /* @__PURE__ */ new Map() }; while (position < input.length) { ++position; while (isHTTPWhitespaceChar(input[position])) { ++position; } let parameterName = ""; while (position < input.length && input[position] !== ";" && input[position] !== "=") { parameterName += input[position]; ++position; } parameterName = asciiLowercase(parameterName); if (position < input.length) { if (input[position] === ";") { continue; } ++position; } let parameterValue = null; if (input[position] === '"') { [parameterValue, position] = collectAnHTTPQuotedString(input, position); while (position < input.length && input[position] !== ";") { ++position; } } else { parameterValue = ""; while (position < input.length && input[position] !== ";") { parameterValue += input[position]; ++position; } parameterValue = removeTrailingHTTPWhitespace(parameterValue); if (parameterValue === "") { continue; } } if (parameterName.length > 0 && solelyContainsHTTPTokenCodePoints(parameterName) && soleyContainsHTTPQuotedStringTokenCodePoints(parameterValue) && !mimeType.parameters.has(parameterName)) { mimeType.parameters.set(parameterName, parameterValue); } } return mimeType; }; } }); // node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/serializer.js var require_serializer = __commonJS({ "node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/serializer.js"(exports2, module2) { "use strict"; var { solelyContainsHTTPTokenCodePoints } = require_utils(); module2.exports = (mimeType) => { let serialization = `${mimeType.type}/${mimeType.subtype}`; if (mimeType.parameters.size === 0) { return serialization; } for (let [name2, value2] of mimeType.parameters) { serialization += ";"; serialization += name2; serialization += "="; if (!solelyContainsHTTPTokenCodePoints(value2) || value2.length === 0) { value2 = value2.replace(/(["\\])/ug, "\\$1"); value2 = `"${value2}"`; } serialization += value2; } return serialization; }; } }); // node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/mime-type.js var require_mime_type = __commonJS({ "node_modules/.pnpm/whatwg-mimetype@3.0.0/node_modules/whatwg-mimetype/lib/mime-type.js"(exports2, module2) { "use strict"; var MIMETypeParameters = require_mime_type_parameters(); var parse3 = require_parser(); var serialize = require_serializer(); var { asciiLowercase, solelyContainsHTTPTokenCodePoints } = require_utils(); module2.exports = class MIMEType { constructor(string4) { string4 = String(string4); const result = parse3(string4); if (result === null) { throw new Error(`Could not parse MIME type string "${string4}"`); } this._type = result.type; this._subtype = result.subtype; this._parameters = new MIMETypeParameters(result.parameters); } static parse(string4) { try { return new this(string4); } catch (e) { return null; } } get essence() { return `${this.type}/${this.subtype}`; } get type() { return this._type; } set type(value2) { value2 = asciiLowercase(String(value2)); if (value2.length === 0) { throw new Error("Invalid type: must be a non-empty string"); } if (!solelyContainsHTTPTokenCodePoints(value2)) { throw new Error(`Invalid type ${value2}: must contain only HTTP token code points`); } this._type = value2; } get subtype() { return this._subtype; } set subtype(value2) { value2 = asciiLowercase(String(value2)); if (value2.length === 0) { throw new Error("Invalid subtype: must be a non-empty string"); } if (!solelyContainsHTTPTokenCodePoints(value2)) { throw new Error(`Invalid subtype ${value2}: must contain only HTTP token code points`); } this._subtype = value2; } get parameters() { return this._parameters; } toString() { return serialize(this); } isJavaScript({ prohibitParameters = false } = {}) { switch (this._type) { case "text": { switch (this._subtype) { case "ecmascript": case "javascript": case "javascript1.0": case "javascript1.1": case "javascript1.2": case "javascript1.3": case "javascript1.4": case "javascript1.5": case "jscript": case "livescript": case "x-ecmascript": case "x-javascript": { return !prohibitParameters || this._parameters.size === 0; } default: { return false; } } } case "application": { switch (this._subtype) { case "ecmascript": case "javascript": case "x-ecmascript": case "x-javascript": { return !prohibitParameters || this._parameters.size === 0; } default: { return false; } } } default: { return false; } } } isXML() { return this._subtype === "xml" && (this._type === "text" || this._type === "application") || this._subtype.endsWith("+xml"); } isHTML() { return this._subtype === "html" && this._type === "text"; } }; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js var require_freeGlobal = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js"(exports2, module2) { var freeGlobal = typeof global == "object" && global && global.Object === Object && global; module2.exports = freeGlobal; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js var require_root = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js"(exports2, module2) { var freeGlobal = require_freeGlobal(); var freeSelf = typeof self == "object" && self && self.Object === Object && self; var root = freeGlobal || freeSelf || Function("return this")(); module2.exports = root; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js var require_Symbol = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js"(exports2, module2) { var root = require_root(); var Symbol2 = root.Symbol; module2.exports = Symbol2; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js var require_getRawTag = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js"(exports2, module2) { var Symbol2 = require_Symbol(); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; var nativeObjectToString = objectProto.toString; var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0; function getRawTag(value2) { var isOwn = hasOwnProperty.call(value2, symToStringTag), tag = value2[symToStringTag]; try { value2[symToStringTag] = void 0; var unmasked = true; } catch (e) { } var result = nativeObjectToString.call(value2); if (unmasked) { if (isOwn) { value2[symToStringTag] = tag; } else { delete value2[symToStringTag]; } } return result; } module2.exports = getRawTag; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js var require_objectToString = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js"(exports2, module2) { var objectProto = Object.prototype; var nativeObjectToString = objectProto.toString; function objectToString(value2) { return nativeObjectToString.call(value2); } module2.exports = objectToString; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js var require_baseGetTag = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js"(exports2, module2) { var Symbol2 = require_Symbol(); var getRawTag = require_getRawTag(); var objectToString = require_objectToString(); var nullTag = "[object Null]"; var undefinedTag = "[object Undefined]"; var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0; function baseGetTag(value2) { if (value2 == null) { return value2 === void 0 ? undefinedTag : nullTag; } return symToStringTag && symToStringTag in Object(value2) ? getRawTag(value2) : objectToString(value2); } module2.exports = baseGetTag; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js var require_isObject = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js"(exports2, module2) { function isObject2(value2) { var type = typeof value2; return value2 != null && (type == "object" || type == "function"); } module2.exports = isObject2; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js var require_isFunction = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js"(exports2, module2) { var baseGetTag = require_baseGetTag(); var isObject2 = require_isObject(); var asyncTag = "[object AsyncFunction]"; var funcTag = "[object Function]"; var genTag = "[object GeneratorFunction]"; var proxyTag = "[object Proxy]"; function isFunction(value2) { if (!isObject2(value2)) { return false; } var tag = baseGetTag(value2); return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; } module2.exports = isFunction; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js var require_coreJsData = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js"(exports2, module2) { var root = require_root(); var coreJsData = root["__core-js_shared__"]; module2.exports = coreJsData; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js var require_isMasked = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js"(exports2, module2) { var coreJsData = require_coreJsData(); var maskSrcKey = function() { var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ""); return uid ? "Symbol(src)_1." + uid : ""; }(); function isMasked(func) { return !!maskSrcKey && maskSrcKey in func; } module2.exports = isMasked; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js var require_toSource = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js"(exports2, module2) { var funcProto = Function.prototype; var funcToString = funcProto.toString; function toSource(func) { if (func != null) { try { return funcToString.call(func); } catch (e) { } try { return func + ""; } catch (e) { } } return ""; } module2.exports = toSource; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js var require_baseIsNative = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js"(exports2, module2) { var isFunction = require_isFunction(); var isMasked = require_isMasked(); var isObject2 = require_isObject(); var toSource = require_toSource(); var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; var reIsHostCtor = /^\[object .+?Constructor\]$/; var funcProto = Function.prototype; var objectProto = Object.prototype; var funcToString = funcProto.toString; var hasOwnProperty = objectProto.hasOwnProperty; var reIsNative = RegExp( "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); function baseIsNative(value2) { if (!isObject2(value2) || isMasked(value2)) { return false; } var pattern = isFunction(value2) ? reIsNative : reIsHostCtor; return pattern.test(toSource(value2)); } module2.exports = baseIsNative; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js var require_getValue = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js"(exports2, module2) { function getValue(object2, key) { return object2 == null ? void 0 : object2[key]; } module2.exports = getValue; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js var require_getNative = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js"(exports2, module2) { var baseIsNative = require_baseIsNative(); var getValue = require_getValue(); function getNative(object2, key) { var value2 = getValue(object2, key); return baseIsNative(value2) ? value2 : void 0; } module2.exports = getNative; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js var require_nativeCreate = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js"(exports2, module2) { var getNative = require_getNative(); var nativeCreate = getNative(Object, "create"); module2.exports = nativeCreate; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js var require_hashClear = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js"(exports2, module2) { var nativeCreate = require_nativeCreate(); function hashClear() { this.__data__ = nativeCreate ? nativeCreate(null) : {}; this.size = 0; } module2.exports = hashClear; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js var require_hashDelete = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js"(exports2, module2) { function hashDelete(key) { var result = this.has(key) && delete this.__data__[key]; this.size -= result ? 1 : 0; return result; } module2.exports = hashDelete; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js var require_hashGet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js"(exports2, module2) { var nativeCreate = require_nativeCreate(); var HASH_UNDEFINED = "__lodash_hash_undefined__"; var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function hashGet(key) { var data2 = this.__data__; if (nativeCreate) { var result = data2[key]; return result === HASH_UNDEFINED ? void 0 : result; } return hasOwnProperty.call(data2, key) ? data2[key] : void 0; } module2.exports = hashGet; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js var require_hashHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js"(exports2, module2) { var nativeCreate = require_nativeCreate(); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function hashHas(key) { var data2 = this.__data__; return nativeCreate ? data2[key] !== void 0 : hasOwnProperty.call(data2, key); } module2.exports = hashHas; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js var require_hashSet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js"(exports2, module2) { var nativeCreate = require_nativeCreate(); var HASH_UNDEFINED = "__lodash_hash_undefined__"; function hashSet(key, value2) { var data2 = this.__data__; this.size += this.has(key) ? 0 : 1; data2[key] = nativeCreate && value2 === void 0 ? HASH_UNDEFINED : value2; return this; } module2.exports = hashSet; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js var require_Hash = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js"(exports2, module2) { var hashClear = require_hashClear(); var hashDelete = require_hashDelete(); var hashGet = require_hashGet(); var hashHas = require_hashHas(); var hashSet = require_hashSet(); function Hash(entries2) { var index = -1, length2 = entries2 == null ? 0 : entries2.length; this.clear(); while (++index < length2) { var entry = entries2[index]; this.set(entry[0], entry[1]); } } Hash.prototype.clear = hashClear; Hash.prototype["delete"] = hashDelete; Hash.prototype.get = hashGet; Hash.prototype.has = hashHas; Hash.prototype.set = hashSet; module2.exports = Hash; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js var require_listCacheClear = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js"(exports2, module2) { function listCacheClear() { this.__data__ = []; this.size = 0; } module2.exports = listCacheClear; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js var require_eq = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js"(exports2, module2) { function eq(value2, other) { return value2 === other || value2 !== value2 && other !== other; } module2.exports = eq; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js var require_assocIndexOf = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js"(exports2, module2) { var eq = require_eq(); function assocIndexOf(array2, key) { var length2 = array2.length; while (length2--) { if (eq(array2[length2][0], key)) { return length2; } } return -1; } module2.exports = assocIndexOf; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js var require_listCacheDelete = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js"(exports2, module2) { var assocIndexOf = require_assocIndexOf(); var arrayProto = Array.prototype; var splice = arrayProto.splice; function listCacheDelete(key) { var data2 = this.__data__, index = assocIndexOf(data2, key); if (index < 0) { return false; } var lastIndex = data2.length - 1; if (index == lastIndex) { data2.pop(); } else { splice.call(data2, index, 1); } --this.size; return true; } module2.exports = listCacheDelete; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js var require_listCacheGet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js"(exports2, module2) { var assocIndexOf = require_assocIndexOf(); function listCacheGet(key) { var data2 = this.__data__, index = assocIndexOf(data2, key); return index < 0 ? void 0 : data2[index][1]; } module2.exports = listCacheGet; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js var require_listCacheHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js"(exports2, module2) { var assocIndexOf = require_assocIndexOf(); function listCacheHas(key) { return assocIndexOf(this.__data__, key) > -1; } module2.exports = listCacheHas; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js var require_listCacheSet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js"(exports2, module2) { var assocIndexOf = require_assocIndexOf(); function listCacheSet(key, value2) { var data2 = this.__data__, index = assocIndexOf(data2, key); if (index < 0) { ++this.size; data2.push([key, value2]); } else { data2[index][1] = value2; } return this; } module2.exports = listCacheSet; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js var require_ListCache = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js"(exports2, module2) { var listCacheClear = require_listCacheClear(); var listCacheDelete = require_listCacheDelete(); var listCacheGet = require_listCacheGet(); var listCacheHas = require_listCacheHas(); var listCacheSet = require_listCacheSet(); function ListCache(entries2) { var index = -1, length2 = entries2 == null ? 0 : entries2.length; this.clear(); while (++index < length2) { var entry = entries2[index]; this.set(entry[0], entry[1]); } } ListCache.prototype.clear = listCacheClear; ListCache.prototype["delete"] = listCacheDelete; ListCache.prototype.get = listCacheGet; ListCache.prototype.has = listCacheHas; ListCache.prototype.set = listCacheSet; module2.exports = ListCache; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js var require_Map = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js"(exports2, module2) { var getNative = require_getNative(); var root = require_root(); var Map2 = getNative(root, "Map"); module2.exports = Map2; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js var require_mapCacheClear = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js"(exports2, module2) { var Hash = require_Hash(); var ListCache = require_ListCache(); var Map2 = require_Map(); function mapCacheClear() { this.size = 0; this.__data__ = { "hash": new Hash(), "map": new (Map2 || ListCache)(), "string": new Hash() }; } module2.exports = mapCacheClear; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js var require_isKeyable = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js"(exports2, module2) { function isKeyable(value2) { var type = typeof value2; return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value2 !== "__proto__" : value2 === null; } module2.exports = isKeyable; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js var require_getMapData = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js"(exports2, module2) { var isKeyable = require_isKeyable(); function getMapData(map2, key) { var data2 = map2.__data__; return isKeyable(key) ? data2[typeof key == "string" ? "string" : "hash"] : data2.map; } module2.exports = getMapData; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js var require_mapCacheDelete = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js"(exports2, module2) { var getMapData = require_getMapData(); function mapCacheDelete(key) { var result = getMapData(this, key)["delete"](key); this.size -= result ? 1 : 0; return result; } module2.exports = mapCacheDelete; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js var require_mapCacheGet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js"(exports2, module2) { var getMapData = require_getMapData(); function mapCacheGet(key) { return getMapData(this, key).get(key); } module2.exports = mapCacheGet; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js var require_mapCacheHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js"(exports2, module2) { var getMapData = require_getMapData(); function mapCacheHas(key) { return getMapData(this, key).has(key); } module2.exports = mapCacheHas; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js var require_mapCacheSet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js"(exports2, module2) { var getMapData = require_getMapData(); function mapCacheSet(key, value2) { var data2 = getMapData(this, key), size = data2.size; data2.set(key, value2); this.size += data2.size == size ? 0 : 1; return this; } module2.exports = mapCacheSet; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js var require_MapCache = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js"(exports2, module2) { var mapCacheClear = require_mapCacheClear(); var mapCacheDelete = require_mapCacheDelete(); var mapCacheGet = require_mapCacheGet(); var mapCacheHas = require_mapCacheHas(); var mapCacheSet = require_mapCacheSet(); function MapCache(entries2) { var index = -1, length2 = entries2 == null ? 0 : entries2.length; this.clear(); while (++index < length2) { var entry = entries2[index]; this.set(entry[0], entry[1]); } } MapCache.prototype.clear = mapCacheClear; MapCache.prototype["delete"] = mapCacheDelete; MapCache.prototype.get = mapCacheGet; MapCache.prototype.has = mapCacheHas; MapCache.prototype.set = mapCacheSet; module2.exports = MapCache; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js var require_setCacheAdd = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js"(exports2, module2) { var HASH_UNDEFINED = "__lodash_hash_undefined__"; function setCacheAdd(value2) { this.__data__.set(value2, HASH_UNDEFINED); return this; } module2.exports = setCacheAdd; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js var require_setCacheHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js"(exports2, module2) { function setCacheHas(value2) { return this.__data__.has(value2); } module2.exports = setCacheHas; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js var require_SetCache = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js"(exports2, module2) { var MapCache = require_MapCache(); var setCacheAdd = require_setCacheAdd(); var setCacheHas = require_setCacheHas(); function SetCache(values) { var index = -1, length2 = values == null ? 0 : values.length; this.__data__ = new MapCache(); while (++index < length2) { this.add(values[index]); } } SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; SetCache.prototype.has = setCacheHas; module2.exports = SetCache; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js var require_baseFindIndex = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js"(exports2, module2) { function baseFindIndex(array2, predicate, fromIndex, fromRight) { var length2 = array2.length, index = fromIndex + (fromRight ? 1 : -1); while (fromRight ? index-- : ++index < length2) { if (predicate(array2[index], index, array2)) { return index; } } return -1; } module2.exports = baseFindIndex; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNaN.js var require_baseIsNaN = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNaN.js"(exports2, module2) { function baseIsNaN(value2) { return value2 !== value2; } module2.exports = baseIsNaN; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_strictIndexOf.js var require_strictIndexOf = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_strictIndexOf.js"(exports2, module2) { function strictIndexOf(array2, value2, fromIndex) { var index = fromIndex - 1, length2 = array2.length; while (++index < length2) { if (array2[index] === value2) { return index; } } return -1; } module2.exports = strictIndexOf; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIndexOf.js var require_baseIndexOf = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIndexOf.js"(exports2, module2) { var baseFindIndex = require_baseFindIndex(); var baseIsNaN = require_baseIsNaN(); var strictIndexOf = require_strictIndexOf(); function baseIndexOf(array2, value2, fromIndex) { return value2 === value2 ? strictIndexOf(array2, value2, fromIndex) : baseFindIndex(array2, baseIsNaN, fromIndex); } module2.exports = baseIndexOf; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayIncludes.js var require_arrayIncludes = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayIncludes.js"(exports2, module2) { var baseIndexOf = require_baseIndexOf(); function arrayIncludes(array2, value2) { var length2 = array2 == null ? 0 : array2.length; return !!length2 && baseIndexOf(array2, value2, 0) > -1; } module2.exports = arrayIncludes; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayIncludesWith.js var require_arrayIncludesWith = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayIncludesWith.js"(exports2, module2) { function arrayIncludesWith(array2, value2, comparator) { var index = -1, length2 = array2 == null ? 0 : array2.length; while (++index < length2) { if (comparator(value2, array2[index])) { return true; } } return false; } module2.exports = arrayIncludesWith; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js var require_cacheHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js"(exports2, module2) { function cacheHas(cache, key) { return cache.has(key); } module2.exports = cacheHas; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js var require_Set = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js"(exports2, module2) { var getNative = require_getNative(); var root = require_root(); var Set2 = getNative(root, "Set"); module2.exports = Set2; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/noop.js var require_noop = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/noop.js"(exports2, module2) { function noop() { } module2.exports = noop; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js var require_setToArray = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js"(exports2, module2) { function setToArray(set2) { var index = -1, result = Array(set2.size); set2.forEach(function(value2) { result[++index] = value2; }); return result; } module2.exports = setToArray; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createSet.js var require_createSet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createSet.js"(exports2, module2) { var Set2 = require_Set(); var noop = require_noop(); var setToArray = require_setToArray(); var INFINITY = 1 / 0; var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop : function(values) { return new Set2(values); }; module2.exports = createSet; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUniq.js var require_baseUniq = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUniq.js"(exports2, module2) { var SetCache = require_SetCache(); var arrayIncludes = require_arrayIncludes(); var arrayIncludesWith = require_arrayIncludesWith(); var cacheHas = require_cacheHas(); var createSet = require_createSet(); var setToArray = require_setToArray(); var LARGE_ARRAY_SIZE = 200; function baseUniq(array2, iteratee, comparator) { var index = -1, includes = arrayIncludes, length2 = array2.length, isCommon = true, result = [], seen = result; if (comparator) { isCommon = false; includes = arrayIncludesWith; } else if (length2 >= LARGE_ARRAY_SIZE) { var set2 = iteratee ? null : createSet(array2); if (set2) { return setToArray(set2); } isCommon = false; includes = cacheHas; seen = new SetCache(); } else { seen = iteratee ? [] : result; } outer: while (++index < length2) { var value2 = array2[index], computed = iteratee ? iteratee(value2) : value2; value2 = comparator || value2 !== 0 ? value2 : 0; if (isCommon && computed === computed) { var seenIndex = seen.length; while (seenIndex--) { if (seen[seenIndex] === computed) { continue outer; } } if (iteratee) { seen.push(computed); } result.push(value2); } else if (!includes(seen, computed, comparator)) { if (seen !== result) { seen.push(computed); } result.push(value2); } } return result; } module2.exports = baseUniq; } }); // node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js var require_uniq = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js"(exports2, module2) { var baseUniq = require_baseUniq(); function uniq2(array2) { return array2 && array2.length ? baseUniq(array2) : []; } module2.exports = uniq2; } }); // node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/typescript.js var require_typescript = __commonJS({ "node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/typescript.js"(exports2, module2) { var ts2 = {}; ((module3) => { "use strict"; var __defProp2 = Object.defineProperty; var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor; var __getOwnPropNames2 = Object.getOwnPropertyNames; var __hasOwnProp2 = Object.prototype.hasOwnProperty; var __export2 = (target2, all) => { for (var name2 in all) __defProp2(target2, name2, { get: all[name2], enumerable: true }); }; var __copyProps2 = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames2(from)) if (!__hasOwnProp2.call(to, key) && key !== except) __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS2 = (mod) => (__copyProps2, mod); var typescript_exports = {}; __export2(typescript_exports, { ANONYMOUS: () => ANONYMOUS, AccessFlags: () => AccessFlags, AssertionLevel: () => AssertionLevel, AssignmentDeclarationKind: () => AssignmentDeclarationKind, AssignmentKind: () => AssignmentKind, Associativity: () => Associativity, BreakpointResolver: () => ts_BreakpointResolver_exports, BuilderFileEmit: () => BuilderFileEmit, BuilderProgramKind: () => BuilderProgramKind, BuilderState: () => BuilderState, CallHierarchy: () => ts_CallHierarchy_exports, CharacterCodes: () => CharacterCodes, CheckFlags: () => CheckFlags, CheckMode: () => CheckMode, ClassificationType: () => ClassificationType, ClassificationTypeNames: () => ClassificationTypeNames, CommentDirectiveType: () => CommentDirectiveType, Comparison: () => Comparison, CompletionInfoFlags: () => CompletionInfoFlags, CompletionTriggerKind: () => CompletionTriggerKind, Completions: () => ts_Completions_exports, ContainerFlags: () => ContainerFlags, ContextFlags: () => ContextFlags, Debug: () => Debug, DiagnosticCategory: () => DiagnosticCategory, Diagnostics: () => Diagnostics, DocumentHighlights: () => DocumentHighlights, ElementFlags: () => ElementFlags, EmitFlags: () => EmitFlags, EmitHint: () => EmitHint, EmitOnly: () => EmitOnly, EndOfLineState: () => EndOfLineState, ExitStatus: () => ExitStatus, ExportKind: () => ExportKind, Extension: () => Extension, ExternalEmitHelpers: () => ExternalEmitHelpers, FileIncludeKind: () => FileIncludeKind, FilePreprocessingDiagnosticsKind: () => FilePreprocessingDiagnosticsKind, FileSystemEntryKind: () => FileSystemEntryKind, FileWatcherEventKind: () => FileWatcherEventKind, FindAllReferences: () => ts_FindAllReferences_exports, FlattenLevel: () => FlattenLevel, FlowFlags: () => FlowFlags, ForegroundColorEscapeSequences: () => ForegroundColorEscapeSequences, FunctionFlags: () => FunctionFlags, GeneratedIdentifierFlags: () => GeneratedIdentifierFlags, GetLiteralTextFlags: () => GetLiteralTextFlags, GoToDefinition: () => ts_GoToDefinition_exports, HighlightSpanKind: () => HighlightSpanKind, IdentifierNameMap: () => IdentifierNameMap, ImportKind: () => ImportKind, ImportsNotUsedAsValues: () => ImportsNotUsedAsValues, IndentStyle: () => IndentStyle, IndexFlags: () => IndexFlags, IndexKind: () => IndexKind, InferenceFlags: () => InferenceFlags, InferencePriority: () => InferencePriority, InlayHintKind: () => InlayHintKind2, InlayHints: () => ts_InlayHints_exports, InternalEmitFlags: () => InternalEmitFlags, InternalNodeBuilderFlags: () => InternalNodeBuilderFlags, InternalSymbolName: () => InternalSymbolName, IntersectionFlags: () => IntersectionFlags, InvalidatedProjectKind: () => InvalidatedProjectKind, JSDocParsingMode: () => JSDocParsingMode, JsDoc: () => ts_JsDoc_exports, JsTyping: () => ts_JsTyping_exports, JsxEmit: () => JsxEmit, JsxFlags: () => JsxFlags, JsxReferenceKind: () => JsxReferenceKind, LanguageFeatureMinimumTarget: () => LanguageFeatureMinimumTarget, LanguageServiceMode: () => LanguageServiceMode, LanguageVariant: () => LanguageVariant, LexicalEnvironmentFlags: () => LexicalEnvironmentFlags, ListFormat: () => ListFormat, LogLevel: () => LogLevel, MapCode: () => ts_MapCode_exports, MemberOverrideStatus: () => MemberOverrideStatus, ModifierFlags: () => ModifierFlags, ModuleDetectionKind: () => ModuleDetectionKind, ModuleInstanceState: () => ModuleInstanceState, ModuleKind: () => ModuleKind, ModuleResolutionKind: () => ModuleResolutionKind, ModuleSpecifierEnding: () => ModuleSpecifierEnding, NavigateTo: () => ts_NavigateTo_exports, NavigationBar: () => ts_NavigationBar_exports, NewLineKind: () => NewLineKind, NodeBuilderFlags: () => NodeBuilderFlags, NodeCheckFlags: () => NodeCheckFlags, NodeFactoryFlags: () => NodeFactoryFlags, NodeFlags: () => NodeFlags, NodeResolutionFeatures: () => NodeResolutionFeatures, ObjectFlags: () => ObjectFlags, OperationCanceledException: () => OperationCanceledException, OperatorPrecedence: () => OperatorPrecedence, OrganizeImports: () => ts_OrganizeImports_exports, OrganizeImportsMode: () => OrganizeImportsMode, OuterExpressionKinds: () => OuterExpressionKinds, OutliningElementsCollector: () => ts_OutliningElementsCollector_exports, OutliningSpanKind: () => OutliningSpanKind, OutputFileType: () => OutputFileType, PackageJsonAutoImportPreference: () => PackageJsonAutoImportPreference, PackageJsonDependencyGroup: () => PackageJsonDependencyGroup, PatternMatchKind: () => PatternMatchKind, PollingInterval: () => PollingInterval, PollingWatchKind: () => PollingWatchKind, PragmaKindFlags: () => PragmaKindFlags, PredicateSemantics: () => PredicateSemantics, PrivateIdentifierKind: () => PrivateIdentifierKind, ProcessLevel: () => ProcessLevel, ProgramUpdateLevel: () => ProgramUpdateLevel, QuotePreference: () => QuotePreference, RegularExpressionFlags: () => RegularExpressionFlags, RelationComparisonResult: () => RelationComparisonResult, Rename: () => ts_Rename_exports, ScriptElementKind: () => ScriptElementKind, ScriptElementKindModifier: () => ScriptElementKindModifier, ScriptKind: () => ScriptKind, ScriptSnapshot: () => ScriptSnapshot, ScriptTarget: () => ScriptTarget, SemanticClassificationFormat: () => SemanticClassificationFormat, SemanticMeaning: () => SemanticMeaning, SemicolonPreference: () => SemicolonPreference, SignatureCheckMode: () => SignatureCheckMode, SignatureFlags: () => SignatureFlags, SignatureHelp: () => ts_SignatureHelp_exports, SignatureInfo: () => SignatureInfo, SignatureKind: () => SignatureKind, SmartSelectionRange: () => ts_SmartSelectionRange_exports, SnippetKind: () => SnippetKind, StatisticType: () => StatisticType, StructureIsReused: () => StructureIsReused, SymbolAccessibility: () => SymbolAccessibility, SymbolDisplay: () => ts_SymbolDisplay_exports, SymbolDisplayPartKind: () => SymbolDisplayPartKind, SymbolFlags: () => SymbolFlags, SymbolFormatFlags: () => SymbolFormatFlags, SyntaxKind: () => SyntaxKind, Ternary: () => Ternary, ThrottledCancellationToken: () => ThrottledCancellationToken, TokenClass: () => TokenClass, TokenFlags: () => TokenFlags, TransformFlags: () => TransformFlags,